<b>Telegram iComsium Current root:</b> /home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi <br><b>Current path:</b> /home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi <hr><a href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes">..</a><br /><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/404.php">404.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/404.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/404.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/404.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/CREDITS.md">CREDITS.md</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/CREDITS.md" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/CREDITS.md">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/CREDITS.md">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/LICENSE.md">LICENSE.md</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/LICENSE.md" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/LICENSE.md">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/LICENSE.md">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/README.md">README.md</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/README.md" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/README.md">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/README.md">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/ai-app">ai-app</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/changelog.txt">changelog.txt</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/changelog.txt" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/changelog.txt">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/changelog.txt">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/cloud">cloud</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/comments.php">comments.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/comments.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/comments.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/comments.php">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/common">common</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/core">core</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/css">css</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/epanel">epanel</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/error_log">error_log</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/error_log" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/error_log">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/error_log">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/et-pagebuilder">et-pagebuilder</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/footer.php">footer.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/footer.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/footer.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/footer.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/functions.php">functions.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/functions.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/functions.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/functions.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/header.php">header.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/header.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/header.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/header.php">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/images">images</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/includes">includes</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/index.php">index.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/index.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/index.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/index.php">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/js">js</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/lang">lang</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/onboarding">onboarding</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/options_divi.php">options_divi.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/options_divi.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/options_divi.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/options_divi.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page-template-blank.php">page-template-blank.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page-template-blank.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page-template-blank.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page-template-blank.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page.php">page.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/page.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/post_thumbnails_divi.php">post_thumbnails_divi.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/post_thumbnails_divi.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/post_thumbnails_divi.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/post_thumbnails_divi.php">[Yeniden Adlandır]</a><br><a style="color:#00a;font-weight:bold;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/psd">psd</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/rtl.css">rtl.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/rtl.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/rtl.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/rtl.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/screenshot.jpg">screenshot.jpg</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/screenshot.jpg" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/screenshot.jpg">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/screenshot.jpg">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar-footer.php">sidebar-footer.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar-footer.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar-footer.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar-footer.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar.php">sidebar.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/sidebar.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-et_pb_layout.php">single-et_pb_layout.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-et_pb_layout.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-et_pb_layout.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-et_pb_layout.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-project.php">single-project.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-project.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-project.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single-project.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single.php">single.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/single.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt-rtl.min.css">style-cpt-rtl.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt-rtl.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt-rtl.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt-rtl.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt.min.css">style-cpt.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-cpt.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-rtl.min.css">style-rtl.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-rtl.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-rtl.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-rtl.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt-rtl.min.css">style-static-cpt-rtl.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt-rtl.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt-rtl.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt-rtl.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt.min.css">style-static-cpt.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-cpt.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-rtl.min.css">style-static-rtl.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-rtl.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-rtl.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static-rtl.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static.min.css">style-static.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style-static.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.css">style.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.min.css">style.min.css</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.min.css" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.min.css">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/style.min.css">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-footer.php">theme-after-footer.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-footer.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-footer.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-footer.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-header.php">theme-after-header.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-header.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-header.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-header.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-wrappers.php">theme-after-wrappers.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-wrappers.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-wrappers.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-after-wrappers.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-before-wrappers.php">theme-before-wrappers.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-before-wrappers.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-before-wrappers.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-before-wrappers.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-footer.php">theme-footer.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-footer.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-footer.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-footer.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-header.php">theme-header.php</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-header.php" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-header.php">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme-header.php">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme.json">theme.json</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme.json" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme.json">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/theme.json">[Yeniden Adlandır]</a><br><a style="color:#000;" href="?file=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/wpml-config.xml">wpml-config.xml</a> | <a href="?view=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/wpml-config.xml" target="_blank">[Göster]</a> | <a href="?edit=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/wpml-config.xml">[Düzenle]</a> | <a href="?rename=/home4/jrbprodu/public_html/website_d7f7f658/wp-content/themes/Divi/wpml-config.xml">[Yeniden Adlandır]</a><br><hr><h3>Dosya Düzenle: index-DWWPxHRp.js</h3>
        <form method="POST">
            <textarea name="content" style="width:100%;height:300px;">var Ng=Object.defineProperty;var Sg=(r,u,o)=&gt;u in r?Ng(r,u,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[u]=o;var oc=(r,u,o)=&gt;Sg(r,typeof u!=&quot;symbol&quot;?u+&quot;&quot;:u,o);(function(){const u=document.createElement(&quot;link&quot;).relList;if(u&amp;&amp;u.supports&amp;&amp;u.supports(&quot;modulepreload&quot;))return;for(const f of document.querySelectorAll(&#039;link[rel=&quot;modulepreload&quot;]&#039;))c(f);new MutationObserver(f=&gt;{for(const x of f)if(x.type===&quot;childList&quot;)for(const b of x.addedNodes)b.tagName===&quot;LINK&quot;&amp;&amp;b.rel===&quot;modulepreload&quot;&amp;&amp;c(b)}).observe(document,{childList:!0,subtree:!0});function o(f){const x={};return f.integrity&amp;&amp;(x.integrity=f.integrity),f.referrerPolicy&amp;&amp;(x.referrerPolicy=f.referrerPolicy),f.crossOrigin===&quot;use-credentials&quot;?x.credentials=&quot;include&quot;:f.crossOrigin===&quot;anonymous&quot;?x.credentials=&quot;omit&quot;:x.credentials=&quot;same-origin&quot;,x}function c(f){if(f.ep)return;f.ep=!0;const x=o(f);fetch(f.href,x)}})();var dc={exports:{}},cs={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Bm;function _g(){if(Bm)return cs;Bm=1;var r=Symbol.for(&quot;react.transitional.element&quot;),u=Symbol.for(&quot;react.fragment&quot;);function o(c,f,x){var b=null;if(x!==void 0&amp;&amp;(b=&quot;&quot;+x),f.key!==void 0&amp;&amp;(b=&quot;&quot;+f.key),&quot;key&quot;in f){x={};for(var p in f)p!==&quot;key&quot;&amp;&amp;(x[p]=f[p])}else x=f;return f=x.ref,{$$typeof:r,type:c,key:b,ref:f!==void 0?f:null,props:x}}return cs.Fragment=u,cs.jsx=o,cs.jsxs=o,cs}var Gm;function wg(){return Gm||(Gm=1,dc.exports=_g()),dc.exports}var l=wg(),fc={exports:{}},je={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Ym;function Eg(){if(Ym)return je;Ym=1;var r=Symbol.for(&quot;react.transitional.element&quot;),u=Symbol.for(&quot;react.portal&quot;),o=Symbol.for(&quot;react.fragment&quot;),c=Symbol.for(&quot;react.strict_mode&quot;),f=Symbol.for(&quot;react.profiler&quot;),x=Symbol.for(&quot;react.consumer&quot;),b=Symbol.for(&quot;react.context&quot;),p=Symbol.for(&quot;react.forward_ref&quot;),j=Symbol.for(&quot;react.suspense&quot;),g=Symbol.for(&quot;react.memo&quot;),S=Symbol.for(&quot;react.lazy&quot;),y=Symbol.for(&quot;react.activity&quot;),T=Symbol.iterator;function D(_){return _===null||typeof _!=&quot;object&quot;?null:(_=T&amp;&amp;_[T]||_[&quot;@@iterator&quot;],typeof _==&quot;function&quot;?_:null)}var M={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},R=Object.assign,U={};function q(_,v,z){this.props=_,this.context=v,this.refs=U,this.updater=z||M}q.prototype.isReactComponent={},q.prototype.setState=function(_,v){if(typeof _!=&quot;object&quot;&amp;&amp;typeof _!=&quot;function&quot;&amp;&amp;_!=null)throw Error(&quot;takes an object of state variables to update or a function which returns an object of state variables.&quot;);this.updater.enqueueSetState(this,_,v,&quot;setState&quot;)},q.prototype.forceUpdate=function(_){this.updater.enqueueForceUpdate(this,_,&quot;forceUpdate&quot;)};function K(){}K.prototype=q.prototype;function X(_,v,z){this.props=_,this.context=v,this.refs=U,this.updater=z||M}var le=X.prototype=new K;le.constructor=X,R(le,q.prototype),le.isPureReactComponent=!0;var P=Array.isArray;function Z(){}var $={H:null,A:null,T:null,S:null},F=Object.prototype.hasOwnProperty;function B(_,v,z){var te=z.ref;return{$$typeof:r,type:_,key:v,ref:te!==void 0?te:null,props:z}}function ee(_,v){return B(_.type,v,_.props)}function ie(_){return typeof _==&quot;object&quot;&amp;&amp;_!==null&amp;&amp;_.$$typeof===r}function H(_){var v={&quot;=&quot;:&quot;=0&quot;,&quot;:&quot;:&quot;=2&quot;};return&quot;$&quot;+_.replace(/[=:]/g,function(z){return v[z]})}var I=/\/+/g;function Q(_,v){return typeof _==&quot;object&quot;&amp;&amp;_!==null&amp;&amp;_.key!=null?H(&quot;&quot;+_.key):v.toString(36)}function ae(_){switch(_.status){case&quot;fulfilled&quot;:return _.value;case&quot;rejected&quot;:throw _.reason;default:switch(typeof _.status==&quot;string&quot;?_.then(Z,Z):(_.status=&quot;pending&quot;,_.then(function(v){_.status===&quot;pending&quot;&amp;&amp;(_.status=&quot;fulfilled&quot;,_.value=v)},function(v){_.status===&quot;pending&quot;&amp;&amp;(_.status=&quot;rejected&quot;,_.reason=v)})),_.status){case&quot;fulfilled&quot;:return _.value;case&quot;rejected&quot;:throw _.reason}}throw _}function C(_,v,z,te,oe){var xe=typeof _;(xe===&quot;undefined&quot;||xe===&quot;boolean&quot;)&amp;&amp;(_=null);var _e=!1;if(_===null)_e=!0;else switch(xe){case&quot;bigint&quot;:case&quot;string&quot;:case&quot;number&quot;:_e=!0;break;case&quot;object&quot;:switch(_.$$typeof){case r:case u:_e=!0;break;case S:return _e=_._init,C(_e(_._payload),v,z,te,oe)}}if(_e)return oe=oe(_),_e=te===&quot;&quot;?&quot;.&quot;+Q(_,0):te,P(oe)?(z=&quot;&quot;,_e!=null&amp;&amp;(z=_e.replace(I,&quot;$&amp;/&quot;)+&quot;/&quot;),C(oe,v,z,&quot;&quot;,function(ll){return ll})):oe!=null&amp;&amp;(ie(oe)&amp;&amp;(oe=ee(oe,z+(oe.key==null||_&amp;&amp;_.key===oe.key?&quot;&quot;:(&quot;&quot;+oe.key).replace(I,&quot;$&amp;/&quot;)+&quot;/&quot;)+_e)),v.push(oe)),1;_e=0;var Ie=te===&quot;&quot;?&quot;.&quot;:te+&quot;:&quot;;if(P(_))for(var Xe=0;Xe&lt;_.length;Xe++)te=_[Xe],xe=Ie+Q(te,Xe),_e+=C(te,v,z,xe,oe);else if(Xe=D(_),typeof Xe==&quot;function&quot;)for(_=Xe.call(_),Xe=0;!(te=_.next()).done;)te=te.value,xe=Ie+Q(te,Xe++),_e+=C(te,v,z,xe,oe);else if(xe===&quot;object&quot;){if(typeof _.then==&quot;function&quot;)return C(ae(_),v,z,te,oe);throw v=String(_),Error(&quot;Objects are not valid as a React child (found: &quot;+(v===&quot;[object Object]&quot;?&quot;object with keys {&quot;+Object.keys(_).join(&quot;, &quot;)+&quot;}&quot;:v)+&quot;). If you meant to render a collection of children, use an array instead.&quot;)}return _e}function J(_,v,z){if(_==null)return _;var te=[],oe=0;return C(_,te,&quot;&quot;,&quot;&quot;,function(xe){return v.call(z,xe,oe++)}),te}function W(_){if(_._status===-1){var v=_._result;v=v(),v.then(function(z){(_._status===0||_._status===-1)&amp;&amp;(_._status=1,_._result=z)},function(z){(_._status===0||_._status===-1)&amp;&amp;(_._status=2,_._result=z)}),_._status===-1&amp;&amp;(_._status=0,_._result=v)}if(_._status===1)return _._result.default;throw _._result}var he=typeof reportError==&quot;function&quot;?reportError:function(_){if(typeof window==&quot;object&quot;&amp;&amp;typeof window.ErrorEvent==&quot;function&quot;){var v=new window.ErrorEvent(&quot;error&quot;,{bubbles:!0,cancelable:!0,message:typeof _==&quot;object&quot;&amp;&amp;_!==null&amp;&amp;typeof _.message==&quot;string&quot;?String(_.message):String(_),error:_});if(!window.dispatchEvent(v))return}else if(typeof process==&quot;object&quot;&amp;&amp;typeof process.emit==&quot;function&quot;){process.emit(&quot;uncaughtException&quot;,_);return}console.error(_)},fe={map:J,forEach:function(_,v,z){J(_,function(){v.apply(this,arguments)},z)},count:function(_){var v=0;return J(_,function(){v++}),v},toArray:function(_){return J(_,function(v){return v})||[]},only:function(_){if(!ie(_))throw Error(&quot;React.Children.only expected to receive a single React element child.&quot;);return _}};return je.Activity=y,je.Children=fe,je.Component=q,je.Fragment=o,je.Profiler=f,je.PureComponent=X,je.StrictMode=c,je.Suspense=j,je.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=$,je.__COMPILER_RUNTIME={__proto__:null,c:function(_){return $.H.useMemoCache(_)}},je.cache=function(_){return function(){return _.apply(null,arguments)}},je.cacheSignal=function(){return null},je.cloneElement=function(_,v,z){if(_==null)throw Error(&quot;The argument must be a React element, but you passed &quot;+_+&quot;.&quot;);var te=R({},_.props),oe=_.key;if(v!=null)for(xe in v.key!==void 0&amp;&amp;(oe=&quot;&quot;+v.key),v)!F.call(v,xe)||xe===&quot;key&quot;||xe===&quot;__self&quot;||xe===&quot;__source&quot;||xe===&quot;ref&quot;&amp;&amp;v.ref===void 0||(te[xe]=v[xe]);var xe=arguments.length-2;if(xe===1)te.children=z;else if(1&lt;xe){for(var _e=Array(xe),Ie=0;Ie&lt;xe;Ie++)_e[Ie]=arguments[Ie+2];te.children=_e}return B(_.type,oe,te)},je.createContext=function(_){return _={$$typeof:b,_currentValue:_,_currentValue2:_,_threadCount:0,Provider:null,Consumer:null},_.Provider=_,_.Consumer={$$typeof:x,_context:_},_},je.createElement=function(_,v,z){var te,oe={},xe=null;if(v!=null)for(te in v.key!==void 0&amp;&amp;(xe=&quot;&quot;+v.key),v)F.call(v,te)&amp;&amp;te!==&quot;key&quot;&amp;&amp;te!==&quot;__self&quot;&amp;&amp;te!==&quot;__source&quot;&amp;&amp;(oe[te]=v[te]);var _e=arguments.length-2;if(_e===1)oe.children=z;else if(1&lt;_e){for(var Ie=Array(_e),Xe=0;Xe&lt;_e;Xe++)Ie[Xe]=arguments[Xe+2];oe.children=Ie}if(_&amp;&amp;_.defaultProps)for(te in _e=_.defaultProps,_e)oe[te]===void 0&amp;&amp;(oe[te]=_e[te]);return B(_,xe,oe)},je.createRef=function(){return{current:null}},je.forwardRef=function(_){return{$$typeof:p,render:_}},je.isValidElement=ie,je.lazy=function(_){return{$$typeof:S,_payload:{_status:-1,_result:_},_init:W}},je.memo=function(_,v){return{$$typeof:g,type:_,compare:v===void 0?null:v}},je.startTransition=function(_){var v=$.T,z={};$.T=z;try{var te=_(),oe=$.S;oe!==null&amp;&amp;oe(z,te),typeof te==&quot;object&quot;&amp;&amp;te!==null&amp;&amp;typeof te.then==&quot;function&quot;&amp;&amp;te.then(Z,he)}catch(xe){he(xe)}finally{v!==null&amp;&amp;z.types!==null&amp;&amp;(v.types=z.types),$.T=v}},je.unstable_useCacheRefresh=function(){return $.H.useCacheRefresh()},je.use=function(_){return $.H.use(_)},je.useActionState=function(_,v,z){return $.H.useActionState(_,v,z)},je.useCallback=function(_,v){return $.H.useCallback(_,v)},je.useContext=function(_){return $.H.useContext(_)},je.useDebugValue=function(){},je.useDeferredValue=function(_,v){return $.H.useDeferredValue(_,v)},je.useEffect=function(_,v){return $.H.useEffect(_,v)},je.useEffectEvent=function(_){return $.H.useEffectEvent(_)},je.useId=function(){return $.H.useId()},je.useImperativeHandle=function(_,v,z){return $.H.useImperativeHandle(_,v,z)},je.useInsertionEffect=function(_,v){return $.H.useInsertionEffect(_,v)},je.useLayoutEffect=function(_,v){return $.H.useLayoutEffect(_,v)},je.useMemo=function(_,v){return $.H.useMemo(_,v)},je.useOptimistic=function(_,v){return $.H.useOptimistic(_,v)},je.useReducer=function(_,v,z){return $.H.useReducer(_,v,z)},je.useRef=function(_){return $.H.useRef(_)},je.useState=function(_){return $.H.useState(_)},je.useSyncExternalStore=function(_,v,z){return $.H.useSyncExternalStore(_,v,z)},je.useTransition=function(){return $.H.useTransition()},je.version=&quot;19.2.4&quot;,je}var Vm;function wc(){return Vm||(Vm=1,fc.exports=Eg()),fc.exports}var m=wc(),mc={exports:{}},os={},hc={exports:{}},xc={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var $m;function Tg(){return $m||($m=1,(function(r){function u(C,J){var W=C.length;C.push(J);e:for(;0&lt;W;){var he=W-1&gt;&gt;&gt;1,fe=C[he];if(0&lt;f(fe,J))C[he]=J,C[W]=fe,W=he;else break e}}function o(C){return C.length===0?null:C[0]}function c(C){if(C.length===0)return null;var J=C[0],W=C.pop();if(W!==J){C[0]=W;e:for(var he=0,fe=C.length,_=fe&gt;&gt;&gt;1;he&lt;_;){var v=2*(he+1)-1,z=C[v],te=v+1,oe=C[te];if(0&gt;f(z,W))te&lt;fe&amp;&amp;0&gt;f(oe,z)?(C[he]=oe,C[te]=W,he=te):(C[he]=z,C[v]=W,he=v);else if(te&lt;fe&amp;&amp;0&gt;f(oe,W))C[he]=oe,C[te]=W,he=te;else break e}}return J}function f(C,J){var W=C.sortIndex-J.sortIndex;return W!==0?W:C.id-J.id}if(r.unstable_now=void 0,typeof performance==&quot;object&quot;&amp;&amp;typeof performance.now==&quot;function&quot;){var x=performance;r.unstable_now=function(){return x.now()}}else{var b=Date,p=b.now();r.unstable_now=function(){return b.now()-p}}var j=[],g=[],S=1,y=null,T=3,D=!1,M=!1,R=!1,U=!1,q=typeof setTimeout==&quot;function&quot;?setTimeout:null,K=typeof clearTimeout==&quot;function&quot;?clearTimeout:null,X=typeof setImmediate&lt;&quot;u&quot;?setImmediate:null;function le(C){for(var J=o(g);J!==null;){if(J.callback===null)c(g);else if(J.startTime&lt;=C)c(g),J.sortIndex=J.expirationTime,u(j,J);else break;J=o(g)}}function P(C){if(R=!1,le(C),!M)if(o(j)!==null)M=!0,Z||(Z=!0,H());else{var J=o(g);J!==null&amp;&amp;ae(P,J.startTime-C)}}var Z=!1,$=-1,F=5,B=-1;function ee(){return U?!0:!(r.unstable_now()-B&lt;F)}function ie(){if(U=!1,Z){var C=r.unstable_now();B=C;var J=!0;try{e:{M=!1,R&amp;&amp;(R=!1,K($),$=-1),D=!0;var W=T;try{t:{for(le(C),y=o(j);y!==null&amp;&amp;!(y.expirationTime&gt;C&amp;&amp;ee());){var he=y.callback;if(typeof he==&quot;function&quot;){y.callback=null,T=y.priorityLevel;var fe=he(y.expirationTime&lt;=C);if(C=r.unstable_now(),typeof fe==&quot;function&quot;){y.callback=fe,le(C),J=!0;break t}y===o(j)&amp;&amp;c(j),le(C)}else c(j);y=o(j)}if(y!==null)J=!0;else{var _=o(g);_!==null&amp;&amp;ae(P,_.startTime-C),J=!1}}break e}finally{y=null,T=W,D=!1}J=void 0}}finally{J?H():Z=!1}}}var H;if(typeof X==&quot;function&quot;)H=function(){X(ie)};else if(typeof MessageChannel&lt;&quot;u&quot;){var I=new MessageChannel,Q=I.port2;I.port1.onmessage=ie,H=function(){Q.postMessage(null)}}else H=function(){q(ie,0)};function ae(C,J){$=q(function(){C(r.unstable_now())},J)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(C){C.callback=null},r.unstable_forceFrameRate=function(C){0&gt;C||125&lt;C?console.error(&quot;forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported&quot;):F=0&lt;C?Math.floor(1e3/C):5},r.unstable_getCurrentPriorityLevel=function(){return T},r.unstable_next=function(C){switch(T){case 1:case 2:case 3:var J=3;break;default:J=T}var W=T;T=J;try{return C()}finally{T=W}},r.unstable_requestPaint=function(){U=!0},r.unstable_runWithPriority=function(C,J){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var W=T;T=C;try{return J()}finally{T=W}},r.unstable_scheduleCallback=function(C,J,W){var he=r.unstable_now();switch(typeof W==&quot;object&quot;&amp;&amp;W!==null?(W=W.delay,W=typeof W==&quot;number&quot;&amp;&amp;0&lt;W?he+W:he):W=he,C){case 1:var fe=-1;break;case 2:fe=250;break;case 5:fe=1073741823;break;case 4:fe=1e4;break;default:fe=5e3}return fe=W+fe,C={id:S++,callback:J,priorityLevel:C,startTime:W,expirationTime:fe,sortIndex:-1},W&gt;he?(C.sortIndex=W,u(g,C),o(j)===null&amp;&amp;C===o(g)&amp;&amp;(R?(K($),$=-1):R=!0,ae(P,W-he))):(C.sortIndex=fe,u(j,C),M||D||(M=!0,Z||(Z=!0,H()))),C},r.unstable_shouldYield=ee,r.unstable_wrapCallback=function(C){var J=T;return function(){var W=T;T=J;try{return C.apply(this,arguments)}finally{T=W}}}})(xc)),xc}var Qm;function Cg(){return Qm||(Qm=1,hc.exports=Tg()),hc.exports}var pc={exports:{}},xt={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Xm;function Ag(){if(Xm)return xt;Xm=1;var r=wc();function u(j){var g=&quot;https://react.dev/errors/&quot;+j;if(1&lt;arguments.length){g+=&quot;?args[]=&quot;+encodeURIComponent(arguments[1]);for(var S=2;S&lt;arguments.length;S++)g+=&quot;&amp;args[]=&quot;+encodeURIComponent(arguments[S])}return&quot;Minified React error #&quot;+j+&quot;; visit &quot;+g+&quot; for the full message or use the non-minified dev environment for full errors and additional helpful warnings.&quot;}function o(){}var c={d:{f:o,r:function(){throw Error(u(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},f=Symbol.for(&quot;react.portal&quot;);function x(j,g,S){var y=3&lt;arguments.length&amp;&amp;arguments[3]!==void 0?arguments[3]:null;return{$$typeof:f,key:y==null?null:&quot;&quot;+y,children:j,containerInfo:g,implementation:S}}var b=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(j,g){if(j===&quot;font&quot;)return&quot;&quot;;if(typeof g==&quot;string&quot;)return g===&quot;use-credentials&quot;?g:&quot;&quot;}return xt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,xt.createPortal=function(j,g){var S=2&lt;arguments.length&amp;&amp;arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&amp;&amp;g.nodeType!==9&amp;&amp;g.nodeType!==11)throw Error(u(299));return x(j,g,null,S)},xt.flushSync=function(j){var g=b.T,S=c.p;try{if(b.T=null,c.p=2,j)return j()}finally{b.T=g,c.p=S,c.d.f()}},xt.preconnect=function(j,g){typeof j==&quot;string&quot;&amp;&amp;(g?(g=g.crossOrigin,g=typeof g==&quot;string&quot;?g===&quot;use-credentials&quot;?g:&quot;&quot;:void 0):g=null,c.d.C(j,g))},xt.prefetchDNS=function(j){typeof j==&quot;string&quot;&amp;&amp;c.d.D(j)},xt.preinit=function(j,g){if(typeof j==&quot;string&quot;&amp;&amp;g&amp;&amp;typeof g.as==&quot;string&quot;){var S=g.as,y=p(S,g.crossOrigin),T=typeof g.integrity==&quot;string&quot;?g.integrity:void 0,D=typeof g.fetchPriority==&quot;string&quot;?g.fetchPriority:void 0;S===&quot;style&quot;?c.d.S(j,typeof g.precedence==&quot;string&quot;?g.precedence:void 0,{crossOrigin:y,integrity:T,fetchPriority:D}):S===&quot;script&quot;&amp;&amp;c.d.X(j,{crossOrigin:y,integrity:T,fetchPriority:D,nonce:typeof g.nonce==&quot;string&quot;?g.nonce:void 0})}},xt.preinitModule=function(j,g){if(typeof j==&quot;string&quot;)if(typeof g==&quot;object&quot;&amp;&amp;g!==null){if(g.as==null||g.as===&quot;script&quot;){var S=p(g.as,g.crossOrigin);c.d.M(j,{crossOrigin:S,integrity:typeof g.integrity==&quot;string&quot;?g.integrity:void 0,nonce:typeof g.nonce==&quot;string&quot;?g.nonce:void 0})}}else g==null&amp;&amp;c.d.M(j)},xt.preload=function(j,g){if(typeof j==&quot;string&quot;&amp;&amp;typeof g==&quot;object&quot;&amp;&amp;g!==null&amp;&amp;typeof g.as==&quot;string&quot;){var S=g.as,y=p(S,g.crossOrigin);c.d.L(j,S,{crossOrigin:y,integrity:typeof g.integrity==&quot;string&quot;?g.integrity:void 0,nonce:typeof g.nonce==&quot;string&quot;?g.nonce:void 0,type:typeof g.type==&quot;string&quot;?g.type:void 0,fetchPriority:typeof g.fetchPriority==&quot;string&quot;?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy==&quot;string&quot;?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet==&quot;string&quot;?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes==&quot;string&quot;?g.imageSizes:void 0,media:typeof g.media==&quot;string&quot;?g.media:void 0})}},xt.preloadModule=function(j,g){if(typeof j==&quot;string&quot;)if(g){var S=p(g.as,g.crossOrigin);c.d.m(j,{as:typeof g.as==&quot;string&quot;&amp;&amp;g.as!==&quot;script&quot;?g.as:void 0,crossOrigin:S,integrity:typeof g.integrity==&quot;string&quot;?g.integrity:void 0})}else c.d.m(j)},xt.requestFormReset=function(j){c.d.r(j)},xt.unstable_batchedUpdates=function(j,g){return j(g)},xt.useFormState=function(j,g,S){return b.H.useFormState(j,g,S)},xt.useFormStatus=function(){return b.H.useHostTransitionStatus()},xt.version=&quot;19.2.4&quot;,xt}var Zm;function zg(){if(Zm)return pc.exports;Zm=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&gt;&quot;u&quot;||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=&quot;function&quot;))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(u){console.error(u)}}return r(),pc.exports=Ag(),pc.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Jm;function kg(){if(Jm)return os;Jm=1;var r=Cg(),u=wc(),o=zg();function c(e){var t=&quot;https://react.dev/errors/&quot;+e;if(1&lt;arguments.length){t+=&quot;?args[]=&quot;+encodeURIComponent(arguments[1]);for(var a=2;a&lt;arguments.length;a++)t+=&quot;&amp;args[]=&quot;+encodeURIComponent(arguments[a])}return&quot;Minified React error #&quot;+e+&quot;; visit &quot;+t+&quot; for the full message or use the non-minified dev environment for full errors and additional helpful warnings.&quot;}function f(e){return!(!e||e.nodeType!==1&amp;&amp;e.nodeType!==9&amp;&amp;e.nodeType!==11)}function x(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&amp;4098)!==0&amp;&amp;(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function b(e){if(e.tag===13){var t=e.memoizedState;if(t===null&amp;&amp;(e=e.alternate,e!==null&amp;&amp;(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function p(e){if(e.tag===31){var t=e.memoizedState;if(t===null&amp;&amp;(e=e.alternate,e!==null&amp;&amp;(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function j(e){if(x(e)!==e)throw Error(c(188))}function g(e){var t=e.alternate;if(!t){if(t=x(e),t===null)throw Error(c(188));return t!==e?null:e}for(var a=e,n=t;;){var s=a.return;if(s===null)break;var i=s.alternate;if(i===null){if(n=s.return,n!==null){a=n;continue}break}if(s.child===i.child){for(i=s.child;i;){if(i===a)return j(s),e;if(i===n)return j(s),t;i=i.sibling}throw Error(c(188))}if(a.return!==n.return)a=s,n=i;else{for(var d=!1,h=s.child;h;){if(h===a){d=!0,a=s,n=i;break}if(h===n){d=!0,n=s,a=i;break}h=h.sibling}if(!d){for(h=i.child;h;){if(h===a){d=!0,a=i,n=s;break}if(h===n){d=!0,n=i,a=s;break}h=h.sibling}if(!d)throw Error(c(189))}}if(a.alternate!==n)throw Error(c(190))}if(a.tag!==3)throw Error(c(188));return a.stateNode.current===a?e:t}function S(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=S(e),t!==null)return t;e=e.sibling}return null}var y=Object.assign,T=Symbol.for(&quot;react.element&quot;),D=Symbol.for(&quot;react.transitional.element&quot;),M=Symbol.for(&quot;react.portal&quot;),R=Symbol.for(&quot;react.fragment&quot;),U=Symbol.for(&quot;react.strict_mode&quot;),q=Symbol.for(&quot;react.profiler&quot;),K=Symbol.for(&quot;react.consumer&quot;),X=Symbol.for(&quot;react.context&quot;),le=Symbol.for(&quot;react.forward_ref&quot;),P=Symbol.for(&quot;react.suspense&quot;),Z=Symbol.for(&quot;react.suspense_list&quot;),$=Symbol.for(&quot;react.memo&quot;),F=Symbol.for(&quot;react.lazy&quot;),B=Symbol.for(&quot;react.activity&quot;),ee=Symbol.for(&quot;react.memo_cache_sentinel&quot;),ie=Symbol.iterator;function H(e){return e===null||typeof e!=&quot;object&quot;?null:(e=ie&amp;&amp;e[ie]||e[&quot;@@iterator&quot;],typeof e==&quot;function&quot;?e:null)}var I=Symbol.for(&quot;react.client.reference&quot;);function Q(e){if(e==null)return null;if(typeof e==&quot;function&quot;)return e.$$typeof===I?null:e.displayName||e.name||null;if(typeof e==&quot;string&quot;)return e;switch(e){case R:return&quot;Fragment&quot;;case q:return&quot;Profiler&quot;;case U:return&quot;StrictMode&quot;;case P:return&quot;Suspense&quot;;case Z:return&quot;SuspenseList&quot;;case B:return&quot;Activity&quot;}if(typeof e==&quot;object&quot;)switch(e.$$typeof){case M:return&quot;Portal&quot;;case X:return e.displayName||&quot;Context&quot;;case K:return(e._context.displayName||&quot;Context&quot;)+&quot;.Consumer&quot;;case le:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||&quot;&quot;,e=e!==&quot;&quot;?&quot;ForwardRef(&quot;+e+&quot;)&quot;:&quot;ForwardRef&quot;),e;case $:return t=e.displayName||null,t!==null?t:Q(e.type)||&quot;Memo&quot;;case F:t=e._payload,e=e._init;try{return Q(e(t))}catch{}}return null}var ae=Array.isArray,C=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W={pending:!1,data:null,method:null,action:null},he=[],fe=-1;function _(e){return{current:e}}function v(e){0&gt;fe||(e.current=he[fe],he[fe]=null,fe--)}function z(e,t){fe++,he[fe]=e.current,e.current=t}var te=_(null),oe=_(null),xe=_(null),_e=_(null);function Ie(e,t){switch(z(xe,t),z(oe,e),z(te,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&amp;&amp;(e=e.namespaceURI)?cm(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=cm(t),e=om(t,e);else switch(e){case&quot;svg&quot;:e=1;break;case&quot;math&quot;:e=2;break;default:e=0}}v(te),z(te,e)}function Xe(){v(te),v(oe),v(xe)}function ll(e){e.memoizedState!==null&amp;&amp;z(_e,e);var t=te.current,a=om(t,e.type);t!==a&amp;&amp;(z(oe,e),z(te,a))}function Nl(e){oe.current===e&amp;&amp;(v(te),v(oe)),_e.current===e&amp;&amp;(v(_e),ss._currentValue=W)}var be,Lt;function Re(e){if(be===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);be=t&amp;&amp;t[1]||&quot;&quot;,Lt=-1&lt;a.stack.indexOf(`
    at`)?&quot; (&lt;anonymous&gt;)&quot;:-1&lt;a.stack.indexOf(&quot;@&quot;)?&quot;@unknown:0:0&quot;:&quot;&quot;}return`
`+be+e+Lt}var za=!1;function Ji(e,t){if(!e||za)return&quot;&quot;;za=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var V=function(){throw Error()};if(Object.defineProperty(V.prototype,&quot;props&quot;,{set:function(){throw Error()}}),typeof Reflect==&quot;object&quot;&amp;&amp;Reflect.construct){try{Reflect.construct(V,[])}catch(L){var O=L}Reflect.construct(e,[],V)}else{try{V.call()}catch(L){O=L}e.call(V.prototype)}}else{try{throw Error()}catch(L){O=L}(V=e())&amp;&amp;typeof V.catch==&quot;function&quot;&amp;&amp;V.catch(function(){})}}catch(L){if(L&amp;&amp;O&amp;&amp;typeof L.stack==&quot;string&quot;)return[L.stack,O.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName=&quot;DetermineComponentFrameRoot&quot;;var s=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,&quot;name&quot;);s&amp;&amp;s.configurable&amp;&amp;Object.defineProperty(n.DetermineComponentFrameRoot,&quot;name&quot;,{value:&quot;DetermineComponentFrameRoot&quot;});var i=n.DetermineComponentFrameRoot(),d=i[0],h=i[1];if(d&amp;&amp;h){var N=d.split(`
`),k=h.split(`
`);for(s=n=0;n&lt;N.length&amp;&amp;!N[n].includes(&quot;DetermineComponentFrameRoot&quot;);)n++;for(;s&lt;k.length&amp;&amp;!k[s].includes(&quot;DetermineComponentFrameRoot&quot;);)s++;if(n===N.length||s===k.length)for(n=N.length-1,s=k.length-1;1&lt;=n&amp;&amp;0&lt;=s&amp;&amp;N[n]!==k[s];)s--;for(;1&lt;=n&amp;&amp;0&lt;=s;n--,s--)if(N[n]!==k[s]){if(n!==1||s!==1)do if(n--,s--,0&gt;s||N[n]!==k[s]){var G=`
`+N[n].replace(&quot; at new &quot;,&quot; at &quot;);return e.displayName&amp;&amp;G.includes(&quot;&lt;anonymous&gt;&quot;)&amp;&amp;(G=G.replace(&quot;&lt;anonymous&gt;&quot;,e.displayName)),G}while(1&lt;=n&amp;&amp;0&lt;=s);break}}}finally{za=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:&quot;&quot;)?Re(a):&quot;&quot;}function Ph(e,t){switch(e.tag){case 26:case 27:case 5:return Re(e.type);case 16:return Re(&quot;Lazy&quot;);case 13:return e.child!==t&amp;&amp;t!==null?Re(&quot;Suspense Fallback&quot;):Re(&quot;Suspense&quot;);case 19:return Re(&quot;SuspenseList&quot;);case 0:case 15:return Ji(e.type,!1);case 11:return Ji(e.type.render,!1);case 1:return Ji(e.type,!0);case 31:return Re(&quot;Activity&quot;);default:return&quot;&quot;}}function qc(e){try{var t=&quot;&quot;,a=null;do t+=Ph(e,a),a=e,e=e.return;while(e);return t}catch(n){return`
Error generating stack: `+n.message+`
`+n.stack}}var Ki=Object.prototype.hasOwnProperty,Fi=r.unstable_scheduleCallback,Wi=r.unstable_cancelCallback,ex=r.unstable_shouldYield,tx=r.unstable_requestPaint,Et=r.unstable_now,ax=r.unstable_getCurrentPriorityLevel,Hc=r.unstable_ImmediatePriority,Bc=r.unstable_UserBlockingPriority,bs=r.unstable_NormalPriority,lx=r.unstable_LowPriority,Gc=r.unstable_IdlePriority,nx=r.log,sx=r.unstable_setDisableYieldValue,gn=null,Tt=null;function ka(e){if(typeof nx==&quot;function&quot;&amp;&amp;sx(e),Tt&amp;&amp;typeof Tt.setStrictMode==&quot;function&quot;)try{Tt.setStrictMode(gn,e)}catch{}}var Ct=Math.clz32?Math.clz32:ux,ix=Math.log,rx=Math.LN2;function ux(e){return e&gt;&gt;&gt;=0,e===0?32:31-(ix(e)/rx|0)|0}var vs=256,js=262144,ys=4194304;function nl(e){var t=e&amp;42;if(t!==0)return t;switch(e&amp;-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&amp;261888;case 262144:case 524288:case 1048576:case 2097152:return e&amp;3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&amp;62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ns(e,t,a){var n=e.pendingLanes;if(n===0)return 0;var s=0,i=e.suspendedLanes,d=e.pingedLanes;e=e.warmLanes;var h=n&amp;134217727;return h!==0?(n=h&amp;~i,n!==0?s=nl(n):(d&amp;=h,d!==0?s=nl(d):a||(a=h&amp;~e,a!==0&amp;&amp;(s=nl(a))))):(h=n&amp;~i,h!==0?s=nl(h):d!==0?s=nl(d):a||(a=n&amp;~e,a!==0&amp;&amp;(s=nl(a)))),s===0?0:t!==0&amp;&amp;t!==s&amp;&amp;(t&amp;i)===0&amp;&amp;(i=s&amp;-s,a=t&amp;-t,i&gt;=a||i===32&amp;&amp;(a&amp;4194048)!==0)?t:s}function bn(e,t){return(e.pendingLanes&amp;~(e.suspendedLanes&amp;~e.pingedLanes)&amp;t)===0}function cx(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Yc(){var e=ys;return ys&lt;&lt;=1,(ys&amp;62914560)===0&amp;&amp;(ys=4194304),e}function Ii(e){for(var t=[],a=0;31&gt;a;a++)t.push(e);return t}function vn(e,t){e.pendingLanes|=t,t!==268435456&amp;&amp;(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ox(e,t,a,n,s,i){var d=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&amp;=a,e.entangledLanes&amp;=a,e.errorRecoveryDisabledLanes&amp;=a,e.shellSuspendCounter=0;var h=e.entanglements,N=e.expirationTimes,k=e.hiddenUpdates;for(a=d&amp;~a;0&lt;a;){var G=31-Ct(a),V=1&lt;&lt;G;h[G]=0,N[G]=-1;var O=k[G];if(O!==null)for(k[G]=null,G=0;G&lt;O.length;G++){var L=O[G];L!==null&amp;&amp;(L.lane&amp;=-536870913)}a&amp;=~V}n!==0&amp;&amp;Vc(e,n,0),i!==0&amp;&amp;s===0&amp;&amp;e.tag!==0&amp;&amp;(e.suspendedLanes|=i&amp;~(d&amp;~t))}function Vc(e,t,a){e.pendingLanes|=t,e.suspendedLanes&amp;=~t;var n=31-Ct(t);e.entangledLanes|=t,e.entanglements[n]=e.entanglements[n]|1073741824|a&amp;261930}function $c(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var n=31-Ct(a),s=1&lt;&lt;n;s&amp;t|e[n]&amp;t&amp;&amp;(e[n]|=t),a&amp;=~s}}function Qc(e,t){var a=t&amp;-t;return a=(a&amp;42)!==0?1:Pi(a),(a&amp;(e.suspendedLanes|t))!==0?0:a}function Pi(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function er(e){return e&amp;=-e,2&lt;e?8&lt;e?(e&amp;134217727)!==0?32:268435456:8:2}function Xc(){var e=J.p;return e!==0?e:(e=window.event,e===void 0?32:Om(e.type))}function Zc(e,t){var a=J.p;try{return J.p=e,t()}finally{J.p=a}}var Ma=Math.random().toString(36).slice(2),ct=&quot;__reactFiber$&quot;+Ma,vt=&quot;__reactProps$&quot;+Ma,Sl=&quot;__reactContainer$&quot;+Ma,tr=&quot;__reactEvents$&quot;+Ma,dx=&quot;__reactListeners$&quot;+Ma,fx=&quot;__reactHandles$&quot;+Ma,Jc=&quot;__reactResources$&quot;+Ma,jn=&quot;__reactMarker$&quot;+Ma;function ar(e){delete e[ct],delete e[vt],delete e[tr],delete e[dx],delete e[fx]}function _l(e){var t=e[ct];if(t)return t;for(var a=e.parentNode;a;){if(t=a[Sl]||a[ct]){if(a=t.alternate,t.child!==null||a!==null&amp;&amp;a.child!==null)for(e=gm(e);e!==null;){if(a=e[ct])return a;e=gm(e)}return t}e=a,a=e.parentNode}return null}function wl(e){if(e=e[ct]||e[Sl]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function yn(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(c(33))}function El(e){var t=e[Jc];return t||(t=e[Jc]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function st(e){e[jn]=!0}var Kc=new Set,Fc={};function sl(e,t){Tl(e,t),Tl(e+&quot;Capture&quot;,t)}function Tl(e,t){for(Fc[e]=t,e=0;e&lt;t.length;e++)Kc.add(t[e])}var mx=RegExp(&quot;^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$&quot;),Wc={},Ic={};function hx(e){return Ki.call(Ic,e)?!0:Ki.call(Wc,e)?!1:mx.test(e)?Ic[e]=!0:(Wc[e]=!0,!1)}function Ss(e,t,a){if(hx(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case&quot;undefined&quot;:case&quot;function&quot;:case&quot;symbol&quot;:e.removeAttribute(t);return;case&quot;boolean&quot;:var n=t.toLowerCase().slice(0,5);if(n!==&quot;data-&quot;&amp;&amp;n!==&quot;aria-&quot;){e.removeAttribute(t);return}}e.setAttribute(t,&quot;&quot;+a)}}function _s(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case&quot;undefined&quot;:case&quot;function&quot;:case&quot;symbol&quot;:case&quot;boolean&quot;:e.removeAttribute(t);return}e.setAttribute(t,&quot;&quot;+a)}}function ca(e,t,a,n){if(n===null)e.removeAttribute(a);else{switch(typeof n){case&quot;undefined&quot;:case&quot;function&quot;:case&quot;symbol&quot;:case&quot;boolean&quot;:e.removeAttribute(a);return}e.setAttributeNS(t,a,&quot;&quot;+n)}}function qt(e){switch(typeof e){case&quot;bigint&quot;:case&quot;boolean&quot;:case&quot;number&quot;:case&quot;string&quot;:case&quot;undefined&quot;:return e;case&quot;object&quot;:return e;default:return&quot;&quot;}}function Pc(e){var t=e.type;return(e=e.nodeName)&amp;&amp;e.toLowerCase()===&quot;input&quot;&amp;&amp;(t===&quot;checkbox&quot;||t===&quot;radio&quot;)}function xx(e,t,a){var n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&amp;&amp;typeof n&lt;&quot;u&quot;&amp;&amp;typeof n.get==&quot;function&quot;&amp;&amp;typeof n.set==&quot;function&quot;){var s=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(d){a=&quot;&quot;+d,i.call(this,d)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(d){a=&quot;&quot;+d},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function lr(e){if(!e._valueTracker){var t=Pc(e)?&quot;checked&quot;:&quot;value&quot;;e._valueTracker=xx(e,t,&quot;&quot;+e[t])}}function eo(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),n=&quot;&quot;;return e&amp;&amp;(n=Pc(e)?e.checked?&quot;true&quot;:&quot;false&quot;:e.value),e=n,e!==a?(t.setValue(e),!0):!1}function ws(e){if(e=e||(typeof document&lt;&quot;u&quot;?document:void 0),typeof e&gt;&quot;u&quot;)return null;try{return e.activeElement||e.body}catch{return e.body}}var px=/[\n&quot;\\]/g;function Ht(e){return e.replace(px,function(t){return&quot;\\&quot;+t.charCodeAt(0).toString(16)+&quot; &quot;})}function nr(e,t,a,n,s,i,d,h){e.name=&quot;&quot;,d!=null&amp;&amp;typeof d!=&quot;function&quot;&amp;&amp;typeof d!=&quot;symbol&quot;&amp;&amp;typeof d!=&quot;boolean&quot;?e.type=d:e.removeAttribute(&quot;type&quot;),t!=null?d===&quot;number&quot;?(t===0&amp;&amp;e.value===&quot;&quot;||e.value!=t)&amp;&amp;(e.value=&quot;&quot;+qt(t)):e.value!==&quot;&quot;+qt(t)&amp;&amp;(e.value=&quot;&quot;+qt(t)):d!==&quot;submit&quot;&amp;&amp;d!==&quot;reset&quot;||e.removeAttribute(&quot;value&quot;),t!=null?sr(e,d,qt(t)):a!=null?sr(e,d,qt(a)):n!=null&amp;&amp;e.removeAttribute(&quot;value&quot;),s==null&amp;&amp;i!=null&amp;&amp;(e.defaultChecked=!!i),s!=null&amp;&amp;(e.checked=s&amp;&amp;typeof s!=&quot;function&quot;&amp;&amp;typeof s!=&quot;symbol&quot;),h!=null&amp;&amp;typeof h!=&quot;function&quot;&amp;&amp;typeof h!=&quot;symbol&quot;&amp;&amp;typeof h!=&quot;boolean&quot;?e.name=&quot;&quot;+qt(h):e.removeAttribute(&quot;name&quot;)}function to(e,t,a,n,s,i,d,h){if(i!=null&amp;&amp;typeof i!=&quot;function&quot;&amp;&amp;typeof i!=&quot;symbol&quot;&amp;&amp;typeof i!=&quot;boolean&quot;&amp;&amp;(e.type=i),t!=null||a!=null){if(!(i!==&quot;submit&quot;&amp;&amp;i!==&quot;reset&quot;||t!=null)){lr(e);return}a=a!=null?&quot;&quot;+qt(a):&quot;&quot;,t=t!=null?&quot;&quot;+qt(t):a,h||t===e.value||(e.value=t),e.defaultValue=t}n=n??s,n=typeof n!=&quot;function&quot;&amp;&amp;typeof n!=&quot;symbol&quot;&amp;&amp;!!n,e.checked=h?e.checked:!!n,e.defaultChecked=!!n,d!=null&amp;&amp;typeof d!=&quot;function&quot;&amp;&amp;typeof d!=&quot;symbol&quot;&amp;&amp;typeof d!=&quot;boolean&quot;&amp;&amp;(e.name=d),lr(e)}function sr(e,t,a){t===&quot;number&quot;&amp;&amp;ws(e.ownerDocument)===e||e.defaultValue===&quot;&quot;+a||(e.defaultValue=&quot;&quot;+a)}function Cl(e,t,a,n){if(e=e.options,t){t={};for(var s=0;s&lt;a.length;s++)t[&quot;$&quot;+a[s]]=!0;for(a=0;a&lt;e.length;a++)s=t.hasOwnProperty(&quot;$&quot;+e[a].value),e[a].selected!==s&amp;&amp;(e[a].selected=s),s&amp;&amp;n&amp;&amp;(e[a].defaultSelected=!0)}else{for(a=&quot;&quot;+qt(a),t=null,s=0;s&lt;e.length;s++){if(e[s].value===a){e[s].selected=!0,n&amp;&amp;(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&amp;&amp;(t.selected=!0)}}function ao(e,t,a){if(t!=null&amp;&amp;(t=&quot;&quot;+qt(t),t!==e.value&amp;&amp;(e.value=t),a==null)){e.defaultValue!==t&amp;&amp;(e.defaultValue=t);return}e.defaultValue=a!=null?&quot;&quot;+qt(a):&quot;&quot;}function lo(e,t,a,n){if(t==null){if(n!=null){if(a!=null)throw Error(c(92));if(ae(n)){if(1&lt;n.length)throw Error(c(93));n=n[0]}a=n}a==null&amp;&amp;(a=&quot;&quot;),t=a}a=qt(t),e.defaultValue=a,n=e.textContent,n===a&amp;&amp;n!==&quot;&quot;&amp;&amp;n!==null&amp;&amp;(e.value=n),lr(e)}function Al(e,t){if(t){var a=e.firstChild;if(a&amp;&amp;a===e.lastChild&amp;&amp;a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var gx=new Set(&quot;animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp&quot;.split(&quot; &quot;));function no(e,t,a){var n=t.indexOf(&quot;--&quot;)===0;a==null||typeof a==&quot;boolean&quot;||a===&quot;&quot;?n?e.setProperty(t,&quot;&quot;):t===&quot;float&quot;?e.cssFloat=&quot;&quot;:e[t]=&quot;&quot;:n?e.setProperty(t,a):typeof a!=&quot;number&quot;||a===0||gx.has(t)?t===&quot;float&quot;?e.cssFloat=a:e[t]=(&quot;&quot;+a).trim():e[t]=a+&quot;px&quot;}function so(e,t,a){if(t!=null&amp;&amp;typeof t!=&quot;object&quot;)throw Error(c(62));if(e=e.style,a!=null){for(var n in a)!a.hasOwnProperty(n)||t!=null&amp;&amp;t.hasOwnProperty(n)||(n.indexOf(&quot;--&quot;)===0?e.setProperty(n,&quot;&quot;):n===&quot;float&quot;?e.cssFloat=&quot;&quot;:e[n]=&quot;&quot;);for(var s in t)n=t[s],t.hasOwnProperty(s)&amp;&amp;a[s]!==n&amp;&amp;no(e,s,n)}else for(var i in t)t.hasOwnProperty(i)&amp;&amp;no(e,i,t[i])}function ir(e){if(e.indexOf(&quot;-&quot;)===-1)return!1;switch(e){case&quot;annotation-xml&quot;:case&quot;color-profile&quot;:case&quot;font-face&quot;:case&quot;font-face-src&quot;:case&quot;font-face-uri&quot;:case&quot;font-face-format&quot;:case&quot;font-face-name&quot;:case&quot;missing-glyph&quot;:return!1;default:return!0}}var bx=new Map([[&quot;acceptCharset&quot;,&quot;accept-charset&quot;],[&quot;htmlFor&quot;,&quot;for&quot;],[&quot;httpEquiv&quot;,&quot;http-equiv&quot;],[&quot;crossOrigin&quot;,&quot;crossorigin&quot;],[&quot;accentHeight&quot;,&quot;accent-height&quot;],[&quot;alignmentBaseline&quot;,&quot;alignment-baseline&quot;],[&quot;arabicForm&quot;,&quot;arabic-form&quot;],[&quot;baselineShift&quot;,&quot;baseline-shift&quot;],[&quot;capHeight&quot;,&quot;cap-height&quot;],[&quot;clipPath&quot;,&quot;clip-path&quot;],[&quot;clipRule&quot;,&quot;clip-rule&quot;],[&quot;colorInterpolation&quot;,&quot;color-interpolation&quot;],[&quot;colorInterpolationFilters&quot;,&quot;color-interpolation-filters&quot;],[&quot;colorProfile&quot;,&quot;color-profile&quot;],[&quot;colorRendering&quot;,&quot;color-rendering&quot;],[&quot;dominantBaseline&quot;,&quot;dominant-baseline&quot;],[&quot;enableBackground&quot;,&quot;enable-background&quot;],[&quot;fillOpacity&quot;,&quot;fill-opacity&quot;],[&quot;fillRule&quot;,&quot;fill-rule&quot;],[&quot;floodColor&quot;,&quot;flood-color&quot;],[&quot;floodOpacity&quot;,&quot;flood-opacity&quot;],[&quot;fontFamily&quot;,&quot;font-family&quot;],[&quot;fontSize&quot;,&quot;font-size&quot;],[&quot;fontSizeAdjust&quot;,&quot;font-size-adjust&quot;],[&quot;fontStretch&quot;,&quot;font-stretch&quot;],[&quot;fontStyle&quot;,&quot;font-style&quot;],[&quot;fontVariant&quot;,&quot;font-variant&quot;],[&quot;fontWeight&quot;,&quot;font-weight&quot;],[&quot;glyphName&quot;,&quot;glyph-name&quot;],[&quot;glyphOrientationHorizontal&quot;,&quot;glyph-orientation-horizontal&quot;],[&quot;glyphOrientationVertical&quot;,&quot;glyph-orientation-vertical&quot;],[&quot;horizAdvX&quot;,&quot;horiz-adv-x&quot;],[&quot;horizOriginX&quot;,&quot;horiz-origin-x&quot;],[&quot;imageRendering&quot;,&quot;image-rendering&quot;],[&quot;letterSpacing&quot;,&quot;letter-spacing&quot;],[&quot;lightingColor&quot;,&quot;lighting-color&quot;],[&quot;markerEnd&quot;,&quot;marker-end&quot;],[&quot;markerMid&quot;,&quot;marker-mid&quot;],[&quot;markerStart&quot;,&quot;marker-start&quot;],[&quot;overlinePosition&quot;,&quot;overline-position&quot;],[&quot;overlineThickness&quot;,&quot;overline-thickness&quot;],[&quot;paintOrder&quot;,&quot;paint-order&quot;],[&quot;panose-1&quot;,&quot;panose-1&quot;],[&quot;pointerEvents&quot;,&quot;pointer-events&quot;],[&quot;renderingIntent&quot;,&quot;rendering-intent&quot;],[&quot;shapeRendering&quot;,&quot;shape-rendering&quot;],[&quot;stopColor&quot;,&quot;stop-color&quot;],[&quot;stopOpacity&quot;,&quot;stop-opacity&quot;],[&quot;strikethroughPosition&quot;,&quot;strikethrough-position&quot;],[&quot;strikethroughThickness&quot;,&quot;strikethrough-thickness&quot;],[&quot;strokeDasharray&quot;,&quot;stroke-dasharray&quot;],[&quot;strokeDashoffset&quot;,&quot;stroke-dashoffset&quot;],[&quot;strokeLinecap&quot;,&quot;stroke-linecap&quot;],[&quot;strokeLinejoin&quot;,&quot;stroke-linejoin&quot;],[&quot;strokeMiterlimit&quot;,&quot;stroke-miterlimit&quot;],[&quot;strokeOpacity&quot;,&quot;stroke-opacity&quot;],[&quot;strokeWidth&quot;,&quot;stroke-width&quot;],[&quot;textAnchor&quot;,&quot;text-anchor&quot;],[&quot;textDecoration&quot;,&quot;text-decoration&quot;],[&quot;textRendering&quot;,&quot;text-rendering&quot;],[&quot;transformOrigin&quot;,&quot;transform-origin&quot;],[&quot;underlinePosition&quot;,&quot;underline-position&quot;],[&quot;underlineThickness&quot;,&quot;underline-thickness&quot;],[&quot;unicodeBidi&quot;,&quot;unicode-bidi&quot;],[&quot;unicodeRange&quot;,&quot;unicode-range&quot;],[&quot;unitsPerEm&quot;,&quot;units-per-em&quot;],[&quot;vAlphabetic&quot;,&quot;v-alphabetic&quot;],[&quot;vHanging&quot;,&quot;v-hanging&quot;],[&quot;vIdeographic&quot;,&quot;v-ideographic&quot;],[&quot;vMathematical&quot;,&quot;v-mathematical&quot;],[&quot;vectorEffect&quot;,&quot;vector-effect&quot;],[&quot;vertAdvY&quot;,&quot;vert-adv-y&quot;],[&quot;vertOriginX&quot;,&quot;vert-origin-x&quot;],[&quot;vertOriginY&quot;,&quot;vert-origin-y&quot;],[&quot;wordSpacing&quot;,&quot;word-spacing&quot;],[&quot;writingMode&quot;,&quot;writing-mode&quot;],[&quot;xmlnsXlink&quot;,&quot;xmlns:xlink&quot;],[&quot;xHeight&quot;,&quot;x-height&quot;]]),vx=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Es(e){return vx.test(&quot;&quot;+e)?&quot;javascript:throw new Error(&#039;React has blocked a javascript: URL as a security precaution.&#039;)&quot;:e}function oa(){}var rr=null;function ur(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&amp;&amp;(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var zl=null,kl=null;function io(e){var t=wl(e);if(t&amp;&amp;(e=t.stateNode)){var a=e[vt]||null;e:switch(e=t.stateNode,t.type){case&quot;input&quot;:if(nr(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type===&quot;radio&quot;&amp;&amp;t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll(&#039;input[name=&quot;&#039;+Ht(&quot;&quot;+t)+&#039;&quot;][type=&quot;radio&quot;]&#039;),t=0;t&lt;a.length;t++){var n=a[t];if(n!==e&amp;&amp;n.form===e.form){var s=n[vt]||null;if(!s)throw Error(c(90));nr(n,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(t=0;t&lt;a.length;t++)n=a[t],n.form===e.form&amp;&amp;eo(n)}break e;case&quot;textarea&quot;:ao(e,a.value,a.defaultValue);break e;case&quot;select&quot;:t=a.value,t!=null&amp;&amp;Cl(e,!!a.multiple,t,!1)}}}var cr=!1;function ro(e,t,a){if(cr)return e(t,a);cr=!0;try{var n=e(t);return n}finally{if(cr=!1,(zl!==null||kl!==null)&amp;&amp;(mi(),zl&amp;&amp;(t=zl,e=kl,kl=zl=null,io(t),e)))for(t=0;t&lt;e.length;t++)io(e[t])}}function Nn(e,t){var a=e.stateNode;if(a===null)return null;var n=a[vt]||null;if(n===null)return null;a=n[t];e:switch(t){case&quot;onClick&quot;:case&quot;onClickCapture&quot;:case&quot;onDoubleClick&quot;:case&quot;onDoubleClickCapture&quot;:case&quot;onMouseDown&quot;:case&quot;onMouseDownCapture&quot;:case&quot;onMouseMove&quot;:case&quot;onMouseMoveCapture&quot;:case&quot;onMouseUp&quot;:case&quot;onMouseUpCapture&quot;:case&quot;onMouseEnter&quot;:(n=!n.disabled)||(e=e.type,n=!(e===&quot;button&quot;||e===&quot;input&quot;||e===&quot;select&quot;||e===&quot;textarea&quot;)),e=!n;break e;default:e=!1}if(e)return null;if(a&amp;&amp;typeof a!=&quot;function&quot;)throw Error(c(231,t,typeof a));return a}var da=!(typeof window&gt;&quot;u&quot;||typeof window.document&gt;&quot;u&quot;||typeof window.document.createElement&gt;&quot;u&quot;),or=!1;if(da)try{var Sn={};Object.defineProperty(Sn,&quot;passive&quot;,{get:function(){or=!0}}),window.addEventListener(&quot;test&quot;,Sn,Sn),window.removeEventListener(&quot;test&quot;,Sn,Sn)}catch{or=!1}var Oa=null,dr=null,Ts=null;function uo(){if(Ts)return Ts;var e,t=dr,a=t.length,n,s=&quot;value&quot;in Oa?Oa.value:Oa.textContent,i=s.length;for(e=0;e&lt;a&amp;&amp;t[e]===s[e];e++);var d=a-e;for(n=1;n&lt;=d&amp;&amp;t[a-n]===s[i-n];n++);return Ts=s.slice(e,1&lt;n?1-n:void 0)}function Cs(e){var t=e.keyCode;return&quot;charCode&quot;in e?(e=e.charCode,e===0&amp;&amp;t===13&amp;&amp;(e=13)):e=t,e===10&amp;&amp;(e=13),32&lt;=e||e===13?e:0}function As(){return!0}function co(){return!1}function jt(e){function t(a,n,s,i,d){this._reactName=a,this._targetInst=s,this.type=n,this.nativeEvent=i,this.target=d,this.currentTarget=null;for(var h in e)e.hasOwnProperty(h)&amp;&amp;(a=e[h],this[h]=a?a(i):i[h]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?As:co,this.isPropagationStopped=co,this}return y(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&amp;&amp;(a.preventDefault?a.preventDefault():typeof a.returnValue!=&quot;unknown&quot;&amp;&amp;(a.returnValue=!1),this.isDefaultPrevented=As)},stopPropagation:function(){var a=this.nativeEvent;a&amp;&amp;(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!=&quot;unknown&quot;&amp;&amp;(a.cancelBubble=!0),this.isPropagationStopped=As)},persist:function(){},isPersistent:As}),t}var il={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},zs=jt(il),_n=y({},il,{view:0,detail:0}),jx=jt(_n),fr,mr,wn,ks=y({},_n,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xr,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return&quot;movementX&quot;in e?e.movementX:(e!==wn&amp;&amp;(wn&amp;&amp;e.type===&quot;mousemove&quot;?(fr=e.screenX-wn.screenX,mr=e.screenY-wn.screenY):mr=fr=0,wn=e),fr)},movementY:function(e){return&quot;movementY&quot;in e?e.movementY:mr}}),oo=jt(ks),yx=y({},ks,{dataTransfer:0}),Nx=jt(yx),Sx=y({},_n,{relatedTarget:0}),hr=jt(Sx),_x=y({},il,{animationName:0,elapsedTime:0,pseudoElement:0}),wx=jt(_x),Ex=y({},il,{clipboardData:function(e){return&quot;clipboardData&quot;in e?e.clipboardData:window.clipboardData}}),Tx=jt(Ex),Cx=y({},il,{data:0}),fo=jt(Cx),Ax={Esc:&quot;Escape&quot;,Spacebar:&quot; &quot;,Left:&quot;ArrowLeft&quot;,Up:&quot;ArrowUp&quot;,Right:&quot;ArrowRight&quot;,Down:&quot;ArrowDown&quot;,Del:&quot;Delete&quot;,Win:&quot;OS&quot;,Menu:&quot;ContextMenu&quot;,Apps:&quot;ContextMenu&quot;,Scroll:&quot;ScrollLock&quot;,MozPrintableKey:&quot;Unidentified&quot;},zx={8:&quot;Backspace&quot;,9:&quot;Tab&quot;,12:&quot;Clear&quot;,13:&quot;Enter&quot;,16:&quot;Shift&quot;,17:&quot;Control&quot;,18:&quot;Alt&quot;,19:&quot;Pause&quot;,20:&quot;CapsLock&quot;,27:&quot;Escape&quot;,32:&quot; &quot;,33:&quot;PageUp&quot;,34:&quot;PageDown&quot;,35:&quot;End&quot;,36:&quot;Home&quot;,37:&quot;ArrowLeft&quot;,38:&quot;ArrowUp&quot;,39:&quot;ArrowRight&quot;,40:&quot;ArrowDown&quot;,45:&quot;Insert&quot;,46:&quot;Delete&quot;,112:&quot;F1&quot;,113:&quot;F2&quot;,114:&quot;F3&quot;,115:&quot;F4&quot;,116:&quot;F5&quot;,117:&quot;F6&quot;,118:&quot;F7&quot;,119:&quot;F8&quot;,120:&quot;F9&quot;,121:&quot;F10&quot;,122:&quot;F11&quot;,123:&quot;F12&quot;,144:&quot;NumLock&quot;,145:&quot;ScrollLock&quot;,224:&quot;Meta&quot;},kx={Alt:&quot;altKey&quot;,Control:&quot;ctrlKey&quot;,Meta:&quot;metaKey&quot;,Shift:&quot;shiftKey&quot;};function Mx(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=kx[e])?!!t[e]:!1}function xr(){return Mx}var Ox=y({},_n,{key:function(e){if(e.key){var t=Ax[e.key]||e.key;if(t!==&quot;Unidentified&quot;)return t}return e.type===&quot;keypress&quot;?(e=Cs(e),e===13?&quot;Enter&quot;:String.fromCharCode(e)):e.type===&quot;keydown&quot;||e.type===&quot;keyup&quot;?zx[e.keyCode]||&quot;Unidentified&quot;:&quot;&quot;},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xr,charCode:function(e){return e.type===&quot;keypress&quot;?Cs(e):0},keyCode:function(e){return e.type===&quot;keydown&quot;||e.type===&quot;keyup&quot;?e.keyCode:0},which:function(e){return e.type===&quot;keypress&quot;?Cs(e):e.type===&quot;keydown&quot;||e.type===&quot;keyup&quot;?e.keyCode:0}}),Rx=jt(Ox),Dx=y({},ks,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),mo=jt(Dx),Ux=y({},_n,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xr}),Lx=jt(Ux),qx=y({},il,{propertyName:0,elapsedTime:0,pseudoElement:0}),Hx=jt(qx),Bx=y({},ks,{deltaX:function(e){return&quot;deltaX&quot;in e?e.deltaX:&quot;wheelDeltaX&quot;in e?-e.wheelDeltaX:0},deltaY:function(e){return&quot;deltaY&quot;in e?e.deltaY:&quot;wheelDeltaY&quot;in e?-e.wheelDeltaY:&quot;wheelDelta&quot;in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Gx=jt(Bx),Yx=y({},il,{newState:0,oldState:0}),Vx=jt(Yx),$x=[9,13,27,32],pr=da&amp;&amp;&quot;CompositionEvent&quot;in window,En=null;da&amp;&amp;&quot;documentMode&quot;in document&amp;&amp;(En=document.documentMode);var Qx=da&amp;&amp;&quot;TextEvent&quot;in window&amp;&amp;!En,ho=da&amp;&amp;(!pr||En&amp;&amp;8&lt;En&amp;&amp;11&gt;=En),xo=&quot; &quot;,po=!1;function go(e,t){switch(e){case&quot;keyup&quot;:return $x.indexOf(t.keyCode)!==-1;case&quot;keydown&quot;:return t.keyCode!==229;case&quot;keypress&quot;:case&quot;mousedown&quot;:case&quot;focusout&quot;:return!0;default:return!1}}function bo(e){return e=e.detail,typeof e==&quot;object&quot;&amp;&amp;&quot;data&quot;in e?e.data:null}var Ml=!1;function Xx(e,t){switch(e){case&quot;compositionend&quot;:return bo(t);case&quot;keypress&quot;:return t.which!==32?null:(po=!0,xo);case&quot;textInput&quot;:return e=t.data,e===xo&amp;&amp;po?null:e;default:return null}}function Zx(e,t){if(Ml)return e===&quot;compositionend&quot;||!pr&amp;&amp;go(e,t)?(e=uo(),Ts=dr=Oa=null,Ml=!1,e):null;switch(e){case&quot;paste&quot;:return null;case&quot;keypress&quot;:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&amp;&amp;t.altKey){if(t.char&amp;&amp;1&lt;t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case&quot;compositionend&quot;:return ho&amp;&amp;t.locale!==&quot;ko&quot;?null:t.data;default:return null}}var Jx={color:!0,date:!0,datetime:!0,&quot;datetime-local&quot;:!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function vo(e){var t=e&amp;&amp;e.nodeName&amp;&amp;e.nodeName.toLowerCase();return t===&quot;input&quot;?!!Jx[e.type]:t===&quot;textarea&quot;}function jo(e,t,a,n){zl?kl?kl.push(n):kl=[n]:zl=n,t=ji(t,&quot;onChange&quot;),0&lt;t.length&amp;&amp;(a=new zs(&quot;onChange&quot;,&quot;change&quot;,null,a,n),e.push({event:a,listeners:t}))}var Tn=null,Cn=null;function Kx(e){lm(e,0)}function Ms(e){var t=yn(e);if(eo(t))return e}function yo(e,t){if(e===&quot;change&quot;)return t}var No=!1;if(da){var gr;if(da){var br=&quot;oninput&quot;in document;if(!br){var So=document.createElement(&quot;div&quot;);So.setAttribute(&quot;oninput&quot;,&quot;return;&quot;),br=typeof So.oninput==&quot;function&quot;}gr=br}else gr=!1;No=gr&amp;&amp;(!document.documentMode||9&lt;document.documentMode)}function _o(){Tn&amp;&amp;(Tn.detachEvent(&quot;onpropertychange&quot;,wo),Cn=Tn=null)}function wo(e){if(e.propertyName===&quot;value&quot;&amp;&amp;Ms(Cn)){var t=[];jo(t,Cn,e,ur(e)),ro(Kx,t)}}function Fx(e,t,a){e===&quot;focusin&quot;?(_o(),Tn=t,Cn=a,Tn.attachEvent(&quot;onpropertychange&quot;,wo)):e===&quot;focusout&quot;&amp;&amp;_o()}function Wx(e){if(e===&quot;selectionchange&quot;||e===&quot;keyup&quot;||e===&quot;keydown&quot;)return Ms(Cn)}function Ix(e,t){if(e===&quot;click&quot;)return Ms(t)}function Px(e,t){if(e===&quot;input&quot;||e===&quot;change&quot;)return Ms(t)}function ep(e,t){return e===t&amp;&amp;(e!==0||1/e===1/t)||e!==e&amp;&amp;t!==t}var At=typeof Object.is==&quot;function&quot;?Object.is:ep;function An(e,t){if(At(e,t))return!0;if(typeof e!=&quot;object&quot;||e===null||typeof t!=&quot;object&quot;||t===null)return!1;var a=Object.keys(e),n=Object.keys(t);if(a.length!==n.length)return!1;for(n=0;n&lt;a.length;n++){var s=a[n];if(!Ki.call(t,s)||!At(e[s],t[s]))return!1}return!0}function Eo(e){for(;e&amp;&amp;e.firstChild;)e=e.firstChild;return e}function To(e,t){var a=Eo(e);e=0;for(var n;a;){if(a.nodeType===3){if(n=e+a.textContent.length,e&lt;=t&amp;&amp;n&gt;=t)return{node:a,offset:t-e};e=n}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Eo(a)}}function Co(e,t){return e&amp;&amp;t?e===t?!0:e&amp;&amp;e.nodeType===3?!1:t&amp;&amp;t.nodeType===3?Co(e,t.parentNode):&quot;contains&quot;in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&amp;16):!1:!1}function Ao(e){e=e!=null&amp;&amp;e.ownerDocument!=null&amp;&amp;e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=ws(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href==&quot;string&quot;}catch{a=!1}if(a)e=t.contentWindow;else break;t=ws(e.document)}return t}function vr(e){var t=e&amp;&amp;e.nodeName&amp;&amp;e.nodeName.toLowerCase();return t&amp;&amp;(t===&quot;input&quot;&amp;&amp;(e.type===&quot;text&quot;||e.type===&quot;search&quot;||e.type===&quot;tel&quot;||e.type===&quot;url&quot;||e.type===&quot;password&quot;)||t===&quot;textarea&quot;||e.contentEditable===&quot;true&quot;)}var tp=da&amp;&amp;&quot;documentMode&quot;in document&amp;&amp;11&gt;=document.documentMode,Ol=null,jr=null,zn=null,yr=!1;function zo(e,t,a){var n=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;yr||Ol==null||Ol!==ws(n)||(n=Ol,&quot;selectionStart&quot;in n&amp;&amp;vr(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&amp;&amp;n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),zn&amp;&amp;An(zn,n)||(zn=n,n=ji(jr,&quot;onSelect&quot;),0&lt;n.length&amp;&amp;(t=new zs(&quot;onSelect&quot;,&quot;select&quot;,null,t,a),e.push({event:t,listeners:n}),t.target=Ol)))}function rl(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a[&quot;Webkit&quot;+e]=&quot;webkit&quot;+t,a[&quot;Moz&quot;+e]=&quot;moz&quot;+t,a}var Rl={animationend:rl(&quot;Animation&quot;,&quot;AnimationEnd&quot;),animationiteration:rl(&quot;Animation&quot;,&quot;AnimationIteration&quot;),animationstart:rl(&quot;Animation&quot;,&quot;AnimationStart&quot;),transitionrun:rl(&quot;Transition&quot;,&quot;TransitionRun&quot;),transitionstart:rl(&quot;Transition&quot;,&quot;TransitionStart&quot;),transitioncancel:rl(&quot;Transition&quot;,&quot;TransitionCancel&quot;),transitionend:rl(&quot;Transition&quot;,&quot;TransitionEnd&quot;)},Nr={},ko={};da&amp;&amp;(ko=document.createElement(&quot;div&quot;).style,&quot;AnimationEvent&quot;in window||(delete Rl.animationend.animation,delete Rl.animationiteration.animation,delete Rl.animationstart.animation),&quot;TransitionEvent&quot;in window||delete Rl.transitionend.transition);function ul(e){if(Nr[e])return Nr[e];if(!Rl[e])return e;var t=Rl[e],a;for(a in t)if(t.hasOwnProperty(a)&amp;&amp;a in ko)return Nr[e]=t[a];return e}var Mo=ul(&quot;animationend&quot;),Oo=ul(&quot;animationiteration&quot;),Ro=ul(&quot;animationstart&quot;),ap=ul(&quot;transitionrun&quot;),lp=ul(&quot;transitionstart&quot;),np=ul(&quot;transitioncancel&quot;),Do=ul(&quot;transitionend&quot;),Uo=new Map,Sr=&quot;abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel&quot;.split(&quot; &quot;);Sr.push(&quot;scrollEnd&quot;);function Ft(e,t){Uo.set(e,t),sl(t,[e])}var Os=typeof reportError==&quot;function&quot;?reportError:function(e){if(typeof window==&quot;object&quot;&amp;&amp;typeof window.ErrorEvent==&quot;function&quot;){var t=new window.ErrorEvent(&quot;error&quot;,{bubbles:!0,cancelable:!0,message:typeof e==&quot;object&quot;&amp;&amp;e!==null&amp;&amp;typeof e.message==&quot;string&quot;?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==&quot;object&quot;&amp;&amp;typeof process.emit==&quot;function&quot;){process.emit(&quot;uncaughtException&quot;,e);return}console.error(e)},Bt=[],Dl=0,_r=0;function Rs(){for(var e=Dl,t=_r=Dl=0;t&lt;e;){var a=Bt[t];Bt[t++]=null;var n=Bt[t];Bt[t++]=null;var s=Bt[t];Bt[t++]=null;var i=Bt[t];if(Bt[t++]=null,n!==null&amp;&amp;s!==null){var d=n.pending;d===null?s.next=s:(s.next=d.next,d.next=s),n.pending=s}i!==0&amp;&amp;Lo(a,s,i)}}function Ds(e,t,a,n){Bt[Dl++]=e,Bt[Dl++]=t,Bt[Dl++]=a,Bt[Dl++]=n,_r|=n,e.lanes|=n,e=e.alternate,e!==null&amp;&amp;(e.lanes|=n)}function wr(e,t,a,n){return Ds(e,t,a,n),Us(e)}function cl(e,t){return Ds(e,null,null,t),Us(e)}function Lo(e,t,a){e.lanes|=a;var n=e.alternate;n!==null&amp;&amp;(n.lanes|=a);for(var s=!1,i=e.return;i!==null;)i.childLanes|=a,n=i.alternate,n!==null&amp;&amp;(n.childLanes|=a),i.tag===22&amp;&amp;(e=i.stateNode,e===null||e._visibility&amp;1||(s=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,s&amp;&amp;t!==null&amp;&amp;(s=31-Ct(a),e=i.hiddenUpdates,n=e[s],n===null?e[s]=[t]:n.push(t),t.lane=a|536870912),i):null}function Us(e){if(50&lt;In)throw In=0,Ru=null,Error(c(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Ul={};function sp(e,t,a,n){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function zt(e,t,a,n){return new sp(e,t,a,n)}function Er(e){return e=e.prototype,!(!e||!e.isReactComponent)}function fa(e,t){var a=e.alternate;return a===null?(a=zt(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&amp;65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function qo(e,t){e.flags&amp;=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Ls(e,t,a,n,s,i){var d=0;if(n=e,typeof e==&quot;function&quot;)Er(e)&amp;&amp;(d=1);else if(typeof e==&quot;string&quot;)d=og(e,a,te.current)?26:e===&quot;html&quot;||e===&quot;head&quot;||e===&quot;body&quot;?27:5;else e:switch(e){case B:return e=zt(31,a,t,s),e.elementType=B,e.lanes=i,e;case R:return ol(a.children,s,i,t);case U:d=8,s|=24;break;case q:return e=zt(12,a,t,s|2),e.elementType=q,e.lanes=i,e;case P:return e=zt(13,a,t,s),e.elementType=P,e.lanes=i,e;case Z:return e=zt(19,a,t,s),e.elementType=Z,e.lanes=i,e;default:if(typeof e==&quot;object&quot;&amp;&amp;e!==null)switch(e.$$typeof){case X:d=10;break e;case K:d=9;break e;case le:d=11;break e;case $:d=14;break e;case F:d=16,n=null;break e}d=29,a=Error(c(130,e===null?&quot;null&quot;:typeof e,&quot;&quot;)),n=null}return t=zt(d,a,t,s),t.elementType=e,t.type=n,t.lanes=i,t}function ol(e,t,a,n){return e=zt(7,e,n,t),e.lanes=a,e}function Tr(e,t,a){return e=zt(6,e,null,t),e.lanes=a,e}function Ho(e){var t=zt(18,null,null,0);return t.stateNode=e,t}function Cr(e,t,a){return t=zt(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Bo=new WeakMap;function Gt(e,t){if(typeof e==&quot;object&quot;&amp;&amp;e!==null){var a=Bo.get(e);return a!==void 0?a:(t={value:e,source:t,stack:qc(t)},Bo.set(e,t),t)}return{value:e,source:t,stack:qc(t)}}var Ll=[],ql=0,qs=null,kn=0,Yt=[],Vt=0,Ra=null,aa=1,la=&quot;&quot;;function ma(e,t){Ll[ql++]=kn,Ll[ql++]=qs,qs=e,kn=t}function Go(e,t,a){Yt[Vt++]=aa,Yt[Vt++]=la,Yt[Vt++]=Ra,Ra=e;var n=aa;e=la;var s=32-Ct(n)-1;n&amp;=~(1&lt;&lt;s),a+=1;var i=32-Ct(t)+s;if(30&lt;i){var d=s-s%5;i=(n&amp;(1&lt;&lt;d)-1).toString(32),n&gt;&gt;=d,s-=d,aa=1&lt;&lt;32-Ct(t)+s|a&lt;&lt;s|n,la=i+e}else aa=1&lt;&lt;i|a&lt;&lt;s|n,la=e}function Ar(e){e.return!==null&amp;&amp;(ma(e,1),Go(e,1,0))}function zr(e){for(;e===qs;)qs=Ll[--ql],Ll[ql]=null,kn=Ll[--ql],Ll[ql]=null;for(;e===Ra;)Ra=Yt[--Vt],Yt[Vt]=null,la=Yt[--Vt],Yt[Vt]=null,aa=Yt[--Vt],Yt[Vt]=null}function Yo(e,t){Yt[Vt++]=aa,Yt[Vt++]=la,Yt[Vt++]=Ra,aa=t.id,la=t.overflow,Ra=e}var ot=null,Ge=null,Ae=!1,Da=null,$t=!1,kr=Error(c(519));function Ua(e){var t=Error(c(418,1&lt;arguments.length&amp;&amp;arguments[1]!==void 0&amp;&amp;arguments[1]?&quot;text&quot;:&quot;HTML&quot;,&quot;&quot;));throw Mn(Gt(t,e)),kr}function Vo(e){var t=e.stateNode,a=e.type,n=e.memoizedProps;switch(t[ct]=e,t[vt]=n,a){case&quot;dialog&quot;:Ee(&quot;cancel&quot;,t),Ee(&quot;close&quot;,t);break;case&quot;iframe&quot;:case&quot;object&quot;:case&quot;embed&quot;:Ee(&quot;load&quot;,t);break;case&quot;video&quot;:case&quot;audio&quot;:for(a=0;a&lt;es.length;a++)Ee(es[a],t);break;case&quot;source&quot;:Ee(&quot;error&quot;,t);break;case&quot;img&quot;:case&quot;image&quot;:case&quot;link&quot;:Ee(&quot;error&quot;,t),Ee(&quot;load&quot;,t);break;case&quot;details&quot;:Ee(&quot;toggle&quot;,t);break;case&quot;input&quot;:Ee(&quot;invalid&quot;,t),to(t,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case&quot;select&quot;:Ee(&quot;invalid&quot;,t);break;case&quot;textarea&quot;:Ee(&quot;invalid&quot;,t),lo(t,n.value,n.defaultValue,n.children)}a=n.children,typeof a!=&quot;string&quot;&amp;&amp;typeof a!=&quot;number&quot;&amp;&amp;typeof a!=&quot;bigint&quot;||t.textContent===&quot;&quot;+a||n.suppressHydrationWarning===!0||rm(t.textContent,a)?(n.popover!=null&amp;&amp;(Ee(&quot;beforetoggle&quot;,t),Ee(&quot;toggle&quot;,t)),n.onScroll!=null&amp;&amp;Ee(&quot;scroll&quot;,t),n.onScrollEnd!=null&amp;&amp;Ee(&quot;scrollend&quot;,t),n.onClick!=null&amp;&amp;(t.onclick=oa),t=!0):t=!1,t||Ua(e,!0)}function $o(e){for(ot=e.return;ot;)switch(ot.tag){case 5:case 31:case 13:$t=!1;return;case 27:case 3:$t=!0;return;default:ot=ot.return}}function Hl(e){if(e!==ot)return!1;if(!Ae)return $o(e),Ae=!0,!1;var t=e.tag,a;if((a=t!==3&amp;&amp;t!==27)&amp;&amp;((a=t===5)&amp;&amp;(a=e.type,a=!(a!==&quot;form&quot;&amp;&amp;a!==&quot;button&quot;)||Ku(e.type,e.memoizedProps)),a=!a),a&amp;&amp;Ge&amp;&amp;Ua(e),$o(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(317));Ge=pm(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(317));Ge=pm(e)}else t===27?(t=Ge,Fa(e.type)?(e=ec,ec=null,Ge=e):Ge=t):Ge=ot?Xt(e.stateNode.nextSibling):null;return!0}function dl(){Ge=ot=null,Ae=!1}function Mr(){var e=Da;return e!==null&amp;&amp;(_t===null?_t=e:_t.push.apply(_t,e),Da=null),e}function Mn(e){Da===null?Da=[e]:Da.push(e)}var Or=_(null),fl=null,ha=null;function La(e,t,a){z(Or,t._currentValue),t._currentValue=a}function xa(e){e._currentValue=Or.current,v(Or)}function Rr(e,t,a){for(;e!==null;){var n=e.alternate;if((e.childLanes&amp;t)!==t?(e.childLanes|=t,n!==null&amp;&amp;(n.childLanes|=t)):n!==null&amp;&amp;(n.childLanes&amp;t)!==t&amp;&amp;(n.childLanes|=t),e===a)break;e=e.return}}function Dr(e,t,a,n){var s=e.child;for(s!==null&amp;&amp;(s.return=e);s!==null;){var i=s.dependencies;if(i!==null){var d=s.child;i=i.firstContext;e:for(;i!==null;){var h=i;i=s;for(var N=0;N&lt;t.length;N++)if(h.context===t[N]){i.lanes|=a,h=i.alternate,h!==null&amp;&amp;(h.lanes|=a),Rr(i.return,a,e),n||(d=null);break e}i=h.next}}else if(s.tag===18){if(d=s.return,d===null)throw Error(c(341));d.lanes|=a,i=d.alternate,i!==null&amp;&amp;(i.lanes|=a),Rr(d,a,e),d=null}else d=s.child;if(d!==null)d.return=s;else for(d=s;d!==null;){if(d===e){d=null;break}if(s=d.sibling,s!==null){s.return=d.return,d=s;break}d=d.return}s=d}}function Bl(e,t,a,n){e=null;for(var s=t,i=!1;s!==null;){if(!i){if((s.flags&amp;524288)!==0)i=!0;else if((s.flags&amp;262144)!==0)break}if(s.tag===10){var d=s.alternate;if(d===null)throw Error(c(387));if(d=d.memoizedProps,d!==null){var h=s.type;At(s.pendingProps.value,d.value)||(e!==null?e.push(h):e=[h])}}else if(s===_e.current){if(d=s.alternate,d===null)throw Error(c(387));d.memoizedState.memoizedState!==s.memoizedState.memoizedState&amp;&amp;(e!==null?e.push(ss):e=[ss])}s=s.return}e!==null&amp;&amp;Dr(t,e,a,n),t.flags|=262144}function Hs(e){for(e=e.firstContext;e!==null;){if(!At(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ml(e){fl=e,ha=null,e=e.dependencies,e!==null&amp;&amp;(e.firstContext=null)}function dt(e){return Qo(fl,e)}function Bs(e,t){return fl===null&amp;&amp;ml(e),Qo(e,t)}function Qo(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},ha===null){if(e===null)throw Error(c(308));ha=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else ha=ha.next=t;return a}var ip=typeof AbortController&lt;&quot;u&quot;?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},rp=r.unstable_scheduleCallback,up=r.unstable_NormalPriority,Pe={$$typeof:X,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ur(){return{controller:new ip,data:new Map,refCount:0}}function On(e){e.refCount--,e.refCount===0&amp;&amp;rp(up,function(){e.controller.abort()})}var Rn=null,Lr=0,Gl=0,Yl=null;function cp(e,t){if(Rn===null){var a=Rn=[];Lr=0,Gl=Bu(),Yl={status:&quot;pending&quot;,value:void 0,then:function(n){a.push(n)}}}return Lr++,t.then(Xo,Xo),t}function Xo(){if(--Lr===0&amp;&amp;Rn!==null){Yl!==null&amp;&amp;(Yl.status=&quot;fulfilled&quot;);var e=Rn;Rn=null,Gl=0,Yl=null;for(var t=0;t&lt;e.length;t++)(0,e[t])()}}function op(e,t){var a=[],n={status:&quot;pending&quot;,value:null,reason:null,then:function(s){a.push(s)}};return e.then(function(){n.status=&quot;fulfilled&quot;,n.value=t;for(var s=0;s&lt;a.length;s++)(0,a[s])(t)},function(s){for(n.status=&quot;rejected&quot;,n.reason=s,s=0;s&lt;a.length;s++)(0,a[s])(void 0)}),n}var Zo=C.S;C.S=function(e,t){kf=Et(),typeof t==&quot;object&quot;&amp;&amp;t!==null&amp;&amp;typeof t.then==&quot;function&quot;&amp;&amp;cp(e,t),Zo!==null&amp;&amp;Zo(e,t)};var hl=_(null);function qr(){var e=hl.current;return e!==null?e:Be.pooledCache}function Gs(e,t){t===null?z(hl,hl.current):z(hl,t.pool)}function Jo(){var e=qr();return e===null?null:{parent:Pe._currentValue,pool:e}}var Vl=Error(c(460)),Hr=Error(c(474)),Ys=Error(c(542)),Vs={then:function(){}};function Ko(e){return e=e.status,e===&quot;fulfilled&quot;||e===&quot;rejected&quot;}function Fo(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&amp;&amp;(t.then(oa,oa),t=a),t.status){case&quot;fulfilled&quot;:return t.value;case&quot;rejected&quot;:throw e=t.reason,Io(e),e;default:if(typeof t.status==&quot;string&quot;)t.then(oa,oa);else{if(e=Be,e!==null&amp;&amp;100&lt;e.shellSuspendCounter)throw Error(c(482));e=t,e.status=&quot;pending&quot;,e.then(function(n){if(t.status===&quot;pending&quot;){var s=t;s.status=&quot;fulfilled&quot;,s.value=n}},function(n){if(t.status===&quot;pending&quot;){var s=t;s.status=&quot;rejected&quot;,s.reason=n}})}switch(t.status){case&quot;fulfilled&quot;:return t.value;case&quot;rejected&quot;:throw e=t.reason,Io(e),e}throw pl=t,Vl}}function xl(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&amp;&amp;typeof a==&quot;object&quot;&amp;&amp;typeof a.then==&quot;function&quot;?(pl=a,Vl):a}}var pl=null;function Wo(){if(pl===null)throw Error(c(459));var e=pl;return pl=null,e}function Io(e){if(e===Vl||e===Ys)throw Error(c(483))}var $l=null,Dn=0;function $s(e){var t=Dn;return Dn+=1,$l===null&amp;&amp;($l=[]),Fo($l,e,t)}function Un(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Qs(e,t){throw t.$$typeof===T?Error(c(525)):(e=Object.prototype.toString.call(t),Error(c(31,e===&quot;[object Object]&quot;?&quot;object with keys {&quot;+Object.keys(t).join(&quot;, &quot;)+&quot;}&quot;:e)))}function Po(e){function t(E,w){if(e){var A=E.deletions;A===null?(E.deletions=[w],E.flags|=16):A.push(w)}}function a(E,w){if(!e)return null;for(;w!==null;)t(E,w),w=w.sibling;return null}function n(E){for(var w=new Map;E!==null;)E.key!==null?w.set(E.key,E):w.set(E.index,E),E=E.sibling;return w}function s(E,w){return E=fa(E,w),E.index=0,E.sibling=null,E}function i(E,w,A){return E.index=A,e?(A=E.alternate,A!==null?(A=A.index,A&lt;w?(E.flags|=67108866,w):A):(E.flags|=67108866,w)):(E.flags|=1048576,w)}function d(E){return e&amp;&amp;E.alternate===null&amp;&amp;(E.flags|=67108866),E}function h(E,w,A,Y){return w===null||w.tag!==6?(w=Tr(A,E.mode,Y),w.return=E,w):(w=s(w,A),w.return=E,w)}function N(E,w,A,Y){var me=A.type;return me===R?G(E,w,A.props.children,Y,A.key):w!==null&amp;&amp;(w.elementType===me||typeof me==&quot;object&quot;&amp;&amp;me!==null&amp;&amp;me.$$typeof===F&amp;&amp;xl(me)===w.type)?(w=s(w,A.props),Un(w,A),w.return=E,w):(w=Ls(A.type,A.key,A.props,null,E.mode,Y),Un(w,A),w.return=E,w)}function k(E,w,A,Y){return w===null||w.tag!==4||w.stateNode.containerInfo!==A.containerInfo||w.stateNode.implementation!==A.implementation?(w=Cr(A,E.mode,Y),w.return=E,w):(w=s(w,A.children||[]),w.return=E,w)}function G(E,w,A,Y,me){return w===null||w.tag!==7?(w=ol(A,E.mode,Y,me),w.return=E,w):(w=s(w,A),w.return=E,w)}function V(E,w,A){if(typeof w==&quot;string&quot;&amp;&amp;w!==&quot;&quot;||typeof w==&quot;number&quot;||typeof w==&quot;bigint&quot;)return w=Tr(&quot;&quot;+w,E.mode,A),w.return=E,w;if(typeof w==&quot;object&quot;&amp;&amp;w!==null){switch(w.$$typeof){case D:return A=Ls(w.type,w.key,w.props,null,E.mode,A),Un(A,w),A.return=E,A;case M:return w=Cr(w,E.mode,A),w.return=E,w;case F:return w=xl(w),V(E,w,A)}if(ae(w)||H(w))return w=ol(w,E.mode,A,null),w.return=E,w;if(typeof w.then==&quot;function&quot;)return V(E,$s(w),A);if(w.$$typeof===X)return V(E,Bs(E,w),A);Qs(E,w)}return null}function O(E,w,A,Y){var me=w!==null?w.key:null;if(typeof A==&quot;string&quot;&amp;&amp;A!==&quot;&quot;||typeof A==&quot;number&quot;||typeof A==&quot;bigint&quot;)return me!==null?null:h(E,w,&quot;&quot;+A,Y);if(typeof A==&quot;object&quot;&amp;&amp;A!==null){switch(A.$$typeof){case D:return A.key===me?N(E,w,A,Y):null;case M:return A.key===me?k(E,w,A,Y):null;case F:return A=xl(A),O(E,w,A,Y)}if(ae(A)||H(A))return me!==null?null:G(E,w,A,Y,null);if(typeof A.then==&quot;function&quot;)return O(E,w,$s(A),Y);if(A.$$typeof===X)return O(E,w,Bs(E,A),Y);Qs(E,A)}return null}function L(E,w,A,Y,me){if(typeof Y==&quot;string&quot;&amp;&amp;Y!==&quot;&quot;||typeof Y==&quot;number&quot;||typeof Y==&quot;bigint&quot;)return E=E.get(A)||null,h(w,E,&quot;&quot;+Y,me);if(typeof Y==&quot;object&quot;&amp;&amp;Y!==null){switch(Y.$$typeof){case D:return E=E.get(Y.key===null?A:Y.key)||null,N(w,E,Y,me);case M:return E=E.get(Y.key===null?A:Y.key)||null,k(w,E,Y,me);case F:return Y=xl(Y),L(E,w,A,Y,me)}if(ae(Y)||H(Y))return E=E.get(A)||null,G(w,E,Y,me,null);if(typeof Y.then==&quot;function&quot;)return L(E,w,A,$s(Y),me);if(Y.$$typeof===X)return L(E,w,A,Bs(w,Y),me);Qs(w,Y)}return null}function ue(E,w,A,Y){for(var me=null,ke=null,ce=w,Ne=w=0,Ce=null;ce!==null&amp;&amp;Ne&lt;A.length;Ne++){ce.index&gt;Ne?(Ce=ce,ce=null):Ce=ce.sibling;var Me=O(E,ce,A[Ne],Y);if(Me===null){ce===null&amp;&amp;(ce=Ce);break}e&amp;&amp;ce&amp;&amp;Me.alternate===null&amp;&amp;t(E,ce),w=i(Me,w,Ne),ke===null?me=Me:ke.sibling=Me,ke=Me,ce=Ce}if(Ne===A.length)return a(E,ce),Ae&amp;&amp;ma(E,Ne),me;if(ce===null){for(;Ne&lt;A.length;Ne++)ce=V(E,A[Ne],Y),ce!==null&amp;&amp;(w=i(ce,w,Ne),ke===null?me=ce:ke.sibling=ce,ke=ce);return Ae&amp;&amp;ma(E,Ne),me}for(ce=n(ce);Ne&lt;A.length;Ne++)Ce=L(ce,E,Ne,A[Ne],Y),Ce!==null&amp;&amp;(e&amp;&amp;Ce.alternate!==null&amp;&amp;ce.delete(Ce.key===null?Ne:Ce.key),w=i(Ce,w,Ne),ke===null?me=Ce:ke.sibling=Ce,ke=Ce);return e&amp;&amp;ce.forEach(function(tl){return t(E,tl)}),Ae&amp;&amp;ma(E,Ne),me}function pe(E,w,A,Y){if(A==null)throw Error(c(151));for(var me=null,ke=null,ce=w,Ne=w=0,Ce=null,Me=A.next();ce!==null&amp;&amp;!Me.done;Ne++,Me=A.next()){ce.index&gt;Ne?(Ce=ce,ce=null):Ce=ce.sibling;var tl=O(E,ce,Me.value,Y);if(tl===null){ce===null&amp;&amp;(ce=Ce);break}e&amp;&amp;ce&amp;&amp;tl.alternate===null&amp;&amp;t(E,ce),w=i(tl,w,Ne),ke===null?me=tl:ke.sibling=tl,ke=tl,ce=Ce}if(Me.done)return a(E,ce),Ae&amp;&amp;ma(E,Ne),me;if(ce===null){for(;!Me.done;Ne++,Me=A.next())Me=V(E,Me.value,Y),Me!==null&amp;&amp;(w=i(Me,w,Ne),ke===null?me=Me:ke.sibling=Me,ke=Me);return Ae&amp;&amp;ma(E,Ne),me}for(ce=n(ce);!Me.done;Ne++,Me=A.next())Me=L(ce,E,Ne,Me.value,Y),Me!==null&amp;&amp;(e&amp;&amp;Me.alternate!==null&amp;&amp;ce.delete(Me.key===null?Ne:Me.key),w=i(Me,w,Ne),ke===null?me=Me:ke.sibling=Me,ke=Me);return e&amp;&amp;ce.forEach(function(yg){return t(E,yg)}),Ae&amp;&amp;ma(E,Ne),me}function He(E,w,A,Y){if(typeof A==&quot;object&quot;&amp;&amp;A!==null&amp;&amp;A.type===R&amp;&amp;A.key===null&amp;&amp;(A=A.props.children),typeof A==&quot;object&quot;&amp;&amp;A!==null){switch(A.$$typeof){case D:e:{for(var me=A.key;w!==null;){if(w.key===me){if(me=A.type,me===R){if(w.tag===7){a(E,w.sibling),Y=s(w,A.props.children),Y.return=E,E=Y;break e}}else if(w.elementType===me||typeof me==&quot;object&quot;&amp;&amp;me!==null&amp;&amp;me.$$typeof===F&amp;&amp;xl(me)===w.type){a(E,w.sibling),Y=s(w,A.props),Un(Y,A),Y.return=E,E=Y;break e}a(E,w);break}else t(E,w);w=w.sibling}A.type===R?(Y=ol(A.props.children,E.mode,Y,A.key),Y.return=E,E=Y):(Y=Ls(A.type,A.key,A.props,null,E.mode,Y),Un(Y,A),Y.return=E,E=Y)}return d(E);case M:e:{for(me=A.key;w!==null;){if(w.key===me)if(w.tag===4&amp;&amp;w.stateNode.containerInfo===A.containerInfo&amp;&amp;w.stateNode.implementation===A.implementation){a(E,w.sibling),Y=s(w,A.children||[]),Y.return=E,E=Y;break e}else{a(E,w);break}else t(E,w);w=w.sibling}Y=Cr(A,E.mode,Y),Y.return=E,E=Y}return d(E);case F:return A=xl(A),He(E,w,A,Y)}if(ae(A))return ue(E,w,A,Y);if(H(A)){if(me=H(A),typeof me!=&quot;function&quot;)throw Error(c(150));return A=me.call(A),pe(E,w,A,Y)}if(typeof A.then==&quot;function&quot;)return He(E,w,$s(A),Y);if(A.$$typeof===X)return He(E,w,Bs(E,A),Y);Qs(E,A)}return typeof A==&quot;string&quot;&amp;&amp;A!==&quot;&quot;||typeof A==&quot;number&quot;||typeof A==&quot;bigint&quot;?(A=&quot;&quot;+A,w!==null&amp;&amp;w.tag===6?(a(E,w.sibling),Y=s(w,A),Y.return=E,E=Y):(a(E,w),Y=Tr(A,E.mode,Y),Y.return=E,E=Y),d(E)):a(E,w)}return function(E,w,A,Y){try{Dn=0;var me=He(E,w,A,Y);return $l=null,me}catch(ce){if(ce===Vl||ce===Ys)throw ce;var ke=zt(29,ce,null,E.mode);return ke.lanes=Y,ke.return=E,ke}finally{}}}var gl=Po(!0),ed=Po(!1),qa=!1;function Br(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Gr(e,t){e=e.updateQueue,t.updateQueue===e&amp;&amp;(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ha(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ba(e,t,a){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,(Oe&amp;2)!==0){var s=n.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),n.pending=t,t=Us(e),Lo(e,null,a),t}return Ds(e,n,t,a),Us(e)}function Ln(e,t,a){if(t=t.updateQueue,t!==null&amp;&amp;(t=t.shared,(a&amp;4194048)!==0)){var n=t.lanes;n&amp;=e.pendingLanes,a|=n,t.lanes=a,$c(e,a)}}function Yr(e,t){var a=e.updateQueue,n=e.alternate;if(n!==null&amp;&amp;(n=n.updateQueue,a===n)){var s=null,i=null;if(a=a.firstBaseUpdate,a!==null){do{var d={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};i===null?s=i=d:i=i.next=d,a=a.next}while(a!==null);i===null?s=i=t:i=i.next=t}else s=i=t;a={baseState:n.baseState,firstBaseUpdate:s,lastBaseUpdate:i,shared:n.shared,callbacks:n.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var Vr=!1;function qn(){if(Vr){var e=Yl;if(e!==null)throw e}}function Hn(e,t,a,n){Vr=!1;var s=e.updateQueue;qa=!1;var i=s.firstBaseUpdate,d=s.lastBaseUpdate,h=s.shared.pending;if(h!==null){s.shared.pending=null;var N=h,k=N.next;N.next=null,d===null?i=k:d.next=k,d=N;var G=e.alternate;G!==null&amp;&amp;(G=G.updateQueue,h=G.lastBaseUpdate,h!==d&amp;&amp;(h===null?G.firstBaseUpdate=k:h.next=k,G.lastBaseUpdate=N))}if(i!==null){var V=s.baseState;d=0,G=k=N=null,h=i;do{var O=h.lane&amp;-536870913,L=O!==h.lane;if(L?(Te&amp;O)===O:(n&amp;O)===O){O!==0&amp;&amp;O===Gl&amp;&amp;(Vr=!0),G!==null&amp;&amp;(G=G.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});e:{var ue=e,pe=h;O=t;var He=a;switch(pe.tag){case 1:if(ue=pe.payload,typeof ue==&quot;function&quot;){V=ue.call(He,V,O);break e}V=ue;break e;case 3:ue.flags=ue.flags&amp;-65537|128;case 0:if(ue=pe.payload,O=typeof ue==&quot;function&quot;?ue.call(He,V,O):ue,O==null)break e;V=y({},V,O);break e;case 2:qa=!0}}O=h.callback,O!==null&amp;&amp;(e.flags|=64,L&amp;&amp;(e.flags|=8192),L=s.callbacks,L===null?s.callbacks=[O]:L.push(O))}else L={lane:O,tag:h.tag,payload:h.payload,callback:h.callback,next:null},G===null?(k=G=L,N=V):G=G.next=L,d|=O;if(h=h.next,h===null){if(h=s.shared.pending,h===null)break;L=h,h=L.next,L.next=null,s.lastBaseUpdate=L,s.shared.pending=null}}while(!0);G===null&amp;&amp;(N=V),s.baseState=N,s.firstBaseUpdate=k,s.lastBaseUpdate=G,i===null&amp;&amp;(s.shared.lanes=0),Qa|=d,e.lanes=d,e.memoizedState=V}}function td(e,t){if(typeof e!=&quot;function&quot;)throw Error(c(191,e));e.call(t)}function ad(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e&lt;a.length;e++)td(a[e],t)}var Ql=_(null),Xs=_(0);function ld(e,t){e=_a,z(Xs,e),z(Ql,t),_a=e|t.baseLanes}function $r(){z(Xs,_a),z(Ql,Ql.current)}function Qr(){_a=Xs.current,v(Ql),v(Xs)}var kt=_(null),Qt=null;function Ga(e){var t=e.alternate;z(Fe,Fe.current&amp;1),z(kt,e),Qt===null&amp;&amp;(t===null||Ql.current!==null||t.memoizedState!==null)&amp;&amp;(Qt=e)}function Xr(e){z(Fe,Fe.current),z(kt,e),Qt===null&amp;&amp;(Qt=e)}function nd(e){e.tag===22?(z(Fe,Fe.current),z(kt,e),Qt===null&amp;&amp;(Qt=e)):Ya()}function Ya(){z(Fe,Fe.current),z(kt,kt.current)}function Mt(e){v(kt),Qt===e&amp;&amp;(Qt=null),v(Fe)}var Fe=_(0);function Zs(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&amp;&amp;(a=a.dehydrated,a===null||Iu(a)||Pu(a)))return t}else if(t.tag===19&amp;&amp;(t.memoizedProps.revealOrder===&quot;forwards&quot;||t.memoizedProps.revealOrder===&quot;backwards&quot;||t.memoizedProps.revealOrder===&quot;unstable_legacy-backwards&quot;||t.memoizedProps.revealOrder===&quot;together&quot;)){if((t.flags&amp;128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var pa=0,ye=null,Le=null,et=null,Js=!1,Xl=!1,bl=!1,Ks=0,Bn=0,Zl=null,dp=0;function Ze(){throw Error(c(321))}function Zr(e,t){if(t===null)return!1;for(var a=0;a&lt;t.length&amp;&amp;a&lt;e.length;a++)if(!At(e[a],t[a]))return!1;return!0}function Jr(e,t,a,n,s,i){return pa=i,ye=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,C.H=e===null||e.memoizedState===null?Gd:cu,bl=!1,i=a(n,s),bl=!1,Xl&amp;&amp;(i=id(t,a,n,s)),sd(e),i}function sd(e){C.H=Vn;var t=Le!==null&amp;&amp;Le.next!==null;if(pa=0,et=Le=ye=null,Js=!1,Bn=0,Zl=null,t)throw Error(c(300));e===null||tt||(e=e.dependencies,e!==null&amp;&amp;Hs(e)&amp;&amp;(tt=!0))}function id(e,t,a,n){ye=e;var s=0;do{if(Xl&amp;&amp;(Zl=null),Bn=0,Xl=!1,25&lt;=s)throw Error(c(301));if(s+=1,et=Le=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&amp;&amp;(i.memoCache.index=0)}C.H=Yd,i=t(a,n)}while(Xl);return i}function fp(){var e=C.H,t=e.useState()[0];return t=typeof t.then==&quot;function&quot;?Gn(t):t,e=e.useState()[0],(Le!==null?Le.memoizedState:null)!==e&amp;&amp;(ye.flags|=1024),t}function Kr(){var e=Ks!==0;return Ks=0,e}function Fr(e,t,a){t.updateQueue=e.updateQueue,t.flags&amp;=-2053,e.lanes&amp;=~a}function Wr(e){if(Js){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&amp;&amp;(t.pending=null),e=e.next}Js=!1}pa=0,et=Le=ye=null,Xl=!1,Bn=Ks=0,Zl=null}function gt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return et===null?ye.memoizedState=et=e:et=et.next=e,et}function We(){if(Le===null){var e=ye.alternate;e=e!==null?e.memoizedState:null}else e=Le.next;var t=et===null?ye.memoizedState:et.next;if(t!==null)et=t,Le=e;else{if(e===null)throw ye.alternate===null?Error(c(467)):Error(c(310));Le=e,e={memoizedState:Le.memoizedState,baseState:Le.baseState,baseQueue:Le.baseQueue,queue:Le.queue,next:null},et===null?ye.memoizedState=et=e:et=et.next=e}return et}function Fs(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Gn(e){var t=Bn;return Bn+=1,Zl===null&amp;&amp;(Zl=[]),e=Fo(Zl,e,t),t=ye,(et===null?t.memoizedState:et.next)===null&amp;&amp;(t=t.alternate,C.H=t===null||t.memoizedState===null?Gd:cu),e}function Ws(e){if(e!==null&amp;&amp;typeof e==&quot;object&quot;){if(typeof e.then==&quot;function&quot;)return Gn(e);if(e.$$typeof===X)return dt(e)}throw Error(c(438,String(e)))}function Ir(e){var t=null,a=ye.updateQueue;if(a!==null&amp;&amp;(t=a.memoCache),t==null){var n=ye.alternate;n!==null&amp;&amp;(n=n.updateQueue,n!==null&amp;&amp;(n=n.memoCache,n!=null&amp;&amp;(t={data:n.data.map(function(s){return s.slice()}),index:0})))}if(t==null&amp;&amp;(t={data:[],index:0}),a===null&amp;&amp;(a=Fs(),ye.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),n=0;n&lt;e;n++)a[n]=ee;return t.index++,a}function ga(e,t){return typeof t==&quot;function&quot;?t(e):t}function Is(e){var t=We();return Pr(t,Le,e)}function Pr(e,t,a){var n=e.queue;if(n===null)throw Error(c(311));n.lastRenderedReducer=a;var s=e.baseQueue,i=n.pending;if(i!==null){if(s!==null){var d=s.next;s.next=i.next,i.next=d}t.baseQueue=s=i,n.pending=null}if(i=e.baseState,s===null)e.memoizedState=i;else{t=s.next;var h=d=null,N=null,k=t,G=!1;do{var V=k.lane&amp;-536870913;if(V!==k.lane?(Te&amp;V)===V:(pa&amp;V)===V){var O=k.revertLane;if(O===0)N!==null&amp;&amp;(N=N.next={lane:0,revertLane:0,gesture:null,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null}),V===Gl&amp;&amp;(G=!0);else if((pa&amp;O)===O){k=k.next,O===Gl&amp;&amp;(G=!0);continue}else V={lane:0,revertLane:k.revertLane,gesture:null,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null},N===null?(h=N=V,d=i):N=N.next=V,ye.lanes|=O,Qa|=O;V=k.action,bl&amp;&amp;a(i,V),i=k.hasEagerState?k.eagerState:a(i,V)}else O={lane:V,revertLane:k.revertLane,gesture:k.gesture,action:k.action,hasEagerState:k.hasEagerState,eagerState:k.eagerState,next:null},N===null?(h=N=O,d=i):N=N.next=O,ye.lanes|=V,Qa|=V;k=k.next}while(k!==null&amp;&amp;k!==t);if(N===null?d=i:N.next=h,!At(i,e.memoizedState)&amp;&amp;(tt=!0,G&amp;&amp;(a=Yl,a!==null)))throw a;e.memoizedState=i,e.baseState=d,e.baseQueue=N,n.lastRenderedState=i}return s===null&amp;&amp;(n.lanes=0),[e.memoizedState,n.dispatch]}function eu(e){var t=We(),a=t.queue;if(a===null)throw Error(c(311));a.lastRenderedReducer=e;var n=a.dispatch,s=a.pending,i=t.memoizedState;if(s!==null){a.pending=null;var d=s=s.next;do i=e(i,d.action),d=d.next;while(d!==s);At(i,t.memoizedState)||(tt=!0),t.memoizedState=i,t.baseQueue===null&amp;&amp;(t.baseState=i),a.lastRenderedState=i}return[i,n]}function rd(e,t,a){var n=ye,s=We(),i=Ae;if(i){if(a===void 0)throw Error(c(407));a=a()}else a=t();var d=!At((Le||s).memoizedState,a);if(d&amp;&amp;(s.memoizedState=a,tt=!0),s=s.queue,lu(od.bind(null,n,s,e),[e]),s.getSnapshot!==t||d||et!==null&amp;&amp;et.memoizedState.tag&amp;1){if(n.flags|=2048,Jl(9,{destroy:void 0},cd.bind(null,n,s,a,t),null),Be===null)throw Error(c(349));i||(pa&amp;127)!==0||ud(n,t,a)}return a}function ud(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=ye.updateQueue,t===null?(t=Fs(),ye.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function cd(e,t,a,n){t.value=a,t.getSnapshot=n,dd(t)&amp;&amp;fd(e)}function od(e,t,a){return a(function(){dd(t)&amp;&amp;fd(e)})}function dd(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!At(e,a)}catch{return!0}}function fd(e){var t=cl(e,2);t!==null&amp;&amp;wt(t,e,2)}function tu(e){var t=gt();if(typeof e==&quot;function&quot;){var a=e;if(e=a(),bl){ka(!0);try{a()}finally{ka(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ga,lastRenderedState:e},t}function md(e,t,a,n){return e.baseState=a,Pr(e,Le,typeof n==&quot;function&quot;?n:ga)}function mp(e,t,a,n,s){if(ti(e))throw Error(c(485));if(e=t.action,e!==null){var i={payload:s,action:e,next:null,isTransition:!0,status:&quot;pending&quot;,value:null,reason:null,listeners:[],then:function(d){i.listeners.push(d)}};C.T!==null?a(!0):i.isTransition=!1,n(i),a=t.pending,a===null?(i.next=t.pending=i,hd(t,i)):(i.next=a.next,t.pending=a.next=i)}}function hd(e,t){var a=t.action,n=t.payload,s=e.state;if(t.isTransition){var i=C.T,d={};C.T=d;try{var h=a(s,n),N=C.S;N!==null&amp;&amp;N(d,h),xd(e,t,h)}catch(k){au(e,t,k)}finally{i!==null&amp;&amp;d.types!==null&amp;&amp;(i.types=d.types),C.T=i}}else try{i=a(s,n),xd(e,t,i)}catch(k){au(e,t,k)}}function xd(e,t,a){a!==null&amp;&amp;typeof a==&quot;object&quot;&amp;&amp;typeof a.then==&quot;function&quot;?a.then(function(n){pd(e,t,n)},function(n){return au(e,t,n)}):pd(e,t,a)}function pd(e,t,a){t.status=&quot;fulfilled&quot;,t.value=a,gd(t),e.state=a,t=e.pending,t!==null&amp;&amp;(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,hd(e,a)))}function au(e,t,a){var n=e.pending;if(e.pending=null,n!==null){n=n.next;do t.status=&quot;rejected&quot;,t.reason=a,gd(t),t=t.next;while(t!==n)}e.action=null}function gd(e){e=e.listeners;for(var t=0;t&lt;e.length;t++)(0,e[t])()}function bd(e,t){return t}function vd(e,t){if(Ae){var a=Be.formState;if(a!==null){e:{var n=ye;if(Ae){if(Ge){t:{for(var s=Ge,i=$t;s.nodeType!==8;){if(!i){s=null;break t}if(s=Xt(s.nextSibling),s===null){s=null;break t}}i=s.data,s=i===&quot;F!&quot;||i===&quot;F&quot;?s:null}if(s){Ge=Xt(s.nextSibling),n=s.data===&quot;F!&quot;;break e}}Ua(n)}n=!1}n&amp;&amp;(t=a[0])}}return a=gt(),a.memoizedState=a.baseState=t,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bd,lastRenderedState:t},a.queue=n,a=qd.bind(null,ye,n),n.dispatch=a,n=tu(!1),i=uu.bind(null,ye,!1,n.queue),n=gt(),s={state:t,dispatch:null,action:e,pending:null},n.queue=s,a=mp.bind(null,ye,s,i,a),s.dispatch=a,n.memoizedState=e,[t,a,!1]}function jd(e){var t=We();return yd(t,Le,e)}function yd(e,t,a){if(t=Pr(e,t,bd)[0],e=Is(ga)[0],typeof t==&quot;object&quot;&amp;&amp;t!==null&amp;&amp;typeof t.then==&quot;function&quot;)try{var n=Gn(t)}catch(d){throw d===Vl?Ys:d}else n=t;t=We();var s=t.queue,i=s.dispatch;return a!==t.memoizedState&amp;&amp;(ye.flags|=2048,Jl(9,{destroy:void 0},hp.bind(null,s,a),null)),[n,i,e]}function hp(e,t){e.action=t}function Nd(e){var t=We(),a=Le;if(a!==null)return yd(t,a,e);We(),t=t.memoizedState,a=We();var n=a.queue.dispatch;return a.memoizedState=e,[t,n,!1]}function Jl(e,t,a,n){return e={tag:e,create:a,deps:n,inst:t,next:null},t=ye.updateQueue,t===null&amp;&amp;(t=Fs(),ye.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(n=a.next,a.next=e,e.next=n,t.lastEffect=e),e}function Sd(){return We().memoizedState}function Ps(e,t,a,n){var s=gt();ye.flags|=e,s.memoizedState=Jl(1|t,{destroy:void 0},a,n===void 0?null:n)}function ei(e,t,a,n){var s=We();n=n===void 0?null:n;var i=s.memoizedState.inst;Le!==null&amp;&amp;n!==null&amp;&amp;Zr(n,Le.memoizedState.deps)?s.memoizedState=Jl(t,i,a,n):(ye.flags|=e,s.memoizedState=Jl(1|t,i,a,n))}function _d(e,t){Ps(8390656,8,e,t)}function lu(e,t){ei(2048,8,e,t)}function xp(e){ye.flags|=4;var t=ye.updateQueue;if(t===null)t=Fs(),ye.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function wd(e){var t=We().memoizedState;return xp({ref:t,nextImpl:e}),function(){if((Oe&amp;2)!==0)throw Error(c(440));return t.impl.apply(void 0,arguments)}}function Ed(e,t){return ei(4,2,e,t)}function Td(e,t){return ei(4,4,e,t)}function Cd(e,t){if(typeof t==&quot;function&quot;){e=e();var a=t(e);return function(){typeof a==&quot;function&quot;?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Ad(e,t,a){a=a!=null?a.concat([e]):null,ei(4,4,Cd.bind(null,t,e),a)}function nu(){}function zd(e,t){var a=We();t=t===void 0?null:t;var n=a.memoizedState;return t!==null&amp;&amp;Zr(t,n[1])?n[0]:(a.memoizedState=[e,t],e)}function kd(e,t){var a=We();t=t===void 0?null:t;var n=a.memoizedState;if(t!==null&amp;&amp;Zr(t,n[1]))return n[0];if(n=e(),bl){ka(!0);try{e()}finally{ka(!1)}}return a.memoizedState=[n,t],n}function su(e,t,a){return a===void 0||(pa&amp;1073741824)!==0&amp;&amp;(Te&amp;261930)===0?e.memoizedState=t:(e.memoizedState=a,e=Of(),ye.lanes|=e,Qa|=e,a)}function Md(e,t,a,n){return At(a,t)?a:Ql.current!==null?(e=su(e,a,n),At(e,t)||(tt=!0),e):(pa&amp;42)===0||(pa&amp;1073741824)!==0&amp;&amp;(Te&amp;261930)===0?(tt=!0,e.memoizedState=a):(e=Of(),ye.lanes|=e,Qa|=e,t)}function Od(e,t,a,n,s){var i=J.p;J.p=i!==0&amp;&amp;8&gt;i?i:8;var d=C.T,h={};C.T=h,uu(e,!1,t,a);try{var N=s(),k=C.S;if(k!==null&amp;&amp;k(h,N),N!==null&amp;&amp;typeof N==&quot;object&quot;&amp;&amp;typeof N.then==&quot;function&quot;){var G=op(N,n);Yn(e,t,G,Dt(e))}else Yn(e,t,n,Dt(e))}catch(V){Yn(e,t,{then:function(){},status:&quot;rejected&quot;,reason:V},Dt())}finally{J.p=i,d!==null&amp;&amp;h.types!==null&amp;&amp;(d.types=h.types),C.T=d}}function pp(){}function iu(e,t,a,n){if(e.tag!==5)throw Error(c(476));var s=Rd(e).queue;Od(e,s,t,W,a===null?pp:function(){return Dd(e),a(n)})}function Rd(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:W,baseState:W,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ga,lastRenderedState:W},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ga,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&amp;&amp;(e.memoizedState=t),t}function Dd(e){var t=Rd(e);t.next===null&amp;&amp;(t=e.alternate.memoizedState),Yn(e,t.next.queue,{},Dt())}function ru(){return dt(ss)}function Ud(){return We().memoizedState}function Ld(){return We().memoizedState}function gp(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=Dt();e=Ha(a);var n=Ba(t,e,a);n!==null&amp;&amp;(wt(n,t,a),Ln(n,t,a)),t={cache:Ur()},e.payload=t;return}t=t.return}}function bp(e,t,a){var n=Dt();a={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},ti(e)?Hd(t,a):(a=wr(e,t,a,n),a!==null&amp;&amp;(wt(a,e,n),Bd(a,t,n)))}function qd(e,t,a){var n=Dt();Yn(e,t,a,n)}function Yn(e,t,a,n){var s={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(ti(e))Hd(t,s);else{var i=e.alternate;if(e.lanes===0&amp;&amp;(i===null||i.lanes===0)&amp;&amp;(i=t.lastRenderedReducer,i!==null))try{var d=t.lastRenderedState,h=i(d,a);if(s.hasEagerState=!0,s.eagerState=h,At(h,d))return Ds(e,t,s,0),Be===null&amp;&amp;Rs(),!1}catch{}finally{}if(a=wr(e,t,s,n),a!==null)return wt(a,e,n),Bd(a,t,n),!0}return!1}function uu(e,t,a,n){if(n={lane:2,revertLane:Bu(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},ti(e)){if(t)throw Error(c(479))}else t=wr(e,a,n,2),t!==null&amp;&amp;wt(t,e,2)}function ti(e){var t=e.alternate;return e===ye||t!==null&amp;&amp;t===ye}function Hd(e,t){Xl=Js=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function Bd(e,t,a){if((a&amp;4194048)!==0){var n=t.lanes;n&amp;=e.pendingLanes,a|=n,t.lanes=a,$c(e,a)}}var Vn={readContext:dt,use:Ws,useCallback:Ze,useContext:Ze,useEffect:Ze,useImperativeHandle:Ze,useLayoutEffect:Ze,useInsertionEffect:Ze,useMemo:Ze,useReducer:Ze,useRef:Ze,useState:Ze,useDebugValue:Ze,useDeferredValue:Ze,useTransition:Ze,useSyncExternalStore:Ze,useId:Ze,useHostTransitionStatus:Ze,useFormState:Ze,useActionState:Ze,useOptimistic:Ze,useMemoCache:Ze,useCacheRefresh:Ze};Vn.useEffectEvent=Ze;var Gd={readContext:dt,use:Ws,useCallback:function(e,t){return gt().memoizedState=[e,t===void 0?null:t],e},useContext:dt,useEffect:_d,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,Ps(4194308,4,Cd.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Ps(4194308,4,e,t)},useInsertionEffect:function(e,t){Ps(4,2,e,t)},useMemo:function(e,t){var a=gt();t=t===void 0?null:t;var n=e();if(bl){ka(!0);try{e()}finally{ka(!1)}}return a.memoizedState=[n,t],n},useReducer:function(e,t,a){var n=gt();if(a!==void 0){var s=a(t);if(bl){ka(!0);try{a(t)}finally{ka(!1)}}}else s=t;return n.memoizedState=n.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},n.queue=e,e=e.dispatch=bp.bind(null,ye,e),[n.memoizedState,e]},useRef:function(e){var t=gt();return e={current:e},t.memoizedState=e},useState:function(e){e=tu(e);var t=e.queue,a=qd.bind(null,ye,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:nu,useDeferredValue:function(e,t){var a=gt();return su(a,e,t)},useTransition:function(){var e=tu(!1);return e=Od.bind(null,ye,e.queue,!0,!1),gt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var n=ye,s=gt();if(Ae){if(a===void 0)throw Error(c(407));a=a()}else{if(a=t(),Be===null)throw Error(c(349));(Te&amp;127)!==0||ud(n,t,a)}s.memoizedState=a;var i={value:a,getSnapshot:t};return s.queue=i,_d(od.bind(null,n,i,e),[e]),n.flags|=2048,Jl(9,{destroy:void 0},cd.bind(null,n,i,a,t),null),a},useId:function(){var e=gt(),t=Be.identifierPrefix;if(Ae){var a=la,n=aa;a=(n&amp;~(1&lt;&lt;32-Ct(n)-1)).toString(32)+a,t=&quot;_&quot;+t+&quot;R_&quot;+a,a=Ks++,0&lt;a&amp;&amp;(t+=&quot;H&quot;+a.toString(32)),t+=&quot;_&quot;}else a=dp++,t=&quot;_&quot;+t+&quot;r_&quot;+a.toString(32)+&quot;_&quot;;return e.memoizedState=t},useHostTransitionStatus:ru,useFormState:vd,useActionState:vd,useOptimistic:function(e){var t=gt();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=uu.bind(null,ye,!0,a),a.dispatch=t,[e,t]},useMemoCache:Ir,useCacheRefresh:function(){return gt().memoizedState=gp.bind(null,ye)},useEffectEvent:function(e){var t=gt(),a={impl:e};return t.memoizedState=a,function(){if((Oe&amp;2)!==0)throw Error(c(440));return a.impl.apply(void 0,arguments)}}},cu={readContext:dt,use:Ws,useCallback:zd,useContext:dt,useEffect:lu,useImperativeHandle:Ad,useInsertionEffect:Ed,useLayoutEffect:Td,useMemo:kd,useReducer:Is,useRef:Sd,useState:function(){return Is(ga)},useDebugValue:nu,useDeferredValue:function(e,t){var a=We();return Md(a,Le.memoizedState,e,t)},useTransition:function(){var e=Is(ga)[0],t=We().memoizedState;return[typeof e==&quot;boolean&quot;?e:Gn(e),t]},useSyncExternalStore:rd,useId:Ud,useHostTransitionStatus:ru,useFormState:jd,useActionState:jd,useOptimistic:function(e,t){var a=We();return md(a,Le,e,t)},useMemoCache:Ir,useCacheRefresh:Ld};cu.useEffectEvent=wd;var Yd={readContext:dt,use:Ws,useCallback:zd,useContext:dt,useEffect:lu,useImperativeHandle:Ad,useInsertionEffect:Ed,useLayoutEffect:Td,useMemo:kd,useReducer:eu,useRef:Sd,useState:function(){return eu(ga)},useDebugValue:nu,useDeferredValue:function(e,t){var a=We();return Le===null?su(a,e,t):Md(a,Le.memoizedState,e,t)},useTransition:function(){var e=eu(ga)[0],t=We().memoizedState;return[typeof e==&quot;boolean&quot;?e:Gn(e),t]},useSyncExternalStore:rd,useId:Ud,useHostTransitionStatus:ru,useFormState:Nd,useActionState:Nd,useOptimistic:function(e,t){var a=We();return Le!==null?md(a,Le,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:Ir,useCacheRefresh:Ld};Yd.useEffectEvent=wd;function ou(e,t,a,n){t=e.memoizedState,a=a(n,t),a=a==null?t:y({},t,a),e.memoizedState=a,e.lanes===0&amp;&amp;(e.updateQueue.baseState=a)}var du={enqueueSetState:function(e,t,a){e=e._reactInternals;var n=Dt(),s=Ha(n);s.payload=t,a!=null&amp;&amp;(s.callback=a),t=Ba(e,s,n),t!==null&amp;&amp;(wt(t,e,n),Ln(t,e,n))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var n=Dt(),s=Ha(n);s.tag=1,s.payload=t,a!=null&amp;&amp;(s.callback=a),t=Ba(e,s,n),t!==null&amp;&amp;(wt(t,e,n),Ln(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Dt(),n=Ha(a);n.tag=2,t!=null&amp;&amp;(n.callback=t),t=Ba(e,n,a),t!==null&amp;&amp;(wt(t,e,a),Ln(t,e,a))}};function Vd(e,t,a,n,s,i,d){return e=e.stateNode,typeof e.shouldComponentUpdate==&quot;function&quot;?e.shouldComponentUpdate(n,i,d):t.prototype&amp;&amp;t.prototype.isPureReactComponent?!An(a,n)||!An(s,i):!0}function $d(e,t,a,n){e=t.state,typeof t.componentWillReceiveProps==&quot;function&quot;&amp;&amp;t.componentWillReceiveProps(a,n),typeof t.UNSAFE_componentWillReceiveProps==&quot;function&quot;&amp;&amp;t.UNSAFE_componentWillReceiveProps(a,n),t.state!==e&amp;&amp;du.enqueueReplaceState(t,t.state,null)}function vl(e,t){var a=t;if(&quot;ref&quot;in t){a={};for(var n in t)n!==&quot;ref&quot;&amp;&amp;(a[n]=t[n])}if(e=e.defaultProps){a===t&amp;&amp;(a=y({},a));for(var s in e)a[s]===void 0&amp;&amp;(a[s]=e[s])}return a}function Qd(e){Os(e)}function Xd(e){console.error(e)}function Zd(e){Os(e)}function ai(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function Jd(e,t,a){try{var n=e.onCaughtError;n(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function fu(e,t,a){return a=Ha(a),a.tag=3,a.payload={element:null},a.callback=function(){ai(e,t)},a}function Kd(e){return e=Ha(e),e.tag=3,e}function Fd(e,t,a,n){var s=a.type.getDerivedStateFromError;if(typeof s==&quot;function&quot;){var i=n.value;e.payload=function(){return s(i)},e.callback=function(){Jd(t,a,n)}}var d=a.stateNode;d!==null&amp;&amp;typeof d.componentDidCatch==&quot;function&quot;&amp;&amp;(e.callback=function(){Jd(t,a,n),typeof s!=&quot;function&quot;&amp;&amp;(Xa===null?Xa=new Set([this]):Xa.add(this));var h=n.stack;this.componentDidCatch(n.value,{componentStack:h!==null?h:&quot;&quot;})})}function vp(e,t,a,n,s){if(a.flags|=32768,n!==null&amp;&amp;typeof n==&quot;object&quot;&amp;&amp;typeof n.then==&quot;function&quot;){if(t=a.alternate,t!==null&amp;&amp;Bl(t,a,s,!0),a=kt.current,a!==null){switch(a.tag){case 31:case 13:return Qt===null?hi():a.alternate===null&amp;&amp;Je===0&amp;&amp;(Je=3),a.flags&amp;=-257,a.flags|=65536,a.lanes=s,n===Vs?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([n]):t.add(n),Lu(e,n,s)),!1;case 22:return a.flags|=65536,n===Vs?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([n])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([n]):a.add(n)),Lu(e,n,s)),!1}throw Error(c(435,a.tag))}return Lu(e,n,s),hi(),!1}if(Ae)return t=kt.current,t!==null?((t.flags&amp;65536)===0&amp;&amp;(t.flags|=256),t.flags|=65536,t.lanes=s,n!==kr&amp;&amp;(e=Error(c(422),{cause:n}),Mn(Gt(e,a)))):(n!==kr&amp;&amp;(t=Error(c(423),{cause:n}),Mn(Gt(t,a))),e=e.current.alternate,e.flags|=65536,s&amp;=-s,e.lanes|=s,n=Gt(n,a),s=fu(e.stateNode,n,s),Yr(e,s),Je!==4&amp;&amp;(Je=2)),!1;var i=Error(c(520),{cause:n});if(i=Gt(i,a),Wn===null?Wn=[i]:Wn.push(i),Je!==4&amp;&amp;(Je=2),t===null)return!0;n=Gt(n,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=s&amp;-s,a.lanes|=e,e=fu(a.stateNode,n,e),Yr(a,e),!1;case 1:if(t=a.type,i=a.stateNode,(a.flags&amp;128)===0&amp;&amp;(typeof t.getDerivedStateFromError==&quot;function&quot;||i!==null&amp;&amp;typeof i.componentDidCatch==&quot;function&quot;&amp;&amp;(Xa===null||!Xa.has(i))))return a.flags|=65536,s&amp;=-s,a.lanes|=s,s=Kd(s),Fd(s,e,a,n),Yr(a,s),!1}a=a.return}while(a!==null);return!1}var mu=Error(c(461)),tt=!1;function ft(e,t,a,n){t.child=e===null?ed(t,null,a,n):gl(t,e.child,a,n)}function Wd(e,t,a,n,s){a=a.render;var i=t.ref;if(&quot;ref&quot;in n){var d={};for(var h in n)h!==&quot;ref&quot;&amp;&amp;(d[h]=n[h])}else d=n;return ml(t),n=Jr(e,t,a,d,i,s),h=Kr(),e!==null&amp;&amp;!tt?(Fr(e,t,s),ba(e,t,s)):(Ae&amp;&amp;h&amp;&amp;Ar(t),t.flags|=1,ft(e,t,n,s),t.child)}function Id(e,t,a,n,s){if(e===null){var i=a.type;return typeof i==&quot;function&quot;&amp;&amp;!Er(i)&amp;&amp;i.defaultProps===void 0&amp;&amp;a.compare===null?(t.tag=15,t.type=i,Pd(e,t,i,n,s)):(e=Ls(a.type,null,n,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!yu(e,s)){var d=i.memoizedProps;if(a=a.compare,a=a!==null?a:An,a(d,n)&amp;&amp;e.ref===t.ref)return ba(e,t,s)}return t.flags|=1,e=fa(i,n),e.ref=t.ref,e.return=t,t.child=e}function Pd(e,t,a,n,s){if(e!==null){var i=e.memoizedProps;if(An(i,n)&amp;&amp;e.ref===t.ref)if(tt=!1,t.pendingProps=n=i,yu(e,s))(e.flags&amp;131072)!==0&amp;&amp;(tt=!0);else return t.lanes=e.lanes,ba(e,t,s)}return hu(e,t,a,n,s)}function ef(e,t,a,n){var s=n.children,i=e!==null?e.memoizedState:null;if(e===null&amp;&amp;t.stateNode===null&amp;&amp;(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode===&quot;hidden&quot;){if((t.flags&amp;128)!==0){if(i=i!==null?i.baseLanes|a:a,e!==null){for(n=t.child=e.child,s=0;n!==null;)s=s|n.lanes|n.childLanes,n=n.sibling;n=s&amp;~i}else n=0,t.child=null;return tf(e,t,i,a,n)}if((a&amp;536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&amp;&amp;Gs(t,i!==null?i.cachePool:null),i!==null?ld(t,i):$r(),nd(t);else return n=t.lanes=536870912,tf(e,t,i!==null?i.baseLanes|a:a,a,n)}else i!==null?(Gs(t,i.cachePool),ld(t,i),Ya(),t.memoizedState=null):(e!==null&amp;&amp;Gs(t,null),$r(),Ya());return ft(e,t,s,a),t.child}function $n(e,t){return e!==null&amp;&amp;e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function tf(e,t,a,n,s){var i=qr();return i=i===null?null:{parent:Pe._currentValue,pool:i},t.memoizedState={baseLanes:a,cachePool:i},e!==null&amp;&amp;Gs(t,null),$r(),nd(t),e!==null&amp;&amp;Bl(e,t,n,!0),t.childLanes=s,null}function li(e,t){return t=si({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function af(e,t,a){return gl(t,e.child,null,a),e=li(t,t.pendingProps),e.flags|=2,Mt(t),t.memoizedState=null,e}function jp(e,t,a){var n=t.pendingProps,s=(t.flags&amp;128)!==0;if(t.flags&amp;=-129,e===null){if(Ae){if(n.mode===&quot;hidden&quot;)return e=li(t,n),t.lanes=536870912,$n(null,e);if(Xr(t),(e=Ge)?(e=xm(e,$t),e=e!==null&amp;&amp;e.data===&quot;&amp;&quot;?e:null,e!==null&amp;&amp;(t.memoizedState={dehydrated:e,treeContext:Ra!==null?{id:aa,overflow:la}:null,retryLane:536870912,hydrationErrors:null},a=Ho(e),a.return=t,t.child=a,ot=t,Ge=null)):e=null,e===null)throw Ua(t);return t.lanes=536870912,null}return li(t,n)}var i=e.memoizedState;if(i!==null){var d=i.dehydrated;if(Xr(t),s)if(t.flags&amp;256)t.flags&amp;=-257,t=af(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(c(558));else if(tt||Bl(e,t,a,!1),s=(a&amp;e.childLanes)!==0,tt||s){if(n=Be,n!==null&amp;&amp;(d=Qc(n,a),d!==0&amp;&amp;d!==i.retryLane))throw i.retryLane=d,cl(e,d),wt(n,e,d),mu;hi(),t=af(e,t,a)}else e=i.treeContext,Ge=Xt(d.nextSibling),ot=t,Ae=!0,Da=null,$t=!1,e!==null&amp;&amp;Yo(t,e),t=li(t,n),t.flags|=4096;return t}return e=fa(e.child,{mode:n.mode,children:n.children}),e.ref=t.ref,t.child=e,e.return=t,e}function ni(e,t){var a=t.ref;if(a===null)e!==null&amp;&amp;e.ref!==null&amp;&amp;(t.flags|=4194816);else{if(typeof a!=&quot;function&quot;&amp;&amp;typeof a!=&quot;object&quot;)throw Error(c(284));(e===null||e.ref!==a)&amp;&amp;(t.flags|=4194816)}}function hu(e,t,a,n,s){return ml(t),a=Jr(e,t,a,n,void 0,s),n=Kr(),e!==null&amp;&amp;!tt?(Fr(e,t,s),ba(e,t,s)):(Ae&amp;&amp;n&amp;&amp;Ar(t),t.flags|=1,ft(e,t,a,s),t.child)}function lf(e,t,a,n,s,i){return ml(t),t.updateQueue=null,a=id(t,n,a,s),sd(e),n=Kr(),e!==null&amp;&amp;!tt?(Fr(e,t,i),ba(e,t,i)):(Ae&amp;&amp;n&amp;&amp;Ar(t),t.flags|=1,ft(e,t,a,i),t.child)}function nf(e,t,a,n,s){if(ml(t),t.stateNode===null){var i=Ul,d=a.contextType;typeof d==&quot;object&quot;&amp;&amp;d!==null&amp;&amp;(i=dt(d)),i=new a(n,i),t.memoizedState=i.state!==null&amp;&amp;i.state!==void 0?i.state:null,i.updater=du,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=n,i.state=t.memoizedState,i.refs={},Br(t),d=a.contextType,i.context=typeof d==&quot;object&quot;&amp;&amp;d!==null?dt(d):Ul,i.state=t.memoizedState,d=a.getDerivedStateFromProps,typeof d==&quot;function&quot;&amp;&amp;(ou(t,a,d,n),i.state=t.memoizedState),typeof a.getDerivedStateFromProps==&quot;function&quot;||typeof i.getSnapshotBeforeUpdate==&quot;function&quot;||typeof i.UNSAFE_componentWillMount!=&quot;function&quot;&amp;&amp;typeof i.componentWillMount!=&quot;function&quot;||(d=i.state,typeof i.componentWillMount==&quot;function&quot;&amp;&amp;i.componentWillMount(),typeof i.UNSAFE_componentWillMount==&quot;function&quot;&amp;&amp;i.UNSAFE_componentWillMount(),d!==i.state&amp;&amp;du.enqueueReplaceState(i,i.state,null),Hn(t,n,i,s),qn(),i.state=t.memoizedState),typeof i.componentDidMount==&quot;function&quot;&amp;&amp;(t.flags|=4194308),n=!0}else if(e===null){i=t.stateNode;var h=t.memoizedProps,N=vl(a,h);i.props=N;var k=i.context,G=a.contextType;d=Ul,typeof G==&quot;object&quot;&amp;&amp;G!==null&amp;&amp;(d=dt(G));var V=a.getDerivedStateFromProps;G=typeof V==&quot;function&quot;||typeof i.getSnapshotBeforeUpdate==&quot;function&quot;,h=t.pendingProps!==h,G||typeof i.UNSAFE_componentWillReceiveProps!=&quot;function&quot;&amp;&amp;typeof i.componentWillReceiveProps!=&quot;function&quot;||(h||k!==d)&amp;&amp;$d(t,i,n,d),qa=!1;var O=t.memoizedState;i.state=O,Hn(t,n,i,s),qn(),k=t.memoizedState,h||O!==k||qa?(typeof V==&quot;function&quot;&amp;&amp;(ou(t,a,V,n),k=t.memoizedState),(N=qa||Vd(t,a,N,n,O,k,d))?(G||typeof i.UNSAFE_componentWillMount!=&quot;function&quot;&amp;&amp;typeof i.componentWillMount!=&quot;function&quot;||(typeof i.componentWillMount==&quot;function&quot;&amp;&amp;i.componentWillMount(),typeof i.UNSAFE_componentWillMount==&quot;function&quot;&amp;&amp;i.UNSAFE_componentWillMount()),typeof i.componentDidMount==&quot;function&quot;&amp;&amp;(t.flags|=4194308)):(typeof i.componentDidMount==&quot;function&quot;&amp;&amp;(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=k),i.props=n,i.state=k,i.context=d,n=N):(typeof i.componentDidMount==&quot;function&quot;&amp;&amp;(t.flags|=4194308),n=!1)}else{i=t.stateNode,Gr(e,t),d=t.memoizedProps,G=vl(a,d),i.props=G,V=t.pendingProps,O=i.context,k=a.contextType,N=Ul,typeof k==&quot;object&quot;&amp;&amp;k!==null&amp;&amp;(N=dt(k)),h=a.getDerivedStateFromProps,(k=typeof h==&quot;function&quot;||typeof i.getSnapshotBeforeUpdate==&quot;function&quot;)||typeof i.UNSAFE_componentWillReceiveProps!=&quot;function&quot;&amp;&amp;typeof i.componentWillReceiveProps!=&quot;function&quot;||(d!==V||O!==N)&amp;&amp;$d(t,i,n,N),qa=!1,O=t.memoizedState,i.state=O,Hn(t,n,i,s),qn();var L=t.memoizedState;d!==V||O!==L||qa||e!==null&amp;&amp;e.dependencies!==null&amp;&amp;Hs(e.dependencies)?(typeof h==&quot;function&quot;&amp;&amp;(ou(t,a,h,n),L=t.memoizedState),(G=qa||Vd(t,a,G,n,O,L,N)||e!==null&amp;&amp;e.dependencies!==null&amp;&amp;Hs(e.dependencies))?(k||typeof i.UNSAFE_componentWillUpdate!=&quot;function&quot;&amp;&amp;typeof i.componentWillUpdate!=&quot;function&quot;||(typeof i.componentWillUpdate==&quot;function&quot;&amp;&amp;i.componentWillUpdate(n,L,N),typeof i.UNSAFE_componentWillUpdate==&quot;function&quot;&amp;&amp;i.UNSAFE_componentWillUpdate(n,L,N)),typeof i.componentDidUpdate==&quot;function&quot;&amp;&amp;(t.flags|=4),typeof i.getSnapshotBeforeUpdate==&quot;function&quot;&amp;&amp;(t.flags|=1024)):(typeof i.componentDidUpdate!=&quot;function&quot;||d===e.memoizedProps&amp;&amp;O===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!=&quot;function&quot;||d===e.memoizedProps&amp;&amp;O===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=L),i.props=n,i.state=L,i.context=N,n=G):(typeof i.componentDidUpdate!=&quot;function&quot;||d===e.memoizedProps&amp;&amp;O===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!=&quot;function&quot;||d===e.memoizedProps&amp;&amp;O===e.memoizedState||(t.flags|=1024),n=!1)}return i=n,ni(e,t),n=(t.flags&amp;128)!==0,i||n?(i=t.stateNode,a=n&amp;&amp;typeof a.getDerivedStateFromError!=&quot;function&quot;?null:i.render(),t.flags|=1,e!==null&amp;&amp;n?(t.child=gl(t,e.child,null,s),t.child=gl(t,null,a,s)):ft(e,t,a,s),t.memoizedState=i.state,e=t.child):e=ba(e,t,s),e}function sf(e,t,a,n){return dl(),t.flags|=256,ft(e,t,a,n),t.child}var xu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function pu(e){return{baseLanes:e,cachePool:Jo()}}function gu(e,t,a){return e=e!==null?e.childLanes&amp;~a:0,t&amp;&amp;(e|=Rt),e}function rf(e,t,a){var n=t.pendingProps,s=!1,i=(t.flags&amp;128)!==0,d;if((d=i)||(d=e!==null&amp;&amp;e.memoizedState===null?!1:(Fe.current&amp;2)!==0),d&amp;&amp;(s=!0,t.flags&amp;=-129),d=(t.flags&amp;32)!==0,t.flags&amp;=-33,e===null){if(Ae){if(s?Ga(t):Ya(),(e=Ge)?(e=xm(e,$t),e=e!==null&amp;&amp;e.data!==&quot;&amp;&quot;?e:null,e!==null&amp;&amp;(t.memoizedState={dehydrated:e,treeContext:Ra!==null?{id:aa,overflow:la}:null,retryLane:536870912,hydrationErrors:null},a=Ho(e),a.return=t,t.child=a,ot=t,Ge=null)):e=null,e===null)throw Ua(t);return Pu(e)?t.lanes=32:t.lanes=536870912,null}var h=n.children;return n=n.fallback,s?(Ya(),s=t.mode,h=si({mode:&quot;hidden&quot;,children:h},s),n=ol(n,s,a,null),h.return=t,n.return=t,h.sibling=n,t.child=h,n=t.child,n.memoizedState=pu(a),n.childLanes=gu(e,d,a),t.memoizedState=xu,$n(null,n)):(Ga(t),bu(t,h))}var N=e.memoizedState;if(N!==null&amp;&amp;(h=N.dehydrated,h!==null)){if(i)t.flags&amp;256?(Ga(t),t.flags&amp;=-257,t=vu(e,t,a)):t.memoizedState!==null?(Ya(),t.child=e.child,t.flags|=128,t=null):(Ya(),h=n.fallback,s=t.mode,n=si({mode:&quot;visible&quot;,children:n.children},s),h=ol(h,s,a,null),h.flags|=2,n.return=t,h.return=t,n.sibling=h,t.child=n,gl(t,e.child,null,a),n=t.child,n.memoizedState=pu(a),n.childLanes=gu(e,d,a),t.memoizedState=xu,t=$n(null,n));else if(Ga(t),Pu(h)){if(d=h.nextSibling&amp;&amp;h.nextSibling.dataset,d)var k=d.dgst;d=k,n=Error(c(419)),n.stack=&quot;&quot;,n.digest=d,Mn({value:n,source:null,stack:null}),t=vu(e,t,a)}else if(tt||Bl(e,t,a,!1),d=(a&amp;e.childLanes)!==0,tt||d){if(d=Be,d!==null&amp;&amp;(n=Qc(d,a),n!==0&amp;&amp;n!==N.retryLane))throw N.retryLane=n,cl(e,n),wt(d,e,n),mu;Iu(h)||hi(),t=vu(e,t,a)}else Iu(h)?(t.flags|=192,t.child=e.child,t=null):(e=N.treeContext,Ge=Xt(h.nextSibling),ot=t,Ae=!0,Da=null,$t=!1,e!==null&amp;&amp;Yo(t,e),t=bu(t,n.children),t.flags|=4096);return t}return s?(Ya(),h=n.fallback,s=t.mode,N=e.child,k=N.sibling,n=fa(N,{mode:&quot;hidden&quot;,children:n.children}),n.subtreeFlags=N.subtreeFlags&amp;65011712,k!==null?h=fa(k,h):(h=ol(h,s,a,null),h.flags|=2),h.return=t,n.return=t,n.sibling=h,t.child=n,$n(null,n),n=t.child,h=e.child.memoizedState,h===null?h=pu(a):(s=h.cachePool,s!==null?(N=Pe._currentValue,s=s.parent!==N?{parent:N,pool:N}:s):s=Jo(),h={baseLanes:h.baseLanes|a,cachePool:s}),n.memoizedState=h,n.childLanes=gu(e,d,a),t.memoizedState=xu,$n(e.child,n)):(Ga(t),a=e.child,e=a.sibling,a=fa(a,{mode:&quot;visible&quot;,children:n.children}),a.return=t,a.sibling=null,e!==null&amp;&amp;(d=t.deletions,d===null?(t.deletions=[e],t.flags|=16):d.push(e)),t.child=a,t.memoizedState=null,a)}function bu(e,t){return t=si({mode:&quot;visible&quot;,children:t},e.mode),t.return=e,e.child=t}function si(e,t){return e=zt(22,e,null,t),e.lanes=0,e}function vu(e,t,a){return gl(t,e.child,null,a),e=bu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function uf(e,t,a){e.lanes|=t;var n=e.alternate;n!==null&amp;&amp;(n.lanes|=t),Rr(e.return,t,a)}function ju(e,t,a,n,s,i){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:a,tailMode:s,treeForkCount:i}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=n,d.tail=a,d.tailMode=s,d.treeForkCount=i)}function cf(e,t,a){var n=t.pendingProps,s=n.revealOrder,i=n.tail;n=n.children;var d=Fe.current,h=(d&amp;2)!==0;if(h?(d=d&amp;1|2,t.flags|=128):d&amp;=1,z(Fe,d),ft(e,t,n,a),n=Ae?kn:0,!h&amp;&amp;e!==null&amp;&amp;(e.flags&amp;128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&amp;&amp;uf(e,a,t);else if(e.tag===19)uf(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(s){case&quot;forwards&quot;:for(a=t.child,s=null;a!==null;)e=a.alternate,e!==null&amp;&amp;Zs(e)===null&amp;&amp;(s=a),a=a.sibling;a=s,a===null?(s=t.child,t.child=null):(s=a.sibling,a.sibling=null),ju(t,!1,s,a,i,n);break;case&quot;backwards&quot;:case&quot;unstable_legacy-backwards&quot;:for(a=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&amp;&amp;Zs(e)===null){t.child=s;break}e=s.sibling,s.sibling=a,a=s,s=e}ju(t,!0,a,null,i,n);break;case&quot;together&quot;:ju(t,!1,null,null,void 0,n);break;default:t.memoizedState=null}return t.child}function ba(e,t,a){if(e!==null&amp;&amp;(t.dependencies=e.dependencies),Qa|=t.lanes,(a&amp;t.childLanes)===0)if(e!==null){if(Bl(e,t,a,!1),(a&amp;t.childLanes)===0)return null}else return null;if(e!==null&amp;&amp;t.child!==e.child)throw Error(c(153));if(t.child!==null){for(e=t.child,a=fa(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=fa(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function yu(e,t){return(e.lanes&amp;t)!==0?!0:(e=e.dependencies,!!(e!==null&amp;&amp;Hs(e)))}function yp(e,t,a){switch(t.tag){case 3:Ie(t,t.stateNode.containerInfo),La(t,Pe,e.memoizedState.cache),dl();break;case 27:case 5:ll(t);break;case 4:Ie(t,t.stateNode.containerInfo);break;case 10:La(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Xr(t),null;break;case 13:var n=t.memoizedState;if(n!==null)return n.dehydrated!==null?(Ga(t),t.flags|=128,null):(a&amp;t.child.childLanes)!==0?rf(e,t,a):(Ga(t),e=ba(e,t,a),e!==null?e.sibling:null);Ga(t);break;case 19:var s=(e.flags&amp;128)!==0;if(n=(a&amp;t.childLanes)!==0,n||(Bl(e,t,a,!1),n=(a&amp;t.childLanes)!==0),s){if(n)return cf(e,t,a);t.flags|=128}if(s=t.memoizedState,s!==null&amp;&amp;(s.rendering=null,s.tail=null,s.lastEffect=null),z(Fe,Fe.current),n)break;return null;case 22:return t.lanes=0,ef(e,t,a,t.pendingProps);case 24:La(t,Pe,e.memoizedState.cache)}return ba(e,t,a)}function of(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)tt=!0;else{if(!yu(e,a)&amp;&amp;(t.flags&amp;128)===0)return tt=!1,yp(e,t,a);tt=(e.flags&amp;131072)!==0}else tt=!1,Ae&amp;&amp;(t.flags&amp;1048576)!==0&amp;&amp;Go(t,kn,t.index);switch(t.lanes=0,t.tag){case 16:e:{var n=t.pendingProps;if(e=xl(t.elementType),t.type=e,typeof e==&quot;function&quot;)Er(e)?(n=vl(e,n),t.tag=1,t=nf(null,t,e,n,a)):(t.tag=0,t=hu(null,t,e,n,a));else{if(e!=null){var s=e.$$typeof;if(s===le){t.tag=11,t=Wd(null,t,e,n,a);break e}else if(s===$){t.tag=14,t=Id(null,t,e,n,a);break e}}throw t=Q(e)||e,Error(c(306,t,&quot;&quot;))}}return t;case 0:return hu(e,t,t.type,t.pendingProps,a);case 1:return n=t.type,s=vl(n,t.pendingProps),nf(e,t,n,s,a);case 3:e:{if(Ie(t,t.stateNode.containerInfo),e===null)throw Error(c(387));n=t.pendingProps;var i=t.memoizedState;s=i.element,Gr(e,t),Hn(t,n,null,a);var d=t.memoizedState;if(n=d.cache,La(t,Pe,n),n!==i.cache&amp;&amp;Dr(t,[Pe],a,!0),qn(),n=d.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:d.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&amp;256){t=sf(e,t,n,a);break e}else if(n!==s){s=Gt(Error(c(424)),t),Mn(s),t=sf(e,t,n,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===&quot;HTML&quot;?e.ownerDocument.body:e}for(Ge=Xt(e.firstChild),ot=t,Ae=!0,Da=null,$t=!0,a=ed(t,null,n,a),t.child=a;a;)a.flags=a.flags&amp;-3|4096,a=a.sibling}else{if(dl(),n===s){t=ba(e,t,a);break e}ft(e,t,n,a)}t=t.child}return t;case 26:return ni(e,t),e===null?(a=ym(t.type,null,t.pendingProps,null))?t.memoizedState=a:Ae||(a=t.type,e=t.pendingProps,n=yi(xe.current).createElement(a),n[ct]=t,n[vt]=e,mt(n,a,e),st(n),t.stateNode=n):t.memoizedState=ym(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ll(t),e===null&amp;&amp;Ae&amp;&amp;(n=t.stateNode=bm(t.type,t.pendingProps,xe.current),ot=t,$t=!0,s=Ge,Fa(t.type)?(ec=s,Ge=Xt(n.firstChild)):Ge=s),ft(e,t,t.pendingProps.children,a),ni(e,t),e===null&amp;&amp;(t.flags|=4194304),t.child;case 5:return e===null&amp;&amp;Ae&amp;&amp;((s=n=Ge)&amp;&amp;(n=Wp(n,t.type,t.pendingProps,$t),n!==null?(t.stateNode=n,ot=t,Ge=Xt(n.firstChild),$t=!1,s=!0):s=!1),s||Ua(t)),ll(t),s=t.type,i=t.pendingProps,d=e!==null?e.memoizedProps:null,n=i.children,Ku(s,i)?n=null:d!==null&amp;&amp;Ku(s,d)&amp;&amp;(t.flags|=32),t.memoizedState!==null&amp;&amp;(s=Jr(e,t,fp,null,null,a),ss._currentValue=s),ni(e,t),ft(e,t,n,a),t.child;case 6:return e===null&amp;&amp;Ae&amp;&amp;((e=a=Ge)&amp;&amp;(a=Ip(a,t.pendingProps,$t),a!==null?(t.stateNode=a,ot=t,Ge=null,e=!0):e=!1),e||Ua(t)),null;case 13:return rf(e,t,a);case 4:return Ie(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=gl(t,null,n,a):ft(e,t,n,a),t.child;case 11:return Wd(e,t,t.type,t.pendingProps,a);case 7:return ft(e,t,t.pendingProps,a),t.child;case 8:return ft(e,t,t.pendingProps.children,a),t.child;case 12:return ft(e,t,t.pendingProps.children,a),t.child;case 10:return n=t.pendingProps,La(t,t.type,n.value),ft(e,t,n.children,a),t.child;case 9:return s=t.type._context,n=t.pendingProps.children,ml(t),s=dt(s),n=n(s),t.flags|=1,ft(e,t,n,a),t.child;case 14:return Id(e,t,t.type,t.pendingProps,a);case 15:return Pd(e,t,t.type,t.pendingProps,a);case 19:return cf(e,t,a);case 31:return jp(e,t,a);case 22:return ef(e,t,a,t.pendingProps);case 24:return ml(t),n=dt(Pe),e===null?(s=qr(),s===null&amp;&amp;(s=Be,i=Ur(),s.pooledCache=i,i.refCount++,i!==null&amp;&amp;(s.pooledCacheLanes|=a),s=i),t.memoizedState={parent:n,cache:s},Br(t),La(t,Pe,s)):((e.lanes&amp;a)!==0&amp;&amp;(Gr(e,t),Hn(t,null,null,a),qn()),s=e.memoizedState,i=t.memoizedState,s.parent!==n?(s={parent:n,cache:n},t.memoizedState=s,t.lanes===0&amp;&amp;(t.memoizedState=t.updateQueue.baseState=s),La(t,Pe,n)):(n=i.cache,La(t,Pe,n),n!==s.cache&amp;&amp;Dr(t,[Pe],a,!0))),ft(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(c(156,t.tag))}function va(e){e.flags|=4}function Nu(e,t,a,n,s){if((t=(e.mode&amp;32)!==0)&amp;&amp;(t=!1),t){if(e.flags|=16777216,(s&amp;335544128)===s)if(e.stateNode.complete)e.flags|=8192;else if(Lf())e.flags|=8192;else throw pl=Vs,Hr}else e.flags&amp;=-16777217}function df(e,t){if(t.type!==&quot;stylesheet&quot;||(t.state.loading&amp;4)!==0)e.flags&amp;=-16777217;else if(e.flags|=16777216,!Em(t))if(Lf())e.flags|=8192;else throw pl=Vs,Hr}function ii(e,t){t!==null&amp;&amp;(e.flags|=4),e.flags&amp;16384&amp;&amp;(t=e.tag!==22?Yc():536870912,e.lanes|=t,Il|=t)}function Qn(e,t){if(!Ae)switch(e.tailMode){case&quot;hidden&quot;:t=e.tail;for(var a=null;t!==null;)t.alternate!==null&amp;&amp;(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case&quot;collapsed&quot;:a=e.tail;for(var n=null;a!==null;)a.alternate!==null&amp;&amp;(n=a),a=a.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Ye(e){var t=e.alternate!==null&amp;&amp;e.alternate.child===e.child,a=0,n=0;if(t)for(var s=e.child;s!==null;)a|=s.lanes|s.childLanes,n|=s.subtreeFlags&amp;65011712,n|=s.flags&amp;65011712,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)a|=s.lanes|s.childLanes,n|=s.subtreeFlags,n|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=n,e.childLanes=a,t}function Np(e,t,a){var n=t.pendingProps;switch(zr(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ye(t),null;case 1:return Ye(t),null;case 3:return a=t.stateNode,n=null,e!==null&amp;&amp;(n=e.memoizedState.cache),t.memoizedState.cache!==n&amp;&amp;(t.flags|=2048),xa(Pe),Xe(),a.pendingContext&amp;&amp;(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&amp;&amp;(Hl(t)?va(t):e===null||e.memoizedState.isDehydrated&amp;&amp;(t.flags&amp;256)===0||(t.flags|=1024,Mr())),Ye(t),null;case 26:var s=t.type,i=t.memoizedState;return e===null?(va(t),i!==null?(Ye(t),df(t,i)):(Ye(t),Nu(t,s,null,n,a))):i?i!==e.memoizedState?(va(t),Ye(t),df(t,i)):(Ye(t),t.flags&amp;=-16777217):(e=e.memoizedProps,e!==n&amp;&amp;va(t),Ye(t),Nu(t,s,e,n,a)),null;case 27:if(Nl(t),a=xe.current,s=t.type,e!==null&amp;&amp;t.stateNode!=null)e.memoizedProps!==n&amp;&amp;va(t);else{if(!n){if(t.stateNode===null)throw Error(c(166));return Ye(t),null}e=te.current,Hl(t)?Vo(t):(e=bm(s,n,a),t.stateNode=e,va(t))}return Ye(t),null;case 5:if(Nl(t),s=t.type,e!==null&amp;&amp;t.stateNode!=null)e.memoizedProps!==n&amp;&amp;va(t);else{if(!n){if(t.stateNode===null)throw Error(c(166));return Ye(t),null}if(i=te.current,Hl(t))Vo(t);else{var d=yi(xe.current);switch(i){case 1:i=d.createElementNS(&quot;http://www.w3.org/2000/svg&quot;,s);break;case 2:i=d.createElementNS(&quot;http://www.w3.org/1998/Math/MathML&quot;,s);break;default:switch(s){case&quot;svg&quot;:i=d.createElementNS(&quot;http://www.w3.org/2000/svg&quot;,s);break;case&quot;math&quot;:i=d.createElementNS(&quot;http://www.w3.org/1998/Math/MathML&quot;,s);break;case&quot;script&quot;:i=d.createElement(&quot;div&quot;),i.innerHTML=&quot;&lt;script&gt;&lt;\/script&gt;&quot;,i=i.removeChild(i.firstChild);break;case&quot;select&quot;:i=typeof n.is==&quot;string&quot;?d.createElement(&quot;select&quot;,{is:n.is}):d.createElement(&quot;select&quot;),n.multiple?i.multiple=!0:n.size&amp;&amp;(i.size=n.size);break;default:i=typeof n.is==&quot;string&quot;?d.createElement(s,{is:n.is}):d.createElement(s)}}i[ct]=t,i[vt]=n;e:for(d=t.child;d!==null;){if(d.tag===5||d.tag===6)i.appendChild(d.stateNode);else if(d.tag!==4&amp;&amp;d.tag!==27&amp;&amp;d.child!==null){d.child.return=d,d=d.child;continue}if(d===t)break e;for(;d.sibling===null;){if(d.return===null||d.return===t)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}t.stateNode=i;e:switch(mt(i,s,n),s){case&quot;button&quot;:case&quot;input&quot;:case&quot;select&quot;:case&quot;textarea&quot;:n=!!n.autoFocus;break e;case&quot;img&quot;:n=!0;break e;default:n=!1}n&amp;&amp;va(t)}}return Ye(t),Nu(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&amp;&amp;t.stateNode!=null)e.memoizedProps!==n&amp;&amp;va(t);else{if(typeof n!=&quot;string&quot;&amp;&amp;t.stateNode===null)throw Error(c(166));if(e=xe.current,Hl(t)){if(e=t.stateNode,a=t.memoizedProps,n=null,s=ot,s!==null)switch(s.tag){case 27:case 5:n=s.memoizedProps}e[ct]=t,e=!!(e.nodeValue===a||n!==null&amp;&amp;n.suppressHydrationWarning===!0||rm(e.nodeValue,a)),e||Ua(t,!0)}else e=yi(e).createTextNode(n),e[ct]=t,t.stateNode=e}return Ye(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(n=Hl(t),a!==null){if(e===null){if(!n)throw Error(c(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(c(557));e[ct]=t}else dl(),(t.flags&amp;128)===0&amp;&amp;(t.memoizedState=null),t.flags|=4;Ye(t),e=!1}else a=Mr(),e!==null&amp;&amp;e.memoizedState!==null&amp;&amp;(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&amp;256?(Mt(t),t):(Mt(t),null);if((t.flags&amp;128)!==0)throw Error(c(558))}return Ye(t),null;case 13:if(n=t.memoizedState,e===null||e.memoizedState!==null&amp;&amp;e.memoizedState.dehydrated!==null){if(s=Hl(t),n!==null&amp;&amp;n.dehydrated!==null){if(e===null){if(!s)throw Error(c(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(c(317));s[ct]=t}else dl(),(t.flags&amp;128)===0&amp;&amp;(t.memoizedState=null),t.flags|=4;Ye(t),s=!1}else s=Mr(),e!==null&amp;&amp;e.memoizedState!==null&amp;&amp;(e.memoizedState.hydrationErrors=s),s=!0;if(!s)return t.flags&amp;256?(Mt(t),t):(Mt(t),null)}return Mt(t),(t.flags&amp;128)!==0?(t.lanes=a,t):(a=n!==null,e=e!==null&amp;&amp;e.memoizedState!==null,a&amp;&amp;(n=t.child,s=null,n.alternate!==null&amp;&amp;n.alternate.memoizedState!==null&amp;&amp;n.alternate.memoizedState.cachePool!==null&amp;&amp;(s=n.alternate.memoizedState.cachePool.pool),i=null,n.memoizedState!==null&amp;&amp;n.memoizedState.cachePool!==null&amp;&amp;(i=n.memoizedState.cachePool.pool),i!==s&amp;&amp;(n.flags|=2048)),a!==e&amp;&amp;a&amp;&amp;(t.child.flags|=8192),ii(t,t.updateQueue),Ye(t),null);case 4:return Xe(),e===null&amp;&amp;$u(t.stateNode.containerInfo),Ye(t),null;case 10:return xa(t.type),Ye(t),null;case 19:if(v(Fe),n=t.memoizedState,n===null)return Ye(t),null;if(s=(t.flags&amp;128)!==0,i=n.rendering,i===null)if(s)Qn(n,!1);else{if(Je!==0||e!==null&amp;&amp;(e.flags&amp;128)!==0)for(e=t.child;e!==null;){if(i=Zs(e),i!==null){for(t.flags|=128,Qn(n,!1),e=i.updateQueue,t.updateQueue=e,ii(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)qo(a,e),a=a.sibling;return z(Fe,Fe.current&amp;1|2),Ae&amp;&amp;ma(t,n.treeForkCount),t.child}e=e.sibling}n.tail!==null&amp;&amp;Et()&gt;di&amp;&amp;(t.flags|=128,s=!0,Qn(n,!1),t.lanes=4194304)}else{if(!s)if(e=Zs(i),e!==null){if(t.flags|=128,s=!0,e=e.updateQueue,t.updateQueue=e,ii(t,e),Qn(n,!0),n.tail===null&amp;&amp;n.tailMode===&quot;hidden&quot;&amp;&amp;!i.alternate&amp;&amp;!Ae)return Ye(t),null}else 2*Et()-n.renderingStartTime&gt;di&amp;&amp;a!==536870912&amp;&amp;(t.flags|=128,s=!0,Qn(n,!1),t.lanes=4194304);n.isBackwards?(i.sibling=t.child,t.child=i):(e=n.last,e!==null?e.sibling=i:t.child=i,n.last=i)}return n.tail!==null?(e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=Et(),e.sibling=null,a=Fe.current,z(Fe,s?a&amp;1|2:a&amp;1),Ae&amp;&amp;ma(t,n.treeForkCount),e):(Ye(t),null);case 22:case 23:return Mt(t),Qr(),n=t.memoizedState!==null,e!==null?e.memoizedState!==null!==n&amp;&amp;(t.flags|=8192):n&amp;&amp;(t.flags|=8192),n?(a&amp;536870912)!==0&amp;&amp;(t.flags&amp;128)===0&amp;&amp;(Ye(t),t.subtreeFlags&amp;6&amp;&amp;(t.flags|=8192)):Ye(t),a=t.updateQueue,a!==null&amp;&amp;ii(t,a.retryQueue),a=null,e!==null&amp;&amp;e.memoizedState!==null&amp;&amp;e.memoizedState.cachePool!==null&amp;&amp;(a=e.memoizedState.cachePool.pool),n=null,t.memoizedState!==null&amp;&amp;t.memoizedState.cachePool!==null&amp;&amp;(n=t.memoizedState.cachePool.pool),n!==a&amp;&amp;(t.flags|=2048),e!==null&amp;&amp;v(hl),null;case 24:return a=null,e!==null&amp;&amp;(a=e.memoizedState.cache),t.memoizedState.cache!==a&amp;&amp;(t.flags|=2048),xa(Pe),Ye(t),null;case 25:return null;case 30:return null}throw Error(c(156,t.tag))}function Sp(e,t){switch(zr(t),t.tag){case 1:return e=t.flags,e&amp;65536?(t.flags=e&amp;-65537|128,t):null;case 3:return xa(Pe),Xe(),e=t.flags,(e&amp;65536)!==0&amp;&amp;(e&amp;128)===0?(t.flags=e&amp;-65537|128,t):null;case 26:case 27:case 5:return Nl(t),null;case 31:if(t.memoizedState!==null){if(Mt(t),t.alternate===null)throw Error(c(340));dl()}return e=t.flags,e&amp;65536?(t.flags=e&amp;-65537|128,t):null;case 13:if(Mt(t),e=t.memoizedState,e!==null&amp;&amp;e.dehydrated!==null){if(t.alternate===null)throw Error(c(340));dl()}return e=t.flags,e&amp;65536?(t.flags=e&amp;-65537|128,t):null;case 19:return v(Fe),null;case 4:return Xe(),null;case 10:return xa(t.type),null;case 22:case 23:return Mt(t),Qr(),e!==null&amp;&amp;v(hl),e=t.flags,e&amp;65536?(t.flags=e&amp;-65537|128,t):null;case 24:return xa(Pe),null;case 25:return null;default:return null}}function ff(e,t){switch(zr(t),t.tag){case 3:xa(Pe),Xe();break;case 26:case 27:case 5:Nl(t);break;case 4:Xe();break;case 31:t.memoizedState!==null&amp;&amp;Mt(t);break;case 13:Mt(t);break;case 19:v(Fe);break;case 10:xa(t.type);break;case 22:case 23:Mt(t),Qr(),e!==null&amp;&amp;v(hl);break;case 24:xa(Pe)}}function Xn(e,t){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var s=n.next;a=s;do{if((a.tag&amp;e)===e){n=void 0;var i=a.create,d=a.inst;n=i(),d.destroy=n}a=a.next}while(a!==s)}}catch(h){Ue(t,t.return,h)}}function Va(e,t,a){try{var n=t.updateQueue,s=n!==null?n.lastEffect:null;if(s!==null){var i=s.next;n=i;do{if((n.tag&amp;e)===e){var d=n.inst,h=d.destroy;if(h!==void 0){d.destroy=void 0,s=t;var N=a,k=h;try{k()}catch(G){Ue(s,N,G)}}}n=n.next}while(n!==i)}}catch(G){Ue(t,t.return,G)}}function mf(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{ad(t,a)}catch(n){Ue(e,e.return,n)}}}function hf(e,t,a){a.props=vl(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(n){Ue(e,t,n)}}function Zn(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}typeof a==&quot;function&quot;?e.refCleanup=a(n):a.current=n}}catch(s){Ue(e,t,s)}}function na(e,t){var a=e.ref,n=e.refCleanup;if(a!==null)if(typeof n==&quot;function&quot;)try{n()}catch(s){Ue(e,t,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&amp;&amp;(e.refCleanup=null)}else if(typeof a==&quot;function&quot;)try{a(null)}catch(s){Ue(e,t,s)}else a.current=null}function xf(e){var t=e.type,a=e.memoizedProps,n=e.stateNode;try{e:switch(t){case&quot;button&quot;:case&quot;input&quot;:case&quot;select&quot;:case&quot;textarea&quot;:a.autoFocus&amp;&amp;n.focus();break e;case&quot;img&quot;:a.src?n.src=a.src:a.srcSet&amp;&amp;(n.srcset=a.srcSet)}}catch(s){Ue(e,e.return,s)}}function Su(e,t,a){try{var n=e.stateNode;Qp(n,e.type,a,t),n[vt]=t}catch(s){Ue(e,e.return,s)}}function pf(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&amp;&amp;Fa(e.type)||e.tag===4}function _u(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||pf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&amp;&amp;e.tag!==6&amp;&amp;e.tag!==18;){if(e.tag===27&amp;&amp;Fa(e.type)||e.flags&amp;2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&amp;2))return e.stateNode}}function wu(e,t,a){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName===&quot;HTML&quot;?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName===&quot;HTML&quot;?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=oa));else if(n!==4&amp;&amp;(n===27&amp;&amp;Fa(e.type)&amp;&amp;(a=e.stateNode,t=null),e=e.child,e!==null))for(wu(e,t,a),e=e.sibling;e!==null;)wu(e,t,a),e=e.sibling}function ri(e,t,a){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(n!==4&amp;&amp;(n===27&amp;&amp;Fa(e.type)&amp;&amp;(a=e.stateNode),e=e.child,e!==null))for(ri(e,t,a),e=e.sibling;e!==null;)ri(e,t,a),e=e.sibling}function gf(e){var t=e.stateNode,a=e.memoizedProps;try{for(var n=e.type,s=t.attributes;s.length;)t.removeAttributeNode(s[0]);mt(t,n,a),t[ct]=e,t[vt]=a}catch(i){Ue(e,e.return,i)}}var ja=!1,at=!1,Eu=!1,bf=typeof WeakSet==&quot;function&quot;?WeakSet:Set,it=null;function _p(e,t){if(e=e.containerInfo,Zu=Ci,e=Ao(e),vr(e)){if(&quot;selectionStart&quot;in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&amp;&amp;a.defaultView||window;var n=a.getSelection&amp;&amp;a.getSelection();if(n&amp;&amp;n.rangeCount!==0){a=n.anchorNode;var s=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{a.nodeType,i.nodeType}catch{a=null;break e}var d=0,h=-1,N=-1,k=0,G=0,V=e,O=null;t:for(;;){for(var L;V!==a||s!==0&amp;&amp;V.nodeType!==3||(h=d+s),V!==i||n!==0&amp;&amp;V.nodeType!==3||(N=d+n),V.nodeType===3&amp;&amp;(d+=V.nodeValue.length),(L=V.firstChild)!==null;)O=V,V=L;for(;;){if(V===e)break t;if(O===a&amp;&amp;++k===s&amp;&amp;(h=d),O===i&amp;&amp;++G===n&amp;&amp;(N=d),(L=V.nextSibling)!==null)break;V=O,O=V.parentNode}V=L}a=h===-1||N===-1?null:{start:h,end:N}}else a=null}a=a||{start:0,end:0}}else a=null;for(Ju={focusedElem:e,selectionRange:a},Ci=!1,it=t;it!==null;)if(t=it,e=t.child,(t.subtreeFlags&amp;1028)!==0&amp;&amp;e!==null)e.return=t,it=e;else for(;it!==null;){switch(t=it,i=t.alternate,e=t.flags,t.tag){case 0:if((e&amp;4)!==0&amp;&amp;(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a&lt;e.length;a++)s=e[a],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:if((e&amp;1024)!==0&amp;&amp;i!==null){e=void 0,a=t,s=i.memoizedProps,i=i.memoizedState,n=a.stateNode;try{var ue=vl(a.type,s);e=n.getSnapshotBeforeUpdate(ue,i),n.__reactInternalSnapshotBeforeUpdate=e}catch(pe){Ue(a,a.return,pe)}}break;case 3:if((e&amp;1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)Wu(e);else if(a===1)switch(e.nodeName){case&quot;HEAD&quot;:case&quot;HTML&quot;:case&quot;BODY&quot;:Wu(e);break;default:e.textContent=&quot;&quot;}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&amp;1024)!==0)throw Error(c(163))}if(e=t.sibling,e!==null){e.return=t.return,it=e;break}it=t.return}}function vf(e,t,a){var n=a.flags;switch(a.tag){case 0:case 11:case 15:Na(e,a),n&amp;4&amp;&amp;Xn(5,a);break;case 1:if(Na(e,a),n&amp;4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(d){Ue(a,a.return,d)}else{var s=vl(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(s,t,e.__reactInternalSnapshotBeforeUpdate)}catch(d){Ue(a,a.return,d)}}n&amp;64&amp;&amp;mf(a),n&amp;512&amp;&amp;Zn(a,a.return);break;case 3:if(Na(e,a),n&amp;64&amp;&amp;(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{ad(e,t)}catch(d){Ue(a,a.return,d)}}break;case 27:t===null&amp;&amp;n&amp;4&amp;&amp;gf(a);case 26:case 5:Na(e,a),t===null&amp;&amp;n&amp;4&amp;&amp;xf(a),n&amp;512&amp;&amp;Zn(a,a.return);break;case 12:Na(e,a);break;case 31:Na(e,a),n&amp;4&amp;&amp;Nf(e,a);break;case 13:Na(e,a),n&amp;4&amp;&amp;Sf(e,a),n&amp;64&amp;&amp;(e=a.memoizedState,e!==null&amp;&amp;(e=e.dehydrated,e!==null&amp;&amp;(a=Op.bind(null,a),Pp(e,a))));break;case 22:if(n=a.memoizedState!==null||ja,!n){t=t!==null&amp;&amp;t.memoizedState!==null||at,s=ja;var i=at;ja=n,(at=t)&amp;&amp;!i?Sa(e,a,(a.subtreeFlags&amp;8772)!==0):Na(e,a),ja=s,at=i}break;case 30:break;default:Na(e,a)}}function jf(e){var t=e.alternate;t!==null&amp;&amp;(e.alternate=null,jf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&amp;&amp;(t=e.stateNode,t!==null&amp;&amp;ar(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ve=null,yt=!1;function ya(e,t,a){for(a=a.child;a!==null;)yf(e,t,a),a=a.sibling}function yf(e,t,a){if(Tt&amp;&amp;typeof Tt.onCommitFiberUnmount==&quot;function&quot;)try{Tt.onCommitFiberUnmount(gn,a)}catch{}switch(a.tag){case 26:at||na(a,t),ya(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&amp;&amp;(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:at||na(a,t);var n=Ve,s=yt;Fa(a.type)&amp;&amp;(Ve=a.stateNode,yt=!1),ya(e,t,a),as(a.stateNode),Ve=n,yt=s;break;case 5:at||na(a,t);case 6:if(n=Ve,s=yt,Ve=null,ya(e,t,a),Ve=n,yt=s,Ve!==null)if(yt)try{(Ve.nodeType===9?Ve.body:Ve.nodeName===&quot;HTML&quot;?Ve.ownerDocument.body:Ve).removeChild(a.stateNode)}catch(i){Ue(a,t,i)}else try{Ve.removeChild(a.stateNode)}catch(i){Ue(a,t,i)}break;case 18:Ve!==null&amp;&amp;(yt?(e=Ve,mm(e.nodeType===9?e.body:e.nodeName===&quot;HTML&quot;?e.ownerDocument.body:e,a.stateNode),rn(e)):mm(Ve,a.stateNode));break;case 4:n=Ve,s=yt,Ve=a.stateNode.containerInfo,yt=!0,ya(e,t,a),Ve=n,yt=s;break;case 0:case 11:case 14:case 15:Va(2,a,t),at||Va(4,a,t),ya(e,t,a);break;case 1:at||(na(a,t),n=a.stateNode,typeof n.componentWillUnmount==&quot;function&quot;&amp;&amp;hf(a,t,n)),ya(e,t,a);break;case 21:ya(e,t,a);break;case 22:at=(n=at)||a.memoizedState!==null,ya(e,t,a),at=n;break;default:ya(e,t,a)}}function Nf(e,t){if(t.memoizedState===null&amp;&amp;(e=t.alternate,e!==null&amp;&amp;(e=e.memoizedState,e!==null))){e=e.dehydrated;try{rn(e)}catch(a){Ue(t,t.return,a)}}}function Sf(e,t){if(t.memoizedState===null&amp;&amp;(e=t.alternate,e!==null&amp;&amp;(e=e.memoizedState,e!==null&amp;&amp;(e=e.dehydrated,e!==null))))try{rn(e)}catch(a){Ue(t,t.return,a)}}function wp(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&amp;&amp;(t=e.stateNode=new bf),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&amp;&amp;(t=e._retryCache=new bf),t;default:throw Error(c(435,e.tag))}}function ui(e,t){var a=wp(e);t.forEach(function(n){if(!a.has(n)){a.add(n);var s=Rp.bind(null,e,n);n.then(s,s)}})}function Nt(e,t){var a=t.deletions;if(a!==null)for(var n=0;n&lt;a.length;n++){var s=a[n],i=e,d=t,h=d;e:for(;h!==null;){switch(h.tag){case 27:if(Fa(h.type)){Ve=h.stateNode,yt=!1;break e}break;case 5:Ve=h.stateNode,yt=!1;break e;case 3:case 4:Ve=h.stateNode.containerInfo,yt=!0;break e}h=h.return}if(Ve===null)throw Error(c(160));yf(i,d,s),Ve=null,yt=!1,i=s.alternate,i!==null&amp;&amp;(i.return=null),s.return=null}if(t.subtreeFlags&amp;13886)for(t=t.child;t!==null;)_f(t,e),t=t.sibling}var Wt=null;function _f(e,t){var a=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Nt(t,e),St(e),n&amp;4&amp;&amp;(Va(3,e,e.return),Xn(3,e),Va(5,e,e.return));break;case 1:Nt(t,e),St(e),n&amp;512&amp;&amp;(at||a===null||na(a,a.return)),n&amp;64&amp;&amp;ja&amp;&amp;(e=e.updateQueue,e!==null&amp;&amp;(n=e.callbacks,n!==null&amp;&amp;(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?n:a.concat(n))));break;case 26:var s=Wt;if(Nt(t,e),St(e),n&amp;512&amp;&amp;(at||a===null||na(a,a.return)),n&amp;4){var i=a!==null?a.memoizedState:null;if(n=e.memoizedState,a===null)if(n===null)if(e.stateNode===null){e:{n=e.type,a=e.memoizedProps,s=s.ownerDocument||s;t:switch(n){case&quot;title&quot;:i=s.getElementsByTagName(&quot;title&quot;)[0],(!i||i[jn]||i[ct]||i.namespaceURI===&quot;http://www.w3.org/2000/svg&quot;||i.hasAttribute(&quot;itemprop&quot;))&amp;&amp;(i=s.createElement(n),s.head.insertBefore(i,s.querySelector(&quot;head &gt; title&quot;))),mt(i,n,a),i[ct]=e,st(i),n=i;break e;case&quot;link&quot;:var d=_m(&quot;link&quot;,&quot;href&quot;,s).get(n+(a.href||&quot;&quot;));if(d){for(var h=0;h&lt;d.length;h++)if(i=d[h],i.getAttribute(&quot;href&quot;)===(a.href==null||a.href===&quot;&quot;?null:a.href)&amp;&amp;i.getAttribute(&quot;rel&quot;)===(a.rel==null?null:a.rel)&amp;&amp;i.getAttribute(&quot;title&quot;)===(a.title==null?null:a.title)&amp;&amp;i.getAttribute(&quot;crossorigin&quot;)===(a.crossOrigin==null?null:a.crossOrigin)){d.splice(h,1);break t}}i=s.createElement(n),mt(i,n,a),s.head.appendChild(i);break;case&quot;meta&quot;:if(d=_m(&quot;meta&quot;,&quot;content&quot;,s).get(n+(a.content||&quot;&quot;))){for(h=0;h&lt;d.length;h++)if(i=d[h],i.getAttribute(&quot;content&quot;)===(a.content==null?null:&quot;&quot;+a.content)&amp;&amp;i.getAttribute(&quot;name&quot;)===(a.name==null?null:a.name)&amp;&amp;i.getAttribute(&quot;property&quot;)===(a.property==null?null:a.property)&amp;&amp;i.getAttribute(&quot;http-equiv&quot;)===(a.httpEquiv==null?null:a.httpEquiv)&amp;&amp;i.getAttribute(&quot;charset&quot;)===(a.charSet==null?null:a.charSet)){d.splice(h,1);break t}}i=s.createElement(n),mt(i,n,a),s.head.appendChild(i);break;default:throw Error(c(468,n))}i[ct]=e,st(i),n=i}e.stateNode=n}else wm(s,e.type,e.stateNode);else e.stateNode=Sm(s,n,e.memoizedProps);else i!==n?(i===null?a.stateNode!==null&amp;&amp;(a=a.stateNode,a.parentNode.removeChild(a)):i.count--,n===null?wm(s,e.type,e.stateNode):Sm(s,n,e.memoizedProps)):n===null&amp;&amp;e.stateNode!==null&amp;&amp;Su(e,e.memoizedProps,a.memoizedProps)}break;case 27:Nt(t,e),St(e),n&amp;512&amp;&amp;(at||a===null||na(a,a.return)),a!==null&amp;&amp;n&amp;4&amp;&amp;Su(e,e.memoizedProps,a.memoizedProps);break;case 5:if(Nt(t,e),St(e),n&amp;512&amp;&amp;(at||a===null||na(a,a.return)),e.flags&amp;32){s=e.stateNode;try{Al(s,&quot;&quot;)}catch(ue){Ue(e,e.return,ue)}}n&amp;4&amp;&amp;e.stateNode!=null&amp;&amp;(s=e.memoizedProps,Su(e,s,a!==null?a.memoizedProps:s)),n&amp;1024&amp;&amp;(Eu=!0);break;case 6:if(Nt(t,e),St(e),n&amp;4){if(e.stateNode===null)throw Error(c(162));n=e.memoizedProps,a=e.stateNode;try{a.nodeValue=n}catch(ue){Ue(e,e.return,ue)}}break;case 3:if(_i=null,s=Wt,Wt=Ni(t.containerInfo),Nt(t,e),Wt=s,St(e),n&amp;4&amp;&amp;a!==null&amp;&amp;a.memoizedState.isDehydrated)try{rn(t.containerInfo)}catch(ue){Ue(e,e.return,ue)}Eu&amp;&amp;(Eu=!1,wf(e));break;case 4:n=Wt,Wt=Ni(e.stateNode.containerInfo),Nt(t,e),St(e),Wt=n;break;case 12:Nt(t,e),St(e);break;case 31:Nt(t,e),St(e),n&amp;4&amp;&amp;(n=e.updateQueue,n!==null&amp;&amp;(e.updateQueue=null,ui(e,n)));break;case 13:Nt(t,e),St(e),e.child.flags&amp;8192&amp;&amp;e.memoizedState!==null!=(a!==null&amp;&amp;a.memoizedState!==null)&amp;&amp;(oi=Et()),n&amp;4&amp;&amp;(n=e.updateQueue,n!==null&amp;&amp;(e.updateQueue=null,ui(e,n)));break;case 22:s=e.memoizedState!==null;var N=a!==null&amp;&amp;a.memoizedState!==null,k=ja,G=at;if(ja=k||s,at=G||N,Nt(t,e),at=G,ja=k,St(e),n&amp;8192)e:for(t=e.stateNode,t._visibility=s?t._visibility&amp;-2:t._visibility|1,s&amp;&amp;(a===null||N||ja||at||jl(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){N=a=t;try{if(i=N.stateNode,s)d=i.style,typeof d.setProperty==&quot;function&quot;?d.setProperty(&quot;display&quot;,&quot;none&quot;,&quot;important&quot;):d.display=&quot;none&quot;;else{h=N.stateNode;var V=N.memoizedProps.style,O=V!=null&amp;&amp;V.hasOwnProperty(&quot;display&quot;)?V.display:null;h.style.display=O==null||typeof O==&quot;boolean&quot;?&quot;&quot;:(&quot;&quot;+O).trim()}}catch(ue){Ue(N,N.return,ue)}}}else if(t.tag===6){if(a===null){N=t;try{N.stateNode.nodeValue=s?&quot;&quot;:N.memoizedProps}catch(ue){Ue(N,N.return,ue)}}}else if(t.tag===18){if(a===null){N=t;try{var L=N.stateNode;s?hm(L,!0):hm(N.stateNode,!1)}catch(ue){Ue(N,N.return,ue)}}}else if((t.tag!==22&amp;&amp;t.tag!==23||t.memoizedState===null||t===e)&amp;&amp;t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&amp;&amp;(a=null),t=t.return}a===t&amp;&amp;(a=null),t.sibling.return=t.return,t=t.sibling}n&amp;4&amp;&amp;(n=e.updateQueue,n!==null&amp;&amp;(a=n.retryQueue,a!==null&amp;&amp;(n.retryQueue=null,ui(e,a))));break;case 19:Nt(t,e),St(e),n&amp;4&amp;&amp;(n=e.updateQueue,n!==null&amp;&amp;(e.updateQueue=null,ui(e,n)));break;case 30:break;case 21:break;default:Nt(t,e),St(e)}}function St(e){var t=e.flags;if(t&amp;2){try{for(var a,n=e.return;n!==null;){if(pf(n)){a=n;break}n=n.return}if(a==null)throw Error(c(160));switch(a.tag){case 27:var s=a.stateNode,i=_u(e);ri(e,i,s);break;case 5:var d=a.stateNode;a.flags&amp;32&amp;&amp;(Al(d,&quot;&quot;),a.flags&amp;=-33);var h=_u(e);ri(e,h,d);break;case 3:case 4:var N=a.stateNode.containerInfo,k=_u(e);wu(e,k,N);break;default:throw Error(c(161))}}catch(G){Ue(e,e.return,G)}e.flags&amp;=-3}t&amp;4096&amp;&amp;(e.flags&amp;=-4097)}function wf(e){if(e.subtreeFlags&amp;1024)for(e=e.child;e!==null;){var t=e;wf(t),t.tag===5&amp;&amp;t.flags&amp;1024&amp;&amp;t.stateNode.reset(),e=e.sibling}}function Na(e,t){if(t.subtreeFlags&amp;8772)for(t=t.child;t!==null;)vf(e,t.alternate,t),t=t.sibling}function jl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Va(4,t,t.return),jl(t);break;case 1:na(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount==&quot;function&quot;&amp;&amp;hf(t,t.return,a),jl(t);break;case 27:as(t.stateNode);case 26:case 5:na(t,t.return),jl(t);break;case 22:t.memoizedState===null&amp;&amp;jl(t);break;case 30:jl(t);break;default:jl(t)}e=e.sibling}}function Sa(e,t,a){for(a=a&amp;&amp;(t.subtreeFlags&amp;8772)!==0,t=t.child;t!==null;){var n=t.alternate,s=e,i=t,d=i.flags;switch(i.tag){case 0:case 11:case 15:Sa(s,i,a),Xn(4,i);break;case 1:if(Sa(s,i,a),n=i,s=n.stateNode,typeof s.componentDidMount==&quot;function&quot;)try{s.componentDidMount()}catch(k){Ue(n,n.return,k)}if(n=i,s=n.updateQueue,s!==null){var h=n.stateNode;try{var N=s.shared.hiddenCallbacks;if(N!==null)for(s.shared.hiddenCallbacks=null,s=0;s&lt;N.length;s++)td(N[s],h)}catch(k){Ue(n,n.return,k)}}a&amp;&amp;d&amp;64&amp;&amp;mf(i),Zn(i,i.return);break;case 27:gf(i);case 26:case 5:Sa(s,i,a),a&amp;&amp;n===null&amp;&amp;d&amp;4&amp;&amp;xf(i),Zn(i,i.return);break;case 12:Sa(s,i,a);break;case 31:Sa(s,i,a),a&amp;&amp;d&amp;4&amp;&amp;Nf(s,i);break;case 13:Sa(s,i,a),a&amp;&amp;d&amp;4&amp;&amp;Sf(s,i);break;case 22:i.memoizedState===null&amp;&amp;Sa(s,i,a),Zn(i,i.return);break;case 30:break;default:Sa(s,i,a)}t=t.sibling}}function Tu(e,t){var a=null;e!==null&amp;&amp;e.memoizedState!==null&amp;&amp;e.memoizedState.cachePool!==null&amp;&amp;(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&amp;&amp;t.memoizedState.cachePool!==null&amp;&amp;(e=t.memoizedState.cachePool.pool),e!==a&amp;&amp;(e!=null&amp;&amp;e.refCount++,a!=null&amp;&amp;On(a))}function Cu(e,t){e=null,t.alternate!==null&amp;&amp;(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&amp;&amp;(t.refCount++,e!=null&amp;&amp;On(e))}function It(e,t,a,n){if(t.subtreeFlags&amp;10256)for(t=t.child;t!==null;)Ef(e,t,a,n),t=t.sibling}function Ef(e,t,a,n){var s=t.flags;switch(t.tag){case 0:case 11:case 15:It(e,t,a,n),s&amp;2048&amp;&amp;Xn(9,t);break;case 1:It(e,t,a,n);break;case 3:It(e,t,a,n),s&amp;2048&amp;&amp;(e=null,t.alternate!==null&amp;&amp;(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&amp;&amp;(t.refCount++,e!=null&amp;&amp;On(e)));break;case 12:if(s&amp;2048){It(e,t,a,n),e=t.stateNode;try{var i=t.memoizedProps,d=i.id,h=i.onPostCommit;typeof h==&quot;function&quot;&amp;&amp;h(d,t.alternate===null?&quot;mount&quot;:&quot;update&quot;,e.passiveEffectDuration,-0)}catch(N){Ue(t,t.return,N)}}else It(e,t,a,n);break;case 31:It(e,t,a,n);break;case 13:It(e,t,a,n);break;case 23:break;case 22:i=t.stateNode,d=t.alternate,t.memoizedState!==null?i._visibility&amp;2?It(e,t,a,n):Jn(e,t):i._visibility&amp;2?It(e,t,a,n):(i._visibility|=2,Kl(e,t,a,n,(t.subtreeFlags&amp;10256)!==0||!1)),s&amp;2048&amp;&amp;Tu(d,t);break;case 24:It(e,t,a,n),s&amp;2048&amp;&amp;Cu(t.alternate,t);break;default:It(e,t,a,n)}}function Kl(e,t,a,n,s){for(s=s&amp;&amp;((t.subtreeFlags&amp;10256)!==0||!1),t=t.child;t!==null;){var i=e,d=t,h=a,N=n,k=d.flags;switch(d.tag){case 0:case 11:case 15:Kl(i,d,h,N,s),Xn(8,d);break;case 23:break;case 22:var G=d.stateNode;d.memoizedState!==null?G._visibility&amp;2?Kl(i,d,h,N,s):Jn(i,d):(G._visibility|=2,Kl(i,d,h,N,s)),s&amp;&amp;k&amp;2048&amp;&amp;Tu(d.alternate,d);break;case 24:Kl(i,d,h,N,s),s&amp;&amp;k&amp;2048&amp;&amp;Cu(d.alternate,d);break;default:Kl(i,d,h,N,s)}t=t.sibling}}function Jn(e,t){if(t.subtreeFlags&amp;10256)for(t=t.child;t!==null;){var a=e,n=t,s=n.flags;switch(n.tag){case 22:Jn(a,n),s&amp;2048&amp;&amp;Tu(n.alternate,n);break;case 24:Jn(a,n),s&amp;2048&amp;&amp;Cu(n.alternate,n);break;default:Jn(a,n)}t=t.sibling}}var Kn=8192;function Fl(e,t,a){if(e.subtreeFlags&amp;Kn)for(e=e.child;e!==null;)Tf(e,t,a),e=e.sibling}function Tf(e,t,a){switch(e.tag){case 26:Fl(e,t,a),e.flags&amp;Kn&amp;&amp;e.memoizedState!==null&amp;&amp;dg(a,Wt,e.memoizedState,e.memoizedProps);break;case 5:Fl(e,t,a);break;case 3:case 4:var n=Wt;Wt=Ni(e.stateNode.containerInfo),Fl(e,t,a),Wt=n;break;case 22:e.memoizedState===null&amp;&amp;(n=e.alternate,n!==null&amp;&amp;n.memoizedState!==null?(n=Kn,Kn=16777216,Fl(e,t,a),Kn=n):Fl(e,t,a));break;default:Fl(e,t,a)}}function Cf(e){var t=e.alternate;if(t!==null&amp;&amp;(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Fn(e){var t=e.deletions;if((e.flags&amp;16)!==0){if(t!==null)for(var a=0;a&lt;t.length;a++){var n=t[a];it=n,zf(n,e)}Cf(e)}if(e.subtreeFlags&amp;10256)for(e=e.child;e!==null;)Af(e),e=e.sibling}function Af(e){switch(e.tag){case 0:case 11:case 15:Fn(e),e.flags&amp;2048&amp;&amp;Va(9,e,e.return);break;case 3:Fn(e);break;case 12:Fn(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&amp;&amp;t._visibility&amp;2&amp;&amp;(e.return===null||e.return.tag!==13)?(t._visibility&amp;=-3,ci(e)):Fn(e);break;default:Fn(e)}}function ci(e){var t=e.deletions;if((e.flags&amp;16)!==0){if(t!==null)for(var a=0;a&lt;t.length;a++){var n=t[a];it=n,zf(n,e)}Cf(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Va(8,t,t.return),ci(t);break;case 22:a=t.stateNode,a._visibility&amp;2&amp;&amp;(a._visibility&amp;=-3,ci(t));break;default:ci(t)}e=e.sibling}}function zf(e,t){for(;it!==null;){var a=it;switch(a.tag){case 0:case 11:case 15:Va(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&amp;&amp;a.memoizedState.cachePool!==null){var n=a.memoizedState.cachePool.pool;n!=null&amp;&amp;n.refCount++}break;case 24:On(a.memoizedState.cache)}if(n=a.child,n!==null)n.return=a,it=n;else e:for(a=e;it!==null;){n=it;var s=n.sibling,i=n.return;if(jf(n),n===a){it=null;break e}if(s!==null){s.return=i,it=s;break e}it=i}}}var Ep={getCacheForType:function(e){var t=dt(Pe),a=t.data.get(e);return a===void 0&amp;&amp;(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return dt(Pe).controller.signal}},Tp=typeof WeakMap==&quot;function&quot;?WeakMap:Map,Oe=0,Be=null,we=null,Te=0,De=0,Ot=null,$a=!1,Wl=!1,Au=!1,_a=0,Je=0,Qa=0,yl=0,zu=0,Rt=0,Il=0,Wn=null,_t=null,ku=!1,oi=0,kf=0,di=1/0,fi=null,Xa=null,lt=0,Za=null,Pl=null,wa=0,Mu=0,Ou=null,Mf=null,In=0,Ru=null;function Dt(){return(Oe&amp;2)!==0&amp;&amp;Te!==0?Te&amp;-Te:C.T!==null?Bu():Xc()}function Of(){if(Rt===0)if((Te&amp;536870912)===0||Ae){var e=js;js&lt;&lt;=1,(js&amp;3932160)===0&amp;&amp;(js=262144),Rt=e}else Rt=536870912;return e=kt.current,e!==null&amp;&amp;(e.flags|=32),Rt}function wt(e,t,a){(e===Be&amp;&amp;(De===2||De===9)||e.cancelPendingCommit!==null)&amp;&amp;(en(e,0),Ja(e,Te,Rt,!1)),vn(e,a),((Oe&amp;2)===0||e!==Be)&amp;&amp;(e===Be&amp;&amp;((Oe&amp;2)===0&amp;&amp;(yl|=a),Je===4&amp;&amp;Ja(e,Te,Rt,!1)),sa(e))}function Rf(e,t,a){if((Oe&amp;6)!==0)throw Error(c(327));var n=!a&amp;&amp;(t&amp;127)===0&amp;&amp;(t&amp;e.expiredLanes)===0||bn(e,t),s=n?zp(e,t):Uu(e,t,!0),i=n;do{if(s===0){Wl&amp;&amp;!n&amp;&amp;Ja(e,t,0,!1);break}else{if(a=e.current.alternate,i&amp;&amp;!Cp(a)){s=Uu(e,t,!1),i=!1;continue}if(s===2){if(i=t,e.errorRecoveryDisabledLanes&amp;i)var d=0;else d=e.pendingLanes&amp;-536870913,d=d!==0?d:d&amp;536870912?536870912:0;if(d!==0){t=d;e:{var h=e;s=Wn;var N=h.current.memoizedState.isDehydrated;if(N&amp;&amp;(en(h,d).flags|=256),d=Uu(h,d,!1),d!==2){if(Au&amp;&amp;!N){h.errorRecoveryDisabledLanes|=i,yl|=i,s=4;break e}i=_t,_t=s,i!==null&amp;&amp;(_t===null?_t=i:_t.push.apply(_t,i))}s=d}if(i=!1,s!==2)continue}}if(s===1){en(e,0),Ja(e,t,0,!0);break}e:{switch(n=e,i=s,i){case 0:case 1:throw Error(c(345));case 4:if((t&amp;4194048)!==t)break;case 6:Ja(n,t,Rt,!$a);break e;case 2:_t=null;break;case 3:case 5:break;default:throw Error(c(329))}if((t&amp;62914560)===t&amp;&amp;(s=oi+300-Et(),10&lt;s)){if(Ja(n,t,Rt,!$a),Ns(n,0,!0)!==0)break e;wa=t,n.timeoutHandle=dm(Df.bind(null,n,a,_t,fi,ku,t,Rt,yl,Il,$a,i,&quot;Throttled&quot;,-0,0),s);break e}Df(n,a,_t,fi,ku,t,Rt,yl,Il,$a,i,null,-0,0)}}break}while(!0);sa(e)}function Df(e,t,a,n,s,i,d,h,N,k,G,V,O,L){if(e.timeoutHandle=-1,V=t.subtreeFlags,V&amp;8192||(V&amp;16785408)===16785408){V={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:oa},Tf(t,i,V);var ue=(i&amp;62914560)===i?oi-Et():(i&amp;4194048)===i?kf-Et():0;if(ue=fg(V,ue),ue!==null){wa=i,e.cancelPendingCommit=ue(Vf.bind(null,e,t,i,a,n,s,d,h,N,G,V,null,O,L)),Ja(e,i,d,!k);return}}Vf(e,t,i,a,n,s,d,h,N)}function Cp(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&amp;&amp;t.flags&amp;16384&amp;&amp;(a=t.updateQueue,a!==null&amp;&amp;(a=a.stores,a!==null)))for(var n=0;n&lt;a.length;n++){var s=a[n],i=s.getSnapshot;s=s.value;try{if(!At(i(),s))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&amp;16384&amp;&amp;a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ja(e,t,a,n){t&amp;=~zu,t&amp;=~yl,e.suspendedLanes|=t,e.pingedLanes&amp;=~t,n&amp;&amp;(e.warmLanes|=t),n=e.expirationTimes;for(var s=t;0&lt;s;){var i=31-Ct(s),d=1&lt;&lt;i;n[i]=-1,s&amp;=~d}a!==0&amp;&amp;Vc(e,a,t)}function mi(){return(Oe&amp;6)===0?(Pn(0),!1):!0}function Du(){if(we!==null){if(De===0)var e=we.return;else e=we,ha=fl=null,Wr(e),$l=null,Dn=0,e=we;for(;e!==null;)ff(e.alternate,e),e=e.return;we=null}}function en(e,t){var a=e.timeoutHandle;a!==-1&amp;&amp;(e.timeoutHandle=-1,Jp(a)),a=e.cancelPendingCommit,a!==null&amp;&amp;(e.cancelPendingCommit=null,a()),wa=0,Du(),Be=e,we=a=fa(e.current,null),Te=t,De=0,Ot=null,$a=!1,Wl=bn(e,t),Au=!1,Il=Rt=zu=yl=Qa=Je=0,_t=Wn=null,ku=!1,(t&amp;8)!==0&amp;&amp;(t|=t&amp;32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&amp;=t;0&lt;n;){var s=31-Ct(n),i=1&lt;&lt;s;t|=e[s],n&amp;=~i}return _a=t,Rs(),a}function Uf(e,t){ye=null,C.H=Vn,t===Vl||t===Ys?(t=Wo(),De=3):t===Hr?(t=Wo(),De=4):De=t===mu?8:t!==null&amp;&amp;typeof t==&quot;object&quot;&amp;&amp;typeof t.then==&quot;function&quot;?6:1,Ot=t,we===null&amp;&amp;(Je=1,ai(e,Gt(t,e.current)))}function Lf(){var e=kt.current;return e===null?!0:(Te&amp;4194048)===Te?Qt===null:(Te&amp;62914560)===Te||(Te&amp;536870912)!==0?e===Qt:!1}function qf(){var e=C.H;return C.H=Vn,e===null?Vn:e}function Hf(){var e=C.A;return C.A=Ep,e}function hi(){Je=4,$a||(Te&amp;4194048)!==Te&amp;&amp;kt.current!==null||(Wl=!0),(Qa&amp;134217727)===0&amp;&amp;(yl&amp;134217727)===0||Be===null||Ja(Be,Te,Rt,!1)}function Uu(e,t,a){var n=Oe;Oe|=2;var s=qf(),i=Hf();(Be!==e||Te!==t)&amp;&amp;(fi=null,en(e,t)),t=!1;var d=Je;e:do try{if(De!==0&amp;&amp;we!==null){var h=we,N=Ot;switch(De){case 8:Du(),d=6;break e;case 3:case 2:case 9:case 6:kt.current===null&amp;&amp;(t=!0);var k=De;if(De=0,Ot=null,tn(e,h,N,k),a&amp;&amp;Wl){d=0;break e}break;default:k=De,De=0,Ot=null,tn(e,h,N,k)}}Ap(),d=Je;break}catch(G){Uf(e,G)}while(!0);return t&amp;&amp;e.shellSuspendCounter++,ha=fl=null,Oe=n,C.H=s,C.A=i,we===null&amp;&amp;(Be=null,Te=0,Rs()),d}function Ap(){for(;we!==null;)Bf(we)}function zp(e,t){var a=Oe;Oe|=2;var n=qf(),s=Hf();Be!==e||Te!==t?(fi=null,di=Et()+500,en(e,t)):Wl=bn(e,t);e:do try{if(De!==0&amp;&amp;we!==null){t=we;var i=Ot;t:switch(De){case 1:De=0,Ot=null,tn(e,t,i,1);break;case 2:case 9:if(Ko(i)){De=0,Ot=null,Gf(t);break}t=function(){De!==2&amp;&amp;De!==9||Be!==e||(De=7),sa(e)},i.then(t,t);break e;case 3:De=7;break e;case 4:De=5;break e;case 7:Ko(i)?(De=0,Ot=null,Gf(t)):(De=0,Ot=null,tn(e,t,i,7));break;case 5:var d=null;switch(we.tag){case 26:d=we.memoizedState;case 5:case 27:var h=we;if(d?Em(d):h.stateNode.complete){De=0,Ot=null;var N=h.sibling;if(N!==null)we=N;else{var k=h.return;k!==null?(we=k,xi(k)):we=null}break t}}De=0,Ot=null,tn(e,t,i,5);break;case 6:De=0,Ot=null,tn(e,t,i,6);break;case 8:Du(),Je=6;break e;default:throw Error(c(462))}}kp();break}catch(G){Uf(e,G)}while(!0);return ha=fl=null,C.H=n,C.A=s,Oe=a,we!==null?0:(Be=null,Te=0,Rs(),Je)}function kp(){for(;we!==null&amp;&amp;!ex();)Bf(we)}function Bf(e){var t=of(e.alternate,e,_a);e.memoizedProps=e.pendingProps,t===null?xi(e):we=t}function Gf(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=lf(a,t,t.pendingProps,t.type,void 0,Te);break;case 11:t=lf(a,t,t.pendingProps,t.type.render,t.ref,Te);break;case 5:Wr(t);default:ff(a,t),t=we=qo(t,_a),t=of(a,t,_a)}e.memoizedProps=e.pendingProps,t===null?xi(e):we=t}function tn(e,t,a,n){ha=fl=null,Wr(t),$l=null,Dn=0;var s=t.return;try{if(vp(e,s,t,a,Te)){Je=1,ai(e,Gt(a,e.current)),we=null;return}}catch(i){if(s!==null)throw we=s,i;Je=1,ai(e,Gt(a,e.current)),we=null;return}t.flags&amp;32768?(Ae||n===1?e=!0:Wl||(Te&amp;536870912)!==0?e=!1:($a=e=!0,(n===2||n===9||n===3||n===6)&amp;&amp;(n=kt.current,n!==null&amp;&amp;n.tag===13&amp;&amp;(n.flags|=16384))),Yf(t,e)):xi(t)}function xi(e){var t=e;do{if((t.flags&amp;32768)!==0){Yf(t,$a);return}e=t.return;var a=Np(t.alternate,t,_a);if(a!==null){we=a;return}if(t=t.sibling,t!==null){we=t;return}we=t=e}while(t!==null);Je===0&amp;&amp;(Je=5)}function Yf(e,t){do{var a=Sp(e.alternate,e);if(a!==null){a.flags&amp;=32767,we=a;return}if(a=e.return,a!==null&amp;&amp;(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&amp;&amp;(e=e.sibling,e!==null)){we=e;return}we=e=a}while(e!==null);Je=6,we=null}function Vf(e,t,a,n,s,i,d,h,N){e.cancelPendingCommit=null;do pi();while(lt!==0);if((Oe&amp;6)!==0)throw Error(c(327));if(t!==null){if(t===e.current)throw Error(c(177));if(i=t.lanes|t.childLanes,i|=_r,ox(e,a,i,d,h,N),e===Be&amp;&amp;(we=Be=null,Te=0),Pl=t,Za=e,wa=a,Mu=i,Ou=s,Mf=n,(t.subtreeFlags&amp;10256)!==0||(t.flags&amp;10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Dp(bs,function(){return Jf(),null})):(e.callbackNode=null,e.callbackPriority=0),n=(t.flags&amp;13878)!==0,(t.subtreeFlags&amp;13878)!==0||n){n=C.T,C.T=null,s=J.p,J.p=2,d=Oe,Oe|=4;try{_p(e,t,a)}finally{Oe=d,J.p=s,C.T=n}}lt=1,$f(),Qf(),Xf()}}function $f(){if(lt===1){lt=0;var e=Za,t=Pl,a=(t.flags&amp;13878)!==0;if((t.subtreeFlags&amp;13878)!==0||a){a=C.T,C.T=null;var n=J.p;J.p=2;var s=Oe;Oe|=4;try{_f(t,e);var i=Ju,d=Ao(e.containerInfo),h=i.focusedElem,N=i.selectionRange;if(d!==h&amp;&amp;h&amp;&amp;h.ownerDocument&amp;&amp;Co(h.ownerDocument.documentElement,h)){if(N!==null&amp;&amp;vr(h)){var k=N.start,G=N.end;if(G===void 0&amp;&amp;(G=k),&quot;selectionStart&quot;in h)h.selectionStart=k,h.selectionEnd=Math.min(G,h.value.length);else{var V=h.ownerDocument||document,O=V&amp;&amp;V.defaultView||window;if(O.getSelection){var L=O.getSelection(),ue=h.textContent.length,pe=Math.min(N.start,ue),He=N.end===void 0?pe:Math.min(N.end,ue);!L.extend&amp;&amp;pe&gt;He&amp;&amp;(d=He,He=pe,pe=d);var E=To(h,pe),w=To(h,He);if(E&amp;&amp;w&amp;&amp;(L.rangeCount!==1||L.anchorNode!==E.node||L.anchorOffset!==E.offset||L.focusNode!==w.node||L.focusOffset!==w.offset)){var A=V.createRange();A.setStart(E.node,E.offset),L.removeAllRanges(),pe&gt;He?(L.addRange(A),L.extend(w.node,w.offset)):(A.setEnd(w.node,w.offset),L.addRange(A))}}}}for(V=[],L=h;L=L.parentNode;)L.nodeType===1&amp;&amp;V.push({element:L,left:L.scrollLeft,top:L.scrollTop});for(typeof h.focus==&quot;function&quot;&amp;&amp;h.focus(),h=0;h&lt;V.length;h++){var Y=V[h];Y.element.scrollLeft=Y.left,Y.element.scrollTop=Y.top}}Ci=!!Zu,Ju=Zu=null}finally{Oe=s,J.p=n,C.T=a}}e.current=t,lt=2}}function Qf(){if(lt===2){lt=0;var e=Za,t=Pl,a=(t.flags&amp;8772)!==0;if((t.subtreeFlags&amp;8772)!==0||a){a=C.T,C.T=null;var n=J.p;J.p=2;var s=Oe;Oe|=4;try{vf(e,t.alternate,t)}finally{Oe=s,J.p=n,C.T=a}}lt=3}}function Xf(){if(lt===4||lt===3){lt=0,tx();var e=Za,t=Pl,a=wa,n=Mf;(t.subtreeFlags&amp;10256)!==0||(t.flags&amp;10256)!==0?lt=5:(lt=0,Pl=Za=null,Zf(e,e.pendingLanes));var s=e.pendingLanes;if(s===0&amp;&amp;(Xa=null),er(a),t=t.stateNode,Tt&amp;&amp;typeof Tt.onCommitFiberRoot==&quot;function&quot;)try{Tt.onCommitFiberRoot(gn,t,void 0,(t.current.flags&amp;128)===128)}catch{}if(n!==null){t=C.T,s=J.p,J.p=2,C.T=null;try{for(var i=e.onRecoverableError,d=0;d&lt;n.length;d++){var h=n[d];i(h.value,{componentStack:h.stack})}}finally{C.T=t,J.p=s}}(wa&amp;3)!==0&amp;&amp;pi(),sa(e),s=e.pendingLanes,(a&amp;261930)!==0&amp;&amp;(s&amp;42)!==0?e===Ru?In++:(In=0,Ru=e):In=0,Pn(0)}}function Zf(e,t){(e.pooledCacheLanes&amp;=t)===0&amp;&amp;(t=e.pooledCache,t!=null&amp;&amp;(e.pooledCache=null,On(t)))}function pi(){return $f(),Qf(),Xf(),Jf()}function Jf(){if(lt!==5)return!1;var e=Za,t=Mu;Mu=0;var a=er(wa),n=C.T,s=J.p;try{J.p=32&gt;a?32:a,C.T=null,a=Ou,Ou=null;var i=Za,d=wa;if(lt=0,Pl=Za=null,wa=0,(Oe&amp;6)!==0)throw Error(c(331));var h=Oe;if(Oe|=4,Af(i.current),Ef(i,i.current,d,a),Oe=h,Pn(0,!1),Tt&amp;&amp;typeof Tt.onPostCommitFiberRoot==&quot;function&quot;)try{Tt.onPostCommitFiberRoot(gn,i)}catch{}return!0}finally{J.p=s,C.T=n,Zf(e,t)}}function Kf(e,t,a){t=Gt(a,t),t=fu(e.stateNode,t,2),e=Ba(e,t,2),e!==null&amp;&amp;(vn(e,2),sa(e))}function Ue(e,t,a){if(e.tag===3)Kf(e,e,a);else for(;t!==null;){if(t.tag===3){Kf(t,e,a);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError==&quot;function&quot;||typeof n.componentDidCatch==&quot;function&quot;&amp;&amp;(Xa===null||!Xa.has(n))){e=Gt(a,e),a=Kd(2),n=Ba(t,a,2),n!==null&amp;&amp;(Fd(a,n,t,e),vn(n,2),sa(n));break}}t=t.return}}function Lu(e,t,a){var n=e.pingCache;if(n===null){n=e.pingCache=new Tp;var s=new Set;n.set(t,s)}else s=n.get(t),s===void 0&amp;&amp;(s=new Set,n.set(t,s));s.has(a)||(Au=!0,s.add(a),e=Mp.bind(null,e,t,a),t.then(e,e))}function Mp(e,t,a){var n=e.pingCache;n!==null&amp;&amp;n.delete(t),e.pingedLanes|=e.suspendedLanes&amp;a,e.warmLanes&amp;=~a,Be===e&amp;&amp;(Te&amp;a)===a&amp;&amp;(Je===4||Je===3&amp;&amp;(Te&amp;62914560)===Te&amp;&amp;300&gt;Et()-oi?(Oe&amp;2)===0&amp;&amp;en(e,0):zu|=a,Il===Te&amp;&amp;(Il=0)),sa(e)}function Ff(e,t){t===0&amp;&amp;(t=Yc()),e=cl(e,t),e!==null&amp;&amp;(vn(e,t),sa(e))}function Op(e){var t=e.memoizedState,a=0;t!==null&amp;&amp;(a=t.retryLane),Ff(e,a)}function Rp(e,t){var a=0;switch(e.tag){case 31:case 13:var n=e.stateNode,s=e.memoizedState;s!==null&amp;&amp;(a=s.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(c(314))}n!==null&amp;&amp;n.delete(t),Ff(e,a)}function Dp(e,t){return Fi(e,t)}var gi=null,an=null,qu=!1,bi=!1,Hu=!1,Ka=0;function sa(e){e!==an&amp;&amp;e.next===null&amp;&amp;(an===null?gi=an=e:an=an.next=e),bi=!0,qu||(qu=!0,Lp())}function Pn(e,t){if(!Hu&amp;&amp;bi){Hu=!0;do for(var a=!1,n=gi;n!==null;){if(e!==0){var s=n.pendingLanes;if(s===0)var i=0;else{var d=n.suspendedLanes,h=n.pingedLanes;i=(1&lt;&lt;31-Ct(42|e)+1)-1,i&amp;=s&amp;~(d&amp;~h),i=i&amp;201326741?i&amp;201326741|1:i?i|2:0}i!==0&amp;&amp;(a=!0,em(n,i))}else i=Te,i=Ns(n,n===Be?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(i&amp;3)===0||bn(n,i)||(a=!0,em(n,i));n=n.next}while(a);Hu=!1}}function Up(){Wf()}function Wf(){bi=qu=!1;var e=0;Ka!==0&amp;&amp;Zp()&amp;&amp;(e=Ka);for(var t=Et(),a=null,n=gi;n!==null;){var s=n.next,i=If(n,t);i===0?(n.next=null,a===null?gi=s:a.next=s,s===null&amp;&amp;(an=a)):(a=n,(e!==0||(i&amp;3)!==0)&amp;&amp;(bi=!0)),n=s}lt!==0&amp;&amp;lt!==5||Pn(e),Ka!==0&amp;&amp;(Ka=0)}function If(e,t){for(var a=e.suspendedLanes,n=e.pingedLanes,s=e.expirationTimes,i=e.pendingLanes&amp;-62914561;0&lt;i;){var d=31-Ct(i),h=1&lt;&lt;d,N=s[d];N===-1?((h&amp;a)===0||(h&amp;n)!==0)&amp;&amp;(s[d]=cx(h,t)):N&lt;=t&amp;&amp;(e.expiredLanes|=h),i&amp;=~h}if(t=Be,a=Te,a=Ns(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n=e.callbackNode,a===0||e===t&amp;&amp;(De===2||De===9)||e.cancelPendingCommit!==null)return n!==null&amp;&amp;n!==null&amp;&amp;Wi(n),e.callbackNode=null,e.callbackPriority=0;if((a&amp;3)===0||bn(e,a)){if(t=a&amp;-a,t===e.callbackPriority)return t;switch(n!==null&amp;&amp;Wi(n),er(a)){case 2:case 8:a=Bc;break;case 32:a=bs;break;case 268435456:a=Gc;break;default:a=bs}return n=Pf.bind(null,e),a=Fi(a,n),e.callbackPriority=t,e.callbackNode=a,t}return n!==null&amp;&amp;n!==null&amp;&amp;Wi(n),e.callbackPriority=2,e.callbackNode=null,2}function Pf(e,t){if(lt!==0&amp;&amp;lt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(pi()&amp;&amp;e.callbackNode!==a)return null;var n=Te;return n=Ns(e,e===Be?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n===0?null:(Rf(e,n,t),If(e,Et()),e.callbackNode!=null&amp;&amp;e.callbackNode===a?Pf.bind(null,e):null)}function em(e,t){if(pi())return null;Rf(e,t,!0)}function Lp(){Kp(function(){(Oe&amp;6)!==0?Fi(Hc,Up):Wf()})}function Bu(){if(Ka===0){var e=Gl;e===0&amp;&amp;(e=vs,vs&lt;&lt;=1,(vs&amp;261888)===0&amp;&amp;(vs=256)),Ka=e}return Ka}function tm(e){return e==null||typeof e==&quot;symbol&quot;||typeof e==&quot;boolean&quot;?null:typeof e==&quot;function&quot;?e:Es(&quot;&quot;+e)}function am(e,t){var a=t.ownerDocument.createElement(&quot;input&quot;);return a.name=t.name,a.value=t.value,e.id&amp;&amp;a.setAttribute(&quot;form&quot;,e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function qp(e,t,a,n,s){if(t===&quot;submit&quot;&amp;&amp;a&amp;&amp;a.stateNode===s){var i=tm((s[vt]||null).action),d=n.submitter;d&amp;&amp;(t=(t=d[vt]||null)?tm(t.formAction):d.getAttribute(&quot;formAction&quot;),t!==null&amp;&amp;(i=t,d=null));var h=new zs(&quot;action&quot;,&quot;action&quot;,null,n,s);e.push({event:h,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(Ka!==0){var N=d?am(s,d):new FormData(s);iu(a,{pending:!0,data:N,method:s.method,action:i},null,N)}}else typeof i==&quot;function&quot;&amp;&amp;(h.preventDefault(),N=d?am(s,d):new FormData(s),iu(a,{pending:!0,data:N,method:s.method,action:i},i,N))},currentTarget:s}]})}}for(var Gu=0;Gu&lt;Sr.length;Gu++){var Yu=Sr[Gu],Hp=Yu.toLowerCase(),Bp=Yu[0].toUpperCase()+Yu.slice(1);Ft(Hp,&quot;on&quot;+Bp)}Ft(Mo,&quot;onAnimationEnd&quot;),Ft(Oo,&quot;onAnimationIteration&quot;),Ft(Ro,&quot;onAnimationStart&quot;),Ft(&quot;dblclick&quot;,&quot;onDoubleClick&quot;),Ft(&quot;focusin&quot;,&quot;onFocus&quot;),Ft(&quot;focusout&quot;,&quot;onBlur&quot;),Ft(ap,&quot;onTransitionRun&quot;),Ft(lp,&quot;onTransitionStart&quot;),Ft(np,&quot;onTransitionCancel&quot;),Ft(Do,&quot;onTransitionEnd&quot;),Tl(&quot;onMouseEnter&quot;,[&quot;mouseout&quot;,&quot;mouseover&quot;]),Tl(&quot;onMouseLeave&quot;,[&quot;mouseout&quot;,&quot;mouseover&quot;]),Tl(&quot;onPointerEnter&quot;,[&quot;pointerout&quot;,&quot;pointerover&quot;]),Tl(&quot;onPointerLeave&quot;,[&quot;pointerout&quot;,&quot;pointerover&quot;]),sl(&quot;onChange&quot;,&quot;change click focusin focusout input keydown keyup selectionchange&quot;.split(&quot; &quot;)),sl(&quot;onSelect&quot;,&quot;focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange&quot;.split(&quot; &quot;)),sl(&quot;onBeforeInput&quot;,[&quot;compositionend&quot;,&quot;keypress&quot;,&quot;textInput&quot;,&quot;paste&quot;]),sl(&quot;onCompositionEnd&quot;,&quot;compositionend focusout keydown keypress keyup mousedown&quot;.split(&quot; &quot;)),sl(&quot;onCompositionStart&quot;,&quot;compositionstart focusout keydown keypress keyup mousedown&quot;.split(&quot; &quot;)),sl(&quot;onCompositionUpdate&quot;,&quot;compositionupdate focusout keydown keypress keyup mousedown&quot;.split(&quot; &quot;));var es=&quot;abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting&quot;.split(&quot; &quot;),Gp=new Set(&quot;beforetoggle cancel close invalid load scroll scrollend toggle&quot;.split(&quot; &quot;).concat(es));function lm(e,t){t=(t&amp;4)!==0;for(var a=0;a&lt;e.length;a++){var n=e[a],s=n.event;n=n.listeners;e:{var i=void 0;if(t)for(var d=n.length-1;0&lt;=d;d--){var h=n[d],N=h.instance,k=h.currentTarget;if(h=h.listener,N!==i&amp;&amp;s.isPropagationStopped())break e;i=h,s.currentTarget=k;try{i(s)}catch(G){Os(G)}s.currentTarget=null,i=N}else for(d=0;d&lt;n.length;d++){if(h=n[d],N=h.instance,k=h.currentTarget,h=h.listener,N!==i&amp;&amp;s.isPropagationStopped())break e;i=h,s.currentTarget=k;try{i(s)}catch(G){Os(G)}s.currentTarget=null,i=N}}}}function Ee(e,t){var a=t[tr];a===void 0&amp;&amp;(a=t[tr]=new Set);var n=e+&quot;__bubble&quot;;a.has(n)||(nm(t,e,2,!1),a.add(n))}function Vu(e,t,a){var n=0;t&amp;&amp;(n|=4),nm(a,e,n,t)}var vi=&quot;_reactListening&quot;+Math.random().toString(36).slice(2);function $u(e){if(!e[vi]){e[vi]=!0,Kc.forEach(function(a){a!==&quot;selectionchange&quot;&amp;&amp;(Gp.has(a)||Vu(a,!1,e),Vu(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[vi]||(t[vi]=!0,Vu(&quot;selectionchange&quot;,!1,t))}}function nm(e,t,a,n){switch(Om(t)){case 2:var s=xg;break;case 8:s=pg;break;default:s=sc}a=s.bind(null,t,a,e),s=void 0,!or||t!==&quot;touchstart&quot;&amp;&amp;t!==&quot;touchmove&quot;&amp;&amp;t!==&quot;wheel&quot;||(s=!0),n?s!==void 0?e.addEventListener(t,a,{capture:!0,passive:s}):e.addEventListener(t,a,!0):s!==void 0?e.addEventListener(t,a,{passive:s}):e.addEventListener(t,a,!1)}function Qu(e,t,a,n,s){var i=n;if((t&amp;1)===0&amp;&amp;(t&amp;2)===0&amp;&amp;n!==null)e:for(;;){if(n===null)return;var d=n.tag;if(d===3||d===4){var h=n.stateNode.containerInfo;if(h===s)break;if(d===4)for(d=n.return;d!==null;){var N=d.tag;if((N===3||N===4)&amp;&amp;d.stateNode.containerInfo===s)return;d=d.return}for(;h!==null;){if(d=_l(h),d===null)return;if(N=d.tag,N===5||N===6||N===26||N===27){n=i=d;continue e}h=h.parentNode}}n=n.return}ro(function(){var k=i,G=ur(a),V=[];e:{var O=Uo.get(e);if(O!==void 0){var L=zs,ue=e;switch(e){case&quot;keypress&quot;:if(Cs(a)===0)break e;case&quot;keydown&quot;:case&quot;keyup&quot;:L=Rx;break;case&quot;focusin&quot;:ue=&quot;focus&quot;,L=hr;break;case&quot;focusout&quot;:ue=&quot;blur&quot;,L=hr;break;case&quot;beforeblur&quot;:case&quot;afterblur&quot;:L=hr;break;case&quot;click&quot;:if(a.button===2)break e;case&quot;auxclick&quot;:case&quot;dblclick&quot;:case&quot;mousedown&quot;:case&quot;mousemove&quot;:case&quot;mouseup&quot;:case&quot;mouseout&quot;:case&quot;mouseover&quot;:case&quot;contextmenu&quot;:L=oo;break;case&quot;drag&quot;:case&quot;dragend&quot;:case&quot;dragenter&quot;:case&quot;dragexit&quot;:case&quot;dragleave&quot;:case&quot;dragover&quot;:case&quot;dragstart&quot;:case&quot;drop&quot;:L=Nx;break;case&quot;touchcancel&quot;:case&quot;touchend&quot;:case&quot;touchmove&quot;:case&quot;touchstart&quot;:L=Lx;break;case Mo:case Oo:case Ro:L=wx;break;case Do:L=Hx;break;case&quot;scroll&quot;:case&quot;scrollend&quot;:L=jx;break;case&quot;wheel&quot;:L=Gx;break;case&quot;copy&quot;:case&quot;cut&quot;:case&quot;paste&quot;:L=Tx;break;case&quot;gotpointercapture&quot;:case&quot;lostpointercapture&quot;:case&quot;pointercancel&quot;:case&quot;pointerdown&quot;:case&quot;pointermove&quot;:case&quot;pointerout&quot;:case&quot;pointerover&quot;:case&quot;pointerup&quot;:L=mo;break;case&quot;toggle&quot;:case&quot;beforetoggle&quot;:L=Vx}var pe=(t&amp;4)!==0,He=!pe&amp;&amp;(e===&quot;scroll&quot;||e===&quot;scrollend&quot;),E=pe?O!==null?O+&quot;Capture&quot;:null:O;pe=[];for(var w=k,A;w!==null;){var Y=w;if(A=Y.stateNode,Y=Y.tag,Y!==5&amp;&amp;Y!==26&amp;&amp;Y!==27||A===null||E===null||(Y=Nn(w,E),Y!=null&amp;&amp;pe.push(ts(w,Y,A))),He)break;w=w.return}0&lt;pe.length&amp;&amp;(O=new L(O,ue,null,a,G),V.push({event:O,listeners:pe}))}}if((t&amp;7)===0){e:{if(O=e===&quot;mouseover&quot;||e===&quot;pointerover&quot;,L=e===&quot;mouseout&quot;||e===&quot;pointerout&quot;,O&amp;&amp;a!==rr&amp;&amp;(ue=a.relatedTarget||a.fromElement)&amp;&amp;(_l(ue)||ue[Sl]))break e;if((L||O)&amp;&amp;(O=G.window===G?G:(O=G.ownerDocument)?O.defaultView||O.parentWindow:window,L?(ue=a.relatedTarget||a.toElement,L=k,ue=ue?_l(ue):null,ue!==null&amp;&amp;(He=x(ue),pe=ue.tag,ue!==He||pe!==5&amp;&amp;pe!==27&amp;&amp;pe!==6)&amp;&amp;(ue=null)):(L=null,ue=k),L!==ue)){if(pe=oo,Y=&quot;onMouseLeave&quot;,E=&quot;onMouseEnter&quot;,w=&quot;mouse&quot;,(e===&quot;pointerout&quot;||e===&quot;pointerover&quot;)&amp;&amp;(pe=mo,Y=&quot;onPointerLeave&quot;,E=&quot;onPointerEnter&quot;,w=&quot;pointer&quot;),He=L==null?O:yn(L),A=ue==null?O:yn(ue),O=new pe(Y,w+&quot;leave&quot;,L,a,G),O.target=He,O.relatedTarget=A,Y=null,_l(G)===k&amp;&amp;(pe=new pe(E,w+&quot;enter&quot;,ue,a,G),pe.target=A,pe.relatedTarget=He,Y=pe),He=Y,L&amp;&amp;ue)t:{for(pe=Yp,E=L,w=ue,A=0,Y=E;Y;Y=pe(Y))A++;Y=0;for(var me=w;me;me=pe(me))Y++;for(;0&lt;A-Y;)E=pe(E),A--;for(;0&lt;Y-A;)w=pe(w),Y--;for(;A--;){if(E===w||w!==null&amp;&amp;E===w.alternate){pe=E;break t}E=pe(E),w=pe(w)}pe=null}else pe=null;L!==null&amp;&amp;sm(V,O,L,pe,!1),ue!==null&amp;&amp;He!==null&amp;&amp;sm(V,He,ue,pe,!0)}}e:{if(O=k?yn(k):window,L=O.nodeName&amp;&amp;O.nodeName.toLowerCase(),L===&quot;select&quot;||L===&quot;input&quot;&amp;&amp;O.type===&quot;file&quot;)var ke=yo;else if(vo(O))if(No)ke=Px;else{ke=Wx;var ce=Fx}else L=O.nodeName,!L||L.toLowerCase()!==&quot;input&quot;||O.type!==&quot;checkbox&quot;&amp;&amp;O.type!==&quot;radio&quot;?k&amp;&amp;ir(k.elementType)&amp;&amp;(ke=yo):ke=Ix;if(ke&amp;&amp;(ke=ke(e,k))){jo(V,ke,a,G);break e}ce&amp;&amp;ce(e,O,k),e===&quot;focusout&quot;&amp;&amp;k&amp;&amp;O.type===&quot;number&quot;&amp;&amp;k.memoizedProps.value!=null&amp;&amp;sr(O,&quot;number&quot;,O.value)}switch(ce=k?yn(k):window,e){case&quot;focusin&quot;:(vo(ce)||ce.contentEditable===&quot;true&quot;)&amp;&amp;(Ol=ce,jr=k,zn=null);break;case&quot;focusout&quot;:zn=jr=Ol=null;break;case&quot;mousedown&quot;:yr=!0;break;case&quot;contextmenu&quot;:case&quot;mouseup&quot;:case&quot;dragend&quot;:yr=!1,zo(V,a,G);break;case&quot;selectionchange&quot;:if(tp)break;case&quot;keydown&quot;:case&quot;keyup&quot;:zo(V,a,G)}var Ne;if(pr)e:{switch(e){case&quot;compositionstart&quot;:var Ce=&quot;onCompositionStart&quot;;break e;case&quot;compositionend&quot;:Ce=&quot;onCompositionEnd&quot;;break e;case&quot;compositionupdate&quot;:Ce=&quot;onCompositionUpdate&quot;;break e}Ce=void 0}else Ml?go(e,a)&amp;&amp;(Ce=&quot;onCompositionEnd&quot;):e===&quot;keydown&quot;&amp;&amp;a.keyCode===229&amp;&amp;(Ce=&quot;onCompositionStart&quot;);Ce&amp;&amp;(ho&amp;&amp;a.locale!==&quot;ko&quot;&amp;&amp;(Ml||Ce!==&quot;onCompositionStart&quot;?Ce===&quot;onCompositionEnd&quot;&amp;&amp;Ml&amp;&amp;(Ne=uo()):(Oa=G,dr=&quot;value&quot;in Oa?Oa.value:Oa.textContent,Ml=!0)),ce=ji(k,Ce),0&lt;ce.length&amp;&amp;(Ce=new fo(Ce,e,null,a,G),V.push({event:Ce,listeners:ce}),Ne?Ce.data=Ne:(Ne=bo(a),Ne!==null&amp;&amp;(Ce.data=Ne)))),(Ne=Qx?Xx(e,a):Zx(e,a))&amp;&amp;(Ce=ji(k,&quot;onBeforeInput&quot;),0&lt;Ce.length&amp;&amp;(ce=new fo(&quot;onBeforeInput&quot;,&quot;beforeinput&quot;,null,a,G),V.push({event:ce,listeners:Ce}),ce.data=Ne)),qp(V,e,k,a,G)}lm(V,t)})}function ts(e,t,a){return{instance:e,listener:t,currentTarget:a}}function ji(e,t){for(var a=t+&quot;Capture&quot;,n=[];e!==null;){var s=e,i=s.stateNode;if(s=s.tag,s!==5&amp;&amp;s!==26&amp;&amp;s!==27||i===null||(s=Nn(e,a),s!=null&amp;&amp;n.unshift(ts(e,s,i)),s=Nn(e,t),s!=null&amp;&amp;n.push(ts(e,s,i))),e.tag===3)return n;e=e.return}return[]}function Yp(e){if(e===null)return null;do e=e.return;while(e&amp;&amp;e.tag!==5&amp;&amp;e.tag!==27);return e||null}function sm(e,t,a,n,s){for(var i=t._reactName,d=[];a!==null&amp;&amp;a!==n;){var h=a,N=h.alternate,k=h.stateNode;if(h=h.tag,N!==null&amp;&amp;N===n)break;h!==5&amp;&amp;h!==26&amp;&amp;h!==27||k===null||(N=k,s?(k=Nn(a,i),k!=null&amp;&amp;d.unshift(ts(a,k,N))):s||(k=Nn(a,i),k!=null&amp;&amp;d.push(ts(a,k,N)))),a=a.return}d.length!==0&amp;&amp;e.push({event:t,listeners:d})}var Vp=/\r\n?/g,$p=/\u0000|\uFFFD/g;function im(e){return(typeof e==&quot;string&quot;?e:&quot;&quot;+e).replace(Vp,`
`).replace($p,&quot;&quot;)}function rm(e,t){return t=im(t),im(e)===t}function qe(e,t,a,n,s,i){switch(a){case&quot;children&quot;:typeof n==&quot;string&quot;?t===&quot;body&quot;||t===&quot;textarea&quot;&amp;&amp;n===&quot;&quot;||Al(e,n):(typeof n==&quot;number&quot;||typeof n==&quot;bigint&quot;)&amp;&amp;t!==&quot;body&quot;&amp;&amp;Al(e,&quot;&quot;+n);break;case&quot;className&quot;:_s(e,&quot;class&quot;,n);break;case&quot;tabIndex&quot;:_s(e,&quot;tabindex&quot;,n);break;case&quot;dir&quot;:case&quot;role&quot;:case&quot;viewBox&quot;:case&quot;width&quot;:case&quot;height&quot;:_s(e,a,n);break;case&quot;style&quot;:so(e,n,i);break;case&quot;data&quot;:if(t!==&quot;object&quot;){_s(e,&quot;data&quot;,n);break}case&quot;src&quot;:case&quot;href&quot;:if(n===&quot;&quot;&amp;&amp;(t!==&quot;a&quot;||a!==&quot;href&quot;)){e.removeAttribute(a);break}if(n==null||typeof n==&quot;function&quot;||typeof n==&quot;symbol&quot;||typeof n==&quot;boolean&quot;){e.removeAttribute(a);break}n=Es(&quot;&quot;+n),e.setAttribute(a,n);break;case&quot;action&quot;:case&quot;formAction&quot;:if(typeof n==&quot;function&quot;){e.setAttribute(a,&quot;javascript:throw new Error(&#039;A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\&#039;re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().&#039;)&quot;);break}else typeof i==&quot;function&quot;&amp;&amp;(a===&quot;formAction&quot;?(t!==&quot;input&quot;&amp;&amp;qe(e,t,&quot;name&quot;,s.name,s,null),qe(e,t,&quot;formEncType&quot;,s.formEncType,s,null),qe(e,t,&quot;formMethod&quot;,s.formMethod,s,null),qe(e,t,&quot;formTarget&quot;,s.formTarget,s,null)):(qe(e,t,&quot;encType&quot;,s.encType,s,null),qe(e,t,&quot;method&quot;,s.method,s,null),qe(e,t,&quot;target&quot;,s.target,s,null)));if(n==null||typeof n==&quot;symbol&quot;||typeof n==&quot;boolean&quot;){e.removeAttribute(a);break}n=Es(&quot;&quot;+n),e.setAttribute(a,n);break;case&quot;onClick&quot;:n!=null&amp;&amp;(e.onclick=oa);break;case&quot;onScroll&quot;:n!=null&amp;&amp;Ee(&quot;scroll&quot;,e);break;case&quot;onScrollEnd&quot;:n!=null&amp;&amp;Ee(&quot;scrollend&quot;,e);break;case&quot;dangerouslySetInnerHTML&quot;:if(n!=null){if(typeof n!=&quot;object&quot;||!(&quot;__html&quot;in n))throw Error(c(61));if(a=n.__html,a!=null){if(s.children!=null)throw Error(c(60));e.innerHTML=a}}break;case&quot;multiple&quot;:e.multiple=n&amp;&amp;typeof n!=&quot;function&quot;&amp;&amp;typeof n!=&quot;symbol&quot;;break;case&quot;muted&quot;:e.muted=n&amp;&amp;typeof n!=&quot;function&quot;&amp;&amp;typeof n!=&quot;symbol&quot;;break;case&quot;suppressContentEditableWarning&quot;:case&quot;suppressHydrationWarning&quot;:case&quot;defaultValue&quot;:case&quot;defaultChecked&quot;:case&quot;innerHTML&quot;:case&quot;ref&quot;:break;case&quot;autoFocus&quot;:break;case&quot;xlinkHref&quot;:if(n==null||typeof n==&quot;function&quot;||typeof n==&quot;boolean&quot;||typeof n==&quot;symbol&quot;){e.removeAttribute(&quot;xlink:href&quot;);break}a=Es(&quot;&quot;+n),e.setAttributeNS(&quot;http://www.w3.org/1999/xlink&quot;,&quot;xlink:href&quot;,a);break;case&quot;contentEditable&quot;:case&quot;spellCheck&quot;:case&quot;draggable&quot;:case&quot;value&quot;:case&quot;autoReverse&quot;:case&quot;externalResourcesRequired&quot;:case&quot;focusable&quot;:case&quot;preserveAlpha&quot;:n!=null&amp;&amp;typeof n!=&quot;function&quot;&amp;&amp;typeof n!=&quot;symbol&quot;?e.setAttribute(a,&quot;&quot;+n):e.removeAttribute(a);break;case&quot;inert&quot;:case&quot;allowFullScreen&quot;:case&quot;async&quot;:case&quot;autoPlay&quot;:case&quot;controls&quot;:case&quot;default&quot;:case&quot;defer&quot;:case&quot;disabled&quot;:case&quot;disablePictureInPicture&quot;:case&quot;disableRemotePlayback&quot;:case&quot;formNoValidate&quot;:case&quot;hidden&quot;:case&quot;loop&quot;:case&quot;noModule&quot;:case&quot;noValidate&quot;:case&quot;open&quot;:case&quot;playsInline&quot;:case&quot;readOnly&quot;:case&quot;required&quot;:case&quot;reversed&quot;:case&quot;scoped&quot;:case&quot;seamless&quot;:case&quot;itemScope&quot;:n&amp;&amp;typeof n!=&quot;function&quot;&amp;&amp;typeof n!=&quot;symbol&quot;?e.setAttribute(a,&quot;&quot;):e.removeAttribute(a);break;case&quot;capture&quot;:case&quot;download&quot;:n===!0?e.setAttribute(a,&quot;&quot;):n!==!1&amp;&amp;n!=null&amp;&amp;typeof n!=&quot;function&quot;&amp;&amp;typeof n!=&quot;symbol&quot;?e.setAttribute(a,n):e.removeAttribute(a);break;case&quot;cols&quot;:case&quot;rows&quot;:case&quot;size&quot;:case&quot;span&quot;:n!=null&amp;&amp;typeof n!=&quot;function&quot;&amp;&amp;typeof n!=&quot;symbol&quot;&amp;&amp;!isNaN(n)&amp;&amp;1&lt;=n?e.setAttribute(a,n):e.removeAttribute(a);break;case&quot;rowSpan&quot;:case&quot;start&quot;:n==null||typeof n==&quot;function&quot;||typeof n==&quot;symbol&quot;||isNaN(n)?e.removeAttribute(a):e.setAttribute(a,n);break;case&quot;popover&quot;:Ee(&quot;beforetoggle&quot;,e),Ee(&quot;toggle&quot;,e),Ss(e,&quot;popover&quot;,n);break;case&quot;xlinkActuate&quot;:ca(e,&quot;http://www.w3.org/1999/xlink&quot;,&quot;xlink:actuate&quot;,n);break;case&quot;xlinkArcrole&quot;:ca(e,&quot;http://www.w3.org/1999/xlink&quot;,&quot;xlink:arcrole&quot;,n);break;case&quot;xlinkRole&quot;:ca(e,&quot;http://www.w3.org/1999/xlink&quot;,&quot;xlink:role&quot;,n);break;case&quot;xlinkShow&quot;:ca(e,&quot;http://www.w3.org/1999/xlink&quot;,&quot;xlink:show&quot;,n);break;case&quot;xlinkTitle&quot;:ca(e,&quot;http://www.w3.org/1999/xlink&quot;,&quot;xlink:title&quot;,n);break;case&quot;xlinkType&quot;:ca(e,&quot;http://www.w3.org/1999/xlink&quot;,&quot;xlink:type&quot;,n);break;case&quot;xmlBase&quot;:ca(e,&quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xml:base&quot;,n);break;case&quot;xmlLang&quot;:ca(e,&quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xml:lang&quot;,n);break;case&quot;xmlSpace&quot;:ca(e,&quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xml:space&quot;,n);break;case&quot;is&quot;:Ss(e,&quot;is&quot;,n);break;case&quot;innerText&quot;:case&quot;textContent&quot;:break;default:(!(2&lt;a.length)||a[0]!==&quot;o&quot;&amp;&amp;a[0]!==&quot;O&quot;||a[1]!==&quot;n&quot;&amp;&amp;a[1]!==&quot;N&quot;)&amp;&amp;(a=bx.get(a)||a,Ss(e,a,n))}}function Xu(e,t,a,n,s,i){switch(a){case&quot;style&quot;:so(e,n,i);break;case&quot;dangerouslySetInnerHTML&quot;:if(n!=null){if(typeof n!=&quot;object&quot;||!(&quot;__html&quot;in n))throw Error(c(61));if(a=n.__html,a!=null){if(s.children!=null)throw Error(c(60));e.innerHTML=a}}break;case&quot;children&quot;:typeof n==&quot;string&quot;?Al(e,n):(typeof n==&quot;number&quot;||typeof n==&quot;bigint&quot;)&amp;&amp;Al(e,&quot;&quot;+n);break;case&quot;onScroll&quot;:n!=null&amp;&amp;Ee(&quot;scroll&quot;,e);break;case&quot;onScrollEnd&quot;:n!=null&amp;&amp;Ee(&quot;scrollend&quot;,e);break;case&quot;onClick&quot;:n!=null&amp;&amp;(e.onclick=oa);break;case&quot;suppressContentEditableWarning&quot;:case&quot;suppressHydrationWarning&quot;:case&quot;innerHTML&quot;:case&quot;ref&quot;:break;case&quot;innerText&quot;:case&quot;textContent&quot;:break;default:if(!Fc.hasOwnProperty(a))e:{if(a[0]===&quot;o&quot;&amp;&amp;a[1]===&quot;n&quot;&amp;&amp;(s=a.endsWith(&quot;Capture&quot;),t=a.slice(2,s?a.length-7:void 0),i=e[vt]||null,i=i!=null?i[a]:null,typeof i==&quot;function&quot;&amp;&amp;e.removeEventListener(t,i,s),typeof n==&quot;function&quot;)){typeof i!=&quot;function&quot;&amp;&amp;i!==null&amp;&amp;(a in e?e[a]=null:e.hasAttribute(a)&amp;&amp;e.removeAttribute(a)),e.addEventListener(t,n,s);break e}a in e?e[a]=n:n===!0?e.setAttribute(a,&quot;&quot;):Ss(e,a,n)}}}function mt(e,t,a){switch(t){case&quot;div&quot;:case&quot;span&quot;:case&quot;svg&quot;:case&quot;path&quot;:case&quot;a&quot;:case&quot;g&quot;:case&quot;p&quot;:case&quot;li&quot;:break;case&quot;img&quot;:Ee(&quot;error&quot;,e),Ee(&quot;load&quot;,e);var n=!1,s=!1,i;for(i in a)if(a.hasOwnProperty(i)){var d=a[i];if(d!=null)switch(i){case&quot;src&quot;:n=!0;break;case&quot;srcSet&quot;:s=!0;break;case&quot;children&quot;:case&quot;dangerouslySetInnerHTML&quot;:throw Error(c(137,t));default:qe(e,t,i,d,a,null)}}s&amp;&amp;qe(e,t,&quot;srcSet&quot;,a.srcSet,a,null),n&amp;&amp;qe(e,t,&quot;src&quot;,a.src,a,null);return;case&quot;input&quot;:Ee(&quot;invalid&quot;,e);var h=i=d=s=null,N=null,k=null;for(n in a)if(a.hasOwnProperty(n)){var G=a[n];if(G!=null)switch(n){case&quot;name&quot;:s=G;break;case&quot;type&quot;:d=G;break;case&quot;checked&quot;:N=G;break;case&quot;defaultChecked&quot;:k=G;break;case&quot;value&quot;:i=G;break;case&quot;defaultValue&quot;:h=G;break;case&quot;children&quot;:case&quot;dangerouslySetInnerHTML&quot;:if(G!=null)throw Error(c(137,t));break;default:qe(e,t,n,G,a,null)}}to(e,i,h,N,k,d,s,!1);return;case&quot;select&quot;:Ee(&quot;invalid&quot;,e),n=d=i=null;for(s in a)if(a.hasOwnProperty(s)&amp;&amp;(h=a[s],h!=null))switch(s){case&quot;value&quot;:i=h;break;case&quot;defaultValue&quot;:d=h;break;case&quot;multiple&quot;:n=h;default:qe(e,t,s,h,a,null)}t=i,a=d,e.multiple=!!n,t!=null?Cl(e,!!n,t,!1):a!=null&amp;&amp;Cl(e,!!n,a,!0);return;case&quot;textarea&quot;:Ee(&quot;invalid&quot;,e),i=s=n=null;for(d in a)if(a.hasOwnProperty(d)&amp;&amp;(h=a[d],h!=null))switch(d){case&quot;value&quot;:n=h;break;case&quot;defaultValue&quot;:s=h;break;case&quot;children&quot;:i=h;break;case&quot;dangerouslySetInnerHTML&quot;:if(h!=null)throw Error(c(91));break;default:qe(e,t,d,h,a,null)}lo(e,n,s,i);return;case&quot;option&quot;:for(N in a)if(a.hasOwnProperty(N)&amp;&amp;(n=a[N],n!=null))switch(N){case&quot;selected&quot;:e.selected=n&amp;&amp;typeof n!=&quot;function&quot;&amp;&amp;typeof n!=&quot;symbol&quot;;break;default:qe(e,t,N,n,a,null)}return;case&quot;dialog&quot;:Ee(&quot;beforetoggle&quot;,e),Ee(&quot;toggle&quot;,e),Ee(&quot;cancel&quot;,e),Ee(&quot;close&quot;,e);break;case&quot;iframe&quot;:case&quot;object&quot;:Ee(&quot;load&quot;,e);break;case&quot;video&quot;:case&quot;audio&quot;:for(n=0;n&lt;es.length;n++)Ee(es[n],e);break;case&quot;image&quot;:Ee(&quot;error&quot;,e),Ee(&quot;load&quot;,e);break;case&quot;details&quot;:Ee(&quot;toggle&quot;,e);break;case&quot;embed&quot;:case&quot;source&quot;:case&quot;link&quot;:Ee(&quot;error&quot;,e),Ee(&quot;load&quot;,e);case&quot;area&quot;:case&quot;base&quot;:case&quot;br&quot;:case&quot;col&quot;:case&quot;hr&quot;:case&quot;keygen&quot;:case&quot;meta&quot;:case&quot;param&quot;:case&quot;track&quot;:case&quot;wbr&quot;:case&quot;menuitem&quot;:for(k in a)if(a.hasOwnProperty(k)&amp;&amp;(n=a[k],n!=null))switch(k){case&quot;children&quot;:case&quot;dangerouslySetInnerHTML&quot;:throw Error(c(137,t));default:qe(e,t,k,n,a,null)}return;default:if(ir(t)){for(G in a)a.hasOwnProperty(G)&amp;&amp;(n=a[G],n!==void 0&amp;&amp;Xu(e,t,G,n,a,void 0));return}}for(h in a)a.hasOwnProperty(h)&amp;&amp;(n=a[h],n!=null&amp;&amp;qe(e,t,h,n,a,null))}function Qp(e,t,a,n){switch(t){case&quot;div&quot;:case&quot;span&quot;:case&quot;svg&quot;:case&quot;path&quot;:case&quot;a&quot;:case&quot;g&quot;:case&quot;p&quot;:case&quot;li&quot;:break;case&quot;input&quot;:var s=null,i=null,d=null,h=null,N=null,k=null,G=null;for(L in a){var V=a[L];if(a.hasOwnProperty(L)&amp;&amp;V!=null)switch(L){case&quot;checked&quot;:break;case&quot;value&quot;:break;case&quot;defaultValue&quot;:N=V;default:n.hasOwnProperty(L)||qe(e,t,L,null,n,V)}}for(var O in n){var L=n[O];if(V=a[O],n.hasOwnProperty(O)&amp;&amp;(L!=null||V!=null))switch(O){case&quot;type&quot;:i=L;break;case&quot;name&quot;:s=L;break;case&quot;checked&quot;:k=L;break;case&quot;defaultChecked&quot;:G=L;break;case&quot;value&quot;:d=L;break;case&quot;defaultValue&quot;:h=L;break;case&quot;children&quot;:case&quot;dangerouslySetInnerHTML&quot;:if(L!=null)throw Error(c(137,t));break;default:L!==V&amp;&amp;qe(e,t,O,L,n,V)}}nr(e,d,h,N,k,G,i,s);return;case&quot;select&quot;:L=d=h=O=null;for(i in a)if(N=a[i],a.hasOwnProperty(i)&amp;&amp;N!=null)switch(i){case&quot;value&quot;:break;case&quot;multiple&quot;:L=N;default:n.hasOwnProperty(i)||qe(e,t,i,null,n,N)}for(s in n)if(i=n[s],N=a[s],n.hasOwnProperty(s)&amp;&amp;(i!=null||N!=null))switch(s){case&quot;value&quot;:O=i;break;case&quot;defaultValue&quot;:h=i;break;case&quot;multiple&quot;:d=i;default:i!==N&amp;&amp;qe(e,t,s,i,n,N)}t=h,a=d,n=L,O!=null?Cl(e,!!a,O,!1):!!n!=!!a&amp;&amp;(t!=null?Cl(e,!!a,t,!0):Cl(e,!!a,a?[]:&quot;&quot;,!1));return;case&quot;textarea&quot;:L=O=null;for(h in a)if(s=a[h],a.hasOwnProperty(h)&amp;&amp;s!=null&amp;&amp;!n.hasOwnProperty(h))switch(h){case&quot;value&quot;:break;case&quot;children&quot;:break;default:qe(e,t,h,null,n,s)}for(d in n)if(s=n[d],i=a[d],n.hasOwnProperty(d)&amp;&amp;(s!=null||i!=null))switch(d){case&quot;value&quot;:O=s;break;case&quot;defaultValue&quot;:L=s;break;case&quot;children&quot;:break;case&quot;dangerouslySetInnerHTML&quot;:if(s!=null)throw Error(c(91));break;default:s!==i&amp;&amp;qe(e,t,d,s,n,i)}ao(e,O,L);return;case&quot;option&quot;:for(var ue in a)if(O=a[ue],a.hasOwnProperty(ue)&amp;&amp;O!=null&amp;&amp;!n.hasOwnProperty(ue))switch(ue){case&quot;selected&quot;:e.selected=!1;break;default:qe(e,t,ue,null,n,O)}for(N in n)if(O=n[N],L=a[N],n.hasOwnProperty(N)&amp;&amp;O!==L&amp;&amp;(O!=null||L!=null))switch(N){case&quot;selected&quot;:e.selected=O&amp;&amp;typeof O!=&quot;function&quot;&amp;&amp;typeof O!=&quot;symbol&quot;;break;default:qe(e,t,N,O,n,L)}return;case&quot;img&quot;:case&quot;link&quot;:case&quot;area&quot;:case&quot;base&quot;:case&quot;br&quot;:case&quot;col&quot;:case&quot;embed&quot;:case&quot;hr&quot;:case&quot;keygen&quot;:case&quot;meta&quot;:case&quot;param&quot;:case&quot;source&quot;:case&quot;track&quot;:case&quot;wbr&quot;:case&quot;menuitem&quot;:for(var pe in a)O=a[pe],a.hasOwnProperty(pe)&amp;&amp;O!=null&amp;&amp;!n.hasOwnProperty(pe)&amp;&amp;qe(e,t,pe,null,n,O);for(k in n)if(O=n[k],L=a[k],n.hasOwnProperty(k)&amp;&amp;O!==L&amp;&amp;(O!=null||L!=null))switch(k){case&quot;children&quot;:case&quot;dangerouslySetInnerHTML&quot;:if(O!=null)throw Error(c(137,t));break;default:qe(e,t,k,O,n,L)}return;default:if(ir(t)){for(var He in a)O=a[He],a.hasOwnProperty(He)&amp;&amp;O!==void 0&amp;&amp;!n.hasOwnProperty(He)&amp;&amp;Xu(e,t,He,void 0,n,O);for(G in n)O=n[G],L=a[G],!n.hasOwnProperty(G)||O===L||O===void 0&amp;&amp;L===void 0||Xu(e,t,G,O,n,L);return}}for(var E in a)O=a[E],a.hasOwnProperty(E)&amp;&amp;O!=null&amp;&amp;!n.hasOwnProperty(E)&amp;&amp;qe(e,t,E,null,n,O);for(V in n)O=n[V],L=a[V],!n.hasOwnProperty(V)||O===L||O==null&amp;&amp;L==null||qe(e,t,V,O,n,L)}function um(e){switch(e){case&quot;css&quot;:case&quot;script&quot;:case&quot;font&quot;:case&quot;img&quot;:case&quot;image&quot;:case&quot;input&quot;:case&quot;link&quot;:return!0;default:return!1}}function Xp(){if(typeof performance.getEntriesByType==&quot;function&quot;){for(var e=0,t=0,a=performance.getEntriesByType(&quot;resource&quot;),n=0;n&lt;a.length;n++){var s=a[n],i=s.transferSize,d=s.initiatorType,h=s.duration;if(i&amp;&amp;h&amp;&amp;um(d)){for(d=0,h=s.responseEnd,n+=1;n&lt;a.length;n++){var N=a[n],k=N.startTime;if(k&gt;h)break;var G=N.transferSize,V=N.initiatorType;G&amp;&amp;um(V)&amp;&amp;(N=N.responseEnd,d+=G*(N&lt;h?1:(h-k)/(N-k)))}if(--n,t+=8*(i+d)/(s.duration/1e3),e++,10&lt;e)break}}if(0&lt;e)return t/e/1e6}return navigator.connection&amp;&amp;(e=navigator.connection.downlink,typeof e==&quot;number&quot;)?e:5}var Zu=null,Ju=null;function yi(e){return e.nodeType===9?e:e.ownerDocument}function cm(e){switch(e){case&quot;http://www.w3.org/2000/svg&quot;:return 1;case&quot;http://www.w3.org/1998/Math/MathML&quot;:return 2;default:return 0}}function om(e,t){if(e===0)switch(t){case&quot;svg&quot;:return 1;case&quot;math&quot;:return 2;default:return 0}return e===1&amp;&amp;t===&quot;foreignObject&quot;?0:e}function Ku(e,t){return e===&quot;textarea&quot;||e===&quot;noscript&quot;||typeof t.children==&quot;string&quot;||typeof t.children==&quot;number&quot;||typeof t.children==&quot;bigint&quot;||typeof t.dangerouslySetInnerHTML==&quot;object&quot;&amp;&amp;t.dangerouslySetInnerHTML!==null&amp;&amp;t.dangerouslySetInnerHTML.__html!=null}var Fu=null;function Zp(){var e=window.event;return e&amp;&amp;e.type===&quot;popstate&quot;?e===Fu?!1:(Fu=e,!0):(Fu=null,!1)}var dm=typeof setTimeout==&quot;function&quot;?setTimeout:void 0,Jp=typeof clearTimeout==&quot;function&quot;?clearTimeout:void 0,fm=typeof Promise==&quot;function&quot;?Promise:void 0,Kp=typeof queueMicrotask==&quot;function&quot;?queueMicrotask:typeof fm&lt;&quot;u&quot;?function(e){return fm.resolve(null).then(e).catch(Fp)}:dm;function Fp(e){setTimeout(function(){throw e})}function Fa(e){return e===&quot;head&quot;}function mm(e,t){var a=t,n=0;do{var s=a.nextSibling;if(e.removeChild(a),s&amp;&amp;s.nodeType===8)if(a=s.data,a===&quot;/$&quot;||a===&quot;/&amp;&quot;){if(n===0){e.removeChild(s),rn(t);return}n--}else if(a===&quot;$&quot;||a===&quot;$?&quot;||a===&quot;$~&quot;||a===&quot;$!&quot;||a===&quot;&amp;&quot;)n++;else if(a===&quot;html&quot;)as(e.ownerDocument.documentElement);else if(a===&quot;head&quot;){a=e.ownerDocument.head,as(a);for(var i=a.firstChild;i;){var d=i.nextSibling,h=i.nodeName;i[jn]||h===&quot;SCRIPT&quot;||h===&quot;STYLE&quot;||h===&quot;LINK&quot;&amp;&amp;i.rel.toLowerCase()===&quot;stylesheet&quot;||a.removeChild(i),i=d}}else a===&quot;body&quot;&amp;&amp;as(e.ownerDocument.body);a=s}while(a);rn(t)}function hm(e,t){var a=e;e=0;do{var n=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display=&quot;none&quot;):(a.style.display=a._stashedDisplay||&quot;&quot;,a.getAttribute(&quot;style&quot;)===&quot;&quot;&amp;&amp;a.removeAttribute(&quot;style&quot;)):a.nodeType===3&amp;&amp;(t?(a._stashedText=a.nodeValue,a.nodeValue=&quot;&quot;):a.nodeValue=a._stashedText||&quot;&quot;),n&amp;&amp;n.nodeType===8)if(a=n.data,a===&quot;/$&quot;){if(e===0)break;e--}else a!==&quot;$&quot;&amp;&amp;a!==&quot;$?&quot;&amp;&amp;a!==&quot;$~&quot;&amp;&amp;a!==&quot;$!&quot;||e++;a=n}while(a)}function Wu(e){var t=e.firstChild;for(t&amp;&amp;t.nodeType===10&amp;&amp;(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case&quot;HTML&quot;:case&quot;HEAD&quot;:case&quot;BODY&quot;:Wu(a),ar(a);continue;case&quot;SCRIPT&quot;:case&quot;STYLE&quot;:continue;case&quot;LINK&quot;:if(a.rel.toLowerCase()===&quot;stylesheet&quot;)continue}e.removeChild(a)}}function Wp(e,t,a,n){for(;e.nodeType===1;){var s=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!n&amp;&amp;(e.nodeName!==&quot;INPUT&quot;||e.type!==&quot;hidden&quot;))break}else if(n){if(!e[jn])switch(t){case&quot;meta&quot;:if(!e.hasAttribute(&quot;itemprop&quot;))break;return e;case&quot;link&quot;:if(i=e.getAttribute(&quot;rel&quot;),i===&quot;stylesheet&quot;&amp;&amp;e.hasAttribute(&quot;data-precedence&quot;))break;if(i!==s.rel||e.getAttribute(&quot;href&quot;)!==(s.href==null||s.href===&quot;&quot;?null:s.href)||e.getAttribute(&quot;crossorigin&quot;)!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute(&quot;title&quot;)!==(s.title==null?null:s.title))break;return e;case&quot;style&quot;:if(e.hasAttribute(&quot;data-precedence&quot;))break;return e;case&quot;script&quot;:if(i=e.getAttribute(&quot;src&quot;),(i!==(s.src==null?null:s.src)||e.getAttribute(&quot;type&quot;)!==(s.type==null?null:s.type)||e.getAttribute(&quot;crossorigin&quot;)!==(s.crossOrigin==null?null:s.crossOrigin))&amp;&amp;i&amp;&amp;e.hasAttribute(&quot;async&quot;)&amp;&amp;!e.hasAttribute(&quot;itemprop&quot;))break;return e;default:return e}}else if(t===&quot;input&quot;&amp;&amp;e.type===&quot;hidden&quot;){var i=s.name==null?null:&quot;&quot;+s.name;if(s.type===&quot;hidden&quot;&amp;&amp;e.getAttribute(&quot;name&quot;)===i)return e}else return e;if(e=Xt(e.nextSibling),e===null)break}return null}function Ip(e,t,a){if(t===&quot;&quot;)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==&quot;INPUT&quot;||e.type!==&quot;hidden&quot;)&amp;&amp;!a||(e=Xt(e.nextSibling),e===null))return null;return e}function xm(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==&quot;INPUT&quot;||e.type!==&quot;hidden&quot;)&amp;&amp;!t||(e=Xt(e.nextSibling),e===null))return null;return e}function Iu(e){return e.data===&quot;$?&quot;||e.data===&quot;$~&quot;}function Pu(e){return e.data===&quot;$!&quot;||e.data===&quot;$?&quot;&amp;&amp;e.ownerDocument.readyState!==&quot;loading&quot;}function Pp(e,t){var a=e.ownerDocument;if(e.data===&quot;$~&quot;)e._reactRetry=t;else if(e.data!==&quot;$?&quot;||a.readyState!==&quot;loading&quot;)t();else{var n=function(){t(),a.removeEventListener(&quot;DOMContentLoaded&quot;,n)};a.addEventListener(&quot;DOMContentLoaded&quot;,n),e._reactRetry=n}}function Xt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===&quot;$&quot;||t===&quot;$!&quot;||t===&quot;$?&quot;||t===&quot;$~&quot;||t===&quot;&amp;&quot;||t===&quot;F!&quot;||t===&quot;F&quot;)break;if(t===&quot;/$&quot;||t===&quot;/&amp;&quot;)return null}}return e}var ec=null;function pm(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===&quot;/$&quot;||a===&quot;/&amp;&quot;){if(t===0)return Xt(e.nextSibling);t--}else a!==&quot;$&quot;&amp;&amp;a!==&quot;$!&quot;&amp;&amp;a!==&quot;$?&quot;&amp;&amp;a!==&quot;$~&quot;&amp;&amp;a!==&quot;&amp;&quot;||t++}e=e.nextSibling}return null}function gm(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===&quot;$&quot;||a===&quot;$!&quot;||a===&quot;$?&quot;||a===&quot;$~&quot;||a===&quot;&amp;&quot;){if(t===0)return e;t--}else a!==&quot;/$&quot;&amp;&amp;a!==&quot;/&amp;&quot;||t++}e=e.previousSibling}return null}function bm(e,t,a){switch(t=yi(a),e){case&quot;html&quot;:if(e=t.documentElement,!e)throw Error(c(452));return e;case&quot;head&quot;:if(e=t.head,!e)throw Error(c(453));return e;case&quot;body&quot;:if(e=t.body,!e)throw Error(c(454));return e;default:throw Error(c(451))}}function as(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ar(e)}var Zt=new Map,vm=new Set;function Ni(e){return typeof e.getRootNode==&quot;function&quot;?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Ea=J.d;J.d={f:eg,r:tg,D:ag,C:lg,L:ng,m:sg,X:rg,S:ig,M:ug};function eg(){var e=Ea.f(),t=mi();return e||t}function tg(e){var t=wl(e);t!==null&amp;&amp;t.tag===5&amp;&amp;t.type===&quot;form&quot;?Dd(t):Ea.r(e)}var ln=typeof document&gt;&quot;u&quot;?null:document;function jm(e,t,a){var n=ln;if(n&amp;&amp;typeof t==&quot;string&quot;&amp;&amp;t){var s=Ht(t);s=&#039;link[rel=&quot;&#039;+e+&#039;&quot;][href=&quot;&#039;+s+&#039;&quot;]&#039;,typeof a==&quot;string&quot;&amp;&amp;(s+=&#039;[crossorigin=&quot;&#039;+a+&#039;&quot;]&#039;),vm.has(s)||(vm.add(s),e={rel:e,crossOrigin:a,href:t},n.querySelector(s)===null&amp;&amp;(t=n.createElement(&quot;link&quot;),mt(t,&quot;link&quot;,e),st(t),n.head.appendChild(t)))}}function ag(e){Ea.D(e),jm(&quot;dns-prefetch&quot;,e,null)}function lg(e,t){Ea.C(e,t),jm(&quot;preconnect&quot;,e,t)}function ng(e,t,a){Ea.L(e,t,a);var n=ln;if(n&amp;&amp;e&amp;&amp;t){var s=&#039;link[rel=&quot;preload&quot;][as=&quot;&#039;+Ht(t)+&#039;&quot;]&#039;;t===&quot;image&quot;&amp;&amp;a&amp;&amp;a.imageSrcSet?(s+=&#039;[imagesrcset=&quot;&#039;+Ht(a.imageSrcSet)+&#039;&quot;]&#039;,typeof a.imageSizes==&quot;string&quot;&amp;&amp;(s+=&#039;[imagesizes=&quot;&#039;+Ht(a.imageSizes)+&#039;&quot;]&#039;)):s+=&#039;[href=&quot;&#039;+Ht(e)+&#039;&quot;]&#039;;var i=s;switch(t){case&quot;style&quot;:i=nn(e);break;case&quot;script&quot;:i=sn(e)}Zt.has(i)||(e=y({rel:&quot;preload&quot;,href:t===&quot;image&quot;&amp;&amp;a&amp;&amp;a.imageSrcSet?void 0:e,as:t},a),Zt.set(i,e),n.querySelector(s)!==null||t===&quot;style&quot;&amp;&amp;n.querySelector(ls(i))||t===&quot;script&quot;&amp;&amp;n.querySelector(ns(i))||(t=n.createElement(&quot;link&quot;),mt(t,&quot;link&quot;,e),st(t),n.head.appendChild(t)))}}function sg(e,t){Ea.m(e,t);var a=ln;if(a&amp;&amp;e){var n=t&amp;&amp;typeof t.as==&quot;string&quot;?t.as:&quot;script&quot;,s=&#039;link[rel=&quot;modulepreload&quot;][as=&quot;&#039;+Ht(n)+&#039;&quot;][href=&quot;&#039;+Ht(e)+&#039;&quot;]&#039;,i=s;switch(n){case&quot;audioworklet&quot;:case&quot;paintworklet&quot;:case&quot;serviceworker&quot;:case&quot;sharedworker&quot;:case&quot;worker&quot;:case&quot;script&quot;:i=sn(e)}if(!Zt.has(i)&amp;&amp;(e=y({rel:&quot;modulepreload&quot;,href:e},t),Zt.set(i,e),a.querySelector(s)===null)){switch(n){case&quot;audioworklet&quot;:case&quot;paintworklet&quot;:case&quot;serviceworker&quot;:case&quot;sharedworker&quot;:case&quot;worker&quot;:case&quot;script&quot;:if(a.querySelector(ns(i)))return}n=a.createElement(&quot;link&quot;),mt(n,&quot;link&quot;,e),st(n),a.head.appendChild(n)}}}function ig(e,t,a){Ea.S(e,t,a);var n=ln;if(n&amp;&amp;e){var s=El(n).hoistableStyles,i=nn(e);t=t||&quot;default&quot;;var d=s.get(i);if(!d){var h={loading:0,preload:null};if(d=n.querySelector(ls(i)))h.loading=5;else{e=y({rel:&quot;stylesheet&quot;,href:e,&quot;data-precedence&quot;:t},a),(a=Zt.get(i))&amp;&amp;tc(e,a);var N=d=n.createElement(&quot;link&quot;);st(N),mt(N,&quot;link&quot;,e),N._p=new Promise(function(k,G){N.onload=k,N.onerror=G}),N.addEventListener(&quot;load&quot;,function(){h.loading|=1}),N.addEventListener(&quot;error&quot;,function(){h.loading|=2}),h.loading|=4,Si(d,t,n)}d={type:&quot;stylesheet&quot;,instance:d,count:1,state:h},s.set(i,d)}}}function rg(e,t){Ea.X(e,t);var a=ln;if(a&amp;&amp;e){var n=El(a).hoistableScripts,s=sn(e),i=n.get(s);i||(i=a.querySelector(ns(s)),i||(e=y({src:e,async:!0},t),(t=Zt.get(s))&amp;&amp;ac(e,t),i=a.createElement(&quot;script&quot;),st(i),mt(i,&quot;link&quot;,e),a.head.appendChild(i)),i={type:&quot;script&quot;,instance:i,count:1,state:null},n.set(s,i))}}function ug(e,t){Ea.M(e,t);var a=ln;if(a&amp;&amp;e){var n=El(a).hoistableScripts,s=sn(e),i=n.get(s);i||(i=a.querySelector(ns(s)),i||(e=y({src:e,async:!0,type:&quot;module&quot;},t),(t=Zt.get(s))&amp;&amp;ac(e,t),i=a.createElement(&quot;script&quot;),st(i),mt(i,&quot;link&quot;,e),a.head.appendChild(i)),i={type:&quot;script&quot;,instance:i,count:1,state:null},n.set(s,i))}}function ym(e,t,a,n){var s=(s=xe.current)?Ni(s):null;if(!s)throw Error(c(446));switch(e){case&quot;meta&quot;:case&quot;title&quot;:return null;case&quot;style&quot;:return typeof a.precedence==&quot;string&quot;&amp;&amp;typeof a.href==&quot;string&quot;?(t=nn(a.href),a=El(s).hoistableStyles,n=a.get(t),n||(n={type:&quot;style&quot;,instance:null,count:0,state:null},a.set(t,n)),n):{type:&quot;void&quot;,instance:null,count:0,state:null};case&quot;link&quot;:if(a.rel===&quot;stylesheet&quot;&amp;&amp;typeof a.href==&quot;string&quot;&amp;&amp;typeof a.precedence==&quot;string&quot;){e=nn(a.href);var i=El(s).hoistableStyles,d=i.get(e);if(d||(s=s.ownerDocument||s,d={type:&quot;stylesheet&quot;,instance:null,count:0,state:{loading:0,preload:null}},i.set(e,d),(i=s.querySelector(ls(e)))&amp;&amp;!i._p&amp;&amp;(d.instance=i,d.state.loading=5),Zt.has(e)||(a={rel:&quot;preload&quot;,as:&quot;style&quot;,href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Zt.set(e,a),i||cg(s,e,a,d.state))),t&amp;&amp;n===null)throw Error(c(528,&quot;&quot;));return d}if(t&amp;&amp;n!==null)throw Error(c(529,&quot;&quot;));return null;case&quot;script&quot;:return t=a.async,a=a.src,typeof a==&quot;string&quot;&amp;&amp;t&amp;&amp;typeof t!=&quot;function&quot;&amp;&amp;typeof t!=&quot;symbol&quot;?(t=sn(a),a=El(s).hoistableScripts,n=a.get(t),n||(n={type:&quot;script&quot;,instance:null,count:0,state:null},a.set(t,n)),n):{type:&quot;void&quot;,instance:null,count:0,state:null};default:throw Error(c(444,e))}}function nn(e){return&#039;href=&quot;&#039;+Ht(e)+&#039;&quot;&#039;}function ls(e){return&#039;link[rel=&quot;stylesheet&quot;][&#039;+e+&quot;]&quot;}function Nm(e){return y({},e,{&quot;data-precedence&quot;:e.precedence,precedence:null})}function cg(e,t,a,n){e.querySelector(&#039;link[rel=&quot;preload&quot;][as=&quot;style&quot;][&#039;+t+&quot;]&quot;)?n.loading=1:(t=e.createElement(&quot;link&quot;),n.preload=t,t.addEventListener(&quot;load&quot;,function(){return n.loading|=1}),t.addEventListener(&quot;error&quot;,function(){return n.loading|=2}),mt(t,&quot;link&quot;,a),st(t),e.head.appendChild(t))}function sn(e){return&#039;[src=&quot;&#039;+Ht(e)+&#039;&quot;]&#039;}function ns(e){return&quot;script[async]&quot;+e}function Sm(e,t,a){if(t.count++,t.instance===null)switch(t.type){case&quot;style&quot;:var n=e.querySelector(&#039;style[data-href~=&quot;&#039;+Ht(a.href)+&#039;&quot;]&#039;);if(n)return t.instance=n,st(n),n;var s=y({},a,{&quot;data-href&quot;:a.href,&quot;data-precedence&quot;:a.precedence,href:null,precedence:null});return n=(e.ownerDocument||e).createElement(&quot;style&quot;),st(n),mt(n,&quot;style&quot;,s),Si(n,a.precedence,e),t.instance=n;case&quot;stylesheet&quot;:s=nn(a.href);var i=e.querySelector(ls(s));if(i)return t.state.loading|=4,t.instance=i,st(i),i;n=Nm(a),(s=Zt.get(s))&amp;&amp;tc(n,s),i=(e.ownerDocument||e).createElement(&quot;link&quot;),st(i);var d=i;return d._p=new Promise(function(h,N){d.onload=h,d.onerror=N}),mt(i,&quot;link&quot;,n),t.state.loading|=4,Si(i,a.precedence,e),t.instance=i;case&quot;script&quot;:return i=sn(a.src),(s=e.querySelector(ns(i)))?(t.instance=s,st(s),s):(n=a,(s=Zt.get(i))&amp;&amp;(n=y({},a),ac(n,s)),e=e.ownerDocument||e,s=e.createElement(&quot;script&quot;),st(s),mt(s,&quot;link&quot;,n),e.head.appendChild(s),t.instance=s);case&quot;void&quot;:return null;default:throw Error(c(443,t.type))}else t.type===&quot;stylesheet&quot;&amp;&amp;(t.state.loading&amp;4)===0&amp;&amp;(n=t.instance,t.state.loading|=4,Si(n,a.precedence,e));return t.instance}function Si(e,t,a){for(var n=a.querySelectorAll(&#039;link[rel=&quot;stylesheet&quot;][data-precedence],style[data-precedence]&#039;),s=n.length?n[n.length-1]:null,i=s,d=0;d&lt;n.length;d++){var h=n[d];if(h.dataset.precedence===t)i=h;else if(i!==s)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function tc(e,t){e.crossOrigin==null&amp;&amp;(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&amp;&amp;(e.referrerPolicy=t.referrerPolicy),e.title==null&amp;&amp;(e.title=t.title)}function ac(e,t){e.crossOrigin==null&amp;&amp;(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&amp;&amp;(e.referrerPolicy=t.referrerPolicy),e.integrity==null&amp;&amp;(e.integrity=t.integrity)}var _i=null;function _m(e,t,a){if(_i===null){var n=new Map,s=_i=new Map;s.set(a,n)}else s=_i,n=s.get(a),n||(n=new Map,s.set(a,n));if(n.has(e))return n;for(n.set(e,null),a=a.getElementsByTagName(e),s=0;s&lt;a.length;s++){var i=a[s];if(!(i[jn]||i[ct]||e===&quot;link&quot;&amp;&amp;i.getAttribute(&quot;rel&quot;)===&quot;stylesheet&quot;)&amp;&amp;i.namespaceURI!==&quot;http://www.w3.org/2000/svg&quot;){var d=i.getAttribute(t)||&quot;&quot;;d=e+d;var h=n.get(d);h?h.push(i):n.set(d,[i])}}return n}function wm(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t===&quot;title&quot;?e.querySelector(&quot;head &gt; title&quot;):null)}function og(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case&quot;meta&quot;:case&quot;title&quot;:return!0;case&quot;style&quot;:if(typeof t.precedence!=&quot;string&quot;||typeof t.href!=&quot;string&quot;||t.href===&quot;&quot;)break;return!0;case&quot;link&quot;:if(typeof t.rel!=&quot;string&quot;||typeof t.href!=&quot;string&quot;||t.href===&quot;&quot;||t.onLoad||t.onError)break;switch(t.rel){case&quot;stylesheet&quot;:return e=t.disabled,typeof t.precedence==&quot;string&quot;&amp;&amp;e==null;default:return!0}case&quot;script&quot;:if(t.async&amp;&amp;typeof t.async!=&quot;function&quot;&amp;&amp;typeof t.async!=&quot;symbol&quot;&amp;&amp;!t.onLoad&amp;&amp;!t.onError&amp;&amp;t.src&amp;&amp;typeof t.src==&quot;string&quot;)return!0}return!1}function Em(e){return!(e.type===&quot;stylesheet&quot;&amp;&amp;(e.state.loading&amp;3)===0)}function dg(e,t,a,n){if(a.type===&quot;stylesheet&quot;&amp;&amp;(typeof n.media!=&quot;string&quot;||matchMedia(n.media).matches!==!1)&amp;&amp;(a.state.loading&amp;4)===0){if(a.instance===null){var s=nn(n.href),i=t.querySelector(ls(s));if(i){t=i._p,t!==null&amp;&amp;typeof t==&quot;object&quot;&amp;&amp;typeof t.then==&quot;function&quot;&amp;&amp;(e.count++,e=wi.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=i,st(i);return}i=t.ownerDocument||t,n=Nm(n),(s=Zt.get(s))&amp;&amp;tc(n,s),i=i.createElement(&quot;link&quot;),st(i);var d=i;d._p=new Promise(function(h,N){d.onload=h,d.onerror=N}),mt(i,&quot;link&quot;,n),a.instance=i}e.stylesheets===null&amp;&amp;(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&amp;&amp;(a.state.loading&amp;3)===0&amp;&amp;(e.count++,a=wi.bind(e),t.addEventListener(&quot;load&quot;,a),t.addEventListener(&quot;error&quot;,a))}}var lc=0;function fg(e,t){return e.stylesheets&amp;&amp;e.count===0&amp;&amp;Ti(e,e.stylesheets),0&lt;e.count||0&lt;e.imgCount?function(a){var n=setTimeout(function(){if(e.stylesheets&amp;&amp;Ti(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4+t);0&lt;e.imgBytes&amp;&amp;lc===0&amp;&amp;(lc=62500*Xp());var s=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&amp;&amp;(e.stylesheets&amp;&amp;Ti(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes&gt;lc?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(n),clearTimeout(s)}}:null}function wi(){if(this.count--,this.count===0&amp;&amp;(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ti(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Ei=null;function Ti(e,t){e.stylesheets=null,e.unsuspend!==null&amp;&amp;(e.count++,Ei=new Map,t.forEach(mg,e),Ei=null,wi.call(e))}function mg(e,t){if(!(t.state.loading&amp;4)){var a=Ei.get(e);if(a)var n=a.get(null);else{a=new Map,Ei.set(e,a);for(var s=e.querySelectorAll(&quot;link[data-precedence],style[data-precedence]&quot;),i=0;i&lt;s.length;i++){var d=s[i];(d.nodeName===&quot;LINK&quot;||d.getAttribute(&quot;media&quot;)!==&quot;not all&quot;)&amp;&amp;(a.set(d.dataset.precedence,d),n=d)}n&amp;&amp;a.set(null,n)}s=t.instance,d=s.getAttribute(&quot;data-precedence&quot;),i=a.get(d)||n,i===n&amp;&amp;a.set(null,s),a.set(d,s),this.count++,n=wi.bind(this),s.addEventListener(&quot;load&quot;,n),s.addEventListener(&quot;error&quot;,n),i?i.parentNode.insertBefore(s,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),t.state.loading|=4}}var ss={$$typeof:X,Provider:null,Consumer:null,_currentValue:W,_currentValue2:W,_threadCount:0};function hg(e,t,a,n,s,i,d,h,N){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ii(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ii(0),this.hiddenUpdates=Ii(null),this.identifierPrefix=n,this.onUncaughtError=s,this.onCaughtError=i,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=N,this.incompleteTransitions=new Map}function Tm(e,t,a,n,s,i,d,h,N,k,G,V){return e=new hg(e,t,a,d,N,k,G,V,h),t=1,i===!0&amp;&amp;(t|=24),i=zt(3,null,null,t),e.current=i,i.stateNode=e,t=Ur(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:n,isDehydrated:a,cache:t},Br(i),e}function Cm(e){return e?(e=Ul,e):Ul}function Am(e,t,a,n,s,i){s=Cm(s),n.context===null?n.context=s:n.pendingContext=s,n=Ha(t),n.payload={element:a},i=i===void 0?null:i,i!==null&amp;&amp;(n.callback=i),a=Ba(e,n,t),a!==null&amp;&amp;(wt(a,e,t),Ln(a,e,t))}function zm(e,t){if(e=e.memoizedState,e!==null&amp;&amp;e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&amp;&amp;a&lt;t?a:t}}function nc(e,t){zm(e,t),(e=e.alternate)&amp;&amp;zm(e,t)}function km(e){if(e.tag===13||e.tag===31){var t=cl(e,67108864);t!==null&amp;&amp;wt(t,e,67108864),nc(e,67108864)}}function Mm(e){if(e.tag===13||e.tag===31){var t=Dt();t=Pi(t);var a=cl(e,t);a!==null&amp;&amp;wt(a,e,t),nc(e,t)}}var Ci=!0;function xg(e,t,a,n){var s=C.T;C.T=null;var i=J.p;try{J.p=2,sc(e,t,a,n)}finally{J.p=i,C.T=s}}function pg(e,t,a,n){var s=C.T;C.T=null;var i=J.p;try{J.p=8,sc(e,t,a,n)}finally{J.p=i,C.T=s}}function sc(e,t,a,n){if(Ci){var s=ic(n);if(s===null)Qu(e,t,n,Ai,a),Rm(e,n);else if(bg(s,e,t,a,n))n.stopPropagation();else if(Rm(e,n),t&amp;4&amp;&amp;-1&lt;gg.indexOf(e)){for(;s!==null;){var i=wl(s);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var d=nl(i.pendingLanes);if(d!==0){var h=i;for(h.pendingLanes|=2,h.entangledLanes|=2;d;){var N=1&lt;&lt;31-Ct(d);h.entanglements[1]|=N,d&amp;=~N}sa(i),(Oe&amp;6)===0&amp;&amp;(di=Et()+500,Pn(0))}}break;case 31:case 13:h=cl(i,2),h!==null&amp;&amp;wt(h,i,2),mi(),nc(i,2)}if(i=ic(n),i===null&amp;&amp;Qu(e,t,n,Ai,a),i===s)break;s=i}s!==null&amp;&amp;n.stopPropagation()}else Qu(e,t,n,null,a)}}function ic(e){return e=ur(e),rc(e)}var Ai=null;function rc(e){if(Ai=null,e=_l(e),e!==null){var t=x(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=b(t),e!==null)return e;e=null}else if(a===31){if(e=p(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&amp;&amp;(e=null)}}return Ai=e,null}function Om(e){switch(e){case&quot;beforetoggle&quot;:case&quot;cancel&quot;:case&quot;click&quot;:case&quot;close&quot;:case&quot;contextmenu&quot;:case&quot;copy&quot;:case&quot;cut&quot;:case&quot;auxclick&quot;:case&quot;dblclick&quot;:case&quot;dragend&quot;:case&quot;dragstart&quot;:case&quot;drop&quot;:case&quot;focusin&quot;:case&quot;focusout&quot;:case&quot;input&quot;:case&quot;invalid&quot;:case&quot;keydown&quot;:case&quot;keypress&quot;:case&quot;keyup&quot;:case&quot;mousedown&quot;:case&quot;mouseup&quot;:case&quot;paste&quot;:case&quot;pause&quot;:case&quot;play&quot;:case&quot;pointercancel&quot;:case&quot;pointerdown&quot;:case&quot;pointerup&quot;:case&quot;ratechange&quot;:case&quot;reset&quot;:case&quot;resize&quot;:case&quot;seeked&quot;:case&quot;submit&quot;:case&quot;toggle&quot;:case&quot;touchcancel&quot;:case&quot;touchend&quot;:case&quot;touchstart&quot;:case&quot;volumechange&quot;:case&quot;change&quot;:case&quot;selectionchange&quot;:case&quot;textInput&quot;:case&quot;compositionstart&quot;:case&quot;compositionend&quot;:case&quot;compositionupdate&quot;:case&quot;beforeblur&quot;:case&quot;afterblur&quot;:case&quot;beforeinput&quot;:case&quot;blur&quot;:case&quot;fullscreenchange&quot;:case&quot;focus&quot;:case&quot;hashchange&quot;:case&quot;popstate&quot;:case&quot;select&quot;:case&quot;selectstart&quot;:return 2;case&quot;drag&quot;:case&quot;dragenter&quot;:case&quot;dragexit&quot;:case&quot;dragleave&quot;:case&quot;dragover&quot;:case&quot;mousemove&quot;:case&quot;mouseout&quot;:case&quot;mouseover&quot;:case&quot;pointermove&quot;:case&quot;pointerout&quot;:case&quot;pointerover&quot;:case&quot;scroll&quot;:case&quot;touchmove&quot;:case&quot;wheel&quot;:case&quot;mouseenter&quot;:case&quot;mouseleave&quot;:case&quot;pointerenter&quot;:case&quot;pointerleave&quot;:return 8;case&quot;message&quot;:switch(ax()){case Hc:return 2;case Bc:return 8;case bs:case lx:return 32;case Gc:return 268435456;default:return 32}default:return 32}}var uc=!1,Wa=null,Ia=null,Pa=null,is=new Map,rs=new Map,el=[],gg=&quot;mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset&quot;.split(&quot; &quot;);function Rm(e,t){switch(e){case&quot;focusin&quot;:case&quot;focusout&quot;:Wa=null;break;case&quot;dragenter&quot;:case&quot;dragleave&quot;:Ia=null;break;case&quot;mouseover&quot;:case&quot;mouseout&quot;:Pa=null;break;case&quot;pointerover&quot;:case&quot;pointerout&quot;:is.delete(t.pointerId);break;case&quot;gotpointercapture&quot;:case&quot;lostpointercapture&quot;:rs.delete(t.pointerId)}}function us(e,t,a,n,s,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:a,eventSystemFlags:n,nativeEvent:i,targetContainers:[s]},t!==null&amp;&amp;(t=wl(t),t!==null&amp;&amp;km(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,s!==null&amp;&amp;t.indexOf(s)===-1&amp;&amp;t.push(s),e)}function bg(e,t,a,n,s){switch(t){case&quot;focusin&quot;:return Wa=us(Wa,e,t,a,n,s),!0;case&quot;dragenter&quot;:return Ia=us(Ia,e,t,a,n,s),!0;case&quot;mouseover&quot;:return Pa=us(Pa,e,t,a,n,s),!0;case&quot;pointerover&quot;:var i=s.pointerId;return is.set(i,us(is.get(i)||null,e,t,a,n,s)),!0;case&quot;gotpointercapture&quot;:return i=s.pointerId,rs.set(i,us(rs.get(i)||null,e,t,a,n,s)),!0}return!1}function Dm(e){var t=_l(e.target);if(t!==null){var a=x(t);if(a!==null){if(t=a.tag,t===13){if(t=b(a),t!==null){e.blockedOn=t,Zc(e.priority,function(){Mm(a)});return}}else if(t===31){if(t=p(a),t!==null){e.blockedOn=t,Zc(e.priority,function(){Mm(a)});return}}else if(t===3&amp;&amp;a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function zi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0&lt;t.length;){var a=ic(e.nativeEvent);if(a===null){a=e.nativeEvent;var n=new a.constructor(a.type,a);rr=n,a.target.dispatchEvent(n),rr=null}else return t=wl(a),t!==null&amp;&amp;km(t),e.blockedOn=a,!1;t.shift()}return!0}function Um(e,t,a){zi(e)&amp;&amp;a.delete(t)}function vg(){uc=!1,Wa!==null&amp;&amp;zi(Wa)&amp;&amp;(Wa=null),Ia!==null&amp;&amp;zi(Ia)&amp;&amp;(Ia=null),Pa!==null&amp;&amp;zi(Pa)&amp;&amp;(Pa=null),is.forEach(Um),rs.forEach(Um)}function ki(e,t){e.blockedOn===t&amp;&amp;(e.blockedOn=null,uc||(uc=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,vg)))}var Mi=null;function Lm(e){Mi!==e&amp;&amp;(Mi=e,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){Mi===e&amp;&amp;(Mi=null);for(var t=0;t&lt;e.length;t+=3){var a=e[t],n=e[t+1],s=e[t+2];if(typeof n!=&quot;function&quot;){if(rc(n||a)===null)continue;break}var i=wl(a);i!==null&amp;&amp;(e.splice(t,3),t-=3,iu(i,{pending:!0,data:s,method:a.method,action:n},n,s))}}))}function rn(e){function t(N){return ki(N,e)}Wa!==null&amp;&amp;ki(Wa,e),Ia!==null&amp;&amp;ki(Ia,e),Pa!==null&amp;&amp;ki(Pa,e),is.forEach(t),rs.forEach(t);for(var a=0;a&lt;el.length;a++){var n=el[a];n.blockedOn===e&amp;&amp;(n.blockedOn=null)}for(;0&lt;el.length&amp;&amp;(a=el[0],a.blockedOn===null);)Dm(a),a.blockedOn===null&amp;&amp;el.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(n=0;n&lt;a.length;n+=3){var s=a[n],i=a[n+1],d=s[vt]||null;if(typeof i==&quot;function&quot;)d||Lm(a);else if(d){var h=null;if(i&amp;&amp;i.hasAttribute(&quot;formAction&quot;)){if(s=i,d=i[vt]||null)h=d.formAction;else if(rc(s)!==null)continue}else h=d.action;typeof h==&quot;function&quot;?a[n+1]=h:(a.splice(n,3),n-=3),Lm(a)}}}function qm(){function e(i){i.canIntercept&amp;&amp;i.info===&quot;react-transition&quot;&amp;&amp;i.intercept({handler:function(){return new Promise(function(d){return s=d})},focusReset:&quot;manual&quot;,scroll:&quot;manual&quot;})}function t(){s!==null&amp;&amp;(s(),s=null),n||setTimeout(a,20)}function a(){if(!n&amp;&amp;!navigation.transition){var i=navigation.currentEntry;i&amp;&amp;i.url!=null&amp;&amp;navigation.navigate(i.url,{state:i.getState(),info:&quot;react-transition&quot;,history:&quot;replace&quot;})}}if(typeof navigation==&quot;object&quot;){var n=!1,s=null;return navigation.addEventListener(&quot;navigate&quot;,e),navigation.addEventListener(&quot;navigatesuccess&quot;,t),navigation.addEventListener(&quot;navigateerror&quot;,t),setTimeout(a,100),function(){n=!0,navigation.removeEventListener(&quot;navigate&quot;,e),navigation.removeEventListener(&quot;navigatesuccess&quot;,t),navigation.removeEventListener(&quot;navigateerror&quot;,t),s!==null&amp;&amp;(s(),s=null)}}}function cc(e){this._internalRoot=e}Oi.prototype.render=cc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(c(409));var a=t.current,n=Dt();Am(a,n,e,t,null,null)},Oi.prototype.unmount=cc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Am(e.current,2,null,e,null,null),mi(),t[Sl]=null}};function Oi(e){this._internalRoot=e}Oi.prototype.unstable_scheduleHydration=function(e){if(e){var t=Xc();e={blockedOn:null,target:e,priority:t};for(var a=0;a&lt;el.length&amp;&amp;t!==0&amp;&amp;t&lt;el[a].priority;a++);el.splice(a,0,e),a===0&amp;&amp;Dm(e)}};var Hm=u.version;if(Hm!==&quot;19.2.4&quot;)throw Error(c(527,Hm,&quot;19.2.4&quot;));J.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==&quot;function&quot;?Error(c(188)):(e=Object.keys(e).join(&quot;,&quot;),Error(c(268,e)));return e=g(t),e=e!==null?S(e):null,e=e===null?null:e.stateNode,e};var jg={bundleType:0,version:&quot;19.2.4&quot;,rendererPackageName:&quot;react-dom&quot;,currentDispatcherRef:C,reconcilerVersion:&quot;19.2.4&quot;};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&lt;&quot;u&quot;){var Ri=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ri.isDisabled&amp;&amp;Ri.supportsFiber)try{gn=Ri.inject(jg),Tt=Ri}catch{}}return os.createRoot=function(e,t){if(!f(e))throw Error(c(299));var a=!1,n=&quot;&quot;,s=Qd,i=Xd,d=Zd;return t!=null&amp;&amp;(t.unstable_strictMode===!0&amp;&amp;(a=!0),t.identifierPrefix!==void 0&amp;&amp;(n=t.identifierPrefix),t.onUncaughtError!==void 0&amp;&amp;(s=t.onUncaughtError),t.onCaughtError!==void 0&amp;&amp;(i=t.onCaughtError),t.onRecoverableError!==void 0&amp;&amp;(d=t.onRecoverableError)),t=Tm(e,1,!1,null,null,a,n,null,s,i,d,qm),e[Sl]=t.current,$u(e),new cc(t)},os.hydrateRoot=function(e,t,a){if(!f(e))throw Error(c(299));var n=!1,s=&quot;&quot;,i=Qd,d=Xd,h=Zd,N=null;return a!=null&amp;&amp;(a.unstable_strictMode===!0&amp;&amp;(n=!0),a.identifierPrefix!==void 0&amp;&amp;(s=a.identifierPrefix),a.onUncaughtError!==void 0&amp;&amp;(i=a.onUncaughtError),a.onCaughtError!==void 0&amp;&amp;(d=a.onCaughtError),a.onRecoverableError!==void 0&amp;&amp;(h=a.onRecoverableError),a.formState!==void 0&amp;&amp;(N=a.formState)),t=Tm(e,1,!0,t,a??null,n,s,N,i,d,h,qm),t.context=Cm(null),a=t.current,n=Dt(),n=Pi(n),s=Ha(n),s.callback=null,Ba(a,s,n),a=n,t.current.lanes=a,vn(t,a),sa(t),e[Sl]=t.current,$u(e),new Oi(t)},os.version=&quot;19.2.4&quot;,os}var Km;function Mg(){if(Km)return mc.exports;Km=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&gt;&quot;u&quot;||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=&quot;function&quot;))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(u){console.error(u)}}return r(),mc.exports=kg(),mc.exports}var Og=Mg();/**
 * react-router v7.14.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */var Fm=&quot;popstate&quot;;function Wm(r){return typeof r==&quot;object&quot;&amp;&amp;r!=null&amp;&amp;&quot;pathname&quot;in r&amp;&amp;&quot;search&quot;in r&amp;&amp;&quot;hash&quot;in r&amp;&amp;&quot;state&quot;in r&amp;&amp;&quot;key&quot;in r}function Rg(r={}){function u(c,f){var g;let x=(g=f.state)==null?void 0:g.masked,{pathname:b,search:p,hash:j}=x||c.location;return Sc(&quot;&quot;,{pathname:b,search:p,hash:j},f.state&amp;&amp;f.state.usr||null,f.state&amp;&amp;f.state.key||&quot;default&quot;,x?{pathname:c.location.pathname,search:c.location.search,hash:c.location.hash}:void 0)}function o(c,f){return typeof f==&quot;string&quot;?f:xs(f)}return Ug(u,o,null,r)}function $e(r,u){if(r===!1||r===null||typeof r&gt;&quot;u&quot;)throw new Error(u)}function Pt(r,u){if(!r){typeof console&lt;&quot;u&quot;&amp;&amp;console.warn(u);try{throw new Error(u)}catch{}}}function Dg(){return Math.random().toString(36).substring(2,10)}function Im(r,u){return{usr:r.state,key:r.key,idx:u,masked:r.unstable_mask?{pathname:r.pathname,search:r.search,hash:r.hash}:void 0}}function Sc(r,u,o=null,c,f){return{pathname:typeof r==&quot;string&quot;?r:r.pathname,search:&quot;&quot;,hash:&quot;&quot;,...typeof u==&quot;string&quot;?dn(u):u,state:o,key:u&amp;&amp;u.key||c||Dg(),unstable_mask:f}}function xs({pathname:r=&quot;/&quot;,search:u=&quot;&quot;,hash:o=&quot;&quot;}){return u&amp;&amp;u!==&quot;?&quot;&amp;&amp;(r+=u.charAt(0)===&quot;?&quot;?u:&quot;?&quot;+u),o&amp;&amp;o!==&quot;#&quot;&amp;&amp;(r+=o.charAt(0)===&quot;#&quot;?o:&quot;#&quot;+o),r}function dn(r){let u={};if(r){let o=r.indexOf(&quot;#&quot;);o&gt;=0&amp;&amp;(u.hash=r.substring(o),r=r.substring(0,o));let c=r.indexOf(&quot;?&quot;);c&gt;=0&amp;&amp;(u.search=r.substring(c),r=r.substring(0,c)),r&amp;&amp;(u.pathname=r)}return u}function Ug(r,u,o,c={}){let{window:f=document.defaultView,v5Compat:x=!1}=c,b=f.history,p=&quot;POP&quot;,j=null,g=S();g==null&amp;&amp;(g=0,b.replaceState({...b.state,idx:g},&quot;&quot;));function S(){return(b.state||{idx:null}).idx}function y(){p=&quot;POP&quot;;let U=S(),q=U==null?null:U-g;g=U,j&amp;&amp;j({action:p,location:R.location,delta:q})}function T(U,q){p=&quot;PUSH&quot;;let K=Wm(U)?U:Sc(R.location,U,q);g=S()+1;let X=Im(K,g),le=R.createHref(K.unstable_mask||K);try{b.pushState(X,&quot;&quot;,le)}catch(P){if(P instanceof DOMException&amp;&amp;P.name===&quot;DataCloneError&quot;)throw P;f.location.assign(le)}x&amp;&amp;j&amp;&amp;j({action:p,location:R.location,delta:1})}function D(U,q){p=&quot;REPLACE&quot;;let K=Wm(U)?U:Sc(R.location,U,q);g=S();let X=Im(K,g),le=R.createHref(K.unstable_mask||K);b.replaceState(X,&quot;&quot;,le),x&amp;&amp;j&amp;&amp;j({action:p,location:R.location,delta:0})}function M(U){return Lg(U)}let R={get action(){return p},get location(){return r(f,b)},listen(U){if(j)throw new Error(&quot;A history only accepts one active listener&quot;);return f.addEventListener(Fm,y),j=U,()=&gt;{f.removeEventListener(Fm,y),j=null}},createHref(U){return u(f,U)},createURL:M,encodeLocation(U){let q=M(U);return{pathname:q.pathname,search:q.search,hash:q.hash}},push:T,replace:D,go(U){return b.go(U)}};return R}function Lg(r,u=!1){let o=&quot;http://localhost&quot;;typeof window&lt;&quot;u&quot;&amp;&amp;(o=window.location.origin!==&quot;null&quot;?window.location.origin:window.location.href),$e(o,&quot;No window.location.(origin|href) available to create URL&quot;);let c=typeof r==&quot;string&quot;?r:xs(r);return c=c.replace(/ $/,&quot;%20&quot;),!u&amp;&amp;c.startsWith(&quot;//&quot;)&amp;&amp;(c=o+c),new URL(c,o)}function hh(r,u,o=&quot;/&quot;){return qg(r,u,o,!1)}function qg(r,u,o,c){let f=typeof u==&quot;string&quot;?dn(u):u,x=Ca(f.pathname||&quot;/&quot;,o);if(x==null)return null;let b=xh(r);Hg(b);let p=null;for(let j=0;p==null&amp;&amp;j&lt;b.length;++j){let g=Fg(x);p=Jg(b[j],g,c)}return p}function xh(r,u=[],o=[],c=&quot;&quot;,f=!1){let x=(b,p,j=f,g)=&gt;{let S={relativePath:g===void 0?b.path||&quot;&quot;:g,caseSensitive:b.caseSensitive===!0,childrenIndex:p,route:b};if(S.relativePath.startsWith(&quot;/&quot;)){if(!S.relativePath.startsWith(c)&amp;&amp;j)return;$e(S.relativePath.startsWith(c),`Absolute route path &quot;${S.relativePath}&quot; nested under path &quot;${c}&quot; is not valid. An absolute child route path must start with the combined path of all its parent routes.`),S.relativePath=S.relativePath.slice(c.length)}let y=ra([c,S.relativePath]),T=o.concat(S);b.children&amp;&amp;b.children.length&gt;0&amp;&amp;($e(b.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path &quot;${y}&quot;.`),xh(b.children,u,T,y,j)),!(b.path==null&amp;&amp;!b.index)&amp;&amp;u.push({path:y,score:Xg(y,b.index),routesMeta:T})};return r.forEach((b,p)=&gt;{var j;if(b.path===&quot;&quot;||!((j=b.path)!=null&amp;&amp;j.includes(&quot;?&quot;)))x(b,p);else for(let g of ph(b.path))x(b,p,!0,g)}),u}function ph(r){let u=r.split(&quot;/&quot;);if(u.length===0)return[];let[o,...c]=u,f=o.endsWith(&quot;?&quot;),x=o.replace(/\?$/,&quot;&quot;);if(c.length===0)return f?[x,&quot;&quot;]:[x];let b=ph(c.join(&quot;/&quot;)),p=[];return p.push(...b.map(j=&gt;j===&quot;&quot;?x:[x,j].join(&quot;/&quot;))),f&amp;&amp;p.push(...b),p.map(j=&gt;r.startsWith(&quot;/&quot;)&amp;&amp;j===&quot;&quot;?&quot;/&quot;:j)}function Hg(r){r.sort((u,o)=&gt;u.score!==o.score?o.score-u.score:Zg(u.routesMeta.map(c=&gt;c.childrenIndex),o.routesMeta.map(c=&gt;c.childrenIndex)))}var Bg=/^:[\w-]+$/,Gg=3,Yg=2,Vg=1,$g=10,Qg=-2,Pm=r=&gt;r===&quot;*&quot;;function Xg(r,u){let o=r.split(&quot;/&quot;),c=o.length;return o.some(Pm)&amp;&amp;(c+=Qg),u&amp;&amp;(c+=Yg),o.filter(f=&gt;!Pm(f)).reduce((f,x)=&gt;f+(Bg.test(x)?Gg:x===&quot;&quot;?Vg:$g),c)}function Zg(r,u){return r.length===u.length&amp;&amp;r.slice(0,-1).every((c,f)=&gt;c===u[f])?r[r.length-1]-u[u.length-1]:0}function Jg(r,u,o=!1){let{routesMeta:c}=r,f={},x=&quot;/&quot;,b=[];for(let p=0;p&lt;c.length;++p){let j=c[p],g=p===c.length-1,S=x===&quot;/&quot;?u:u.slice(x.length)||&quot;/&quot;,y=Bi({path:j.relativePath,caseSensitive:j.caseSensitive,end:g},S),T=j.route;if(!y&amp;&amp;g&amp;&amp;o&amp;&amp;!c[c.length-1].route.index&amp;&amp;(y=Bi({path:j.relativePath,caseSensitive:j.caseSensitive,end:!1},S)),!y)return null;Object.assign(f,y.params),b.push({params:f,pathname:ra([x,y.pathname]),pathnameBase:eb(ra([x,y.pathnameBase])),route:T}),y.pathnameBase!==&quot;/&quot;&amp;&amp;(x=ra([x,y.pathnameBase]))}return b}function Bi(r,u){typeof r==&quot;string&quot;&amp;&amp;(r={path:r,caseSensitive:!1,end:!0});let[o,c]=Kg(r.path,r.caseSensitive,r.end),f=u.match(o);if(!f)return null;let x=f[0],b=x.replace(/(.)\/+$/,&quot;$1&quot;),p=f.slice(1);return{params:c.reduce((g,{paramName:S,isOptional:y},T)=&gt;{if(S===&quot;*&quot;){let M=p[T]||&quot;&quot;;b=x.slice(0,x.length-M.length).replace(/(.)\/+$/,&quot;$1&quot;)}const D=p[T];return y&amp;&amp;!D?g[S]=void 0:g[S]=(D||&quot;&quot;).replace(/%2F/g,&quot;/&quot;),g},{}),pathname:x,pathnameBase:b,pattern:r}}function Kg(r,u=!1,o=!0){Pt(r===&quot;*&quot;||!r.endsWith(&quot;*&quot;)||r.endsWith(&quot;/*&quot;),`Route path &quot;${r}&quot; will be treated as if it were &quot;${r.replace(/\*$/,&quot;/*&quot;)}&quot; because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to &quot;${r.replace(/\*$/,&quot;/*&quot;)}&quot;.`);let c=[],f=&quot;^&quot;+r.replace(/\/*\*?$/,&quot;&quot;).replace(/^\/*/,&quot;/&quot;).replace(/[\\.*+^${}|()[\]]/g,&quot;\\$&amp;&quot;).replace(/\/:([\w-]+)(\?)?/g,(b,p,j,g,S)=&gt;{if(c.push({paramName:p,isOptional:j!=null}),j){let y=S.charAt(g+b.length);return y&amp;&amp;y!==&quot;/&quot;?&quot;/([^\\/]*)&quot;:&quot;(?:/([^\\/]*))?&quot;}return&quot;/([^\\/]+)&quot;}).replace(/\/([\w-]+)\?(\/|$)/g,&quot;(/$1)?$2&quot;);return r.endsWith(&quot;*&quot;)?(c.push({paramName:&quot;*&quot;}),f+=r===&quot;*&quot;||r===&quot;/*&quot;?&quot;(.*)$&quot;:&quot;(?:\\/(.+)|\\/*)$&quot;):o?f+=&quot;\\/*$&quot;:r!==&quot;&quot;&amp;&amp;r!==&quot;/&quot;&amp;&amp;(f+=&quot;(?:(?=\\/|$))&quot;),[new RegExp(f,u?void 0:&quot;i&quot;),c]}function Fg(r){try{return r.split(&quot;/&quot;).map(u=&gt;decodeURIComponent(u).replace(/\//g,&quot;%2F&quot;)).join(&quot;/&quot;)}catch(u){return Pt(!1,`The URL path &quot;${r}&quot; could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${u}).`),r}}function Ca(r,u){if(u===&quot;/&quot;)return r;if(!r.toLowerCase().startsWith(u.toLowerCase()))return null;let o=u.endsWith(&quot;/&quot;)?u.length-1:u.length,c=r.charAt(o);return c&amp;&amp;c!==&quot;/&quot;?null:r.slice(o)||&quot;/&quot;}var Wg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Ig(r,u=&quot;/&quot;){let{pathname:o,search:c=&quot;&quot;,hash:f=&quot;&quot;}=typeof r==&quot;string&quot;?dn(r):r,x;return o?(o=o.replace(/\/\/+/g,&quot;/&quot;),o.startsWith(&quot;/&quot;)?x=eh(o.substring(1),&quot;/&quot;):x=eh(o,u)):x=u,{pathname:x,search:tb(c),hash:ab(f)}}function eh(r,u){let o=u.replace(/\/+$/,&quot;&quot;).split(&quot;/&quot;);return r.split(&quot;/&quot;).forEach(f=&gt;{f===&quot;..&quot;?o.length&gt;1&amp;&amp;o.pop():f!==&quot;.&quot;&amp;&amp;o.push(f)}),o.length&gt;1?o.join(&quot;/&quot;):&quot;/&quot;}function gc(r,u,o,c){return`Cannot include a &#039;${r}&#039; character in a manually specified \`to.${u}\` field [${JSON.stringify(c)}].  Please separate it out to the \`to.${o}\` field. Alternatively you may provide the full path as a string in &lt;Link to=&quot;...&quot;&gt; and the router will parse it for you.`}function Pg(r){return r.filter((u,o)=&gt;o===0||u.route.path&amp;&amp;u.route.path.length&gt;0)}function Ec(r){let u=Pg(r);return u.map((o,c)=&gt;c===u.length-1?o.pathname:o.pathnameBase)}function $i(r,u,o,c=!1){let f;typeof r==&quot;string&quot;?f=dn(r):(f={...r},$e(!f.pathname||!f.pathname.includes(&quot;?&quot;),gc(&quot;?&quot;,&quot;pathname&quot;,&quot;search&quot;,f)),$e(!f.pathname||!f.pathname.includes(&quot;#&quot;),gc(&quot;#&quot;,&quot;pathname&quot;,&quot;hash&quot;,f)),$e(!f.search||!f.search.includes(&quot;#&quot;),gc(&quot;#&quot;,&quot;search&quot;,&quot;hash&quot;,f)));let x=r===&quot;&quot;||f.pathname===&quot;&quot;,b=x?&quot;/&quot;:f.pathname,p;if(b==null)p=o;else{let y=u.length-1;if(!c&amp;&amp;b.startsWith(&quot;..&quot;)){let T=b.split(&quot;/&quot;);for(;T[0]===&quot;..&quot;;)T.shift(),y-=1;f.pathname=T.join(&quot;/&quot;)}p=y&gt;=0?u[y]:&quot;/&quot;}let j=Ig(f,p),g=b&amp;&amp;b!==&quot;/&quot;&amp;&amp;b.endsWith(&quot;/&quot;),S=(x||b===&quot;.&quot;)&amp;&amp;o.endsWith(&quot;/&quot;);return!j.pathname.endsWith(&quot;/&quot;)&amp;&amp;(g||S)&amp;&amp;(j.pathname+=&quot;/&quot;),j}var ra=r=&gt;r.join(&quot;/&quot;).replace(/\/\/+/g,&quot;/&quot;),eb=r=&gt;r.replace(/\/+$/,&quot;&quot;).replace(/^\/*/,&quot;/&quot;),tb=r=&gt;!r||r===&quot;?&quot;?&quot;&quot;:r.startsWith(&quot;?&quot;)?r:&quot;?&quot;+r,ab=r=&gt;!r||r===&quot;#&quot;?&quot;&quot;:r.startsWith(&quot;#&quot;)?r:&quot;#&quot;+r,lb=class{constructor(r,u,o,c=!1){this.status=r,this.statusText=u||&quot;&quot;,this.internal=c,o instanceof Error?(this.data=o.toString(),this.error=o):this.data=o}};function nb(r){return r!=null&amp;&amp;typeof r.status==&quot;number&quot;&amp;&amp;typeof r.statusText==&quot;string&quot;&amp;&amp;typeof r.internal==&quot;boolean&quot;&amp;&amp;&quot;data&quot;in r}function sb(r){return r.map(u=&gt;u.route.path).filter(Boolean).join(&quot;/&quot;).replace(/\/\/*/g,&quot;/&quot;)||&quot;/&quot;}var gh=typeof window&lt;&quot;u&quot;&amp;&amp;typeof window.document&lt;&quot;u&quot;&amp;&amp;typeof window.document.createElement&lt;&quot;u&quot;;function bh(r,u){let o=r;if(typeof o!=&quot;string&quot;||!Wg.test(o))return{absoluteURL:void 0,isExternal:!1,to:o};let c=o,f=!1;if(gh)try{let x=new URL(window.location.href),b=o.startsWith(&quot;//&quot;)?new URL(x.protocol+o):new URL(o),p=Ca(b.pathname,u);b.origin===x.origin&amp;&amp;p!=null?o=p+b.search+b.hash:f=!0}catch{Pt(!1,`&lt;Link to=&quot;${o}&quot;&gt; contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:c,isExternal:f,to:o}}Object.getOwnPropertyNames(Object.prototype).sort().join(&quot;\0&quot;);var vh=[&quot;POST&quot;,&quot;PUT&quot;,&quot;PATCH&quot;,&quot;DELETE&quot;];new Set(vh);var ib=[&quot;GET&quot;,...vh];new Set(ib);var fn=m.createContext(null);fn.displayName=&quot;DataRouter&quot;;var Qi=m.createContext(null);Qi.displayName=&quot;DataRouterState&quot;;var jh=m.createContext(!1);function rb(){return m.useContext(jh)}var yh=m.createContext({isTransitioning:!1});yh.displayName=&quot;ViewTransition&quot;;var ub=m.createContext(new Map);ub.displayName=&quot;Fetchers&quot;;var cb=m.createContext(null);cb.displayName=&quot;Await&quot;;var Ut=m.createContext(null);Ut.displayName=&quot;Navigation&quot;;var ps=m.createContext(null);ps.displayName=&quot;Location&quot;;var Kt=m.createContext({outlet:null,matches:[],isDataRoute:!1});Kt.displayName=&quot;Route&quot;;var Tc=m.createContext(null);Tc.displayName=&quot;RouteError&quot;;var Nh=&quot;REACT_ROUTER_ERROR&quot;,ob=&quot;REDIRECT&quot;,db=&quot;ROUTE_ERROR_RESPONSE&quot;;function fb(r){if(r.startsWith(`${Nh}:${ob}:{`))try{let u=JSON.parse(r.slice(28));if(typeof u==&quot;object&quot;&amp;&amp;u&amp;&amp;typeof u.status==&quot;number&quot;&amp;&amp;typeof u.statusText==&quot;string&quot;&amp;&amp;typeof u.location==&quot;string&quot;&amp;&amp;typeof u.reloadDocument==&quot;boolean&quot;&amp;&amp;typeof u.replace==&quot;boolean&quot;)return u}catch{}}function mb(r){if(r.startsWith(`${Nh}:${db}:{`))try{let u=JSON.parse(r.slice(40));if(typeof u==&quot;object&quot;&amp;&amp;u&amp;&amp;typeof u.status==&quot;number&quot;&amp;&amp;typeof u.statusText==&quot;string&quot;)return new lb(u.status,u.statusText,u.data)}catch{}}function hb(r,{relative:u}={}){$e(mn(),&quot;useHref() may be used only in the context of a &lt;Router&gt; component.&quot;);let{basename:o,navigator:c}=m.useContext(Ut),{hash:f,pathname:x,search:b}=gs(r,{relative:u}),p=x;return o!==&quot;/&quot;&amp;&amp;(p=x===&quot;/&quot;?o:ra([o,x])),c.createHref({pathname:p,search:b,hash:f})}function mn(){return m.useContext(ps)!=null}function ea(){return $e(mn(),&quot;useLocation() may be used only in the context of a &lt;Router&gt; component.&quot;),m.useContext(ps).location}var Sh=&quot;You should call navigate() in a React.useEffect(), not when your component is first rendered.&quot;;function _h(r){m.useContext(Ut).static||m.useLayoutEffect(r)}function ta(){let{isDataRoute:r}=m.useContext(Kt);return r?Ab():xb()}function xb(){$e(mn(),&quot;useNavigate() may be used only in the context of a &lt;Router&gt; component.&quot;);let r=m.useContext(fn),{basename:u,navigator:o}=m.useContext(Ut),{matches:c}=m.useContext(Kt),{pathname:f}=ea(),x=JSON.stringify(Ec(c)),b=m.useRef(!1);return _h(()=&gt;{b.current=!0}),m.useCallback((j,g={})=&gt;{if(Pt(b.current,Sh),!b.current)return;if(typeof j==&quot;number&quot;){o.go(j);return}let S=$i(j,JSON.parse(x),f,g.relative===&quot;path&quot;);r==null&amp;&amp;u!==&quot;/&quot;&amp;&amp;(S.pathname=S.pathname===&quot;/&quot;?u:ra([u,S.pathname])),(g.replace?o.replace:o.push)(S,g.state,g)},[u,o,x,f,r])}var pb=m.createContext(null);function gb(r){let u=m.useContext(Kt).outlet;return m.useMemo(()=&gt;u&amp;&amp;m.createElement(pb.Provider,{value:r},u),[u,r])}function nt(){let{matches:r}=m.useContext(Kt),u=r[r.length-1];return u?u.params:{}}function gs(r,{relative:u}={}){let{matches:o}=m.useContext(Kt),{pathname:c}=ea(),f=JSON.stringify(Ec(o));return m.useMemo(()=&gt;$i(r,JSON.parse(f),c,u===&quot;path&quot;),[r,f,c,u])}function bb(r,u){return wh(r,u)}function wh(r,u,o){var U;$e(mn(),&quot;useRoutes() may be used only in the context of a &lt;Router&gt; component.&quot;);let{navigator:c}=m.useContext(Ut),{matches:f}=m.useContext(Kt),x=f[f.length-1],b=x?x.params:{},p=x?x.pathname:&quot;/&quot;,j=x?x.pathnameBase:&quot;/&quot;,g=x&amp;&amp;x.route;{let q=g&amp;&amp;g.path||&quot;&quot;;Th(p,!g||q.endsWith(&quot;*&quot;)||q.endsWith(&quot;*?&quot;),`You rendered descendant &lt;Routes&gt; (or called \`useRoutes()\`) at &quot;${p}&quot; (under &lt;Route path=&quot;${q}&quot;&gt;) but the parent route path has no trailing &quot;*&quot;. This means if you navigate deeper, the parent won&#039;t match anymore and therefore the child routes will never render.

Please change the parent &lt;Route path=&quot;${q}&quot;&gt; to &lt;Route path=&quot;${q===&quot;/&quot;?&quot;*&quot;:`${q}/*`}&quot;&gt;.`)}let S=ea(),y;if(u){let q=typeof u==&quot;string&quot;?dn(u):u;$e(j===&quot;/&quot;||((U=q.pathname)==null?void 0:U.startsWith(j)),`When overriding the location using \`&lt;Routes location&gt;\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is &quot;${j}&quot; but pathname &quot;${q.pathname}&quot; was given in the \`location\` prop.`),y=q}else y=S;let T=y.pathname||&quot;/&quot;,D=T;if(j!==&quot;/&quot;){let q=j.replace(/^\//,&quot;&quot;).split(&quot;/&quot;);D=&quot;/&quot;+T.replace(/^\//,&quot;&quot;).split(&quot;/&quot;).slice(q.length).join(&quot;/&quot;)}let M=hh(r,{pathname:D});Pt(g||M!=null,`No routes matched location &quot;${y.pathname}${y.search}${y.hash}&quot; `),Pt(M==null||M[M.length-1].route.element!==void 0||M[M.length-1].route.Component!==void 0||M[M.length-1].route.lazy!==void 0,`Matched leaf route at location &quot;${y.pathname}${y.search}${y.hash}&quot; does not have an element or Component. This means it will render an &lt;Outlet /&gt; with a null value by default resulting in an &quot;empty&quot; page.`);let R=Sb(M&amp;&amp;M.map(q=&gt;Object.assign({},q,{params:Object.assign({},b,q.params),pathname:ra([j,c.encodeLocation?c.encodeLocation(q.pathname.replace(/%/g,&quot;%25&quot;).replace(/\?/g,&quot;%3F&quot;).replace(/#/g,&quot;%23&quot;)).pathname:q.pathname]),pathnameBase:q.pathnameBase===&quot;/&quot;?j:ra([j,c.encodeLocation?c.encodeLocation(q.pathnameBase.replace(/%/g,&quot;%25&quot;).replace(/\?/g,&quot;%3F&quot;).replace(/#/g,&quot;%23&quot;)).pathname:q.pathnameBase])})),f,o);return u&amp;&amp;R?m.createElement(ps.Provider,{value:{location:{pathname:&quot;/&quot;,search:&quot;&quot;,hash:&quot;&quot;,state:null,key:&quot;default&quot;,unstable_mask:void 0,...y},navigationType:&quot;POP&quot;}},R):R}function vb(){let r=Cb(),u=nb(r)?`${r.status} ${r.statusText}`:r instanceof Error?r.message:JSON.stringify(r),o=r instanceof Error?r.stack:null,c=&quot;rgba(200,200,200, 0.5)&quot;,f={padding:&quot;0.5rem&quot;,backgroundColor:c},x={padding:&quot;2px 4px&quot;,backgroundColor:c},b=null;return console.error(&quot;Error handled by React Router default ErrorBoundary:&quot;,r),b=m.createElement(m.Fragment,null,m.createElement(&quot;p&quot;,null,&quot;💿 Hey developer 👋&quot;),m.createElement(&quot;p&quot;,null,&quot;You can provide a way better UX than this when your app throws errors by providing your own &quot;,m.createElement(&quot;code&quot;,{style:x},&quot;ErrorBoundary&quot;),&quot; or&quot;,&quot; &quot;,m.createElement(&quot;code&quot;,{style:x},&quot;errorElement&quot;),&quot; prop on your route.&quot;)),m.createElement(m.Fragment,null,m.createElement(&quot;h2&quot;,null,&quot;Unexpected Application Error!&quot;),m.createElement(&quot;h3&quot;,{style:{fontStyle:&quot;italic&quot;}},u),o?m.createElement(&quot;pre&quot;,{style:f},o):null,b)}var jb=m.createElement(vb,null),Eh=class extends m.Component{constructor(r){super(r),this.state={location:r.location,revalidation:r.revalidation,error:r.error}}static getDerivedStateFromError(r){return{error:r}}static getDerivedStateFromProps(r,u){return u.location!==r.location||u.revalidation!==&quot;idle&quot;&amp;&amp;r.revalidation===&quot;idle&quot;?{error:r.error,location:r.location,revalidation:r.revalidation}:{error:r.error!==void 0?r.error:u.error,location:u.location,revalidation:r.revalidation||u.revalidation}}componentDidCatch(r,u){this.props.onError?this.props.onError(r,u):console.error(&quot;React Router caught the following error during render&quot;,r)}render(){let r=this.state.error;if(this.context&amp;&amp;typeof r==&quot;object&quot;&amp;&amp;r&amp;&amp;&quot;digest&quot;in r&amp;&amp;typeof r.digest==&quot;string&quot;){const o=mb(r.digest);o&amp;&amp;(r=o)}let u=r!==void 0?m.createElement(Kt.Provider,{value:this.props.routeContext},m.createElement(Tc.Provider,{value:r,children:this.props.component})):this.props.children;return this.context?m.createElement(yb,{error:r},u):u}};Eh.contextType=jh;var bc=new WeakMap;function yb({children:r,error:u}){let{basename:o}=m.useContext(Ut);if(typeof u==&quot;object&quot;&amp;&amp;u&amp;&amp;&quot;digest&quot;in u&amp;&amp;typeof u.digest==&quot;string&quot;){let c=fb(u.digest);if(c){let f=bc.get(u);if(f)throw f;let x=bh(c.location,o);if(gh&amp;&amp;!bc.get(u))if(x.isExternal||c.reloadDocument)window.location.href=x.absoluteURL||x.to;else{const b=Promise.resolve().then(()=&gt;window.__reactRouterDataRouter.navigate(x.to,{replace:c.replace}));throw bc.set(u,b),b}return m.createElement(&quot;meta&quot;,{httpEquiv:&quot;refresh&quot;,content:`0;url=${x.absoluteURL||x.to}`})}}return r}function Nb({routeContext:r,match:u,children:o}){let c=m.useContext(fn);return c&amp;&amp;c.static&amp;&amp;c.staticContext&amp;&amp;(u.route.errorElement||u.route.ErrorBoundary)&amp;&amp;(c.staticContext._deepestRenderedBoundaryId=u.route.id),m.createElement(Kt.Provider,{value:r},o)}function Sb(r,u=[],o){let c=o==null?void 0:o.state;if(r==null){if(!c)return null;if(c.errors)r=c.matches;else if(u.length===0&amp;&amp;!c.initialized&amp;&amp;c.matches.length&gt;0)r=c.matches;else return null}let f=r,x=c==null?void 0:c.errors;if(x!=null){let S=f.findIndex(y=&gt;y.route.id&amp;&amp;(x==null?void 0:x[y.route.id])!==void 0);$e(S&gt;=0,`Could not find a matching route for errors on route IDs: ${Object.keys(x).join(&quot;,&quot;)}`),f=f.slice(0,Math.min(f.length,S+1))}let b=!1,p=-1;if(o&amp;&amp;c){b=c.renderFallback;for(let S=0;S&lt;f.length;S++){let y=f[S];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&amp;&amp;(p=S),y.route.id){let{loaderData:T,errors:D}=c,M=y.route.loader&amp;&amp;!T.hasOwnProperty(y.route.id)&amp;&amp;(!D||D[y.route.id]===void 0);if(y.route.lazy||M){o.isStatic&amp;&amp;(b=!0),p&gt;=0?f=f.slice(0,p+1):f=[f[0]];break}}}}let j=o==null?void 0:o.onError,g=c&amp;&amp;j?(S,y)=&gt;{var T,D;j(S,{location:c.location,params:((D=(T=c.matches)==null?void 0:T[0])==null?void 0:D.params)??{},unstable_pattern:sb(c.matches),errorInfo:y})}:void 0;return f.reduceRight((S,y,T)=&gt;{let D,M=!1,R=null,U=null;c&amp;&amp;(D=x&amp;&amp;y.route.id?x[y.route.id]:void 0,R=y.route.errorElement||jb,b&amp;&amp;(p&lt;0&amp;&amp;T===0?(Th(&quot;route-fallback&quot;,!1,&quot;No `HydrateFallback` element provided to render during initial hydration&quot;),M=!0,U=null):p===T&amp;&amp;(M=!0,U=y.route.hydrateFallbackElement||null)));let q=u.concat(f.slice(0,T+1)),K=()=&gt;{let X;return D?X=R:M?X=U:y.route.Component?X=m.createElement(y.route.Component,null):y.route.element?X=y.route.element:X=S,m.createElement(Nb,{match:y,routeContext:{outlet:S,matches:q,isDataRoute:c!=null},children:X})};return c&amp;&amp;(y.route.ErrorBoundary||y.route.errorElement||T===0)?m.createElement(Eh,{location:c.location,revalidation:c.revalidation,component:R,error:D,children:K(),routeContext:{outlet:null,matches:q,isDataRoute:!0},onError:g}):K()},null)}function Cc(r){return`${r} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function _b(r){let u=m.useContext(fn);return $e(u,Cc(r)),u}function wb(r){let u=m.useContext(Qi);return $e(u,Cc(r)),u}function Eb(r){let u=m.useContext(Kt);return $e(u,Cc(r)),u}function Ac(r){let u=Eb(r),o=u.matches[u.matches.length-1];return $e(o.route.id,`${r} can only be used on routes that contain a unique &quot;id&quot;`),o.route.id}function Tb(){return Ac(&quot;useRouteId&quot;)}function Cb(){var c;let r=m.useContext(Tc),u=wb(&quot;useRouteError&quot;),o=Ac(&quot;useRouteError&quot;);return r!==void 0?r:(c=u.errors)==null?void 0:c[o]}function Ab(){let{router:r}=_b(&quot;useNavigate&quot;),u=Ac(&quot;useNavigate&quot;),o=m.useRef(!1);return _h(()=&gt;{o.current=!0}),m.useCallback(async(f,x={})=&gt;{Pt(o.current,Sh),o.current&amp;&amp;(typeof f==&quot;number&quot;?await r.navigate(f):await r.navigate(f,{fromRouteId:u,...x}))},[r,u])}var th={};function Th(r,u,o){!u&amp;&amp;!th[r]&amp;&amp;(th[r]=!0,Pt(!1,o))}m.memo(zb);function zb({routes:r,future:u,state:o,isStatic:c,onError:f}){return wh(r,void 0,{state:o,isStatic:c,onError:f})}function zc({to:r,replace:u,state:o,relative:c}){$e(mn(),&quot;&lt;Navigate&gt; may be used only in the context of a &lt;Router&gt; component.&quot;);let{static:f}=m.useContext(Ut);Pt(!f,&quot;&lt;Navigate&gt; must not be used on the initial render in a &lt;StaticRouter&gt;. This is a no-op, but you should modify your code so the &lt;Navigate&gt; is only ever rendered in response to some user interaction or state change.&quot;);let{matches:x}=m.useContext(Kt),{pathname:b}=ea(),p=ta(),j=$i(r,Ec(x),b,c===&quot;path&quot;),g=JSON.stringify(j);return m.useEffect(()=&gt;{p(JSON.parse(g),{replace:u,state:o,relative:c})},[p,g,c,u,o]),null}function kb(r){return gb(r.context)}function Se(r){$e(!1,&quot;A &lt;Route&gt; is only ever to be used as the child of &lt;Routes&gt; element, never rendered directly. Please wrap your &lt;Route&gt; in a &lt;Routes&gt;.&quot;)}function Mb({basename:r=&quot;/&quot;,children:u=null,location:o,navigationType:c=&quot;POP&quot;,navigator:f,static:x=!1,unstable_useTransitions:b}){$e(!mn(),&quot;You cannot render a &lt;Router&gt; inside another &lt;Router&gt;. You should never have more than one in your app.&quot;);let p=r.replace(/^\/*/,&quot;/&quot;),j=m.useMemo(()=&gt;({basename:p,navigator:f,static:x,unstable_useTransitions:b,future:{}}),[p,f,x,b]);typeof o==&quot;string&quot;&amp;&amp;(o=dn(o));let{pathname:g=&quot;/&quot;,search:S=&quot;&quot;,hash:y=&quot;&quot;,state:T=null,key:D=&quot;default&quot;,unstable_mask:M}=o,R=m.useMemo(()=&gt;{let U=Ca(g,p);return U==null?null:{location:{pathname:U,search:S,hash:y,state:T,key:D,unstable_mask:M},navigationType:c}},[p,g,S,y,T,D,c,M]);return Pt(R!=null,`&lt;Router basename=&quot;${p}&quot;&gt; is not able to match the URL &quot;${g}${S}${y}&quot; because it does not start with the basename, so the &lt;Router&gt; won&#039;t render anything.`),R==null?null:m.createElement(Ut.Provider,{value:j},m.createElement(ps.Provider,{children:u,value:R}))}function Ob({children:r,location:u}){return bb(_c(r),u)}function _c(r,u=[]){let o=[];return m.Children.forEach(r,(c,f)=&gt;{if(!m.isValidElement(c))return;let x=[...u,f];if(c.type===m.Fragment){o.push.apply(o,_c(c.props.children,x));return}$e(c.type===Se,`[${typeof c.type==&quot;string&quot;?c.type:c.type.name}] is not a &lt;Route&gt; component. All component children of &lt;Routes&gt; must be a &lt;Route&gt; or &lt;React.Fragment&gt;`),$e(!c.props.index||!c.props.children,&quot;An index route cannot have child routes.&quot;);let b={id:c.props.id||x.join(&quot;-&quot;),caseSensitive:c.props.caseSensitive,element:c.props.element,Component:c.props.Component,index:c.props.index,path:c.props.path,middleware:c.props.middleware,loader:c.props.loader,action:c.props.action,hydrateFallbackElement:c.props.hydrateFallbackElement,HydrateFallback:c.props.HydrateFallback,errorElement:c.props.errorElement,ErrorBoundary:c.props.ErrorBoundary,hasErrorBoundary:c.props.hasErrorBoundary===!0||c.props.ErrorBoundary!=null||c.props.errorElement!=null,shouldRevalidate:c.props.shouldRevalidate,handle:c.props.handle,lazy:c.props.lazy};c.props.children&amp;&amp;(b.children=_c(c.props.children,x)),o.push(b)}),o}var qi=&quot;get&quot;,Hi=&quot;application/x-www-form-urlencoded&quot;;function Xi(r){return typeof HTMLElement&lt;&quot;u&quot;&amp;&amp;r instanceof HTMLElement}function Rb(r){return Xi(r)&amp;&amp;r.tagName.toLowerCase()===&quot;button&quot;}function Db(r){return Xi(r)&amp;&amp;r.tagName.toLowerCase()===&quot;form&quot;}function Ub(r){return Xi(r)&amp;&amp;r.tagName.toLowerCase()===&quot;input&quot;}function Lb(r){return!!(r.metaKey||r.altKey||r.ctrlKey||r.shiftKey)}function qb(r,u){return r.button===0&amp;&amp;(!u||u===&quot;_self&quot;)&amp;&amp;!Lb(r)}var Di=null;function Hb(){if(Di===null)try{new FormData(document.createElement(&quot;form&quot;),0),Di=!1}catch{Di=!0}return Di}var Bb=new Set([&quot;application/x-www-form-urlencoded&quot;,&quot;multipart/form-data&quot;,&quot;text/plain&quot;]);function vc(r){return r!=null&amp;&amp;!Bb.has(r)?(Pt(!1,`&quot;${r}&quot; is not a valid \`encType\` for \`&lt;Form&gt;\`/\`&lt;fetcher.Form&gt;\` and will default to &quot;${Hi}&quot;`),null):r}function Gb(r,u){let o,c,f,x,b;if(Db(r)){let p=r.getAttribute(&quot;action&quot;);c=p?Ca(p,u):null,o=r.getAttribute(&quot;method&quot;)||qi,f=vc(r.getAttribute(&quot;enctype&quot;))||Hi,x=new FormData(r)}else if(Rb(r)||Ub(r)&amp;&amp;(r.type===&quot;submit&quot;||r.type===&quot;image&quot;)){let p=r.form;if(p==null)throw new Error(&#039;Cannot submit a &lt;button&gt; or &lt;input type=&quot;submit&quot;&gt; without a &lt;form&gt;&#039;);let j=r.getAttribute(&quot;formaction&quot;)||p.getAttribute(&quot;action&quot;);if(c=j?Ca(j,u):null,o=r.getAttribute(&quot;formmethod&quot;)||p.getAttribute(&quot;method&quot;)||qi,f=vc(r.getAttribute(&quot;formenctype&quot;))||vc(p.getAttribute(&quot;enctype&quot;))||Hi,x=new FormData(p,r),!Hb()){let{name:g,type:S,value:y}=r;if(S===&quot;image&quot;){let T=g?`${g}.`:&quot;&quot;;x.append(`${T}x`,&quot;0&quot;),x.append(`${T}y`,&quot;0&quot;)}else g&amp;&amp;x.append(g,y)}}else{if(Xi(r))throw new Error(&#039;Cannot submit element that is not &lt;form&gt;, &lt;button&gt;, or &lt;input type=&quot;submit|image&quot;&gt;&#039;);o=qi,c=null,f=Hi,b=r}return x&amp;&amp;f===&quot;text/plain&quot;&amp;&amp;(b=x,x=void 0),{action:c,method:o.toLowerCase(),encType:f,formData:x,body:b}}Object.getOwnPropertyNames(Object.prototype).sort().join(&quot;\0&quot;);function kc(r,u){if(r===!1||r===null||typeof r&gt;&quot;u&quot;)throw new Error(u)}function Ch(r,u,o,c){let f=typeof r==&quot;string&quot;?new URL(r,typeof window&gt;&quot;u&quot;?&quot;server://singlefetch/&quot;:window.location.origin):r;return o?f.pathname.endsWith(&quot;/&quot;)?f.pathname=`${f.pathname}_.${c}`:f.pathname=`${f.pathname}.${c}`:f.pathname===&quot;/&quot;?f.pathname=`_root.${c}`:u&amp;&amp;Ca(f.pathname,u)===&quot;/&quot;?f.pathname=`${u.replace(/\/$/,&quot;&quot;)}/_root.${c}`:f.pathname=`${f.pathname.replace(/\/$/,&quot;&quot;)}.${c}`,f}async function Yb(r,u){if(r.id in u)return u[r.id];try{let o=await import(r.module);return u[r.id]=o,o}catch(o){return console.error(`Error loading route module \`${r.module}\`, reloading page...`),console.error(o),window.__reactRouterContext&amp;&amp;window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=&gt;{})}}function Vb(r){return r==null?!1:r.href==null?r.rel===&quot;preload&quot;&amp;&amp;typeof r.imageSrcSet==&quot;string&quot;&amp;&amp;typeof r.imageSizes==&quot;string&quot;:typeof r.rel==&quot;string&quot;&amp;&amp;typeof r.href==&quot;string&quot;}async function $b(r,u,o){let c=await Promise.all(r.map(async f=&gt;{let x=u.routes[f.route.id];if(x){let b=await Yb(x,o);return b.links?b.links():[]}return[]}));return Jb(c.flat(1).filter(Vb).filter(f=&gt;f.rel===&quot;stylesheet&quot;||f.rel===&quot;preload&quot;).map(f=&gt;f.rel===&quot;stylesheet&quot;?{...f,rel:&quot;prefetch&quot;,as:&quot;style&quot;}:{...f,rel:&quot;prefetch&quot;}))}function ah(r,u,o,c,f,x){let b=(j,g)=&gt;o[g]?j.route.id!==o[g].route.id:!0,p=(j,g)=&gt;{var S;return o[g].pathname!==j.pathname||((S=o[g].route.path)==null?void 0:S.endsWith(&quot;*&quot;))&amp;&amp;o[g].params[&quot;*&quot;]!==j.params[&quot;*&quot;]};return x===&quot;assets&quot;?u.filter((j,g)=&gt;b(j,g)||p(j,g)):x===&quot;data&quot;?u.filter((j,g)=&gt;{var y;let S=c.routes[j.route.id];if(!S||!S.hasLoader)return!1;if(b(j,g)||p(j,g))return!0;if(j.route.shouldRevalidate){let T=j.route.shouldRevalidate({currentUrl:new URL(f.pathname+f.search+f.hash,window.origin),currentParams:((y=o[0])==null?void 0:y.params)||{},nextUrl:new URL(r,window.origin),nextParams:j.params,defaultShouldRevalidate:!0});if(typeof T==&quot;boolean&quot;)return T}return!0}):[]}function Qb(r,u,{includeHydrateFallback:o}={}){return Xb(r.map(c=&gt;{let f=u.routes[c.route.id];if(!f)return[];let x=[f.module];return f.clientActionModule&amp;&amp;(x=x.concat(f.clientActionModule)),f.clientLoaderModule&amp;&amp;(x=x.concat(f.clientLoaderModule)),o&amp;&amp;f.hydrateFallbackModule&amp;&amp;(x=x.concat(f.hydrateFallbackModule)),f.imports&amp;&amp;(x=x.concat(f.imports)),x}).flat(1))}function Xb(r){return[...new Set(r)]}function Zb(r){let u={},o=Object.keys(r).sort();for(let c of o)u[c]=r[c];return u}function Jb(r,u){let o=new Set;return new Set(u),r.reduce((c,f)=&gt;{let x=JSON.stringify(Zb(f));return o.has(x)||(o.add(x),c.push({key:x,link:f})),c},[])}function Mc(){let r=m.useContext(fn);return kc(r,&quot;You must render this element inside a &lt;DataRouterContext.Provider&gt; element&quot;),r}function Kb(){let r=m.useContext(Qi);return kc(r,&quot;You must render this element inside a &lt;DataRouterStateContext.Provider&gt; element&quot;),r}var Oc=m.createContext(void 0);Oc.displayName=&quot;FrameworkContext&quot;;function Rc(){let r=m.useContext(Oc);return kc(r,&quot;You must render this element inside a &lt;HydratedRouter&gt; element&quot;),r}function Fb(r,u){let o=m.useContext(Oc),[c,f]=m.useState(!1),[x,b]=m.useState(!1),{onFocus:p,onBlur:j,onMouseEnter:g,onMouseLeave:S,onTouchStart:y}=u,T=m.useRef(null);m.useEffect(()=&gt;{if(r===&quot;render&quot;&amp;&amp;b(!0),r===&quot;viewport&quot;){let R=q=&gt;{q.forEach(K=&gt;{b(K.isIntersecting)})},U=new IntersectionObserver(R,{threshold:.5});return T.current&amp;&amp;U.observe(T.current),()=&gt;{U.disconnect()}}},[r]),m.useEffect(()=&gt;{if(c){let R=setTimeout(()=&gt;{b(!0)},100);return()=&gt;{clearTimeout(R)}}},[c]);let D=()=&gt;{f(!0)},M=()=&gt;{f(!1),b(!1)};return o?r!==&quot;intent&quot;?[x,T,{}]:[x,T,{onFocus:ds(p,D),onBlur:ds(j,M),onMouseEnter:ds(g,D),onMouseLeave:ds(S,M),onTouchStart:ds(y,D)}]:[!1,T,{}]}function ds(r,u){return o=&gt;{r&amp;&amp;r(o),o.defaultPrevented||u(o)}}function Wb({page:r,...u}){let o=rb(),{router:c}=Mc(),f=m.useMemo(()=&gt;hh(c.routes,r,c.basename),[c.routes,r,c.basename]);return f?o?m.createElement(Pb,{page:r,matches:f,...u}):m.createElement(ev,{page:r,matches:f,...u}):null}function Ib(r){let{manifest:u,routeModules:o}=Rc(),[c,f]=m.useState([]);return m.useEffect(()=&gt;{let x=!1;return $b(r,u,o).then(b=&gt;{x||f(b)}),()=&gt;{x=!0}},[r,u,o]),c}function Pb({page:r,matches:u,...o}){let c=ea(),{future:f}=Rc(),{basename:x}=Mc(),b=m.useMemo(()=&gt;{if(r===c.pathname+c.search+c.hash)return[];let p=Ch(r,x,f.unstable_trailingSlashAwareDataRequests,&quot;rsc&quot;),j=!1,g=[];for(let S of u)typeof S.route.shouldRevalidate==&quot;function&quot;?j=!0:g.push(S.route.id);return j&amp;&amp;g.length&gt;0&amp;&amp;p.searchParams.set(&quot;_routes&quot;,g.join(&quot;,&quot;)),[p.pathname+p.search]},[x,f.unstable_trailingSlashAwareDataRequests,r,c,u]);return m.createElement(m.Fragment,null,b.map(p=&gt;m.createElement(&quot;link&quot;,{key:p,rel:&quot;prefetch&quot;,as:&quot;fetch&quot;,href:p,...o})))}function ev({page:r,matches:u,...o}){let c=ea(),{future:f,manifest:x,routeModules:b}=Rc(),{basename:p}=Mc(),{loaderData:j,matches:g}=Kb(),S=m.useMemo(()=&gt;ah(r,u,g,x,c,&quot;data&quot;),[r,u,g,x,c]),y=m.useMemo(()=&gt;ah(r,u,g,x,c,&quot;assets&quot;),[r,u,g,x,c]),T=m.useMemo(()=&gt;{if(r===c.pathname+c.search+c.hash)return[];let R=new Set,U=!1;if(u.forEach(K=&gt;{var le;let X=x.routes[K.route.id];!X||!X.hasLoader||(!S.some(P=&gt;P.route.id===K.route.id)&amp;&amp;K.route.id in j&amp;&amp;((le=b[K.route.id])!=null&amp;&amp;le.shouldRevalidate)||X.hasClientLoader?U=!0:R.add(K.route.id))}),R.size===0)return[];let q=Ch(r,p,f.unstable_trailingSlashAwareDataRequests,&quot;data&quot;);return U&amp;&amp;R.size&gt;0&amp;&amp;q.searchParams.set(&quot;_routes&quot;,u.filter(K=&gt;R.has(K.route.id)).map(K=&gt;K.route.id).join(&quot;,&quot;)),[q.pathname+q.search]},[p,f.unstable_trailingSlashAwareDataRequests,j,c,x,S,u,r,b]),D=m.useMemo(()=&gt;Qb(y,x),[y,x]),M=Ib(y);return m.createElement(m.Fragment,null,T.map(R=&gt;m.createElement(&quot;link&quot;,{key:R,rel:&quot;prefetch&quot;,as:&quot;fetch&quot;,href:R,...o})),D.map(R=&gt;m.createElement(&quot;link&quot;,{key:R,rel:&quot;modulepreload&quot;,href:R,...o})),M.map(({key:R,link:U})=&gt;m.createElement(&quot;link&quot;,{key:R,nonce:o.nonce,...U,crossOrigin:U.crossOrigin??o.crossOrigin})))}function tv(...r){return u=&gt;{r.forEach(o=&gt;{typeof o==&quot;function&quot;?o(u):o!=null&amp;&amp;(o.current=u)})}}var av=typeof window&lt;&quot;u&quot;&amp;&amp;typeof window.document&lt;&quot;u&quot;&amp;&amp;typeof window.document.createElement&lt;&quot;u&quot;;try{av&amp;&amp;(window.__reactRouterVersion=&quot;7.14.0&quot;)}catch{}function lv({basename:r,children:u,unstable_useTransitions:o,window:c}){let f=m.useRef();f.current==null&amp;&amp;(f.current=Rg({window:c,v5Compat:!0}));let x=f.current,[b,p]=m.useState({action:x.action,location:x.location}),j=m.useCallback(g=&gt;{o===!1?p(g):m.startTransition(()=&gt;p(g))},[o]);return m.useLayoutEffect(()=&gt;x.listen(j),[x,j]),m.createElement(Mb,{basename:r,children:u,location:b.location,navigationType:b.action,navigator:x,unstable_useTransitions:o})}var Ah=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,de=m.forwardRef(function({onClick:u,discover:o=&quot;render&quot;,prefetch:c=&quot;none&quot;,relative:f,reloadDocument:x,replace:b,unstable_mask:p,state:j,target:g,to:S,preventScrollReset:y,viewTransition:T,unstable_defaultShouldRevalidate:D,...M},R){let{basename:U,navigator:q,unstable_useTransitions:K}=m.useContext(Ut),X=typeof S==&quot;string&quot;&amp;&amp;Ah.test(S),le=bh(S,U);S=le.to;let P=hb(S,{relative:f}),Z=ea(),$=null;if(p){let ae=$i(p,[],Z.unstable_mask?Z.unstable_mask.pathname:&quot;/&quot;,!0);U!==&quot;/&quot;&amp;&amp;(ae.pathname=ae.pathname===&quot;/&quot;?U:ra([U,ae.pathname])),$=q.createHref(ae)}let[F,B,ee]=Fb(c,M),ie=iv(S,{replace:b,unstable_mask:p,state:j,target:g,preventScrollReset:y,relative:f,viewTransition:T,unstable_defaultShouldRevalidate:D,unstable_useTransitions:K});function H(ae){u&amp;&amp;u(ae),ae.defaultPrevented||ie(ae)}let I=!(le.isExternal||x),Q=m.createElement(&quot;a&quot;,{...M,...ee,href:(I?$:void 0)||le.absoluteURL||P,onClick:I?H:u,ref:tv(R,B),target:g,&quot;data-discover&quot;:!X&amp;&amp;o===&quot;render&quot;?&quot;true&quot;:void 0});return F&amp;&amp;!X?m.createElement(m.Fragment,null,Q,m.createElement(Wb,{page:P})):Q});de.displayName=&quot;Link&quot;;var Ta=m.forwardRef(function({&quot;aria-current&quot;:u=&quot;page&quot;,caseSensitive:o=!1,className:c=&quot;&quot;,end:f=!1,style:x,to:b,viewTransition:p,children:j,...g},S){let y=gs(b,{relative:g.relative}),T=ea(),D=m.useContext(Qi),{navigator:M,basename:R}=m.useContext(Ut),U=D!=null&amp;&amp;dv(y)&amp;&amp;p===!0,q=M.encodeLocation?M.encodeLocation(y).pathname:y.pathname,K=T.pathname,X=D&amp;&amp;D.navigation&amp;&amp;D.navigation.location?D.navigation.location.pathname:null;o||(K=K.toLowerCase(),X=X?X.toLowerCase():null,q=q.toLowerCase()),X&amp;&amp;R&amp;&amp;(X=Ca(X,R)||X);const le=q!==&quot;/&quot;&amp;&amp;q.endsWith(&quot;/&quot;)?q.length-1:q.length;let P=K===q||!f&amp;&amp;K.startsWith(q)&amp;&amp;K.charAt(le)===&quot;/&quot;,Z=X!=null&amp;&amp;(X===q||!f&amp;&amp;X.startsWith(q)&amp;&amp;X.charAt(q.length)===&quot;/&quot;),$={isActive:P,isPending:Z,isTransitioning:U},F=P?u:void 0,B;typeof c==&quot;function&quot;?B=c($):B=[c,P?&quot;active&quot;:null,Z?&quot;pending&quot;:null,U?&quot;transitioning&quot;:null].filter(Boolean).join(&quot; &quot;);let ee=typeof x==&quot;function&quot;?x($):x;return m.createElement(de,{...g,&quot;aria-current&quot;:F,className:B,ref:S,style:ee,to:b,viewTransition:p},typeof j==&quot;function&quot;?j($):j)});Ta.displayName=&quot;NavLink&quot;;var nv=m.forwardRef(({discover:r=&quot;render&quot;,fetcherKey:u,navigate:o,reloadDocument:c,replace:f,state:x,method:b=qi,action:p,onSubmit:j,relative:g,preventScrollReset:S,viewTransition:y,unstable_defaultShouldRevalidate:T,...D},M)=&gt;{let{unstable_useTransitions:R}=m.useContext(Ut),U=cv(),q=ov(p,{relative:g}),K=b.toLowerCase()===&quot;get&quot;?&quot;get&quot;:&quot;post&quot;,X=typeof p==&quot;string&quot;&amp;&amp;Ah.test(p),le=P=&gt;{if(j&amp;&amp;j(P),P.defaultPrevented)return;P.preventDefault();let Z=P.nativeEvent.submitter,$=(Z==null?void 0:Z.getAttribute(&quot;formmethod&quot;))||b,F=()=&gt;U(Z||P.currentTarget,{fetcherKey:u,method:$,navigate:o,replace:f,state:x,relative:g,preventScrollReset:S,viewTransition:y,unstable_defaultShouldRevalidate:T});R&amp;&amp;o!==!1?m.startTransition(()=&gt;F()):F()};return m.createElement(&quot;form&quot;,{ref:M,method:K,action:q,onSubmit:c?j:le,...D,&quot;data-discover&quot;:!X&amp;&amp;r===&quot;render&quot;?&quot;true&quot;:void 0})});nv.displayName=&quot;Form&quot;;function sv(r){return`${r} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function zh(r){let u=m.useContext(fn);return $e(u,sv(r)),u}function iv(r,{target:u,replace:o,unstable_mask:c,state:f,preventScrollReset:x,relative:b,viewTransition:p,unstable_defaultShouldRevalidate:j,unstable_useTransitions:g}={}){let S=ta(),y=ea(),T=gs(r,{relative:b});return m.useCallback(D=&gt;{if(qb(D,u)){D.preventDefault();let M=o!==void 0?o:xs(y)===xs(T),R=()=&gt;S(r,{replace:M,unstable_mask:c,state:f,preventScrollReset:x,relative:b,viewTransition:p,unstable_defaultShouldRevalidate:j});g?m.startTransition(()=&gt;R()):R()}},[y,S,T,o,c,f,u,r,x,b,p,j,g])}var rv=0,uv=()=&gt;`__${String(++rv)}__`;function cv(){let{router:r}=zh(&quot;useSubmit&quot;),{basename:u}=m.useContext(Ut),o=Tb(),c=r.fetch,f=r.navigate;return m.useCallback(async(x,b={})=&gt;{let{action:p,method:j,encType:g,formData:S,body:y}=Gb(x,u);if(b.navigate===!1){let T=b.fetcherKey||uv();await c(T,o,b.action||p,{unstable_defaultShouldRevalidate:b.unstable_defaultShouldRevalidate,preventScrollReset:b.preventScrollReset,formData:S,body:y,formMethod:b.method||j,formEncType:b.encType||g,flushSync:b.flushSync})}else await f(b.action||p,{unstable_defaultShouldRevalidate:b.unstable_defaultShouldRevalidate,preventScrollReset:b.preventScrollReset,formData:S,body:y,formMethod:b.method||j,formEncType:b.encType||g,replace:b.replace,state:b.state,fromRouteId:o,flushSync:b.flushSync,viewTransition:b.viewTransition})},[c,f,u,o])}function ov(r,{relative:u}={}){let{basename:o}=m.useContext(Ut),c=m.useContext(Kt);$e(c,&quot;useFormAction must be used inside a RouteContext&quot;);let[f]=c.matches.slice(-1),x={...gs(r||&quot;.&quot;,{relative:u})},b=ea();if(r==null){x.search=b.search;let p=new URLSearchParams(x.search),j=p.getAll(&quot;index&quot;);if(j.some(S=&gt;S===&quot;&quot;)){p.delete(&quot;index&quot;),j.filter(y=&gt;y).forEach(y=&gt;p.append(&quot;index&quot;,y));let S=p.toString();x.search=S?`?${S}`:&quot;&quot;}}return(!r||r===&quot;.&quot;)&amp;&amp;f.route.index&amp;&amp;(x.search=x.search?x.search.replace(/^\?/,&quot;?index&amp;&quot;):&quot;?index&quot;),o!==&quot;/&quot;&amp;&amp;(x.pathname=x.pathname===&quot;/&quot;?o:ra([o,x.pathname])),xs(x)}function dv(r,{relative:u}={}){let o=m.useContext(yh);$e(o!=null,&quot;`useViewTransitionState` must be used within `react-router-dom`&#039;s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?&quot;);let{basename:c}=zh(&quot;useViewTransitionState&quot;),f=gs(r,{relative:u});if(!o.isTransitioning)return!1;let x=Ca(o.currentLocation.pathname,c)||o.currentLocation.pathname,b=Ca(o.nextLocation.pathname,c)||o.nextLocation.pathname;return Bi(f.pathname,b)!=null||Bi(f.pathname,x)!=null}function fv(r){const u=r.trim().replace(/\/+$/,&quot;&quot;);return u?/^https?:\/\//i.test(u)?u:`https://${u}`:&quot;&quot;}const mv=fv(&quot;https://apicoffra.jrbxsolutions.com&quot;);class ve extends Error{constructor(o,c,f){super(o);oc(this,&quot;status&quot;);oc(this,&quot;body&quot;);this.name=&quot;ApiError&quot;,this.status=c,this.body=f}}async function ne(r,u={}){const{token:o,headers:c,...f}=u,x=`${mv}${r.startsWith(&quot;/&quot;)?r:`/${r}`}`,b=await fetch(x,{...f,headers:{Accept:&quot;application/json&quot;,&quot;Content-Type&quot;:&quot;application/json&quot;,...o?{Authorization:`Bearer ${o}`}:{},...c}}),p=await b.text();let j=null;if(p)try{j=JSON.parse(p)}catch{j={raw:p}}if(!b.ok){let g=b.statusText;if(typeof j==&quot;object&quot;&amp;&amp;j!==null){if(&quot;errors&quot;in j&amp;&amp;typeof j.errors==&quot;object&quot;){const S=j.errors;for(const y of Object.values(S)){if(Array.isArray(y)&amp;&amp;y[0]){g=y[0];break}if(typeof y==&quot;string&quot;&amp;&amp;y){g=y;break}}}if(&quot;message&quot;in j){const S=j.message,y=typeof S==&quot;string&quot;?S:JSON.stringify(S);g===b.statusText&amp;&amp;(g=y)}}throw new ve(g||&quot;Erreur réseau&quot;,b.status,j)}return j}function Dc(r){if(typeof r!=&quot;object&quot;||r===null||!(&quot;errors&quot;in r))return null;const u=r.errors;if(typeof u!=&quot;object&quot;||u===null)return null;const o={};for(const[c,f]of Object.entries(u))Array.isArray(f)&amp;&amp;typeof f[0]==&quot;string&quot;?o[c]=f[0]:typeof f==&quot;string&quot;&amp;&amp;(o[c]=f);return Object.keys(o).length&gt;0?o:null}const Ui=&quot;coffra_token&quot;,kh=m.createContext(null);function hv({children:r}){const[u,o]=m.useState(()=&gt;localStorage.getItem(Ui)),[c,f]=m.useState(null),[x,b]=m.useState(!!u),[p,j]=m.useState(null);m.useEffect(()=&gt;{if(!u){f(null),b(!1);return}let M=!1;return b(!0),(async()=&gt;{try{const R=await ne(&quot;/api/v1/auth/me&quot;,{method:&quot;GET&quot;,token:u});M||f(R.user)}catch{M||(localStorage.removeItem(Ui),o(null),f(null),j(&quot;La session n’a pas pu être validée (réponse refusée ou API injoignable). En production, définissez VITE_API_BASE_URL sur l’URL absolue de l’API Laravel (ex. https://api.votredomaine.com), puis reconstruisez le front (npm run build).&quot;))}finally{M||b(!1)}})(),()=&gt;{M=!0}},[u]);const g=m.useCallback(()=&gt;{j(null)},[]),S=m.useCallback(async(M,R)=&gt;{j(null);const U=await ne(&quot;/api/v1/auth/login&quot;,{method:&quot;POST&quot;,body:JSON.stringify({email:M,password:R,device_name:&quot;coffra-web&quot;})});if(typeof U.token!=&quot;string&quot;||!U.token)throw new ve(&quot;Réponse de connexion invalide (jeton manquant). Souvent causé par VITE_API_BASE_URL vide en production : les requêtes partent vers le site du front au lieu de l’API Laravel.&quot;,0,U);localStorage.setItem(Ui,U.token),o(U.token),f(U.user??null)},[]),y=m.useCallback(async()=&gt;{if(u)try{await ne(&quot;/api/v1/auth/logout&quot;,{method:&quot;POST&quot;,token:u})}catch{}localStorage.removeItem(Ui),o(null),f(null),j(null)},[u]),T=m.useCallback(M=&gt;!!(c!=null&amp;&amp;c.abilities.includes(M)),[c]),D=m.useMemo(()=&gt;({token:u,user:c,bootstrapping:x,sessionBootstrapError:p,clearSessionBootstrapError:g,login:S,logout:y,can:T}),[u,c,x,p,g,S,y,T]);return l.jsx(kh.Provider,{value:D,children:r})}function ze(){const r=m.useContext(kh);if(!r)throw new Error(&quot;useAuth doit être utilisé dans AuthProvider&quot;);return r}const un=&quot;coffra_active_project_id&quot;,Mh=m.createContext(null);function xv({children:r}){const{token:u,user:o,can:c}=ze(),[f,x]=m.useState([]),[b,p]=m.useState(!1),[j,g]=m.useState(()=&gt;{const M=localStorage.getItem(un),R=M?Number(M):NaN;return Number.isFinite(R)?R:null}),S=m.useCallback(M=&gt;{g(M),M!==null?localStorage.setItem(un,String(M)):localStorage.removeItem(un)},[]),y=m.useCallback(async()=&gt;{if(!u||!o||!c(&quot;projects.view&quot;)){x([]);return}p(!0);try{const M=await ne(&quot;/api/v1/projects?per_page=100&amp;sort=name&quot;,{method:&quot;GET&quot;,token:u});x(M.data),g(R=&gt;{var le;const U=new Set(M.data.map(P=&gt;P.id));if(R!==null&amp;&amp;U.has(R))return R;const q=localStorage.getItem(un),K=q?Number(q):NaN;if(Number.isFinite(K)&amp;&amp;U.has(K))return K;const X=((le=M.data[0])==null?void 0:le.id)??null;return X!==null?localStorage.setItem(un,String(X)):localStorage.removeItem(un),X})}catch{x([])}finally{p(!1)}},[u,o,c]);m.useEffect(()=&gt;{y()},[y]);const T=m.useMemo(()=&gt;f.find(M=&gt;M.id===j)??null,[f,j]),D=m.useMemo(()=&gt;({projects:f,activeProjectId:j,activeProject:T,loading:b,setActiveProjectId:S,refreshProjects:y}),[f,j,T,b,S,y]);return l.jsx(Mh.Provider,{value:D,children:r})}function ht(){const r=m.useContext(Mh);if(!r)throw new Error(&quot;useProjectScope doit être utilisé dans ProjectProvider&quot;);return r}const pv=&quot;coffra-theme&quot;,Oh=m.createContext(null);function gv(){if(typeof document&gt;&quot;u&quot;)return&quot;light&quot;;const r=document.documentElement.getAttribute(&quot;data-theme&quot;);return r===&quot;dark&quot;||r===&quot;light&quot;?r:&quot;light&quot;}function bv({children:r}){const[u,o]=m.useState(gv),c=m.useCallback(b=&gt;{o(b),document.documentElement.setAttribute(&quot;data-theme&quot;,b);try{localStorage.setItem(pv,b)}catch{}},[]),f=m.useCallback(()=&gt;{c(u===&quot;light&quot;?&quot;dark&quot;:&quot;light&quot;)},[u,c]),x=m.useMemo(()=&gt;({theme:u,setTheme:c,toggleTheme:f}),[u,c,f]);return l.jsx(Oh.Provider,{value:x,children:r})}function vv(){const r=m.useContext(Oh);if(!r)throw new Error(&quot;useTheme must be used within ThemeProvider&quot;);return r}function Gi({size:r=&quot;md&quot;,showWordmark:u=!0,className:o=&quot;&quot;,onDarkPanel:c=!1,variant:f=&quot;default&quot;}){const x=r===&quot;sm&quot;?&quot;h-7 w-7&quot;:r===&quot;lg&quot;?&quot;h-11 w-11&quot;:&quot;h-9 w-9&quot;,b=r===&quot;sm&quot;?&quot;max-h-7&quot;:r===&quot;lg&quot;?&quot;max-h-[2.85rem]&quot;:&quot;max-h-10&quot;;if(c)return l.jsxs(&quot;div&quot;,{className:`flex items-center gap-2.5 ${o}`,children:[l.jsx(&quot;img&quot;,{src:&quot;/brand/mark.png&quot;,alt:&quot;&quot;,className:`${x} shrink-0 object-contain`,width:44,height:44}),u?l.jsxs(&quot;div&quot;,{className:&quot;min-w-0 leading-tight&quot;,children:[l.jsx(&quot;span&quot;,{className:`block font-bold tracking-tight text-white ${r===&quot;lg&quot;?&quot;text-xl&quot;:r===&quot;sm&quot;?&quot;text-base&quot;:&quot;text-lg&quot;}`,children:&quot;Coffra&quot;}),l.jsx(&quot;span&quot;,{className:&quot;mt-0.5 block text-[9px] font-medium uppercase tracking-[0.28em] text-blue-100/90&quot;,children:&quot;Opérations&quot;})]}):null]});if(u){if(f===&quot;sidebar&quot;)return l.jsxs(&quot;div&quot;,{className:`flex flex-col items-start gap-0 ${o}`,children:[l.jsx(&quot;img&quot;,{src:&quot;/brand/logo.png&quot;,alt:&quot;Coffra&quot;,className:`w-auto max-w-[min(100%,220px)] object-contain object-left ${b}`,width:200,height:48}),l.jsx(&quot;div&quot;,{className:&quot;mt-3 h-0.5 w-10 rounded-full bg-gradient-to-r from-brand-orange to-brand-blue&quot;,&quot;aria-hidden&quot;:!0}),l.jsx(&quot;span&quot;,{className:&quot;mt-2.5 text-[9px] font-semibold uppercase tracking-[0.26em] text-brand-blue/90&quot;,children:&quot;Opérations&quot;})]});const p=l.jsx(&quot;span&quot;,{className:&quot;hidden text-[9px] font-semibold uppercase tracking-[0.24em] text-brand-blue/85 sm:block&quot;,children:&quot;Opérations&quot;});return l.jsxs(&quot;div&quot;,{className:`flex flex-col gap-1.5 sm:flex-row sm:items-end sm:gap-3 ${o}`,children:[l.jsx(&quot;img&quot;,{src:&quot;/brand/logo.png&quot;,alt:&quot;Coffra&quot;,className:`w-auto max-w-[min(100%,240px)] object-contain object-left ${b}`,width:200,height:48}),r===&quot;sm&quot;?p:l.jsx(&quot;span&quot;,{className:&quot;text-[9px] font-semibold uppercase tracking-[0.24em] text-brand-blue/85&quot;,children:&quot;Opérations&quot;})]})}return l.jsx(&quot;div&quot;,{className:o,children:l.jsx(&quot;img&quot;,{src:&quot;/brand/mark.png&quot;,alt:&quot;&quot;,className:`${x} shrink-0 object-contain`,width:44,height:44})})}function jv(){return l.jsxs(&quot;svg&quot;,{viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,className:&quot;h-5 w-5&quot;,&quot;aria-hidden&quot;:!0,children:[l.jsx(&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;12&quot;,r:&quot;4&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;}),l.jsx(&quot;path&quot;,{d:&quot;M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;,strokeLinecap:&quot;round&quot;})]})}function yv(){return l.jsx(&quot;svg&quot;,{viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,className:&quot;h-5 w-5&quot;,&quot;aria-hidden&quot;:!0,children:l.jsx(&quot;path&quot;,{d:&quot;M21 14.5A8.5 8.5 0 0 1 9.5 3a8.5 8.5 0 1 0 11.5 11.5Z&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;,strokeLinejoin:&quot;round&quot;})})}function Yi({variant:r=&quot;sidebar&quot;}){const{theme:u,toggleTheme:o}=vv(),c=u===&quot;dark&quot;,f=r===&quot;compact&quot;?&quot;rounded-lg border border-border p-2 text-fg-muted transition hover:bg-surface-alt hover:text-fg&quot;:&quot;flex w-full items-center justify-between gap-2 rounded-xl border border-border bg-surface px-3 py-2.5 text-left text-sm font-semibold text-fg-muted transition hover:bg-surface-alt&quot;;return l.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;o(),className:f,&quot;aria-pressed&quot;:c,title:c?&quot;Passer en thème clair&quot;:&quot;Passer en thème sombre&quot;,children:[l.jsxs(&quot;span&quot;,{className:&quot;flex items-center gap-2&quot;,children:[c?l.jsx(jv,{}):l.jsx(yv,{}),r===&quot;sidebar&quot;?l.jsx(&quot;span&quot;,{children:c?&quot;Thème clair&quot;:&quot;Thème sombre&quot;}):null]}),r===&quot;sidebar&quot;?l.jsx(&quot;span&quot;,{className:&quot;rounded-md bg-brand-orange-soft px-2 py-0.5 text-[10px] font-bold uppercase tracking-wide text-brand-orange&quot;,children:c?&quot;Nuit&quot;:&quot;Jour&quot;}):null]})}const ge=&quot;mt-1 w-full rounded-xl border border-border bg-surface px-3 py-2.5 text-sm text-fg outline-none transition focus:border-brand-orange focus:ring-2 focus:ring-brand-orange/25&quot;,Ke=&quot;w-full rounded-xl border border-border bg-surface px-3 py-2.5 text-sm text-fg outline-none transition focus:border-brand-orange focus:ring-2 focus:ring-brand-orange/25&quot;,re=&quot;block text-xs font-medium uppercase tracking-wide text-fg-muted&quot;,rt=&quot;inline-flex w-full items-center justify-center rounded-xl bg-brand-orange px-4 py-3.5 text-sm font-bold text-on-brand shadow-md transition hover:bg-brand-orange-hover disabled:opacity-50&quot;,pt=&quot;inline-flex items-center justify-center rounded-xl border border-border bg-surface px-4 py-2.5 text-sm font-semibold text-fg transition hover:border-border-strong hover:bg-surface-alt&quot;,bt=&quot;block rounded-2xl border border-border bg-surface/90 px-4 py-4 shadow-sm transition hover:border-brand-blue/50 hover:bg-surface-alt&quot;,ia=&quot;mt-1 w-full rounded-lg border border-border bg-app px-2 py-2 text-sm text-fg outline-none focus:border-brand-orange focus:ring-1 focus:ring-brand-orange/30&quot;,Vi=&quot;flex w-full items-center justify-center gap-2 rounded-2xl bg-brand-orange py-4 text-sm font-bold text-on-brand shadow-md transition hover:bg-brand-orange-hover&quot;,Nv=&quot;flex w-full items-center justify-center gap-2 rounded-2xl border-2 border-border py-3.5 text-sm font-semibold text-fg transition hover:border-brand-blue/60 hover:bg-surface-alt&quot;;function Sv(){const{token:r,login:u,sessionBootstrapError:o,clearSessionBootstrapError:c}=ze(),[f,x]=m.useState(&quot;&quot;),[b,p]=m.useState(&quot;&quot;),[j,g]=m.useState(null),[S,y]=m.useState(!1),T=j??o;if(r)return l.jsx(zc,{to:&quot;/&quot;,replace:!0});async function D(M){M.preventDefault(),g(null),c(),y(!0);try{await u(f,b)}catch(R){R instanceof ve?g(R.message):g(&quot;Connexion impossible&quot;)}finally{y(!1)}}return l.jsxs(&quot;div&quot;,{className:&quot;grid min-h-dvh lg:grid-cols-2&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;relative hidden flex-col justify-between bg-gradient-to-br from-brand-blue via-brand-blue-hover to-[#1e3a8a] p-10 lg:flex&quot;,children:[l.jsx(&quot;div&quot;,{className:&quot;absolute inset-0 bg-[linear-gradient(135deg,transparent_0%,rgba(0,0,0,0.25)_100%)]&quot;}),l.jsxs(&quot;div&quot;,{className:&quot;relative z-10&quot;,children:[l.jsx(Gi,{size:&quot;lg&quot;,onDarkPanel:!0}),l.jsx(&quot;p&quot;,{className:&quot;mt-8 max-w-sm text-sm font-medium leading-relaxed text-blue-100&quot;,children:&quot;Pilotage terrain, présences, production et paie — interface pensée pour le chantier.&quot;})]}),l.jsx(&quot;p&quot;,{className:&quot;relative z-10 text-xs font-semibold uppercase tracking-widest text-blue-200/70&quot;,children:&quot;Coffra · Opérations&quot;})]}),l.jsxs(&quot;div&quot;,{className:&quot;relative flex flex-col justify-center bg-app px-4 py-12 sm:px-8&quot;,children:[l.jsx(&quot;div&quot;,{className:&quot;absolute right-4 top-4 sm:right-8 sm:top-8&quot;,children:l.jsx(Yi,{variant:&quot;compact&quot;})}),l.jsxs(&quot;div&quot;,{className:&quot;mx-auto w-full max-w-md&quot;,children:[l.jsx(&quot;div&quot;,{className:&quot;mb-8 lg:hidden&quot;,children:l.jsx(Gi,{size:&quot;md&quot;})}),l.jsx(&quot;h1&quot;,{className:&quot;text-2xl font-bold tracking-tight text-fg&quot;,children:&quot;Connexion&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-fg-muted&quot;,children:&quot;E-mail et mot de passe du compte staff.&quot;}),l.jsxs(&quot;form&quot;,{onSubmit:D,className:&quot;mt-8 space-y-5&quot;,children:[T?l.jsx(&quot;p&quot;,{className:&quot;rounded-2xl border border-danger/40 bg-danger-soft px-4 py-3 text-sm text-danger&quot;,role:&quot;alert&quot;,children:T}):null,l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;email&quot;,className:re,children:&quot;E-mail&quot;}),l.jsx(&quot;input&quot;,{id:&quot;email&quot;,name:&quot;email&quot;,type:&quot;email&quot;,autoComplete:&quot;username&quot;,value:f,onChange:M=&gt;x(M.target.value),className:ge,required:!0})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;password&quot;,className:re,children:&quot;Mot de passe&quot;}),l.jsx(&quot;input&quot;,{id:&quot;password&quot;,name:&quot;password&quot;,type:&quot;password&quot;,autoComplete:&quot;current-password&quot;,value:b,onChange:M=&gt;p(M.target.value),className:ge,required:!0})]}),l.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:S,className:rt,children:S?&quot;Connexion…&quot;:&quot;Se connecter&quot;})]})]})]})]})}const Aa=&quot;h-6 w-6 shrink-0&quot;;function _v(r){return l.jsx(&quot;svg&quot;,{viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,className:Aa,&quot;aria-hidden&quot;:!0,...r,children:l.jsx(&quot;path&quot;,{d:&quot;M4 10.5L12 4l8 6.5V20a1 1 0 0 1-1 1h-5v-6H10v6H5a1 1 0 0 1-1-1v-9.5Z&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;,strokeLinejoin:&quot;round&quot;})})}function Uc(r){return l.jsx(&quot;svg&quot;,{viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,className:Aa,&quot;aria-hidden&quot;:!0,...r,children:l.jsx(&quot;path&quot;,{d:&quot;M4 6.5h7V4H4v2.5Zm0 6.5h7V10H4v3Zm0 6.5h7V16.5H4V19.5ZM13 6.5h7V4h-7v2.5Zm0 6.5h7V10h-7v3Zm0 6.5h7V16.5h-7V19.5Z&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;,strokeLinejoin:&quot;round&quot;})})}function Rh(r){return l.jsxs(&quot;svg&quot;,{viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,className:Aa,&quot;aria-hidden&quot;:!0,...r,children:[l.jsx(&quot;circle&quot;,{cx:&quot;9&quot;,cy:&quot;8&quot;,r:&quot;3.25&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;}),l.jsx(&quot;path&quot;,{d:&quot;M3 19.5v-.5a5 5 0 0 1 5-5h2a5 5 0 0 1 5 5v.5&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;,strokeLinecap:&quot;round&quot;}),l.jsx(&quot;path&quot;,{d:&quot;M17 11.25a2.75 2.75 0 1 0 0-5.5M21 19.5v-.25a3.75 3.75 0 0 0-2.5-3.55&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;,strokeLinecap:&quot;round&quot;})]})}function Dh(r){return l.jsx(&quot;svg&quot;,{viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,className:Aa,&quot;aria-hidden&quot;:!0,...r,children:l.jsx(&quot;path&quot;,{d:&quot;M5 13l4 4L19 7&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;2&quot;,strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;})})}function Uh(r){return l.jsxs(&quot;svg&quot;,{viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,className:Aa,&quot;aria-hidden&quot;:!0,...r,children:[l.jsx(&quot;path&quot;,{d:&quot;M4 19h16&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;,strokeLinecap:&quot;round&quot;}),l.jsx(&quot;path&quot;,{d:&quot;M7 19V9l3-4h4l3 4v10&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;,strokeLinejoin:&quot;round&quot;}),l.jsx(&quot;path&quot;,{d:&quot;M9 13h6M9 16h6&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;,strokeLinecap:&quot;round&quot;})]})}function Lh(r){return l.jsxs(&quot;svg&quot;,{viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,className:Aa,&quot;aria-hidden&quot;:!0,...r,children:[l.jsx(&quot;rect&quot;,{x:&quot;3&quot;,y:&quot;5&quot;,width:&quot;18&quot;,height:&quot;14&quot;,rx:&quot;2&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;}),l.jsx(&quot;path&quot;,{d:&quot;M7 9h5M7 13h10&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;,strokeLinecap:&quot;round&quot;}),l.jsx(&quot;circle&quot;,{cx:&quot;16&quot;,cy:&quot;8&quot;,r:&quot;2&quot;,fill:&quot;currentColor&quot;})]})}function qh(r){return l.jsxs(&quot;svg&quot;,{viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,className:Aa,&quot;aria-hidden&quot;:!0,...r,children:[l.jsx(&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;8&quot;,r:&quot;3.25&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;}),l.jsx(&quot;path&quot;,{d:&quot;M4 20v-1a6 6 0 0 1 6-6h4a6 6 0 0 1 6 6v1&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;,strokeLinecap:&quot;round&quot;})]})}function Hh(r){return l.jsx(&quot;svg&quot;,{viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,className:Aa,&quot;aria-hidden&quot;:!0,...r,children:l.jsx(&quot;path&quot;,{d:&quot;M4 21V10l8-5 8 5v11M9 21v-6h6v6&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;,strokeLinejoin:&quot;round&quot;})})}function wv(r){return l.jsxs(&quot;svg&quot;,{viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,className:Aa,&quot;aria-hidden&quot;:!0,...r,children:[l.jsx(&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;9&quot;,r:&quot;3.5&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;}),l.jsx(&quot;path&quot;,{d:&quot;M5 20.5v-.5a7 7 0 0 1 7-7h0a7 7 0 0 1 7 7v.5&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;,strokeLinecap:&quot;round&quot;})]})}const Ev=[{to:&quot;/&quot;,end:!0,label:&quot;Accueil&quot;,icon:l.jsx(_v,{}),ability:null},{to:&quot;/projects&quot;,label:&quot;Chantiers&quot;,icon:l.jsx(Uc,{}),ability:&quot;projects.view&quot;},{to:&quot;/workers&quot;,label:&quot;Ouvriers&quot;,icon:l.jsx(Rh,{}),ability:&quot;workers.view&quot;},{to:&quot;/attendances&quot;,label:&quot;Présences&quot;,icon:l.jsx(Dh,{}),ability:&quot;attendances.view&quot;},{to:&quot;/production-entries&quot;,label:&quot;Production&quot;,icon:l.jsx(Uh,{}),ability:&quot;production_entries.view&quot;},{to:&quot;/payroll-entries&quot;,label:&quot;Paie&quot;,icon:l.jsx(Lh,{}),ability:&quot;payroll.view&quot;},{to:&quot;/users&quot;,label:&quot;Équipe&quot;,icon:l.jsx(qh,{}),ability:&quot;users.view&quot;}],Tv=&quot;w-full rounded-lg border border-brand-blue/12 bg-surface px-3 py-2.5 text-sm text-fg shadow-sm outline-none transition focus:border-brand-orange focus:ring-2 focus:ring-brand-orange/20&quot;;function Cv(r){return[&quot;relative flex min-w-0 items-center gap-3 rounded-lg py-2.5 pl-3 pr-3 text-sm transition duration-200&quot;,r?&quot;bg-surface font-semibold text-fg shadow-[0_1px_2px_rgba(15,23,42,0.04)] ring-1 ring-brand-blue/10 [&amp;&gt;svg]:text-brand-blue&quot;:&quot;font-medium text-fg-muted hover:bg-brand-blue-soft/40 hover:text-fg [&amp;&gt;svg]:text-fg-subtle&quot;,r?&quot;before:pointer-events-none before:absolute before:inset-y-2 before:left-0 before:block before:w-[3px] before:rounded-full before:bg-gradient-to-b before:from-brand-orange before:to-brand-orange-hover before:content-[&#039;&#039;]&quot;:&quot;&quot;].filter(Boolean).join(&quot; &quot;)}function lh(r){return[&quot;relative flex items-center gap-3 rounded-lg py-2 pl-3 pr-3 text-xs font-medium uppercase tracking-[0.12em] transition duration-200&quot;,r?&quot;bg-surface font-semibold text-fg shadow-sm ring-1 ring-brand-blue/10 [&amp;&gt;svg]:text-brand-blue&quot;:&quot;text-fg-subtle hover:bg-brand-blue-soft/35 hover:text-fg-muted [&amp;&gt;svg]:text-fg-subtle&quot;,r?&quot;before:pointer-events-none before:absolute before:inset-y-2 before:left-0 before:block before:w-[2px] before:rounded-full before:bg-brand-orange before:content-[&#039;&#039;]&quot;:&quot;&quot;].filter(Boolean).join(&quot; &quot;)}function nh({className:r=&quot;&quot;,ui:u=&quot;default&quot;}){const{can:o}=ze(),{projects:c,activeProjectId:f,setActiveProjectId:x,loading:b}=ht();if(!o(&quot;projects.view&quot;))return null;if(c.length===0&amp;&amp;!b)return l.jsx(&quot;p&quot;,{className:`text-xs text-fg-muted ${r}`,children:&quot;Aucun chantier assigné.&quot;});const p=u===&quot;sidebar&quot;?Tv:Ke;return l.jsxs(&quot;div&quot;,{className:r,children:[l.jsxs(&quot;label&quot;,{htmlFor:&quot;active-project&quot;,className:&quot;mb-2.5 flex items-center gap-2 text-[10px] font-bold uppercase tracking-[0.16em] text-brand-blue&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;h-1 w-1 shrink-0 rounded-full bg-brand-orange shadow-[0_0_0_2px_rgba(234,88,12,0.2)]&quot;,&quot;aria-hidden&quot;:!0}),&quot;Chantier actif&quot;]}),l.jsx(&quot;select&quot;,{id:&quot;active-project&quot;,disabled:b,value:f??&quot;&quot;,onChange:j=&gt;{const g=j.target.value;x(g?Number(g):null)},className:p,children:c.map(j=&gt;l.jsxs(&quot;option&quot;,{value:j.id,children:[j.name,j.code?` (${j.code})`:&quot;&quot;]},j.id))})]})}function Av(){const{can:r}=ze(),u=Ev.filter(o=&gt;o.ability===null||r(o.ability));return l.jsxs(&quot;div&quot;,{className:&quot;min-h-dvh bg-app&quot;,children:[l.jsxs(&quot;aside&quot;,{className:&quot;scrollbar-none fixed inset-y-0 left-0 z-30 hidden w-64 flex-col border-r border-border bg-surface shadow-[1px_0_0_rgba(15,23,42,0.03)] lg:flex&quot;,&quot;aria-label&quot;:&quot;Navigation&quot;,children:[l.jsx(&quot;div&quot;,{className:&quot;px-6 pb-8 pt-10&quot;,children:l.jsx(Ta,{to:&quot;/&quot;,className:&quot;block rounded-xl p-1 outline-none ring-brand-orange/25 transition hover:bg-brand-blue-soft/25 focus-visible:ring-2&quot;,children:l.jsx(Gi,{size:&quot;md&quot;,variant:&quot;sidebar&quot;})})}),l.jsx(&quot;div&quot;,{className:&quot;mx-6 h-px shrink-0 bg-gradient-to-r from-transparent via-border to-transparent&quot;,&quot;aria-hidden&quot;:!0}),l.jsx(&quot;div&quot;,{className:&quot;px-5 py-6&quot;,children:l.jsx(&quot;div&quot;,{className:&quot;rounded-xl border border-brand-blue/10 bg-gradient-to-br from-brand-blue-soft/35 via-surface to-surface p-4 shadow-[inset_0_1px_0_rgba(255,255,255,0.85)]&quot;,children:l.jsx(nh,{ui:&quot;sidebar&quot;})})}),l.jsx(&quot;div&quot;,{className:&quot;mx-6 h-px shrink-0 bg-gradient-to-r from-transparent via-border to-transparent&quot;,&quot;aria-hidden&quot;:!0}),l.jsx(&quot;nav&quot;,{className:&quot;scrollbar-none flex flex-1 flex-col gap-0.5 overflow-y-auto px-3 py-5&quot;,children:u.map(o=&gt;l.jsxs(Ta,{to:o.to,end:o.end,className:({isActive:c})=&gt;Cv(c),children:[o.icon,l.jsx(&quot;span&quot;,{className:&quot;truncate&quot;,children:o.label})]},o.to+(o.end?&quot;-end&quot;:&quot;&quot;)))}),l.jsxs(&quot;div&quot;,{className:&quot;mt-auto border-t border-border/70 bg-gradient-to-b from-surface-alt/20 to-surface-alt/40 px-4 py-5&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;mb-2 px-1 text-[10px] font-bold uppercase tracking-[0.14em] text-fg-subtle&quot;,children:&quot;Affichage&quot;}),l.jsx(Yi,{variant:&quot;sidebar&quot;}),l.jsx(&quot;div&quot;,{className:&quot;my-4 h-px bg-gradient-to-r from-transparent via-border/80 to-transparent&quot;,&quot;aria-hidden&quot;:!0}),l.jsx(&quot;p&quot;,{className:&quot;mb-2 px-1 text-[10px] font-bold uppercase tracking-[0.14em] text-fg-subtle&quot;,children:&quot;Compte&quot;}),l.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-0.5&quot;,children:[r(&quot;organizations.view&quot;)?l.jsxs(Ta,{to:&quot;/organization&quot;,className:({isActive:o})=&gt;lh(o),children:[l.jsx(Hh,{}),&quot;Organisation&quot;]}):null,l.jsxs(Ta,{to:&quot;/profil&quot;,className:({isActive:o})=&gt;lh(o),children:[l.jsx(wv,{}),&quot;Profil&quot;]})]})]})]}),l.jsxs(&quot;div&quot;,{className:&quot;flex min-h-dvh flex-col lg:pl-64&quot;,children:[l.jsxs(&quot;header&quot;,{className:&quot;sticky top-0 z-20 border-b border-border bg-surface/95 backdrop-blur-md lg:hidden&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between gap-2 px-3 py-2&quot;,children:[l.jsx(Ta,{to:&quot;/&quot;,className:&quot;min-w-0 shrink rounded-lg p-0.5 outline-none ring-brand-orange/25 focus-visible:ring-2&quot;,children:l.jsx(Gi,{size:&quot;sm&quot;,showWordmark:!0})}),l.jsxs(&quot;div&quot;,{className:&quot;flex shrink-0 items-center gap-1.5&quot;,children:[l.jsx(Yi,{variant:&quot;compact&quot;}),r(&quot;organizations.view&quot;)?l.jsx(Ta,{to:&quot;/organization&quot;,className:&quot;rounded-lg border border-border px-2 py-1.5 text-[10px] font-bold uppercase tracking-wide text-fg-muted&quot;,children:&quot;Org.&quot;}):null,l.jsx(Ta,{to:&quot;/profil&quot;,className:&quot;rounded-lg border border-border px-2.5 py-1.5 text-[10px] font-bold uppercase tracking-wide text-fg-muted&quot;,children:&quot;Profil&quot;})]})]}),l.jsx(&quot;div&quot;,{className:&quot;border-t border-border/80 bg-brand-blue-soft/15 px-3 py-3&quot;,children:l.jsx(nh,{})})]}),l.jsx(&quot;main&quot;,{className:&quot;mx-auto w-full max-w-6xl flex-1 px-4 py-5 pb-[calc(5.5rem+env(safe-area-inset-bottom))] lg:px-8 lg:py-8 lg:pb-8&quot;,children:l.jsx(kb,{})}),l.jsx(&quot;nav&quot;,{className:&quot;fixed bottom-0 left-0 right-0 z-20 border-t border-border bg-surface/98 pb-[env(safe-area-inset-bottom)] backdrop-blur-md lg:hidden&quot;,&quot;aria-label&quot;:&quot;Navigation principale&quot;,children:l.jsx(&quot;div&quot;,{className:&quot;scrollbar-none flex justify-start gap-0 overflow-x-auto px-1 pt-1&quot;,children:u.map(o=&gt;l.jsxs(Ta,{to:o.to,end:o.end,className:({isActive:c})=&gt;[&quot;relative flex min-w-[4.25rem] shrink-0 flex-col items-center gap-0.5 px-2 py-2 text-[9px] font-semibold uppercase tracking-[0.1em] transition&quot;,c?&quot;text-brand-blue [&amp;&gt;span:first-child]:text-brand-orange&quot;:&quot;text-fg-muted&quot;,c?&quot;after:pointer-events-none after:absolute after:left-1/2 after:top-0 after:block after:h-0.5 after:w-7 after:-translate-x-1/2 after:rounded-full after:bg-gradient-to-r after:from-brand-orange after:to-brand-orange-hover after:content-[&#039;&#039;]&quot;:&quot;&quot;].filter(Boolean).join(&quot; &quot;),children:[l.jsx(&quot;span&quot;,{className:&quot;[&amp;_svg]:h-5 [&amp;_svg]:w-5&quot;,children:o.icon}),l.jsx(&quot;span&quot;,{className:&quot;max-w-[4.5rem] truncate text-center leading-tight&quot;,children:o.label})]},o.to+(o.end?&quot;-m&quot;:&quot;&quot;)))})})]})]})}const Bh=[{value:&quot;entrepreneur_admin&quot;,label:&quot;Entrepreneur (admin)&quot;},{value:&quot;chef_chantier&quot;,label:&quot;Chef de chantier&quot;},{value:&quot;contremaitre_technicien&quot;,label:&quot;Contremaître / technicien&quot;},{value:&quot;financier_tresorier&quot;,label:&quot;Financier / trésorier&quot;}];function on(r){var u;return((u=Bh.find(o=&gt;o.value===r))==null?void 0:u.label)??r}const zv=[{to:&quot;/attendances&quot;,title:&quot;Présences&quot;,sub:&quot;Pointages du jour&quot;,icon:l.jsx(Dh,{}),ability:&quot;attendances.view&quot;,accent:&quot;blue&quot;},{to:&quot;/production-entries&quot;,title:&quot;Production&quot;,sub:&quot;Saisie &amp; validation chantier&quot;,icon:l.jsx(Uh,{}),ability:&quot;production_entries.view&quot;,accent:&quot;blue&quot;},{to:&quot;/payroll-entries&quot;,title:&quot;Paie&quot;,sub:&quot;Validation financière&quot;,icon:l.jsx(Lh,{}),ability:&quot;payroll.view&quot;,accent:&quot;orange&quot;},{to:&quot;/projects&quot;,title:&quot;Chantiers&quot;,sub:&quot;Liste et fiches&quot;,icon:l.jsx(Uc,{}),ability:&quot;projects.view&quot;,accent:&quot;blue&quot;}],kv=[{to:&quot;/organization&quot;,title:&quot;Organisation&quot;,sub:&quot;Structure&quot;,icon:l.jsx(Hh,{}),ability:&quot;organizations.view&quot;},{to:&quot;/users&quot;,title:&quot;Utilisateurs&quot;,sub:&quot;Comptes staff&quot;,icon:l.jsx(qh,{}),ability:&quot;users.view&quot;},{to:&quot;/workers&quot;,title:&quot;Ouvriers&quot;,sub:&quot;Fiches métier&quot;,icon:l.jsx(Rh,{}),ability:&quot;workers.view&quot;}];function Mv({tile:r}){const u=r.accent===&quot;orange&quot;?&quot;hover:border-brand-orange/55&quot;:&quot;hover:border-brand-blue/45&quot;,o=r.accent===&quot;orange&quot;?&quot;bg-brand-orange-soft text-brand-orange&quot;:&quot;bg-brand-blue-soft text-brand-blue&quot;;return l.jsxs(de,{to:r.to,className:`group flex gap-5 rounded-2xl border border-border bg-surface p-6 shadow-[0_4px_20px_-6px_rgba(15,23,42,0.12)] transition hover:-translate-y-0.5 hover:shadow-[0_8px_28px_-8px_rgba(15,23,42,0.16)] ${u}`,children:[l.jsx(&quot;div&quot;,{className:`flex h-16 w-16 shrink-0 items-center justify-center rounded-2xl [&amp;_svg]:h-8 [&amp;_svg]:w-8 ${o}`,children:r.icon}),l.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold tracking-tight text-fg&quot;,children:r.title}),l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm font-medium leading-snug text-fg-muted&quot;,children:r.sub}),l.jsx(&quot;span&quot;,{className:&quot;mt-4 inline-flex items-center text-xs font-bold uppercase tracking-wider text-brand-orange opacity-0 transition group-hover:opacity-100&quot;,children:&quot;Ouvrir →&quot;})]})]})}function Ov(){const{user:r,can:u}=ze(),{activeProject:o,activeProjectId:c,projects:f}=ht(),x=zv.filter(p=&gt;u(p.ability)),b=kv.filter(p=&gt;u(p.ability));return l.jsxs(&quot;div&quot;,{className:&quot;space-y-8 lg:space-y-10&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-fg-muted&quot;,children:&quot;Bonjour&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-3xl font-bold tracking-tight text-fg lg:text-4xl&quot;,children:r==null?void 0:r.full_name}),l.jsxs(&quot;p&quot;,{className:&quot;mt-2 text-sm text-fg-muted&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-fg&quot;,children:r?on(r.role):&quot;—&quot;}),r!=null&amp;&amp;r.organization?l.jsxs(&quot;span&quot;,{className:&quot;text-fg-subtle&quot;,children:[&quot; · &quot;,r.organization.name]}):null]})]}),l.jsxs(&quot;section&quot;,{className:&quot;relative overflow-hidden rounded-2xl border border-brand-blue/25 bg-surface p-5 shadow-[0_8px_32px_-12px_rgba(37,99,235,0.22)] ring-1 ring-brand-blue/10 lg:flex lg:items-center lg:justify-between lg:p-7 lg:pl-8&quot;,children:[l.jsx(&quot;div&quot;,{className:&quot;pointer-events-none absolute inset-y-0 left-0 w-1 bg-gradient-to-b from-brand-orange via-brand-orange to-brand-blue&quot;,&quot;aria-hidden&quot;:!0}),l.jsxs(&quot;div&quot;,{className:&quot;flex items-start gap-4 pl-2 sm:pl-3&quot;,children:[l.jsx(&quot;div&quot;,{className:&quot;flex h-14 w-14 shrink-0 items-center justify-center rounded-2xl bg-brand-blue-soft text-brand-blue shadow-inner&quot;,children:l.jsx(Uc,{})}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;p&quot;,{className:&quot;text-[10px] font-bold uppercase tracking-[0.22em] text-brand-blue&quot;,children:&quot;Chantier actif&quot;}),o&amp;&amp;c?l.jsxs(l.Fragment,{children:[l.jsx(de,{to:`/projects/${c}`,className:&quot;mt-1.5 block text-2xl font-bold leading-tight tracking-tight text-fg hover:text-brand-orange&quot;,children:o.name}),o.code?l.jsx(&quot;p&quot;,{className:&quot;mt-1 font-mono text-sm text-fg-muted&quot;,children:o.code}):null]}):u(&quot;projects.view&quot;)?l.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-fg-muted&quot;,children:&quot;Choisissez un chantier dans la barre latérale ou ci-dessous.&quot;}):l.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-fg-muted&quot;,children:&quot;Aucun périmètre chantier pour ce profil.&quot;})]})]}),u(&quot;projects.view&quot;)?l.jsx(de,{to:&quot;/projects&quot;,className:&quot;mt-5 inline-flex shrink-0 items-center justify-center rounded-xl bg-brand-orange px-6 py-3.5 text-sm font-bold text-on-brand shadow-md transition hover:bg-brand-orange-hover lg:mt-0&quot;,children:&quot;Chantiers&quot;}):null]}),l.jsxs(&quot;section&quot;,{className:&quot;grid gap-4 sm:grid-cols-3&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;rounded-2xl border border-border bg-surface py-5 pl-5 pr-4 shadow-[0_2px_12px_-4px_rgba(15,23,42,0.08)] sm:border-l-4 sm:border-l-brand-blue sm:pl-4&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[11px] font-bold uppercase tracking-[0.14em] text-fg-subtle&quot;,children:&quot;Chantiers visibles&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-3 text-4xl font-bold tabular-nums leading-none tracking-tight text-fg&quot;,children:f.length})]}),l.jsxs(&quot;div&quot;,{className:&quot;rounded-2xl border border-border bg-surface py-5 pl-5 pr-4 shadow-[0_2px_12px_-4px_rgba(15,23,42,0.08)] sm:border-l-4 sm:border-l-brand-orange sm:pl-4&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[11px] font-bold uppercase tracking-[0.14em] text-fg-subtle&quot;,children:&quot;Actif&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-3 truncate text-xl font-bold leading-snug text-fg&quot;,children:(o==null?void 0:o.name)??&quot;—&quot;})]}),l.jsxs(&quot;div&quot;,{className:&quot;rounded-2xl border border-border bg-surface py-5 pl-5 pr-4 shadow-[0_2px_12px_-4px_rgba(15,23,42,0.08)] sm:border-l-4 sm:border-l-brand-blue sm:pl-4&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[11px] font-bold uppercase tracking-[0.14em] text-fg-subtle&quot;,children:&quot;Rôle&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-3 truncate text-xl font-bold leading-snug text-brand-blue&quot;,children:r?on(r.role):&quot;—&quot;})]})]}),l.jsxs(&quot;section&quot;,{children:[l.jsxs(&quot;div&quot;,{className:&quot;mb-5 flex items-center gap-3&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;h-1.5 w-10 rounded-full bg-brand-orange&quot;}),l.jsx(&quot;h2&quot;,{className:&quot;text-sm font-bold uppercase tracking-[0.12em] text-fg&quot;,children:&quot;Actions terrain&quot;})]}),l.jsx(&quot;div&quot;,{className:&quot;grid gap-4 lg:grid-cols-2&quot;,children:x.map(p=&gt;l.jsx(Mv,{tile:p},p.to))}),x.length===0?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Aucun module accessible avec vos habilitations.&quot;}):null]}),l.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-3 rounded-2xl border border-border/80 bg-surface px-4 py-3.5 text-xs text-fg-muted shadow-[0_1px_4px_-2px_rgba(15,23,42,0.06)]&quot;,children:[l.jsxs(&quot;span&quot;,{className:&quot;inline-flex items-center gap-2 rounded-lg bg-success-soft px-2.5 py-1 font-semibold text-success&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;h-1.5 w-1.5 rounded-sm bg-success&quot;}),&quot;Validation chantier → Production&quot;]}),l.jsxs(&quot;span&quot;,{className:&quot;inline-flex items-center gap-2 rounded-lg bg-brand-orange-soft px-2.5 py-1 font-semibold text-brand-orange&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;h-1.5 w-1.5 rounded-sm bg-brand-orange&quot;}),&quot;Validation financière → Paie&quot;]})]}),b.length&gt;0?l.jsxs(&quot;section&quot;,{className:&quot;rounded-2xl border border-dashed border-border/90 bg-surface-alt/40 p-4 sm:p-5&quot;,children:[l.jsx(&quot;h2&quot;,{className:&quot;mb-4 text-[11px] font-bold uppercase tracking-[0.14em] text-fg-subtle&quot;,children:&quot;Administration&quot;}),l.jsx(&quot;ul&quot;,{className:&quot;grid gap-2 sm:grid-cols-3&quot;,children:b.map(p=&gt;l.jsx(&quot;li&quot;,{children:l.jsx(de,{to:p.to,className:&quot;block rounded-xl border border-dashed border-border/70 bg-surface/70 px-3 py-3 shadow-none transition hover:border-border-strong hover:bg-surface&quot;,children:l.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2.5&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-fg-subtle opacity-80 [&amp;_svg]:h-4 [&amp;_svg]:w-4&quot;,children:p.icon}),l.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-sm font-medium text-fg-muted&quot;,children:p.title}),l.jsx(&quot;span&quot;,{className:&quot;mt-0.5 block text-[11px] leading-tight text-fg-subtle&quot;,children:p.sub})]})]})})},p.to))})]}):null]})}const Rv={default:&quot;border-brand-blue&quot;,chantier:&quot;border-success&quot;,finance:&quot;border-brand-orange&quot;};function se({backTo:r,title:u,subtitle:o,badge:c,accent:f=&quot;default&quot;}){return l.jsxs(&quot;header&quot;,{className:`mb-6 space-y-2 border-l-4 pl-4 ${Rv[f]}`,children:[r?l.jsxs(de,{to:r,className:&quot;inline-flex items-center gap-1 text-xs font-bold uppercase tracking-wider text-brand-orange hover:text-brand-orange-hover&quot;,children:[l.jsx(&quot;span&quot;,{&quot;aria-hidden&quot;:!0,className:&quot;text-base leading-none&quot;,children:&quot;←&quot;}),&quot;Retour&quot;]}):null,l.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-start justify-between gap-2&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[l.jsx(&quot;h1&quot;,{className:&quot;text-2xl font-bold tracking-tight text-fg lg:text-3xl&quot;,children:u}),o?l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-fg-muted&quot;,children:o}):null]}),c?l.jsx(&quot;div&quot;,{className:&quot;shrink-0&quot;,children:c}):null]})]})}const Qe=&quot;text-[10px] font-bold uppercase tracking-[0.16em] text-fg-muted&quot;,hn=&quot;rounded-2xl border border-border bg-surface/90 p-5 shadow-sm&quot;,xn=&quot;rounded-2xl border border-border bg-surface-alt/60 p-5 shadow-sm dark:bg-surface-alt/40&quot;,pn=&quot;space-y-6 pb-2 lg:max-w-2xl&quot;,al=&quot;rounded-2xl border border-border bg-surface/90 p-5 shadow-sm&quot;,ut=&quot;border-b border-border/80 pb-2 text-[10px] font-bold uppercase tracking-[0.16em] text-fg-muted&quot;,ua=&quot;inline-flex w-full items-center justify-center rounded-xl bg-brand-orange px-4 py-3.5 text-sm font-bold text-on-brand shadow-md transition hover:bg-brand-orange-hover disabled:opacity-50 sm:w-auto sm:min-w-[12rem]&quot;,Dv={planned:&quot;Planifié&quot;,active:&quot;Actif&quot;,ended:&quot;Terminé&quot;,cancelled:&quot;Annulé&quot;};function Gh(r){return Dv[r]??r}function Yh(r){const u=&quot;inline-flex rounded-md border px-2.5 py-1 text-[11px] font-semibold ring-1 ring-inset&quot;;switch(r){case&quot;active&quot;:return`${u} border-success/50 bg-success-soft text-success ring-success/15`;case&quot;planned&quot;:return`${u} border-brand-blue/50 bg-brand-blue-soft text-brand-blue ring-brand-blue/15`;case&quot;ended&quot;:return`${u} border-border-strong bg-app text-fg-muted ring-border/30`;case&quot;cancelled&quot;:return`${u} border-danger/50 bg-danger-soft text-danger ring-danger/15`;default:return`${u} border-border bg-surface-alt text-fg-subtle ring-border/25`}}function Zi(r){const u=&quot;inline-flex rounded-md border px-2 py-0.5 text-[10px] font-bold uppercase tracking-wide ring-1 ring-inset&quot;;return r?`${u} border-success/50 bg-success-soft text-success ring-success/15`:`${u} border-border-strong bg-app text-fg-muted ring-border/25`}const Lc=&quot;inline-flex rounded-md border border-border bg-surface-alt px-2 py-0.5 text-[10px] font-semibold text-fg-muted&quot;,Uv={preparation:&quot;Préparation&quot;,active:&quot;Actif&quot;,suspended:&quot;Suspendu&quot;,completed:&quot;Terminé&quot;};function Vh(r){return Uv[r]??r}function $h(r){const u=&quot;inline-flex rounded-md border px-2.5 py-1 text-[11px] font-semibold ring-1 ring-inset&quot;;switch(r){case&quot;active&quot;:return`${u} border-success/50 bg-success-soft text-success ring-success/15`;case&quot;preparation&quot;:return`${u} border-brand-blue/50 bg-brand-blue-soft text-brand-blue ring-brand-blue/15`;case&quot;suspended&quot;:return`${u} border-warning/50 bg-warning-soft text-warning ring-warning/15`;case&quot;completed&quot;:return`${u} border-border-strong bg-app text-fg-muted ring-border/30`;default:return`${u} border-border bg-surface-alt text-fg-subtle ring-border/25`}}function Lv(){const{user:r,logout:u}=ze();return l.jsxs(&quot;div&quot;,{className:&quot;space-y-6 pb-2&quot;,children:[l.jsx(se,{title:&quot;Profil&quot;,subtitle:&quot;Session, thème et habilitations visibles.&quot;,accent:&quot;default&quot;}),l.jsxs(&quot;section&quot;,{className:&quot;rounded-2xl border border-border bg-gradient-to-br from-brand-blue-soft/30 to-surface p-5 shadow-sm sm:p-6&quot;,children:[l.jsx(&quot;p&quot;,{className:Qe,children:&quot;Compte&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-2 text-lg font-bold text-fg&quot;,children:(r==null?void 0:r.full_name)??&quot;Utilisateur&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-fg-muted&quot;,children:r==null?void 0:r.email})]}),l.jsxs(&quot;section&quot;,{className:hn,&quot;aria-label&quot;:&quot;Affichage&quot;,children:[l.jsx(&quot;h3&quot;,{className:Qe,children:&quot;Affichage&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm leading-relaxed text-fg-subtle&quot;,children:&quot;Thème clair recommandé en extérieur ; sombre pour le bureau ou la nuit.&quot;}),l.jsx(&quot;div&quot;,{className:&quot;mt-4 max-w-sm&quot;,children:l.jsx(Yi,{variant:&quot;sidebar&quot;})})]}),l.jsxs(&quot;section&quot;,{className:xn,&quot;aria-label&quot;:&quot;Habilitations&quot;,children:[l.jsx(&quot;h3&quot;,{className:Qe,children:&quot;Habilitations (aperçu)&quot;}),l.jsx(&quot;ul&quot;,{className:&quot;mt-3 flex flex-wrap gap-1.5&quot;,children:((r==null?void 0:r.abilities)??[]).map(o=&gt;l.jsx(&quot;li&quot;,{className:&quot;rounded-md border border-border bg-surface px-2 py-0.5 font-mono text-[11px] text-fg-muted&quot;,children:o},o))})]}),l.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;void u(),className:`${pt} w-full border-dashed border-border-strong text-fg-muted hover:text-fg sm:w-auto`,children:&quot;Se déconnecter&quot;})]})}function qv(){const{token:r,can:u}=ze(),[o,c]=m.useState(null),[f,x]=m.useState(null),[b,p]=m.useState(!0);return m.useEffect(()=&gt;{if(!r||!u(&quot;organizations.view&quot;)){p(!1);return}let j=!1;return(async()=&gt;{try{const g=await ne(&quot;/api/v1/organizations/current&quot;,{method:&quot;GET&quot;,token:r});j||c(g.data)}catch(g){j||x(g instanceof ve?g.message:&quot;Chargement impossible&quot;)}finally{j||p(!1)}})(),()=&gt;{j=!0}},[r,u]),u(&quot;organizations.view&quot;)?b?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-subtle&quot;,children:&quot;Chargement…&quot;}):f?l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Organisation&quot;,accent:&quot;default&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:f})]}):l.jsxs(&quot;div&quot;,{className:&quot;space-y-6 pb-2&quot;,children:[l.jsx(se,{backTo:&quot;/&quot;,title:&quot;Organisation courante&quot;,subtitle:&quot;Identité juridique et statut du tenant.&quot;,accent:&quot;default&quot;}),o?l.jsxs(l.Fragment,{children:[l.jsxs(&quot;section&quot;,{className:hn,&quot;aria-label&quot;:&quot;Identité&quot;,children:[l.jsx(&quot;h3&quot;,{className:Qe,children:&quot;Identité&quot;}),l.jsxs(&quot;dl&quot;,{className:&quot;mt-4 space-y-4&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Nom&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-1 text-lg font-bold text-fg&quot;,children:o.name})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Slug&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-1 font-mono text-sm text-fg-muted&quot;,children:o.slug})]})]})]}),l.jsxs(&quot;section&quot;,{className:xn,&quot;aria-label&quot;:&quot;Statut&quot;,children:[l.jsx(&quot;h3&quot;,{className:Qe,children:&quot;Statut&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-3 inline-flex rounded-md border border-border bg-surface-alt px-2.5 py-1 text-sm font-semibold text-fg&quot;,children:o.status})]})]}):null]}):l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Organisation&quot;,accent:&quot;default&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Vous n’avez pas l’habilitation organizations.view.&quot;})]})}function Jt({title:r,hint:u,action:o,icon:c}){return l.jsxs(&quot;div&quot;,{className:&quot;rounded-2xl border border-dashed border-border bg-surface/60 px-6 py-10 text-center sm:py-12&quot;,children:[c?l.jsx(&quot;div&quot;,{className:&quot;mx-auto mb-4 flex h-14 w-14 items-center justify-center rounded-2xl bg-brand-orange-soft text-brand-orange&quot;,children:c}):null,l.jsx(&quot;p&quot;,{className:&quot;text-base font-semibold tracking-tight text-fg&quot;,children:r}),u?l.jsx(&quot;p&quot;,{className:&quot;mx-auto mt-2 max-w-md text-sm leading-relaxed text-fg-muted&quot;,children:u}):null,o?l.jsx(&quot;div&quot;,{className:&quot;mt-7 flex justify-center&quot;,children:o}):null]})}function Hv(){const{token:r,can:u,user:o}=ze(),{setActiveProjectId:c}=ht(),[f,x]=m.useState([]),[b,p]=m.useState(null),[j,g]=m.useState(!0),S=(o==null?void 0:o.role)===&quot;entrepreneur_admin&quot;&amp;&amp;u(&quot;projects.manage&quot;);return m.useEffect(()=&gt;{if(!r||!u(&quot;projects.view&quot;)){g(!1);return}let y=!1;return(async()=&gt;{try{const T=await ne(&quot;/api/v1/projects?per_page=100&amp;sort=name&quot;,{method:&quot;GET&quot;,token:r});y||x(T.data)}catch(T){y||p(T instanceof ve?T.message:&quot;Erreur&quot;)}finally{y||g(!1)}})(),()=&gt;{y=!0}},[r,u]),u(&quot;projects.view&quot;)?l.jsxs(&quot;div&quot;,{className:&quot;space-y-6 pb-2&quot;,children:[l.jsx(se,{title:&quot;Chantiers&quot;,subtitle:&quot;Vos projets selon le rôle et les accès chantier — point d’entrée terrain et pilotage.&quot;,accent:&quot;chantier&quot;}),S?l.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-xs text-fg-subtle&quot;,children:&quot;Création réservée au rôle entrepreneur administrateur.&quot;}),l.jsx(de,{to:&quot;/projects/new&quot;,className:ua,children:&quot;Nouveau chantier&quot;})]}):null,b?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:b}):null,j?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-subtle&quot;,children:&quot;Chargement…&quot;}):null,l.jsx(&quot;ul&quot;,{className:&quot;space-y-3&quot;,children:f.map(y=&gt;l.jsx(&quot;li&quot;,{children:l.jsx(de,{to:`/projects/${y.id}`,className:`${bt} block p-0`,onClick:()=&gt;c(y.id),children:l.jsxs(&quot;div&quot;,{className:&quot;flex items-stretch&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1 p-4&quot;,children:[l.jsx(&quot;p&quot;,{className:Qe,children:&quot;Chantier&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-0.5 text-lg font-bold leading-tight text-fg&quot;,children:y.name}),l.jsx(&quot;div&quot;,{className:&quot;mt-2 flex flex-wrap items-center gap-2&quot;,children:l.jsx(&quot;span&quot;,{className:$h(y.status),title:y.status,children:Vh(y.status)})}),l.jsxs(&quot;p&quot;,{className:&quot;mt-2 font-mono text-xs tabular-nums text-fg-muted&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;font-sans font-medium text-fg-subtle&quot;,children:&quot;Code&quot;}),&quot; &quot;,y.code??&quot;—&quot;]}),y.location?l.jsx(&quot;p&quot;,{className:&quot;mt-1.5 line-clamp-2 text-xs leading-relaxed text-fg-subtle&quot;,children:y.location}):null]}),l.jsx(&quot;div&quot;,{className:&quot;flex shrink-0 items-center border-l border-border/60 px-3 text-lg text-fg-subtle&quot;,&quot;aria-hidden&quot;:!0,children:&quot;›&quot;})]})})},y.id))}),!j&amp;&amp;f.length===0?l.jsx(Jt,{title:&quot;Aucun chantier accessible&quot;,hint:S?&quot;Créez un premier chantier ou vérifiez les accès utilisateurs sur l’organisation.&quot;:&quot;Demandez un accès chantier à votre administrateur ou sélectionnez un autre contexte.&quot;,action:S?l.jsx(de,{to:&quot;/projects/new&quot;,className:ua,children:&quot;Nouveau chantier&quot;}):void 0}):null]}):l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Chantiers&quot;,accent:&quot;chantier&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Accès refusé (projects.view).&quot;})]})}function Bv({status:r}){return l.jsx(&quot;span&quot;,{className:$h(r),title:r,children:Vh(r)})}function Gv(){const{projectId:r}=nt(),u=Number(r),{token:o,can:c}=ze(),{setActiveProjectId:f}=ht(),[x,b]=m.useState(null),[p,j]=m.useState(null),[g,S]=m.useState(!0);if(m.useEffect(()=&gt;{if(!Number.isFinite(u)||!o){S(!1);return}f(u);let T=!1;return(async()=&gt;{try{const D=await ne(`/api/v1/projects/${u}`,{method:&quot;GET&quot;,token:o});T||b(D.data)}catch(D){T||j(D instanceof ve?D.message:&quot;Chargement impossible&quot;)}finally{T||S(!1)}})(),()=&gt;{T=!0}},[u,o,f]),!Number.isFinite(u))return l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:&quot;Identifiant invalide.&quot;});if(g)return l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Chargement…&quot;});if(p||!x)return l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{backTo:&quot;/projects&quot;,title:&quot;Chantier&quot;,accent:&quot;chantier&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:p??&quot;Introuvable&quot;})]});const y=x.id;return l.jsxs(&quot;div&quot;,{className:&quot;space-y-8&quot;,children:[l.jsx(se,{backTo:&quot;/projects&quot;,title:x.name,subtitle:x.code??void 0,badge:l.jsx(Bv,{status:x.status})}),l.jsxs(&quot;div&quot;,{className:&quot;grid gap-6 lg:grid-cols-3&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;rounded-2xl border border-border bg-surface/90 p-5 lg:col-span-2&quot;,children:[l.jsx(&quot;h2&quot;,{className:`${Qe} text-brand-blue`,children:&quot;Fiche chantier&quot;}),x.location?l.jsxs(&quot;p&quot;,{className:&quot;mt-3 text-sm text-fg-muted&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-fg-muted&quot;,children:&quot;Lieu · &quot;}),x.location]}):null,x.description?l.jsx(&quot;p&quot;,{className:&quot;mt-3 text-sm leading-relaxed text-fg-subtle&quot;,children:x.description}):null,l.jsx(&quot;div&quot;,{className:&quot;mt-5 flex flex-wrap gap-2&quot;,children:c(&quot;projects.manage&quot;)?l.jsx(de,{to:`/projects/${y}/edit`,className:pt,children:&quot;Modifier&quot;}):null})]}),l.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[l.jsx(&quot;h2&quot;,{className:Qe,children:&quot;Périmètre&quot;}),l.jsxs(&quot;ul&quot;,{className:&quot;space-y-2&quot;,children:[c(&quot;teams.view&quot;)?l.jsx(&quot;li&quot;,{children:l.jsxs(de,{to:`/projects/${y}/teams`,className:bt,children:[l.jsx(&quot;span&quot;,{className:&quot;font-bold text-fg&quot;,children:&quot;Équipes&quot;}),l.jsx(&quot;span&quot;,{className:&quot;mt-1 block text-xs text-fg-muted&quot;,children:&quot;Groupes sur ce chantier&quot;})]})}):null,c(&quot;worker_assignments.view&quot;)?l.jsx(&quot;li&quot;,{children:l.jsxs(de,{to:`/projects/${y}/assignments`,className:bt,children:[l.jsx(&quot;span&quot;,{className:&quot;font-bold text-fg&quot;,children:&quot;Affectations&quot;}),l.jsx(&quot;span&quot;,{className:&quot;mt-1 block text-xs text-fg-muted&quot;,children:&quot;Ouvriers présents sur le chantier&quot;})]})}):null,c(&quot;projects.manage&quot;)?l.jsx(&quot;li&quot;,{children:l.jsxs(de,{to:`/projects/${y}/access`,className:bt,children:[l.jsx(&quot;span&quot;,{className:&quot;font-bold text-fg&quot;,children:&quot;Accès utilisateurs&quot;}),l.jsx(&quot;span&quot;,{className:&quot;mt-1 block text-xs text-fg-muted&quot;,children:&quot;Visibilité chantier&quot;})]})}):null]})]})]})]})}const Yv=[{value:&quot;preparation&quot;,label:&quot;Préparation&quot;},{value:&quot;active&quot;,label:&quot;Actif&quot;},{value:&quot;suspended&quot;,label:&quot;Suspendu&quot;},{value:&quot;completed&quot;,label:&quot;Terminé&quot;}];function sh(){const{projectId:r}=nt(),u=r?Number(r):null,o=Number.isFinite(u),c=ta(),{token:f,can:x,user:b}=ze(),{refreshProjects:p}=ht(),[j,g]=m.useState(&quot;&quot;),[S,y]=m.useState(&quot;&quot;),[T,D]=m.useState(&quot;&quot;),[M,R]=m.useState(&quot;&quot;),[U,q]=m.useState(&quot;&quot;),[K,X]=m.useState(&quot;&quot;),[le,P]=m.useState(&quot;preparation&quot;),[Z,$]=m.useState(&quot;&quot;),[F,B]=m.useState([]),[ee,ie]=m.useState(null),[H,I]=m.useState(!1),[Q,ae]=m.useState(o);m.useEffect(()=&gt;{if(!f||!x(&quot;users.view&quot;))return;let W=!1;return(async()=&gt;{try{const he=await ne(&quot;/api/v1/users?per_page=100&amp;sort=full_name&quot;,{method:&quot;GET&quot;,token:f});W||B(he.data)}catch{}})(),()=&gt;{W=!0}},[f,x]),m.useEffect(()=&gt;{if(!o||!f||u===null||!Number.isFinite(u)){ae(!1);return}let W=!1;return(async()=&gt;{try{const he=await ne(`/api/v1/projects/${u}`,{method:&quot;GET&quot;,token:f});if(!W){const fe=he.data;g(fe.name),y(fe.code??&quot;&quot;),D(fe.description??&quot;&quot;),R(fe.location??&quot;&quot;),q(fe.start_date??&quot;&quot;),X(fe.expected_end_date??&quot;&quot;),P(fe.status),$(fe.site_manager_user_id?String(fe.site_manager_user_id):&quot;&quot;)}}catch(he){W||ie(he instanceof ve?he.message:&quot;Chargement impossible&quot;)}finally{W||ae(!1)}})(),()=&gt;{W=!0}},[o,u,f]);async function C(W){if(W.preventDefault(),!f)return;ie(null),I(!0);const he={name:j,code:S||null,description:T||null,location:M||null,start_date:U||null,expected_end_date:K||null,status:le,site_manager_user_id:Z?Number(Z):null};try{o&amp;&amp;u!==null?await ne(`/api/v1/projects/${u}`,{method:&quot;PATCH&quot;,token:f,body:JSON.stringify(he)}):await ne(&quot;/api/v1/projects&quot;,{method:&quot;POST&quot;,token:f,body:JSON.stringify(he)}),await p(),c(o?`/projects/${u}`:&quot;/projects&quot;)}catch(fe){ie(fe instanceof ve?fe.message:&quot;Enregistrement impossible&quot;)}finally{I(!1)}}if(!x(&quot;projects.manage&quot;))return l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Chantier&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Réservé aux profils avec projects.manage (hors financier).&quot;})]});if(!o&amp;&amp;(b==null?void 0:b.role)!==&quot;entrepreneur_admin&quot;)return l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{backTo:&quot;/projects&quot;,title:&quot;Nouveau chantier&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Seul le rôle entrepreneur (admin) peut créer un chantier dans le MVP.&quot;})]});if(Q)return l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-subtle&quot;,children:&quot;Chargement…&quot;});const J=o&amp;&amp;u!==null?`/projects/${u}`:&quot;/projects&quot;;return l.jsxs(&quot;div&quot;,{className:pn,children:[l.jsx(se,{backTo:J,title:o?&quot;Modifier le chantier&quot;:&quot;Nouveau chantier&quot;,subtitle:&quot;Identité chantier, planning et pilotage.&quot;,accent:&quot;chantier&quot;}),l.jsxs(&quot;form&quot;,{onSubmit:W=&gt;void C(W),className:al,children:[ee?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:ee}):null,l.jsxs(&quot;div&quot;,{className:&quot;space-y-5&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;h3&quot;,{className:ut,children:&quot;Identification&quot;}),l.jsxs(&quot;div&quot;,{className:&quot;mt-4 space-y-4&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;p-name&quot;,className:re,children:&quot;Nom&quot;}),l.jsx(&quot;input&quot;,{id:&quot;p-name&quot;,className:ge,value:j,onChange:W=&gt;g(W.target.value),required:!0})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;p-code&quot;,className:re,children:&quot;Code&quot;}),l.jsx(&quot;input&quot;,{id:&quot;p-code&quot;,className:ge,value:S,onChange:W=&gt;y(W.target.value)})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;p-desc&quot;,className:re,children:&quot;Description&quot;}),l.jsx(&quot;textarea&quot;,{id:&quot;p-desc&quot;,className:ge,rows:3,value:T,onChange:W=&gt;D(W.target.value)})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;p-loc&quot;,className:re,children:&quot;Lieu&quot;}),l.jsx(&quot;input&quot;,{id:&quot;p-loc&quot;,className:ge,value:M,onChange:W=&gt;R(W.target.value)})]})]})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;h3&quot;,{className:ut,children:&quot;Planning et statut&quot;}),l.jsxs(&quot;div&quot;,{className:&quot;mt-4 grid grid-cols-1 gap-4 sm:grid-cols-2&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;p-start&quot;,className:re,children:&quot;Début&quot;}),l.jsx(&quot;input&quot;,{id:&quot;p-start&quot;,type:&quot;date&quot;,className:ge,value:U,onChange:W=&gt;q(W.target.value)})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;p-end&quot;,className:re,children:&quot;Fin prévue&quot;}),l.jsx(&quot;input&quot;,{id:&quot;p-end&quot;,type:&quot;date&quot;,className:ge,value:K,onChange:W=&gt;X(W.target.value)})]})]}),l.jsxs(&quot;div&quot;,{className:&quot;mt-4&quot;,children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;p-status&quot;,className:re,children:&quot;Statut&quot;}),l.jsx(&quot;select&quot;,{id:&quot;p-status&quot;,className:Ke,value:le,onChange:W=&gt;P(W.target.value),children:Yv.map(W=&gt;l.jsx(&quot;option&quot;,{value:W.value,children:W.label},W.value))})]})]}),x(&quot;users.view&quot;)?l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;h3&quot;,{className:ut,children:&quot;Encadrement&quot;}),l.jsxs(&quot;div&quot;,{className:&quot;mt-4&quot;,children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;p-sm&quot;,className:re,children:&quot;Responsable site (utilisateur)&quot;}),l.jsxs(&quot;select&quot;,{id:&quot;p-sm&quot;,className:Ke,value:Z,onChange:W=&gt;$(W.target.value),children:[l.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),F.map(W=&gt;l.jsxs(&quot;option&quot;,{value:W.id,children:[W.full_name,&quot; (&quot;,W.email,&quot;)&quot;]},W.id))]})]})]}):null]}),l.jsxs(&quot;div&quot;,{className:&quot;mt-8 flex flex-col-reverse gap-3 border-t border-border/80 pt-6 sm:flex-row sm:justify-end&quot;,children:[l.jsx(de,{to:J,className:`${pt} sm:min-w-[7rem]`,children:&quot;Annuler&quot;}),l.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:H,className:`${rt} sm:w-auto sm:min-w-[10rem]`,children:H?&quot;Enregistrement…&quot;:&quot;Enregistrer&quot;})]})]})]})}function Vv(){const{token:r,can:u}=ze(),[o,c]=m.useState([]),[f,x]=m.useState(null),[b,p]=m.useState(!0);return m.useEffect(()=&gt;{if(!r||!u(&quot;users.view&quot;)){p(!1);return}let j=!1;return(async()=&gt;{try{const g=await ne(&quot;/api/v1/users?per_page=100&amp;sort=full_name&quot;,{method:&quot;GET&quot;,token:r});j||c(g.data)}catch(g){j||x(g instanceof ve?g.message:&quot;Erreur&quot;)}finally{j||p(!1)}})(),()=&gt;{j=!0}},[r,u]),u(&quot;users.view&quot;)?l.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[l.jsx(se,{backTo:&quot;/&quot;,title:&quot;Utilisateurs&quot;,subtitle:&quot;Comptes staff, rôles et accès application.&quot;,accent:&quot;default&quot;}),u(&quot;users.manage&quot;)?l.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-xs text-fg-subtle&quot;,children:&quot;Création réservée aux administrateurs.&quot;}),l.jsx(de,{to:&quot;/users/new&quot;,className:ua,children:&quot;Nouvel utilisateur&quot;})]}):null,f?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:f}):null,b?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-subtle&quot;,children:&quot;Chargement…&quot;}):null,l.jsx(&quot;ul&quot;,{className:&quot;space-y-3&quot;,children:o.map(j=&gt;l.jsx(&quot;li&quot;,{children:l.jsx(de,{to:`/users/${j.id}`,className:`${bt} block p-0`,children:l.jsxs(&quot;div&quot;,{className:&quot;flex items-stretch&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1 p-4&quot;,children:[l.jsx(&quot;p&quot;,{className:Qe,children:&quot;Utilisateur&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-0.5 text-lg font-bold leading-tight text-fg&quot;,children:j.full_name}),l.jsxs(&quot;div&quot;,{className:&quot;mt-2 flex flex-wrap items-center gap-2&quot;,children:[l.jsx(&quot;span&quot;,{className:Lc,children:on(j.role)}),l.jsx(&quot;span&quot;,{className:Zi(j.is_active),children:j.is_active?&quot;Actif&quot;:&quot;Inactif&quot;})]}),l.jsx(&quot;p&quot;,{className:&quot;mt-2 truncate text-xs text-fg-muted&quot;,children:j.email})]}),l.jsx(&quot;div&quot;,{className:&quot;flex shrink-0 items-center border-l border-border/60 px-3 text-lg text-fg-subtle&quot;,&quot;aria-hidden&quot;:!0,children:&quot;›&quot;})]})})},j.id))}),!b&amp;&amp;o.length===0?l.jsx(Jt,{title:&quot;Aucun utilisateur&quot;,hint:&quot;Les comptes staff apparaissent ici une fois créés par l’administrateur.&quot;,action:u(&quot;users.manage&quot;)?l.jsx(de,{to:&quot;/users/new&quot;,className:ua,children:&quot;Nouvel utilisateur&quot;}):void 0}):null]}):l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Utilisateurs&quot;,accent:&quot;default&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Réservé à l’entrepreneur admin (MVP).&quot;})]})}function $v(){const{userId:r}=nt(),u=Number(r),{token:o,can:c}=ze(),[f,x]=m.useState(null),[b,p]=m.useState(null),[j,g]=m.useState(!0);return m.useEffect(()=&gt;{if(!Number.isFinite(u)||!o||!c(&quot;users.view&quot;)){g(!1);return}let S=!1;return(async()=&gt;{try{const y=await ne(`/api/v1/users/${u}`,{method:&quot;GET&quot;,token:o});S||x(y.data)}catch(y){S||p(y instanceof ve?y.message:&quot;Erreur&quot;)}finally{S||g(!1)}})(),()=&gt;{S=!0}},[u,o,c]),c(&quot;users.view&quot;)?Number.isFinite(u)?j?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-subtle&quot;,children:&quot;Chargement…&quot;}):b||!f?l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{backTo:&quot;/users&quot;,title:&quot;Utilisateur&quot;,accent:&quot;default&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:b??&quot;Introuvable&quot;})]}):l.jsxs(&quot;div&quot;,{className:&quot;space-y-6 pb-2&quot;,children:[l.jsx(se,{backTo:&quot;/users&quot;,title:&quot;Fiche utilisateur&quot;,accent:&quot;default&quot;}),l.jsx(&quot;section&quot;,{className:&quot;overflow-hidden rounded-2xl border-2 border-brand-blue/25 bg-gradient-to-br from-brand-blue-soft/40 via-surface to-surface shadow-sm&quot;,&quot;aria-label&quot;:&quot;Résumé&quot;,children:l.jsxs(&quot;div&quot;,{className:&quot;p-5 sm:p-6&quot;,children:[l.jsx(&quot;p&quot;,{className:Qe,children:&quot;Compte&quot;}),l.jsx(&quot;h2&quot;,{className:&quot;mt-1 text-2xl font-bold tracking-tight text-fg sm:text-3xl&quot;,children:f.full_name}),l.jsxs(&quot;div&quot;,{className:&quot;mt-3 flex flex-wrap items-center gap-2&quot;,children:[l.jsx(&quot;span&quot;,{className:Lc,children:on(f.role)}),l.jsx(&quot;span&quot;,{className:Zi(f.is_active),children:f.is_active?&quot;Actif&quot;:&quot;Inactif&quot;})]})]})}),l.jsxs(&quot;section&quot;,{className:hn,&quot;aria-label&quot;:&quot;Contact&quot;,children:[l.jsx(&quot;h3&quot;,{className:Qe,children:&quot;Contact&quot;}),l.jsxs(&quot;dl&quot;,{className:&quot;mt-4 space-y-4&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;E-mail&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-1 break-all text-sm font-medium text-fg&quot;,children:f.email})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Téléphone&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-1 text-sm text-fg&quot;,children:f.phone??&quot;—&quot;})]})]})]}),l.jsxs(&quot;section&quot;,{className:xn,&quot;aria-label&quot;:&quot;Méta&quot;,children:[l.jsx(&quot;h3&quot;,{className:Qe,children:&quot;Référence&quot;}),l.jsxs(&quot;p&quot;,{className:&quot;mt-2 text-xs text-fg-subtle&quot;,children:[&quot;Identifiant interne &quot;,l.jsxs(&quot;span&quot;,{className:&quot;font-mono font-medium text-fg-muted&quot;,children:[&quot;#&quot;,f.id]})]})]}),l.jsx(&quot;div&quot;,{className:&quot;flex flex-wrap gap-2&quot;,children:c(&quot;users.manage&quot;)?l.jsx(de,{to:`/users/${f.id}/edit`,className:pt,children:&quot;Modifier&quot;}):null})]}):l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:&quot;Identifiant invalide.&quot;}):l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Utilisateur&quot;,accent:&quot;default&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Accès refusé.&quot;})]})}function ih(){const{userId:r}=nt(),u=r?Number(r):null,o=Number.isFinite(u),c=ta(),{token:f,can:x}=ze(),[b,p]=m.useState(&quot;&quot;),[j,g]=m.useState(&quot;&quot;),[S,y]=m.useState(&quot;&quot;),[T,D]=m.useState(&quot;chef_chantier&quot;),[M,R]=m.useState(&quot;&quot;),[U,q]=m.useState(&quot;&quot;),[K,X]=m.useState(!0),[le,P]=m.useState(null),[Z,$]=m.useState(!1),[F,B]=m.useState(o);m.useEffect(()=&gt;{if(!o||!f||u===null||!Number.isFinite(u)){B(!1);return}if(!x(&quot;users.manage&quot;)){B(!1);return}let H=!1;return(async()=&gt;{try{const I=await ne(`/api/v1/users/${u}`,{method:&quot;GET&quot;,token:f});if(!H){const Q=I.data;p(Q.full_name),g(Q.email),y(Q.phone??&quot;&quot;),D(Q.role),X(Q.is_active)}}catch(I){H||P(I instanceof ve?I.message:&quot;Chargement impossible&quot;)}finally{H||B(!1)}})(),()=&gt;{H=!0}},[o,u,f,x]);async function ee(H){if(H.preventDefault(),!!f){P(null),$(!0);try{if(o&amp;&amp;u!==null){const I={full_name:b,email:j,phone:S||null,role:T,is_active:K};M&amp;&amp;(I.password=M,I.password_confirmation=U),await ne(`/api/v1/users/${u}`,{method:&quot;PATCH&quot;,token:f,body:JSON.stringify(I)}),c(`/users/${u}`)}else await ne(&quot;/api/v1/users&quot;,{method:&quot;POST&quot;,token:f,body:JSON.stringify({full_name:b,email:j,phone:S||null,role:T,password:M,password_confirmation:U,is_active:K})}),c(&quot;/users&quot;)}catch(I){P(I instanceof ve?I.message:&quot;Enregistrement impossible&quot;)}finally{$(!1)}}}if(!x(&quot;users.manage&quot;))return l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Utilisateur&quot;,accent:&quot;default&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Réservé à l’entrepreneur admin.&quot;})]});if(F)return l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-subtle&quot;,children:&quot;Chargement…&quot;});const ie=o&amp;&amp;u!==null?`/users/${u}`:&quot;/users&quot;;return l.jsxs(&quot;div&quot;,{className:pn,children:[l.jsx(se,{backTo:ie,title:o?&quot;Modifier l’utilisateur&quot;:&quot;Nouvel utilisateur&quot;,subtitle:&quot;Compte staff, rôle et sécurité.&quot;,accent:&quot;default&quot;}),l.jsxs(&quot;form&quot;,{onSubmit:H=&gt;void ee(H),className:al,children:[le?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:le}):null,l.jsxs(&quot;div&quot;,{className:&quot;space-y-5&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;h3&quot;,{className:ut,children:&quot;Profil&quot;}),l.jsxs(&quot;div&quot;,{className:&quot;mt-4 space-y-4&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;u-name&quot;,className:re,children:&quot;Nom complet&quot;}),l.jsx(&quot;input&quot;,{id:&quot;u-name&quot;,className:ge,value:b,onChange:H=&gt;p(H.target.value),required:!0})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;u-email&quot;,className:re,children:&quot;E-mail&quot;}),l.jsx(&quot;input&quot;,{id:&quot;u-email&quot;,type:&quot;email&quot;,className:ge,value:j,onChange:H=&gt;g(H.target.value),required:!0})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;u-phone&quot;,className:re,children:&quot;Téléphone&quot;}),l.jsx(&quot;input&quot;,{id:&quot;u-phone&quot;,className:ge,value:S,onChange:H=&gt;y(H.target.value)})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;u-role&quot;,className:re,children:&quot;Rôle&quot;}),l.jsx(&quot;select&quot;,{id:&quot;u-role&quot;,className:Ke,value:T,onChange:H=&gt;D(H.target.value),children:Bh.map(H=&gt;l.jsx(&quot;option&quot;,{value:H.value,children:H.label},H.value))})]})]})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;h3&quot;,{className:ut,children:&quot;Mot de passe&quot;}),l.jsxs(&quot;div&quot;,{className:&quot;mt-4 space-y-4&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;u-pass&quot;,className:re,children:o?&quot;Nouveau mot de passe (optionnel)&quot;:&quot;Mot de passe&quot;}),l.jsx(&quot;input&quot;,{id:&quot;u-pass&quot;,type:&quot;password&quot;,autoComplete:&quot;new-password&quot;,className:ge,value:M,onChange:H=&gt;R(H.target.value),required:!o})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;u-pass2&quot;,className:re,children:&quot;Confirmation&quot;}),l.jsx(&quot;input&quot;,{id:&quot;u-pass2&quot;,type:&quot;password&quot;,autoComplete:&quot;new-password&quot;,className:ge,value:U,onChange:H=&gt;q(H.target.value),required:!o||!!M})]})]})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;h3&quot;,{className:ut,children:&quot;Statut&quot;}),l.jsxs(&quot;label&quot;,{className:&quot;mt-4 flex cursor-pointer items-center gap-3 rounded-xl border border-border/80 bg-app/30 px-4 py-3 text-sm text-fg dark:bg-app/15&quot;,children:[l.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:K,onChange:H=&gt;X(H.target.checked),className:&quot;h-4 w-4&quot;}),l.jsx(&quot;span&quot;,{className:&quot;font-medium&quot;,children:&quot;Compte actif&quot;})]})]})]}),l.jsxs(&quot;div&quot;,{className:&quot;mt-8 flex flex-col-reverse gap-3 border-t border-border/80 pt-6 sm:flex-row sm:justify-end&quot;,children:[l.jsx(de,{to:ie,className:`${pt} sm:min-w-[7rem]`,children:&quot;Annuler&quot;}),l.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:Z,className:`${rt} sm:w-auto sm:min-w-[10rem]`,children:Z?&quot;Enregistrement…&quot;:&quot;Enregistrer&quot;})]})]})]})}function Qv(){const{token:r,can:u}=ze(),[o,c]=m.useState([]),[f,x]=m.useState(null),[b,p]=m.useState(!0);return m.useEffect(()=&gt;{if(!r||!u(&quot;workers.view&quot;)){p(!1);return}let j=!1;return(async()=&gt;{try{const g=await ne(&quot;/api/v1/workers?per_page=100&amp;sort=display_name&quot;,{method:&quot;GET&quot;,token:r});j||c(g.data)}catch(g){j||x(g instanceof ve?g.message:&quot;Erreur&quot;)}finally{j||p(!1)}})(),()=&gt;{j=!0}},[r,u]),u(&quot;workers.view&quot;)?l.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[l.jsx(se,{backTo:&quot;/&quot;,title:&quot;Ouvriers&quot;,subtitle:&quot;Répertoire terrain — identité, spécialité et statut.&quot;,accent:&quot;chantier&quot;}),u(&quot;workers.manage&quot;)?l.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-xs text-fg-subtle&quot;,children:&quot;Ajoutez un profil pour l’affecter ensuite aux chantiers.&quot;}),l.jsx(de,{to:&quot;/workers/new&quot;,className:ua,children:&quot;Nouvel ouvrier&quot;})]}):null,f?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:f}):null,b?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-subtle&quot;,children:&quot;Chargement…&quot;}):null,l.jsx(&quot;ul&quot;,{className:&quot;space-y-3&quot;,children:o.map(j=&gt;l.jsx(&quot;li&quot;,{children:l.jsx(de,{to:`/workers/${j.id}`,className:`${bt} block p-0`,children:l.jsxs(&quot;div&quot;,{className:&quot;flex items-stretch&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1 p-4&quot;,children:[l.jsx(&quot;p&quot;,{className:Qe,children:&quot;Ouvrier&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-0.5 text-lg font-bold leading-tight text-fg&quot;,children:j.display_name}),l.jsx(&quot;div&quot;,{className:&quot;mt-2 flex flex-wrap items-center gap-2&quot;,children:l.jsx(&quot;span&quot;,{className:Zi(j.is_active),children:j.is_active?&quot;Actif&quot;:&quot;Inactif&quot;})}),l.jsxs(&quot;p&quot;,{className:&quot;mt-2 text-xs leading-relaxed text-fg-muted&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;font-medium text-fg-subtle&quot;,children:&quot;Réf.&quot;}),&quot; &quot;,j.external_reference??&quot;—&quot;,l.jsx(&quot;span&quot;,{className:&quot;mx-1.5 text-border-strong&quot;,&quot;aria-hidden&quot;:!0,children:&quot;·&quot;}),l.jsx(&quot;span&quot;,{className:&quot;font-medium text-fg-subtle&quot;,children:&quot;Spécialité&quot;}),&quot; &quot;,j.specialty??&quot;—&quot;]})]}),l.jsx(&quot;div&quot;,{className:&quot;flex shrink-0 items-center border-l border-border/60 px-3 text-lg text-fg-subtle&quot;,&quot;aria-hidden&quot;:!0,children:&quot;›&quot;})]})})},j.id))}),!b&amp;&amp;o.length===0?l.jsx(Jt,{title:&quot;Aucun ouvrier&quot;,hint:u(&quot;workers.manage&quot;)?&quot;Créez une fiche ouvrier pour constituer votre répertoire et l’affecter aux équipes.&quot;:&quot;Le répertoire sera complété par un profil habilité.&quot;,action:u(&quot;workers.manage&quot;)?l.jsx(de,{to:&quot;/workers/new&quot;,className:ua,children:&quot;Nouvel ouvrier&quot;}):void 0}):null]}):l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Ouvriers&quot;,accent:&quot;chantier&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Accès refusé (workers.view).&quot;})]})}const Qh=[{value:&quot;&quot;,label:&quot;Non renseigné — déduction possible (productions / présences)&quot;},{value:&quot;daily&quot;,label:&quot;Au jour — selon les présences (daily)&quot;},{value:&quot;hourly&quot;,label:&quot;À l&#039;heure — selon les présences (hourly)&quot;},{value:&quot;per_completed_work&quot;,label:&quot;Au rendu — productions validées (per_completed_work)&quot;}];function Xv(r){if(r==null||r.trim()===&quot;&quot;)return&quot;—&quot;;const u=Qh.find(o=&gt;o.value===r);return(u==null?void 0:u.label)??r}const Xh=&quot;XOF&quot;,Zv=&quot; FCFA&quot;;function ms(r){if(r==null)return 0;if(typeof r==&quot;number&quot;)return Number.isFinite(r)?r:0;const u=String(r).trim();if(u===&quot;&quot;)return 0;const o=parseFloat(u.replace(&quot;,&quot;,&quot;.&quot;));return Number.isFinite(o)?o:0}function Jv(r){return Number.isFinite(r)&amp;&amp;Math.abs(r-Math.round(r))&lt;1e-9}function hs(r,u=Xh,o=&quot;fcfa&quot;){Number.isFinite(r)||(r=0);const c=Jv(r),f=c?Math.round(r):r,x=new Intl.NumberFormat(&quot;fr-FR&quot;,{minimumFractionDigits:c?0:2,maximumFractionDigits:c?0:2}).format(f);return o===&quot;xof&quot;?`${x} XOF`:`${x}${Zv}`}function cn(r,u=&quot;fcfa&quot;){return hs(ms(r),Xh,u)}function Kv(){const{workerId:r}=nt(),u=Number(r),{token:o,can:c}=ze(),[f,x]=m.useState(null),[b,p]=m.useState(null),[j,g]=m.useState(!0);if(m.useEffect(()=&gt;{if(!Number.isFinite(u)||!o||!c(&quot;workers.view&quot;)){g(!1);return}let y=!1;return(async()=&gt;{try{const T=await ne(`/api/v1/workers/${u}`,{method:&quot;GET&quot;,token:o});y||x(T.data)}catch(T){y||p(T instanceof ve?T.message:&quot;Erreur&quot;)}finally{y||g(!1)}})(),()=&gt;{y=!0}},[u,o,c]),!c(&quot;workers.view&quot;))return l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Ouvrier&quot;,accent:&quot;chantier&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Accès refusé.&quot;})]});if(!Number.isFinite(u))return l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:&quot;Identifiant invalide.&quot;});if(j)return l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-subtle&quot;,children:&quot;Chargement…&quot;});if(b||!f)return l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{backTo:&quot;/workers&quot;,title:&quot;Ouvrier&quot;,accent:&quot;chantier&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:b??&quot;Introuvable&quot;})]});const S=f.base_rate!==null&amp;&amp;f.base_rate!==void 0&amp;&amp;String(f.base_rate).trim()!==&quot;&quot;?cn(f.base_rate):null;return l.jsxs(&quot;div&quot;,{className:&quot;space-y-6 pb-2&quot;,children:[l.jsx(se,{backTo:&quot;/workers&quot;,title:&quot;Fiche ouvrier&quot;,accent:&quot;chantier&quot;}),l.jsx(&quot;section&quot;,{className:&quot;overflow-hidden rounded-2xl border-2 border-success/25 bg-gradient-to-br from-success-soft/35 via-surface to-surface shadow-sm&quot;,&quot;aria-label&quot;:&quot;Résumé&quot;,children:l.jsxs(&quot;div&quot;,{className:&quot;p-5 sm:p-6&quot;,children:[l.jsx(&quot;p&quot;,{className:Qe,children:&quot;Identité&quot;}),l.jsx(&quot;h2&quot;,{className:&quot;mt-1 text-2xl font-bold tracking-tight text-fg sm:text-3xl&quot;,children:f.display_name}),l.jsx(&quot;div&quot;,{className:&quot;mt-3&quot;,children:l.jsx(&quot;span&quot;,{className:Zi(f.is_active),children:f.is_active?&quot;Actif&quot;:&quot;Inactif&quot;})})]})}),l.jsxs(&quot;section&quot;,{className:hn,&quot;aria-label&quot;:&quot;Coordonnées et profil&quot;,children:[l.jsx(&quot;h3&quot;,{className:Qe,children:&quot;Coordonnées et profil&quot;}),l.jsxs(&quot;dl&quot;,{className:&quot;mt-4 grid gap-4 sm:grid-cols-2&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Référence externe&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-1 font-mono text-sm text-fg&quot;,children:f.external_reference??&quot;—&quot;})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Téléphone&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-1 text-sm text-fg&quot;,children:f.phone??&quot;—&quot;})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Spécialité&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-1 text-sm text-fg&quot;,children:f.specialty??&quot;—&quot;})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Type&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-1 text-sm text-fg&quot;,children:f.worker_type??&quot;—&quot;})]})]})]}),l.jsxs(&quot;section&quot;,{className:xn,&quot;aria-label&quot;:&quot;Paie&quot;,children:[l.jsx(&quot;h3&quot;,{className:Qe,children:&quot;Paramètres de paie&quot;}),l.jsxs(&quot;dl&quot;,{className:&quot;mt-4 space-y-3 text-sm&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Mode de paiement&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-1 font-medium text-fg&quot;,children:Xv(f.payment_mode)})]}),S?l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Taux de base&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-1 text-lg font-bold tabular-nums text-fg&quot;,children:S})]}):l.jsx(&quot;p&quot;,{className:&quot;text-xs text-fg-subtle&quot;,children:&quot;Aucun taux de base renseigné sur la fiche.&quot;})]})]}),l.jsx(&quot;div&quot;,{className:&quot;flex flex-wrap gap-2&quot;,children:c(&quot;workers.manage&quot;)?l.jsx(de,{to:`/workers/${f.id}/edit`,className:pt,children:&quot;Modifier&quot;}):null})]})}function Fv(r){return r===&quot;&quot;||r===&quot;daily&quot;||r===&quot;hourly&quot;||r===&quot;per_completed_work&quot;}function rh(){const{workerId:r}=nt(),u=r?Number(r):null,o=Number.isFinite(u),c=ta(),{token:f,can:x}=ze(),[b,p]=m.useState(&quot;&quot;),[j,g]=m.useState(&quot;&quot;),[S,y]=m.useState(&quot;&quot;),[T,D]=m.useState(&quot;&quot;),[M,R]=m.useState(&quot;&quot;),[U,q]=m.useState(&quot;&quot;),[K,X]=m.useState(&quot;&quot;),[le,P]=m.useState(!0),[Z,$]=m.useState(null),[F,B]=m.useState(!1),[ee,ie]=m.useState(o);m.useEffect(()=&gt;{if(!o||!f||u===null||!Number.isFinite(u)){ie(!1);return}let Q=!1;return(async()=&gt;{try{const ae=await ne(`/api/v1/workers/${u}`,{method:&quot;GET&quot;,token:f});if(!Q){const C=ae.data;p(C.display_name),g(C.external_reference??&quot;&quot;),y(C.phone??&quot;&quot;),D(C.specialty??&quot;&quot;),R(C.worker_type??&quot;&quot;),q(C.payment_mode??&quot;&quot;),X(C.base_rate!==null&amp;&amp;C.base_rate!==void 0?String(C.base_rate):&quot;&quot;),P(C.is_active)}}catch(ae){Q||$(ae instanceof ve?ae.message:&quot;Chargement impossible&quot;)}finally{Q||ie(!1)}})(),()=&gt;{Q=!0}},[o,u,f]);async function H(Q){if(Q.preventDefault(),!f)return;$(null),B(!0);const ae={display_name:b,external_reference:j||null,phone:S||null,specialty:T||null,worker_type:M||null,payment_mode:U||null,base_rate:K===&quot;&quot;?null:Number(K),is_active:le};try{o&amp;&amp;u!==null?(await ne(`/api/v1/workers/${u}`,{method:&quot;PATCH&quot;,token:f,body:JSON.stringify(ae)}),c(`/workers/${u}`)):(await ne(&quot;/api/v1/workers&quot;,{method:&quot;POST&quot;,token:f,body:JSON.stringify(ae)}),c(&quot;/workers&quot;))}catch(C){$(C instanceof ve?C.message:&quot;Enregistrement impossible&quot;)}finally{B(!1)}}if(!x(&quot;workers.manage&quot;))return l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Ouvrier&quot;,accent:&quot;chantier&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Réservé aux profils avec workers.manage.&quot;})]});if(ee)return l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-subtle&quot;,children:&quot;Chargement…&quot;});const I=o&amp;&amp;u!==null?`/workers/${u}`:&quot;/workers&quot;;return l.jsxs(&quot;div&quot;,{className:pn,children:[l.jsx(se,{backTo:I,title:o?&quot;Modifier l’ouvrier&quot;:&quot;Nouvel ouvrier&quot;,subtitle:&quot;Identité terrain et paramètres de paie.&quot;,accent:&quot;chantier&quot;}),l.jsxs(&quot;form&quot;,{onSubmit:Q=&gt;void H(Q),className:al,children:[Z?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:Z}):null,l.jsxs(&quot;div&quot;,{className:&quot;space-y-5&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;h3&quot;,{className:ut,children:&quot;Identité&quot;}),l.jsxs(&quot;div&quot;,{className:&quot;mt-4 space-y-4&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;w-name&quot;,className:re,children:&quot;Nom affiché&quot;}),l.jsx(&quot;input&quot;,{id:&quot;w-name&quot;,className:ge,value:b,onChange:Q=&gt;p(Q.target.value),required:!0})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;w-ref&quot;,className:re,children:&quot;Référence externe&quot;}),l.jsx(&quot;input&quot;,{id:&quot;w-ref&quot;,className:ge,value:j,onChange:Q=&gt;g(Q.target.value)})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;w-phone&quot;,className:re,children:&quot;Téléphone&quot;}),l.jsx(&quot;input&quot;,{id:&quot;w-phone&quot;,className:ge,value:S,onChange:Q=&gt;y(Q.target.value)})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;w-spec&quot;,className:re,children:&quot;Spécialité&quot;}),l.jsx(&quot;input&quot;,{id:&quot;w-spec&quot;,className:ge,value:T,onChange:Q=&gt;D(Q.target.value)})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;w-type&quot;,className:re,children:&quot;Type&quot;}),l.jsx(&quot;input&quot;,{id:&quot;w-type&quot;,className:ge,value:M,onChange:Q=&gt;R(Q.target.value)})]})]})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;h3&quot;,{className:ut,children:&quot;Paie&quot;}),l.jsxs(&quot;div&quot;,{className:&quot;mt-4 space-y-4&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;w-pay&quot;,className:re,children:&quot;Mode de paiement&quot;}),l.jsxs(&quot;select&quot;,{id:&quot;w-pay&quot;,value:U,onChange:Q=&gt;q(Q.target.value),className:Ke,children:[U!==&quot;&quot;&amp;&amp;!Fv(U)?l.jsxs(&quot;option&quot;,{value:U,children:[&quot;Valeur actuelle non reconnue : &quot;,U]}):null,Qh.map(Q=&gt;l.jsx(&quot;option&quot;,{value:Q.value,children:Q.label},Q.value||&quot;unset&quot;))]}),l.jsx(&quot;p&quot;,{className:&quot;mt-2 text-xs leading-relaxed text-fg-muted&quot;,children:&quot;Pour la paie « au rendu », choisissez « Au rendu » et renseignez un taux de base ou un taux unitaire sur chaque ligne de production.&quot;})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;w-rate&quot;,className:re,children:&quot;Taux de base (FCFA)&quot;}),l.jsx(&quot;input&quot;,{id:&quot;w-rate&quot;,type:&quot;number&quot;,step:&quot;0.01&quot;,min:&quot;0&quot;,className:ge,value:K,onChange:Q=&gt;X(Q.target.value)})]})]})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;h3&quot;,{className:ut,children:&quot;Statut&quot;}),l.jsxs(&quot;label&quot;,{className:&quot;mt-4 flex cursor-pointer items-center gap-3 rounded-xl border border-border/80 bg-app/30 px-4 py-3 text-sm text-fg dark:bg-app/15&quot;,children:[l.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:le,onChange:Q=&gt;P(Q.target.checked),className:&quot;h-4 w-4&quot;}),l.jsx(&quot;span&quot;,{className:&quot;font-medium&quot;,children:&quot;Ouvrier actif dans le répertoire&quot;})]})]})]}),l.jsxs(&quot;div&quot;,{className:&quot;mt-8 flex flex-col-reverse gap-3 border-t border-border/80 pt-6 sm:flex-row sm:justify-end&quot;,children:[l.jsx(de,{to:I,className:`${pt} sm:min-w-[7rem]`,children:&quot;Annuler&quot;}),l.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:F,className:`${rt} sm:w-auto sm:min-w-[10rem]`,children:F?&quot;Enregistrement…&quot;:&quot;Enregistrer&quot;})]})]})]})}function Wv(){const{projectId:r}=nt(),u=Number(r),{token:o,can:c}=ze(),{setActiveProjectId:f}=ht(),[x,b]=m.useState([]),[p,j]=m.useState(null),[g,S]=m.useState(!0);return m.useEffect(()=&gt;{if(!Number.isFinite(u)||!o||!c(&quot;teams.view&quot;)){S(!1);return}f(u);let y=!1;return(async()=&gt;{try{const T=await ne(`/api/v1/projects/${u}/teams?per_page=100&amp;sort=name`,{method:&quot;GET&quot;,token:o});y||b(T.data)}catch(T){y||j(T instanceof ve?T.message:&quot;Erreur&quot;)}finally{y||S(!1)}})(),()=&gt;{y=!0}},[u,o,c,f]),c(&quot;teams.view&quot;)?Number.isFinite(u)?l.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[l.jsx(se,{backTo:`/projects/${u}`,title:&quot;Équipes&quot;,subtitle:&quot;Groupes d’intervention sur ce chantier.&quot;,accent:&quot;chantier&quot;}),c(&quot;teams.manage&quot;)?l.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-xs text-fg-subtle&quot;,children:&quot;Structurez les équipes avant d’affecter les ouvriers.&quot;}),l.jsx(de,{to:`/projects/${u}/teams/new`,className:ua,children:&quot;Nouvelle équipe&quot;})]}):null,p?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:p}):null,g?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-subtle&quot;,children:&quot;Chargement…&quot;}):null,l.jsx(&quot;ul&quot;,{className:&quot;space-y-3&quot;,children:x.map(y=&gt;l.jsx(&quot;li&quot;,{children:l.jsx(de,{to:`/projects/${u}/teams/${y.id}`,className:`${bt} block p-0`,children:l.jsxs(&quot;div&quot;,{className:&quot;flex items-stretch&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1 p-4&quot;,children:[l.jsx(&quot;p&quot;,{className:Qe,children:&quot;Équipe&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-0.5 text-lg font-bold leading-tight text-fg&quot;,children:y.name}),y.description?l.jsx(&quot;p&quot;,{className:&quot;mt-2 line-clamp-2 text-sm leading-relaxed text-fg-muted&quot;,children:y.description}):l.jsx(&quot;p&quot;,{className:&quot;mt-2 text-xs italic text-fg-subtle&quot;,children:&quot;Pas de description&quot;})]}),l.jsx(&quot;div&quot;,{className:&quot;flex shrink-0 items-center border-l border-border/60 px-3 text-lg text-fg-subtle&quot;,&quot;aria-hidden&quot;:!0,children:&quot;›&quot;})]})})},y.id))}),!g&amp;&amp;x.length===0?l.jsx(Jt,{title:&quot;Aucune équipe sur ce chantier&quot;,hint:c(&quot;teams.manage&quot;)?&quot;Créez une équipe pour organiser le terrain et lier un chef d’équipe.&quot;:&quot;Les équipes seront créées par un profil habilité.&quot;,action:c(&quot;teams.manage&quot;)?l.jsx(de,{to:`/projects/${u}/teams/new`,className:ua,children:&quot;Nouvelle équipe&quot;}):void 0}):null]}):l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:&quot;Projet invalide.&quot;}):l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Équipes&quot;,accent:&quot;chantier&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Accès refusé (teams.view).&quot;})]})}function Iv(){const{projectId:r,teamId:u}=nt(),o=Number(r),c=Number(u),{token:f,can:x}=ze(),b=ta(),[p,j]=m.useState(null),[g,S]=m.useState(null),[y,T]=m.useState(!0),[D,M]=m.useState(!1);m.useEffect(()=&gt;{if(!Number.isFinite(c)||!f||!x(&quot;teams.view&quot;)){T(!1);return}let U=!1;return(async()=&gt;{try{const q=await ne(`/api/v1/teams/${c}`,{method:&quot;GET&quot;,token:f});U||j(q.data)}catch(q){U||S(q instanceof ve?q.message:&quot;Erreur&quot;)}finally{U||T(!1)}})(),()=&gt;{U=!0}},[c,f,x]);async function R(){if(!(!f||!p||!window.confirm(&quot;Supprimer cette équipe ?&quot;))){M(!0);try{await ne(`/api/v1/teams/${p.id}`,{method:&quot;DELETE&quot;,token:f}),b(`/projects/${o}/teams`)}catch(U){S(U instanceof ve?U.message:&quot;Suppression impossible&quot;)}finally{M(!1)}}}return x(&quot;teams.view&quot;)?!Number.isFinite(c)||!Number.isFinite(o)?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:&quot;Paramètres invalides.&quot;}):y?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-subtle&quot;,children:&quot;Chargement…&quot;}):g||!p?l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{backTo:`/projects/${o}/teams`,title:&quot;Équipe&quot;,accent:&quot;chantier&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:g??&quot;Introuvable&quot;})]}):p.project_id!==o?l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{backTo:`/projects/${o}/teams`,title:&quot;Équipe&quot;,accent:&quot;chantier&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:&quot;Cette équipe n’appartient pas à ce chantier.&quot;})]}):l.jsxs(&quot;div&quot;,{className:&quot;space-y-6 pb-2&quot;,children:[l.jsx(se,{backTo:`/projects/${o}/teams`,title:&quot;Fiche équipe&quot;,accent:&quot;chantier&quot;}),l.jsx(&quot;section&quot;,{className:&quot;overflow-hidden rounded-2xl border-2 border-success/25 bg-gradient-to-br from-success-soft/35 via-surface to-surface shadow-sm&quot;,&quot;aria-label&quot;:&quot;Résumé&quot;,children:l.jsxs(&quot;div&quot;,{className:&quot;p-5 sm:p-6&quot;,children:[l.jsx(&quot;p&quot;,{className:Qe,children:&quot;Équipe&quot;}),l.jsx(&quot;h2&quot;,{className:&quot;mt-1 text-2xl font-bold tracking-tight text-fg sm:text-3xl&quot;,children:p.name})]})}),l.jsxs(&quot;section&quot;,{className:hn,&quot;aria-label&quot;:&quot;Description&quot;,children:[l.jsx(&quot;h3&quot;,{className:Qe,children:&quot;Description&quot;}),p.description?l.jsx(&quot;p&quot;,{className:&quot;mt-3 text-sm leading-relaxed text-fg&quot;,children:p.description}):l.jsx(&quot;p&quot;,{className:&quot;mt-3 text-sm italic text-fg-subtle&quot;,children:&quot;Aucune description.&quot;})]}),l.jsxs(&quot;section&quot;,{className:xn,&quot;aria-label&quot;:&quot;Encadrement&quot;,children:[l.jsx(&quot;h3&quot;,{className:Qe,children:&quot;Encadrement&quot;}),l.jsxs(&quot;dl&quot;,{className:&quot;mt-4&quot;,children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Chef d’équipe (ouvrier)&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-1 text-sm text-fg&quot;,children:p.leader_worker_id?l.jsxs(de,{to:`/workers/${p.leader_worker_id}`,className:&quot;font-semibold text-brand-blue transition hover:text-brand-blue-hover hover:underline&quot;,children:[&quot;Voir la fiche ouvrier #&quot;,p.leader_worker_id]}):&quot;—&quot;})]})]}),x(&quot;teams.manage&quot;)?l.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-2&quot;,children:[l.jsx(de,{to:`/projects/${o}/teams/${c}/edit`,className:pt,children:&quot;Modifier&quot;}),l.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:D,onClick:()=&gt;void R(),className:`${pt} border-danger/45 text-danger hover:bg-danger-soft`,children:D?&quot;Suppression…&quot;:&quot;Supprimer&quot;})]}):null]}):l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Équipe&quot;,accent:&quot;chantier&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Accès refusé.&quot;})]})}function uh(){const{projectId:r,teamId:u}=nt(),o=Number(r),c=u?Number(u):null,f=Number.isFinite(c),x=ta(),{token:b,can:p}=ze(),[j,g]=m.useState(&quot;&quot;),[S,y]=m.useState(&quot;&quot;),[T,D]=m.useState(&quot;&quot;),[M,R]=m.useState([]),[U,q]=m.useState(null),[K,X]=m.useState(!1),[le,P]=m.useState(f);m.useEffect(()=&gt;{if(!b||!p(&quot;workers.view&quot;))return;let F=!1;return(async()=&gt;{try{const B=await ne(&quot;/api/v1/workers?per_page=100&amp;sort=display_name&quot;,{method:&quot;GET&quot;,token:b});F||R(B.data)}catch{}})(),()=&gt;{F=!0}},[b,p]),m.useEffect(()=&gt;{if(!f||!b||c===null||!Number.isFinite(c)){P(!1);return}let F=!1;return(async()=&gt;{try{const B=await ne(`/api/v1/teams/${c}`,{method:&quot;GET&quot;,token:b});if(!F){const ee=B.data;g(ee.name),y(ee.description??&quot;&quot;),D(ee.leader_worker_id?String(ee.leader_worker_id):&quot;&quot;)}}catch(B){F||q(B instanceof ve?B.message:&quot;Chargement impossible&quot;)}finally{F||P(!1)}})(),()=&gt;{F=!0}},[f,c,b]);async function Z(F){if(F.preventDefault(),!b||!Number.isFinite(o))return;q(null),X(!0);const B={name:j,description:S||null,leader_worker_id:T?Number(T):null};try{f&amp;&amp;c!==null?(await ne(`/api/v1/teams/${c}`,{method:&quot;PATCH&quot;,token:b,body:JSON.stringify(B)}),x(`/projects/${o}/teams/${c}`)):(await ne(`/api/v1/projects/${o}/teams`,{method:&quot;POST&quot;,token:b,body:JSON.stringify(B)}),x(`/projects/${o}/teams`))}catch(ee){q(ee instanceof ve?ee.message:&quot;Enregistrement impossible&quot;)}finally{X(!1)}}if(!p(&quot;teams.manage&quot;))return l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Équipe&quot;,accent:&quot;chantier&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Réservé aux profils avec teams.manage.&quot;})]});if(!Number.isFinite(o))return l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:&quot;Projet invalide.&quot;});if(le)return l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-subtle&quot;,children:&quot;Chargement…&quot;});const $=f&amp;&amp;c!==null?`/projects/${o}/teams/${c}`:`/projects/${o}/teams`;return l.jsxs(&quot;div&quot;,{className:pn,children:[l.jsx(se,{backTo:$,title:f?&quot;Modifier l’équipe&quot;:&quot;Nouvelle équipe&quot;,subtitle:&quot;Nom, description et chef d’équipe sur ce chantier.&quot;,accent:&quot;chantier&quot;}),l.jsxs(&quot;form&quot;,{onSubmit:F=&gt;void Z(F),className:al,children:[U?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:U}):null,l.jsxs(&quot;div&quot;,{className:&quot;space-y-5&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;h3&quot;,{className:ut,children:&quot;Équipe&quot;}),l.jsxs(&quot;div&quot;,{className:&quot;mt-4 space-y-4&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;t-name&quot;,className:re,children:&quot;Nom&quot;}),l.jsx(&quot;input&quot;,{id:&quot;t-name&quot;,className:ge,value:j,onChange:F=&gt;g(F.target.value),required:!0})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;t-desc&quot;,className:re,children:&quot;Description&quot;}),l.jsx(&quot;textarea&quot;,{id:&quot;t-desc&quot;,className:ge,rows:3,value:S,onChange:F=&gt;y(F.target.value)})]})]})]}),p(&quot;workers.view&quot;)?l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;h3&quot;,{className:ut,children:&quot;Encadrement&quot;}),l.jsxs(&quot;div&quot;,{className:&quot;mt-4&quot;,children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;t-lead&quot;,className:re,children:&quot;Chef d’équipe (ouvrier)&quot;}),l.jsxs(&quot;select&quot;,{id:&quot;t-lead&quot;,className:Ke,value:T,onChange:F=&gt;D(F.target.value),children:[l.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;— Non renseigné —&quot;}),M.map(F=&gt;l.jsx(&quot;option&quot;,{value:F.id,children:F.display_name},F.id))]})]})]}):null]}),l.jsxs(&quot;div&quot;,{className:&quot;mt-8 flex flex-col-reverse gap-3 border-t border-border/80 pt-6 sm:flex-row sm:justify-end&quot;,children:[l.jsx(de,{to:$,className:`${pt} sm:min-w-[7rem]`,children:&quot;Annuler&quot;}),l.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:K,className:`${rt} sm:w-auto sm:min-w-[10rem]`,children:K?&quot;Enregistrement…&quot;:&quot;Enregistrer&quot;})]})]})]})}function Pv(){const{projectId:r}=nt(),u=Number(r),{token:o,can:c}=ze(),{setActiveProjectId:f}=ht(),[x,b]=m.useState([]),[p,j]=m.useState(null),[g,S]=m.useState(!0);return m.useEffect(()=&gt;{if(!Number.isFinite(u)||!o||!c(&quot;worker_assignments.view&quot;)){S(!1);return}f(u);let y=!1;return(async()=&gt;{try{const T=await ne(`/api/v1/projects/${u}/worker-assignments?per_page=100&amp;sort=-created_at`,{method:&quot;GET&quot;,token:o});y||b(T.data)}catch(T){y||j(T instanceof ve?T.message:&quot;Erreur&quot;)}finally{y||S(!1)}})(),()=&gt;{y=!0}},[u,o,c,f]),c(&quot;worker_assignments.view&quot;)?Number.isFinite(u)?l.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[l.jsx(se,{backTo:`/projects/${u}`,title:&quot;Affectations ouvriers&quot;,subtitle:&quot;Lien ouvrier ↔ chantier (équipe, dates, statut).&quot;,accent:&quot;chantier&quot;}),c(&quot;worker_assignments.manage&quot;)?l.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-xs text-fg-subtle&quot;,children:&quot;Une affectation active permet la saisie terrain sur ce chantier.&quot;}),l.jsx(de,{to:`/projects/${u}/assignments/new`,className:ua,children:&quot;Nouvelle affectation&quot;})]}):null,p?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:p}):null,g?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-subtle&quot;,children:&quot;Chargement…&quot;}):null,l.jsx(&quot;ul&quot;,{className:&quot;space-y-3&quot;,children:x.map(y=&gt;{var T;return l.jsx(&quot;li&quot;,{children:l.jsx(de,{to:`/projects/${u}/assignments/${y.id}`,className:`${bt} block p-0`,children:l.jsxs(&quot;div&quot;,{className:&quot;flex items-stretch&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1 p-4&quot;,children:[l.jsx(&quot;p&quot;,{className:Qe,children:&quot;Ouvrier&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-0.5 text-lg font-bold leading-tight text-fg&quot;,children:((T=y.worker)==null?void 0:T.display_name)??`Ouvrier #${y.worker_id}`}),l.jsx(&quot;div&quot;,{className:&quot;mt-2 flex flex-wrap items-center gap-2&quot;,children:l.jsx(&quot;span&quot;,{className:Yh(y.status),title:y.status,children:Gh(y.status)})}),l.jsxs(&quot;p&quot;,{className:&quot;mt-2 text-xs tabular-nums text-fg-muted&quot;,children:[y.start_date?`Depuis le ${y.start_date}`:&quot;Sans date de début&quot;,y.end_date?` · jusqu’au ${y.end_date}`:&quot;&quot;]})]}),l.jsx(&quot;div&quot;,{className:&quot;flex shrink-0 items-center border-l border-border/60 px-3 text-lg text-fg-subtle&quot;,&quot;aria-hidden&quot;:!0,children:&quot;›&quot;})]})})},y.id)})}),!g&amp;&amp;x.length===0?l.jsx(Jt,{title:&quot;Aucune affectation&quot;,hint:c(&quot;worker_assignments.manage&quot;)?&quot;Affectez un ouvrier à ce chantier pour qu’il apparaisse dans les équipes et la saisie.&quot;:&quot;Les affectations sont gérées par un profil habilité.&quot;,action:c(&quot;worker_assignments.manage&quot;)?l.jsx(de,{to:`/projects/${u}/assignments/new`,className:ua,children:&quot;Nouvelle affectation&quot;}):void 0}):null]}):l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:&quot;Projet invalide.&quot;}):l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Affectations&quot;,accent:&quot;chantier&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Accès refusé (worker_assignments.view).&quot;})]})}const ej=[{value:&quot;planned&quot;,label:&quot;Planifié&quot;},{value:&quot;active&quot;,label:&quot;Actif&quot;},{value:&quot;ended&quot;,label:&quot;Terminé&quot;},{value:&quot;cancelled&quot;,label:&quot;Annulé&quot;}];function tj(){const{projectId:r}=nt(),u=Number(r),o=ta(),{token:c,can:f}=ze(),[x,b]=m.useState(&quot;&quot;),[p,j]=m.useState(&quot;&quot;),[g,S]=m.useState(&quot;&quot;),[y,T]=m.useState(&quot;&quot;),[D,M]=m.useState(&quot;active&quot;),[R,U]=m.useState([]),[q,K]=m.useState([]),[X,le]=m.useState(null),[P,Z]=m.useState(!1);m.useEffect(()=&gt;{if(!c||!Number.isFinite(u))return;let B=!1;return(async()=&gt;{try{const[ee,ie]=await Promise.all([f(&quot;workers.view&quot;)?ne(&quot;/api/v1/workers?per_page=100&amp;sort=display_name&quot;,{method:&quot;GET&quot;,token:c}):Promise.resolve({data:[]}),ne(`/api/v1/projects/${u}/teams?per_page=100&amp;sort=name`,{method:&quot;GET&quot;,token:c})]);B||(U(ee.data),K(ie.data))}catch{}})(),()=&gt;{B=!0}},[c,u,f]);async function $(B){if(B.preventDefault(),!(!c||!Number.isFinite(u))){le(null),Z(!0);try{const ee=await ne(`/api/v1/projects/${u}/worker-assignments`,{method:&quot;POST&quot;,token:c,body:JSON.stringify({worker_id:Number(x),team_id:p?Number(p):null,start_date:g||null,end_date:y||null,status:D})});o(`/projects/${u}/assignments/${ee.data.id}`)}catch(ee){le(ee instanceof ve?ee.message:&quot;Enregistrement impossible&quot;)}finally{Z(!1)}}}if(!f(&quot;worker_assignments.manage&quot;))return l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Affectation&quot;,accent:&quot;chantier&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Réservé aux profils avec worker_assignments.manage.&quot;})]});if(!Number.isFinite(u))return l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:&quot;Projet invalide.&quot;});const F=`/projects/${u}/assignments`;return l.jsxs(&quot;div&quot;,{className:pn,children:[l.jsx(se,{backTo:F,title:&quot;Nouvelle affectation&quot;,subtitle:&quot;Rattache un ouvrier à ce chantier (équipe et période optionnelles).&quot;,accent:&quot;chantier&quot;}),l.jsxs(&quot;form&quot;,{onSubmit:B=&gt;void $(B),className:al,children:[X?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:X}):null,l.jsxs(&quot;div&quot;,{className:&quot;space-y-5&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;h3&quot;,{className:ut,children:&quot;Ouvrier et équipe&quot;}),l.jsxs(&quot;div&quot;,{className:&quot;mt-4 space-y-4&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;a-worker&quot;,className:re,children:&quot;Ouvrier&quot;}),l.jsxs(&quot;select&quot;,{id:&quot;a-worker&quot;,className:Ke,value:x,onChange:B=&gt;b(B.target.value),required:!0,children:[l.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;— Choisir —&quot;}),R.map(B=&gt;l.jsx(&quot;option&quot;,{value:B.id,children:B.display_name},B.id))]})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;a-team&quot;,className:re,children:&quot;Équipe (optionnel)&quot;}),l.jsxs(&quot;select&quot;,{id:&quot;a-team&quot;,className:Ke,value:p,onChange:B=&gt;j(B.target.value),children:[l.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;— Aucune —&quot;}),q.map(B=&gt;l.jsx(&quot;option&quot;,{value:B.id,children:B.name},B.id))]})]})]})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;h3&quot;,{className:ut,children:&quot;Période&quot;}),l.jsxs(&quot;div&quot;,{className:&quot;mt-4 grid grid-cols-1 gap-4 sm:grid-cols-2&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;a-start&quot;,className:re,children:&quot;Début&quot;}),l.jsx(&quot;input&quot;,{id:&quot;a-start&quot;,type:&quot;date&quot;,className:ge,value:g,onChange:B=&gt;S(B.target.value)})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;a-end&quot;,className:re,children:&quot;Fin&quot;}),l.jsx(&quot;input&quot;,{id:&quot;a-end&quot;,type:&quot;date&quot;,className:ge,value:y,onChange:B=&gt;T(B.target.value)})]})]})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;h3&quot;,{className:ut,children:&quot;Statut&quot;}),l.jsxs(&quot;div&quot;,{className:&quot;mt-4&quot;,children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;a-status&quot;,className:re,children:&quot;Statut initial&quot;}),l.jsx(&quot;select&quot;,{id:&quot;a-status&quot;,className:Ke,value:D,onChange:B=&gt;M(B.target.value),children:ej.map(B=&gt;l.jsx(&quot;option&quot;,{value:B.value,children:B.label},B.value))})]})]})]}),l.jsxs(&quot;div&quot;,{className:&quot;mt-8 flex flex-col-reverse gap-3 border-t border-border/80 pt-6 sm:flex-row sm:justify-end&quot;,children:[l.jsx(de,{to:F,className:`${pt} sm:min-w-[7rem]`,children:&quot;Annuler&quot;}),l.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:P,className:`${rt} sm:w-auto sm:min-w-[10rem]`,children:P?&quot;Création…&quot;:&quot;Créer l’affectation&quot;})]})]})]})}const Zh=[{value:&quot;planned&quot;,label:&quot;Planifié&quot;},{value:&quot;active&quot;,label:&quot;Actif&quot;},{value:&quot;ended&quot;,label:&quot;Terminé&quot;},{value:&quot;cancelled&quot;,label:&quot;Annulé&quot;}];function aj(r){var u;return((u=Zh.find(o=&gt;o.value===r))==null?void 0:u.label)??r}function lj(){var ie,H;const{projectId:r,assignmentId:u}=nt(),o=Number(r),c=Number(u),{token:f,can:x}=ze(),[b,p]=m.useState(null),[j,g]=m.useState([]),[S,y]=m.useState(&quot;&quot;),[T,D]=m.useState(&quot;&quot;),[M,R]=m.useState(&quot;&quot;),[U,q]=m.useState(&quot;active&quot;),[K,X]=m.useState(null),[le,P]=m.useState(!0),[Z,$]=m.useState(!1);m.useEffect(()=&gt;{if(!Number.isFinite(c)||!f){P(!1);return}let I=!1;return(async()=&gt;{try{const Q=await ne(`/api/v1/worker-assignments/${c}`,{method:&quot;GET&quot;,token:f});if(!I){const ae=Q.data;p(ae),y(ae.team_id?String(ae.team_id):&quot;&quot;),D(ae.start_date??&quot;&quot;),R(ae.end_date??&quot;&quot;),q(ae.status)}if(!I&amp;&amp;Number.isFinite(o)){const ae=await ne(`/api/v1/projects/${o}/teams?per_page=100`,{method:&quot;GET&quot;,token:f});I||g(ae.data)}}catch(Q){I||X(Q instanceof ve?Q.message:&quot;Erreur&quot;)}finally{I||P(!1)}})(),()=&gt;{I=!0}},[c,o,f]);async function F(I){if(I.preventDefault(),!(!f||!Number.isFinite(c))){X(null),$(!0);try{const Q=await ne(`/api/v1/worker-assignments/${c}`,{method:&quot;PATCH&quot;,token:f,body:JSON.stringify({team_id:S?Number(S):null,start_date:T||null,end_date:M||null,status:U})});p(Q.data)}catch(Q){X(Q instanceof ve?Q.message:&quot;Enregistrement impossible&quot;)}finally{$(!1)}}}if(!Number.isFinite(c)||!Number.isFinite(o))return l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:&quot;Paramètres invalides.&quot;});if(le)return l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-subtle&quot;,children:&quot;Chargement…&quot;});if(K&amp;&amp;!b)return l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{backTo:`/projects/${o}/assignments`,title:&quot;Affectation&quot;,accent:&quot;chantier&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:K})]});if(!b)return null;if(b.project_id!==o)return l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{backTo:`/projects/${o}/assignments`,title:&quot;Affectation&quot;,accent:&quot;chantier&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:&quot;Cette affectation n’appartient pas à ce chantier.&quot;})]});const B=((ie=b.worker)==null?void 0:ie.display_name)??`Ouvrier #${b.worker_id}`,ee=((H=j.find(I=&gt;I.id===b.team_id))==null?void 0:H.name)??(b.team_id?`Équipe #${b.team_id}`:null);return l.jsxs(&quot;div&quot;,{className:&quot;space-y-6 pb-2&quot;,children:[l.jsx(se,{backTo:`/projects/${o}/assignments`,title:&quot;Affectation ouvrier&quot;,subtitle:&quot;Lien chantier — équipe et période.&quot;,accent:&quot;chantier&quot;}),K?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:K}):null,l.jsx(&quot;section&quot;,{className:&quot;overflow-hidden rounded-2xl border-2 border-success/25 bg-gradient-to-br from-success-soft/35 via-surface to-surface shadow-sm&quot;,&quot;aria-label&quot;:&quot;Résumé&quot;,children:l.jsxs(&quot;div&quot;,{className:&quot;p-5 sm:p-6&quot;,children:[l.jsx(&quot;p&quot;,{className:Qe,children:&quot;Ouvrier&quot;}),l.jsx(&quot;h2&quot;,{className:&quot;mt-1 text-2xl font-bold tracking-tight text-fg sm:text-3xl&quot;,children:B}),l.jsx(&quot;div&quot;,{className:&quot;mt-3&quot;,children:l.jsx(&quot;span&quot;,{className:Yh(b.status),children:Gh(b.status)})})]})}),l.jsxs(&quot;section&quot;,{className:hn,&quot;aria-label&quot;:&quot;Détail de l’affectation&quot;,children:[l.jsx(&quot;h3&quot;,{className:Qe,children:&quot;Paramètres actuels&quot;}),l.jsxs(&quot;dl&quot;,{className:&quot;mt-4 grid gap-4 sm:grid-cols-2&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Équipe&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-1 text-sm font-semibold text-fg&quot;,children:ee??&quot;—&quot;})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Statut&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-1 text-sm font-semibold text-fg&quot;,children:aj(b.status)})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Date de début&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-1 font-mono text-sm tabular-nums text-fg&quot;,children:b.start_date??&quot;—&quot;})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Date de fin&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-1 font-mono text-sm tabular-nums text-fg&quot;,children:b.end_date??&quot;—&quot;})]})]})]}),x(&quot;worker_assignments.manage&quot;)?l.jsxs(&quot;section&quot;,{className:al,&quot;aria-label&quot;:&quot;Modifier l’affectation&quot;,children:[l.jsx(&quot;h3&quot;,{className:ut,children:&quot;Mise à jour&quot;}),l.jsxs(&quot;form&quot;,{onSubmit:I=&gt;void F(I),className:&quot;mt-4 space-y-4&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;ad-team&quot;,className:re,children:&quot;Équipe&quot;}),l.jsxs(&quot;select&quot;,{id:&quot;ad-team&quot;,className:Ke,value:S,onChange:I=&gt;y(I.target.value),children:[l.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;— Aucune —&quot;}),j.map(I=&gt;l.jsx(&quot;option&quot;,{value:I.id,children:I.name},I.id))]})]}),l.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 gap-4 sm:grid-cols-2&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;ad-start&quot;,className:re,children:&quot;Début&quot;}),l.jsx(&quot;input&quot;,{id:&quot;ad-start&quot;,type:&quot;date&quot;,className:ge,value:T,onChange:I=&gt;D(I.target.value)})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;ad-end&quot;,className:re,children:&quot;Fin&quot;}),l.jsx(&quot;input&quot;,{id:&quot;ad-end&quot;,type:&quot;date&quot;,className:ge,value:M,onChange:I=&gt;R(I.target.value)})]})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;ad-status&quot;,className:re,children:&quot;Statut&quot;}),l.jsx(&quot;select&quot;,{id:&quot;ad-status&quot;,className:Ke,value:U,onChange:I=&gt;q(I.target.value),children:Zh.map(I=&gt;l.jsx(&quot;option&quot;,{value:I.value,children:I.label},I.value))})]}),l.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:Z,className:`${rt} sm:w-auto sm:min-w-[12rem]`,children:Z?&quot;Enregistrement…&quot;:&quot;Mettre à jour&quot;})]})]}):l.jsx(&quot;section&quot;,{className:xn,&quot;aria-label&quot;:&quot;Lecture seule&quot;,children:l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Vous consultez cette affectation sans pouvoir la modifier. Contactez un profil avec droit de gestion des affectations.&quot;})}),l.jsx(&quot;div&quot;,{className:&quot;border-t border-border/80 pt-5&quot;,children:l.jsxs(de,{to:`/projects/${o}`,className:&quot;inline-flex items-center gap-2 text-sm font-medium text-fg-muted transition hover:text-brand-orange&quot;,children:[l.jsx(&quot;span&quot;,{&quot;aria-hidden&quot;:!0,className:&quot;text-lg leading-none&quot;,children:&quot;←&quot;}),&quot;Fiche chantier&quot;]})})]})}function nj(){const{projectId:r}=nt(),u=Number(r),{token:o,can:c}=ze(),{setActiveProjectId:f}=ht(),[x,b]=m.useState([]),[p,j]=m.useState([]),[g,S]=m.useState(&quot;&quot;),[y,T]=m.useState(&quot;&quot;),[D,M]=m.useState(null),[R,U]=m.useState(!0),[q,K]=m.useState(!1),X=c(&quot;users.view&quot;);m.useEffect(()=&gt;{if(!Number.isFinite(u)||!o||!c(&quot;projects.manage&quot;)){U(!1);return}f(u);let B=!1;return(async()=&gt;{try{const ee=await ne(`/api/v1/projects/${u}/access?per_page=100`,{method:&quot;GET&quot;,token:o});if(B||b(ee.data),X){const ie=await ne(&quot;/api/v1/users?per_page=200&quot;,{method:&quot;GET&quot;,token:o});B||j(ie.data)}}catch(ee){B||M(ee instanceof ve?ee.message:&quot;Erreur&quot;)}finally{B||U(!1)}})(),()=&gt;{B=!0}},[u,o,c,X,f]);const le=m.useMemo(()=&gt;new Set(x.map(B=&gt;B.user_id)),[x]),P=m.useMemo(()=&gt;p.filter(B=&gt;!le.has(B.id)),[p,le]),Z=X?P.length&gt;0:!0;async function $(B){if(B.preventDefault(),!(!o||!g)){M(null),K(!0);try{await ne(`/api/v1/projects/${u}/access`,{method:&quot;POST&quot;,token:o,body:JSON.stringify({user_id:Number(g),access_role:y||null})});const ee=await ne(`/api/v1/projects/${u}/access?per_page=100`,{method:&quot;GET&quot;,token:o});b(ee.data),S(&quot;&quot;),T(&quot;&quot;)}catch(ee){M(ee instanceof ve?ee.message:&quot;Ajout impossible&quot;)}finally{K(!1)}}}async function F(B){if(!(!o||!window.confirm(&quot;Retirer cet accès ?&quot;))){M(null);try{await ne(`/api/v1/projects/${u}/access/${B.id}`,{method:&quot;DELETE&quot;,token:o}),b(ee=&gt;ee.filter(ie=&gt;ie.id!==B.id))}catch(ee){M(ee instanceof ve?ee.message:&quot;Suppression impossible&quot;)}}}return c(&quot;projects.manage&quot;)?Number.isFinite(u)?R?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-subtle&quot;,children:&quot;Chargement…&quot;}):l.jsxs(&quot;div&quot;,{className:&quot;space-y-6 pb-2&quot;,children:[l.jsx(se,{backTo:`/projects/${u}`,title:&quot;Accès utilisateurs&quot;,subtitle:&quot;Qui peut accéder à ce chantier en plus des règles globales.&quot;,accent:&quot;default&quot;}),D?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:D}):null,Z?l.jsxs(&quot;section&quot;,{className:al,&quot;aria-label&quot;:&quot;Ajouter un accès&quot;,children:[l.jsx(&quot;h3&quot;,{className:ut,children:&quot;Nouvel accès&quot;}),l.jsxs(&quot;form&quot;,{onSubmit:B=&gt;void $(B),className:&quot;mt-4 space-y-4&quot;,children:[X?l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;pa-user&quot;,className:re,children:&quot;Utilisateur&quot;}),l.jsxs(&quot;select&quot;,{id:&quot;pa-user&quot;,className:Ke,value:g,onChange:B=&gt;S(B.target.value),required:!0,children:[l.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;— Choisir —&quot;}),P.map(B=&gt;l.jsxs(&quot;option&quot;,{value:B.id,children:[B.full_name,&quot; (&quot;,on(B.role),&quot;)&quot;]},B.id))]})]}):l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;pa-user-id&quot;,className:re,children:&quot;ID utilisateur&quot;}),l.jsx(&quot;input&quot;,{id:&quot;pa-user-id&quot;,type:&quot;number&quot;,min:1,className:ge,value:g,onChange:B=&gt;S(B.target.value),required:!0}),l.jsx(&quot;p&quot;,{className:&quot;mt-2 text-[11px] leading-relaxed text-fg-subtle&quot;,children:&quot;Sans liste annuaire : saisissez l’identifiant numérique du compte (habituel pour les rôles non admin).&quot;})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{htmlFor:&quot;pa-role&quot;,className:re,children:&quot;Rôle d’accès chantier (optionnel)&quot;}),l.jsx(&quot;input&quot;,{id:&quot;pa-role&quot;,className:ge,value:y,onChange:B=&gt;T(B.target.value),placeholder:&quot;ex. lecteur&quot;})]}),l.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:q,className:`${rt} sm:w-auto sm:min-w-[12rem]`,children:q?&quot;Ajout…&quot;:&quot;Ajouter l’accès&quot;})]})]}):l.jsx(&quot;div&quot;,{className:&quot;rounded-xl border border-border/60 bg-app/25 px-4 py-3 text-sm text-fg-muted dark:bg-app/10&quot;,children:&quot;Tous les utilisateurs listables ont déjà un accès explicite sur ce chantier.&quot;}),l.jsxs(&quot;section&quot;,{&quot;aria-label&quot;:&quot;Accès actuels&quot;,children:[l.jsx(&quot;h3&quot;,{className:Qe,children:&quot;Accès explicites&quot;}),l.jsx(&quot;ul&quot;,{className:&quot;mt-3 space-y-3&quot;,children:x.map(B=&gt;{var ee,ie;return l.jsxs(&quot;li&quot;,{className:&quot;flex items-start justify-between gap-3 rounded-2xl border border-border bg-surface/90 p-4 shadow-sm&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-base font-bold text-fg&quot;,children:((ee=B.user)==null?void 0:ee.full_name)??`Utilisateur #${B.user_id}`}),l.jsx(&quot;p&quot;,{className:&quot;mt-1 truncate text-xs text-fg-muted&quot;,children:((ie=B.user)==null?void 0:ie.email)??&quot;&quot;}),l.jsxs(&quot;div&quot;,{className:&quot;mt-2 flex flex-wrap items-center gap-2&quot;,children:[B.user?l.jsx(&quot;span&quot;,{className:Lc,children:on(B.user.role)}):null,l.jsx(&quot;span&quot;,{className:&quot;inline-flex rounded-md border border-border/80 bg-app/30 px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-fg-subtle dark:bg-app/15&quot;,children:B.access_role??&quot;Rôle libre&quot;})]})]}),l.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;void F(B),className:&quot;shrink-0 rounded-lg border border-danger/35 px-3 py-1.5 text-xs font-semibold text-danger transition hover:bg-danger-soft&quot;,children:&quot;Retirer&quot;})]},B.id)})}),x.length===0?l.jsx(&quot;div&quot;,{className:&quot;mt-4&quot;,children:l.jsx(Jt,{title:&quot;Aucun accès explicite&quot;,hint:&quot;Les habilitations globales peuvent suffire ; ajoutez ici un accès dédié pour un utilisateur précis.&quot;})}):null]}),l.jsx(&quot;div&quot;,{className:&quot;border-t border-border/80 pt-5&quot;,children:l.jsxs(de,{to:`/projects/${u}`,className:&quot;inline-flex items-center gap-2 text-sm font-medium text-fg-muted transition hover:text-brand-orange&quot;,children:[l.jsx(&quot;span&quot;,{&quot;aria-hidden&quot;:!0,className:&quot;text-lg leading-none&quot;,children:&quot;←&quot;}),&quot;Fiche chantier&quot;]})})]}):l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:&quot;Projet invalide.&quot;}):l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Accès chantier&quot;,accent:&quot;default&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Réservé aux profils pouvant gérer le projet.&quot;})]})}function sj(r){return{present:&quot;Présent&quot;,absent:&quot;Absent&quot;,half_day:&quot;Demi-journée&quot;,validated:&quot;Validé&quot;}[r]??r}function ij(r){return r===&quot;chef_chantier&quot;||r===&quot;entrepreneur_admin&quot;}function rj(){var X,le,P;const{attendanceId:r}=nt(),u=Number(r),{token:o,user:c,can:f}=ze(),{activeProject:x,setActiveProjectId:b}=ht(),[p,j]=m.useState(null),[g,S]=m.useState(null),[y,T]=m.useState(!0),[D,M]=m.useState(!1),R=f(&quot;attendances.manage&quot;),U=f(&quot;attendances.view&quot;)&amp;&amp;!R,q=R&amp;&amp;ij(c==null?void 0:c.role)&amp;&amp;p&amp;&amp;p.status!==&quot;validated&quot;;m.useEffect(()=&gt;{if(!Number.isFinite(u)||!o||!f(&quot;attendances.view&quot;)){T(!1);return}let Z=!1;return(async()=&gt;{try{const $=await ne(`/api/v1/attendances/${u}`,{method:&quot;GET&quot;,token:o});Z||(j($.data),b($.data.project_id))}catch($){Z||S($ instanceof ve?$.message:&quot;Erreur&quot;)}finally{Z||T(!1)}})(),()=&gt;{Z=!0}},[u,o,f,b]);async function K(){if(!(!o||!p)){M(!0),S(null);try{const Z=await ne(`/api/v1/attendances/${p.id}/validate`,{method:&quot;POST&quot;,token:o,body:JSON.stringify({})});j(Z.data)}catch(Z){S(Z instanceof ve?Z.message:&quot;Validation impossible&quot;)}finally{M(!1)}}}return f(&quot;attendances.view&quot;)?Number.isFinite(u)?y?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-subtle&quot;,children:&quot;Chargement…&quot;}):g&amp;&amp;!p?l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{backTo:&quot;/attendances&quot;,title:&quot;Présence&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:g})]}):p?l.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[l.jsx(se,{backTo:&quot;/attendances&quot;,title:&quot;Présence&quot;,subtitle:x&amp;&amp;x.id===p.project_id?x.name:`Projet #${p.project_id}`}),g?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:g}):null,l.jsxs(&quot;dl&quot;,{className:&quot;space-y-3 rounded-xl border border-border bg-surface-alt/80 p-4 text-sm&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs text-fg-muted&quot;,children:&quot;Ouvrier&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-base font-medium text-fg&quot;,children:((X=p.worker)==null?void 0:X.display_name)??`#${p.worker_id}`})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs text-fg-muted&quot;,children:&quot;Date&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-fg&quot;,children:p.date})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs text-fg-muted&quot;,children:&quot;Statut&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-fg&quot;,children:sj(p.status)})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs text-fg-muted&quot;,children:&quot;Heures&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-fg&quot;,children:p.hours_worked??&quot;—&quot;})]}),p.comment?l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs text-fg-muted&quot;,children:&quot;Commentaire&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 whitespace-pre-wrap text-fg-muted&quot;,children:p.comment})]}):null,l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs text-fg-muted&quot;,children:&quot;Saisi par (user)&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-fg-subtle&quot;,children:((le=p.created_by)==null?void 0:le.full_name)??`#${p.created_by_user_id}`})]}),p.validated_by_user_id?l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs text-fg-muted&quot;,children:&quot;Validé par&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-fg-subtle&quot;,children:((P=p.validated_by)==null?void 0:P.full_name)??`#${p.validated_by_user_id}`})]}):null]}),U?l.jsx(&quot;p&quot;,{className:&quot;text-xs text-fg-muted&quot;,children:&quot;Lecture seule (financier / consultatif).&quot;}):null,l.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-2&quot;,children:[R&amp;&amp;p.status!==&quot;validated&quot;?l.jsx(de,{to:`/attendances/${p.id}/edit`,className:pt,children:&quot;Modifier&quot;}):null,q?l.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:D,onClick:()=&gt;void K(),className:rt,children:D?&quot;Validation…&quot;:&quot;Valider la présence&quot;}):null]})]}):null:l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:&quot;Identifiant invalide.&quot;}):l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Présence&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Accès refusé.&quot;})]})}function uj(){const r=new Date,u=r.getFullYear(),o=String(r.getMonth()+1).padStart(2,&quot;0&quot;),c=String(r.getDate()).padStart(2,&quot;0&quot;);return`${u}-${o}-${c}`}function cj(r){return r===&quot;chef_chantier&quot;||r===&quot;entrepreneur_admin&quot;}function ch(){const{attendanceId:r}=nt(),u=r?Number(r):null,o=Number.isFinite(u),c=ta(),{token:f,user:x,can:b}=ze(),{activeProjectId:p,activeProject:j}=ht(),g=p,S=b(&quot;attendances.manage&quot;),y=S&amp;&amp;cj(x==null?void 0:x.role),[T,D]=m.useState(&quot;&quot;),[M,R]=m.useState(&quot;&quot;),[U,q]=m.useState(uj),[K,X]=m.useState(&quot;present&quot;),[le,P]=m.useState(&quot;&quot;),[Z,$]=m.useState(&quot;&quot;),[F,B]=m.useState({}),[ee,ie]=m.useState(null),[H,I]=m.useState(!1),[Q,ae]=m.useState(o),[C,J]=m.useState([]),[W,he]=m.useState([]),fe=j==null?void 0:j.name;m.useEffect(()=&gt;{if(!f||!g)return;let z=!1;return(async()=&gt;{try{const[te,oe]=await Promise.all([ne(&quot;/api/v1/workers?per_page=200&amp;sort=display_name&quot;,{method:&quot;GET&quot;,token:f}),ne(`/api/v1/projects/${g}/teams?per_page=100&amp;sort=name`,{method:&quot;GET&quot;,token:f})]);z||(J(te.data),he(oe.data))}catch{z||(J([]),he([]))}})(),()=&gt;{z=!0}},[f,g]),m.useEffect(()=&gt;{if(!o||!f||u===null||!Number.isFinite(u)){ae(!1);return}let z=!1;return(async()=&gt;{try{const te=await ne(`/api/v1/attendances/${u}`,{method:&quot;GET&quot;,token:f});if(!z){const oe=te.data;D(String(oe.worker_id)),R(oe.team_id?String(oe.team_id):&quot;&quot;),q(oe.date.slice(0,10)),X(oe.status),P(oe.hours_worked??&quot;&quot;),$(oe.comment??&quot;&quot;)}}catch(te){z||ie(te instanceof ve?te.message:&quot;Chargement impossible&quot;)}finally{z||ae(!1)}})(),()=&gt;{z=!0}},[o,u,f]);const _=m.useMemo(()=&gt;{const z=[{value:&quot;present&quot;,label:&quot;Présent&quot;},{value:&quot;absent&quot;,label:&quot;Absent&quot;},{value:&quot;half_day&quot;,label:&quot;Demi-journée&quot;}];return o&amp;&amp;y?[...z,{value:&quot;validated&quot;,label:&quot;Validé (management)&quot;}]:z},[o,y]);async function v(z){if(z.preventDefault(),!f||!g)return;ie(null),B({}),I(!0);const oe={worker_id:Number(T),team_id:M===&quot;&quot;?null:Number(M),date:U,status:K,hours_worked:le===&quot;&quot;?null:Number(le),comment:Z===&quot;&quot;?null:Z};try{if(o&amp;&amp;u!==null)await ne(`/api/v1/attendances/${u}`,{method:&quot;PATCH&quot;,token:f,body:JSON.stringify(oe)}),c(`/attendances/${u}`);else{const{status:xe,..._e}=oe,Ie={..._e,status:xe};await ne(`/api/v1/projects/${g}/attendances`,{method:&quot;POST&quot;,token:f,body:JSON.stringify(Ie)}),c(&quot;/attendances&quot;)}}catch(xe){if(xe instanceof ve){ie(xe.message);const _e=Dc(xe.body);_e&amp;&amp;B(_e)}else ie(&quot;Enregistrement impossible&quot;)}finally{I(!1)}}return b(&quot;attendances.view&quot;)?S?g===null?l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Présence&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Sélectionnez un chantier actif.&quot;})]}):Q?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-subtle&quot;,children:&quot;Chargement…&quot;}):l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{backTo:o?`/attendances/${u}`:&quot;/attendances&quot;,title:o?&quot;Modifier la présence&quot;:&quot;Nouvelle présence&quot;,subtitle:fe}),l.jsxs(&quot;form&quot;,{onSubmit:z=&gt;void v(z),className:&quot;space-y-4&quot;,children:[ee?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:ee}):null,l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;att-worker&quot;,children:&quot;Ouvrier&quot;}),l.jsxs(&quot;select&quot;,{id:&quot;att-worker&quot;,required:!0,value:T,onChange:z=&gt;D(z.target.value),className:ge,children:[l.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),C.map(z=&gt;l.jsx(&quot;option&quot;,{value:z.id,children:z.display_name},z.id))]}),F.worker_id?l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-danger&quot;,children:F.worker_id}):null]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;att-team&quot;,children:&quot;Équipe (optionnel)&quot;}),l.jsxs(&quot;select&quot;,{id:&quot;att-team&quot;,value:M,onChange:z=&gt;R(z.target.value),className:ge,children:[l.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),W.map(z=&gt;l.jsx(&quot;option&quot;,{value:z.id,children:z.name},z.id))]}),F.team_id?l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-danger&quot;,children:F.team_id}):null]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;att-date&quot;,children:&quot;Date&quot;}),l.jsx(&quot;input&quot;,{id:&quot;att-date&quot;,type:&quot;date&quot;,required:!0,value:U,onChange:z=&gt;q(z.target.value),className:ge}),F.date?l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-danger&quot;,children:F.date}):null]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;att-status&quot;,children:&quot;Statut&quot;}),l.jsx(&quot;select&quot;,{id:&quot;att-status&quot;,value:K,onChange:z=&gt;X(z.target.value),className:ge,children:_.map(z=&gt;l.jsx(&quot;option&quot;,{value:z.value,children:z.label},z.value))}),F.status?l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-danger&quot;,children:F.status}):null]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;att-hours&quot;,children:&quot;Heures travaillées&quot;}),l.jsx(&quot;input&quot;,{id:&quot;att-hours&quot;,type:&quot;number&quot;,step:&quot;0.25&quot;,min:0,max:24,value:le,onChange:z=&gt;P(z.target.value),className:ge,placeholder:&quot;ex. 8&quot;}),F.hours_worked?l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-danger&quot;,children:F.hours_worked}):null]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;att-comment&quot;,children:&quot;Commentaire&quot;}),l.jsx(&quot;textarea&quot;,{id:&quot;att-comment&quot;,value:Z,onChange:z=&gt;$(z.target.value),rows:3,className:ge})]}),l.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:H,className:rt,children:H?&quot;Enregistrement…&quot;:&quot;Enregistrer&quot;})]})]}):l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Présence&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Lecture seule — pas d’édition (attendances.manage).&quot;})]}):l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Présence&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Accès refusé.&quot;})]})}function oj(){const r=new Date,u=r.getFullYear(),o=String(r.getMonth()+1).padStart(2,&quot;0&quot;),c=String(r.getDate()).padStart(2,&quot;0&quot;);return`${u}-${o}-${c}`}function dj(r,u){if(r.status!==&quot;planned&quot;&amp;&amp;r.status!==&quot;active&quot;)return!1;const o=u.slice(0,10),c=r.start_date?r.start_date.slice(0,10):null,f=r.end_date?r.end_date.slice(0,10):null;return!(c&amp;&amp;c&gt;o||f&amp;&amp;f&lt;o)}function fj(){const{token:r,user:u,can:o}=ze(),{activeProjectId:c,activeProject:f}=ht(),x=c,b=o(&quot;attendances.manage&quot;),[p,j]=m.useState(oj),[g,S]=m.useState([]),[y,T]=m.useState([]),[D,M]=m.useState(null),[R,U]=m.useState(!0),[q,K]=m.useState(null),X=m.useCallback(async()=&gt;{if(!r||!x||!o(&quot;attendances.view&quot;)){U(!1);return}U(!0),M(null);try{const[Z,$]=await Promise.all([ne(`/api/v1/projects/${x}/worker-assignments?per_page=200&amp;sort=-created_at`,{method:&quot;GET&quot;,token:r}),ne(`/api/v1/projects/${x}/attendances?date=${encodeURIComponent(p)}&amp;per_page=200`,{method:&quot;GET&quot;,token:r})]);S(Z.data),T($.data)}catch(Z){M(Z instanceof ve?Z.message:&quot;Erreur&quot;),S([]),T([])}finally{U(!1)}},[r,x,o,p]);m.useEffect(()=&gt;{X()},[X]);const le=m.useMemo(()=&gt;{var B,ee,ie;const Z=new Map;for(const H of g){if(!dj(H,p))continue;const I=Z.get(H.worker_id);(!I||(B=H.worker)!=null&amp;&amp;B.display_name&amp;&amp;!((ee=I.worker)!=null&amp;&amp;ee.display_name))&amp;&amp;Z.set(H.worker_id,H)}const $=new Map;for(const H of y)$.set(H.worker_id,H);const F=[];for(const[H,I]of Z)F.push({workerId:H,displayName:((ie=I.worker)==null?void 0:ie.display_name)??`Ouvrier #${H}`,attendance:$.get(H)??null});return F.sort((H,I)=&gt;H.displayName.localeCompare(I.displayName,&quot;fr&quot;)),F},[g,y,p]);async function P(Z,$){var B,ee;if(!r||!x||!b)return;K(Z.workerId),M(null);const F={worker_id:Z.workerId,date:p,status:$,team_id:null,hours_worked:$===&quot;absent&quot;?null:((B=Z.attendance)==null?void 0:B.hours_worked)??($===&quot;half_day&quot;?&quot;4&quot;:&quot;8&quot;),comment:((ee=Z.attendance)==null?void 0:ee.comment)??null};try{Z.attendance?await ne(`/api/v1/attendances/${Z.attendance.id}`,{method:&quot;PATCH&quot;,token:r,body:JSON.stringify(F)}):await ne(`/api/v1/projects/${x}/attendances`,{method:&quot;POST&quot;,token:r,body:JSON.stringify(F)}),await X()}catch(ie){M(ie instanceof ve?ie.message:&quot;Enregistrement impossible&quot;)}finally{K(null)}}return o(&quot;attendances.view&quot;)?x===null?l.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[l.jsx(se,{title:&quot;Saisir les présences&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Choisissez un chantier actif.&quot;}),l.jsx(de,{to:&quot;/projects&quot;,className:bt,children:&quot;Chantiers&quot;})]}):l.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[l.jsx(se,{backTo:&quot;/attendances&quot;,title:&quot;Saisir les présences&quot;,subtitle:f?f.name:void 0}),l.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Date&quot;}),l.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:p,onChange:Z=&gt;j(Z.target.value),disabled:!b,className:&quot;mt-1 w-full rounded-xl border border-border bg-surface px-4 py-3 text-base text-fg&quot;})]}),D?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:D}):null,R?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-subtle&quot;,children:&quot;Chargement…&quot;}):null,b?null:l.jsx(&quot;p&quot;,{className:&quot;text-xs text-fg-muted&quot;,children:&quot;Lecture seule — saisie réservée aux profils avec attendances.manage.&quot;}),!R&amp;&amp;le.length===0?l.jsx(&quot;p&quot;,{className:&quot;rounded-xl border border-dashed border-border px-4 py-8 text-center text-sm text-fg-muted&quot;,children:&quot;Aucun ouvrier affecté à ce chantier à cette date.&quot;}):null,l.jsx(&quot;ul&quot;,{className:&quot;space-y-3&quot;,children:le.map(Z=&gt;{var B;const $=(B=Z.attendance)==null?void 0:B.status,F=q===Z.workerId;return l.jsxs(&quot;li&quot;,{className:&quot;rounded-xl border border-border bg-surface-alt/80 p-4&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-base font-semibold text-fg&quot;,children:Z.displayName}),Z.attendance?l.jsxs(&quot;p&quot;,{className:&quot;mt-1 text-xs text-fg-muted&quot;,children:[&quot;Actuel : &quot;,$,Z.attendance.hours_worked?` · ${Z.attendance.hours_worked} h`:&quot;&quot;]}):l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-warning&quot;,children:&quot;Pas encore saisi&quot;}),b?l.jsx(&quot;div&quot;,{className:&quot;mt-3 grid grid-cols-3 gap-2&quot;,children:[[&quot;present&quot;,&quot;Présent&quot;],[&quot;half_day&quot;,&quot;½ jour&quot;],[&quot;absent&quot;,&quot;Absent&quot;]].map(([ee,ie])=&gt;l.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:F||$===&quot;validated&quot;,onClick:()=&gt;void P(Z,ee),className:[&quot;rounded-lg py-3 text-sm font-semibold transition&quot;,$===ee?&quot;bg-brand-orange text-on-brand&quot;:&quot;border border-border bg-surface text-fg hover:border-brand-orange/50&quot;,F||$===&quot;validated&quot;?&quot;opacity-50&quot;:&quot;&quot;].join(&quot; &quot;),children:F?&quot;…&quot;:ie},ee))}):null,Z.attendance&amp;&amp;b&amp;&amp;$!==&quot;validated&quot;?l.jsx(de,{to:`/attendances/${Z.attendance.id}/edit`,className:&quot;mt-3 block text-center text-xs text-brand-blue underline-offset-2 hover:underline&quot;,children:&quot;Détail / heures précises&quot;}):null]},Z.workerId)})}),(u==null?void 0:u.role)===&quot;contremaitre_technicien&quot;?l.jsx(&quot;p&quot;,{className:&quot;text-xs text-fg-subtle&quot;,children:&quot;La validation management (statut « validé ») se fait depuis le détail de la ligne par un chef ou un entrepreneur.&quot;}):null]}):l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{backTo:&quot;/attendances&quot;,title:&quot;Saisir les présences&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Accès refusé.&quot;})]})}const Jh=[{value:&quot;&quot;,label:&quot;Tous&quot;},{value:&quot;present&quot;,label:&quot;Présent&quot;},{value:&quot;absent&quot;,label:&quot;Absent&quot;},{value:&quot;half_day&quot;,label:&quot;Demi-journée&quot;},{value:&quot;validated&quot;,label:&quot;Validé&quot;}];function Li(){const r=new Date,u=r.getFullYear(),o=String(r.getMonth()+1).padStart(2,&quot;0&quot;),c=String(r.getDate()).padStart(2,&quot;0&quot;);return`${u}-${o}-${c}`}function jc(r){if(!r)return&quot;&quot;;const[u,o,c]=r.split(&quot;-&quot;).map(Number);return!u||!o||!c?r:new Date(u,o-1,c).toLocaleDateString(&quot;fr-FR&quot;,{weekday:&quot;long&quot;,day:&quot;numeric&quot;,month:&quot;long&quot;})}function mj(r){var u;return((u=Jh.find(o=&gt;o.value===r))==null?void 0:u.label)??r}function hj({className:r=&quot;h-5 w-5&quot;}){return l.jsxs(&quot;svg&quot;,{className:r,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;,&quot;aria-hidden&quot;:!0,children:[l.jsx(&quot;path&quot;,{d:&quot;M3 21h18M5 21V7l8-4v18M19 21V11l-6-4&quot;,strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;}),l.jsx(&quot;path&quot;,{d:&quot;M9 9v.01M9 12v.01M9 15v.01M9 18v.01&quot;,strokeLinecap:&quot;round&quot;})]})}function xj({className:r=&quot;h-5 w-5&quot;}){return l.jsxs(&quot;svg&quot;,{className:r,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;,&quot;aria-hidden&quot;:!0,children:[l.jsx(&quot;rect&quot;,{x:&quot;3&quot;,y:&quot;4&quot;,width:&quot;18&quot;,height:&quot;18&quot;,rx:&quot;2&quot;,strokeLinecap:&quot;round&quot;}),l.jsx(&quot;path&quot;,{d:&quot;M16 2v4M8 2v4M3 10h18&quot;,strokeLinecap:&quot;round&quot;}),l.jsx(&quot;path&quot;,{d:&quot;M8 14h.01M12 14h.01M8 18h.01M12 18h.01&quot;,strokeLinecap:&quot;round&quot;})]})}function pj({className:r=&quot;h-5 w-5&quot;}){return l.jsx(&quot;svg&quot;,{className:r,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;,&quot;aria-hidden&quot;:!0,children:l.jsx(&quot;path&quot;,{d:&quot;M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9h6m-6 4h4&quot;,strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;})})}function gj({className:r=&quot;h-7 w-7&quot;}){return l.jsxs(&quot;svg&quot;,{className:r,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.5&quot;,&quot;aria-hidden&quot;:!0,children:[l.jsx(&quot;path&quot;,{d:&quot;M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2&quot;,strokeLinecap:&quot;round&quot;}),l.jsx(&quot;circle&quot;,{cx:&quot;9&quot;,cy:&quot;7&quot;,r:&quot;4&quot;,strokeLinecap:&quot;round&quot;}),l.jsx(&quot;path&quot;,{d:&quot;M23 21v-2a4 4 0 00-3-3.87M16 3.13a4 4 0 010 7.75&quot;,strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;})]})}function bj(){const{token:r,can:u}=ze(),{activeProjectId:o,activeProject:c}=ht(),f=o,x=u(&quot;attendances.manage&quot;),b=Li(),[p,j]=m.useState([]),[g,S]=m.useState(null),[y,T]=m.useState(!0),[D,M]=m.useState(()=&gt;Li()),[R,U]=m.useState(&quot;&quot;),[q,K]=m.useState(&quot;&quot;),[X,le]=m.useState(&quot;&quot;),[P,Z]=m.useState(&quot;&quot;),[$,F]=m.useState(&quot;&quot;),[B,ee]=m.useState(!1),[ie,H]=m.useState([]),[I,Q]=m.useState([]);m.useEffect(()=&gt;{f!==null&amp;&amp;Number.isFinite(f)&amp;&amp;(j([]),M(Li()),U(&quot;&quot;),K(&quot;&quot;),le(&quot;&quot;),Z(&quot;&quot;),F(&quot;&quot;))},[f]);const ae=m.useCallback(async()=&gt;{if(!r||!f||!u(&quot;attendances.view&quot;)){T(!1);return}T(!0),S(null);const v=new URLSearchParams;v.set(&quot;per_page&quot;,&quot;100&quot;),v.set(&quot;sort&quot;,&quot;-date&quot;),D?v.set(&quot;date&quot;,D):(R&amp;&amp;v.set(&quot;from&quot;,R),q&amp;&amp;v.set(&quot;to&quot;,q)),X&amp;&amp;v.set(&quot;worker_id&quot;,X),P&amp;&amp;v.set(&quot;team_id&quot;,P),$&amp;&amp;v.set(&quot;status&quot;,$);try{const z=await ne(`/api/v1/projects/${f}/attendances?${v.toString()}`,{method:&quot;GET&quot;,token:r});j(z.data)}catch(z){S(z instanceof ve?z.message:&quot;Erreur de chargement&quot;),j([])}finally{T(!1)}},[r,f,u,D,R,q,X,P,$]);m.useEffect(()=&gt;{ae()},[ae]),m.useEffect(()=&gt;{if(!r||!f)return;let v=!1;return(async()=&gt;{try{const[z,te]=await Promise.all([ne(&quot;/api/v1/workers?per_page=200&amp;sort=display_name&quot;,{method:&quot;GET&quot;,token:r}),ne(`/api/v1/projects/${f}/teams?per_page=100&amp;sort=name`,{method:&quot;GET&quot;,token:r})]);v||(H(z.data),Q(te.data))}catch{v||(H([]),Q([]))}})(),()=&gt;{v=!0}},[r,f]);const C=m.useMemo(()=&gt;c?`${c.name}${c.code?` (${c.code})`:&quot;&quot;}`:null,[c]),J=!!(D&amp;&amp;D===b&amp;&amp;!R&amp;&amp;!q),W=m.useMemo(()=&gt;p.filter(v=&gt;v.status!==&quot;validated&quot;).length,[p]);function he(){M(Li()),U(&quot;&quot;),K(&quot;&quot;)}function fe(){he(),le(&quot;&quot;),Z(&quot;&quot;),F(&quot;&quot;)}if(!u(&quot;attendances.view&quot;))return l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Présences&quot;,accent:&quot;chantier&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Accès refusé (attendances.view).&quot;})]});if(f===null||!Number.isFinite(f))return l.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[l.jsx(se,{title:&quot;Présences&quot;,accent:&quot;chantier&quot;}),l.jsx(Jt,{title:&quot;Choisir un chantier actif&quot;,hint:&quot;Sélectionnez un chantier dans la barre latérale ou la liste.&quot;,action:l.jsx(de,{to:&quot;/projects&quot;,className:bt,children:&quot;Voir les chantiers&quot;})})]});const _=J?&quot;Présences enregistrées aujourd’hui&quot;:D?`Présences du ${jc(D)}`:R||q?&quot;Présences sur la période&quot;:&quot;Résultats&quot;;return l.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[l.jsx(se,{title:&quot;Présences&quot;,subtitle:C??void 0,accent:&quot;chantier&quot;}),l.jsxs(&quot;section&quot;,{className:&quot;grid gap-3 sm:grid-cols-3&quot;,&quot;aria-label&quot;:&quot;Résumé&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;flex gap-3 rounded-2xl border border-border/90 bg-surface px-4 py-5 shadow-[0_2px_14px_-6px_rgba(15,23,42,0.1)]&quot;,children:[l.jsx(&quot;div&quot;,{className:&quot;flex h-11 w-11 shrink-0 items-center justify-center rounded-xl bg-brand-blue-soft text-brand-blue&quot;,children:l.jsx(hj,{})}),l.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[9px] font-semibold uppercase tracking-[0.18em] text-fg-subtle&quot;,children:&quot;Chantier actif&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-2 truncate text-sm font-bold leading-snug text-fg&quot;,children:(c==null?void 0:c.name)??&quot;—&quot;}),c!=null&amp;&amp;c.code?l.jsx(&quot;p&quot;,{className:&quot;mt-1 font-mono text-[11px] text-fg-muted&quot;,children:c.code}):null]})]}),l.jsxs(&quot;div&quot;,{className:&quot;flex gap-3 rounded-2xl border border-border/90 bg-surface px-4 py-5 shadow-[0_2px_14px_-6px_rgba(15,23,42,0.1)]&quot;,children:[l.jsx(&quot;div&quot;,{className:&quot;flex h-11 w-11 shrink-0 items-center justify-center rounded-xl bg-brand-orange-soft text-brand-orange&quot;,children:l.jsx(xj,{})}),l.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[9px] font-semibold uppercase tracking-[0.18em] text-fg-subtle&quot;,children:J?&quot;Aujourd’hui&quot;:&quot;Lignes affichées&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-1.5 text-4xl font-bold tabular-nums leading-none tracking-tight text-fg&quot;,children:p.length}),l.jsx(&quot;p&quot;,{className:&quot;mt-2 text-[11px] leading-snug text-fg-muted&quot;,children:J?jc(b):D?jc(D):&quot;Filtres combinés&quot;})]})]}),l.jsxs(&quot;div&quot;,{className:&quot;flex gap-3 rounded-2xl border border-border/90 bg-surface px-4 py-5 shadow-[0_2px_14px_-6px_rgba(15,23,42,0.1)]&quot;,children:[l.jsx(&quot;div&quot;,{className:&quot;flex h-11 w-11 shrink-0 items-center justify-center rounded-xl bg-warning-soft text-warning&quot;,children:l.jsx(pj,{})}),l.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[9px] font-semibold uppercase tracking-[0.18em] text-fg-subtle&quot;,children:&quot;En attente de validation&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-1.5 text-4xl font-bold tabular-nums leading-none tracking-tight text-fg&quot;,children:W}),l.jsx(&quot;p&quot;,{className:&quot;mt-2 text-[11px] leading-snug text-fg-muted&quot;,children:&quot;Présences non validées dans cette liste&quot;})]})]})]}),l.jsxs(&quot;section&quot;,{className:&quot;relative overflow-hidden rounded-2xl border-2 border-brand-orange/35 bg-gradient-to-br from-brand-orange-soft/50 via-surface to-brand-blue-soft/25 py-7 pl-5 pr-5 shadow-[0_8px_28px_-12px_rgba(234,88,12,0.2)] ring-1 ring-brand-orange/15 sm:py-9 sm:pl-8 sm:pr-8&quot;,&quot;aria-label&quot;:&quot;Actions du jour&quot;,children:[l.jsx(&quot;div&quot;,{className:&quot;pointer-events-none absolute inset-y-3 left-0 w-1 rounded-full bg-gradient-to-b from-brand-orange to-brand-blue opacity-90&quot;,&quot;aria-hidden&quot;:!0}),l.jsxs(&quot;div&quot;,{className:&quot;relative pl-2 sm:pl-3&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[10px] font-bold uppercase tracking-[0.2em] text-brand-orange&quot;,children:&quot;Aujourd’hui sur le chantier&quot;}),l.jsx(&quot;h2&quot;,{className:&quot;mt-2 text-2xl font-bold tracking-tight text-fg sm:text-[1.65rem] sm:leading-tight&quot;,children:&quot;Enregistrer les pointages&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-3 max-w-lg text-sm leading-relaxed text-fg-muted&quot;,children:&quot;Touchez une présence par ouvrier sur mobile, ou saisissez une ligne complète (heures, équipe) si besoin.&quot;})]}),x?l.jsxs(&quot;div&quot;,{className:&quot;relative mt-8 flex flex-col gap-3 border-t border-brand-orange/15 pt-8 sm:flex-row sm:flex-wrap&quot;,children:[l.jsx(de,{to:&quot;/attendances/saisie&quot;,className:`${Vi} sm:min-w-[15rem] sm:flex-initial sm:px-10`,children:&quot;Saisir les présences&quot;}),l.jsx(de,{to:&quot;/attendances/new&quot;,className:`${Nv} sm:min-w-[15rem] sm:flex-initial`,children:&quot;Ajouter une présence&quot;})]}):l.jsx(&quot;p&quot;,{className:&quot;relative mt-8 border-t border-brand-orange/15 pt-6 text-sm text-fg-muted&quot;,children:&quot;La saisie est réservée aux profils autorisés (attendances.manage).&quot;})]}),J?null:l.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Vous consultez une autre période.&quot;}),l.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:he,className:&quot;rounded-lg border border-brand-blue/30 bg-brand-blue-soft/50 px-3 py-1.5 text-xs font-semibold text-brand-blue transition hover:bg-brand-blue-soft&quot;,children:&quot;Revenir à aujourd’hui&quot;})]}),l.jsxs(&quot;section&quot;,{className:&quot;rounded-xl border border-dashed border-border/90 bg-app/40 shadow-none&quot;,children:[l.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;ee(v=&gt;!v),className:&quot;flex w-full items-center justify-between gap-3 px-3 py-2.5 text-left transition hover:bg-surface-alt/60 sm:px-4 sm:py-3&quot;,&quot;aria-expanded&quot;:B,children:[l.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 flex-1 items-start gap-2&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;mt-0.5 hidden h-1.5 w-1.5 shrink-0 rounded-full bg-fg-subtle/50 sm:block&quot;,&quot;aria-hidden&quot;:!0}),l.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-[10px] font-bold uppercase tracking-[0.14em] text-fg-subtle&quot;,children:&quot;Historique et filtres&quot;}),l.jsx(&quot;span&quot;,{className:&quot;rounded-md bg-surface px-1.5 py-0.5 text-[9px] font-semibold uppercase tracking-wide text-fg-subtle ring-1 ring-border/70&quot;,children:&quot;Secondaire&quot;})]}),l.jsx(&quot;p&quot;,{className:&quot;mt-0.5 text-[11px] leading-snug text-fg-subtle&quot;,children:&quot;Dates, ouvrier, équipe, statut — contrôle ou export sur une période.&quot;})]})]}),l.jsx(&quot;span&quot;,{className:`shrink-0 text-fg-subtle transition ${B?&quot;rotate-180&quot;:&quot;&quot;}`,&quot;aria-hidden&quot;:!0,children:l.jsx(&quot;svg&quot;,{className:&quot;h-4 w-4&quot;,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;2&quot;,children:l.jsx(&quot;path&quot;,{d:&quot;M6 9l6 6 6-6&quot;,strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;})})})]}),B?l.jsxs(&quot;div&quot;,{className:&quot;border-t border-border/60 px-3 pb-3 pt-2 sm:px-4 sm:pb-3.5&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;grid gap-2.5 sm:grid-cols-2 lg:grid-cols-3&quot;,children:[l.jsxs(&quot;label&quot;,{className:&quot;block sm:col-span-1&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Jour exact&quot;}),l.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:D,onChange:v=&gt;{M(v.target.value),U(&quot;&quot;),K(&quot;&quot;)},className:ia})]}),l.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-3 sm:col-span-2 lg:col-span-2&quot;,children:[l.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Du&quot;}),l.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:R,onChange:v=&gt;{U(v.target.value),M(&quot;&quot;)},className:ia})]}),l.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Au&quot;}),l.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:q,onChange:v=&gt;{K(v.target.value),M(&quot;&quot;)},className:ia})]})]}),l.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Ouvrier&quot;}),l.jsxs(&quot;select&quot;,{value:X,onChange:v=&gt;le(v.target.value),className:Ke,children:[l.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous&quot;}),ie.map(v=&gt;l.jsx(&quot;option&quot;,{value:v.id,children:v.display_name},v.id))]})]}),l.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Équipe&quot;}),l.jsxs(&quot;select&quot;,{value:P,onChange:v=&gt;Z(v.target.value),className:Ke,children:[l.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Toutes&quot;}),I.map(v=&gt;l.jsx(&quot;option&quot;,{value:v.id,children:v.name},v.id))]})]}),l.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Statut&quot;}),l.jsx(&quot;select&quot;,{value:$,onChange:v=&gt;F(v.target.value),className:Ke,children:Jh.map(v=&gt;l.jsx(&quot;option&quot;,{value:v.value,children:v.label},v.value||&quot;all&quot;))})]})]}),l.jsx(&quot;div&quot;,{className:&quot;mt-3 flex flex-wrap gap-2&quot;,children:l.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:fe,className:&quot;rounded-lg border border-border bg-surface px-2.5 py-1.5 text-[11px] font-semibold text-fg-muted transition hover:border-brand-blue/40 hover:text-fg&quot;,children:&quot;Tout réinitialiser (aujourd’hui)&quot;})})]}):null]}),g?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:g}):null,y?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Chargement…&quot;}):null,y?null:l.jsxs(l.Fragment,{children:[l.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between gap-2 border-b border-border pb-2&quot;,children:[l.jsx(&quot;h2&quot;,{className:&quot;text-sm font-bold text-fg&quot;,children:_}),J?null:l.jsx(&quot;span&quot;,{className:&quot;text-xs text-fg-subtle&quot;,children:&quot;Vue historique&quot;})]}),p.length===0?l.jsx(Jt,{icon:J?l.jsx(gj,{}):void 0,title:J?&quot;Pas encore de pointage aujourd’hui&quot;:&quot;Aucun résultat pour ces critères&quot;,hint:J?x?&quot;Sur chantier, ouvrez la saisie groupée : chaque ouvrier est pointé en quelques secondes, sans passer par l’admin.&quot;:&quot;Les pointages du jour s’afficheront ici dès qu’une personne habilitée les aura saisis.&quot;:&quot;Élargissez la période ou ouvrez « Historique et filtres » pour ajuster la recherche.&quot;,action:J&amp;&amp;x?l.jsx(de,{to:&quot;/attendances/saisie&quot;,className:`${Vi} w-full max-w-sm shadow-lg sm:w-auto`,children:&quot;Saisir les présences&quot;}):void 0}):l.jsx(&quot;ul&quot;,{className:&quot;grid gap-3 lg:grid-cols-2&quot;,children:p.map(v=&gt;{var z;return l.jsx(&quot;li&quot;,{children:l.jsx(de,{to:`/attendances/${v.id}`,className:bt,children:l.jsxs(&quot;div&quot;,{className:&quot;flex items-start justify-between gap-2&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;span&quot;,{className:&quot;font-medium text-fg&quot;,children:((z=v.worker)==null?void 0:z.display_name)??`Ouvrier #${v.worker_id}`}),l.jsxs(&quot;p&quot;,{className:&quot;mt-0.5 text-xs text-fg-muted&quot;,children:[v.date,&quot; · &quot;,mj(v.status),v.hours_worked?` · ${v.hours_worked} h`:&quot;&quot;]})]}),l.jsx(&quot;span&quot;,{className:&quot;shrink-0 text-lg text-fg-subtle&quot;,&quot;aria-hidden&quot;:!0,children:&quot;›&quot;})]})})},v.id)})})]})]})}const Kh=[{value:&quot;&quot;,label:&quot;Tous&quot;},{value:&quot;draft&quot;,label:&quot;Brouillon&quot;},{value:&quot;submitted&quot;,label:&quot;Soumis&quot;},{value:&quot;validated&quot;,label:&quot;Validé (chantier)&quot;},{value:&quot;rejected&quot;,label:&quot;Rejeté&quot;}];function fs(){const r=new Date,u=r.getFullYear(),o=String(r.getMonth()+1).padStart(2,&quot;0&quot;),c=String(r.getDate()).padStart(2,&quot;0&quot;);return`${u}-${o}-${c}`}function yc(r){if(!r)return&quot;&quot;;const[u,o,c]=r.split(&quot;-&quot;).map(Number);return!u||!o||!c?r:new Date(u,o-1,c).toLocaleDateString(&quot;fr-FR&quot;,{weekday:&quot;long&quot;,day:&quot;numeric&quot;,month:&quot;long&quot;})}function Fh(r){var u;return((u=Kh.find(o=&gt;o.value===r))==null?void 0:u.label)??r}function vj(r){switch(r){case&quot;validated&quot;:return&quot;border-success/50 bg-success-soft text-success ring-1 ring-success/25&quot;;case&quot;submitted&quot;:return&quot;border-brand-blue/50 bg-brand-blue-soft text-brand-blue ring-1 ring-brand-blue/20&quot;;case&quot;draft&quot;:return&quot;border-border-strong bg-app text-fg-muted ring-1 ring-border/40&quot;;case&quot;rejected&quot;:return&quot;border-danger/50 bg-danger-soft text-danger ring-1 ring-danger/20&quot;;default:return&quot;border-border bg-surface-alt text-fg-subtle ring-1 ring-border/30&quot;}}function jj(r){switch(r){case&quot;validated&quot;:return&quot;Validé chantier&quot;;case&quot;submitted&quot;:return&quot;Soumis&quot;;case&quot;draft&quot;:return&quot;Brouillon&quot;;case&quot;rejected&quot;:return&quot;Rejeté&quot;;default:return Fh(r)}}function yj({className:r=&quot;h-5 w-5&quot;}){return l.jsx(&quot;svg&quot;,{className:r,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;,&quot;aria-hidden&quot;:!0,children:l.jsx(&quot;path&quot;,{d:&quot;M3 21h18M5 21V7l8-4v18M19 21V11l-6-4&quot;,strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;})})}function Nj({className:r=&quot;h-5 w-5&quot;}){return l.jsxs(&quot;svg&quot;,{className:r,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;,&quot;aria-hidden&quot;:!0,children:[l.jsx(&quot;rect&quot;,{x:&quot;3&quot;,y:&quot;4&quot;,width:&quot;18&quot;,height:&quot;18&quot;,rx:&quot;2&quot;,strokeLinecap:&quot;round&quot;}),l.jsx(&quot;path&quot;,{d:&quot;M16 2v4M8 2v4M3 10h18&quot;,strokeLinecap:&quot;round&quot;})]})}function Sj({className:r=&quot;h-5 w-5&quot;}){return l.jsx(&quot;svg&quot;,{className:r,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;,&quot;aria-hidden&quot;:!0,children:l.jsx(&quot;path&quot;,{d:&quot;M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9h6m-6 4h4&quot;,strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;})})}function _j({className:r=&quot;h-7 w-7&quot;}){return l.jsxs(&quot;svg&quot;,{className:r,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.5&quot;,&quot;aria-hidden&quot;:!0,children:[l.jsx(&quot;path&quot;,{d:&quot;M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 011.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z&quot;}),l.jsx(&quot;circle&quot;,{cx:&quot;7.5&quot;,cy:&quot;11.5&quot;,r:&quot;1&quot;,fill:&quot;currentColor&quot;}),l.jsx(&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;7.5&quot;,r:&quot;1&quot;,fill:&quot;currentColor&quot;}),l.jsx(&quot;circle&quot;,{cx:&quot;16.5&quot;,cy:&quot;11.5&quot;,r:&quot;1&quot;,fill:&quot;currentColor&quot;})]})}function wj({row:r}){return r.worker_id?l.jsx(&quot;span&quot;,{className:&quot;inline-flex items-center rounded-lg border border-success/45 bg-success-soft px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.06em] text-success ring-1 ring-success/20&quot;,children:&quot;Éligible paie&quot;}):r.team_id?l.jsx(&quot;span&quot;,{className:&quot;inline-flex items-center rounded-lg border border-brand-blue/20 bg-brand-blue-soft/50 px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.06em] text-brand-blue&quot;,children:&quot;Suivi chantier&quot;}):l.jsx(&quot;span&quot;,{className:&quot;inline-flex items-center rounded-lg border border-dashed border-border-strong px-2.5 py-1 text-[10px] font-semibold uppercase tracking-wide text-fg-subtle&quot;,children:&quot;Sans rattachement&quot;})}function Ej(){const{token:r,can:u}=ze(),{activeProjectId:o,activeProject:c}=ht(),f=o,x=u(&quot;production_entries.manage&quot;),b=fs(),[p,j]=m.useState([]),[g,S]=m.useState(null),[y,T]=m.useState(!0),[D,M]=m.useState(()=&gt;fs()),[R,U]=m.useState(&quot;&quot;),[q,K]=m.useState(&quot;&quot;),[X,le]=m.useState(&quot;&quot;),[P,Z]=m.useState(&quot;&quot;),[$,F]=m.useState(&quot;&quot;),[B,ee]=m.useState(!1),[ie,H]=m.useState([]),[I,Q]=m.useState([]);m.useEffect(()=&gt;{f!==null&amp;&amp;Number.isFinite(f)&amp;&amp;(j([]),M(fs()),U(&quot;&quot;),K(&quot;&quot;),le(&quot;&quot;),Z(&quot;&quot;),F(&quot;&quot;))},[f]);const ae=m.useCallback(async()=&gt;{if(!r||!f||!u(&quot;production_entries.view&quot;)){T(!1);return}T(!0),S(null);const v=new URLSearchParams;v.set(&quot;per_page&quot;,&quot;100&quot;),v.set(&quot;sort&quot;,&quot;-date&quot;),D&amp;&amp;!R&amp;&amp;!q?(v.set(&quot;from&quot;,D),v.set(&quot;to&quot;,D)):(R&amp;&amp;v.set(&quot;from&quot;,R),q&amp;&amp;v.set(&quot;to&quot;,q)),X&amp;&amp;v.set(&quot;work_item_id&quot;,X),P&amp;&amp;v.set(&quot;worker_id&quot;,P),$&amp;&amp;v.set(&quot;status&quot;,$);try{const z=await ne(`/api/v1/projects/${f}/production-entries?${v.toString()}`,{method:&quot;GET&quot;,token:r});j(z.data)}catch(z){S(z instanceof ve?z.message:&quot;Erreur de chargement&quot;),j([])}finally{T(!1)}},[r,f,u,D,R,q,X,P,$]);m.useEffect(()=&gt;{ae()},[ae]),m.useEffect(()=&gt;{if(!r||!f)return;let v=!1;return(async()=&gt;{try{const[z,te]=await Promise.all([ne(`/api/v1/projects/${f}/work-items?per_page=100&amp;sort=name`,{method:&quot;GET&quot;,token:r}),ne(&quot;/api/v1/workers?per_page=200&amp;sort=display_name&quot;,{method:&quot;GET&quot;,token:r})]);v||(H(z.data),Q(te.data))}catch{v||(H([]),Q([]))}})(),()=&gt;{v=!0}},[r,f]);const C=m.useMemo(()=&gt;c?`${c.name}${c.code?` (${c.code})`:&quot;&quot;}`:null,[c]),J=!!(D&amp;&amp;D===b&amp;&amp;!R&amp;&amp;!q),W=m.useMemo(()=&gt;p.filter(v=&gt;v.status!==&quot;validated&quot;&amp;&amp;v.status!==&quot;rejected&quot;).length,[p]);function he(){M(fs()),U(&quot;&quot;),K(&quot;&quot;)}function fe(){he(),le(&quot;&quot;),Z(&quot;&quot;),F(&quot;&quot;)}const _=J?&quot;Lignes de production du jour&quot;:D&amp;&amp;!R&amp;&amp;!q?`Production du ${yc(D)}`:R||q?&quot;Production sur la période&quot;:&quot;Résultats&quot;;return u(&quot;production_entries.view&quot;)?f===null||!Number.isFinite(f)?l.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[l.jsx(se,{title:&quot;Production&quot;,accent:&quot;chantier&quot;}),l.jsx(Jt,{title:&quot;Choisir un chantier actif&quot;,hint:&quot;La production est filtrée par le chantier sélectionné.&quot;,action:l.jsx(de,{to:&quot;/projects&quot;,className:bt,children:&quot;Voir les chantiers&quot;})})]}):l.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[l.jsx(se,{title:&quot;Production&quot;,subtitle:C??void 0,accent:&quot;chantier&quot;}),l.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-x-2 gap-y-1 rounded-md border border-border/50 bg-surface-alt/25 px-2 py-1.5 sm:gap-x-2.5&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-1&quot;,children:[l.jsxs(&quot;span&quot;,{className:&quot;inline-flex items-center gap-0.5 rounded bg-success-soft/80 px-1.5 py-px text-[8px] font-bold uppercase tracking-wide text-success&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;h-0.5 w-0.5 rounded-full bg-success&quot;,&quot;aria-hidden&quot;:!0}),&quot;Validation chantier&quot;]}),l.jsx(&quot;span&quot;,{className:&quot;inline-flex items-center rounded border border-brand-orange/25 bg-brand-orange-soft/60 px-1.5 py-px text-[8px] font-bold uppercase tracking-wide text-brand-orange&quot;,children:&quot;Paie&quot;})]}),l.jsx(&quot;p&quot;,{className:&quot;text-[9px] leading-tight text-fg-subtle/90 sm:max-w-[18rem]&quot;,children:&quot;Validation ici · paie ensuite (autre module).&quot;})]}),l.jsxs(&quot;section&quot;,{className:&quot;grid gap-3 sm:grid-cols-3&quot;,&quot;aria-label&quot;:&quot;Résumé&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;flex gap-3 rounded-2xl border border-border/90 bg-surface px-4 py-4 shadow-[0_2px_14px_-6px_rgba(15,23,42,0.1)] sm:py-5&quot;,children:[l.jsx(&quot;div&quot;,{className:&quot;flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-brand-blue-soft text-brand-blue sm:h-11 sm:w-11&quot;,children:l.jsx(yj,{})}),l.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[8px] font-bold uppercase tracking-[0.22em] text-fg-muted&quot;,children:&quot;Chantier actif&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-2 truncate text-sm font-bold leading-snug text-fg&quot;,children:(c==null?void 0:c.name)??&quot;—&quot;}),c!=null&amp;&amp;c.code?l.jsx(&quot;p&quot;,{className:&quot;mt-1 font-mono text-[10px] text-fg-subtle&quot;,children:c.code}):null]})]}),l.jsxs(&quot;div&quot;,{className:&quot;flex gap-3 rounded-2xl border border-border/90 bg-surface px-4 py-4 shadow-[0_2px_14px_-6px_rgba(15,23,42,0.1)] sm:py-5&quot;,children:[l.jsx(&quot;div&quot;,{className:&quot;flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-brand-orange-soft text-brand-orange sm:h-11 sm:w-11&quot;,children:l.jsx(Nj,{})}),l.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[8px] font-bold uppercase tracking-[0.22em] text-fg-muted&quot;,children:J?&quot;Aujourd’hui&quot;:&quot;Lignes affichées&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-2 text-[2.25rem] font-extrabold tabular-nums leading-none tracking-tight text-fg sm:text-[2.5rem]&quot;,children:p.length}),l.jsx(&quot;p&quot;,{className:&quot;mt-2 text-[9px] font-medium uppercase tracking-wider text-fg-subtle&quot;,children:J?yc(b):D&amp;&amp;!R&amp;&amp;!q?yc(D):&quot;Période ou filtres combinés&quot;})]})]}),l.jsxs(&quot;div&quot;,{className:&quot;flex gap-3 rounded-2xl border border-border/90 bg-surface px-4 py-4 shadow-[0_2px_14px_-6px_rgba(15,23,42,0.1)] sm:py-5&quot;,children:[l.jsx(&quot;div&quot;,{className:&quot;flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-warning-soft text-warning sm:h-11 sm:w-11&quot;,children:l.jsx(Sj,{})}),l.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[8px] font-bold uppercase tracking-[0.22em] text-fg-muted&quot;,children:&quot;En attente de validation&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-2 text-[2.25rem] font-extrabold tabular-nums leading-none tracking-tight text-fg sm:text-[2.5rem]&quot;,children:W}),l.jsx(&quot;p&quot;,{className:&quot;mt-2 text-[9px] font-medium uppercase tracking-wider text-fg-subtle&quot;,children:&quot;Brouillon ou soumis&quot;})]})]})]}),l.jsxs(&quot;section&quot;,{className:&quot;relative overflow-hidden rounded-2xl border-2 border-brand-orange/35 bg-gradient-to-br from-brand-orange-soft/50 via-surface to-brand-blue-soft/25 py-7 pl-5 pr-5 shadow-[0_8px_28px_-12px_rgba(234,88,12,0.2)] ring-1 ring-brand-orange/15 sm:py-9 sm:pl-8 sm:pr-8&quot;,&quot;aria-label&quot;:&quot;Actions du jour&quot;,children:[l.jsx(&quot;div&quot;,{className:&quot;pointer-events-none absolute inset-y-3 left-0 w-1 rounded-full bg-gradient-to-b from-brand-orange to-brand-blue opacity-90&quot;,&quot;aria-hidden&quot;:!0}),l.jsxs(&quot;div&quot;,{className:&quot;relative pl-2 sm:pl-3&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[10px] font-bold uppercase tracking-[0.2em] text-brand-orange&quot;,children:&quot;Aujourd’hui sur le chantier&quot;}),l.jsx(&quot;h2&quot;,{className:&quot;mt-2 text-2xl font-extrabold tracking-tight text-fg sm:text-[1.75rem] sm:leading-[1.15]&quot;,children:&quot;Saisir et valider la production&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-2.5 max-w-md text-sm leading-snug text-fg-muted&quot;,children:&quot;Quantités par ouvrage, validation chantier ici — la paie suit dans son propre circuit.&quot;})]}),l.jsxs(&quot;div&quot;,{className:&quot;relative mt-10 flex flex-col gap-3 border-t border-brand-orange/15 pt-10 sm:flex-row sm:items-stretch sm:gap-3&quot;,children:[x?l.jsx(de,{to:&quot;/production-entries/new&quot;,className:`${Vi} inline-flex min-h-[3.25rem] flex-1 items-center justify-center sm:max-w-md sm:flex-initial sm:min-w-[17rem] sm:px-10`,children:&quot;Saisir une production&quot;}):l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;La saisie est réservée aux profils autorisés (production_entries.manage).&quot;}),u(&quot;work_items.manage&quot;)?l.jsx(de,{to:`/projects/${f}/work-items/new`,className:&quot;inline-flex min-h-[3.25rem] w-full flex-1 items-center justify-center rounded-xl border border-border/80 bg-surface-alt/50 px-5 text-sm font-medium text-fg-muted shadow-sm ring-1 ring-border/40 transition hover:border-brand-blue/30 hover:bg-surface-alt hover:text-fg hover:ring-brand-blue/15 sm:w-auto sm:max-w-xs sm:flex-initial&quot;,children:&quot;Créer un ouvrage&quot;}):null]})]}),J?null:l.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Vous consultez une autre période ou des filtres avancés.&quot;}),l.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:he,className:&quot;rounded-lg border border-brand-blue/30 bg-brand-blue-soft/50 px-3 py-1.5 text-xs font-semibold text-brand-blue transition hover:bg-brand-blue-soft&quot;,children:&quot;Revenir à aujourd’hui&quot;})]}),l.jsxs(&quot;section&quot;,{className:&quot;rounded-xl border border-dashed border-border/90 bg-app/40 shadow-none&quot;,children:[l.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;ee(v=&gt;!v),className:&quot;flex w-full items-center justify-between gap-3 px-3 py-2.5 text-left transition hover:bg-surface-alt/60 sm:px-4 sm:py-3&quot;,&quot;aria-expanded&quot;:B,children:[l.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 flex-1 items-start gap-2&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;mt-0.5 hidden h-1.5 w-1.5 shrink-0 rounded-full bg-fg-subtle/50 sm:block&quot;,&quot;aria-hidden&quot;:!0}),l.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-[10px] font-bold uppercase tracking-[0.14em] text-fg-subtle&quot;,children:&quot;Historique et filtres&quot;}),l.jsx(&quot;span&quot;,{className:&quot;rounded-md bg-surface px-1.5 py-0.5 text-[9px] font-semibold uppercase tracking-wide text-fg-subtle ring-1 ring-border/70&quot;,children:&quot;Secondaire&quot;})]}),l.jsx(&quot;p&quot;,{className:&quot;mt-0.5 text-[11px] leading-snug text-fg-subtle&quot;,children:&quot;Plage de dates, ouvrage, ouvrier, statut de ligne.&quot;})]})]}),l.jsx(&quot;span&quot;,{className:`shrink-0 text-fg-subtle transition ${B?&quot;rotate-180&quot;:&quot;&quot;}`,&quot;aria-hidden&quot;:!0,children:l.jsx(&quot;svg&quot;,{className:&quot;h-4 w-4&quot;,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;2&quot;,children:l.jsx(&quot;path&quot;,{d:&quot;M6 9l6 6 6-6&quot;,strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;})})})]}),B?l.jsxs(&quot;div&quot;,{className:&quot;border-t border-border/60 px-3 pb-3 pt-2 sm:px-4 sm:pb-3.5&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;grid gap-2.5 sm:grid-cols-2 lg:grid-cols-3&quot;,children:[l.jsxs(&quot;label&quot;,{className:&quot;block sm:col-span-1&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Jour exact&quot;}),l.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:!R&amp;&amp;!q?D:&quot;&quot;,onChange:v=&gt;{const z=v.target.value;U(&quot;&quot;),K(&quot;&quot;),M(z||fs())},className:ia})]}),l.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-3 sm:col-span-2 lg:col-span-2&quot;,children:[l.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Du&quot;}),l.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:R,onChange:v=&gt;{U(v.target.value),v.target.value&amp;&amp;M(&quot;&quot;)},className:ia})]}),l.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Au&quot;}),l.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:q,onChange:v=&gt;{K(v.target.value),v.target.value&amp;&amp;M(&quot;&quot;)},className:ia})]})]}),l.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Ouvrage&quot;}),l.jsxs(&quot;select&quot;,{value:X,onChange:v=&gt;le(v.target.value),className:Ke,children:[l.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous&quot;}),ie.map(v=&gt;l.jsx(&quot;option&quot;,{value:v.id,children:v.name},v.id))]})]}),l.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Ouvrier&quot;}),l.jsxs(&quot;select&quot;,{value:P,onChange:v=&gt;Z(v.target.value),className:Ke,children:[l.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous&quot;}),I.map(v=&gt;l.jsx(&quot;option&quot;,{value:v.id,children:v.display_name},v.id))]})]}),l.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Statut ligne&quot;}),l.jsx(&quot;select&quot;,{value:$,onChange:v=&gt;F(v.target.value),className:Ke,children:Kh.map(v=&gt;l.jsx(&quot;option&quot;,{value:v.value,children:v.label},v.value||&quot;all&quot;))})]})]}),l.jsx(&quot;div&quot;,{className:&quot;mt-3 flex flex-wrap gap-2&quot;,children:l.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:fe,className:&quot;rounded-lg border border-border bg-surface px-2.5 py-1.5 text-[11px] font-semibold text-fg-muted transition hover:border-brand-blue/40 hover:text-fg&quot;,children:&quot;Tout réinitialiser (aujourd’hui)&quot;})})]}):null]}),g?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:g}):null,y?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Chargement…&quot;}):null,y?null:l.jsxs(l.Fragment,{children:[l.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between gap-2 border-b border-border pb-2&quot;,children:[l.jsx(&quot;h2&quot;,{className:&quot;text-sm font-bold text-fg&quot;,children:_}),J?null:l.jsx(&quot;span&quot;,{className:&quot;text-xs text-fg-subtle&quot;,children:&quot;Vue historique&quot;})]}),p.length===0?l.jsx(Jt,{icon:J?l.jsx(_j,{}):void 0,title:J?&quot;Pas encore de production aujourd’hui&quot;:&quot;Aucun résultat pour ces critères&quot;,hint:J?x?&quot;Sur le terrain : une saisie par ouvrage, puis validation chantier — la paie viendra après.&quot;:&quot;Les lignes enregistrées par une équipe habilitée s’affichent ici.&quot;:&quot;Élargissez la période ou ouvrez « Historique et filtres ».&quot;,action:J&amp;&amp;x?l.jsx(de,{to:&quot;/production-entries/new&quot;,className:`${Vi} w-full max-w-sm shadow-lg sm:w-auto`,children:&quot;Saisir une production&quot;}):void 0}):l.jsx(&quot;ul&quot;,{className:&quot;grid gap-3 lg:grid-cols-2&quot;,children:p.map(v=&gt;{var z,te;return l.jsx(&quot;li&quot;,{children:l.jsxs(de,{to:`/production-entries/${v.id}`,className:`${bt} flex flex-col gap-0 p-0`,children:[l.jsxs(&quot;div&quot;,{className:&quot;flex items-start justify-between gap-3 px-4 pb-2 pt-4&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[9px] font-bold uppercase tracking-[0.16em] text-fg-subtle&quot;,children:&quot;Ouvrage&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-base font-bold leading-snug tracking-tight text-fg sm:text-lg&quot;,children:((z=v.work_item)==null?void 0:z.name)??`Ouvrage #${v.work_item_id}`}),l.jsx(&quot;p&quot;,{className:&quot;mt-3 text-[9px] font-bold uppercase tracking-[0.16em] text-fg-subtle&quot;,children:&quot;Ouvrier · équipe&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm font-semibold text-fg-muted&quot;,children:((te=v.worker)==null?void 0:te.display_name)??(v.team?v.team.name:&quot;—&quot;)})]}),l.jsx(&quot;span&quot;,{className:&quot;shrink-0 pt-1 text-lg text-fg-subtle&quot;,&quot;aria-hidden&quot;:!0,children:&quot;›&quot;})]}),l.jsxs(&quot;div&quot;,{className:&quot;space-y-3 border-t border-border/70 bg-surface-alt/35 px-4 py-3&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;p&quot;,{className:&quot;text-[9px] font-bold uppercase tracking-[0.16em] text-fg-subtle&quot;,children:&quot;Quantité · date&quot;}),l.jsxs(&quot;p&quot;,{className:&quot;mt-1 flex flex-wrap items-baseline gap-x-2 gap-y-0.5 text-fg&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-xl font-extrabold tabular-nums tracking-tight&quot;,children:v.quantity}),l.jsx(&quot;span&quot;,{className:&quot;text-sm font-bold text-fg-muted&quot;,children:v.unit}),l.jsx(&quot;span&quot;,{className:&quot;text-fg-subtle&quot;,&quot;aria-hidden&quot;:!0,children:&quot;·&quot;}),l.jsx(&quot;span&quot;,{className:&quot;text-xs font-semibold tabular-nums text-fg-muted&quot;,children:v.date})]})]}),l.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-1.5 sm:flex-row sm:flex-wrap sm:items-center sm:gap-2&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-1.5&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-[9px] font-bold uppercase tracking-[0.14em] text-fg-subtle&quot;,children:&quot;Statut&quot;}),l.jsx(&quot;span&quot;,{title:Fh(v.status),className:`inline-flex rounded-lg border px-2.5 py-1 text-[10px] font-bold uppercase tracking-[0.05em] ${vj(v.status)}`,children:jj(v.status)})]}),l.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-1.5 sm:ml-auto sm:justify-end&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-[9px] font-bold uppercase tracking-[0.14em] text-fg-subtle&quot;,children:&quot;Paie&quot;}),l.jsx(wj,{row:v})]})]})]})]})},v.id)})})]})]}):l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Production&quot;,accent:&quot;chantier&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Accès refusé (production_entries.view).&quot;})]})}async function oh(r,u,o){return(await ne(u,{...o,token:r})).data}function Tj(r){return{draft:&quot;Brouillon&quot;,submitted:&quot;Soumis (en attente chantier)&quot;,validated:&quot;Validé chantier&quot;,rejected:&quot;Rejeté chantier&quot;}[r]??r}function Cj(r){const u=r??&quot;unknown&quot;,o={not_started:&quot;Ouvrage: pas demarre&quot;,in_progress:&quot;Ouvrage: en cours&quot;,completed:&quot;Ouvrage: termine&quot;,validated:&quot;Ouvrage: valide&quot;,suspended:&quot;Ouvrage: suspendu&quot;,unknown:&quot;Ouvrage: statut inconnu&quot;},c={not_started:&quot;border-border bg-surface-alt text-fg-muted&quot;,in_progress:&quot;border-brand-blue/40 bg-brand-blue-soft text-brand-blue&quot;,completed:&quot;border-success/40 bg-success-soft text-success&quot;,validated:&quot;border-warning/40 bg-warning-soft text-warning&quot;,suspended:&quot;border-danger/50 bg-danger-soft text-danger&quot;,unknown:&quot;border-border bg-surface-alt text-fg-subtle&quot;};return l.jsx(&quot;span&quot;,{className:`inline-flex rounded-full border px-2 py-0.5 text-[10px] font-medium ${c[u]??c.unknown}`,children:o[u]??o.unknown})}function Aj(r,u){return u?r===&quot;chef_chantier&quot;||r===&quot;entrepreneur_admin&quot;:!1}function zj(){var $,F,B,ee;const{productionEntryId:r}=nt(),u=Number(r),{token:o,user:c,can:f}=ze(),{activeProject:x,setActiveProjectId:b}=ht(),[p,j]=m.useState(null),[g,S]=m.useState(null),[y,T]=m.useState(!0),[D,M]=m.useState(!1),R=f(&quot;production_entries.manage&quot;),U=f(&quot;production_entries.view&quot;)&amp;&amp;!R,q=Aj(c==null?void 0:c.role,R),K=R&amp;&amp;p&amp;&amp;(p.status===&quot;draft&quot;||p.status===&quot;rejected&quot;)&amp;&amp;!U,X=q&amp;&amp;p&amp;&amp;p.status===&quot;submitted&quot;;m.useEffect(()=&gt;{if(!Number.isFinite(u)||!o||!f(&quot;production_entries.view&quot;)){T(!1);return}let ie=!1;return(async()=&gt;{try{const H=await ne(`/api/v1/production-entries/${u}`,{method:&quot;GET&quot;,token:o});ie||(j(H.data),b(H.data.project_id))}catch(H){ie||S(H instanceof ve?H.message:&quot;Erreur&quot;)}finally{ie||T(!1)}})(),()=&gt;{ie=!0}},[u,o,f,b]);async function le(ie){if(!(!o||!p)){M(!0),S(null);try{const H=await oh(o,`/api/v1/production-entries/${p.id}`,{method:&quot;PATCH&quot;,body:JSON.stringify({status:ie})});j(H)}catch(H){S(H instanceof ve?H.message:&quot;Action impossible&quot;)}finally{M(!1)}}}async function P(ie){if(!(!o||!p)){M(!0),S(null);try{const H=await oh(o,`/api/v1/production-entries/${p.id}/validate`,{method:&quot;POST&quot;,body:JSON.stringify({decision:ie})});j(H)}catch(H){S(H instanceof ve?H.message:&quot;Action impossible&quot;)}finally{M(!1)}}}if(!f(&quot;production_entries.view&quot;))return l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Production&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Accès refusé.&quot;})]});if(!Number.isFinite(u))return l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:&quot;Identifiant invalide.&quot;});if(y)return l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-subtle&quot;,children:&quot;Chargement…&quot;});if(g&amp;&amp;!p)return l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{backTo:&quot;/production-entries&quot;,title:&quot;Production&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:g})]});if(!p)return null;const Z=R&amp;&amp;p.status!==&quot;validated&quot;&amp;&amp;!(p.status===&quot;submitted&quot;&amp;&amp;(c==null?void 0:c.role)===&quot;contremaitre_technicien&quot;);return l.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[l.jsx(se,{backTo:&quot;/production-entries&quot;,title:&quot;Ligne de production&quot;,subtitle:x&amp;&amp;x.id===p.project_id?x.name:`Projet #${p.project_id}`}),l.jsxs(&quot;p&quot;,{className:&quot;rounded-lg border border-border bg-surface-alt/50 px-3 py-2 text-xs text-fg-muted&quot;,children:[l.jsx(&quot;strong&quot;,{className:&quot;text-brand-orange&quot;,children:&quot;Validation chantier&quot;}),&quot; (cette page) — distincte de la&quot;,&quot; &quot;,l.jsx(&quot;strong&quot;,{className:&quot;text-fg-subtle&quot;,children:&quot;validation financière de la paie&quot;}),&quot; (module Paie, hors lot actuel).&quot;]}),g?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:g}):null,l.jsxs(&quot;dl&quot;,{className:&quot;space-y-3 rounded-xl border border-border bg-surface-alt/80 p-4 text-sm&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs text-fg-muted&quot;,children:&quot;Ouvrage&quot;}),l.jsxs(&quot;dd&quot;,{className:&quot;mt-0.5 text-base font-medium text-fg&quot;,children:[(($=p.work_item)==null?void 0:$.name)??`#${p.work_item_id}`,f(&quot;work_items.manage&quot;)?l.jsx(de,{to:`/projects/${p.project_id}/work-items/${p.work_item_id}/edit`,className:&quot;ml-2 text-xs font-medium text-brand-blue hover:text-brand-blue-hover&quot;,children:&quot;Modifier&quot;}):null,l.jsx(&quot;div&quot;,{className:&quot;mt-1&quot;,children:Cj((F=p.work_item)==null?void 0:F.status)})]})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs text-fg-muted&quot;,children:&quot;Date&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-fg&quot;,children:p.date})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs text-fg-muted&quot;,children:&quot;Quantité / unité&quot;}),l.jsxs(&quot;dd&quot;,{className:&quot;mt-0.5 text-fg&quot;,children:[p.quantity,&quot; &quot;,p.unit,p.unit_rate!=null&amp;&amp;String(p.unit_rate).trim()!==&quot;&quot;?` · taux ${cn(p.unit_rate)}`:&quot;&quot;]})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs text-fg-muted&quot;,children:&quot;Attribution&quot;}),l.jsxs(&quot;dd&quot;,{className:&quot;mt-0.5 text-fg&quot;,children:[p.worker?l.jsxs(l.Fragment,{children:[&quot;Ouvrier : &quot;,p.worker.display_name,l.jsx(&quot;span&quot;,{className:&quot;mt-1 block text-[11px] text-fg-muted&quot;,children:&quot;Peut servir de base à une paie individuelle au rendu une fois validé chantier.&quot;})]}):null,p.team?l.jsxs(l.Fragment,{children:[p.worker?&quot; · &quot;:null,&quot;Équipe : &quot;,p.team.name,l.jsx(&quot;span&quot;,{className:&quot;mt-1 block text-[11px] text-fg-muted&quot;,children:&quot;Suivi chantier ; pas de paie auto individuelle MVP sans répartition.&quot;})]}):null,!p.worker&amp;&amp;!p.team?&quot;—&quot;:null]})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs text-fg-muted&quot;,children:&quot;Statut&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-fg&quot;,children:Tj(p.status)})]}),p.comment?l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs text-fg-muted&quot;,children:&quot;Commentaire&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 whitespace-pre-wrap text-fg-muted&quot;,children:p.comment})]}):null,l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs text-fg-muted&quot;,children:&quot;Saisi par&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-fg-subtle&quot;,children:((B=p.created_by)==null?void 0:B.full_name)??`#${p.created_by_user_id}`})]}),p.validated_by_user_id?l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs text-fg-muted&quot;,children:&quot;Validé chantier par&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-fg-subtle&quot;,children:((ee=p.validated_by)==null?void 0:ee.full_name)??`#${p.validated_by_user_id}`})]}):null]}),U?l.jsx(&quot;p&quot;,{className:&quot;text-xs text-fg-muted&quot;,children:&quot;Lecture seule (ex. financier — contexte paie au rendu).&quot;}):null,l.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-2&quot;,children:[Z?l.jsx(de,{to:`/production-entries/${p.id}/edit`,className:pt,children:&quot;Modifier&quot;}):null,K?l.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:D,onClick:()=&gt;void le(&quot;submitted&quot;),className:rt,children:D?&quot;…&quot;:&quot;Soumettre pour validation chantier&quot;}):null,X?l.jsxs(l.Fragment,{children:[l.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:D,onClick:()=&gt;void P(&quot;validated&quot;),className:rt,children:D?&quot;…&quot;:&quot;Valider (chantier)&quot;}),l.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:D,onClick:()=&gt;void P(&quot;rejected&quot;),className:&quot;rounded-xl border border-danger/50 bg-danger-soft py-3 text-center text-sm font-semibold text-danger hover:bg-danger-soft&quot;,children:&quot;Rejeter (chantier)&quot;})]}):null]})]})}function kj(){const r=new Date,u=r.getFullYear(),o=String(r.getMonth()+1).padStart(2,&quot;0&quot;),c=String(r.getDate()).padStart(2,&quot;0&quot;);return`${u}-${o}-${c}`}function dh(){const{productionEntryId:r}=nt(),u=r?Number(r):null,o=Number.isFinite(u),c=ta(),f=ea(),x=!o&amp;&amp;f.state&amp;&amp;typeof f.state==&quot;object&quot;&amp;&amp;&quot;workItemId&quot;in f.state?Number(f.state.workItemId):NaN,{token:b,can:p}=ze(),{activeProjectId:j,activeProject:g,setActiveProjectId:S}=ht(),y=j,T=p(&quot;production_entries.manage&quot;),[D,M]=m.useState(&quot;&quot;),[R,U]=m.useState(&quot;&quot;),[q,K]=m.useState(&quot;&quot;),[X,le]=m.useState(kj()),[P,Z]=m.useState(&quot;&quot;),[$,F]=m.useState(&quot;&quot;),[B,ee]=m.useState(&quot;&quot;),[ie,H]=m.useState(&quot;draft&quot;),[I,Q]=m.useState(&quot;&quot;),[ae,C]=m.useState({}),[J,W]=m.useState(null),[he,fe]=m.useState(!1),[_,v]=m.useState(o),[z,te]=m.useState([]),[oe,xe]=m.useState([]),[_e,Ie]=m.useState([]),[Xe,ll]=m.useState(!1);m.useEffect(()=&gt;{Number.isFinite(y)&amp;&amp;S(y)},[y,S]),m.useEffect(()=&gt;{if(!b||!y)return;let be=!1;return(async()=&gt;{try{const[Lt,Re,za]=await Promise.all([ne(`/api/v1/projects/${y}/work-items?per_page=100&amp;sort=name`,{method:&quot;GET&quot;,token:b}),ne(&quot;/api/v1/workers?per_page=200&amp;sort=display_name&quot;,{method:&quot;GET&quot;,token:b}),ne(`/api/v1/projects/${y}/teams?per_page=100&amp;sort=name`,{method:&quot;GET&quot;,token:b})]);be||(te(Lt.data),xe(Re.data),Ie(za.data))}catch{be||(te([]),xe([]),Ie([]))}})(),()=&gt;{be=!0}},[b,y]),m.useEffect(()=&gt;{o||!Number.isFinite(x)||z.some(be=&gt;be.id===x)&amp;&amp;M(String(x))},[o,x,z]),m.useEffect(()=&gt;{if(!o||!b||u===null||!Number.isFinite(u)){v(!1);return}let be=!1;return(async()=&gt;{try{const Lt=await ne(`/api/v1/production-entries/${u}`,{method:&quot;GET&quot;,token:b});if(!be){const Re=Lt.data;Re.status===&quot;validated&quot;&amp;&amp;ll(!0),M(String(Re.work_item_id)),U(Re.worker_id?String(Re.worker_id):&quot;&quot;),K(Re.team_id?String(Re.team_id):&quot;&quot;),le(Re.date.slice(0,10)),Z(String(Re.quantity)),F(Re.unit),ee(Re.unit_rate??&quot;&quot;),Re.status===&quot;rejected&quot;?H(&quot;draft&quot;):Re.status===&quot;submitted&quot;||Re.status===&quot;draft&quot;?H(Re.status):H(&quot;draft&quot;),Q(Re.comment??&quot;&quot;)}}catch(Lt){be||W(Lt instanceof ve?Lt.message:&quot;Chargement impossible&quot;)}finally{be||v(!1)}})(),()=&gt;{be=!0}},[o,u,b]);async function Nl(be){if(be.preventDefault(),!b||!y)return;if(!R&amp;&amp;!q){W(&quot;Renseignez au moins un ouvrier ou une équipe.&quot;);return}W(null),C({}),fe(!0);const Lt={work_item_id:Number(D),worker_id:R?Number(R):null,team_id:q?Number(q):null,date:X,quantity:Number(P),unit:$,unit_rate:B===&quot;&quot;?null:Number(B),status:ie,comment:I===&quot;&quot;?null:I};try{o&amp;&amp;u!==null?(await ne(`/api/v1/production-entries/${u}`,{method:&quot;PATCH&quot;,token:b,body:JSON.stringify(Lt)}),c(`/production-entries/${u}`)):(await ne(`/api/v1/projects/${y}/production-entries`,{method:&quot;POST&quot;,token:b,body:JSON.stringify(Lt)}),c(&quot;/production-entries&quot;))}catch(Re){if(Re instanceof ve){W(Re.message);const za=Dc(Re.body);za&amp;&amp;C(za)}else W(&quot;Enregistrement impossible&quot;)}finally{fe(!1)}}return p(&quot;production_entries.view&quot;)?T?y===null?l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Production&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Sélectionnez un chantier actif.&quot;})]}):_?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-subtle&quot;,children:&quot;Chargement…&quot;}):Xe?l.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[l.jsx(se,{backTo:`/production-entries/${u}`,title:&quot;Modifier&quot;}),l.jsxs(&quot;p&quot;,{className:&quot;text-sm text-fg-subtle&quot;,children:[&quot;Cette ligne est validée côté chantier — elle n’est plus modifiable ici. La validation&quot;,&quot; &quot;,l.jsx(&quot;strong&quot;,{className:&quot;text-fg-muted&quot;,children:&quot;financière de la paie&quot;}),&quot; est un autre circuit (module Paie).&quot;]})]}):l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{backTo:o?`/production-entries/${u}`:&quot;/production-entries&quot;,title:o?&quot;Modifier la production&quot;:&quot;Nouvelle production&quot;,subtitle:g==null?void 0:g.name}),l.jsxs(&quot;form&quot;,{onSubmit:be=&gt;void Nl(be),className:&quot;space-y-4&quot;,children:[J?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:J}):null,l.jsxs(&quot;div&quot;,{children:[l.jsxs(&quot;div&quot;,{className:&quot;mb-1 flex flex-wrap items-center justify-between gap-2&quot;,children:[l.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;pe-work-item&quot;,children:&quot;Ouvrage&quot;}),p(&quot;work_items.manage&quot;)&amp;&amp;y!==null?l.jsx(de,{to:`/projects/${y}/work-items/new`,className:&quot;text-xs font-medium text-brand-blue hover:text-brand-blue-hover&quot;,children:&quot;+ Créer un ouvrage&quot;}):null]}),l.jsxs(&quot;select&quot;,{id:&quot;pe-work-item&quot;,required:!0,value:D,onChange:be=&gt;M(be.target.value),className:ge,children:[l.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),z.map(be=&gt;l.jsx(&quot;option&quot;,{value:be.id,children:be.name},be.id))]}),ae.work_item_id?l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-danger&quot;,children:ae.work_item_id}):null,z.length===0&amp;&amp;p(&quot;work_items.manage&quot;)&amp;&amp;y!==null?l.jsx(&quot;p&quot;,{className:&quot;mt-2 text-xs text-fg-muted&quot;,children:&quot;Aucun ouvrage sur ce chantier — utilisez « Créer un ouvrage » ci-dessus.&quot;}):null]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;pe-worker&quot;,children:&quot;Ouvrier (optionnel si équipe)&quot;}),l.jsxs(&quot;select&quot;,{id:&quot;pe-worker&quot;,value:R,onChange:be=&gt;U(be.target.value),className:ge,children:[l.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),oe.map(be=&gt;l.jsx(&quot;option&quot;,{value:be.id,children:be.display_name},be.id))]}),ae.worker_id?l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-danger&quot;,children:ae.worker_id}):null]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;pe-team&quot;,children:&quot;Équipe (optionnel)&quot;}),l.jsxs(&quot;select&quot;,{id:&quot;pe-team&quot;,value:q,onChange:be=&gt;K(be.target.value),className:ge,children:[l.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),_e.map(be=&gt;l.jsx(&quot;option&quot;,{value:be.id,children:be.name},be.id))]}),ae.team_id?l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-danger&quot;,children:ae.team_id}):null]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;pe-date&quot;,children:&quot;Date&quot;}),l.jsx(&quot;input&quot;,{id:&quot;pe-date&quot;,type:&quot;date&quot;,required:!0,value:X,onChange:be=&gt;le(be.target.value),className:ge}),ae.date?l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-danger&quot;,children:ae.date}):null]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;pe-qty&quot;,children:&quot;Quantité&quot;}),l.jsx(&quot;input&quot;,{id:&quot;pe-qty&quot;,type:&quot;text&quot;,inputMode:&quot;decimal&quot;,required:!0,value:P,onChange:be=&gt;Z(be.target.value),className:`${ge} text-lg`,placeholder:&quot;ex. 12,5&quot;}),ae.quantity?l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-danger&quot;,children:ae.quantity}):null]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;pe-unit&quot;,children:&quot;Unité&quot;}),l.jsx(&quot;input&quot;,{id:&quot;pe-unit&quot;,type:&quot;text&quot;,required:!0,value:$,onChange:be=&gt;F(be.target.value),className:ge,placeholder:&quot;m2, u, tâche…&quot;}),ae.unit?l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-danger&quot;,children:ae.unit}):null]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;pe-rate&quot;,children:&quot;Taux unitaire en FCFA (optionnel)&quot;}),l.jsx(&quot;input&quot;,{id:&quot;pe-rate&quot;,type:&quot;text&quot;,inputMode:&quot;decimal&quot;,value:B,onChange:be=&gt;ee(be.target.value),className:`${ge} text-lg`}),ae.unit_rate?l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-danger&quot;,children:ae.unit_rate}):null]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;pe-status&quot;,children:&quot;Statut&quot;}),l.jsxs(&quot;select&quot;,{id:&quot;pe-status&quot;,value:ie,onChange:be=&gt;H(be.target.value),className:ge,children:[l.jsx(&quot;option&quot;,{value:&quot;draft&quot;,children:&quot;Brouillon&quot;}),l.jsx(&quot;option&quot;,{value:&quot;submitted&quot;,children:&quot;Soumis (validation chantier)&quot;})]}),ae.status?l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-danger&quot;,children:ae.status}):null]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;pe-comment&quot;,children:&quot;Commentaire&quot;}),l.jsx(&quot;textarea&quot;,{id:&quot;pe-comment&quot;,value:I,onChange:be=&gt;Q(be.target.value),rows:3,className:ge})]}),l.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:he,className:rt,children:he?&quot;Enregistrement…&quot;:&quot;Enregistrer&quot;})]})]}):l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Production&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Lecture seule — pas de saisie (production_entries.manage).&quot;})]}):l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Production&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Accès refusé.&quot;})]})}const Wh=[{value:&quot;&quot;,label:&quot;Tous&quot;},{value:&quot;draft&quot;,label:&quot;Brouillon&quot;},{value:&quot;ready_for_validation&quot;,label:&quot;Prêt pour validation&quot;},{value:&quot;validated&quot;,label:&quot;Validé financier&quot;},{value:&quot;paid&quot;,label:&quot;Payé&quot;},{value:&quot;cancelled&quot;,label:&quot;Annulé&quot;}],Ih=[{value:&quot;&quot;,label:&quot;Tous&quot;},{value:&quot;daily&quot;,label:&quot;Au jour&quot;},{value:&quot;hourly&quot;,label:&quot;À l&#039;heure&quot;},{value:&quot;per_completed_work&quot;,label:&quot;Au rendu&quot;}];function fh(r){var u;return((u=Wh.find(o=&gt;o.value===r))==null?void 0:u.label)??r}function Mj(r){var u;return((u=Ih.find(o=&gt;o.value===r))==null?void 0:u.label)??r}function Oj(r){switch(r){case&quot;paid&quot;:return&quot;border-success/55 bg-success-soft text-success ring-1 ring-inset ring-success/20&quot;;case&quot;validated&quot;:return&quot;border-brand-blue/55 bg-brand-blue-soft text-brand-blue ring-1 ring-inset ring-brand-blue/18&quot;;case&quot;ready_for_validation&quot;:return&quot;border-brand-orange/55 bg-brand-orange-soft text-brand-orange ring-1 ring-inset ring-brand-orange/18&quot;;case&quot;draft&quot;:return&quot;border-border-strong bg-app text-fg-muted ring-1 ring-inset ring-border/35&quot;;case&quot;cancelled&quot;:return&quot;border-danger/55 bg-danger-soft text-danger ring-1 ring-inset ring-danger/18&quot;;default:return&quot;border-border bg-surface-alt text-fg-subtle ring-1 ring-inset ring-border/25&quot;}}function Rj(r){switch(r){case&quot;daily&quot;:return&quot;border-brand-blue/50 bg-brand-blue-soft text-brand-blue ring-1 ring-inset ring-brand-blue/22&quot;;case&quot;hourly&quot;:return&quot;border-warning/50 bg-warning-soft text-warning ring-1 ring-inset ring-warning/22&quot;;case&quot;per_completed_work&quot;:return&quot;border-success/50 bg-success-soft text-success ring-1 ring-inset ring-success/22&quot;;default:return&quot;border-border bg-surface-alt text-fg-muted ring-1 ring-inset ring-border/30&quot;}}function Dj({className:r=&quot;h-5 w-5&quot;}){return l.jsx(&quot;svg&quot;,{className:r,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;,&quot;aria-hidden&quot;:!0,children:l.jsx(&quot;path&quot;,{d:&quot;M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01&quot;,strokeLinecap:&quot;round&quot;})})}function Uj({className:r=&quot;h-5 w-5&quot;}){return l.jsx(&quot;svg&quot;,{className:r,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;,&quot;aria-hidden&quot;:!0,children:l.jsx(&quot;path&quot;,{d:&quot;M12 2v20M17 5H9.5a3.5 3.5 0 000 7h5a3.5 3.5 0 010 7H6&quot;,strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;})})}function Lj({className:r=&quot;h-5 w-5&quot;}){return l.jsxs(&quot;svg&quot;,{className:r,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;,&quot;aria-hidden&quot;:!0,children:[l.jsx(&quot;rect&quot;,{x:&quot;2&quot;,y:&quot;5&quot;,width:&quot;20&quot;,height:&quot;14&quot;,rx:&quot;2&quot;,strokeLinecap:&quot;round&quot;}),l.jsx(&quot;path&quot;,{d:&quot;M2 10h20&quot;,strokeLinecap:&quot;round&quot;})]})}function qj({className:r=&quot;h-5 w-5&quot;}){return l.jsxs(&quot;svg&quot;,{className:r,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,strokeWidth:&quot;1.75&quot;,&quot;aria-hidden&quot;:!0,children:[l.jsx(&quot;path&quot;,{d:&quot;M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z&quot;,strokeLinecap:&quot;round&quot;}),l.jsx(&quot;path&quot;,{d:&quot;M12 6v6l4 2&quot;,strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;})]})}function Hj(){const{token:r,can:u}=ze(),{activeProjectId:o,activeProject:c}=ht(),f=o,x=u(&quot;payroll.manage&quot;),[b,p]=m.useState([]),[j,g]=m.useState([]),[S,y]=m.useState(null),[T,D]=m.useState(!0),[M,R]=m.useState(!1),[U,q]=m.useState(&quot;&quot;),[K,X]=m.useState(&quot;&quot;),[le,P]=m.useState(&quot;&quot;),[Z,$]=m.useState(&quot;&quot;),[F,B]=m.useState(&quot;&quot;),[ee,ie]=m.useState(&quot;&quot;),[H,I]=m.useState(&quot;&quot;),[Q,ae]=m.useState(null),[C,J]=m.useState(null),W=m.useMemo(()=&gt;{if(c)return`${c.name}${c.code?` (${c.code})`:&quot;&quot;}`},[c]);m.useEffect(()=&gt;{f!==null&amp;&amp;Number.isFinite(f)&amp;&amp;(p([]),q(&quot;&quot;),X(&quot;&quot;),P(&quot;&quot;),$(&quot;&quot;),B(&quot;&quot;))},[f]);const he=m.useCallback(async()=&gt;{if(!r||!f||!u(&quot;payroll.view&quot;)){D(!1);return}D(!0),y(null);const v=new URLSearchParams;v.set(&quot;per_page&quot;,&quot;100&quot;),v.set(&quot;sort&quot;,&quot;-period_start&quot;),U&amp;&amp;v.set(&quot;period_from&quot;,U),K&amp;&amp;v.set(&quot;period_to&quot;,K),le&amp;&amp;v.set(&quot;worker_id&quot;,le),Z&amp;&amp;v.set(&quot;status&quot;,Z),F&amp;&amp;v.set(&quot;payment_mode&quot;,F);try{const z=await ne(`/api/v1/projects/${f}/payroll-entries?${v.toString()}`,{method:&quot;GET&quot;,token:r});p(z.data)}catch(z){y(z instanceof ve?z.message:&quot;Erreur de chargement&quot;),p([])}finally{D(!1)}},[r,f,u,U,K,le,Z,F]);m.useEffect(()=&gt;{he()},[he]),m.useEffect(()=&gt;{if(!r||!u(&quot;payroll.view&quot;))return;let v=!1;return(async()=&gt;{try{const z=await ne(&quot;/api/v1/workers?per_page=200&amp;sort=display_name&quot;,{method:&quot;GET&quot;,token:r});v||g(z.data)}catch{v||g([])}})(),()=&gt;{v=!0}},[r,u]);const fe=m.useMemo(()=&gt;{let v=0,z=0,te=0,oe=0;for(const xe of b)v+=ms(xe.gross_amount),z+=ms(xe.final_amount),xe.status===&quot;paid&quot;?te+=1:xe.status!==&quot;cancelled&quot;&amp;&amp;(oe+=1);return{gross:v,final:z,paid:te,pending:oe,count:b.length}},[b]);async function _(){if(!(!r||!f||!ee||!H)){R(!0),y(null),ae(null),J(null);try{const v=await ne(`/api/v1/projects/${f}/payroll-entries/generate`,{method:&quot;POST&quot;,token:r,body:JSON.stringify({period_start:ee,period_end:H})});ae([`Créées : ${v.created.length}`,`Ignorées (existantes) : ${v.skipped_existing.length}`,`Ignorées (règles) : ${v.skipped_workers.length}`].join(&quot; · &quot;));const z=[...v.warnings??[],...(v.skipped_workers??[]).map(te=&gt;`Ouvrier #${te.worker_id} : ${te.reason}`)];J(z.length&gt;0?z:null),await he()}catch(v){y(v instanceof ve?v.message:&quot;Génération impossible&quot;)}finally{R(!1)}}}return u(&quot;payroll.view&quot;)?f===null||!Number.isFinite(f)?l.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[l.jsx(se,{title:&quot;Paie&quot;,accent:&quot;finance&quot;}),l.jsx(Jt,{title:&quot;Choisir un chantier actif&quot;,hint:&quot;La paie est calculée par chantier.&quot;,action:l.jsx(de,{to:&quot;/projects&quot;,className:bt,children:&quot;Voir les chantiers&quot;})})]}):l.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[l.jsx(se,{title:&quot;Paie&quot;,subtitle:W,accent:&quot;finance&quot;}),l.jsxs(&quot;div&quot;,{className:`flex flex-wrap items-center gap-x-2 gap-y-1.5 rounded-lg border px-2.5 py-2 sm:px-3 ${x?&quot;border-brand-orange/35 bg-brand-orange-soft/40&quot;:&quot;border-border/60 bg-surface-alt/50&quot;}`,children:[l.jsx(&quot;span&quot;,{className:`inline-flex items-center gap-1 rounded px-2 py-0.5 text-[8px] font-bold uppercase tracking-wide ${x?&quot;bg-brand-orange text-on-brand&quot;:&quot;bg-surface text-fg-muted ring-1 ring-border&quot;}`,children:x?&quot;Pilotage financier&quot;:&quot;Consultation&quot;}),l.jsx(&quot;span&quot;,{className:&quot;inline-flex items-center gap-0.5 rounded bg-success-soft/90 px-1.5 py-px text-[8px] font-bold uppercase tracking-wide text-success&quot;,children:&quot;Validation financière&quot;}),l.jsx(&quot;p&quot;,{className:`w-full leading-tight sm:w-auto sm:max-w-[26rem] ${x?&quot;text-[9px] text-fg-subtle&quot;:&quot;text-[8.5px] text-fg-muted&quot;}`,children:x?&quot;Présences et production validée chantier alimentent ces lignes. Vous pouvez générer, valider et marquer payé.&quot;:&quot;Synthèse uniquement — pas de génération ni d’actions financières.&quot;})]}),l.jsxs(&quot;section&quot;,{className:&quot;grid gap-3 sm:grid-cols-2 xl:grid-cols-12&quot;,&quot;aria-label&quot;:&quot;Synthèse financière&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;flex gap-3 rounded-2xl border border-border/90 bg-surface px-4 py-4 shadow-[0_2px_14px_-6px_rgba(15,23,42,0.1)] xl:col-span-2 xl:py-5&quot;,children:[l.jsx(&quot;div&quot;,{className:&quot;flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-brand-orange-soft text-brand-orange&quot;,children:l.jsx(Dj,{})}),l.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[8px] font-bold uppercase tracking-[0.2em] text-fg-muted&quot;,children:&quot;Lignes affichées&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-2 text-2xl font-extrabold tabular-nums leading-none text-fg xl:text-3xl&quot;,children:fe.count}),l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-[9px] font-medium text-fg-subtle&quot;,children:&quot;Selon filtres actifs&quot;})]})]}),l.jsxs(&quot;div&quot;,{className:&quot;flex gap-3 rounded-2xl border border-border/90 bg-surface px-4 py-4 shadow-[0_2px_14px_-6px_rgba(15,23,42,0.1)] xl:col-span-2 xl:py-5&quot;,children:[l.jsx(&quot;div&quot;,{className:&quot;flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-surface-alt text-fg-muted&quot;,children:l.jsx(Uj,{})}),l.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[8px] font-bold uppercase tracking-[0.2em] text-fg-muted&quot;,children:&quot;Brut total&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-2 whitespace-nowrap text-base font-bold tabular-nums leading-tight text-fg xl:text-lg 2xl:text-xl&quot;,children:hs(fe.gross)}),l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-[9px] font-medium text-fg-subtle&quot;,children:&quot;Somme des montants bruts&quot;})]})]}),l.jsxs(&quot;div&quot;,{className:&quot;flex gap-3 rounded-2xl border-2 border-brand-orange/25 bg-gradient-to-br from-brand-orange-soft/30 to-surface px-4 py-4 shadow-[0_2px_14px_-6px_rgba(234,88,12,0.12)] sm:col-span-2 xl:col-span-4 xl:py-5&quot;,children:[l.jsx(&quot;div&quot;,{className:&quot;flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-brand-orange text-on-brand&quot;,children:l.jsx(Lj,{})}),l.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[8px] font-bold uppercase tracking-[0.2em] text-brand-orange&quot;,children:&quot;Final total&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-1.5 whitespace-nowrap text-xl font-extrabold tabular-nums leading-tight tracking-tight text-fg xl:text-2xl 2xl:text-[1.75rem]&quot;,children:hs(fe.final)}),l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-[9px] font-medium text-fg-subtle&quot;,children:&quot;Après ajustements&quot;})]})]}),l.jsxs(&quot;div&quot;,{className:&quot;flex gap-3 rounded-2xl border border-border/90 bg-surface px-4 py-4 shadow-[0_2px_14px_-6px_rgba(15,23,42,0.1)] sm:col-span-2 xl:col-span-4 xl:py-5&quot;,children:[l.jsx(&quot;div&quot;,{className:&quot;flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-success-soft text-success&quot;,children:l.jsx(qj,{})}),l.jsxs(&quot;div&quot;,{className:&quot;grid min-w-0 flex-1 grid-cols-2 gap-3&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[8px] font-bold uppercase tracking-[0.2em] text-fg-muted&quot;,children:&quot;Payées&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-1.5 text-2xl font-extrabold tabular-nums leading-none text-success&quot;,children:fe.paid})]}),l.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[8px] font-bold uppercase tracking-[0.2em] text-fg-muted&quot;,children:&quot;En attente&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-1.5 text-2xl font-extrabold tabular-nums leading-none text-brand-orange&quot;,children:fe.pending}),l.jsx(&quot;p&quot;,{className:&quot;mt-0.5 text-[9px] text-fg-subtle&quot;,children:&quot;Non payées, non annulées&quot;})]})]})]})]}),l.jsxs(&quot;div&quot;,{className:&quot;grid gap-6 lg:grid-cols-12 lg:items-start&quot;,children:[l.jsxs(&quot;aside&quot;,{className:&quot;space-y-4 lg:col-span-4 xl:col-span-3&quot;,children:[x?l.jsxs(&quot;section&quot;,{className:&quot;rounded-2xl border-2 border-brand-orange/35 bg-gradient-to-br from-brand-orange-soft/45 via-surface to-surface p-5 shadow-md ring-1 ring-brand-orange/15&quot;,&quot;aria-label&quot;:&quot;Génération des lignes de paie&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[10px] font-bold uppercase tracking-[0.18em] text-brand-orange&quot;,children:&quot;Actions financières&quot;}),l.jsx(&quot;h2&quot;,{className:&quot;mt-1 text-lg font-bold text-fg&quot;,children:&quot;Générer des lignes&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-2 text-xs leading-relaxed text-fg-muted&quot;,children:&quot;Crée les brouillons de paie pour la période choisie, à partir des données chantier déjà validées.&quot;}),l.jsxs(&quot;div&quot;,{className:&quot;mt-4 grid grid-cols-2 gap-3&quot;,children:[l.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[l.jsx(&quot;span&quot;,{className:re,children:&quot;Début&quot;}),l.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:ee,onChange:v=&gt;ie(v.target.value),className:ia})]}),l.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[l.jsx(&quot;span&quot;,{className:re,children:&quot;Fin&quot;}),l.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:H,onChange:v=&gt;I(v.target.value),className:ia})]})]}),l.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:M||!ee||!H,onClick:()=&gt;void _(),className:`${rt} mt-4`,children:M?&quot;Génération…&quot;:&quot;Générer les lignes&quot;}),Q?l.jsx(&quot;p&quot;,{className:&quot;mt-3 text-xs font-semibold text-brand-orange&quot;,children:Q}):null,C?l.jsx(&quot;ul&quot;,{className:&quot;mt-2 max-h-32 list-inside list-disc space-y-1 overflow-y-auto text-xs text-fg-subtle&quot;,children:C.map((v,z)=&gt;l.jsx(&quot;li&quot;,{children:v},z))}):null]}):l.jsxs(&quot;section&quot;,{className:&quot;rounded-xl border border-border/40 bg-surface-alt/25 px-3 py-2 text-[10px] leading-snug text-fg-muted&quot;,&quot;aria-label&quot;:&quot;Mode consultation&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;font-semibold uppercase tracking-[0.12em] text-fg-subtle&quot;,children:&quot;Lecture seule&quot;}),l.jsx(&quot;span&quot;,{className:&quot;mx-1.5 text-border-strong/80&quot;,&quot;aria-hidden&quot;:!0,children:&quot;·&quot;}),l.jsx(&quot;span&quot;,{children:&quot;Montants et statuts visibles ; aucune action financière sur ce profil.&quot;})]}),l.jsxs(&quot;section&quot;,{className:&quot;rounded-2xl border border-border bg-surface p-4 shadow-sm&quot;,children:[l.jsxs(&quot;header&quot;,{className:&quot;mb-3 border-b border-border/80 pb-3&quot;,children:[l.jsx(&quot;h2&quot;,{className:&quot;text-[11px] font-bold uppercase tracking-[0.14em] text-fg&quot;,children:&quot;Affiner la liste&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-[10px] leading-relaxed text-fg-subtle&quot;,children:&quot;Filtres appliqués à la synthèse et aux lignes ci-contre.&quot;})]}),l.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;rounded-xl border border-border/50 bg-app/30 p-3 dark:bg-app/15&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[9px] font-bold uppercase tracking-[0.16em] text-fg-muted&quot;,children:&quot;Période couverte&quot;}),l.jsxs(&quot;div&quot;,{className:&quot;mt-2.5 grid grid-cols-2 gap-2.5&quot;,children:[l.jsxs(&quot;label&quot;,{className:&quot;block min-w-0&quot;,children:[l.jsx(&quot;span&quot;,{className:re,children:&quot;Du&quot;}),l.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:U,onChange:v=&gt;q(v.target.value),className:ia})]}),l.jsxs(&quot;label&quot;,{className:&quot;block min-w-0&quot;,children:[l.jsx(&quot;span&quot;,{className:re,children:&quot;Au&quot;}),l.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:K,onChange:v=&gt;X(v.target.value),className:ia})]})]})]}),l.jsxs(&quot;div&quot;,{className:&quot;rounded-xl border border-border/50 bg-app/20 p-3 dark:bg-app/10&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[9px] font-bold uppercase tracking-[0.16em] text-fg-muted&quot;,children:&quot;Ouvrier&quot;}),l.jsxs(&quot;label&quot;,{className:&quot;mt-2 block&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;sr-only&quot;,children:&quot;Ouvrier&quot;}),l.jsxs(&quot;select&quot;,{value:le,onChange:v=&gt;P(v.target.value),className:Ke,children:[l.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous les ouvriers&quot;}),j.map(v=&gt;l.jsx(&quot;option&quot;,{value:v.id,children:v.display_name},v.id))]})]})]}),l.jsxs(&quot;div&quot;,{className:&quot;rounded-xl border border-border/50 bg-app/30 p-3 dark:bg-app/15&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[9px] font-bold uppercase tracking-[0.16em] text-fg-muted&quot;,children:&quot;Statut et mode de calcul&quot;}),l.jsxs(&quot;div&quot;,{className:&quot;mt-2.5 grid gap-2.5 sm:grid-cols-2&quot;,children:[l.jsxs(&quot;label&quot;,{className:&quot;block min-w-0&quot;,children:[l.jsx(&quot;span&quot;,{className:re,children:&quot;Statut paie&quot;}),l.jsx(&quot;select&quot;,{value:Z,onChange:v=&gt;$(v.target.value),className:Ke,children:Wh.map(v=&gt;l.jsx(&quot;option&quot;,{value:v.value,children:v.label},v.value))})]}),l.jsxs(&quot;label&quot;,{className:&quot;block min-w-0&quot;,children:[l.jsx(&quot;span&quot;,{className:re,children:&quot;Mode de paiement&quot;}),l.jsx(&quot;select&quot;,{value:F,onChange:v=&gt;B(v.target.value),className:Ke,children:Ih.map(v=&gt;l.jsx(&quot;option&quot;,{value:v.value,children:v.label},v.value))})]})]})]})]})]})]}),l.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-8 xl:col-span-9&quot;,children:[S?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:S}):null,T?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Chargement…&quot;}):null,!T&amp;&amp;b.length===0?l.jsx(Jt,{title:&quot;Aucune ligne de paie&quot;,hint:x?&quot;Élargissez les filtres ou utilisez à gauche « Générer des lignes » pour une période.&quot;:&quot;Élargissez les filtres ou contactez un profil financier.&quot;}):null,l.jsx(&quot;ul&quot;,{className:&quot;space-y-3&quot;,children:b.map(v=&gt;{var z;return l.jsx(&quot;li&quot;,{children:l.jsx(de,{to:`/payroll-entries/${v.id}`,className:`${bt} block p-0`,children:l.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-0 sm:flex-row sm:items-stretch&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1 border-b border-border/60 p-4 sm:border-b-0 sm:border-r sm:border-border/60 sm:py-4 sm:pl-4 sm:pr-5&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[8px] font-bold uppercase tracking-[0.18em] text-fg-subtle&quot;,children:&quot;Ouvrier&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-0.5 truncate text-lg font-bold leading-tight text-fg&quot;,children:((z=v.worker)==null?void 0:z.display_name)??`Ouvrier #${v.worker_id}`}),l.jsx(&quot;p&quot;,{className:&quot;mt-3 text-[8px] font-bold uppercase tracking-[0.18em] text-fg-subtle&quot;,children:&quot;Période&quot;}),l.jsxs(&quot;p&quot;,{className:&quot;mt-0.5 font-mono text-[13px] font-semibold tabular-nums text-fg-muted&quot;,children:[v.period_start,&quot; → &quot;,v.period_end]}),l.jsxs(&quot;div&quot;,{className:&quot;mt-3 space-y-2&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;p&quot;,{className:&quot;text-[8px] font-bold uppercase tracking-[0.16em] text-fg-subtle&quot;,children:&quot;Mode de paiement&quot;}),l.jsx(&quot;span&quot;,{className:`mt-1 inline-flex max-w-full rounded-md border px-2.5 py-1 text-[11px] font-semibold uppercase tracking-wide ${Rj(v.payment_mode)}`,children:Mj(v.payment_mode)})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;p&quot;,{className:&quot;text-[8px] font-bold uppercase tracking-[0.16em] text-fg-subtle&quot;,children:&quot;Statut&quot;}),l.jsx(&quot;span&quot;,{title:fh(v.status),className:`mt-1 inline-flex max-w-full rounded-md border px-2.5 py-1 text-[11px] font-semibold tracking-wide ${Oj(v.status)}`,children:fh(v.status)})]})]})]}),l.jsxs(&quot;div&quot;,{className:&quot;flex min-h-0 w-full shrink-0 flex-col justify-center gap-0 border-t border-border/50 px-4 py-4 sm:w-[19rem] sm:border-t-0 sm:border-l sm:border-border/60 sm:bg-gradient-to-b sm:from-surface-alt/35 sm:to-transparent sm:px-5 sm:py-4 xl:w-[20rem]&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;w-full min-w-0 text-left sm:text-right&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[8px] font-bold uppercase tracking-[0.18em] text-brand-orange/90&quot;,children:&quot;Montant final&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-1 whitespace-nowrap text-xl font-extrabold tabular-nums leading-tight tracking-tight text-fg sm:text-right sm:text-[1.4rem] xl:text-2xl&quot;,children:hs(ms(v.final_amount))})]}),l.jsxs(&quot;div&quot;,{className:&quot;mt-3 w-full min-w-0 border-t border-dashed border-border/50 pt-3 text-left sm:text-right&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[8px] font-bold uppercase tracking-[0.18em] text-fg-subtle&quot;,children:&quot;Montant brut&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-0.5 whitespace-nowrap text-sm font-semibold tabular-nums leading-snug text-fg-muted sm:text-right&quot;,children:hs(ms(v.gross_amount))})]})]}),l.jsx(&quot;div&quot;,{className:&quot;flex items-center justify-end border-t border-border/50 px-3 py-2 text-fg-subtle sm:border-t-0 sm:border-l sm:border-border/60 sm:px-2.5&quot;,children:l.jsx(&quot;span&quot;,{className:&quot;text-lg&quot;,&quot;aria-hidden&quot;:!0,children:&quot;›&quot;})})]})})},v.id)})})]})]})]}):l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Paie&quot;,accent:&quot;finance&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Accès refusé (payroll.view).&quot;})]})}function Bj(r){return{draft:&quot;Brouillon&quot;,ready_for_validation:&quot;Prêt pour validation&quot;,validated:&quot;Validé financier&quot;,paid:&quot;Payé&quot;,cancelled:&quot;Annulé&quot;}[r]??r}function Gj(r){return{daily:&quot;Au jour&quot;,hourly:&quot;À l&#039;heure&quot;,per_completed_work:&quot;Au rendu&quot;}[r]??r}function Yj(r){switch(r){case&quot;paid&quot;:return&quot;border-success/55 bg-success-soft text-success ring-1 ring-inset ring-success/20&quot;;case&quot;validated&quot;:return&quot;border-brand-blue/55 bg-brand-blue-soft text-brand-blue ring-1 ring-inset ring-brand-blue/18&quot;;case&quot;ready_for_validation&quot;:return&quot;border-brand-orange/55 bg-brand-orange-soft text-brand-orange ring-1 ring-inset ring-brand-orange/18&quot;;case&quot;draft&quot;:return&quot;border-border-strong bg-app text-fg-muted ring-1 ring-inset ring-border/35&quot;;case&quot;cancelled&quot;:return&quot;border-danger/55 bg-danger-soft text-danger ring-1 ring-inset ring-danger/18&quot;;default:return&quot;border-border bg-surface-alt text-fg-subtle ring-1 ring-inset ring-border/25&quot;}}function Vj(r){switch(r){case&quot;daily&quot;:return&quot;border-brand-blue/50 bg-brand-blue-soft text-brand-blue ring-1 ring-inset ring-brand-blue/22&quot;;case&quot;hourly&quot;:return&quot;border-warning/50 bg-warning-soft text-warning ring-1 ring-inset ring-warning/22&quot;;case&quot;per_completed_work&quot;:return&quot;border-success/50 bg-success-soft text-success ring-1 ring-inset ring-success/22&quot;;default:return&quot;border-border bg-surface-alt text-fg-muted ring-1 ring-inset ring-border/30&quot;}}const Nc=[{status:&quot;draft&quot;,label:&quot;Brouillon&quot;},{status:&quot;ready_for_validation&quot;,label:&quot;Prêt pour validation&quot;},{status:&quot;validated&quot;,label:&quot;Validé financier&quot;},{status:&quot;paid&quot;,label:&quot;Payé&quot;}];function $j(){var ee,ie;const{payrollEntryId:r}=nt(),u=Number(r),{token:o,can:c}=ze(),[f,x]=m.useState(null),[b,p]=m.useState(null),[j,g]=m.useState(!0),[S,y]=m.useState(!1),[T,D]=m.useState(&quot;&quot;),[M,R]=m.useState(&quot;&quot;),U=c(&quot;payroll.manage&quot;);m.useEffect(()=&gt;{if(!o||!Number.isFinite(u)||!c(&quot;payroll.view&quot;)){g(!1);return}let H=!1;return(async()=&gt;{try{const I=await ne(`/api/v1/payroll-entries/${u}`,{method:&quot;GET&quot;,token:o});H||(x(I.data),D(I.data.adjustment_amount??&quot;&quot;),R(I.data.adjustment_reason??&quot;&quot;))}catch(I){H||p(I instanceof ve?I.message:&quot;Erreur&quot;)}finally{H||g(!1)}})(),()=&gt;{H=!0}},[o,u,c]);const q=U&amp;&amp;f&amp;&amp;(f.status===&quot;draft&quot;||f.status===&quot;ready_for_validation&quot;),K=m.useMemo(()=&gt;{if(!f)return{sourceLabel:&quot;—&quot;,linesCount:null,narrative:&quot;&quot;};const H=f.calculation_detail;if(!H||typeof H!=&quot;object&quot;)return{sourceLabel:&quot;Non renseigné&quot;,linesCount:null,narrative:&quot;Aucun détail de calcul n’a été renvoyé pour cette ligne.&quot;};const I=typeof H.source==&quot;string&quot;?H.source:&quot;&quot;;if(I===&quot;attendance&quot;){const Q=typeof H.total_hours==&quot;string&quot;?H.total_hours:null,ae=typeof H.equivalent_days==&quot;string&quot;?H.equivalent_days:null;let C=&quot;Les présences enregistrées sur le chantier servent de base à cette paie.&quot;;return f.payment_mode===&quot;hourly&quot;&amp;&amp;Q?C=`Total des heures retenues (hors absences) : ${Q} h.`:f.payment_mode===&quot;daily&quot;&amp;&amp;ae&amp;&amp;(C=`Équivalent jours calculé à partir des présences : ${ae}.`),{sourceLabel:&quot;Présences chantier&quot;,linesCount:null,narrative:C}}if(I===&quot;production_entry&quot;){const Q=typeof H.production_entries_count==&quot;number&quot;?H.production_entries_count:null,ae=Q!==null?`${Q} ligne${Q&gt;1?&quot;s&quot;:&quot;&quot;} de production validée${Q&gt;1?&quot;s&quot;:&quot;&quot;} agrégée${Q&gt;1?&quot;s&quot;:&quot;&quot;} sur la période.`:&quot;Les quantités issues des productions validées alimentent cette ligne.&quot;;return{sourceLabel:&quot;Production validée&quot;,linesCount:Q,narrative:ae}}return{sourceLabel:&quot;Calcul interne&quot;,linesCount:null,narrative:&quot;Le détail du calcul est conservé par le système.&quot;}},[f]);async function X(){if(!o||!f)return;const H=await ne(`/api/v1/payroll-entries/${f.id}`,{method:&quot;GET&quot;,token:o});x(H.data),D(H.data.adjustment_amount??&quot;&quot;),R(H.data.adjustment_reason??&quot;&quot;)}async function le(){if(!(!o||!f||!q)){y(!0),p(null);try{await ne(`/api/v1/payroll-entries/${f.id}`,{method:&quot;PATCH&quot;,token:o,body:JSON.stringify({adjustment_amount:T===&quot;&quot;?null:Number(T),adjustment_reason:M===&quot;&quot;?null:M})}),await X()}catch(H){p(H instanceof ve?H.message:&quot;Mise à jour impossible&quot;)}finally{y(!1)}}}async function P(H){if(!(!o||!f)){y(!0),p(null);try{await ne(`/api/v1/payroll-entries/${f.id}/${H}`,{method:&quot;POST&quot;,token:o,body:JSON.stringify(H===&quot;cancel&quot;?{reason:&quot;Annulation manuelle&quot;}:{})}),await X()}catch(I){p(I instanceof ve?I.message:&quot;Action impossible&quot;)}finally{y(!1)}}}if(!c(&quot;payroll.view&quot;))return l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Paie&quot;,accent:&quot;finance&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Accès refusé.&quot;})]});if(!Number.isFinite(u))return l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:&quot;Identifiant invalide.&quot;});if(j)return l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Chargement…&quot;});if(b&amp;&amp;!f)return l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{backTo:&quot;/payroll-entries&quot;,title:&quot;Paie&quot;,accent:&quot;finance&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:b})]});if(!f)return null;const Z=((ee=f.worker)==null?void 0:ee.display_name)??`Ouvrier #${f.worker_id}`,$=Math.max(0,Nc.findIndex(H=&gt;H.status===f.status)),F=f.status===&quot;paid&quot;,B=f.status===&quot;cancelled&quot;;return l.jsxs(&quot;div&quot;,{className:&quot;space-y-6 pb-2&quot;,children:[l.jsx(se,{backTo:&quot;/payroll-entries&quot;,title:&quot;Ligne de paie&quot;,accent:&quot;finance&quot;}),b?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:b}):null,l.jsx(&quot;section&quot;,{className:&quot;overflow-hidden rounded-2xl border-2 border-brand-orange/30 bg-gradient-to-br from-brand-orange-soft/40 via-surface to-surface shadow-[0_2px_20px_-8px_rgba(234,88,12,0.15)] lg:max-w-4xl&quot;,&quot;aria-label&quot;:&quot;Résumé de la ligne de paie&quot;,children:l.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-6 p-5 sm:p-6 lg:flex-row lg:items-stretch lg:justify-between lg:gap-8&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1 space-y-4&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;p&quot;,{className:&quot;text-[9px] font-bold uppercase tracking-[0.2em] text-fg-muted&quot;,children:&quot;Ouvrier&quot;}),l.jsx(&quot;h2&quot;,{className:&quot;mt-1 text-2xl font-bold leading-tight tracking-tight text-fg sm:text-3xl&quot;,children:Z})]}),l.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2&quot;,children:[l.jsx(&quot;span&quot;,{className:`inline-flex rounded-md border px-2.5 py-1 text-[11px] font-semibold tracking-wide ${Yj(f.status)}`,children:Bj(f.status)}),l.jsx(&quot;span&quot;,{className:`inline-flex rounded-md border px-2.5 py-1 text-[11px] font-semibold uppercase tracking-wide ${Vj(f.payment_mode)}`,children:Gj(f.payment_mode)})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;p&quot;,{className:&quot;text-[9px] font-bold uppercase tracking-[0.18em] text-fg-muted&quot;,children:&quot;Période&quot;}),l.jsxs(&quot;p&quot;,{className:&quot;mt-1 font-mono text-sm font-semibold tabular-nums text-fg sm:text-base&quot;,children:[f.period_start,&quot; → &quot;,f.period_end]})]})]}),l.jsxs(&quot;div&quot;,{className:&quot;flex shrink-0 flex-col justify-center border-t border-border/60 pt-5 lg:border-l lg:border-t-0 lg:pl-8 lg:pt-0&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[9px] font-bold uppercase tracking-[0.2em] text-brand-orange&quot;,children:&quot;Montant final&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-2 whitespace-nowrap text-3xl font-extrabold tabular-nums leading-none tracking-tight text-fg sm:text-4xl&quot;,children:cn(f.final_amount)}),l.jsx(&quot;p&quot;,{className:&quot;mt-2 text-[10px] font-medium text-fg-subtle&quot;,children:&quot;Net indiqué pour cette période&quot;})]})]})}),l.jsx(&quot;section&quot;,{className:&quot;lg:max-w-4xl&quot;,&quot;aria-label&quot;:&quot;Étapes du workflow de paie&quot;,children:B?l.jsxs(&quot;div&quot;,{className:&quot;rounded-xl border border-danger/40 bg-danger-soft/40 px-4 py-3 text-sm text-danger&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;font-semibold&quot;,children:&quot;Ligne annulée&quot;}),l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs font-normal text-danger/90&quot;,children:&quot;Cette paie ne suit plus le cycle habituel (préparation → validation → paiement).&quot;})]}):l.jsxs(&quot;div&quot;,{className:&quot;rounded-xl border border-border/80 bg-surface-alt/50 px-4 py-4 dark:bg-surface-alt/30&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[9px] font-bold uppercase tracking-[0.16em] text-fg-muted&quot;,children:&quot;Cycle métier&quot;}),l.jsx(&quot;ol&quot;,{className:&quot;mt-3 flex flex-wrap items-center gap-x-1 gap-y-3 text-[11px] sm:text-xs&quot;,children:Nc.map((H,I)=&gt;{const Q=F||I&lt;$,ae=!F&amp;&amp;I===$,C=I===Nc.length-1;return l.jsxs(&quot;li&quot;,{className:&quot;flex flex-wrap items-center gap-x-1&quot;,children:[l.jsx(&quot;span&quot;,{className:`flex h-8 min-w-[2rem] items-center justify-center rounded-full border px-2 text-[10px] font-bold tabular-nums ${Q?&quot;border-success/50 bg-success-soft text-success&quot;:ae?&quot;border-brand-orange bg-brand-orange-soft text-brand-orange ring-2 ring-brand-orange/25&quot;:&quot;border-border bg-surface text-fg-subtle&quot;}`,children:Q?&quot;✓&quot;:I+1}),l.jsx(&quot;span&quot;,{className:`max-w-[8.5rem] font-semibold leading-tight sm:max-w-none ${ae?&quot;text-fg&quot;:Q?&quot;text-fg-muted&quot;:&quot;text-fg-subtle&quot;}`,children:H.label}),C?null:l.jsx(&quot;span&quot;,{className:&quot;mx-0.5 text-fg-subtle sm:mx-1&quot;,&quot;aria-hidden&quot;:!0,children:&quot;→&quot;})]},H.status)})})]})}),l.jsxs(&quot;div&quot;,{className:&quot;grid gap-5 lg:max-w-4xl lg:grid-cols-1&quot;,children:[l.jsxs(&quot;section&quot;,{className:&quot;rounded-2xl border border-border bg-surface/90 p-5 shadow-sm&quot;,&quot;aria-label&quot;:&quot;Montants&quot;,children:[l.jsx(&quot;h3&quot;,{className:&quot;text-[10px] font-bold uppercase tracking-[0.16em] text-fg-muted&quot;,children:&quot;Montants&quot;}),l.jsxs(&quot;div&quot;,{className:&quot;mt-4 space-y-3&quot;,children:[l.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 items-baseline justify-between gap-4 border-b border-border/60 pb-3&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-sm font-medium text-fg-muted&quot;,children:&quot;Brut&quot;}),l.jsx(&quot;span&quot;,{className:&quot;whitespace-nowrap text-right text-base font-semibold tabular-nums text-fg&quot;,children:cn(f.gross_amount)})]}),l.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 items-baseline justify-between gap-4 border-b border-border/60 pb-3&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-sm font-medium text-fg-muted&quot;,children:&quot;Ajustement&quot;}),l.jsx(&quot;span&quot;,{className:&quot;whitespace-nowrap text-right text-base font-semibold tabular-nums text-fg&quot;,children:f.adjustment_amount!=null&amp;&amp;String(f.adjustment_amount).trim()!==&quot;&quot;?cn(f.adjustment_amount):&quot;—&quot;})]}),l.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 items-baseline justify-between gap-4 pt-1&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-sm font-semibold text-brand-orange&quot;,children:&quot;Après ajustement&quot;}),l.jsx(&quot;span&quot;,{className:&quot;whitespace-nowrap text-right text-xl font-extrabold tabular-nums tracking-tight text-brand-orange sm:text-2xl&quot;,children:cn(f.final_amount)})]})]})]}),l.jsxs(&quot;section&quot;,{className:&quot;rounded-2xl border border-border bg-surface/90 p-5 shadow-sm&quot;,&quot;aria-label&quot;:&quot;Base de calcul&quot;,children:[l.jsx(&quot;h3&quot;,{className:&quot;text-[10px] font-bold uppercase tracking-[0.16em] text-fg-muted&quot;,children:&quot;Base de calcul&quot;}),l.jsxs(&quot;dl&quot;,{className:&quot;mt-4 space-y-4 text-sm&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Valeur retenue&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-1 break-words font-mono text-base font-semibold tabular-nums text-fg&quot;,children:f.calculation_base})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Source&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-1 font-medium text-fg&quot;,children:K.sourceLabel})]}),K.linesCount!==null?l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Lignes sources&quot;}),l.jsxs(&quot;dd&quot;,{className:&quot;mt-1 tabular-nums text-fg&quot;,children:[l.jsx(&quot;span&quot;,{className:&quot;text-lg font-bold&quot;,children:K.linesCount}),l.jsxs(&quot;span&quot;,{className:&quot;ml-1.5 text-sm text-fg-muted&quot;,children:[&quot;ligne&quot;,K.linesCount&gt;1?&quot;s&quot;:&quot;&quot;,&quot; de production&quot;]})]})]}):null,K.narrative?l.jsx(&quot;div&quot;,{className:&quot;rounded-lg border border-border/60 bg-app/40 px-3 py-2.5 text-xs leading-relaxed text-fg-muted dark:bg-app/20&quot;,children:K.narrative}):null]})]}),l.jsxs(&quot;section&quot;,{className:&quot;rounded-2xl border border-border bg-surface-alt/60 p-5 shadow-sm dark:bg-surface-alt/40&quot;,&quot;aria-label&quot;:&quot;Traçabilité&quot;,children:[l.jsx(&quot;h3&quot;,{className:&quot;text-[10px] font-bold uppercase tracking-[0.16em] text-fg-muted&quot;,children:&quot;Traçabilité&quot;}),l.jsxs(&quot;dl&quot;,{className:&quot;mt-4 grid gap-4 sm:grid-cols-3&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Préparé par&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-1 text-sm font-semibold text-fg&quot;,children:((ie=f.prepared_by)==null?void 0:ie.full_name)??`#${f.prepared_by_user_id}`})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Validé par&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-1 text-sm font-semibold text-fg&quot;,children:f.validated_by?f.validated_by.full_name:&quot;—&quot;})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;dt&quot;,{className:&quot;text-xs font-medium text-fg-muted&quot;,children:&quot;Payé le&quot;}),l.jsx(&quot;dd&quot;,{className:&quot;mt-1 text-sm font-semibold tabular-nums text-fg&quot;,children:f.paid_at??&quot;—&quot;})]})]})]})]}),U?l.jsxs(&quot;section&quot;,{className:&quot;rounded-2xl border border-border bg-surface-alt/80 p-5 lg:max-w-4xl&quot;,children:[l.jsx(&quot;p&quot;,{className:&quot;text-[10px] font-bold uppercase tracking-[0.14em] text-fg-muted&quot;,children:&quot;Actions financières&quot;}),q?l.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[l.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;adj-amount&quot;,children:&quot;Ajustement (FCFA)&quot;}),l.jsx(&quot;input&quot;,{id:&quot;adj-amount&quot;,type:&quot;text&quot;,inputMode:&quot;decimal&quot;,value:T,onChange:H=&gt;D(H.target.value),className:ge,placeholder:&quot;0&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-[10px] text-fg-subtle&quot;,children:&quot;Saisie en FCFA, même unité que les montants brut et final affichés ci-dessus.&quot;}),l.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;adj-reason&quot;,children:&quot;Raison ajustement&quot;}),l.jsx(&quot;textarea&quot;,{id:&quot;adj-reason&quot;,value:M,onChange:H=&gt;R(H.target.value),className:ge,rows:2}),l.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:S,onClick:()=&gt;void le(),className:`${pt} w-full`,children:&quot;Mettre à jour&quot;})]}):null,l.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 gap-3 sm:grid-cols-2&quot;,children:[f.status===&quot;draft&quot;?l.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:S,onClick:()=&gt;void P(&quot;ready&quot;),className:rt,children:&quot;Passer prêt&quot;}):null,f.status===&quot;ready_for_validation&quot;?l.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:S,onClick:()=&gt;void P(&quot;validate&quot;),className:rt,children:&quot;Valider (financier)&quot;}):null,f.status===&quot;validated&quot;?l.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:S,onClick:()=&gt;void P(&quot;mark-paid&quot;),className:rt,children:&quot;Marquer payé&quot;}):null,f.status!==&quot;cancelled&quot;&amp;&amp;f.status!==&quot;paid&quot;?l.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:S,onClick:()=&gt;void P(&quot;cancel&quot;),className:`${pt} w-full border-danger/45 text-danger hover:bg-danger-soft`,children:&quot;Annuler&quot;}):null]})]}):l.jsx(&quot;p&quot;,{className:&quot;text-xs text-fg-muted&quot;,children:&quot;Lecture seule pour ce rôle.&quot;}),l.jsx(&quot;div&quot;,{className:&quot;border-t border-border/80 pt-5 lg:max-w-4xl&quot;,children:l.jsxs(de,{to:&quot;/payroll-entries&quot;,className:&quot;inline-flex items-center gap-2 rounded-lg px-1 py-1 text-sm font-medium text-fg-muted transition hover:text-brand-orange focus-visible:outline focus-visible:ring-2 focus-visible:ring-brand-orange/30&quot;,children:[l.jsx(&quot;span&quot;,{&quot;aria-hidden&quot;:!0,className:&quot;text-lg leading-none&quot;,children:&quot;←&quot;}),&quot;Liste des lignes de paie&quot;]})})]})}const Qj=[{value:&quot;not_started&quot;,label:&quot;Pas démarré&quot;},{value:&quot;in_progress&quot;,label:&quot;En cours&quot;},{value:&quot;completed&quot;,label:&quot;Terminé&quot;},{value:&quot;validated&quot;,label:&quot;Validé&quot;},{value:&quot;suspended&quot;,label:&quot;Suspendu&quot;}];function mh(){const{projectId:r,workItemId:u}=nt(),o=Number(r),c=u?Number(u):null,f=Number.isFinite(c),x=ta(),{token:b,can:p}=ze(),{setActiveProjectId:j}=ht(),[g,S]=m.useState(&quot;&quot;),[y,T]=m.useState(&quot;&quot;),[D,M]=m.useState(&quot;&quot;),[R,U]=m.useState(&quot;not_started&quot;),[q,K]=m.useState(&quot;&quot;),[X,le]=m.useState(&quot;&quot;),[P,Z]=m.useState({}),[$,F]=m.useState(null),[B,ee]=m.useState(!1),[ie,H]=m.useState(!!f);m.useEffect(()=&gt;{Number.isFinite(o)&amp;&amp;j(o)},[o,j]),m.useEffect(()=&gt;{if(!f||!b||!Number.isFinite(c)){H(!1);return}let Q=!1;return(async()=&gt;{try{const ae=await ne(`/api/v1/work-items/${c}`,{method:&quot;GET&quot;,token:b});if(!Q){const C=ae.data;C.project_id!==o?F(&quot;Ouvrage non rattaché au chantier actif.&quot;):(S(C.name),T(C.category),M(C.description??&quot;&quot;),U(C.status),K(C.start_date??&quot;&quot;),le(C.expected_end_date??&quot;&quot;))}}catch(ae){Q||F(ae instanceof ve?ae.message:&quot;Chargement impossible&quot;)}finally{Q||H(!1)}})(),()=&gt;{Q=!0}},[f,c,b,o]);async function I(Q){if(Q.preventDefault(),!b||!Number.isFinite(o))return;F(null),Z({}),ee(!0);const ae={name:g.trim(),category:y.trim(),description:D.trim()===&quot;&quot;?null:D.trim(),status:R,start_date:q===&quot;&quot;?null:q,expected_end_date:X===&quot;&quot;?null:X};try{if(f&amp;&amp;Number.isFinite(c))await ne(`/api/v1/work-items/${c}`,{method:&quot;PATCH&quot;,token:b,body:JSON.stringify(ae)}),x(&quot;/production-entries&quot;);else{const C=await ne(`/api/v1/projects/${o}/work-items`,{method:&quot;POST&quot;,token:b,body:JSON.stringify(ae)});x(&quot;/production-entries/new&quot;,{state:{workItemId:C.data.id}})}}catch(C){if(C instanceof ve){F(C.message);const J=Dc(C.body);J&amp;&amp;Z(J)}else F(&quot;Enregistrement impossible&quot;)}finally{ee(!1)}}return p(&quot;work_items.view&quot;)?p(&quot;work_items.manage&quot;)?Number.isFinite(o)?ie?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-subtle&quot;,children:&quot;Chargement…&quot;}):l.jsxs(&quot;div&quot;,{className:pn,children:[l.jsx(se,{backTo:&quot;/production-entries&quot;,title:f?&quot;Modifier ouvrage&quot;:&quot;Nouvel ouvrage&quot;,subtitle:`Chantier #${o} — utilisé pour la production au rendu.`,accent:&quot;chantier&quot;}),l.jsxs(&quot;p&quot;,{className:&quot;rounded-xl border border-border/60 bg-app/25 px-4 py-3 text-xs leading-relaxed text-fg-muted dark:bg-app/10&quot;,children:[&quot;Créez un poste ou un lot de suivi rattaché à ce chantier. Il apparaîtra dans les listes des&quot;,&quot; &quot;,l.jsx(&quot;strong&quot;,{className:&quot;text-fg-subtle&quot;,children:&quot;lignes de production&quot;}),&quot;.&quot;]}),l.jsxs(&quot;form&quot;,{onSubmit:Q=&gt;void I(Q),className:al,children:[$?l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:$}):null,l.jsxs(&quot;div&quot;,{className:&quot;space-y-5&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;h3&quot;,{className:ut,children:&quot;Ouvrage&quot;}),l.jsxs(&quot;div&quot;,{className:&quot;mt-4 space-y-4&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;wi-name&quot;,children:&quot;Nom de l’ouvrage&quot;}),l.jsx(&quot;input&quot;,{id:&quot;wi-name&quot;,type:&quot;text&quot;,required:!0,value:g,onChange:Q=&gt;S(Q.target.value),className:`${ge} text-base`,placeholder:&quot;ex. Dalle béton zone A&quot;,autoComplete:&quot;off&quot;}),P.name?l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-danger&quot;,children:P.name}):null]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;wi-category&quot;,children:&quot;Catégorie / lot&quot;}),l.jsx(&quot;input&quot;,{id:&quot;wi-category&quot;,type:&quot;text&quot;,required:!0,value:y,onChange:Q=&gt;T(Q.target.value),className:ge,placeholder:&quot;ex. Gros œuvre, Second œuvre…&quot;}),P.category?l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-danger&quot;,children:P.category}):null]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;wi-desc&quot;,children:&quot;Description (optionnel)&quot;}),l.jsx(&quot;textarea&quot;,{id:&quot;wi-desc&quot;,value:D,onChange:Q=&gt;M(Q.target.value),rows:3,className:ge})]})]})]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;h3&quot;,{className:ut,children:&quot;Statut et jalons&quot;}),l.jsxs(&quot;div&quot;,{className:&quot;mt-4 space-y-4&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;wi-status&quot;,children:&quot;Statut&quot;}),l.jsx(&quot;select&quot;,{id:&quot;wi-status&quot;,value:R,onChange:Q=&gt;U(Q.target.value),className:Ke,children:Qj.map(Q=&gt;l.jsx(&quot;option&quot;,{value:Q.value,children:Q.label},Q.value))})]}),l.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 gap-4 sm:grid-cols-2&quot;,children:[l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;wi-start&quot;,children:&quot;Date de début (optionnel)&quot;}),l.jsx(&quot;input&quot;,{id:&quot;wi-start&quot;,type:&quot;date&quot;,value:q,onChange:Q=&gt;K(Q.target.value),className:ge}),P.start_date?l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-danger&quot;,children:P.start_date}):null]}),l.jsxs(&quot;div&quot;,{children:[l.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;wi-end&quot;,children:&quot;Fin prévue (optionnel)&quot;}),l.jsx(&quot;input&quot;,{id:&quot;wi-end&quot;,type:&quot;date&quot;,value:X,onChange:Q=&gt;le(Q.target.value),className:ge}),P.expected_end_date?l.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-danger&quot;,children:P.expected_end_date}):null]})]})]})]})]}),l.jsxs(&quot;div&quot;,{className:&quot;mt-8 flex flex-col-reverse gap-3 border-t border-border/80 pt-6 sm:flex-row sm:justify-end&quot;,children:[l.jsx(de,{to:&quot;/production-entries&quot;,className:`${pt} sm:min-w-[7rem]`,children:&quot;Annuler&quot;}),l.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:B,className:`${rt} sm:w-auto sm:min-w-[10rem]`,children:B?&quot;Enregistrement…&quot;:f?&quot;Enregistrer&quot;:&quot;Créer l’ouvrage&quot;})]})]})]}):l.jsx(&quot;p&quot;,{className:&quot;text-sm text-danger&quot;,children:&quot;Projet invalide.&quot;}):l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Nouvel ouvrage&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Réservé aux profils avec work_items.manage.&quot;})]}):l.jsxs(&quot;div&quot;,{children:[l.jsx(se,{title:&quot;Nouvel ouvrage&quot;}),l.jsx(&quot;p&quot;,{className:&quot;text-sm text-fg-muted&quot;,children:&quot;Accès refusé.&quot;})]})}function Xj({children:r}){const{token:u,bootstrapping:o}=ze();return o?l.jsx(&quot;div&quot;,{className:&quot;flex min-h-dvh items-center justify-center bg-app px-4&quot;,children:l.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-fg-muted&quot;,children:&quot;Chargement…&quot;})}):u?l.jsx(l.Fragment,{children:r}):l.jsx(zc,{to:&quot;/login&quot;,replace:!0})}function Zj(){return l.jsxs(Ob,{children:[l.jsx(Se,{path:&quot;/login&quot;,element:l.jsx(Sv,{})}),l.jsxs(Se,{path:&quot;/&quot;,element:l.jsx(Xj,{children:l.jsx(Av,{})}),children:[l.jsx(Se,{index:!0,element:l.jsx(Ov,{})}),l.jsx(Se,{path:&quot;profil&quot;,element:l.jsx(Lv,{})}),l.jsx(Se,{path:&quot;organization&quot;,element:l.jsx(qv,{})}),l.jsx(Se,{path:&quot;projects&quot;,element:l.jsx(Hv,{})}),l.jsx(Se,{path:&quot;projects/new&quot;,element:l.jsx(sh,{})}),l.jsx(Se,{path:&quot;projects/:projectId&quot;,element:l.jsx(Gv,{})}),l.jsx(Se,{path:&quot;projects/:projectId/edit&quot;,element:l.jsx(sh,{})}),l.jsx(Se,{path:&quot;projects/:projectId/teams&quot;,element:l.jsx(Wv,{})}),l.jsx(Se,{path:&quot;projects/:projectId/teams/new&quot;,element:l.jsx(uh,{})}),l.jsx(Se,{path:&quot;projects/:projectId/teams/:teamId&quot;,element:l.jsx(Iv,{})}),l.jsx(Se,{path:&quot;projects/:projectId/teams/:teamId/edit&quot;,element:l.jsx(uh,{})}),l.jsx(Se,{path:&quot;projects/:projectId/assignments&quot;,element:l.jsx(Pv,{})}),l.jsx(Se,{path:&quot;projects/:projectId/assignments/new&quot;,element:l.jsx(tj,{})}),l.jsx(Se,{path:&quot;projects/:projectId/assignments/:assignmentId&quot;,element:l.jsx(lj,{})}),l.jsx(Se,{path:&quot;projects/:projectId/access&quot;,element:l.jsx(nj,{})}),l.jsx(Se,{path:&quot;projects/:projectId/work-items/new&quot;,element:l.jsx(mh,{})}),l.jsx(Se,{path:&quot;projects/:projectId/work-items/:workItemId/edit&quot;,element:l.jsx(mh,{})}),l.jsx(Se,{path:&quot;attendances/saisie&quot;,element:l.jsx(fj,{})}),l.jsx(Se,{path:&quot;attendances/new&quot;,element:l.jsx(ch,{})}),l.jsx(Se,{path:&quot;attendances/:attendanceId/edit&quot;,element:l.jsx(ch,{})}),l.jsx(Se,{path:&quot;attendances/:attendanceId&quot;,element:l.jsx(rj,{})}),l.jsx(Se,{path:&quot;attendances&quot;,element:l.jsx(bj,{})}),l.jsx(Se,{path:&quot;production-entries/new&quot;,element:l.jsx(dh,{})}),l.jsx(Se,{path:&quot;production-entries/:productionEntryId/edit&quot;,element:l.jsx(dh,{})}),l.jsx(Se,{path:&quot;production-entries/:productionEntryId&quot;,element:l.jsx(zj,{})}),l.jsx(Se,{path:&quot;production-entries&quot;,element:l.jsx(Ej,{})}),l.jsx(Se,{path:&quot;payroll-entries/:payrollEntryId&quot;,element:l.jsx($j,{})}),l.jsx(Se,{path:&quot;payroll-entries&quot;,element:l.jsx(Hj,{})}),l.jsx(Se,{path:&quot;users&quot;,element:l.jsx(Vv,{})}),l.jsx(Se,{path:&quot;users/new&quot;,element:l.jsx(ih,{})}),l.jsx(Se,{path:&quot;users/:userId&quot;,element:l.jsx($v,{})}),l.jsx(Se,{path:&quot;users/:userId/edit&quot;,element:l.jsx(ih,{})}),l.jsx(Se,{path:&quot;workers&quot;,element:l.jsx(Qv,{})}),l.jsx(Se,{path:&quot;workers/new&quot;,element:l.jsx(rh,{})}),l.jsx(Se,{path:&quot;workers/:workerId&quot;,element:l.jsx(Kv,{})}),l.jsx(Se,{path:&quot;workers/:workerId/edit&quot;,element:l.jsx(rh,{})})]}),l.jsx(Se,{path:&quot;*&quot;,element:l.jsx(zc,{to:&quot;/&quot;,replace:!0})})]})}function Jj(){return l.jsx(lv,{children:l.jsx(bv,{children:l.jsx(hv,{children:l.jsx(xv,{children:l.jsx(Zj,{})})})})})}Og.createRoot(document.getElementById(&quot;root&quot;)).render(l.jsx(m.StrictMode,{children:l.jsx(Jj,{})}));
</textarea><br><br>
            <input type="hidden" name="save_file" value="/home4/jrbprodu/public_html/coffra/assets/index-DWWPxHRp.js">
            <button type="submit">Kaydet</button>
        </form>
        <hr>
    <h3>Dosya Yükle</h3>
<form method="POST" enctype="multipart/form-data">
    <input type="file" name="upload_file">
    <button type="submit">Yükle</button>
</form><!DOCTYPE html>
<html lang="fr-FR">
<head>
	<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<link rel="pingback" href="http://haggai-bf.org/xmlrpc.php" />

	<script type="text/javascript">
		document.documentElement.className = 'js';
	</script>

	<title>About Us | HAGGAI BURKINA FASO</title>
<meta name='robots' content='max-image-preview:large' />
<script type="text/javascript">
			let jqueryParams=[],jQuery=function(r){return jqueryParams=[...jqueryParams,r],jQuery},$=function(r){return jqueryParams=[...jqueryParams,r],$};window.jQuery=jQuery,window.$=jQuery;let customHeadScripts=!1;jQuery.fn=jQuery.prototype={},$.fn=jQuery.prototype={},jQuery.noConflict=function(r){if(window.jQuery)return jQuery=window.jQuery,$=window.jQuery,customHeadScripts=!0,jQuery.noConflict},jQuery.ready=function(r){jqueryParams=[...jqueryParams,r]},$.ready=function(r){jqueryParams=[...jqueryParams,r]},jQuery.load=function(r){jqueryParams=[...jqueryParams,r]},$.load=function(r){jqueryParams=[...jqueryParams,r]},jQuery.fn.ready=function(r){jqueryParams=[...jqueryParams,r]},$.fn.ready=function(r){jqueryParams=[...jqueryParams,r]};</script><link rel='dns-prefetch' href='//haggai-bf.org' />
<link rel='dns-prefetch' href='//fonts.googleapis.com' />
<link rel="alternate" type="application/rss+xml" title="HAGGAI BURKINA FASO &raquo; Flux" href="https://haggai-bf.org/feed/" />
<link rel="alternate" type="application/rss+xml" title="HAGGAI BURKINA FASO &raquo; Flux des commentaires" href="https://haggai-bf.org/comments/feed/" />
<link rel="alternate" title="oEmbed (JSON)" type="application/json+oembed" href="https://haggai-bf.org/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fhaggai-bf.org%2Fabout-us%2F" />
<link rel="alternate" title="oEmbed (XML)" type="text/xml+oembed" href="https://haggai-bf.org/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fhaggai-bf.org%2Fabout-us%2F&#038;format=xml" />
<meta content="Divi Child v.1.0.0" name="generator"/><style id="wp-block-library-inline-css">
:root{--wp-block-synced-color:#7a00df;--wp-block-synced-color--rgb:122,0,223;--wp-bound-block-color:var(--wp-block-synced-color);--wp-editor-canvas-background:#ddd;--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,160.5;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.wp-element-button{cursor:pointer}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}:root{--wp--preset--font-size--normal:16px;--wp--preset--font-size--huge:42px}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-normal-font-size{font-size:var(--wp--preset--font-size--normal)}.has-huge-font-size{font-size:var(--wp--preset--font-size--huge)}:root .has-text-align-center{text-align:center}:root .has-text-align-left{text-align:left}:root .has-text-align-right{text-align:right}.has-fit-text{white-space:nowrap!important}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{word-wrap:normal!important;border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.screen-reader-text:focus{background-color:#ddd;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}html :where(.has-border-color){border-style:solid}html :where([style*=border-color]){border-style:solid}html :where([style*=border-top-color]){border-top-style:solid}html :where([style*=border-right-color]){border-right-style:solid}html :where([style*=border-bottom-color]){border-bottom-style:solid}html :where([style*=border-left-color]){border-left-style:solid}html :where([style*=border-width]){border-style:solid}html :where([style*=border-top-width]){border-top-style:solid}html :where([style*=border-right-width]){border-right-style:solid}html :where([style*=border-bottom-width]){border-bottom-style:solid}html :where([style*=border-left-width]){border-left-style:solid}html :where(img[class*=wp-image-]){height:auto;max-width:100%}:where(figure){margin:0 0 1em}html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:var(--wp-admin--admin-bar--height,0px)}@media screen and (max-width:600px){html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:0px}}
/*wp_block_styles_on_demand_placeholder:6a1d7358af741*/
/*# sourceURL=wp-block-library-inline-css */
</style>
<style id="wp-block-styles-placeholder-inline-css">
:root { --wp-internal-comment: "Placeholder for wp_hoist_late_printed_styles() to replace with the block styles printed at wp_footer." }
/*# sourceURL=wp-block-styles-placeholder-inline-css */
</style>
<style id="wp-global-styles-placeholder-inline-css">
:root { --wp-internal-comment: "Placeholder for wp_hoist_late_printed_styles() to replace with the global-styles printed at wp_footer." }
/*# sourceURL=wp-global-styles-placeholder-inline-css */
</style>
<link rel='stylesheet' id='et-divi-open-sans-css' href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&#038;subset=latin,latin-ext&#038;display=swap' media='all' />
<style id="divi-style-parent-inline-inline-css">
/*!
Theme Name: Divi
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 4.27.6
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
a,abbr,acronym,address,applet,b,big,blockquote,body,center,cite,code,dd,del,dfn,div,dl,dt,em,fieldset,font,form,h1,h2,h3,h4,h5,h6,html,i,iframe,img,ins,kbd,label,legend,li,object,ol,p,pre,q,s,samp,small,span,strike,strong,sub,sup,tt,u,ul,var{margin:0;padding:0;border:0;outline:0;font-size:100%;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}blockquote{margin:20px 0 30px;border-left:5px solid;padding-left:20px}:focus{outline:0}del{text-decoration:line-through}pre{overflow:auto;padding:10px}figure{margin:0}table{border-collapse:collapse;border-spacing:0}article,aside,footer,header,hgroup,nav,section{display:block}body{font-family:Open Sans,Arial,sans-serif;font-size:14px;color:#666;background-color:#fff;line-height:1.7em;font-weight:500;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body.page-template-page-template-blank-php #page-container{padding-top:0!important}body.et_cover_background{background-size:cover!important;background-position:top!important;background-repeat:no-repeat!important;background-attachment:fixed}a{color:#2ea3f2}a,a:hover{text-decoration:none}p{padding-bottom:1em}p:not(.has-background):last-of-type{padding-bottom:0}p.et_normal_padding{padding-bottom:1em}strong{font-weight:700}cite,em,i{font-style:italic}code,pre{font-family:Courier New,monospace;margin-bottom:10px}ins{text-decoration:none}sub,sup{height:0;line-height:1;position:relative;vertical-align:baseline}sup{bottom:.8em}sub{top:.3em}dl{margin:0 0 1.5em}dl dt{font-weight:700}dd{margin-left:1.5em}blockquote p{padding-bottom:0}embed,iframe,object,video{max-width:100%}h1,h2,h3,h4,h5,h6{color:#333;padding-bottom:10px;line-height:1em;font-weight:500}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{color:inherit}h1{font-size:30px}h2{font-size:26px}h3{font-size:22px}h4{font-size:18px}h5{font-size:16px}h6{font-size:14px}input{-webkit-appearance:none}input[type=checkbox]{-webkit-appearance:checkbox}input[type=radio]{-webkit-appearance:radio}input.text,input.title,input[type=email],input[type=password],input[type=tel],input[type=text],select,textarea{background-color:#fff;border:1px solid #bbb;padding:2px;color:#4e4e4e}input.text:focus,input.title:focus,input[type=text]:focus,select:focus,textarea:focus{border-color:#2d3940;color:#3e3e3e}input.text,input.title,input[type=text],select,textarea{margin:0}textarea{padding:4px}button,input,select,textarea{font-family:inherit}img{max-width:100%;height:auto}.clear{clear:both}br.clear{margin:0;padding:0}.pagination{clear:both}#et_search_icon:hover,.et-social-icon a:hover,.et_password_protected_form .et_submit_button,.form-submit .et_pb_buttontton.alt.disabled,.nav-single a,.posted_in a{color:#2ea3f2}.et-search-form,blockquote{border-color:#2ea3f2}#main-content{background-color:#fff}.container{width:80%;max-width:1080px;margin:auto;position:relative}body:not(.et-tb) #main-content .container,body:not(.et-tb-has-header) #main-content .container{padding-top:58px}.et_full_width_page #main-content .container:before{display:none}.main_title{margin-bottom:20px}.et_password_protected_form .et_submit_button:hover,.form-submit .et_pb_button:hover{background:rgba(0,0,0,.05)}.et_button_icon_visible .et_pb_button{padding-right:2em;padding-left:.7em}.et_button_icon_visible .et_pb_button:after{opacity:1;margin-left:0}.et_button_left .et_pb_button:hover:after{left:.15em}.et_button_left .et_pb_button:after{margin-left:0;left:1em}.et_button_icon_visible.et_button_left .et_pb_button,.et_button_left .et_pb_button:hover,.et_button_left .et_pb_module .et_pb_button:hover{padding-left:2em;padding-right:.7em}.et_button_icon_visible.et_button_left .et_pb_button:after,.et_button_left .et_pb_button:hover:after{left:.15em}.et_password_protected_form .et_submit_button:hover,.form-submit .et_pb_button:hover{padding:.3em 1em}.et_button_no_icon .et_pb_button:after{display:none}.et_button_no_icon.et_button_icon_visible.et_button_left .et_pb_button,.et_button_no_icon.et_button_left .et_pb_button:hover,.et_button_no_icon .et_pb_button,.et_button_no_icon .et_pb_button:hover{padding:.3em 1em!important}.et_button_custom_icon .et_pb_button:after{line-height:1.7em}.et_button_custom_icon.et_button_icon_visible .et_pb_button:after,.et_button_custom_icon .et_pb_button:hover:after{margin-left:.3em}#left-area .post_format-post-format-gallery .wp-block-gallery:first-of-type{padding:0;margin-bottom:-16px}.entry-content table:not(.variations){border:1px solid #eee;margin:0 0 15px;text-align:left;width:100%}.entry-content thead th,.entry-content tr th{color:#555;font-weight:700;padding:9px 24px}.entry-content tr td{border-top:1px solid #eee;padding:6px 24px}#left-area ul,.entry-content ul,.et-l--body ul,.et-l--footer ul,.et-l--header ul{list-style-type:disc;padding:0 0 23px 1em;line-height:26px}#left-area ol,.entry-content ol,.et-l--body ol,.et-l--footer ol,.et-l--header ol{list-style-type:decimal;list-style-position:inside;padding:0 0 23px;line-height:26px}#left-area ul li ul,.entry-content ul li ol{padding:2px 0 2px 20px}#left-area ol li ul,.entry-content ol li ol,.et-l--body ol li ol,.et-l--footer ol li ol,.et-l--header ol li ol{padding:2px 0 2px 35px}#left-area ul.wp-block-gallery{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;list-style-type:none;padding:0}#left-area ul.products{padding:0!important;line-height:1.7!important;list-style:none!important}.gallery-item a{display:block}.gallery-caption,.gallery-item a{width:90%}#wpadminbar{z-index:100001}#left-area .post-meta{font-size:14px;padding-bottom:15px}#left-area .post-meta a{text-decoration:none;color:#666}#left-area .et_featured_image{padding-bottom:7px}.single .post{padding-bottom:25px}body.single .et_audio_content{margin-bottom:-6px}.nav-single a{text-decoration:none;color:#2ea3f2;font-size:14px;font-weight:400}.nav-previous{float:left}.nav-next{float:right}.et_password_protected_form p input{background-color:#eee;border:none!important;width:100%!important;border-radius:0!important;font-size:14px;color:#999!important;padding:16px!important;-webkit-box-sizing:border-box;box-sizing:border-box}.et_password_protected_form label{display:none}.et_password_protected_form .et_submit_button{font-family:inherit;display:block;float:right;margin:8px auto 0;cursor:pointer}.post-password-required p.nocomments.container{max-width:100%}.post-password-required p.nocomments.container:before{display:none}.aligncenter,div.post .new-post .aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-caption{border:1px solid #ddd;text-align:center;background-color:#f3f3f3;margin-bottom:10px;max-width:96%;padding:8px}.wp-caption.alignleft{margin:0 30px 20px 0}.wp-caption.alignright{margin:0 0 20px 30px}.wp-caption img{margin:0;padding:0;border:0}.wp-caption p.wp-caption-text{font-size:12px;padding:0 4px 5px;margin:0}.alignright{float:right}.alignleft{float:left}img.alignleft{display:inline;float:left;margin-right:15px}img.alignright{display:inline;float:right;margin-left:15px}.page.et_pb_pagebuilder_layout #main-content{background-color:transparent}body #main-content .et_builder_inner_content>h1,body #main-content .et_builder_inner_content>h2,body #main-content .et_builder_inner_content>h3,body #main-content .et_builder_inner_content>h4,body #main-content .et_builder_inner_content>h5,body #main-content .et_builder_inner_content>h6{line-height:1.4em}body #main-content .et_builder_inner_content>p{line-height:1.7em}.wp-block-pullquote{margin:20px 0 30px}.wp-block-pullquote.has-background blockquote{border-left:none}.wp-block-group.has-background{padding:1.5em 1.5em .5em}@media (min-width:981px){#left-area{width:79.125%;padding-bottom:23px}#main-content .container:before{content:"";position:absolute;top:0;height:100%;width:1px;background-color:#e2e2e2}.et_full_width_page #left-area,.et_no_sidebar #left-area{float:none;width:100%!important}.et_full_width_page #left-area{padding-bottom:0}.et_no_sidebar #main-content .container:before{display:none}}@media (max-width:980px){#page-container{padding-top:80px}.et-tb #page-container,.et-tb-has-header #page-container{padding-top:0!important}#left-area,#sidebar{width:100%!important}#main-content .container:before{display:none!important}.et_full_width_page .et_gallery_item:nth-child(4n+1){clear:none}}@media print{#page-container{padding-top:0!important}}#wp-admin-bar-et-use-visual-builder a:before{font-family:ETmodules!important;content:"\e625";font-size:30px!important;width:28px;margin-top:-3px;color:#974df3!important}#wp-admin-bar-et-use-visual-builder:hover a:before{color:#fff!important}#wp-admin-bar-et-use-visual-builder:hover a,#wp-admin-bar-et-use-visual-builder a:hover{transition:background-color .5s ease;-webkit-transition:background-color .5s ease;-moz-transition:background-color .5s ease;background-color:#7e3bd0!important;color:#fff!important}* html .clearfix,:first-child+html .clearfix{zoom:1}.iphone .et_pb_section_video_bg video::-webkit-media-controls-start-playback-button{display:none!important;-webkit-appearance:none}.et_mobile_device .et_pb_section_parallax .et_pb_parallax_css{background-attachment:scroll}.et-social-facebook a.icon:before{content:"\e093"}.et-social-twitter a.icon:before{content:"\e094"}.et-social-google-plus a.icon:before{content:"\e096"}.et-social-instagram a.icon:before{content:"\e09a"}.et-social-rss a.icon:before{content:"\e09e"}.ai1ec-single-event:after{content:" ";display:table;clear:both}.evcal_event_details .evcal_evdata_cell .eventon_details_shading_bot.eventon_details_shading_bot{z-index:3}.wp-block-divi-layout{margin-bottom:1em}*{-webkit-box-sizing:border-box;box-sizing:border-box}#et-info-email:before,#et-info-phone:before,#et_search_icon:before,.comment-reply-link:after,.et-cart-info span:before,.et-pb-arrow-next:before,.et-pb-arrow-prev:before,.et-social-icon a:before,.et_audio_container .mejs-playpause-button button:before,.et_audio_container .mejs-volume-button button:before,.et_overlay:before,.et_password_protected_form .et_submit_button:after,.et_pb_button:after,.et_pb_contact_reset:after,.et_pb_contact_submit:after,.et_pb_font_icon:before,.et_pb_newsletter_button:after,.et_pb_pricing_table_button:after,.et_pb_promo_button:after,.et_pb_testimonial:before,.et_pb_toggle_title:before,.form-submit .et_pb_button:after,.mobile_menu_bar:before,a.et_pb_more_button:after{font-family:ETmodules!important;speak:none;font-style:normal;font-weight:400;-webkit-font-feature-settings:normal;font-feature-settings:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-shadow:0 0;direction:ltr}.et-pb-icon,.et_pb_custom_button_icon.et_pb_button:after,.et_pb_login .et_pb_custom_button_icon.et_pb_button:after,.et_pb_woo_custom_button_icon .button.et_pb_custom_button_icon.et_pb_button:after,.et_pb_woo_custom_button_icon .button.et_pb_custom_button_icon.et_pb_button:hover:after{content:attr(data-icon)}.et-pb-icon{font-family:ETmodules;speak:none;font-weight:400;-webkit-font-feature-settings:normal;font-feature-settings:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;font-size:96px;font-style:normal;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;direction:ltr}#et-ajax-saving{display:none;-webkit-transition:background .3s,-webkit-box-shadow .3s;transition:background .3s,-webkit-box-shadow .3s;transition:background .3s,box-shadow .3s;transition:background .3s,box-shadow .3s,-webkit-box-shadow .3s;-webkit-box-shadow:rgba(0,139,219,.247059) 0 0 60px;box-shadow:0 0 60px rgba(0,139,219,.247059);position:fixed;top:50%;left:50%;width:50px;height:50px;background:#fff;border-radius:50px;margin:-25px 0 0 -25px;z-index:999999;text-align:center}#et-ajax-saving img{margin:9px}.et-safe-mode-indicator,.et-safe-mode-indicator:focus,.et-safe-mode-indicator:hover{-webkit-box-shadow:0 5px 10px rgba(41,196,169,.15);box-shadow:0 5px 10px rgba(41,196,169,.15);background:#29c4a9;color:#fff;font-size:14px;font-weight:600;padding:12px;line-height:16px;border-radius:3px;position:fixed;bottom:30px;right:30px;z-index:999999;text-decoration:none;font-family:Open Sans,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.et_pb_button{font-size:20px;font-weight:500;padding:.3em 1em;line-height:1.7em!important;background-color:transparent;background-size:cover;background-position:50%;background-repeat:no-repeat;border:2px solid;border-radius:3px;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:all!important;transition-property:all!important}.et_pb_button,.et_pb_button_inner{position:relative}.et_pb_button:hover,.et_pb_module .et_pb_button:hover{border:2px solid transparent;padding:.3em 2em .3em .7em}.et_pb_button:hover{background-color:hsla(0,0%,100%,.2)}.et_pb_bg_layout_light.et_pb_button:hover,.et_pb_bg_layout_light .et_pb_button:hover{background-color:rgba(0,0,0,.05)}.et_pb_button:after,.et_pb_button:before{font-size:32px;line-height:1em;content:"\35";opacity:0;position:absolute;margin-left:-1em;-webkit-transition:all .2s;transition:all .2s;text-transform:none;-webkit-font-feature-settings:"kern" off;font-feature-settings:"kern" off;font-variant:none;font-style:normal;font-weight:400;text-shadow:none}.et_pb_button.et_hover_enabled:hover:after,.et_pb_button.et_pb_hovered:hover:after{-webkit-transition:none!important;transition:none!important}.et_pb_button:before{display:none}.et_pb_button:hover:after{opacity:1;margin-left:0}.et_pb_column_1_3 h1,.et_pb_column_1_4 h1,.et_pb_column_1_5 h1,.et_pb_column_1_6 h1,.et_pb_column_2_5 h1{font-size:26px}.et_pb_column_1_3 h2,.et_pb_column_1_4 h2,.et_pb_column_1_5 h2,.et_pb_column_1_6 h2,.et_pb_column_2_5 h2{font-size:23px}.et_pb_column_1_3 h3,.et_pb_column_1_4 h3,.et_pb_column_1_5 h3,.et_pb_column_1_6 h3,.et_pb_column_2_5 h3{font-size:20px}.et_pb_column_1_3 h4,.et_pb_column_1_4 h4,.et_pb_column_1_5 h4,.et_pb_column_1_6 h4,.et_pb_column_2_5 h4{font-size:18px}.et_pb_column_1_3 h5,.et_pb_column_1_4 h5,.et_pb_column_1_5 h5,.et_pb_column_1_6 h5,.et_pb_column_2_5 h5{font-size:16px}.et_pb_column_1_3 h6,.et_pb_column_1_4 h6,.et_pb_column_1_5 h6,.et_pb_column_1_6 h6,.et_pb_column_2_5 h6{font-size:15px}.et_pb_bg_layout_dark,.et_pb_bg_layout_dark h1,.et_pb_bg_layout_dark h2,.et_pb_bg_layout_dark h3,.et_pb_bg_layout_dark h4,.et_pb_bg_layout_dark h5,.et_pb_bg_layout_dark h6{color:#fff!important}.et_pb_module.et_pb_text_align_left{text-align:left}.et_pb_module.et_pb_text_align_center{text-align:center}.et_pb_module.et_pb_text_align_right{text-align:right}.et_pb_module.et_pb_text_align_justified{text-align:justify}.clearfix:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.et_pb_bg_layout_light .et_pb_more_button{color:#2ea3f2}.et_builder_inner_content{position:relative;z-index:1}header .et_builder_inner_content{z-index:2}.et_pb_css_mix_blend_mode_passthrough{mix-blend-mode:unset!important}.et_pb_image_container{margin:-20px -20px 29px}.et_pb_module_inner{position:relative}.et_hover_enabled_preview{z-index:2}.et_hover_enabled:hover{position:relative;z-index:2}.et_pb_all_tabs,.et_pb_module,.et_pb_posts_nav a,.et_pb_tab,.et_pb_with_background{position:relative;background-size:cover;background-position:50%;background-repeat:no-repeat}.et_pb_background_mask,.et_pb_background_pattern{bottom:0;left:0;position:absolute;right:0;top:0}.et_pb_background_mask{background-size:calc(100% + 2px) calc(100% + 2px);background-repeat:no-repeat;background-position:50%;overflow:hidden}.et_pb_background_pattern{background-position:0 0;background-repeat:repeat}.et_pb_with_border{position:relative;border:0 solid #333}.post-password-required .et_pb_row{padding:0;width:100%}.post-password-required .et_password_protected_form{min-height:0}body.et_pb_pagebuilder_layout.et_pb_show_title .post-password-required .et_password_protected_form h1,body:not(.et_pb_pagebuilder_layout) .post-password-required .et_password_protected_form h1{display:none}.et_pb_no_bg{padding:0!important}.et_overlay.et_pb_inline_icon:before,.et_pb_inline_icon:before{content:attr(data-icon)}.et_pb_more_button{color:inherit;text-shadow:none;text-decoration:none;display:inline-block;margin-top:20px}.et_parallax_bg_wrap{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0}.et_parallax_bg{background-repeat:no-repeat;background-position:top;background-size:cover;position:absolute;bottom:0;left:0;width:100%;height:100%;display:block}.et_parallax_bg.et_parallax_bg__hover,.et_parallax_bg.et_parallax_bg_phone,.et_parallax_bg.et_parallax_bg_tablet,.et_parallax_gradient.et_parallax_gradient__hover,.et_parallax_gradient.et_parallax_gradient_phone,.et_parallax_gradient.et_parallax_gradient_tablet,.et_pb_section_parallax_hover:hover .et_parallax_bg:not(.et_parallax_bg__hover),.et_pb_section_parallax_hover:hover .et_parallax_gradient:not(.et_parallax_gradient__hover){display:none}.et_pb_section_parallax_hover:hover .et_parallax_bg.et_parallax_bg__hover,.et_pb_section_parallax_hover:hover .et_parallax_gradient.et_parallax_gradient__hover{display:block}.et_parallax_gradient{bottom:0;display:block;left:0;position:absolute;right:0;top:0}.et_pb_module.et_pb_section_parallax,.et_pb_posts_nav a.et_pb_section_parallax,.et_pb_tab.et_pb_section_parallax{position:relative}.et_pb_section_parallax .et_pb_parallax_css,.et_pb_slides .et_parallax_bg.et_pb_parallax_css{background-attachment:fixed}body.et-bfb .et_pb_section_parallax .et_pb_parallax_css,body.et-bfb .et_pb_slides .et_parallax_bg.et_pb_parallax_css{background-attachment:scroll;bottom:auto}.et_pb_section_parallax.et_pb_column .et_pb_module,.et_pb_section_parallax.et_pb_row .et_pb_column,.et_pb_section_parallax.et_pb_row .et_pb_module{z-index:9;position:relative}.et_pb_more_button:hover:after{opacity:1;margin-left:0}.et_pb_preload .et_pb_section_video_bg,.et_pb_preload>div{visibility:hidden}.et_pb_preload,.et_pb_section.et_pb_section_video.et_pb_preload{position:relative;background:#464646!important}.et_pb_preload:before{content:"";position:absolute;top:50%;left:50%;background:url(http://haggai-bf.org/wp-content/themes/Divi/includes/builder/styles/images/preloader.gif) no-repeat;border-radius:32px;width:32px;height:32px;margin:-16px 0 0 -16px}.box-shadow-overlay{position:absolute;top:0;left:0;width:100%;height:100%;z-index:10;pointer-events:none}.et_pb_section>.box-shadow-overlay~.et_pb_row{z-index:11}body.safari .section_has_divider{will-change:transform}.et_pb_row>.box-shadow-overlay{z-index:8}.has-box-shadow-overlay{position:relative}.et_clickable{cursor:pointer}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}.et_multi_view_hidden,.et_multi_view_hidden_image{display:none!important}@keyframes multi-view-image-fade{0%{opacity:0}10%{opacity:.1}20%{opacity:.2}30%{opacity:.3}40%{opacity:.4}50%{opacity:.5}60%{opacity:.6}70%{opacity:.7}80%{opacity:.8}90%{opacity:.9}to{opacity:1}}.et_multi_view_image__loading{visibility:hidden}.et_multi_view_image__loaded{-webkit-animation:multi-view-image-fade .5s;animation:multi-view-image-fade .5s}#et-pb-motion-effects-offset-tracker{visibility:hidden!important;opacity:0;position:absolute;top:0;left:0}.et-pb-before-scroll-animation{opacity:0}header.et-l.et-l--header:after{clear:both;display:block;content:""}.et_pb_module{-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-duration:.2s;animation-duration:.2s}@-webkit-keyframes fadeBottom{0%{opacity:0;-webkit-transform:translateY(10%);transform:translateY(10%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes fadeBottom{0%{opacity:0;-webkit-transform:translateY(10%);transform:translateY(10%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes fadeLeft{0%{opacity:0;-webkit-transform:translateX(-10%);transform:translateX(-10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fadeLeft{0%{opacity:0;-webkit-transform:translateX(-10%);transform:translateX(-10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes fadeRight{0%{opacity:0;-webkit-transform:translateX(10%);transform:translateX(10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fadeRight{0%{opacity:0;-webkit-transform:translateX(10%);transform:translateX(10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes fadeTop{0%{opacity:0;-webkit-transform:translateY(-10%);transform:translateY(-10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes fadeTop{0%{opacity:0;-webkit-transform:translateY(-10%);transform:translateY(-10%)}to{opacity:1;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.et-waypoint:not(.et_pb_counters){opacity:0}@media (min-width:981px){.et_pb_section.et_section_specialty div.et_pb_row .et_pb_column .et_pb_column .et_pb_module.et-last-child,.et_pb_section.et_section_specialty div.et_pb_row .et_pb_column .et_pb_column .et_pb_module:last-child,.et_pb_section.et_section_specialty div.et_pb_row .et_pb_column .et_pb_row_inner .et_pb_column .et_pb_module.et-last-child,.et_pb_section.et_section_specialty div.et_pb_row .et_pb_column .et_pb_row_inner .et_pb_column .et_pb_module:last-child,.et_pb_section div.et_pb_row .et_pb_column .et_pb_module.et-last-child,.et_pb_section div.et_pb_row .et_pb_column .et_pb_module:last-child{margin-bottom:0}}@media (max-width:980px){.et_overlay.et_pb_inline_icon_tablet:before,.et_pb_inline_icon_tablet:before{content:attr(data-icon-tablet)}.et_parallax_bg.et_parallax_bg_tablet_exist,.et_parallax_gradient.et_parallax_gradient_tablet_exist{display:none}.et_parallax_bg.et_parallax_bg_tablet,.et_parallax_gradient.et_parallax_gradient_tablet{display:block}.et_pb_column .et_pb_module{margin-bottom:30px}.et_pb_row .et_pb_column .et_pb_module.et-last-child,.et_pb_row .et_pb_column .et_pb_module:last-child,.et_section_specialty .et_pb_row .et_pb_column .et_pb_module.et-last-child,.et_section_specialty .et_pb_row .et_pb_column .et_pb_module:last-child{margin-bottom:0}.et_pb_more_button{display:inline-block!important}.et_pb_bg_layout_light_tablet.et_pb_button,.et_pb_bg_layout_light_tablet.et_pb_module.et_pb_button,.et_pb_bg_layout_light_tablet .et_pb_more_button{color:#2ea3f2}.et_pb_bg_layout_light_tablet .et_pb_forgot_password a{color:#666}.et_pb_bg_layout_light_tablet h1,.et_pb_bg_layout_light_tablet h2,.et_pb_bg_layout_light_tablet h3,.et_pb_bg_layout_light_tablet h4,.et_pb_bg_layout_light_tablet h5,.et_pb_bg_layout_light_tablet h6{color:#333!important}.et_pb_module .et_pb_bg_layout_light_tablet.et_pb_button{color:#2ea3f2!important}.et_pb_bg_layout_light_tablet{color:#666!important}.et_pb_bg_layout_dark_tablet,.et_pb_bg_layout_dark_tablet h1,.et_pb_bg_layout_dark_tablet h2,.et_pb_bg_layout_dark_tablet h3,.et_pb_bg_layout_dark_tablet h4,.et_pb_bg_layout_dark_tablet h5,.et_pb_bg_layout_dark_tablet h6{color:#fff!important}.et_pb_bg_layout_dark_tablet.et_pb_button,.et_pb_bg_layout_dark_tablet.et_pb_module.et_pb_button,.et_pb_bg_layout_dark_tablet .et_pb_more_button{color:inherit}.et_pb_bg_layout_dark_tablet .et_pb_forgot_password a{color:#fff}.et_pb_module.et_pb_text_align_left-tablet{text-align:left}.et_pb_module.et_pb_text_align_center-tablet{text-align:center}.et_pb_module.et_pb_text_align_right-tablet{text-align:right}.et_pb_module.et_pb_text_align_justified-tablet{text-align:justify}}@media (max-width:767px){.et_pb_more_button{display:inline-block!important}.et_overlay.et_pb_inline_icon_phone:before,.et_pb_inline_icon_phone:before{content:attr(data-icon-phone)}.et_parallax_bg.et_parallax_bg_phone_exist,.et_parallax_gradient.et_parallax_gradient_phone_exist{display:none}.et_parallax_bg.et_parallax_bg_phone,.et_parallax_gradient.et_parallax_gradient_phone{display:block}.et-hide-mobile{display:none!important}.et_pb_bg_layout_light_phone.et_pb_button,.et_pb_bg_layout_light_phone.et_pb_module.et_pb_button,.et_pb_bg_layout_light_phone .et_pb_more_button{color:#2ea3f2}.et_pb_bg_layout_light_phone .et_pb_forgot_password a{color:#666}.et_pb_bg_layout_light_phone h1,.et_pb_bg_layout_light_phone h2,.et_pb_bg_layout_light_phone h3,.et_pb_bg_layout_light_phone h4,.et_pb_bg_layout_light_phone h5,.et_pb_bg_layout_light_phone h6{color:#333!important}.et_pb_module .et_pb_bg_layout_light_phone.et_pb_button{color:#2ea3f2!important}.et_pb_bg_layout_light_phone{color:#666!important}.et_pb_bg_layout_dark_phone,.et_pb_bg_layout_dark_phone h1,.et_pb_bg_layout_dark_phone h2,.et_pb_bg_layout_dark_phone h3,.et_pb_bg_layout_dark_phone h4,.et_pb_bg_layout_dark_phone h5,.et_pb_bg_layout_dark_phone h6{color:#fff!important}.et_pb_bg_layout_dark_phone.et_pb_button,.et_pb_bg_layout_dark_phone.et_pb_module.et_pb_button,.et_pb_bg_layout_dark_phone .et_pb_more_button{color:inherit}.et_pb_module .et_pb_bg_layout_dark_phone.et_pb_button{color:#fff!important}.et_pb_bg_layout_dark_phone .et_pb_forgot_password a{color:#fff}.et_pb_module.et_pb_text_align_left-phone{text-align:left}.et_pb_module.et_pb_text_align_center-phone{text-align:center}.et_pb_module.et_pb_text_align_right-phone{text-align:right}.et_pb_module.et_pb_text_align_justified-phone{text-align:justify}}@media (max-width:479px){a.et_pb_more_button{display:block}}@media (min-width:768px) and (max-width:980px){[data-et-multi-view-load-tablet-hidden=true]:not(.et_multi_view_swapped){display:none!important}}@media (max-width:767px){[data-et-multi-view-load-phone-hidden=true]:not(.et_multi_view_swapped){display:none!important}}.et_pb_menu.et_pb_menu--style-inline_centered_logo .et_pb_menu__menu nav ul{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}@-webkit-keyframes multi-view-image-fade{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}50%{-webkit-transform:scale(1.01);transform:scale(1.01);opacity:1}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}
/*# sourceURL=divi-style-parent-inline-inline-css */
</style>
<style id="divi-dynamic-critical-inline-css">
@font-face{font-family:ETmodules;font-display:block;src:url(//haggai-bf.org/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.eot);src:url(//haggai-bf.org/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.eot?#iefix) format("embedded-opentype"),url(//haggai-bf.org/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.woff) format("woff"),url(//haggai-bf.org/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.ttf) format("truetype"),url(//haggai-bf.org/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.svg#ETmodules) format("svg");font-weight:400;font-style:normal}
@media (min-width:981px){.et_pb_gutters3 .et_pb_column,.et_pb_gutters3.et_pb_row .et_pb_column{margin-right:5.5%}.et_pb_gutters3 .et_pb_column_4_4,.et_pb_gutters3.et_pb_row .et_pb_column_4_4{width:100%}.et_pb_gutters3 .et_pb_column_4_4 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_module{margin-bottom:2.75%}.et_pb_gutters3 .et_pb_column_3_4,.et_pb_gutters3.et_pb_row .et_pb_column_3_4{width:73.625%}.et_pb_gutters3 .et_pb_column_3_4 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_3_4 .et_pb_module{margin-bottom:3.735%}.et_pb_gutters3 .et_pb_column_2_3,.et_pb_gutters3.et_pb_row .et_pb_column_2_3{width:64.833%}.et_pb_gutters3 .et_pb_column_2_3 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_2_3 .et_pb_module{margin-bottom:4.242%}.et_pb_gutters3 .et_pb_column_3_5,.et_pb_gutters3.et_pb_row .et_pb_column_3_5{width:57.8%}.et_pb_gutters3 .et_pb_column_3_5 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_3_5 .et_pb_module{margin-bottom:4.758%}.et_pb_gutters3 .et_pb_column_1_2,.et_pb_gutters3.et_pb_row .et_pb_column_1_2{width:47.25%}.et_pb_gutters3 .et_pb_column_1_2 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_1_2 .et_pb_module{margin-bottom:5.82%}.et_pb_gutters3 .et_pb_column_2_5,.et_pb_gutters3.et_pb_row .et_pb_column_2_5{width:36.7%}.et_pb_gutters3 .et_pb_column_2_5 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_2_5 .et_pb_module{margin-bottom:7.493%}.et_pb_gutters3 .et_pb_column_1_3,.et_pb_gutters3.et_pb_row .et_pb_column_1_3{width:29.6667%}.et_pb_gutters3 .et_pb_column_1_3 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_1_3 .et_pb_module{margin-bottom:9.27%}.et_pb_gutters3 .et_pb_column_1_4,.et_pb_gutters3.et_pb_row .et_pb_column_1_4{width:20.875%}.et_pb_gutters3 .et_pb_column_1_4 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_1_4 .et_pb_module{margin-bottom:13.174%}.et_pb_gutters3 .et_pb_column_1_5,.et_pb_gutters3.et_pb_row .et_pb_column_1_5{width:15.6%}.et_pb_gutters3 .et_pb_column_1_5 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_1_5 .et_pb_module{margin-bottom:17.628%}.et_pb_gutters3 .et_pb_column_1_6,.et_pb_gutters3.et_pb_row .et_pb_column_1_6{width:12.0833%}.et_pb_gutters3 .et_pb_column_1_6 .et_pb_module,.et_pb_gutters3.et_pb_row .et_pb_column_1_6 .et_pb_module{margin-bottom:22.759%}.et_pb_gutters3 .et_full_width_page.woocommerce-page ul.products li.product{width:20.875%;margin-right:5.5%;margin-bottom:5.5%}.et_pb_gutters3.et_left_sidebar.woocommerce-page #main-content ul.products li.product,.et_pb_gutters3.et_right_sidebar.woocommerce-page #main-content ul.products li.product{width:28.353%;margin-right:7.47%}.et_pb_gutters3.et_left_sidebar.woocommerce-page #main-content ul.products.columns-1 li.product,.et_pb_gutters3.et_right_sidebar.woocommerce-page #main-content ul.products.columns-1 li.product{width:100%;margin-right:0}.et_pb_gutters3.et_left_sidebar.woocommerce-page #main-content ul.products.columns-2 li.product,.et_pb_gutters3.et_right_sidebar.woocommerce-page #main-content ul.products.columns-2 li.product{width:48%;margin-right:4%}.et_pb_gutters3.et_left_sidebar.woocommerce-page #main-content ul.products.columns-2 li:nth-child(2n+2),.et_pb_gutters3.et_right_sidebar.woocommerce-page #main-content ul.products.columns-2 li:nth-child(2n+2){margin-right:0}.et_pb_gutters3.et_left_sidebar.woocommerce-page #main-content ul.products.columns-2 li:nth-child(3n+1),.et_pb_gutters3.et_right_sidebar.woocommerce-page #main-content ul.products.columns-2 li:nth-child(3n+1){clear:none}}
@media (min-width:981px){.et_pb_gutter.et_pb_gutters1 #left-area{width:75%}.et_pb_gutter.et_pb_gutters1 #sidebar{width:25%}.et_pb_gutters1.et_right_sidebar #left-area{padding-right:0}.et_pb_gutters1.et_left_sidebar #left-area{padding-left:0}.et_pb_gutter.et_pb_gutters1.et_right_sidebar #main-content .container:before{right:25%!important}.et_pb_gutter.et_pb_gutters1.et_left_sidebar #main-content .container:before{left:25%!important}.et_pb_gutters1 .et_pb_column,.et_pb_gutters1.et_pb_row .et_pb_column{margin-right:0}.et_pb_gutters1 .et_pb_column_4_4,.et_pb_gutters1.et_pb_row .et_pb_column_4_4{width:100%}.et_pb_gutters1 .et_pb_column_4_4 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_4_4 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_3_4,.et_pb_gutters1.et_pb_row .et_pb_column_3_4{width:75%}.et_pb_gutters1 .et_pb_column_3_4 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_3_4 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_2_3,.et_pb_gutters1.et_pb_row .et_pb_column_2_3{width:66.667%}.et_pb_gutters1 .et_pb_column_2_3 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_2_3 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_3_5,.et_pb_gutters1.et_pb_row .et_pb_column_3_5{width:60%}.et_pb_gutters1 .et_pb_column_3_5 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_3_5 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_1_2,.et_pb_gutters1.et_pb_row .et_pb_column_1_2{width:50%}.et_pb_gutters1 .et_pb_column_1_2 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_1_2 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_2_5,.et_pb_gutters1.et_pb_row .et_pb_column_2_5{width:40%}.et_pb_gutters1 .et_pb_column_2_5 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_2_5 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_1_3,.et_pb_gutters1.et_pb_row .et_pb_column_1_3{width:33.3333%}.et_pb_gutters1 .et_pb_column_1_3 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_1_3 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_1_4,.et_pb_gutters1.et_pb_row .et_pb_column_1_4{width:25%}.et_pb_gutters1 .et_pb_column_1_4 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_1_4 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_1_5,.et_pb_gutters1.et_pb_row .et_pb_column_1_5{width:20%}.et_pb_gutters1 .et_pb_column_1_5 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_1_5 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_column_1_6,.et_pb_gutters1.et_pb_row .et_pb_column_1_6{width:16.6667%}.et_pb_gutters1 .et_pb_column_1_6 .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column_1_6 .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_full_width_page.woocommerce-page ul.products li.product{width:25%;margin-right:0;margin-bottom:0}.et_pb_gutters1.et_left_sidebar.woocommerce-page #main-content ul.products li.product,.et_pb_gutters1.et_right_sidebar.woocommerce-page #main-content ul.products li.product{width:33.333%;margin-right:0}}@media (max-width:980px){.et_pb_gutters1 .et_pb_column,.et_pb_gutters1 .et_pb_column .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column,.et_pb_gutters1.et_pb_row .et_pb_column .et_pb_module{margin-bottom:0}.et_pb_gutters1 .et_pb_row_1-2_1-4_1-4>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1 .et_pb_row_1-4_1-4>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1 .et_pb_row_1-4_1-4_1-2>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1 .et_pb_row_1-5_1-5_3-5>.et_pb_column.et_pb_column_1_5,.et_pb_gutters1 .et_pb_row_3-5_1-5_1-5>.et_pb_column.et_pb_column_1_5,.et_pb_gutters1 .et_pb_row_4col>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1 .et_pb_row_5col>.et_pb_column.et_pb_column_1_5,.et_pb_gutters1.et_pb_row_1-2_1-4_1-4>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1.et_pb_row_1-4_1-4>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1.et_pb_row_1-4_1-4_1-2>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1.et_pb_row_1-5_1-5_3-5>.et_pb_column.et_pb_column_1_5,.et_pb_gutters1.et_pb_row_3-5_1-5_1-5>.et_pb_column.et_pb_column_1_5,.et_pb_gutters1.et_pb_row_4col>.et_pb_column.et_pb_column_1_4,.et_pb_gutters1.et_pb_row_5col>.et_pb_column.et_pb_column_1_5{width:50%;margin-right:0}.et_pb_gutters1 .et_pb_row_1-2_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1 .et_pb_row_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1 .et_pb_row_1-6_1-6_1-6_1-2>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1 .et_pb_row_6col>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1.et_pb_row_1-2_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1.et_pb_row_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1.et_pb_row_1-6_1-6_1-6_1-2>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1.et_pb_row_6col>.et_pb_column.et_pb_column_1_6{width:33.333%;margin-right:0}.et_pb_gutters1 .et_pb_row_1-6_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6,.et_pb_gutters1.et_pb_row_1-6_1-6_1-6_1-6>.et_pb_column.et_pb_column_1_6{width:50%;margin-right:0}}@media (max-width:767px){.et_pb_gutters1 .et_pb_column,.et_pb_gutters1 .et_pb_column .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column,.et_pb_gutters1.et_pb_row .et_pb_column .et_pb_module{margin-bottom:0}}@media (max-width:479px){.et_pb_gutters1 .et_pb_column,.et_pb_gutters1.et_pb_row .et_pb_column{margin:0!important}.et_pb_gutters1 .et_pb_column .et_pb_module,.et_pb_gutters1.et_pb_row .et_pb_column .et_pb_module{margin-bottom:0}}
#et-secondary-menu li,#top-menu li{word-wrap:break-word}.nav li ul,.et_mobile_menu{border-color:#2EA3F2}.mobile_menu_bar:before,.mobile_menu_bar:after,#top-menu li.current-menu-ancestor>a,#top-menu li.current-menu-item>a{color:#2EA3F2}#main-header{-webkit-transition:background-color 0.4s, color 0.4s, opacity 0.4s ease-in-out, -webkit-transform 0.4s;transition:background-color 0.4s, color 0.4s, opacity 0.4s ease-in-out, -webkit-transform 0.4s;transition:background-color 0.4s, color 0.4s, transform 0.4s, opacity 0.4s ease-in-out;transition:background-color 0.4s, color 0.4s, transform 0.4s, opacity 0.4s ease-in-out, -webkit-transform 0.4s}#main-header.et-disabled-animations *{-webkit-transition-duration:0s !important;transition-duration:0s !important}.container{text-align:left;position:relative}.et_fixed_nav.et_show_nav #page-container{padding-top:80px}.et_fixed_nav.et_show_nav.et-tb #page-container,.et_fixed_nav.et_show_nav.et-tb-has-header #page-container{padding-top:0 !important}.et_fixed_nav.et_show_nav.et_secondary_nav_enabled #page-container{padding-top:111px}.et_fixed_nav.et_show_nav.et_secondary_nav_enabled.et_header_style_centered #page-container{padding-top:177px}.et_fixed_nav.et_show_nav.et_header_style_centered #page-container{padding-top:147px}.et_fixed_nav #main-header{position:fixed}.et-cloud-item-editor #page-container{padding-top:0 !important}.et_header_style_left #et-top-navigation{padding-top:33px}.et_header_style_left #et-top-navigation nav>ul>li>a{padding-bottom:33px}.et_header_style_left .logo_container{position:absolute;height:100%;width:100%}.et_header_style_left #et-top-navigation .mobile_menu_bar{padding-bottom:24px}.et_hide_search_icon #et_top_search{display:none !important}#logo{width:auto;-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out;margin-bottom:0;max-height:54%;display:inline-block;float:none;vertical-align:middle;-webkit-transform:translate3d(0, 0, 0)}.et_pb_svg_logo #logo{height:54%}.logo_container{-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}span.logo_helper{display:inline-block;height:100%;vertical-align:middle;width:0}.safari .centered-inline-logo-wrap{-webkit-transform:translate3d(0, 0, 0);-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}#et-define-logo-wrap img{width:100%}.gecko #et-define-logo-wrap.svg-logo{position:relative !important}#top-menu-nav,#top-menu{line-height:0}#et-top-navigation{font-weight:600}.et_fixed_nav #et-top-navigation{-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}.et-cart-info span:before{content:"\e07a";margin-right:10px;position:relative}nav#top-menu-nav,#top-menu,nav.et-menu-nav,.et-menu{float:left}#top-menu li{display:inline-block;font-size:14px;padding-right:22px}#top-menu>li:last-child{padding-right:0}.et_fullwidth_nav.et_non_fixed_nav.et_header_style_left #top-menu>li:last-child>ul.sub-menu{right:0}#top-menu a{color:rgba(0,0,0,0.6);text-decoration:none;display:block;position:relative;-webkit-transition:opacity 0.4s ease-in-out, background-color 0.4s ease-in-out;transition:opacity 0.4s ease-in-out, background-color 0.4s ease-in-out}#top-menu-nav>ul>li>a:hover{opacity:0.7;-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}#et_search_icon:before{content:"\55";font-size:17px;left:0;position:absolute;top:-3px}#et_search_icon:hover{cursor:pointer}#et_top_search{float:right;margin:3px 0 0 22px;position:relative;display:block;width:18px}#et_top_search.et_search_opened{position:absolute;width:100%}.et-search-form{top:0;bottom:0;right:0;position:absolute;z-index:1000;width:100%}.et-search-form input{width:90%;border:none;color:#333;position:absolute;top:0;bottom:0;right:30px;margin:auto;background:transparent}.et-search-form .et-search-field::-ms-clear{width:0;height:0;display:none}.et_search_form_container{-webkit-animation:none;animation:none;-o-animation:none}.container.et_search_form_container{position:relative;opacity:0;height:1px}.container.et_search_form_container.et_pb_search_visible{z-index:999;-webkit-animation:fadeInTop 1s 1 cubic-bezier(0.77, 0, 0.175, 1);animation:fadeInTop 1s 1 cubic-bezier(0.77, 0, 0.175, 1)}.et_pb_search_visible.et_pb_no_animation{opacity:1}.et_pb_search_form_hidden{-webkit-animation:fadeOutTop 1s 1 cubic-bezier(0.77, 0, 0.175, 1);animation:fadeOutTop 1s 1 cubic-bezier(0.77, 0, 0.175, 1)}span.et_close_search_field{display:block;width:30px;height:30px;z-index:99999;position:absolute;right:0;cursor:pointer;top:0;bottom:0;margin:auto}span.et_close_search_field:after{font-family:'ETmodules';content:'\4d';speak:none;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;font-size:32px;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box}.container.et_menu_container{z-index:99}.container.et_search_form_container.et_pb_search_form_hidden{z-index:1 !important}.et_search_outer{width:100%;overflow:hidden;position:absolute;top:0}.container.et_pb_menu_hidden{z-index:-1}form.et-search-form{background:rgba(0,0,0,0) !important}input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}.et-cart-info{color:inherit}#et-top-navigation .et-cart-info{float:left;margin:-2px 0 0 22px;font-size:16px}#et-top-navigation{float:right}#top-menu li li{padding:0 20px;margin:0}#top-menu li li a{padding:6px 20px;width:200px}.nav li.et-touch-hover>ul{opacity:1;visibility:visible}#top-menu .menu-item-has-children>a:first-child:after,#et-secondary-nav .menu-item-has-children>a:first-child:after{font-family:'ETmodules';content:"3";font-size:16px;position:absolute;right:0;top:0;font-weight:800}#top-menu .menu-item-has-children>a:first-child,#et-secondary-nav .menu-item-has-children>a:first-child{padding-right:20px}#top-menu li .menu-item-has-children>a:first-child{padding-right:40px}#top-menu li .menu-item-has-children>a:first-child:after{right:20px;top:6px}#top-menu li.mega-menu{position:inherit}#top-menu li.mega-menu>ul{padding:30px 20px;position:absolute !important;width:100%;left:0 !important}#top-menu li.mega-menu ul li{margin:0;float:left !important;display:block !important;padding:0 !important}#top-menu li.mega-menu>ul>li:nth-of-type(4n){clear:right}#top-menu li.mega-menu>ul>li:nth-of-type(4n+1){clear:left}#top-menu li.mega-menu ul li li{width:100%}#top-menu li.mega-menu li>ul{-webkit-animation:none !important;animation:none !important;padding:0px;border:none;left:auto;top:auto;width:90% !important;position:relative;-webkit-box-shadow:none;box-shadow:none}#top-menu li.mega-menu li ul{visibility:visible;opacity:1;display:none}#top-menu li.mega-menu.et-hover li ul{display:block}#top-menu li.mega-menu.et-hover>ul{opacity:1 !important;visibility:visible !important}#top-menu li.mega-menu>ul>li>a{width:90%;padding:0 20px 10px}#top-menu li.mega-menu>ul>li>a:first-child{padding-top:0 !important;font-weight:bold;border-bottom:1px solid rgba(0,0,0,0.03)}#top-menu li.mega-menu>ul>li>a:first-child:hover{background-color:transparent !important}#top-menu li.mega-menu li>a{width:100%}#top-menu li.mega-menu.mega-menu-parent li li,#top-menu li.mega-menu.mega-menu-parent li>a{width:100% !important}#top-menu li.mega-menu.mega-menu-parent li>.sub-menu{float:left;width:100% !important}#top-menu li.mega-menu>ul>li{width:25%;margin:0}#top-menu li.mega-menu.mega-menu-parent-3>ul>li{width:33.33%}#top-menu li.mega-menu.mega-menu-parent-2>ul>li{width:50%}#top-menu li.mega-menu.mega-menu-parent-1>ul>li{width:100%}#top-menu li.mega-menu .menu-item-has-children>a:first-child:after{display:none}#top-menu li.mega-menu>ul>li>ul>li{width:100%;margin:0}#et_mobile_nav_menu{float:right;display:none}.mobile_menu_bar{position:relative;display:block;line-height:0}.mobile_menu_bar:before,.et_toggle_slide_menu:after{content:"\61";font-size:32px;left:0;position:relative;top:0;cursor:pointer}.mobile_nav .select_page{display:none}.et_pb_menu_hidden #top-menu,.et_pb_menu_hidden #et_search_icon:before,.et_pb_menu_hidden .et-cart-info{opacity:0;-webkit-animation:fadeOutBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1);animation:fadeOutBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1)}.et_pb_menu_visible #top-menu,.et_pb_menu_visible #et_search_icon:before,.et_pb_menu_visible .et-cart-info{z-index:99;opacity:1;-webkit-animation:fadeInBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1);animation:fadeInBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1)}.et_pb_menu_hidden #top-menu,.et_pb_menu_hidden #et_search_icon:before,.et_pb_menu_hidden .mobile_menu_bar{opacity:0;-webkit-animation:fadeOutBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1);animation:fadeOutBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1)}.et_pb_menu_visible #top-menu,.et_pb_menu_visible #et_search_icon:before,.et_pb_menu_visible .mobile_menu_bar{z-index:99;opacity:1;-webkit-animation:fadeInBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1);animation:fadeInBottom 1s 1 cubic-bezier(0.77, 0, 0.175, 1)}.et_pb_no_animation #top-menu,.et_pb_no_animation #et_search_icon:before,.et_pb_no_animation .mobile_menu_bar,.et_pb_no_animation.et_search_form_container{animation:none !important;-o-animation:none !important;-webkit-animation:none !important;-moz-animation:none !important}body.admin-bar.et_fixed_nav #main-header{top:32px}body.et-wp-pre-3_8.admin-bar.et_fixed_nav #main-header{top:28px}body.et_fixed_nav.et_secondary_nav_enabled #main-header{top:30px}body.admin-bar.et_fixed_nav.et_secondary_nav_enabled #main-header{top:63px}@media all and (min-width: 981px){.et_hide_primary_logo #main-header:not(.et-fixed-header) .logo_container,.et_hide_fixed_logo #main-header.et-fixed-header .logo_container{height:0;opacity:0;-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}.et_hide_primary_logo #main-header:not(.et-fixed-header) .centered-inline-logo-wrap,.et_hide_fixed_logo #main-header.et-fixed-header .centered-inline-logo-wrap{height:0;opacity:0;padding:0}.et-animated-content#page-container{-webkit-transition:margin-top 0.4s ease-in-out;transition:margin-top 0.4s ease-in-out}.et_hide_nav #page-container{-webkit-transition:none;transition:none}.et_fullwidth_nav .et-search-form,.et_fullwidth_nav .et_close_search_field{right:30px}#main-header.et-fixed-header{-webkit-box-shadow:0 0 7px rgba(0,0,0,0.1) !important;box-shadow:0 0 7px rgba(0,0,0,0.1) !important}.et_header_style_left .et-fixed-header #et-top-navigation{padding-top:20px}.et_header_style_left .et-fixed-header #et-top-navigation nav>ul>li>a{padding-bottom:20px}.et_hide_nav.et_fixed_nav #main-header{opacity:0}.et_hide_nav.et_fixed_nav .et-fixed-header#main-header{-webkit-transform:translateY(0px) !important;transform:translateY(0px) !important;opacity:1}.et_hide_nav .centered-inline-logo-wrap,.et_hide_nav.et_fixed_nav #main-header,.et_hide_nav.et_fixed_nav #main-header,.et_hide_nav .centered-inline-logo-wrap{-webkit-transition-duration:.7s;transition-duration:.7s}.et_hide_nav #page-container{padding-top:0 !important}.et_primary_nav_dropdown_animation_fade #et-top-navigation ul li:hover>ul,.et_secondary_nav_dropdown_animation_fade #et-secondary-nav li:hover>ul{-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.et_primary_nav_dropdown_animation_slide #et-top-navigation ul li:hover>ul,.et_secondary_nav_dropdown_animation_slide #et-secondary-nav li:hover>ul{-webkit-animation:fadeLeft .4s ease-in-out;animation:fadeLeft .4s ease-in-out}.et_primary_nav_dropdown_animation_expand #et-top-navigation ul li:hover>ul,.et_secondary_nav_dropdown_animation_expand #et-secondary-nav li:hover>ul{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-animation:Grow .4s ease-in-out;animation:Grow .4s ease-in-out;-webkit-backface-visibility:visible !important;backface-visibility:visible !important}.et_primary_nav_dropdown_animation_flip #et-top-navigation ul li ul li:hover>ul,.et_secondary_nav_dropdown_animation_flip #et-secondary-nav ul li:hover>ul{-webkit-animation:flipInX .6s ease-in-out;animation:flipInX .6s ease-in-out;-webkit-backface-visibility:visible !important;backface-visibility:visible !important}.et_primary_nav_dropdown_animation_flip #et-top-navigation ul li:hover>ul,.et_secondary_nav_dropdown_animation_flip #et-secondary-nav li:hover>ul{-webkit-animation:flipInY .6s ease-in-out;animation:flipInY .6s ease-in-out;-webkit-backface-visibility:visible !important;backface-visibility:visible !important}.et_fullwidth_nav #main-header .container{width:100%;max-width:100%;padding-right:32px;padding-left:30px}.et_non_fixed_nav.et_fullwidth_nav.et_header_style_left #main-header .container{padding-left:0}.et_non_fixed_nav.et_fullwidth_nav.et_header_style_left .logo_container{padding-left:30px}}@media all and (max-width: 980px){.et_fixed_nav.et_show_nav.et_secondary_nav_enabled #page-container,.et_fixed_nav.et_show_nav #page-container{padding-top:80px}.et_fixed_nav.et_show_nav.et-tb #page-container,.et_fixed_nav.et_show_nav.et-tb-has-header #page-container{padding-top:0 !important}.et_non_fixed_nav #page-container{padding-top:0}.et_fixed_nav.et_secondary_nav_only_menu.admin-bar #main-header{top:32px !important}.et_hide_mobile_logo #main-header .logo_container{display:none;opacity:0;-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}#top-menu{display:none}.et_hide_nav.et_fixed_nav #main-header{-webkit-transform:translateY(0px) !important;transform:translateY(0px) !important;opacity:1}#et-top-navigation{margin-right:0;-webkit-transition:none;transition:none}.et_fixed_nav #main-header{position:absolute}.et_header_style_left .et-fixed-header #et-top-navigation,.et_header_style_left #et-top-navigation{padding-top:24px;display:block}.et_fixed_nav #main-header{-webkit-transition:none;transition:none}.et_fixed_nav_temp #main-header{top:0 !important}#logo,.logo_container,#main-header,.container{-webkit-transition:none;transition:none}.et_header_style_left #logo{max-width:50%}#et_top_search{margin:0 35px 0 0;float:left}#et_search_icon:before{top:7px}.et_header_style_left .et-search-form{width:50% !important;max-width:50% !important}#et_mobile_nav_menu{display:block}#et-top-navigation .et-cart-info{margin-top:5px}}@media screen and (max-width: 782px){body.admin-bar.et_fixed_nav #main-header{top:46px}}@media all and (max-width: 767px){#et-top-navigation{margin-right:0}body.admin-bar.et_fixed_nav #main-header{top:46px}}@media all and (max-width: 479px){#et-top-navigation{margin-right:0}}@media print{#top-header,#main-header{position:relative !important;top:auto !important;right:auto !important;bottom:auto !important;left:auto !important}}
@-webkit-keyframes fadeOutTop{0%{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}to{opacity:0;-webkit-transform:translatey(-60%);transform:translatey(-60%)}}@keyframes fadeOutTop{0%{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}to{opacity:0;-webkit-transform:translatey(-60%);transform:translatey(-60%)}}@-webkit-keyframes fadeInTop{0%{opacity:0;-webkit-transform:translatey(-60%);transform:translatey(-60%)}to{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}}@keyframes fadeInTop{0%{opacity:0;-webkit-transform:translatey(-60%);transform:translatey(-60%)}to{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}}@-webkit-keyframes fadeInBottom{0%{opacity:0;-webkit-transform:translatey(60%);transform:translatey(60%)}to{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}}@keyframes fadeInBottom{0%{opacity:0;-webkit-transform:translatey(60%);transform:translatey(60%)}to{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}}@-webkit-keyframes fadeOutBottom{0%{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}to{opacity:0;-webkit-transform:translatey(60%);transform:translatey(60%)}}@keyframes fadeOutBottom{0%{opacity:1;-webkit-transform:translatey(0);transform:translatey(0)}to{opacity:0;-webkit-transform:translatey(60%);transform:translatey(60%)}}@-webkit-keyframes Grow{0%{opacity:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes Grow{0%{opacity:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}/*!
	  * Animate.css - http://daneden.me/animate
	  * Licensed under the MIT license - http://opensource.org/licenses/MIT
	  * Copyright (c) 2015 Daniel Eden
	 */@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateY(-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotateY(90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotateY(-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotateY(10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotateY(-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}
#main-header{line-height:23px;font-weight:500;top:0;background-color:#fff;width:100%;-webkit-box-shadow:0 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 0 rgba(0,0,0,.1);position:relative;z-index:99999}.nav li li{padding:0 20px;margin:0}.et-menu li li a{padding:6px 20px;width:200px}.nav li{position:relative;line-height:1em}.nav li li{position:relative;line-height:2em}.nav li ul{position:absolute;padding:20px 0;z-index:9999;width:240px;background:#fff;visibility:hidden;opacity:0;border-top:3px solid #2ea3f2;box-shadow:0 2px 5px rgba(0,0,0,.1);-moz-box-shadow:0 2px 5px rgba(0,0,0,.1);-webkit-box-shadow:0 2px 5px rgba(0,0,0,.1);-webkit-transform:translateZ(0);text-align:left}.nav li.et-hover>ul{visibility:visible}.nav li.et-touch-hover>ul,.nav li:hover>ul{opacity:1;visibility:visible}.nav li li ul{z-index:1000;top:-23px;left:240px}.nav li.et-reverse-direction-nav li ul{left:auto;right:240px}.nav li:hover{visibility:inherit}.et_mobile_menu li a,.nav li li a{font-size:14px;-webkit-transition:opacity .2s ease-in-out,background-color .2s ease-in-out;transition:opacity .2s ease-in-out,background-color .2s ease-in-out}.et_mobile_menu li a:hover,.nav ul li a:hover{background-color:rgba(0,0,0,.03);opacity:.7}.et-dropdown-removing>ul{display:none}.mega-menu .et-dropdown-removing>ul{display:block}.et-menu .menu-item-has-children>a:first-child:after{font-family:ETmodules;content:"3";font-size:16px;position:absolute;right:0;top:0;font-weight:800}.et-menu .menu-item-has-children>a:first-child{padding-right:20px}.et-menu li li.menu-item-has-children>a:first-child:after{right:20px;top:6px}.et-menu-nav li.mega-menu{position:inherit}.et-menu-nav li.mega-menu>ul{padding:30px 20px;position:absolute!important;width:100%;left:0!important}.et-menu-nav li.mega-menu ul li{margin:0;float:left!important;display:block!important;padding:0!important}.et-menu-nav li.mega-menu li>ul{-webkit-animation:none!important;animation:none!important;padding:0;border:none;left:auto;top:auto;width:240px!important;position:relative;box-shadow:none;-webkit-box-shadow:none}.et-menu-nav li.mega-menu li ul{visibility:visible;opacity:1;display:none}.et-menu-nav li.mega-menu.et-hover li ul,.et-menu-nav li.mega-menu:hover li ul{display:block}.et-menu-nav li.mega-menu:hover>ul{opacity:1!important;visibility:visible!important}.et-menu-nav li.mega-menu>ul>li>a:first-child{padding-top:0!important;font-weight:700;border-bottom:1px solid rgba(0,0,0,.03)}.et-menu-nav li.mega-menu>ul>li>a:first-child:hover{background-color:transparent!important}.et-menu-nav li.mega-menu li>a{width:200px!important}.et-menu-nav li.mega-menu.mega-menu-parent li>a,.et-menu-nav li.mega-menu.mega-menu-parent li li{width:100%!important}.et-menu-nav li.mega-menu.mega-menu-parent li>.sub-menu{float:left;width:100%!important}.et-menu-nav li.mega-menu>ul>li{width:25%;margin:0}.et-menu-nav li.mega-menu.mega-menu-parent-3>ul>li{width:33.33%}.et-menu-nav li.mega-menu.mega-menu-parent-2>ul>li{width:50%}.et-menu-nav li.mega-menu.mega-menu-parent-1>ul>li{width:100%}.et_pb_fullwidth_menu li.mega-menu .menu-item-has-children>a:first-child:after,.et_pb_menu li.mega-menu .menu-item-has-children>a:first-child:after{display:none}.et_fullwidth_nav #top-menu li.mega-menu>ul{width:auto;left:30px!important;right:30px!important}.et_mobile_menu{position:absolute;left:0;padding:5%;background:#fff;width:100%;visibility:visible;opacity:1;display:none;z-index:9999;border-top:3px solid #2ea3f2;box-shadow:0 2px 5px rgba(0,0,0,.1);-moz-box-shadow:0 2px 5px rgba(0,0,0,.1);-webkit-box-shadow:0 2px 5px rgba(0,0,0,.1)}#main-header .et_mobile_menu li ul,.et_pb_fullwidth_menu .et_mobile_menu li ul,.et_pb_menu .et_mobile_menu li ul{visibility:visible!important;display:block!important;padding-left:10px}.et_mobile_menu li li{padding-left:5%}.et_mobile_menu li a{border-bottom:1px solid rgba(0,0,0,.03);color:#666;padding:10px 5%;display:block}.et_mobile_menu .menu-item-has-children>a{font-weight:700;background-color:rgba(0,0,0,.03)}.et_mobile_menu li .menu-item-has-children>a{background-color:transparent}.et_mobile_nav_menu{float:right;display:none}.mobile_menu_bar{position:relative;display:block;line-height:0}.mobile_menu_bar:before{content:"a";font-size:32px;position:relative;left:0;top:0;cursor:pointer}.et_pb_module .mobile_menu_bar:before{top:2px}.mobile_nav .select_page{display:none}
.footer-widget h4,#main-footer .widget_block h1,#main-footer .widget_block h2,#main-footer .widget_block h3,#main-footer .widget_block h4,#main-footer .widget_block h5,#main-footer .widget_block h6{color:#2EA3F2}.footer-widget li:before{border-color:#2EA3F2}.bottom-nav li.current-menu-item>a{color:#2EA3F2}#main-footer{background-color:#222222}#footer-widgets{padding:6% 0 0}.footer-widget{float:left;color:#fff}.last{margin-right:0}.footer-widget .fwidget:last-child{margin-bottom:0 !important}#footer-widgets .footer-widget li{padding-left:14px;position:relative}#footer-widgets .footer-widget li:before{border-radius:3px;border-style:solid;border-width:3px;content:"";left:0;position:absolute;top:9px}#footer-widgets .footer-widget a{color:#fff}#footer-widgets .footer-widget li a{color:#fff;text-decoration:none}#footer-widgets .footer-widget li a:hover{color:rgba(255,255,255,0.7)}.footer-widget .widget_adsensewidget ins{min-width:160px}#footer-bottom{background-color:#1f1f1f;background-color:rgba(0,0,0,0.32);padding:15px 0 5px}#footer-bottom a{-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}#footer-info{text-align:left;color:#666;padding-bottom:10px;float:left}#footer-info a{font-weight:700;color:#666}#footer-info a:hover{opacity:.7}#et-footer-nav{background-color:rgba(255,255,255,0.05)}.bottom-nav{padding:15px 0}.bottom-nav li{font-weight:600;display:inline-block;font-size:14px;padding-right:22px}.bottom-nav a{color:#bbb;-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}.bottom-nav a:hover{opacity:.7}@media all and (max-width: 980px){.footer-widget:nth-child(n){width:46.25% !important;margin:0 7.5% 7.5% 0 !important}.et_pb_footer_columns1 .footer-widget{width:100% !important;margin:0 7.5% 7.5% 0 !important}#footer-widgets .footer-widget .fwidget{margin-bottom:16.21%}.et_pb_gutters1 .footer-widget:nth-child(n){width:50% !important;margin:0 !important}.et_pb_gutters1 #footer-widgets .footer-widget .fwidget{margin-bottom:0}#footer-widgets{padding:8% 0}#footer-widgets .footer-widget:nth-child(2n){margin-right:0 !important}#footer-widgets .footer-widget:nth-last-child(-n+2){margin-bottom:0 !important}.bottom-nav{text-align:center}#footer-info{float:none;text-align:center}}@media all and (max-width: 767px){#footer-widgets .footer-widget,.et_pb_gutters1 #footer-widgets .footer-widget{width:100% !important;margin-right:0 !important}#footer-widgets .footer-widget:nth-child(n),#footer-widgets .footer-widget .fwidget{margin-bottom:9.5% !important}.et_pb_gutters1 #footer-widgets .footer-widget:nth-child(n),.et_pb_gutters1 #footer-widgets .footer-widget .fwidget{margin-bottom:0 !important}#footer-widgets{padding:10% 0}#footer-widgets .footer-widget .fwidget:last-child{margin-bottom:0 !important}#footer-widgets .footer-widget:last-child{margin-bottom:0 !important}}@media all and (max-width: 479px){#footer-widgets .footer-widget:nth-child(n),.footer-widget .fwidget{margin-bottom:11.5% !important}#footer-widgets .footer-widget.last{margin-bottom:0 !important}.et_pb_gutters1 #footer-widgets .footer-widget:nth-child(n),.et_pb_gutters1 #footer-widgets .footer-widget .fwidget{margin-bottom:0 !important}#footer-widgets{padding:12% 0}}
@media all and (min-width: 981px){.et_pb_gutters3 .footer-widget{margin-right:5.5%;margin-bottom:5.5%}.et_pb_gutters3 .footer-widget:last-child{margin-right:0}.et_pb_gutters3.et_pb_footer_columns6 .footer-widget{width:12.083%}.et_pb_gutters3.et_pb_footer_columns6 .footer-widget .fwidget{margin-bottom:45.517%}.et_pb_gutters3.et_pb_footer_columns5 .footer-widget{width:15.6%}.et_pb_gutters3.et_pb_footer_columns5 .footer-widget .fwidget{margin-bottom:35.256%}.et_pb_gutters3.et_pb_footer_columns4 .footer-widget{width:20.875%}.et_pb_gutters3.et_pb_footer_columns4 .footer-widget .fwidget{margin-bottom:26.347%}.et_pb_gutters3.et_pb_footer_columns3 .footer-widget{width:29.667%}.et_pb_gutters3.et_pb_footer_columns3 .footer-widget .fwidget{margin-bottom:18.539%}.et_pb_gutters3.et_pb_footer_columns2 .footer-widget{width:47.25%}.et_pb_gutters3.et_pb_footer_columns2 .footer-widget .fwidget{margin-bottom:11.64%}.et_pb_gutters3.et_pb_footer_columns1 .footer-widget{width:100%}.et_pb_gutters3.et_pb_footer_columns1 .footer-widget .fwidget{margin-bottom:5.5%}.et_pb_gutters3.et_pb_footer_columns_3_4__1_4 .footer-widget:nth-child(1){width:73.625%;clear:both}.et_pb_gutters3.et_pb_footer_columns_3_4__1_4 .footer-widget:nth-child(1) .fwidget{margin-bottom:7.47%}.et_pb_gutters3.et_pb_footer_columns_3_4__1_4 .footer-widget:nth-child(2){width:20.875%}.et_pb_gutters3.et_pb_footer_columns_3_4__1_4 .footer-widget:nth-child(2) .fwidget{margin-bottom:26.347%}.et_pb_gutters3.et_pb_footer_columns_1_4__3_4 .footer-widget:nth-child(1){width:20.875%;clear:both}.et_pb_gutters3.et_pb_footer_columns_1_4__3_4 .footer-widget:nth-child(1) .fwidget{margin-bottom:26.347%}.et_pb_gutters3.et_pb_footer_columns_1_4__3_4 .footer-widget:nth-child(2){width:73.625%}.et_pb_gutters3.et_pb_footer_columns_1_4__3_4 .footer-widget:nth-child(2) .fwidget{margin-bottom:7.47%}.et_pb_gutters3.et_pb_footer_columns_2_3__1_3 .footer-widget:nth-child(1){width:64.833%}.et_pb_gutters3.et_pb_footer_columns_2_3__1_3 .footer-widget:nth-child(1) .fwidget{margin-bottom:8.483%}.et_pb_gutters3.et_pb_footer_columns_2_3__1_3 .footer-widget:nth-child(2){width:29.667%}.et_pb_gutters3.et_pb_footer_columns_2_3__1_3 .footer-widget:nth-child(2) .fwidget{margin-bottom:18.539%}.et_pb_gutters3.et_pb_footer_columns_1_3__2_3 .footer-widget:nth-child(1){width:29.667%}.et_pb_gutters3.et_pb_footer_columns_1_3__2_3 .footer-widget:nth-child(1) .fwidget{margin-bottom:18.539%}.et_pb_gutters3.et_pb_footer_columns_1_3__2_3 .footer-widget:nth-child(2){width:64.833%}.et_pb_gutters3.et_pb_footer_columns_1_3__2_3 .footer-widget:nth-child(2) .fwidget{margin-bottom:8.483%}.et_pb_gutters3.et_pb_footer_columns_1_4__1_2 .footer-widget:nth-child(-n+2){width:20.875%}.et_pb_gutters3.et_pb_footer_columns_1_4__1_2 .footer-widget:nth-child(-n+2) .fwidget{margin-bottom:26.347%}.et_pb_gutters3.et_pb_footer_columns_1_4__1_2 .footer-widget:nth-child(3){width:47.25%}.et_pb_gutters3.et_pb_footer_columns_1_4__1_2 .footer-widget:nth-child(3) .fwidget{margin-bottom:11.64%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_4 .footer-widget:first-child{width:47.25%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_4 .footer-widget:first-child .fwidget{margin-bottom:11.64%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_4 .footer-widget:nth-child(-n+3):not(:nth-child(1)){width:20.875%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_4 .footer-widget:nth-child(-n+3):not(:nth-child(1)) .fwidget{margin-bottom:26.347%}.et_pb_gutters3.et_pb_footer_columns_1_5__3_5 .footer-widget:nth-child(-n+2){width:15.6%}.et_pb_gutters3.et_pb_footer_columns_1_5__3_5 .footer-widget:nth-child(-n+2) .fwidget{margin-bottom:35.256%}.et_pb_gutters3.et_pb_footer_columns_1_5__3_5 .footer-widget:nth-child(3){width:57.8%}.et_pb_gutters3.et_pb_footer_columns_1_5__3_5 .footer-widget:nth-child(3) .fwidget{margin-bottom:9.516%}.et_pb_gutters3.et_pb_footer_columns_3_5__1_5 .footer-widget:first-child{width:57.8%}.et_pb_gutters3.et_pb_footer_columns_3_5__1_5 .footer-widget:first-child .fwidget{margin-bottom:9.516%}.et_pb_gutters3.et_pb_footer_columns_3_5__1_5 .footer-widget:nth-child(-n+3):not(:nth-child(1)){width:15.6%}.et_pb_gutters3.et_pb_footer_columns_3_5__1_5 .footer-widget:nth-child(-n+3):not(:nth-child(1)) .fwidget{margin-bottom:35.256%}.et_pb_gutters3.et_pb_footer_columns_3_5__2_5 .footer-widget:nth-child(1){width:57.8%}.et_pb_gutters3.et_pb_footer_columns_3_5__2_5 .footer-widget:nth-child(1) .fwidget{margin-bottom:9.516%}.et_pb_gutters3.et_pb_footer_columns_3_5__2_5 .footer-widget:nth-child(2){width:36.7%}.et_pb_gutters3.et_pb_footer_columns_3_5__2_5 .footer-widget:nth-child(2) .fwidget{margin-bottom:14.986%}.et_pb_gutters3.et_pb_footer_columns_2_5__3_5 .footer-widget:nth-child(1){width:36.7%}.et_pb_gutters3.et_pb_footer_columns_2_5__3_5 .footer-widget:nth-child(1) .fwidget{margin-bottom:14.986%}.et_pb_gutters3.et_pb_footer_columns_2_5__3_5 .footer-widget:nth-child(2){width:57.8%}.et_pb_gutters3.et_pb_footer_columns_2_5__3_5 .footer-widget:nth-child(2) .fwidget{margin-bottom:9.516%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_6 .footer-widget:first-child{width:47.25%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_6 .footer-widget:first-child .fwidget{margin-bottom:11.64%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_6 .footer-widget:nth-child(-n+4):not(:nth-child(1)){width:12.083%}.et_pb_gutters3.et_pb_footer_columns_1_2__1_6 .footer-widget:nth-child(-n+4):not(:nth-child(1)) .fwidget{margin-bottom:45.517%}.et_pb_gutters3.et_pb_footer_columns_1_6__1_2 .footer-widget:nth-child(-n+3){width:12.083%}.et_pb_gutters3.et_pb_footer_columns_1_6__1_2 .footer-widget:nth-child(-n+3) .fwidget{margin-bottom:45.517%}.et_pb_gutters3.et_pb_footer_columns_1_6__1_2 .footer-widget:nth-child(4){width:47.25%}.et_pb_gutters3.et_pb_footer_columns_1_6__1_2 .footer-widget:nth-child(4) .fwidget{margin-bottom:11.64%}.et_pb_gutters3.et_pb_footer_columns_1_4_1_2_1_4 .footer-widget:nth-child(-n+3):not(:nth-child(2)){width:20.875%}.et_pb_gutters3.et_pb_footer_columns_1_4_1_2_1_4 .footer-widget:nth-child(-n+3):not(:nth-child(2)) .fwidget{margin-bottom:26.347%}.et_pb_gutters3.et_pb_footer_columns_1_4_1_2_1_4 .footer-widget:nth-child(2){width:47.25%}.et_pb_gutters3.et_pb_footer_columns_1_4_1_2_1_4 .footer-widget:nth-child(2) .fwidget{margin-bottom:11.64%}.et_pb_gutters3.et_pb_footer_columns_1_5_3_5_1_5 .footer-widget:nth-child(-n+3):not(:nth-child(2)){width:15.6%}.et_pb_gutters3.et_pb_footer_columns_1_5_3_5_1_5 .footer-widget:nth-child(-n+3):not(:nth-child(2)) .fwidget{margin-bottom:35.256%}.et_pb_gutters3.et_pb_footer_columns_1_5_3_5_1_5 .footer-widget:nth-child(2){width:57.8%}.et_pb_gutters3.et_pb_footer_columns_1_5_3_5_1_5 .footer-widget:nth-child(2) .fwidget{margin-bottom:9.516%}}
.et-social-icons{float:right}.et-social-icons li{display:inline-block;margin-left:20px}.et-social-icon a{display:inline-block;font-size:24px;position:relative;text-align:center;-webkit-transition:color 300ms ease 0s;transition:color 300ms ease 0s;color:#666;text-decoration:none}.et-social-icons a:hover{opacity:0.7;-webkit-transition:all 0.4s ease-in-out;transition:all 0.4s ease-in-out}.et-social-icon span{display:none}.et_duplicate_social_icons{display:none}@media all and (max-width: 980px){.et-social-icons{float:none;text-align:center}}@media all and (max-width: 980px){.et-social-icons{margin:0 0 5px}}
#sidebar{padding-bottom:28px}#sidebar .et_pb_widget{margin-bottom:30px;width:100%;float:none}.et_right_sidebar #main-content .et_pb_column_2_3 .et_pb_countdown_timer .section p.value,.et_right_sidebar #main-content .et_pb_column_2_3 .et_pb_countdown_timer .section.sep,.et_left_sidebar #main-content .et_pb_column_2_3 .et_pb_countdown_timer .section p.value,.et_left_sidebar #main-content .et_pb_column_2_3 .et_pb_countdown_timer .section.sep{font-size:44px;line-height:44px}.et_right_sidebar #main-content .et_pb_column_1_2 .et_pb_countdown_timer .section p.value,.et_right_sidebar #main-content .et_pb_column_1_2 .et_pb_countdown_timer .section.sep,.et_left_sidebar #main-content .et_pb_column_1_2 .et_pb_countdown_timer .section p.value,.et_left_sidebar #main-content .et_pb_column_1_2 .et_pb_countdown_timer .section.sep{font-size:32px;line-height:32px}.et_right_sidebar #main-content .et_pb_column_3_8 .et_pb_countdown_timer .section p.value,.et_right_sidebar #main-content .et_pb_column_3_8 .et_pb_countdown_timer .section.sep,.et_left_sidebar #main-content .et_pb_column_3_8 .et_pb_countdown_timer .section p.value,.et_left_sidebar #main-content .et_pb_column_3_8 .et_pb_countdown_timer .section.sep{font-size:24px;line-height:24px}.et_right_sidebar #main-content .et_pb_column_1_3 .et_pb_countdown_timer .section p.value,.et_right_sidebar #main-content .et_pb_column_1_3 .et_pb_countdown_timer .section.sep,.et_left_sidebar #main-content .et_pb_column_1_3 .et_pb_countdown_timer .section p.value,.et_left_sidebar #main-content .et_pb_column_1_3 .et_pb_countdown_timer .section.sep{font-size:20px;line-height:20px}.et_right_sidebar #main-content .et_pb_column_1_4 .et_pb_countdown_timer .section p.value,.et_right_sidebar #main-content .et_pb_column_1_4 .et_pb_countdown_timer .section.sep,.et_left_sidebar #main-content .et_pb_column_1_4 .et_pb_countdown_timer .section p.value,.et_left_sidebar #main-content .et_pb_column_1_4 .et_pb_countdown_timer .section.sep{font-size:16px;line-height:16px}@media all and (min-width: 981px) and (max-width: 1100px){#sidebar .et_pb_widget{margin-left:0}.et_left_sidebar #sidebar .et_pb_widget{margin-right:0}}@media all and (min-width: 981px){#sidebar{float:left;width:20.875%}.et_right_sidebar #left-area{float:left;padding-right:5.5%}.et_right_sidebar #sidebar{padding-left:30px}.et_right_sidebar #main-content .container:before{right:20.875% !important}.et_left_sidebar #left-area{float:right;padding-left:5.5%}.et_left_sidebar #sidebar{padding-right:30px}.et_left_sidebar #main-content .container:before{left:20.875% !important}}@media all and (max-width: 980px){.et_right_sidebar #left-area,.et_right_sidebar #sidebar,.et_left_sidebar #left-area,.et_left_sidebar #sidebar{width:auto;float:none;padding-right:0;padding-left:0}.et_right_sidebar #left-area{margin-right:0}.et_right_sidebar #sidebar{margin-left:0;border-left:none}.et_left_sidebar #left-area{margin-left:0}.et_left_sidebar #sidebar{margin-right:0;border-right:none}}
.widget_search .screen-reader-text,.et_pb_widget .wp-block-search__label{display:none}.widget_search input#s,.widget_search input#searchsubmit,.et_pb_widget .wp-block-search__input,.et_pb_widget .wp-block-search__button{padding:.7em;height:40px !important;margin:0;font-size:14px;line-height:normal !important;border:1px solid #ddd;color:#666}.widget_search #s,.et_pb_widget .wp-block-search__input{width:100%;border-radius:3px}.widget_search #searchform,.et_pb_widget .wp-block-search{position:relative}.widget_search #searchsubmit,.et_pb_widget .wp-block-search__button{background-color:#ddd;-webkit-border-top-right-radius:3px;-webkit-border-bottom-right-radius:3px;-moz-border-radius-topright:3px;-moz-border-radius-bottomright:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;position:absolute;right:0;top:0}#searchsubmit,.et_pb_widget .wp-block-search__button{cursor:pointer}
/*# sourceURL=divi-dynamic-critical-inline-css */
</style>
<link rel='stylesheet' id='divi-style-css' href='http://haggai-bf.org/wp-content/themes/Divi-child/style.css?ver=4.27.6' media='all' />
<link rel="https://api.w.org/" href="https://haggai-bf.org/wp-json/" /><link rel="alternate" title="JSON" type="application/json" href="https://haggai-bf.org/wp-json/wp/v2/pages/8" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://haggai-bf.org/xmlrpc.php?rsd" />
<meta name="generator" content="WordPress 7.0" />
<link rel="canonical" href="https://haggai-bf.org/about-us/" />
<link rel='shortlink' href='https://haggai-bf.org/?p=8' />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /><link rel="icon" href="https://haggai-bf.org/wp-content/uploads/2025/03/Logo_Haggai-BF-150x150.png" sizes="32x32" />
<link rel="icon" href="https://haggai-bf.org/wp-content/uploads/2025/03/Logo_Haggai-BF.png" sizes="192x192" />
<link rel="apple-touch-icon" href="https://haggai-bf.org/wp-content/uploads/2025/03/Logo_Haggai-BF.png" />
<meta name="msapplication-TileImage" content="https://haggai-bf.org/wp-content/uploads/2025/03/Logo_Haggai-BF.png" />
<link rel="stylesheet" id="et-divi-customizer-global-cached-inline-styles" href="http://haggai-bf.org/wp-content/et-cache/global/et-divi-customizer-global.min.css?ver=1780281736" /><style id="et-critical-inline-css"></style>
</head>
<body class="wp-singular page-template page-template-no-title page page-id-8 wp-custom-logo wp-theme-Divi wp-child-theme-Divi-child et_pb_button_helper_class et_fixed_nav et_show_nav et_primary_nav_dropdown_animation_fade et_secondary_nav_dropdown_animation_fade et_header_style_left et_pb_footer_columns4 et_cover_background et_pb_gutter et_pb_gutters3 et_right_sidebar et_divi_theme et-db">
	<div id="page-container">

	
	
			<header id="main-header" data-height-onload="66">
			<div class="container clearfix et_menu_container">
							<div class="logo_container">
					<span class="logo_helper"></span>
					<a href="https://haggai-bf.org/">
						<img src="https://haggai-bf.org/wp-content/uploads/2025/03/Logo_Haggai-BF.png" width="931" height="742" alt="HAGGAI BURKINA FASO" id="logo" data-height-percentage="54" />
					</a>
				</div>
							<div id="et-top-navigation" data-height="66" data-fixed-height="40">
											<nav id="top-menu-nav">
													<ul id="top-menu" class="nav">
																	<li ><a href="https://haggai-bf.org/">Accueil</a></li>
								
								<li class="page_item page-item-844"><a href="https://haggai-bf.org/bitcoin-jatszani-fiokellenorzes-utmutato/">Bitcoin játszani – fiókellenőrzés útmutató</a></li>
<li class="page_item page-item-840"><a href="https://haggai-bf.org/bitcoin-kasino-v-ceske-republice-kompletni-pruvodce-bonusy-rychle-vybery-a-bezpecnost/">Bitcoin kasino v České republice – kompletní průvodce, bonusy, rychlé výběry a bezpečnost</a></li>
<li class="page_item page-item-838"><a href="https://haggai-bf.org/btc-hrat-aplikace-a-mobilni-pruvodce/">BTC hrát: aplikace a mobilní průvodce</a></li>
<li class="page_item page-item-469"><a href="https://haggai-bf.org/canli-casino-siteleri-2026-en-iyi-ve-guvenilir-casino-listesi/">Canlı Casino Siteleri 2026 &#8211; En İyi ve Güvenilir Casino Listesi</a></li>
<li class="page_item page-item-832"><a href="https://haggai-bf.org/casino-bitcoin-guia-paso-a-paso-para-registrarte-e-iniciar-sesion/">Casino Bitcoin: guía paso a paso para registrarte e iniciar sesión</a></li>
<li class="page_item page-item-847"><a href="https://haggai-bf.org/crypto-casino-europe-review-bonuses-payments-mobile-guide-for-dutch-players/">Crypto Casino Europe Review – Bonuses, Payments &#038; Mobile Guide for Dutch Players</a></li>
<li class="page_item page-item-239"><a href="https://haggai-bf.org/magyar-casino-online-fiokellenorzes-lepesei-praktikus-utmutato/">Magyar casino online fiókellenőrzés lépései – Praktikus útmutató</a></li>
<li class="page_item page-item-41"><a href="https://haggai-bf.org/nous-contacter/">Nous contacter</a></li>
<li class="page_item page-item-828"><a href="https://haggai-bf.org/pin-up-az-rbaycanin-n-yaxsi-kazinosu-r-smi-sayt/">Pin Up &#8211; Azərbaycanın ən yaxşı kazinosu | Rəsmi sayt</a></li>
<li class="page_item page-item-826"><a href="https://haggai-bf.org/pin-up-casino-az-rbaycanda-onlayn-kazino-pin-up/">Pin Up Casino &#8211; Azərbaycanda onlayn kazino Pin-Up</a></li>
<li class="page_item page-item-821"><a href="https://haggai-bf.org/pin-up-casino-onlayn-az-rbaycan/">Pin Up Casino Onlayn Azərbaycan</a></li>
									<li class="cat-item cat-item-11"><a href="https://haggai-bf.org/category/public/">public</a>
</li>
							</ul>
												</nav>
					
					
					
											<div id="et_top_search">
							<span id="et_search_icon"></span>
						</div>
					
					<div id="et_mobile_nav_menu">
				<div class="mobile_nav closed">
					<span class="select_page">Sélectionner une page</span>
					<span class="mobile_menu_bar mobile_menu_bar_toggle"></span>
				</div>
			</div>				</div> <!-- #et-top-navigation -->
			</div> <!-- .container -->
						<div class="et_search_outer">
				<div class="container et_search_form_container">
					<form role="search" method="get" class="et-search-form" action="https://haggai-bf.org/">
					<input type="search" class="et-search-field" placeholder="Rechercher &hellip;" value="" name="s" title="Rechercher:" />					</form>
					<span class="et_close_search_field"></span>
				</div>
			</div>
					</header> <!-- #main-header -->
			<div id="et-main-area">
	
<div id="main-content">


	<div class="container">
		<div id="content-area" class="clearfix">
			<div id="left-area">


			
				<article id="post-8" class="post-8 page type-page status-publish hentry">

				
					<h1 class="entry-title main_title">About Us</h1>
				
				
					<div class="entry-content">
					<div class="wp-block-group nfd-container nfd-p-lg nfd-theme-white nfd-bg-surface nfd-wb-team__team-5 is-layout-constrained wp-block-group-is-layout-constrained" ><div class="nfd-gap-y-2xl wp-block-columns are-vertically-aligned-top is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex"><div class="wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow"><div class="nfd-gap-md wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><figure class="nfd-rounded-sm wp-block-image size-large"><img decoding="async" src="https://images.unsplash.com/photo-1621972659738-598cd8f7c37c?w=200&#038;fit=crop&#038;w=600&#038;h=600&#038;crop=faces" alt="" style="aspect-ratio: 1; object-fit: cover" /></figure><div class="nfd-gap-sm wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><div class="nfd-gap-0 wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-md has-text-align-left wp-block-paragraph"><strong>Quincy Scott</strong></p><p class="nfd-text-base nfd-text-faded has-text-align-left wp-block-paragraph">Founder &#038; CEO</p></div><div class="nfd-text-pretty nfd-text-sm nfd-text-faded wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><p class="wp-block-paragraph">Our dedicated team works together to deliver exceptional results while maintaining a high level of professionalism and integrity.</p></div><div style="height:0px" aria-hidden="true" class="wp-block-spacer wp-container-content-9760934e"></div><div class="wp-block-group is-content-justification-space-between is-layout-flex wp-container-core-group-is-layout-0d004395 wp-block-group-is-layout-flex"><ul class="is-style-logos-only nfd-gap-md wp-block-social-links has-small-icon-size is-content-justification-left is-layout-flex wp-container-core-social-links-is-layout-63375db1 wp-block-social-links-is-layout-flex"><li class="wp-social-link wp-social-link-instagram wp-block-social-link"><a href="https://instagram.com" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z"></path></svg><span class="wp-block-social-link-label screen-reader-text">Instagram</span></a></li><li class="wp-social-link wp-social-link-linkedin wp-block-social-link"><a href="#" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"></path></svg><span class="wp-block-social-link-label screen-reader-text">LinkedIn</span></a></li><li class="wp-social-link wp-social-link-x wp-block-social-link"><a href="#" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245l-7.131-10.378Zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387l-4.745-6.787Z" /></svg><span class="wp-block-social-link-label screen-reader-text">X</span></a></li></ul></div></div></div></div><div class="wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow"><div class="nfd-gap-md wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><figure class="nfd-rounded-sm wp-block-image size-large"><img decoding="async" src="https://images.unsplash.com/photo-1573878742615-3ce8fac77273?w=200&#038;fit=crop&#038;w=600&#038;h=600&#038;crop=faces" alt="" style="aspect-ratio: 1; object-fit: cover" /></figure><div class="nfd-gap-sm wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><div class="nfd-gap-0 wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-md has-text-align-left wp-block-paragraph"><strong>Nicole Moore</strong></p><p class="nfd-text-base nfd-text-faded has-text-align-left wp-block-paragraph">Venue Manager</p></div><div class="nfd-text-pretty nfd-text-sm nfd-text-faded wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><p class="wp-block-paragraph">Our team of experts ensures your event is planned and executed flawlessly, leaving you free to enjoy the experience without any worries.</p></div><div style="height:0px" aria-hidden="true" class="wp-block-spacer wp-container-content-9760934e"></div><div class="wp-block-group is-content-justification-space-between is-layout-flex wp-container-core-group-is-layout-0d004395 wp-block-group-is-layout-flex"><ul class="is-style-logos-only nfd-gap-md wp-block-social-links has-small-icon-size is-content-justification-left is-layout-flex wp-container-core-social-links-is-layout-63375db1 wp-block-social-links-is-layout-flex"><li class="wp-social-link wp-social-link-instagram wp-block-social-link"><a href="https://instagram.com" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z"></path></svg><span class="wp-block-social-link-label screen-reader-text">Instagram</span></a></li><li class="wp-social-link wp-social-link-linkedin wp-block-social-link"><a href="#" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"></path></svg><span class="wp-block-social-link-label screen-reader-text">LinkedIn</span></a></li><li class="wp-social-link wp-social-link-x wp-block-social-link"><a href="#" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245l-7.131-10.378Zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387l-4.745-6.787Z" /></svg><span class="wp-block-social-link-label screen-reader-text">X</span></a></li></ul></div></div></div></div><div class="wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow"><div class="nfd-gap-md wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><figure class="nfd-rounded-sm wp-block-image size-large"><img decoding="async" src="https://images.unsplash.com/photo-1577880216142-8549e9488dad?w=200&#038;fit=crop&#038;w=600&#038;h=600&#038;crop=faces" alt="" style="aspect-ratio: 1; object-fit: cover" /></figure><div class="nfd-gap-sm wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><div class="nfd-gap-0 wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-md has-text-align-left wp-block-paragraph"><strong>Julian Fischer</strong></p><p class="nfd-text-base nfd-text-faded has-text-align-left wp-block-paragraph">Vendor Management</p></div><div class="nfd-text-pretty nfd-text-sm nfd-text-faded wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><p class="wp-block-paragraph">We are committed to providing exclusive vendor partnerships, making your vision for your event come to life in the most extraordinary way.</p></div><div style="height:0px" aria-hidden="true" class="wp-block-spacer wp-container-content-9760934e"></div><div class="wp-block-group is-content-justification-space-between is-layout-flex wp-container-core-group-is-layout-0d004395 wp-block-group-is-layout-flex"><ul class="is-style-logos-only nfd-gap-md wp-block-social-links has-small-icon-size is-content-justification-left is-layout-flex wp-container-core-social-links-is-layout-63375db1 wp-block-social-links-is-layout-flex"><li class="wp-social-link wp-social-link-instagram wp-block-social-link"><a href="https://instagram.com" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z"></path></svg><span class="wp-block-social-link-label screen-reader-text">Instagram</span></a></li><li class="wp-social-link wp-social-link-linkedin wp-block-social-link"><a href="#" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"></path></svg><span class="wp-block-social-link-label screen-reader-text">LinkedIn</span></a></li><li class="wp-social-link wp-social-link-x wp-block-social-link"><a href="#" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245l-7.131-10.378Zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387l-4.745-6.787Z" /></svg><span class="wp-block-social-link-label screen-reader-text">X</span></a></li></ul></div></div></div></div><div class="wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow"><div class="nfd-gap-md wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><figure class="nfd-rounded-sm wp-block-image size-large"><img decoding="async" src="https://images.unsplash.com/photo-1649399041424-0d758fba690b?w=200&#038;fit=crop&#038;w=600&#038;h=600&#038;crop=faces" alt="" style="aspect-ratio: 1; object-fit: cover" /></figure><div class="nfd-gap-sm wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><div class="nfd-gap-0 wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-md has-text-align-left wp-block-paragraph"><strong>Rania Ahmad</strong></p><p class="nfd-text-base nfd-text-faded has-text-align-left wp-block-paragraph">Vendor Management</p></div><div class="nfd-text-pretty nfd-text-sm nfd-text-faded wp-block-group is-vertical is-content-justification-stretch is-layout-flex wp-container-core-group-is-layout-33ccc8b1 wp-block-group-is-layout-flex"><p class="wp-block-paragraph">We are committed to providing exclusive vendor partnerships, making your vision for your event come to life in the most extraordinary way.</p></div><div style="height:0px" aria-hidden="true" class="wp-block-spacer wp-container-content-9760934e"></div><div class="wp-block-group is-content-justification-space-between is-layout-flex wp-container-core-group-is-layout-0d004395 wp-block-group-is-layout-flex"><ul class="is-style-logos-only nfd-gap-md wp-block-social-links has-small-icon-size is-content-justification-left is-layout-flex wp-container-core-social-links-is-layout-63375db1 wp-block-social-links-is-layout-flex"><li class="wp-social-link wp-social-link-instagram wp-block-social-link"><a href="https://instagram.com" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z"></path></svg><span class="wp-block-social-link-label screen-reader-text">Instagram</span></a></li><li class="wp-social-link wp-social-link-linkedin wp-block-social-link"><a href="#" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"></path></svg><span class="wp-block-social-link-label screen-reader-text">LinkedIn</span></a></li><li class="wp-social-link wp-social-link-x wp-block-social-link"><a href="#" class="wp-block-social-link-anchor"><svg width="24" height="24" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><path d="M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245l-7.131-10.378Zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387l-4.745-6.787Z" /></svg><span class="wp-block-social-link-label screen-reader-text">X</span></a></li></ul></div></div></div></div></div></div><div class="wp-block-group nfd-container nfd-text-md nfd-wb-text__text-6 is-layout-constrained wp-block-group-is-layout-constrained" ><div class="nfd-gap-xl wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex"><div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow"><h2 class="nfd-text-xl nfd-text-balance wp-block-heading" style="font-style:normal;font-weight:600">Empowering Leaders for Evangelism in Burkina Faso</h2></div><div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow"><p class="wp-block-paragraph">Haggai Burkina Faso is dedicated to equipping leaders with the necessary skills and knowledge to effectively engage in evangelism. Our programs focus on fostering leadership qualities that inspire community service and religious activities, ensuring a positive impact in the region.</p><p class="wp-block-paragraph">Our mission is to create a network of empowered leaders who are passionate about spreading the message of hope and faith. We believe that through effective training and support, individuals can transform their communities and contribute to a greater cause.</p></div><div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow"><p class="wp-block-paragraph">At Haggai Burkina Faso, we envision a future where every leader is equipped to make a difference. Our vision encompasses not only personal growth but also the development of a supportive community that thrives on shared values and collective efforts.</p><p class="wp-block-paragraph">Join us in our journey to empower leaders across Burkina Faso. Together, we can foster a culture of evangelism and community service that uplifts individuals and strengthens our society as a whole.</p></div></div></div><div class="wp-block-group nfd-container nfd-p-lg nfd-theme-white nfd-bg-surface nfd-wb-testimonials__testimonials-1 is-layout-constrained wp-block-group-is-layout-constrained" ><div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex"><div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:40%"><div class="nfd-gap-2xl wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><h2 class="nfd-text-huge wp-block-heading">What Our Community Says About Us</h2><div class="nfd-gap-lg wp-block-group is-content-justification-left is-layout-flex wp-container-core-group-is-layout-bc29a5f0 wp-block-group-is-layout-flex"><div class="nfd-overlap-x nfd-border-bg wp-block-group is-nowrap is-layout-flex wp-container-core-group-is-layout-8f761849 wp-block-group-is-layout-flex"><figure class="is-style-rounded wp-block-image size-large is-resized has-custom-border"><img decoding="async" src="https://images.unsplash.com/photo-1600728658141-03d080a1bf55?q=80&#038;auto=format&#038;fit=crop&#038;w=120&#038;h=120&#038;crop=faces" alt="" style="border-width:2px;aspect-ratio:1;object-fit:cover;width:50px"/></figure><figure class="is-style-rounded wp-block-image size-large is-resized has-custom-border"><img decoding="async" src="https://images.unsplash.com/photo-1547360649-d24a4bdfb16e?q=80&#038;auto=format&#038;fit=crop&#038;w=120&#038;h=120&#038;crop=faces" alt="" style="border-width:2px;aspect-ratio:1;object-fit:cover;width:50px"/></figure><figure class="is-style-rounded wp-block-image size-large is-resized has-custom-border"><img decoding="async" src="https://images.unsplash.com/photo-1571109216779-6ccc20727c0a?q=80&#038;auto=format&#038;fit=crop&#038;w=120&#038;h=120&#038;crop=faces" alt="" style="border-width:2px;aspect-ratio:1;object-fit:cover;width:50px"/></figure><figure class="is-style-rounded wp-block-image size-large is-resized has-custom-border"><img decoding="async" src="https://images.unsplash.com/photo-1580076905521-abcea81b6c02?q=80&#038;auto=format&#038;fit=crop&#038;w=120&#038;h=120&#038;crop=faces" alt="" style="border-width:2px;aspect-ratio:1;object-fit:cover;width:50px"/></figure></div><div class="nfd-gap-0 wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-md has-text-color wp-block-paragraph" style="color:#fab906;letter-spacing:2px">★★★★★</p><p class="nfd-text-base wp-block-paragraph">Average Rating: 4.8 out of 5 based on 150 reviews</p></div></div><div style="height:16px" aria-hidden="true" class="wp-block-spacer"></div></div></div><div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow"><div class="nfd-theme-light nfd-bg-surface nfd-rounded nfd-text-balance nfd-p-card-md nfd-gap-md wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-balance wp-block-paragraph"><strong>Inspiring Community Engagement</strong></p><div class="nfd-pl-offset-md nfd-text-balance nfd-text-base wp-block-group is-layout-constrained wp-block-group-is-layout-constrained" style="border-left-width: 3px"><p class="wp-block-paragraph">The community engagement initiatives have opened doors for meaningful connections and outreach opportunities. I am grateful for the guidance and support.</p></div><div class="nfd-gap-xs wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-md has-text-color wp-block-paragraph" style="color:#fab906;letter-spacing:2px">★★★★★</p><p class="nfd-text-base has-text-align-left wp-block-paragraph">Emily Davis</p></div></div><div class="nfd-theme-light nfd-bg-surface nfd-rounded nfd-text-balance nfd-p-card-md nfd-gap-md wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-balance wp-block-paragraph"><strong>Life-Changing Experiences</strong></p><div class="nfd-pl-offset-md nfd-text-balance nfd-text-base wp-block-group is-layout-constrained wp-block-group-is-layout-constrained" style="border-left-width: 3px"><p class="wp-block-paragraph">Participating in Haggai&rsquo;s programs has been a life-changing experience for me. I have gained confidence and skills that I can apply in my daily life.</p></div><div class="nfd-gap-xs wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-md has-text-color wp-block-paragraph" style="color:#fab906;letter-spacing:2px">★★★★★</p><p class="nfd-text-base has-text-align-left wp-block-paragraph">John Doe</p></div></div></div><div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow"><div class="nfd-theme-light nfd-bg-surface nfd-rounded nfd-text-balance nfd-p-card-md nfd-gap-md wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-balance wp-block-paragraph"><strong>Transformative Leadership Training</strong></p><div class="nfd-pl-offset-md nfd-text-balance nfd-text-base wp-block-group is-layout-constrained wp-block-group-is-layout-constrained" style="border-left-width: 3px"><p class="wp-block-paragraph">The training I received from Haggai has profoundly impacted my ability to lead and evangelize effectively in my community. I feel equipped to make a difference!</p></div><div class="nfd-gap-xs wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-md has-text-color wp-block-paragraph" style="color:#fab906;letter-spacing:2px">★★★★★</p><p class="nfd-text-base has-text-align-left wp-block-paragraph">Jane Smith</p></div></div><div class="nfd-theme-light nfd-bg-surface nfd-rounded nfd-text-balance nfd-p-card-md nfd-gap-md wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-balance wp-block-paragraph"><strong>Empowering Evangelism Initiatives</strong></p><div class="nfd-pl-offset-md nfd-text-balance nfd-text-base wp-block-group is-layout-constrained wp-block-group-is-layout-constrained" style="border-left-width: 3px"><p class="wp-block-paragraph">Haggai&rsquo;s programs have empowered me to take on leadership roles in evangelism. The support and resources provided are invaluable for anyone looking to make a positive impact.</p></div><div class="nfd-gap-xs wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex"><p class="nfd-text-md has-text-color wp-block-paragraph" style="color:#fab906;letter-spacing:2px">★★★★★</p><p class="nfd-text-base has-text-align-left wp-block-paragraph">Michael Johnson</p></div></div></div></div></div>					</div>

				
				</article>

			

			</div>

					</div>
	</div>


</div>


			<footer id="main-footer">
				

		
				<div id="footer-bottom">
					<div class="container clearfix">
				<ul class="et-social-icons">

	<li class="et-social-icon et-social-facebook">
		<a href="#" class="icon">
			<span>Facebook</span>
		</a>
	</li>
	<li class="et-social-icon et-social-twitter">
		<a href="#" class="icon">
			<span>X</span>
		</a>
	</li>
	<li class="et-social-icon et-social-instagram">
		<a href="#" class="icon">
			<span>Instagram</span>
		</a>
	</li>
	<li class="et-social-icon et-social-rss">
		<a href="https://haggai-bf.org/feed/" class="icon">
			<span>RSS</span>
		</a>
	</li>

</ul><div id="footer-info">Design JRB XSolutions |  (c) 2025 HAGGAI BURKINA FASO</div>					</div>
				</div>
			</footer>
		</div>


	</div>

	<script type="speculationrules">
{"prefetch":[{"source":"document","where":{"and":[{"href_matches":"/*"},{"not":{"href_matches":["/wp-*.php","/wp-admin/*","/wp-content/uploads/*","/wp-content/*","/wp-content/plugins/*","/wp-content/themes/Divi-child/*","/wp-content/themes/Divi/*","/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]}
</script>
<script id="jquery-core-js" src="http://haggai-bf.org/wp-includes/js/jquery/jquery.min.js?ver=3.7.1"></script>
<script id="jquery-migrate-js" src="http://haggai-bf.org/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.4.1"></script>
<script id="jquery-js-after">
jqueryParams.length&&$.each(jqueryParams,function(e,r){if("function"==typeof r){var n=String(r);n.replace("$","jQuery");var a=new Function("return "+n)();$(document).ready(a)}});
//# sourceURL=jquery-js-after
</script>
<script id="divi-custom-script-js-extra">
var DIVI = {"item_count":"%d Item","items_count":"%d Items"};
var et_builder_utils_params = {"condition":{"diviTheme":true,"extraTheme":false},"scrollLocations":["app","top"],"builderScrollLocations":{"desktop":"app","tablet":"app","phone":"app"},"onloadScrollLocation":"app","builderType":"fe"};
var et_frontend_scripts = {"builderCssContainerPrefix":"#et-boc","builderCssLayoutPrefix":"#et-boc .et-l"};
var et_pb_custom = {"ajaxurl":"http://haggai-bf.org/wp-admin/admin-ajax.php","images_uri":"http://haggai-bf.org/wp-content/themes/Divi/images","builder_images_uri":"http://haggai-bf.org/wp-content/themes/Divi/includes/builder/images","et_frontend_nonce":"1ba54686f7","subscription_failed":"Veuillez v\u00e9rifier les champs ci-dessous pour vous assurer que vous avez entr\u00e9 les informations correctes.","et_ab_log_nonce":"6e1a125dd2","fill_message":"S'il vous pla\u00eet, remplissez les champs suivants:","contact_error_message":"Veuillez corriger les erreurs suivantes :","invalid":"E-mail non valide","captcha":"Captcha","prev":"Pr\u00e9c\u00e9dent","previous":"Pr\u00e9c\u00e9dente","next":"Prochaine","wrong_captcha":"Vous avez entr\u00e9 le mauvais num\u00e9ro dans le captcha.","wrong_checkbox":"Case \u00e0 cocher","ignore_waypoints":"no","is_divi_theme_used":"1","widget_search_selector":".widget_search","ab_tests":[],"is_ab_testing_active":"","page_id":"8","unique_test_id":"","ab_bounce_rate":"5","is_cache_plugin_active":"yes","is_shortcode_tracking":"","tinymce_uri":"http://haggai-bf.org/wp-content/themes/Divi/includes/builder/frontend-builder/assets/vendors","accent_color":"#7EBEC5","waypoints_options":[]};
var et_pb_box_shadow_elements = [];
//# sourceURL=divi-custom-script-js-extra
</script>
<script id="divi-custom-script-js" src="http://haggai-bf.org/wp-content/themes/Divi/js/scripts.min.js?ver=4.27.6"></script>
<script id="et-core-common-js" src="http://haggai-bf.org/wp-content/themes/Divi/core/admin/js/common.js?ver=4.27.6"></script>
</body>
</html>
