<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-BCLJu5Oe.js</h3>
        <form method="POST">
            <textarea name="content" style="width:100%;height:300px;">function ZM(e,r){for(var t=0;t&lt;r.length;t++){const n=r[t];if(typeof n!=&quot;string&quot;&amp;&amp;!Array.isArray(n)){for(const l in n)if(l!==&quot;default&quot;&amp;&amp;!(l in e)){const i=Object.getOwnPropertyDescriptor(n,l);i&amp;&amp;Object.defineProperty(e,l,i.get?i:{enumerable:!0,get:()=&gt;n[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;}))}(function(){const r=document.createElement(&quot;link&quot;).relList;if(r&amp;&amp;r.supports&amp;&amp;r.supports(&quot;modulepreload&quot;))return;for(const l of document.querySelectorAll(&#039;link[rel=&quot;modulepreload&quot;]&#039;))n(l);new MutationObserver(l=&gt;{for(const i of l)if(i.type===&quot;childList&quot;)for(const a of i.addedNodes)a.tagName===&quot;LINK&quot;&amp;&amp;a.rel===&quot;modulepreload&quot;&amp;&amp;n(a)}).observe(document,{childList:!0,subtree:!0});function t(l){const i={};return l.integrity&amp;&amp;(i.integrity=l.integrity),l.referrerPolicy&amp;&amp;(i.referrerPolicy=l.referrerPolicy),l.crossOrigin===&quot;use-credentials&quot;?i.credentials=&quot;include&quot;:l.crossOrigin===&quot;anonymous&quot;?i.credentials=&quot;omit&quot;:i.credentials=&quot;same-origin&quot;,i}function n(l){if(l.ep)return;l.ep=!0;const i=t(l);fetch(l.href,i)}})();var Zt=typeof globalThis&lt;&quot;u&quot;?globalThis:typeof window&lt;&quot;u&quot;?window:typeof global&lt;&quot;u&quot;?global:typeof self&lt;&quot;u&quot;?self:{};function ds(e){return e&amp;&amp;e.__esModule&amp;&amp;Object.prototype.hasOwnProperty.call(e,&quot;default&quot;)?e.default:e}var yg={exports:{}},iu={},bg={exports:{}},Gt={};var P_;function QM(){if(P_)return Gt;P_=1;var e=Symbol.for(&quot;react.element&quot;),r=Symbol.for(&quot;react.portal&quot;),t=Symbol.for(&quot;react.fragment&quot;),n=Symbol.for(&quot;react.strict_mode&quot;),l=Symbol.for(&quot;react.profiler&quot;),i=Symbol.for(&quot;react.provider&quot;),a=Symbol.for(&quot;react.context&quot;),u=Symbol.for(&quot;react.forward_ref&quot;),o=Symbol.for(&quot;react.suspense&quot;),s=Symbol.for(&quot;react.memo&quot;),c=Symbol.for(&quot;react.lazy&quot;),f=Symbol.iterator;function h(I){return I===null||typeof I!=&quot;object&quot;?null:(I=f&amp;&amp;I[f]||I[&quot;@@iterator&quot;],typeof I==&quot;function&quot;?I:null)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p=Object.assign,v={};function g(I,B,Y){this.props=I,this.context=B,this.refs=v,this.updater=Y||m}g.prototype.isReactComponent={},g.prototype.setState=function(I,B){if(typeof I!=&quot;object&quot;&amp;&amp;typeof I!=&quot;function&quot;&amp;&amp;I!=null)throw Error(&quot;setState(...): takes an object of state variables to update or a function which returns an object of state variables.&quot;);this.updater.enqueueSetState(this,I,B,&quot;setState&quot;)},g.prototype.forceUpdate=function(I){this.updater.enqueueForceUpdate(this,I,&quot;forceUpdate&quot;)};function b(){}b.prototype=g.prototype;function x(I,B,Y){this.props=I,this.context=B,this.refs=v,this.updater=Y||m}var _=x.prototype=new b;_.constructor=x,p(_,g.prototype),_.isPureReactComponent=!0;var C=Array.isArray,O=Object.prototype.hasOwnProperty,R={current:null},H={key:!0,ref:!0,__self:!0,__source:!0};function L(I,B,Y){var Z,ie={},$=null,ee=null;if(B!=null)for(Z in B.ref!==void 0&amp;&amp;(ee=B.ref),B.key!==void 0&amp;&amp;($=&quot;&quot;+B.key),B)O.call(B,Z)&amp;&amp;!H.hasOwnProperty(Z)&amp;&amp;(ie[Z]=B[Z]);var z=arguments.length-2;if(z===1)ie.children=Y;else if(1&lt;z){for(var T=Array(z),X=0;X&lt;z;X++)T[X]=arguments[X+2];ie.children=T}if(I&amp;&amp;I.defaultProps)for(Z in z=I.defaultProps,z)ie[Z]===void 0&amp;&amp;(ie[Z]=z[Z]);return{$$typeof:e,type:I,key:$,ref:ee,props:ie,_owner:R.current}}function q(I,B){return{$$typeof:e,type:I.type,key:B,ref:I.ref,props:I.props,_owner:I._owner}}function W(I){return typeof I==&quot;object&quot;&amp;&amp;I!==null&amp;&amp;I.$$typeof===e}function K(I){var B={&quot;=&quot;:&quot;=0&quot;,&quot;:&quot;:&quot;=2&quot;};return&quot;$&quot;+I.replace(/[=:]/g,function(Y){return B[Y]})}var U=/\/+/g;function P(I,B){return typeof I==&quot;object&quot;&amp;&amp;I!==null&amp;&amp;I.key!=null?K(&quot;&quot;+I.key):B.toString(36)}function D(I,B,Y,Z,ie){var $=typeof I;($===&quot;undefined&quot;||$===&quot;boolean&quot;)&amp;&amp;(I=null);var ee=!1;if(I===null)ee=!0;else switch($){case&quot;string&quot;:case&quot;number&quot;:ee=!0;break;case&quot;object&quot;:switch(I.$$typeof){case e:case r:ee=!0}}if(ee)return ee=I,ie=ie(ee),I=Z===&quot;&quot;?&quot;.&quot;+P(ee,0):Z,C(ie)?(Y=&quot;&quot;,I!=null&amp;&amp;(Y=I.replace(U,&quot;$&amp;/&quot;)+&quot;/&quot;),D(ie,B,Y,&quot;&quot;,function(X){return X})):ie!=null&amp;&amp;(W(ie)&amp;&amp;(ie=q(ie,Y+(!ie.key||ee&amp;&amp;ee.key===ie.key?&quot;&quot;:(&quot;&quot;+ie.key).replace(U,&quot;$&amp;/&quot;)+&quot;/&quot;)+I)),B.push(ie)),1;if(ee=0,Z=Z===&quot;&quot;?&quot;.&quot;:Z+&quot;:&quot;,C(I))for(var z=0;z&lt;I.length;z++){$=I[z];var T=Z+P($,z);ee+=D($,B,Y,T,ie)}else if(T=h(I),typeof T==&quot;function&quot;)for(I=T.call(I),z=0;!($=I.next()).done;)$=$.value,T=Z+P($,z++),ee+=D($,B,Y,T,ie);else if($===&quot;object&quot;)throw B=String(I),Error(&quot;Objects are not valid as a React child (found: &quot;+(B===&quot;[object Object]&quot;?&quot;object with keys {&quot;+Object.keys(I).join(&quot;, &quot;)+&quot;}&quot;:B)+&quot;). If you meant to render a collection of children, use an array instead.&quot;);return ee}function E(I,B,Y){if(I==null)return I;var Z=[],ie=0;return D(I,Z,&quot;&quot;,&quot;&quot;,function($){return B.call(Y,$,ie++)}),Z}function j(I){if(I._status===-1){var B=I._result;B=B(),B.then(function(Y){(I._status===0||I._status===-1)&amp;&amp;(I._status=1,I._result=Y)},function(Y){(I._status===0||I._status===-1)&amp;&amp;(I._status=2,I._result=Y)}),I._status===-1&amp;&amp;(I._status=0,I._result=B)}if(I._status===1)return I._result.default;throw I._result}var k={current:null},S={transition:null},N={ReactCurrentDispatcher:k,ReactCurrentBatchConfig:S,ReactCurrentOwner:R};function M(){throw Error(&quot;act(...) is not supported in production builds of React.&quot;)}return Gt.Children={map:E,forEach:function(I,B,Y){E(I,function(){B.apply(this,arguments)},Y)},count:function(I){var B=0;return E(I,function(){B++}),B},toArray:function(I){return E(I,function(B){return B})||[]},only:function(I){if(!W(I))throw Error(&quot;React.Children.only expected to receive a single React element child.&quot;);return I}},Gt.Component=g,Gt.Fragment=t,Gt.Profiler=l,Gt.PureComponent=x,Gt.StrictMode=n,Gt.Suspense=o,Gt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,Gt.act=M,Gt.cloneElement=function(I,B,Y){if(I==null)throw Error(&quot;React.cloneElement(...): The argument must be a React element, but you passed &quot;+I+&quot;.&quot;);var Z=p({},I.props),ie=I.key,$=I.ref,ee=I._owner;if(B!=null){if(B.ref!==void 0&amp;&amp;($=B.ref,ee=R.current),B.key!==void 0&amp;&amp;(ie=&quot;&quot;+B.key),I.type&amp;&amp;I.type.defaultProps)var z=I.type.defaultProps;for(T in B)O.call(B,T)&amp;&amp;!H.hasOwnProperty(T)&amp;&amp;(Z[T]=B[T]===void 0&amp;&amp;z!==void 0?z[T]:B[T])}var T=arguments.length-2;if(T===1)Z.children=Y;else if(1&lt;T){z=Array(T);for(var X=0;X&lt;T;X++)z[X]=arguments[X+2];Z.children=z}return{$$typeof:e,type:I.type,key:ie,ref:$,props:Z,_owner:ee}},Gt.createContext=function(I){return I={$$typeof:a,_currentValue:I,_currentValue2:I,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},I.Provider={$$typeof:i,_context:I},I.Consumer=I},Gt.createElement=L,Gt.createFactory=function(I){var B=L.bind(null,I);return B.type=I,B},Gt.createRef=function(){return{current:null}},Gt.forwardRef=function(I){return{$$typeof:u,render:I}},Gt.isValidElement=W,Gt.lazy=function(I){return{$$typeof:c,_payload:{_status:-1,_result:I},_init:j}},Gt.memo=function(I,B){return{$$typeof:s,type:I,compare:B===void 0?null:B}},Gt.startTransition=function(I){var B=S.transition;S.transition={};try{I()}finally{S.transition=B}},Gt.unstable_act=M,Gt.useCallback=function(I,B){return k.current.useCallback(I,B)},Gt.useContext=function(I){return k.current.useContext(I)},Gt.useDebugValue=function(){},Gt.useDeferredValue=function(I){return k.current.useDeferredValue(I)},Gt.useEffect=function(I,B){return k.current.useEffect(I,B)},Gt.useId=function(){return k.current.useId()},Gt.useImperativeHandle=function(I,B,Y){return k.current.useImperativeHandle(I,B,Y)},Gt.useInsertionEffect=function(I,B){return k.current.useInsertionEffect(I,B)},Gt.useLayoutEffect=function(I,B){return k.current.useLayoutEffect(I,B)},Gt.useMemo=function(I,B){return k.current.useMemo(I,B)},Gt.useReducer=function(I,B,Y){return k.current.useReducer(I,B,Y)},Gt.useRef=function(I){return k.current.useRef(I)},Gt.useState=function(I){return k.current.useState(I)},Gt.useSyncExternalStore=function(I,B,Y){return k.current.useSyncExternalStore(I,B,Y)},Gt.useTransition=function(){return k.current.useTransition()},Gt.version=&quot;18.3.1&quot;,Gt}var T_;function dc(){return T_||(T_=1,bg.exports=QM()),bg.exports}var I_;function JM(){if(I_)return iu;I_=1;var e=dc(),r=Symbol.for(&quot;react.element&quot;),t=Symbol.for(&quot;react.fragment&quot;),n=Object.prototype.hasOwnProperty,l=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(u,o,s){var c,f={},h=null,m=null;s!==void 0&amp;&amp;(h=&quot;&quot;+s),o.key!==void 0&amp;&amp;(h=&quot;&quot;+o.key),o.ref!==void 0&amp;&amp;(m=o.ref);for(c in o)n.call(o,c)&amp;&amp;!i.hasOwnProperty(c)&amp;&amp;(f[c]=o[c]);if(u&amp;&amp;u.defaultProps)for(c in o=u.defaultProps,o)f[c]===void 0&amp;&amp;(f[c]=o[c]);return{$$typeof:r,type:u,key:h,ref:m,props:f,_owner:l.current}}return iu.Fragment=t,iu.jsx=a,iu.jsxs=a,iu}var R_;function eO(){return R_||(R_=1,yg.exports=JM()),yg.exports}var d=eO(),F=dc();const Lk=ds(F),Fk=ZM({__proto__:null,default:Lk},[F]);var Bf={},xg={exports:{}},ni={},wg={exports:{}},_g={};var D_;function tO(){return D_||(D_=1,(function(e){function r(S,N){var M=S.length;S.push(N);e:for(;0&lt;M;){var I=M-1&gt;&gt;&gt;1,B=S[I];if(0&lt;l(B,N))S[I]=N,S[M]=B,M=I;else break e}}function t(S){return S.length===0?null:S[0]}function n(S){if(S.length===0)return null;var N=S[0],M=S.pop();if(M!==N){S[0]=M;e:for(var I=0,B=S.length,Y=B&gt;&gt;&gt;1;I&lt;Y;){var Z=2*(I+1)-1,ie=S[Z],$=Z+1,ee=S[$];if(0&gt;l(ie,M))$&lt;B&amp;&amp;0&gt;l(ee,ie)?(S[I]=ee,S[$]=M,I=$):(S[I]=ie,S[Z]=M,I=Z);else if($&lt;B&amp;&amp;0&gt;l(ee,M))S[I]=ee,S[$]=M,I=$;else break e}}return N}function l(S,N){var M=S.sortIndex-N.sortIndex;return M!==0?M:S.id-N.id}if(typeof performance==&quot;object&quot;&amp;&amp;typeof performance.now==&quot;function&quot;){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,u=a.now();e.unstable_now=function(){return a.now()-u}}var o=[],s=[],c=1,f=null,h=3,m=!1,p=!1,v=!1,g=typeof setTimeout==&quot;function&quot;?setTimeout:null,b=typeof clearTimeout==&quot;function&quot;?clearTimeout:null,x=typeof setImmediate&lt;&quot;u&quot;?setImmediate:null;typeof navigator&lt;&quot;u&quot;&amp;&amp;navigator.scheduling!==void 0&amp;&amp;navigator.scheduling.isInputPending!==void 0&amp;&amp;navigator.scheduling.isInputPending.bind(navigator.scheduling);function _(S){for(var N=t(s);N!==null;){if(N.callback===null)n(s);else if(N.startTime&lt;=S)n(s),N.sortIndex=N.expirationTime,r(o,N);else break;N=t(s)}}function C(S){if(v=!1,_(S),!p)if(t(o)!==null)p=!0,j(O);else{var N=t(s);N!==null&amp;&amp;k(C,N.startTime-S)}}function O(S,N){p=!1,v&amp;&amp;(v=!1,b(L),L=-1),m=!0;var M=h;try{for(_(N),f=t(o);f!==null&amp;&amp;(!(f.expirationTime&gt;N)||S&amp;&amp;!K());){var I=f.callback;if(typeof I==&quot;function&quot;){f.callback=null,h=f.priorityLevel;var B=I(f.expirationTime&lt;=N);N=e.unstable_now(),typeof B==&quot;function&quot;?f.callback=B:f===t(o)&amp;&amp;n(o),_(N)}else n(o);f=t(o)}if(f!==null)var Y=!0;else{var Z=t(s);Z!==null&amp;&amp;k(C,Z.startTime-N),Y=!1}return Y}finally{f=null,h=M,m=!1}}var R=!1,H=null,L=-1,q=5,W=-1;function K(){return!(e.unstable_now()-W&lt;q)}function U(){if(H!==null){var S=e.unstable_now();W=S;var N=!0;try{N=H(!0,S)}finally{N?P():(R=!1,H=null)}}else R=!1}var P;if(typeof x==&quot;function&quot;)P=function(){x(U)};else if(typeof MessageChannel&lt;&quot;u&quot;){var D=new MessageChannel,E=D.port2;D.port1.onmessage=U,P=function(){E.postMessage(null)}}else P=function(){g(U,0)};function j(S){H=S,R||(R=!0,P())}function k(S,N){L=g(function(){S(e.unstable_now())},N)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(S){S.callback=null},e.unstable_continueExecution=function(){p||m||(p=!0,j(O))},e.unstable_forceFrameRate=function(S){0&gt;S||125&lt;S?console.error(&quot;forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported&quot;):q=0&lt;S?Math.floor(1e3/S):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return t(o)},e.unstable_next=function(S){switch(h){case 1:case 2:case 3:var N=3;break;default:N=h}var M=h;h=N;try{return S()}finally{h=M}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(S,N){switch(S){case 1:case 2:case 3:case 4:case 5:break;default:S=3}var M=h;h=S;try{return N()}finally{h=M}},e.unstable_scheduleCallback=function(S,N,M){var I=e.unstable_now();switch(typeof M==&quot;object&quot;&amp;&amp;M!==null?(M=M.delay,M=typeof M==&quot;number&quot;&amp;&amp;0&lt;M?I+M:I):M=I,S){case 1:var B=-1;break;case 2:B=250;break;case 5:B=1073741823;break;case 4:B=1e4;break;default:B=5e3}return B=M+B,S={id:c++,callback:N,priorityLevel:S,startTime:M,expirationTime:B,sortIndex:-1},M&gt;I?(S.sortIndex=M,r(s,S),t(o)===null&amp;&amp;S===t(s)&amp;&amp;(v?(b(L),L=-1):v=!0,k(C,M-I))):(S.sortIndex=B,r(o,S),p||m||(p=!0,j(O))),S},e.unstable_shouldYield=K,e.unstable_wrapCallback=function(S){var N=h;return function(){var M=h;h=N;try{return S.apply(this,arguments)}finally{h=M}}}})(_g)),_g}var L_;function rO(){return L_||(L_=1,wg.exports=tO()),wg.exports}var F_;function nO(){if(F_)return ni;F_=1;var e=dc(),r=rO();function t(y){for(var w=&quot;https://reactjs.org/docs/error-decoder.html?invariant=&quot;+y,A=1;A&lt;arguments.length;A++)w+=&quot;&amp;args[]=&quot;+encodeURIComponent(arguments[A]);return&quot;Minified React error #&quot;+y+&quot;; visit &quot;+w+&quot; for the full message or use the non-minified dev environment for full errors and additional helpful warnings.&quot;}var n=new Set,l={};function i(y,w){a(y,w),a(y+&quot;Capture&quot;,w)}function a(y,w){for(l[y]=w,y=0;y&lt;w.length;y++)n.add(w[y])}var u=!(typeof window&gt;&quot;u&quot;||typeof window.document&gt;&quot;u&quot;||typeof window.document.createElement&gt;&quot;u&quot;),o=Object.prototype.hasOwnProperty,s=/^[: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]*$/,c={},f={};function h(y){return o.call(f,y)?!0:o.call(c,y)?!1:s.test(y)?f[y]=!0:(c[y]=!0,!1)}function m(y,w,A,V){if(A!==null&amp;&amp;A.type===0)return!1;switch(typeof w){case&quot;function&quot;:case&quot;symbol&quot;:return!0;case&quot;boolean&quot;:return V?!1:A!==null?!A.acceptsBooleans:(y=y.toLowerCase().slice(0,5),y!==&quot;data-&quot;&amp;&amp;y!==&quot;aria-&quot;);default:return!1}}function p(y,w,A,V){if(w===null||typeof w&gt;&quot;u&quot;||m(y,w,A,V))return!0;if(V)return!1;if(A!==null)switch(A.type){case 3:return!w;case 4:return w===!1;case 5:return isNaN(w);case 6:return isNaN(w)||1&gt;w}return!1}function v(y,w,A,V,G,J,ae){this.acceptsBooleans=w===2||w===3||w===4,this.attributeName=V,this.attributeNamespace=G,this.mustUseProperty=A,this.propertyName=y,this.type=w,this.sanitizeURL=J,this.removeEmptyString=ae}var g={};&quot;children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style&quot;.split(&quot; &quot;).forEach(function(y){g[y]=new v(y,0,!1,y,null,!1,!1)}),[[&quot;acceptCharset&quot;,&quot;accept-charset&quot;],[&quot;className&quot;,&quot;class&quot;],[&quot;htmlFor&quot;,&quot;for&quot;],[&quot;httpEquiv&quot;,&quot;http-equiv&quot;]].forEach(function(y){var w=y[0];g[w]=new v(w,1,!1,y[1],null,!1,!1)}),[&quot;contentEditable&quot;,&quot;draggable&quot;,&quot;spellCheck&quot;,&quot;value&quot;].forEach(function(y){g[y]=new v(y,2,!1,y.toLowerCase(),null,!1,!1)}),[&quot;autoReverse&quot;,&quot;externalResourcesRequired&quot;,&quot;focusable&quot;,&quot;preserveAlpha&quot;].forEach(function(y){g[y]=new v(y,2,!1,y,null,!1,!1)}),&quot;allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope&quot;.split(&quot; &quot;).forEach(function(y){g[y]=new v(y,3,!1,y.toLowerCase(),null,!1,!1)}),[&quot;checked&quot;,&quot;multiple&quot;,&quot;muted&quot;,&quot;selected&quot;].forEach(function(y){g[y]=new v(y,3,!0,y,null,!1,!1)}),[&quot;capture&quot;,&quot;download&quot;].forEach(function(y){g[y]=new v(y,4,!1,y,null,!1,!1)}),[&quot;cols&quot;,&quot;rows&quot;,&quot;size&quot;,&quot;span&quot;].forEach(function(y){g[y]=new v(y,6,!1,y,null,!1,!1)}),[&quot;rowSpan&quot;,&quot;start&quot;].forEach(function(y){g[y]=new v(y,5,!1,y.toLowerCase(),null,!1,!1)});var b=/[\-:]([a-z])/g;function x(y){return y[1].toUpperCase()}&quot;accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height&quot;.split(&quot; &quot;).forEach(function(y){var w=y.replace(b,x);g[w]=new v(w,1,!1,y,null,!1,!1)}),&quot;xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type&quot;.split(&quot; &quot;).forEach(function(y){var w=y.replace(b,x);g[w]=new v(w,1,!1,y,&quot;http://www.w3.org/1999/xlink&quot;,!1,!1)}),[&quot;xml:base&quot;,&quot;xml:lang&quot;,&quot;xml:space&quot;].forEach(function(y){var w=y.replace(b,x);g[w]=new v(w,1,!1,y,&quot;http://www.w3.org/XML/1998/namespace&quot;,!1,!1)}),[&quot;tabIndex&quot;,&quot;crossOrigin&quot;].forEach(function(y){g[y]=new v(y,1,!1,y.toLowerCase(),null,!1,!1)}),g.xlinkHref=new v(&quot;xlinkHref&quot;,1,!1,&quot;xlink:href&quot;,&quot;http://www.w3.org/1999/xlink&quot;,!0,!1),[&quot;src&quot;,&quot;href&quot;,&quot;action&quot;,&quot;formAction&quot;].forEach(function(y){g[y]=new v(y,1,!1,y.toLowerCase(),null,!0,!0)});function _(y,w,A,V){var G=g.hasOwnProperty(w)?g[w]:null;(G!==null?G.type!==0:V||!(2&lt;w.length)||w[0]!==&quot;o&quot;&amp;&amp;w[0]!==&quot;O&quot;||w[1]!==&quot;n&quot;&amp;&amp;w[1]!==&quot;N&quot;)&amp;&amp;(p(w,A,G,V)&amp;&amp;(A=null),V||G===null?h(w)&amp;&amp;(A===null?y.removeAttribute(w):y.setAttribute(w,&quot;&quot;+A)):G.mustUseProperty?y[G.propertyName]=A===null?G.type===3?!1:&quot;&quot;:A:(w=G.attributeName,V=G.attributeNamespace,A===null?y.removeAttribute(w):(G=G.type,A=G===3||G===4&amp;&amp;A===!0?&quot;&quot;:&quot;&quot;+A,V?y.setAttributeNS(V,w,A):y.setAttribute(w,A))))}var C=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,O=Symbol.for(&quot;react.element&quot;),R=Symbol.for(&quot;react.portal&quot;),H=Symbol.for(&quot;react.fragment&quot;),L=Symbol.for(&quot;react.strict_mode&quot;),q=Symbol.for(&quot;react.profiler&quot;),W=Symbol.for(&quot;react.provider&quot;),K=Symbol.for(&quot;react.context&quot;),U=Symbol.for(&quot;react.forward_ref&quot;),P=Symbol.for(&quot;react.suspense&quot;),D=Symbol.for(&quot;react.suspense_list&quot;),E=Symbol.for(&quot;react.memo&quot;),j=Symbol.for(&quot;react.lazy&quot;),k=Symbol.for(&quot;react.offscreen&quot;),S=Symbol.iterator;function N(y){return y===null||typeof y!=&quot;object&quot;?null:(y=S&amp;&amp;y[S]||y[&quot;@@iterator&quot;],typeof y==&quot;function&quot;?y:null)}var M=Object.assign,I;function B(y){if(I===void 0)try{throw Error()}catch(A){var w=A.stack.trim().match(/\n( *(at )?)/);I=w&amp;&amp;w[1]||&quot;&quot;}return`
`+I+y}var Y=!1;function Z(y,w){if(!y||Y)return&quot;&quot;;Y=!0;var A=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(w)if(w=function(){throw Error()},Object.defineProperty(w.prototype,&quot;props&quot;,{set:function(){throw Error()}}),typeof Reflect==&quot;object&quot;&amp;&amp;Reflect.construct){try{Reflect.construct(w,[])}catch(Me){var V=Me}Reflect.construct(y,[],w)}else{try{w.call()}catch(Me){V=Me}y.call(w.prototype)}else{try{throw Error()}catch(Me){V=Me}y()}}catch(Me){if(Me&amp;&amp;V&amp;&amp;typeof Me.stack==&quot;string&quot;){for(var G=Me.stack.split(`
`),J=V.stack.split(`
`),ae=G.length-1,ve=J.length-1;1&lt;=ae&amp;&amp;0&lt;=ve&amp;&amp;G[ae]!==J[ve];)ve--;for(;1&lt;=ae&amp;&amp;0&lt;=ve;ae--,ve--)if(G[ae]!==J[ve]){if(ae!==1||ve!==1)do if(ae--,ve--,0&gt;ve||G[ae]!==J[ve]){var xe=`
`+G[ae].replace(&quot; at new &quot;,&quot; at &quot;);return y.displayName&amp;&amp;xe.includes(&quot;&lt;anonymous&gt;&quot;)&amp;&amp;(xe=xe.replace(&quot;&lt;anonymous&gt;&quot;,y.displayName)),xe}while(1&lt;=ae&amp;&amp;0&lt;=ve);break}}}finally{Y=!1,Error.prepareStackTrace=A}return(y=y?y.displayName||y.name:&quot;&quot;)?B(y):&quot;&quot;}function ie(y){switch(y.tag){case 5:return B(y.type);case 16:return B(&quot;Lazy&quot;);case 13:return B(&quot;Suspense&quot;);case 19:return B(&quot;SuspenseList&quot;);case 0:case 2:case 15:return y=Z(y.type,!1),y;case 11:return y=Z(y.type.render,!1),y;case 1:return y=Z(y.type,!0),y;default:return&quot;&quot;}}function $(y){if(y==null)return null;if(typeof y==&quot;function&quot;)return y.displayName||y.name||null;if(typeof y==&quot;string&quot;)return y;switch(y){case H:return&quot;Fragment&quot;;case R:return&quot;Portal&quot;;case q:return&quot;Profiler&quot;;case L:return&quot;StrictMode&quot;;case P:return&quot;Suspense&quot;;case D:return&quot;SuspenseList&quot;}if(typeof y==&quot;object&quot;)switch(y.$$typeof){case K:return(y.displayName||&quot;Context&quot;)+&quot;.Consumer&quot;;case W:return(y._context.displayName||&quot;Context&quot;)+&quot;.Provider&quot;;case U:var w=y.render;return y=y.displayName,y||(y=w.displayName||w.name||&quot;&quot;,y=y!==&quot;&quot;?&quot;ForwardRef(&quot;+y+&quot;)&quot;:&quot;ForwardRef&quot;),y;case E:return w=y.displayName||null,w!==null?w:$(y.type)||&quot;Memo&quot;;case j:w=y._payload,y=y._init;try{return $(y(w))}catch{}}return null}function ee(y){var w=y.type;switch(y.tag){case 24:return&quot;Cache&quot;;case 9:return(w.displayName||&quot;Context&quot;)+&quot;.Consumer&quot;;case 10:return(w._context.displayName||&quot;Context&quot;)+&quot;.Provider&quot;;case 18:return&quot;DehydratedFragment&quot;;case 11:return y=w.render,y=y.displayName||y.name||&quot;&quot;,w.displayName||(y!==&quot;&quot;?&quot;ForwardRef(&quot;+y+&quot;)&quot;:&quot;ForwardRef&quot;);case 7:return&quot;Fragment&quot;;case 5:return w;case 4:return&quot;Portal&quot;;case 3:return&quot;Root&quot;;case 6:return&quot;Text&quot;;case 16:return $(w);case 8:return w===L?&quot;StrictMode&quot;:&quot;Mode&quot;;case 22:return&quot;Offscreen&quot;;case 12:return&quot;Profiler&quot;;case 21:return&quot;Scope&quot;;case 13:return&quot;Suspense&quot;;case 19:return&quot;SuspenseList&quot;;case 25:return&quot;TracingMarker&quot;;case 1:case 0:case 17:case 2:case 14:case 15:if(typeof w==&quot;function&quot;)return w.displayName||w.name||null;if(typeof w==&quot;string&quot;)return w}return null}function z(y){switch(typeof y){case&quot;boolean&quot;:case&quot;number&quot;:case&quot;string&quot;:case&quot;undefined&quot;:return y;case&quot;object&quot;:return y;default:return&quot;&quot;}}function T(y){var w=y.type;return(y=y.nodeName)&amp;&amp;y.toLowerCase()===&quot;input&quot;&amp;&amp;(w===&quot;checkbox&quot;||w===&quot;radio&quot;)}function X(y){var w=T(y)?&quot;checked&quot;:&quot;value&quot;,A=Object.getOwnPropertyDescriptor(y.constructor.prototype,w),V=&quot;&quot;+y[w];if(!y.hasOwnProperty(w)&amp;&amp;typeof A&lt;&quot;u&quot;&amp;&amp;typeof A.get==&quot;function&quot;&amp;&amp;typeof A.set==&quot;function&quot;){var G=A.get,J=A.set;return Object.defineProperty(y,w,{configurable:!0,get:function(){return G.call(this)},set:function(ae){V=&quot;&quot;+ae,J.call(this,ae)}}),Object.defineProperty(y,w,{enumerable:A.enumerable}),{getValue:function(){return V},setValue:function(ae){V=&quot;&quot;+ae},stopTracking:function(){y._valueTracker=null,delete y[w]}}}}function re(y){y._valueTracker||(y._valueTracker=X(y))}function ne(y){if(!y)return!1;var w=y._valueTracker;if(!w)return!0;var A=w.getValue(),V=&quot;&quot;;return y&amp;&amp;(V=T(y)?y.checked?&quot;true&quot;:&quot;false&quot;:y.value),y=V,y!==A?(w.setValue(y),!0):!1}function Q(y){if(y=y||(typeof document&lt;&quot;u&quot;?document:void 0),typeof y&gt;&quot;u&quot;)return null;try{return y.activeElement||y.body}catch{return y.body}}function te(y,w){var A=w.checked;return M({},w,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:A??y._wrapperState.initialChecked})}function de(y,w){var A=w.defaultValue==null?&quot;&quot;:w.defaultValue,V=w.checked!=null?w.checked:w.defaultChecked;A=z(w.value!=null?w.value:A),y._wrapperState={initialChecked:V,initialValue:A,controlled:w.type===&quot;checkbox&quot;||w.type===&quot;radio&quot;?w.checked!=null:w.value!=null}}function oe(y,w){w=w.checked,w!=null&amp;&amp;_(y,&quot;checked&quot;,w,!1)}function se(y,w){oe(y,w);var A=z(w.value),V=w.type;if(A!=null)V===&quot;number&quot;?(A===0&amp;&amp;y.value===&quot;&quot;||y.value!=A)&amp;&amp;(y.value=&quot;&quot;+A):y.value!==&quot;&quot;+A&amp;&amp;(y.value=&quot;&quot;+A);else if(V===&quot;submit&quot;||V===&quot;reset&quot;){y.removeAttribute(&quot;value&quot;);return}w.hasOwnProperty(&quot;value&quot;)?he(y,w.type,A):w.hasOwnProperty(&quot;defaultValue&quot;)&amp;&amp;he(y,w.type,z(w.defaultValue)),w.checked==null&amp;&amp;w.defaultChecked!=null&amp;&amp;(y.defaultChecked=!!w.defaultChecked)}function fe(y,w,A){if(w.hasOwnProperty(&quot;value&quot;)||w.hasOwnProperty(&quot;defaultValue&quot;)){var V=w.type;if(!(V!==&quot;submit&quot;&amp;&amp;V!==&quot;reset&quot;||w.value!==void 0&amp;&amp;w.value!==null))return;w=&quot;&quot;+y._wrapperState.initialValue,A||w===y.value||(y.value=w),y.defaultValue=w}A=y.name,A!==&quot;&quot;&amp;&amp;(y.name=&quot;&quot;),y.defaultChecked=!!y._wrapperState.initialChecked,A!==&quot;&quot;&amp;&amp;(y.name=A)}function he(y,w,A){(w!==&quot;number&quot;||Q(y.ownerDocument)!==y)&amp;&amp;(A==null?y.defaultValue=&quot;&quot;+y._wrapperState.initialValue:y.defaultValue!==&quot;&quot;+A&amp;&amp;(y.defaultValue=&quot;&quot;+A))}var ce=Array.isArray;function ge(y,w,A,V){if(y=y.options,w){w={};for(var G=0;G&lt;A.length;G++)w[&quot;$&quot;+A[G]]=!0;for(A=0;A&lt;y.length;A++)G=w.hasOwnProperty(&quot;$&quot;+y[A].value),y[A].selected!==G&amp;&amp;(y[A].selected=G),G&amp;&amp;V&amp;&amp;(y[A].defaultSelected=!0)}else{for(A=&quot;&quot;+z(A),w=null,G=0;G&lt;y.length;G++){if(y[G].value===A){y[G].selected=!0,V&amp;&amp;(y[G].defaultSelected=!0);return}w!==null||y[G].disabled||(w=y[G])}w!==null&amp;&amp;(w.selected=!0)}}function ye(y,w){if(w.dangerouslySetInnerHTML!=null)throw Error(t(91));return M({},w,{value:void 0,defaultValue:void 0,children:&quot;&quot;+y._wrapperState.initialValue})}function pe(y,w){var A=w.value;if(A==null){if(A=w.children,w=w.defaultValue,A!=null){if(w!=null)throw Error(t(92));if(ce(A)){if(1&lt;A.length)throw Error(t(93));A=A[0]}w=A}w==null&amp;&amp;(w=&quot;&quot;),A=w}y._wrapperState={initialValue:z(A)}}function le(y,w){var A=z(w.value),V=z(w.defaultValue);A!=null&amp;&amp;(A=&quot;&quot;+A,A!==y.value&amp;&amp;(y.value=A),w.defaultValue==null&amp;&amp;y.defaultValue!==A&amp;&amp;(y.defaultValue=A)),V!=null&amp;&amp;(y.defaultValue=&quot;&quot;+V)}function Ce(y){var w=y.textContent;w===y._wrapperState.initialValue&amp;&amp;w!==&quot;&quot;&amp;&amp;w!==null&amp;&amp;(y.value=w)}function Ae(y){switch(y){case&quot;svg&quot;:return&quot;http://www.w3.org/2000/svg&quot;;case&quot;math&quot;:return&quot;http://www.w3.org/1998/Math/MathML&quot;;default:return&quot;http://www.w3.org/1999/xhtml&quot;}}function je(y,w){return y==null||y===&quot;http://www.w3.org/1999/xhtml&quot;?Ae(w):y===&quot;http://www.w3.org/2000/svg&quot;&amp;&amp;w===&quot;foreignObject&quot;?&quot;http://www.w3.org/1999/xhtml&quot;:y}var Pe,Qe=(function(y){return typeof MSApp&lt;&quot;u&quot;&amp;&amp;MSApp.execUnsafeLocalFunction?function(w,A,V,G){MSApp.execUnsafeLocalFunction(function(){return y(w,A,V,G)})}:y})(function(y,w){if(y.namespaceURI!==&quot;http://www.w3.org/2000/svg&quot;||&quot;innerHTML&quot;in y)y.innerHTML=w;else{for(Pe=Pe||document.createElement(&quot;div&quot;),Pe.innerHTML=&quot;&lt;svg&gt;&quot;+w.valueOf().toString()+&quot;&lt;/svg&gt;&quot;,w=Pe.firstChild;y.firstChild;)y.removeChild(y.firstChild);for(;w.firstChild;)y.appendChild(w.firstChild)}});function Ue(y,w){if(w){var A=y.firstChild;if(A&amp;&amp;A===y.lastChild&amp;&amp;A.nodeType===3){A.nodeValue=w;return}}y.textContent=w}var Xe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},rt=[&quot;Webkit&quot;,&quot;ms&quot;,&quot;Moz&quot;,&quot;O&quot;];Object.keys(Xe).forEach(function(y){rt.forEach(function(w){w=w+y.charAt(0).toUpperCase()+y.substring(1),Xe[w]=Xe[y]})});function qe(y,w,A){return w==null||typeof w==&quot;boolean&quot;||w===&quot;&quot;?&quot;&quot;:A||typeof w!=&quot;number&quot;||w===0||Xe.hasOwnProperty(y)&amp;&amp;Xe[y]?(&quot;&quot;+w).trim():w+&quot;px&quot;}function ze(y,w){y=y.style;for(var A in w)if(w.hasOwnProperty(A)){var V=A.indexOf(&quot;--&quot;)===0,G=qe(A,w[A],V);A===&quot;float&quot;&amp;&amp;(A=&quot;cssFloat&quot;),V?y.setProperty(A,G):y[A]=G}}var Ye=M({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function et(y,w){if(w){if(Ye[y]&amp;&amp;(w.children!=null||w.dangerouslySetInnerHTML!=null))throw Error(t(137,y));if(w.dangerouslySetInnerHTML!=null){if(w.children!=null)throw Error(t(60));if(typeof w.dangerouslySetInnerHTML!=&quot;object&quot;||!(&quot;__html&quot;in w.dangerouslySetInnerHTML))throw Error(t(61))}if(w.style!=null&amp;&amp;typeof w.style!=&quot;object&quot;)throw Error(t(62))}}function Je(y,w){if(y.indexOf(&quot;-&quot;)===-1)return typeof w.is==&quot;string&quot;;switch(y){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 Rt=null;function qt(y){return y=y.target||y.srcElement||window,y.correspondingUseElement&amp;&amp;(y=y.correspondingUseElement),y.nodeType===3?y.parentNode:y}var st=null,Tt=null,jt=null;function St(y){if(y=Vc(y)){if(typeof st!=&quot;function&quot;)throw Error(t(280));var w=y.stateNode;w&amp;&amp;(w=Jd(w),st(y.stateNode,y.type,w))}}function It(y){Tt?jt?jt.push(y):jt=[y]:Tt=y}function Bt(){if(Tt){var y=Tt,w=jt;if(jt=Tt=null,St(y),w)for(y=0;y&lt;w.length;y++)St(w[y])}}function ct(y,w){return y(w)}function $t(){}var Ht=!1;function yt(y,w,A){if(Ht)return y(w,A);Ht=!0;try{return ct(y,w,A)}finally{Ht=!1,(Tt!==null||jt!==null)&amp;&amp;($t(),Bt())}}function Ut(y,w){var A=y.stateNode;if(A===null)return null;var V=Jd(A);if(V===null)return null;A=V[w];e:switch(w){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;:(V=!V.disabled)||(y=y.type,V=!(y===&quot;button&quot;||y===&quot;input&quot;||y===&quot;select&quot;||y===&quot;textarea&quot;)),y=!V;break e;default:y=!1}if(y)return null;if(A&amp;&amp;typeof A!=&quot;function&quot;)throw Error(t(231,w,typeof A));return A}var Xt=!1;if(u)try{var Nt={};Object.defineProperty(Nt,&quot;passive&quot;,{get:function(){Xt=!0}}),window.addEventListener(&quot;test&quot;,Nt,Nt),window.removeEventListener(&quot;test&quot;,Nt,Nt)}catch{Xt=!1}function be(y,w,A,V,G,J,ae,ve,xe){var Me=Array.prototype.slice.call(arguments,3);try{w.apply(A,Me)}catch(Ve){this.onError(Ve)}}var ke=!1,Te=null,Ke=!1,ft=null,Ze={onError:function(y){ke=!0,Te=y}};function kt(y,w,A,V,G,J,ae,ve,xe){ke=!1,Te=null,be.apply(Ze,arguments)}function gt(y,w,A,V,G,J,ae,ve,xe){if(kt.apply(this,arguments),ke){if(ke){var Me=Te;ke=!1,Te=null}else throw Error(t(198));Ke||(Ke=!0,ft=Me)}}function tt(y){var w=y,A=y;if(y.alternate)for(;w.return;)w=w.return;else{y=w;do w=y,(w.flags&amp;4098)!==0&amp;&amp;(A=w.return),y=w.return;while(y)}return w.tag===3?A:null}function _t(y){if(y.tag===13){var w=y.memoizedState;if(w===null&amp;&amp;(y=y.alternate,y!==null&amp;&amp;(w=y.memoizedState)),w!==null)return w.dehydrated}return null}function bt(y){if(tt(y)!==y)throw Error(t(188))}function Ot(y){var w=y.alternate;if(!w){if(w=tt(y),w===null)throw Error(t(188));return w!==y?null:y}for(var A=y,V=w;;){var G=A.return;if(G===null)break;var J=G.alternate;if(J===null){if(V=G.return,V!==null){A=V;continue}break}if(G.child===J.child){for(J=G.child;J;){if(J===A)return bt(G),y;if(J===V)return bt(G),w;J=J.sibling}throw Error(t(188))}if(A.return!==V.return)A=G,V=J;else{for(var ae=!1,ve=G.child;ve;){if(ve===A){ae=!0,A=G,V=J;break}if(ve===V){ae=!0,V=G,A=J;break}ve=ve.sibling}if(!ae){for(ve=J.child;ve;){if(ve===A){ae=!0,A=J,V=G;break}if(ve===V){ae=!0,V=J,A=G;break}ve=ve.sibling}if(!ae)throw Error(t(189))}}if(A.alternate!==V)throw Error(t(190))}if(A.tag!==3)throw Error(t(188));return A.stateNode.current===A?y:w}function ir(y){return y=Ot(y),y!==null?Lt(y):null}function Lt(y){if(y.tag===5||y.tag===6)return y;for(y=y.child;y!==null;){var w=Lt(y);if(w!==null)return w;y=y.sibling}return null}var cr=r.unstable_scheduleCallback,or=r.unstable_cancelCallback,Tr=r.unstable_shouldYield,me=r.unstable_requestPaint,_e=r.unstable_now,Ie=r.unstable_getCurrentPriorityLevel,Fe=r.unstable_ImmediatePriority,Se=r.unstable_UserBlockingPriority,De=r.unstable_NormalPriority,Be=r.unstable_LowPriority,Ct=r.unstable_IdlePriority,pt=null,Et=null;function lt(y){if(Et&amp;&amp;typeof Et.onCommitFiberRoot==&quot;function&quot;)try{Et.onCommitFiberRoot(pt,y,void 0,(y.current.flags&amp;128)===128)}catch{}}var zt=Math.clz32?Math.clz32:ur,Yt=Math.log,Qt=Math.LN2;function ur(y){return y&gt;&gt;&gt;=0,y===0?32:31-(Yt(y)/Qt|0)|0}var hr=64,Cr=4194304;function Vr(y){switch(y&amp;-y){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: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 y&amp;4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return y&amp;130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return y}}function nn(y,w){var A=y.pendingLanes;if(A===0)return 0;var V=0,G=y.suspendedLanes,J=y.pingedLanes,ae=A&amp;268435455;if(ae!==0){var ve=ae&amp;~G;ve!==0?V=Vr(ve):(J&amp;=ae,J!==0&amp;&amp;(V=Vr(J)))}else ae=A&amp;~G,ae!==0?V=Vr(ae):J!==0&amp;&amp;(V=Vr(J));if(V===0)return 0;if(w!==0&amp;&amp;w!==V&amp;&amp;(w&amp;G)===0&amp;&amp;(G=V&amp;-V,J=w&amp;-w,G&gt;=J||G===16&amp;&amp;(J&amp;4194240)!==0))return w;if((V&amp;4)!==0&amp;&amp;(V|=A&amp;16),w=y.entangledLanes,w!==0)for(y=y.entanglements,w&amp;=V;0&lt;w;)A=31-zt(w),G=1&lt;&lt;A,V|=y[A],w&amp;=~G;return V}function pn(y,w){switch(y){case 1:case 2:case 4:return w+250;case 8:case 16:case 32:case 64: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 w+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function bi(y,w){for(var A=y.suspendedLanes,V=y.pingedLanes,G=y.expirationTimes,J=y.pendingLanes;0&lt;J;){var ae=31-zt(J),ve=1&lt;&lt;ae,xe=G[ae];xe===-1?((ve&amp;A)===0||(ve&amp;V)!==0)&amp;&amp;(G[ae]=pn(ve,w)):xe&lt;=w&amp;&amp;(y.expiredLanes|=ve),J&amp;=~ve}}function xi(y){return y=y.pendingLanes&amp;-1073741825,y!==0?y:y&amp;1073741824?1073741824:0}function Pt(){var y=hr;return hr&lt;&lt;=1,(hr&amp;4194240)===0&amp;&amp;(hr=64),y}function Vt(y){for(var w=[],A=0;31&gt;A;A++)w.push(y);return w}function gn(y,w,A){y.pendingLanes|=w,w!==536870912&amp;&amp;(y.suspendedLanes=0,y.pingedLanes=0),y=y.eventTimes,w=31-zt(w),y[w]=A}function wi(y,w){var A=y.pendingLanes&amp;~w;y.pendingLanes=w,y.suspendedLanes=0,y.pingedLanes=0,y.expiredLanes&amp;=w,y.mutableReadLanes&amp;=w,y.entangledLanes&amp;=w,w=y.entanglements;var V=y.eventTimes;for(y=y.expirationTimes;0&lt;A;){var G=31-zt(A),J=1&lt;&lt;G;w[G]=0,V[G]=-1,y[G]=-1,A&amp;=~J}}function Vi(y,w){var A=y.entangledLanes|=w;for(y=y.entanglements;A;){var V=31-zt(A),G=1&lt;&lt;V;G&amp;w|y[V]&amp;w&amp;&amp;(y[V]|=w),A&amp;=~G}}var Ft=0;function Fr(y){return y&amp;=-y,1&lt;y?4&lt;y?(y&amp;268435455)!==0?16:536870912:4:1}var vn,qi,ms,Hi,Br,Wi=!1,li=[],Fn=null,Cn=null,En=null,Ki=new Map,_i=new Map,An=[],Fp=&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 submit&quot;.split(&quot; &quot;);function uo(y,w){switch(y){case&quot;focusin&quot;:case&quot;focusout&quot;:Fn=null;break;case&quot;dragenter&quot;:case&quot;dragleave&quot;:Cn=null;break;case&quot;mouseover&quot;:case&quot;mouseout&quot;:En=null;break;case&quot;pointerover&quot;:case&quot;pointerout&quot;:Ki.delete(w.pointerId);break;case&quot;gotpointercapture&quot;:case&quot;lostpointercapture&quot;:_i.delete(w.pointerId)}}function fo(y,w,A,V,G,J){return y===null||y.nativeEvent!==J?(y={blockedOn:w,domEventName:A,eventSystemFlags:V,nativeEvent:J,targetContainers:[G]},w!==null&amp;&amp;(w=Vc(w),w!==null&amp;&amp;qi(w)),y):(y.eventSystemFlags|=V,w=y.targetContainers,G!==null&amp;&amp;w.indexOf(G)===-1&amp;&amp;w.push(G),y)}function _d(y,w,A,V,G){switch(w){case&quot;focusin&quot;:return Fn=fo(Fn,y,w,A,V,G),!0;case&quot;dragenter&quot;:return Cn=fo(Cn,y,w,A,V,G),!0;case&quot;mouseover&quot;:return En=fo(En,y,w,A,V,G),!0;case&quot;pointerover&quot;:var J=G.pointerId;return Ki.set(J,fo(Ki.get(J)||null,y,w,A,V,G)),!0;case&quot;gotpointercapture&quot;:return J=G.pointerId,_i.set(J,fo(_i.get(J)||null,y,w,A,V,G)),!0}return!1}function pa(y){var w=ko(y.target);if(w!==null){var A=tt(w);if(A!==null){if(w=A.tag,w===13){if(w=_t(A),w!==null){y.blockedOn=w,Br(y.priority,function(){ms(A)});return}}else if(w===3&amp;&amp;A.stateNode.current.memoizedState.isDehydrated){y.blockedOn=A.tag===3?A.stateNode.containerInfo:null;return}}}y.blockedOn=null}function ps(y){if(y.blockedOn!==null)return!1;for(var w=y.targetContainers;0&lt;w.length;){var A=ml(y.domEventName,y.eventSystemFlags,w[0],y.nativeEvent);if(A===null){A=y.nativeEvent;var V=new A.constructor(A.type,A);Rt=V,A.target.dispatchEvent(V),Rt=null}else return w=Vc(A),w!==null&amp;&amp;qi(w),y.blockedOn=A,!1;w.shift()}return!0}function Nc(y,w,A){ps(y)&amp;&amp;A.delete(w)}function jd(){Wi=!1,Fn!==null&amp;&amp;ps(Fn)&amp;&amp;(Fn=null),Cn!==null&amp;&amp;ps(Cn)&amp;&amp;(Cn=null),En!==null&amp;&amp;ps(En)&amp;&amp;(En=null),Ki.forEach(Nc),_i.forEach(Nc)}function ga(y,w){y.blockedOn===w&amp;&amp;(y.blockedOn=null,Wi||(Wi=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,jd)))}function va(y){function w(G){return ga(G,y)}if(0&lt;li.length){ga(li[0],y);for(var A=1;A&lt;li.length;A++){var V=li[A];V.blockedOn===y&amp;&amp;(V.blockedOn=null)}}for(Fn!==null&amp;&amp;ga(Fn,y),Cn!==null&amp;&amp;ga(Cn,y),En!==null&amp;&amp;ga(En,y),Ki.forEach(w),_i.forEach(w),A=0;A&lt;An.length;A++)V=An[A],V.blockedOn===y&amp;&amp;(V.blockedOn=null);for(;0&lt;An.length&amp;&amp;(A=An[0],A.blockedOn===null);)pa(A),A.blockedOn===null&amp;&amp;An.shift()}var Ts=C.ReactCurrentBatchConfig,ho=!0;function Sd(y,w,A,V){var G=Ft,J=Ts.transition;Ts.transition=null;try{Ft=1,ci(y,w,A,V)}finally{Ft=G,Ts.transition=J}}function kd(y,w,A,V){var G=Ft,J=Ts.transition;Ts.transition=null;try{Ft=4,ci(y,w,A,V)}finally{Ft=G,Ts.transition=J}}function ci(y,w,A,V){if(ho){var G=ml(y,w,A,V);if(G===null)l0(y,w,V,mo,A),uo(y,V);else if(_d(G,y,w,A,V))V.stopPropagation();else if(uo(y,V),w&amp;4&amp;&amp;-1&lt;Fp.indexOf(y)){for(;G!==null;){var J=Vc(G);if(J!==null&amp;&amp;vn(J),J=ml(y,w,A,V),J===null&amp;&amp;l0(y,w,V,mo,A),J===G)break;G=J}G!==null&amp;&amp;V.stopPropagation()}else l0(y,w,V,null,A)}}var mo=null;function ml(y,w,A,V){if(mo=null,y=qt(V),y=ko(y),y!==null)if(w=tt(y),w===null)y=null;else if(A=w.tag,A===13){if(y=_t(w),y!==null)return y;y=null}else if(A===3){if(w.stateNode.current.memoizedState.isDehydrated)return w.tag===3?w.stateNode.containerInfo:null;y=null}else w!==y&amp;&amp;(y=null);return mo=y,null}function ya(y){switch(y){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;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 1;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;toggle&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 4;case&quot;message&quot;:switch(Ie()){case Fe:return 1;case Se:return 4;case De:case Be:return 16;case Ct:return 536870912;default:return 16}default:return 16}}var gs=null,ba=null,po=null;function Xi(){if(po)return po;var y,w=ba,A=w.length,V,G=&quot;value&quot;in gs?gs.value:gs.textContent,J=G.length;for(y=0;y&lt;A&amp;&amp;w[y]===G[y];y++);var ae=A-y;for(V=1;V&lt;=ae&amp;&amp;w[A-V]===G[J-V];V++);return po=G.slice(y,1&lt;V?1-V:void 0)}function pl(y){var w=y.keyCode;return&quot;charCode&quot;in y?(y=y.charCode,y===0&amp;&amp;w===13&amp;&amp;(y=13)):y=w,y===10&amp;&amp;(y=13),32&lt;=y||y===13?y:0}function go(){return!0}function Is(){return!1}function yn(y){function w(A,V,G,J,ae){this._reactName=A,this._targetInst=G,this.type=V,this.nativeEvent=J,this.target=ae,this.currentTarget=null;for(var ve in y)y.hasOwnProperty(ve)&amp;&amp;(A=y[ve],this[ve]=A?A(J):J[ve]);return this.isDefaultPrevented=(J.defaultPrevented!=null?J.defaultPrevented:J.returnValue===!1)?go:Is,this.isPropagationStopped=Is,this}return M(w.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=go)},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=go)},persist:function(){},isPersistent:go}),w}var xa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(y){return y.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},gl=yn(xa),vo=M({},xa,{view:0,detail:0}),yo=yn(vo),Cc,Ec,bo,vl=M({},vo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:vs,button:0,buttons:0,relatedTarget:function(y){return y.relatedTarget===void 0?y.fromElement===y.srcElement?y.toElement:y.fromElement:y.relatedTarget},movementX:function(y){return&quot;movementX&quot;in y?y.movementX:(y!==bo&amp;&amp;(bo&amp;&amp;y.type===&quot;mousemove&quot;?(Cc=y.screenX-bo.screenX,Ec=y.screenY-bo.screenY):Ec=Cc=0,bo=y),Cc)},movementY:function(y){return&quot;movementY&quot;in y?y.movementY:Ec}}),Ac=yn(vl),Bp=M({},vl,{dataTransfer:0}),Nd=yn(Bp),Cd=M({},vo,{relatedTarget:0}),xo=yn(Cd),zp=M({},xa,{animationName:0,elapsedTime:0,pseudoElement:0}),yl=yn(zp),$p=M({},xa,{clipboardData:function(y){return&quot;clipboardData&quot;in y?y.clipboardData:window.clipboardData}}),Ed=yn($p),Ad=M({},xa,{data:0}),Md=yn(Ad),Od={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;},Up={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;},wa={Alt:&quot;altKey&quot;,Control:&quot;ctrlKey&quot;,Meta:&quot;metaKey&quot;,Shift:&quot;shiftKey&quot;};function Gi(y){var w=this.nativeEvent;return w.getModifierState?w.getModifierState(y):(y=wa[y])?!!w[y]:!1}function vs(){return Gi}var Vp=M({},vo,{key:function(y){if(y.key){var w=Od[y.key]||y.key;if(w!==&quot;Unidentified&quot;)return w}return y.type===&quot;keypress&quot;?(y=pl(y),y===13?&quot;Enter&quot;:String.fromCharCode(y)):y.type===&quot;keydown&quot;||y.type===&quot;keyup&quot;?Up[y.keyCode]||&quot;Unidentified&quot;:&quot;&quot;},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:vs,charCode:function(y){return y.type===&quot;keypress&quot;?pl(y):0},keyCode:function(y){return y.type===&quot;keydown&quot;||y.type===&quot;keyup&quot;?y.keyCode:0},which:function(y){return y.type===&quot;keypress&quot;?pl(y):y.type===&quot;keydown&quot;||y.type===&quot;keyup&quot;?y.keyCode:0}}),Mc=yn(Vp),wo=M({},vl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Oc=yn(wo),qp=M({},vo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:vs}),Hp=yn(qp),Wp=M({},xa,{propertyName:0,elapsedTime:0,pseudoElement:0}),Kp=yn(Wp),Xp=M({},vl,{deltaX:function(y){return&quot;deltaX&quot;in y?y.deltaX:&quot;wheelDeltaX&quot;in y?-y.wheelDeltaX:0},deltaY:function(y){return&quot;deltaY&quot;in y?y.deltaY:&quot;wheelDeltaY&quot;in y?-y.wheelDeltaY:&quot;wheelDelta&quot;in y?-y.wheelDelta:0},deltaZ:0,deltaMode:0}),Gp=yn(Xp),bl=[9,13,27,32],Pc=u&amp;&amp;&quot;CompositionEvent&quot;in window,_o=null;u&amp;&amp;&quot;documentMode&quot;in document&amp;&amp;(_o=document.documentMode);var Tc=u&amp;&amp;&quot;TextEvent&quot;in window&amp;&amp;!_o,Pd=u&amp;&amp;(!Pc||_o&amp;&amp;8&lt;_o&amp;&amp;11&gt;=_o),Td=&quot; &quot;,Id=!1;function Rd(y,w){switch(y){case&quot;keyup&quot;:return bl.indexOf(w.keyCode)!==-1;case&quot;keydown&quot;:return w.keyCode!==229;case&quot;keypress&quot;:case&quot;mousedown&quot;:case&quot;focusout&quot;:return!0;default:return!1}}function Ic(y){return y=y.detail,typeof y==&quot;object&quot;&amp;&amp;&quot;data&quot;in y?y.data:null}var _a=!1;function Yp(y,w){switch(y){case&quot;compositionend&quot;:return Ic(w);case&quot;keypress&quot;:return w.which!==32?null:(Id=!0,Td);case&quot;textInput&quot;:return y=w.data,y===Td&amp;&amp;Id?null:y;default:return null}}function Zp(y,w){if(_a)return y===&quot;compositionend&quot;||!Pc&amp;&amp;Rd(y,w)?(y=Xi(),po=ba=gs=null,_a=!1,y):null;switch(y){case&quot;paste&quot;:return null;case&quot;keypress&quot;:if(!(w.ctrlKey||w.altKey||w.metaKey)||w.ctrlKey&amp;&amp;w.altKey){if(w.char&amp;&amp;1&lt;w.char.length)return w.char;if(w.which)return String.fromCharCode(w.which)}return null;case&quot;compositionend&quot;:return Pd&amp;&amp;w.locale!==&quot;ko&quot;?null:w.data;default:return null}}var Qp={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 Dd(y){var w=y&amp;&amp;y.nodeName&amp;&amp;y.nodeName.toLowerCase();return w===&quot;input&quot;?!!Qp[y.type]:w===&quot;textarea&quot;}function Ld(y,w,A,V){It(V),w=Yd(w,&quot;onChange&quot;),0&lt;w.length&amp;&amp;(A=new gl(&quot;onChange&quot;,&quot;change&quot;,null,A,V),y.push({event:A,listeners:w}))}var jo=null,So=null;function Jp(y){X2(y,0)}function xl(y){var w=kl(y);if(ne(w))return y}function e0(y,w){if(y===&quot;change&quot;)return w}var Fd=!1;if(u){var Rc;if(u){var Dc=&quot;oninput&quot;in document;if(!Dc){var Bd=document.createElement(&quot;div&quot;);Bd.setAttribute(&quot;oninput&quot;,&quot;return;&quot;),Dc=typeof Bd.oninput==&quot;function&quot;}Rc=Dc}else Rc=!1;Fd=Rc&amp;&amp;(!document.documentMode||9&lt;document.documentMode)}function zd(){jo&amp;&amp;(jo.detachEvent(&quot;onpropertychange&quot;,$d),So=jo=null)}function $d(y){if(y.propertyName===&quot;value&quot;&amp;&amp;xl(So)){var w=[];Ld(w,So,y,qt(y)),yt(Jp,w)}}function t0(y,w,A){y===&quot;focusin&quot;?(zd(),jo=w,So=A,jo.attachEvent(&quot;onpropertychange&quot;,$d)):y===&quot;focusout&quot;&amp;&amp;zd()}function r0(y){if(y===&quot;selectionchange&quot;||y===&quot;keyup&quot;||y===&quot;keydown&quot;)return xl(So)}function n0(y,w){if(y===&quot;click&quot;)return xl(w)}function Lc(y,w){if(y===&quot;input&quot;||y===&quot;change&quot;)return xl(w)}function Ud(y,w){return y===w&amp;&amp;(y!==0||1/y===1/w)||y!==y&amp;&amp;w!==w}var Bn=typeof Object.is==&quot;function&quot;?Object.is:Ud;function ja(y,w){if(Bn(y,w))return!0;if(typeof y!=&quot;object&quot;||y===null||typeof w!=&quot;object&quot;||w===null)return!1;var A=Object.keys(y),V=Object.keys(w);if(A.length!==V.length)return!1;for(V=0;V&lt;A.length;V++){var G=A[V];if(!o.call(w,G)||!Bn(y[G],w[G]))return!1}return!0}function Vd(y){for(;y&amp;&amp;y.firstChild;)y=y.firstChild;return y}function qd(y,w){var A=Vd(y);y=0;for(var V;A;){if(A.nodeType===3){if(V=y+A.textContent.length,y&lt;=w&amp;&amp;V&gt;=w)return{node:A,offset:w-y};y=V}e:{for(;A;){if(A.nextSibling){A=A.nextSibling;break e}A=A.parentNode}A=void 0}A=Vd(A)}}function Hd(y,w){return y&amp;&amp;w?y===w?!0:y&amp;&amp;y.nodeType===3?!1:w&amp;&amp;w.nodeType===3?Hd(y,w.parentNode):&quot;contains&quot;in y?y.contains(w):y.compareDocumentPosition?!!(y.compareDocumentPosition(w)&amp;16):!1:!1}function Wd(){for(var y=window,w=Q();w instanceof y.HTMLIFrameElement;){try{var A=typeof w.contentWindow.location.href==&quot;string&quot;}catch{A=!1}if(A)y=w.contentWindow;else break;w=Q(y.document)}return w}function ue(y){var w=y&amp;&amp;y.nodeName&amp;&amp;y.nodeName.toLowerCase();return w&amp;&amp;(w===&quot;input&quot;&amp;&amp;(y.type===&quot;text&quot;||y.type===&quot;search&quot;||y.type===&quot;tel&quot;||y.type===&quot;url&quot;||y.type===&quot;password&quot;)||w===&quot;textarea&quot;||y.contentEditable===&quot;true&quot;)}function Re(y){var w=Wd(),A=y.focusedElem,V=y.selectionRange;if(w!==A&amp;&amp;A&amp;&amp;A.ownerDocument&amp;&amp;Hd(A.ownerDocument.documentElement,A)){if(V!==null&amp;&amp;ue(A)){if(w=V.start,y=V.end,y===void 0&amp;&amp;(y=w),&quot;selectionStart&quot;in A)A.selectionStart=w,A.selectionEnd=Math.min(y,A.value.length);else if(y=(w=A.ownerDocument||document)&amp;&amp;w.defaultView||window,y.getSelection){y=y.getSelection();var G=A.textContent.length,J=Math.min(V.start,G);V=V.end===void 0?J:Math.min(V.end,G),!y.extend&amp;&amp;J&gt;V&amp;&amp;(G=V,V=J,J=G),G=qd(A,J);var ae=qd(A,V);G&amp;&amp;ae&amp;&amp;(y.rangeCount!==1||y.anchorNode!==G.node||y.anchorOffset!==G.offset||y.focusNode!==ae.node||y.focusOffset!==ae.offset)&amp;&amp;(w=w.createRange(),w.setStart(G.node,G.offset),y.removeAllRanges(),J&gt;V?(y.addRange(w),y.extend(ae.node,ae.offset)):(w.setEnd(ae.node,ae.offset),y.addRange(w)))}}for(w=[],y=A;y=y.parentNode;)y.nodeType===1&amp;&amp;w.push({element:y,left:y.scrollLeft,top:y.scrollTop});for(typeof A.focus==&quot;function&quot;&amp;&amp;A.focus(),A=0;A&lt;w.length;A++)y=w[A],y.element.scrollLeft=y.left,y.element.scrollTop=y.top}}var xt=u&amp;&amp;&quot;documentMode&quot;in document&amp;&amp;11&gt;=document.documentMode,ut=null,Zn=null,mr=null,wl=!1;function Fc(y,w,A){var V=A.window===A?A.document:A.nodeType===9?A:A.ownerDocument;wl||ut==null||ut!==Q(V)||(V=ut,&quot;selectionStart&quot;in V&amp;&amp;ue(V)?V={start:V.selectionStart,end:V.selectionEnd}:(V=(V.ownerDocument&amp;&amp;V.ownerDocument.defaultView||window).getSelection(),V={anchorNode:V.anchorNode,anchorOffset:V.anchorOffset,focusNode:V.focusNode,focusOffset:V.focusOffset}),mr&amp;&amp;ja(mr,V)||(mr=V,V=Yd(Zn,&quot;onSelect&quot;),0&lt;V.length&amp;&amp;(w=new gl(&quot;onSelect&quot;,&quot;select&quot;,null,w,A),y.push({event:w,listeners:V}),w.target=ut)))}function Kd(y,w){var A={};return A[y.toLowerCase()]=w.toLowerCase(),A[&quot;Webkit&quot;+y]=&quot;webkit&quot;+w,A[&quot;Moz&quot;+y]=&quot;moz&quot;+w,A}var _l={animationend:Kd(&quot;Animation&quot;,&quot;AnimationEnd&quot;),animationiteration:Kd(&quot;Animation&quot;,&quot;AnimationIteration&quot;),animationstart:Kd(&quot;Animation&quot;,&quot;AnimationStart&quot;),transitionend:Kd(&quot;Transition&quot;,&quot;TransitionEnd&quot;)},i0={},z2={};u&amp;&amp;(z2=document.createElement(&quot;div&quot;).style,&quot;AnimationEvent&quot;in window||(delete _l.animationend.animation,delete _l.animationiteration.animation,delete _l.animationstart.animation),&quot;TransitionEvent&quot;in window||delete _l.transitionend.transition);function Xd(y){if(i0[y])return i0[y];if(!_l[y])return y;var w=_l[y],A;for(A in w)if(w.hasOwnProperty(A)&amp;&amp;A in z2)return i0[y]=w[A];return y}var $2=Xd(&quot;animationend&quot;),U2=Xd(&quot;animationiteration&quot;),V2=Xd(&quot;animationstart&quot;),q2=Xd(&quot;transitionend&quot;),H2=new Map,W2=&quot;abort auxClick 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;);function Sa(y,w){H2.set(y,w),i(w,[y])}for(var s0=0;s0&lt;W2.length;s0++){var a0=W2[s0],aM=a0.toLowerCase(),oM=a0[0].toUpperCase()+a0.slice(1);Sa(aM,&quot;on&quot;+oM)}Sa($2,&quot;onAnimationEnd&quot;),Sa(U2,&quot;onAnimationIteration&quot;),Sa(V2,&quot;onAnimationStart&quot;),Sa(&quot;dblclick&quot;,&quot;onDoubleClick&quot;),Sa(&quot;focusin&quot;,&quot;onFocus&quot;),Sa(&quot;focusout&quot;,&quot;onBlur&quot;),Sa(q2,&quot;onTransitionEnd&quot;),a(&quot;onMouseEnter&quot;,[&quot;mouseout&quot;,&quot;mouseover&quot;]),a(&quot;onMouseLeave&quot;,[&quot;mouseout&quot;,&quot;mouseover&quot;]),a(&quot;onPointerEnter&quot;,[&quot;pointerout&quot;,&quot;pointerover&quot;]),a(&quot;onPointerLeave&quot;,[&quot;pointerout&quot;,&quot;pointerover&quot;]),i(&quot;onChange&quot;,&quot;change click focusin focusout input keydown keyup selectionchange&quot;.split(&quot; &quot;)),i(&quot;onSelect&quot;,&quot;focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange&quot;.split(&quot; &quot;)),i(&quot;onBeforeInput&quot;,[&quot;compositionend&quot;,&quot;keypress&quot;,&quot;textInput&quot;,&quot;paste&quot;]),i(&quot;onCompositionEnd&quot;,&quot;compositionend focusout keydown keypress keyup mousedown&quot;.split(&quot; &quot;)),i(&quot;onCompositionStart&quot;,&quot;compositionstart focusout keydown keypress keyup mousedown&quot;.split(&quot; &quot;)),i(&quot;onCompositionUpdate&quot;,&quot;compositionupdate focusout keydown keypress keyup mousedown&quot;.split(&quot; &quot;));var Bc=&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;),lM=new Set(&quot;cancel close invalid load scroll toggle&quot;.split(&quot; &quot;).concat(Bc));function K2(y,w,A){var V=y.type||&quot;unknown-event&quot;;y.currentTarget=A,gt(V,w,void 0,y),y.currentTarget=null}function X2(y,w){w=(w&amp;4)!==0;for(var A=0;A&lt;y.length;A++){var V=y[A],G=V.event;V=V.listeners;e:{var J=void 0;if(w)for(var ae=V.length-1;0&lt;=ae;ae--){var ve=V[ae],xe=ve.instance,Me=ve.currentTarget;if(ve=ve.listener,xe!==J&amp;&amp;G.isPropagationStopped())break e;K2(G,ve,Me),J=xe}else for(ae=0;ae&lt;V.length;ae++){if(ve=V[ae],xe=ve.instance,Me=ve.currentTarget,ve=ve.listener,xe!==J&amp;&amp;G.isPropagationStopped())break e;K2(G,ve,Me),J=xe}}}if(Ke)throw y=ft,Ke=!1,ft=null,y}function yr(y,w){var A=w[m0];A===void 0&amp;&amp;(A=w[m0]=new Set);var V=y+&quot;__bubble&quot;;A.has(V)||(G2(w,y,2,!1),A.add(V))}function o0(y,w,A){var V=0;w&amp;&amp;(V|=4),G2(A,y,V,w)}var Gd=&quot;_reactListening&quot;+Math.random().toString(36).slice(2);function zc(y){if(!y[Gd]){y[Gd]=!0,n.forEach(function(A){A!==&quot;selectionchange&quot;&amp;&amp;(lM.has(A)||o0(A,!1,y),o0(A,!0,y))});var w=y.nodeType===9?y:y.ownerDocument;w===null||w[Gd]||(w[Gd]=!0,o0(&quot;selectionchange&quot;,!1,w))}}function G2(y,w,A,V){switch(ya(w)){case 1:var G=Sd;break;case 4:G=kd;break;default:G=ci}A=G.bind(null,w,A,y),G=void 0,!Xt||w!==&quot;touchstart&quot;&amp;&amp;w!==&quot;touchmove&quot;&amp;&amp;w!==&quot;wheel&quot;||(G=!0),V?G!==void 0?y.addEventListener(w,A,{capture:!0,passive:G}):y.addEventListener(w,A,!0):G!==void 0?y.addEventListener(w,A,{passive:G}):y.addEventListener(w,A,!1)}function l0(y,w,A,V,G){var J=V;if((w&amp;1)===0&amp;&amp;(w&amp;2)===0&amp;&amp;V!==null)e:for(;;){if(V===null)return;var ae=V.tag;if(ae===3||ae===4){var ve=V.stateNode.containerInfo;if(ve===G||ve.nodeType===8&amp;&amp;ve.parentNode===G)break;if(ae===4)for(ae=V.return;ae!==null;){var xe=ae.tag;if((xe===3||xe===4)&amp;&amp;(xe=ae.stateNode.containerInfo,xe===G||xe.nodeType===8&amp;&amp;xe.parentNode===G))return;ae=ae.return}for(;ve!==null;){if(ae=ko(ve),ae===null)return;if(xe=ae.tag,xe===5||xe===6){V=J=ae;continue e}ve=ve.parentNode}}V=V.return}yt(function(){var Me=J,Ve=qt(A),He=[];e:{var $e=H2.get(y);if($e!==void 0){var nt=gl,dt=y;switch(y){case&quot;keypress&quot;:if(pl(A)===0)break e;case&quot;keydown&quot;:case&quot;keyup&quot;:nt=Mc;break;case&quot;focusin&quot;:dt=&quot;focus&quot;,nt=xo;break;case&quot;focusout&quot;:dt=&quot;blur&quot;,nt=xo;break;case&quot;beforeblur&quot;:case&quot;afterblur&quot;:nt=xo;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;:nt=Ac;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;:nt=Nd;break;case&quot;touchcancel&quot;:case&quot;touchend&quot;:case&quot;touchmove&quot;:case&quot;touchstart&quot;:nt=Hp;break;case $2:case U2:case V2:nt=yl;break;case q2:nt=Kp;break;case&quot;scroll&quot;:nt=yo;break;case&quot;wheel&quot;:nt=Gp;break;case&quot;copy&quot;:case&quot;cut&quot;:case&quot;paste&quot;:nt=Ed;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;:nt=Oc}var mt=(w&amp;4)!==0,zr=!mt&amp;&amp;y===&quot;scroll&quot;,Ne=mt?$e!==null?$e+&quot;Capture&quot;:null:$e;mt=[];for(var we=Me,Ee;we!==null;){Ee=we;var Ge=Ee.stateNode;if(Ee.tag===5&amp;&amp;Ge!==null&amp;&amp;(Ee=Ge,Ne!==null&amp;&amp;(Ge=Ut(we,Ne),Ge!=null&amp;&amp;mt.push($c(we,Ge,Ee)))),zr)break;we=we.return}0&lt;mt.length&amp;&amp;($e=new nt($e,dt,null,A,Ve),He.push({event:$e,listeners:mt}))}}if((w&amp;7)===0){e:{if($e=y===&quot;mouseover&quot;||y===&quot;pointerover&quot;,nt=y===&quot;mouseout&quot;||y===&quot;pointerout&quot;,$e&amp;&amp;A!==Rt&amp;&amp;(dt=A.relatedTarget||A.fromElement)&amp;&amp;(ko(dt)||dt[Rs]))break e;if((nt||$e)&amp;&amp;($e=Ve.window===Ve?Ve:($e=Ve.ownerDocument)?$e.defaultView||$e.parentWindow:window,nt?(dt=A.relatedTarget||A.toElement,nt=Me,dt=dt?ko(dt):null,dt!==null&amp;&amp;(zr=tt(dt),dt!==zr||dt.tag!==5&amp;&amp;dt.tag!==6)&amp;&amp;(dt=null)):(nt=null,dt=Me),nt!==dt)){if(mt=Ac,Ge=&quot;onMouseLeave&quot;,Ne=&quot;onMouseEnter&quot;,we=&quot;mouse&quot;,(y===&quot;pointerout&quot;||y===&quot;pointerover&quot;)&amp;&amp;(mt=Oc,Ge=&quot;onPointerLeave&quot;,Ne=&quot;onPointerEnter&quot;,we=&quot;pointer&quot;),zr=nt==null?$e:kl(nt),Ee=dt==null?$e:kl(dt),$e=new mt(Ge,we+&quot;leave&quot;,nt,A,Ve),$e.target=zr,$e.relatedTarget=Ee,Ge=null,ko(Ve)===Me&amp;&amp;(mt=new mt(Ne,we+&quot;enter&quot;,dt,A,Ve),mt.target=Ee,mt.relatedTarget=zr,Ge=mt),zr=Ge,nt&amp;&amp;dt)t:{for(mt=nt,Ne=dt,we=0,Ee=mt;Ee;Ee=jl(Ee))we++;for(Ee=0,Ge=Ne;Ge;Ge=jl(Ge))Ee++;for(;0&lt;we-Ee;)mt=jl(mt),we--;for(;0&lt;Ee-we;)Ne=jl(Ne),Ee--;for(;we--;){if(mt===Ne||Ne!==null&amp;&amp;mt===Ne.alternate)break t;mt=jl(mt),Ne=jl(Ne)}mt=null}else mt=null;nt!==null&amp;&amp;Y2(He,$e,nt,mt,!1),dt!==null&amp;&amp;zr!==null&amp;&amp;Y2(He,zr,dt,mt,!0)}}e:{if($e=Me?kl(Me):window,nt=$e.nodeName&amp;&amp;$e.nodeName.toLowerCase(),nt===&quot;select&quot;||nt===&quot;input&quot;&amp;&amp;$e.type===&quot;file&quot;)var vt=e0;else if(Dd($e))if(Fd)vt=Lc;else{vt=r0;var At=t0}else(nt=$e.nodeName)&amp;&amp;nt.toLowerCase()===&quot;input&quot;&amp;&amp;($e.type===&quot;checkbox&quot;||$e.type===&quot;radio&quot;)&amp;&amp;(vt=n0);if(vt&amp;&amp;(vt=vt(y,Me))){Ld(He,vt,A,Ve);break e}At&amp;&amp;At(y,$e,Me),y===&quot;focusout&quot;&amp;&amp;(At=$e._wrapperState)&amp;&amp;At.controlled&amp;&amp;$e.type===&quot;number&quot;&amp;&amp;he($e,&quot;number&quot;,$e.value)}switch(At=Me?kl(Me):window,y){case&quot;focusin&quot;:(Dd(At)||At.contentEditable===&quot;true&quot;)&amp;&amp;(ut=At,Zn=Me,mr=null);break;case&quot;focusout&quot;:mr=Zn=ut=null;break;case&quot;mousedown&quot;:wl=!0;break;case&quot;contextmenu&quot;:case&quot;mouseup&quot;:case&quot;dragend&quot;:wl=!1,Fc(He,A,Ve);break;case&quot;selectionchange&quot;:if(xt)break;case&quot;keydown&quot;:case&quot;keyup&quot;:Fc(He,A,Ve)}var Mt;if(Pc)e:{switch(y){case&quot;compositionstart&quot;:var Dt=&quot;onCompositionStart&quot;;break e;case&quot;compositionend&quot;:Dt=&quot;onCompositionEnd&quot;;break e;case&quot;compositionupdate&quot;:Dt=&quot;onCompositionUpdate&quot;;break e}Dt=void 0}else _a?Rd(y,A)&amp;&amp;(Dt=&quot;onCompositionEnd&quot;):y===&quot;keydown&quot;&amp;&amp;A.keyCode===229&amp;&amp;(Dt=&quot;onCompositionStart&quot;);Dt&amp;&amp;(Pd&amp;&amp;A.locale!==&quot;ko&quot;&amp;&amp;(_a||Dt!==&quot;onCompositionStart&quot;?Dt===&quot;onCompositionEnd&quot;&amp;&amp;_a&amp;&amp;(Mt=Xi()):(gs=Ve,ba=&quot;value&quot;in gs?gs.value:gs.textContent,_a=!0)),At=Yd(Me,Dt),0&lt;At.length&amp;&amp;(Dt=new Md(Dt,y,null,A,Ve),He.push({event:Dt,listeners:At}),Mt?Dt.data=Mt:(Mt=Ic(A),Mt!==null&amp;&amp;(Dt.data=Mt)))),(Mt=Tc?Yp(y,A):Zp(y,A))&amp;&amp;(Me=Yd(Me,&quot;onBeforeInput&quot;),0&lt;Me.length&amp;&amp;(Ve=new Md(&quot;onBeforeInput&quot;,&quot;beforeinput&quot;,null,A,Ve),He.push({event:Ve,listeners:Me}),Ve.data=Mt))}X2(He,w)})}function $c(y,w,A){return{instance:y,listener:w,currentTarget:A}}function Yd(y,w){for(var A=w+&quot;Capture&quot;,V=[];y!==null;){var G=y,J=G.stateNode;G.tag===5&amp;&amp;J!==null&amp;&amp;(G=J,J=Ut(y,A),J!=null&amp;&amp;V.unshift($c(y,J,G)),J=Ut(y,w),J!=null&amp;&amp;V.push($c(y,J,G))),y=y.return}return V}function jl(y){if(y===null)return null;do y=y.return;while(y&amp;&amp;y.tag!==5);return y||null}function Y2(y,w,A,V,G){for(var J=w._reactName,ae=[];A!==null&amp;&amp;A!==V;){var ve=A,xe=ve.alternate,Me=ve.stateNode;if(xe!==null&amp;&amp;xe===V)break;ve.tag===5&amp;&amp;Me!==null&amp;&amp;(ve=Me,G?(xe=Ut(A,J),xe!=null&amp;&amp;ae.unshift($c(A,xe,ve))):G||(xe=Ut(A,J),xe!=null&amp;&amp;ae.push($c(A,xe,ve)))),A=A.return}ae.length!==0&amp;&amp;y.push({event:w,listeners:ae})}var cM=/\r\n?/g,uM=/\u0000|\uFFFD/g;function Z2(y){return(typeof y==&quot;string&quot;?y:&quot;&quot;+y).replace(cM,`
`).replace(uM,&quot;&quot;)}function Zd(y,w,A){if(w=Z2(w),Z2(y)!==w&amp;&amp;A)throw Error(t(425))}function Qd(){}var c0=null,u0=null;function d0(y,w){return y===&quot;textarea&quot;||y===&quot;noscript&quot;||typeof w.children==&quot;string&quot;||typeof w.children==&quot;number&quot;||typeof w.dangerouslySetInnerHTML==&quot;object&quot;&amp;&amp;w.dangerouslySetInnerHTML!==null&amp;&amp;w.dangerouslySetInnerHTML.__html!=null}var f0=typeof setTimeout==&quot;function&quot;?setTimeout:void 0,dM=typeof clearTimeout==&quot;function&quot;?clearTimeout:void 0,Q2=typeof Promise==&quot;function&quot;?Promise:void 0,fM=typeof queueMicrotask==&quot;function&quot;?queueMicrotask:typeof Q2&lt;&quot;u&quot;?function(y){return Q2.resolve(null).then(y).catch(hM)}:f0;function hM(y){setTimeout(function(){throw y})}function h0(y,w){var A=w,V=0;do{var G=A.nextSibling;if(y.removeChild(A),G&amp;&amp;G.nodeType===8)if(A=G.data,A===&quot;/$&quot;){if(V===0){y.removeChild(G),va(w);return}V--}else A!==&quot;$&quot;&amp;&amp;A!==&quot;$?&quot;&amp;&amp;A!==&quot;$!&quot;||V++;A=G}while(A);va(w)}function ka(y){for(;y!=null;y=y.nextSibling){var w=y.nodeType;if(w===1||w===3)break;if(w===8){if(w=y.data,w===&quot;$&quot;||w===&quot;$!&quot;||w===&quot;$?&quot;)break;if(w===&quot;/$&quot;)return null}}return y}function J2(y){y=y.previousSibling;for(var w=0;y;){if(y.nodeType===8){var A=y.data;if(A===&quot;$&quot;||A===&quot;$!&quot;||A===&quot;$?&quot;){if(w===0)return y;w--}else A===&quot;/$&quot;&amp;&amp;w++}y=y.previousSibling}return null}var Sl=Math.random().toString(36).slice(2),ys=&quot;__reactFiber$&quot;+Sl,Uc=&quot;__reactProps$&quot;+Sl,Rs=&quot;__reactContainer$&quot;+Sl,m0=&quot;__reactEvents$&quot;+Sl,mM=&quot;__reactListeners$&quot;+Sl,pM=&quot;__reactHandles$&quot;+Sl;function ko(y){var w=y[ys];if(w)return w;for(var A=y.parentNode;A;){if(w=A[Rs]||A[ys]){if(A=w.alternate,w.child!==null||A!==null&amp;&amp;A.child!==null)for(y=J2(y);y!==null;){if(A=y[ys])return A;y=J2(y)}return w}y=A,A=y.parentNode}return null}function Vc(y){return y=y[ys]||y[Rs],!y||y.tag!==5&amp;&amp;y.tag!==6&amp;&amp;y.tag!==13&amp;&amp;y.tag!==3?null:y}function kl(y){if(y.tag===5||y.tag===6)return y.stateNode;throw Error(t(33))}function Jd(y){return y[Uc]||null}var p0=[],Nl=-1;function Na(y){return{current:y}}function br(y){0&gt;Nl||(y.current=p0[Nl],p0[Nl]=null,Nl--)}function pr(y,w){Nl++,p0[Nl]=y.current,y.current=w}var Ca={},Mn=Na(Ca),Qn=Na(!1),No=Ca;function Cl(y,w){var A=y.type.contextTypes;if(!A)return Ca;var V=y.stateNode;if(V&amp;&amp;V.__reactInternalMemoizedUnmaskedChildContext===w)return V.__reactInternalMemoizedMaskedChildContext;var G={},J;for(J in A)G[J]=w[J];return V&amp;&amp;(y=y.stateNode,y.__reactInternalMemoizedUnmaskedChildContext=w,y.__reactInternalMemoizedMaskedChildContext=G),G}function Jn(y){return y=y.childContextTypes,y!=null}function ef(){br(Qn),br(Mn)}function ew(y,w,A){if(Mn.current!==Ca)throw Error(t(168));pr(Mn,w),pr(Qn,A)}function tw(y,w,A){var V=y.stateNode;if(w=w.childContextTypes,typeof V.getChildContext!=&quot;function&quot;)return A;V=V.getChildContext();for(var G in V)if(!(G in w))throw Error(t(108,ee(y)||&quot;Unknown&quot;,G));return M({},A,V)}function tf(y){return y=(y=y.stateNode)&amp;&amp;y.__reactInternalMemoizedMergedChildContext||Ca,No=Mn.current,pr(Mn,y),pr(Qn,Qn.current),!0}function rw(y,w,A){var V=y.stateNode;if(!V)throw Error(t(169));A?(y=tw(y,w,No),V.__reactInternalMemoizedMergedChildContext=y,br(Qn),br(Mn),pr(Mn,y)):br(Qn),pr(Qn,A)}var Ds=null,rf=!1,g0=!1;function nw(y){Ds===null?Ds=[y]:Ds.push(y)}function gM(y){rf=!0,nw(y)}function Ea(){if(!g0&amp;&amp;Ds!==null){g0=!0;var y=0,w=Ft;try{var A=Ds;for(Ft=1;y&lt;A.length;y++){var V=A[y];do V=V(!0);while(V!==null)}Ds=null,rf=!1}catch(G){throw Ds!==null&amp;&amp;(Ds=Ds.slice(y+1)),cr(Fe,Ea),G}finally{Ft=w,g0=!1}}return null}var El=[],Al=0,nf=null,sf=0,ji=[],Si=0,Co=null,Ls=1,Fs=&quot;&quot;;function Eo(y,w){El[Al++]=sf,El[Al++]=nf,nf=y,sf=w}function iw(y,w,A){ji[Si++]=Ls,ji[Si++]=Fs,ji[Si++]=Co,Co=y;var V=Ls;y=Fs;var G=32-zt(V)-1;V&amp;=~(1&lt;&lt;G),A+=1;var J=32-zt(w)+G;if(30&lt;J){var ae=G-G%5;J=(V&amp;(1&lt;&lt;ae)-1).toString(32),V&gt;&gt;=ae,G-=ae,Ls=1&lt;&lt;32-zt(w)+G|A&lt;&lt;G|V,Fs=J+y}else Ls=1&lt;&lt;J|A&lt;&lt;G|V,Fs=y}function v0(y){y.return!==null&amp;&amp;(Eo(y,1),iw(y,1,0))}function y0(y){for(;y===nf;)nf=El[--Al],El[Al]=null,sf=El[--Al],El[Al]=null;for(;y===Co;)Co=ji[--Si],ji[Si]=null,Fs=ji[--Si],ji[Si]=null,Ls=ji[--Si],ji[Si]=null}var ui=null,di=null,_r=!1,Yi=null;function sw(y,w){var A=Ei(5,null,null,0);A.elementType=&quot;DELETED&quot;,A.stateNode=w,A.return=y,w=y.deletions,w===null?(y.deletions=[A],y.flags|=16):w.push(A)}function aw(y,w){switch(y.tag){case 5:var A=y.type;return w=w.nodeType!==1||A.toLowerCase()!==w.nodeName.toLowerCase()?null:w,w!==null?(y.stateNode=w,ui=y,di=ka(w.firstChild),!0):!1;case 6:return w=y.pendingProps===&quot;&quot;||w.nodeType!==3?null:w,w!==null?(y.stateNode=w,ui=y,di=null,!0):!1;case 13:return w=w.nodeType!==8?null:w,w!==null?(A=Co!==null?{id:Ls,overflow:Fs}:null,y.memoizedState={dehydrated:w,treeContext:A,retryLane:1073741824},A=Ei(18,null,null,0),A.stateNode=w,A.return=y,y.child=A,ui=y,di=null,!0):!1;default:return!1}}function b0(y){return(y.mode&amp;1)!==0&amp;&amp;(y.flags&amp;128)===0}function x0(y){if(_r){var w=di;if(w){var A=w;if(!aw(y,w)){if(b0(y))throw Error(t(418));w=ka(A.nextSibling);var V=ui;w&amp;&amp;aw(y,w)?sw(V,A):(y.flags=y.flags&amp;-4097|2,_r=!1,ui=y)}}else{if(b0(y))throw Error(t(418));y.flags=y.flags&amp;-4097|2,_r=!1,ui=y}}}function ow(y){for(y=y.return;y!==null&amp;&amp;y.tag!==5&amp;&amp;y.tag!==3&amp;&amp;y.tag!==13;)y=y.return;ui=y}function af(y){if(y!==ui)return!1;if(!_r)return ow(y),_r=!0,!1;var w;if((w=y.tag!==3)&amp;&amp;!(w=y.tag!==5)&amp;&amp;(w=y.type,w=w!==&quot;head&quot;&amp;&amp;w!==&quot;body&quot;&amp;&amp;!d0(y.type,y.memoizedProps)),w&amp;&amp;(w=di)){if(b0(y))throw lw(),Error(t(418));for(;w;)sw(y,w),w=ka(w.nextSibling)}if(ow(y),y.tag===13){if(y=y.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error(t(317));e:{for(y=y.nextSibling,w=0;y;){if(y.nodeType===8){var A=y.data;if(A===&quot;/$&quot;){if(w===0){di=ka(y.nextSibling);break e}w--}else A!==&quot;$&quot;&amp;&amp;A!==&quot;$!&quot;&amp;&amp;A!==&quot;$?&quot;||w++}y=y.nextSibling}di=null}}else di=ui?ka(y.stateNode.nextSibling):null;return!0}function lw(){for(var y=di;y;)y=ka(y.nextSibling)}function Ml(){di=ui=null,_r=!1}function w0(y){Yi===null?Yi=[y]:Yi.push(y)}var vM=C.ReactCurrentBatchConfig;function qc(y,w,A){if(y=A.ref,y!==null&amp;&amp;typeof y!=&quot;function&quot;&amp;&amp;typeof y!=&quot;object&quot;){if(A._owner){if(A=A._owner,A){if(A.tag!==1)throw Error(t(309));var V=A.stateNode}if(!V)throw Error(t(147,y));var G=V,J=&quot;&quot;+y;return w!==null&amp;&amp;w.ref!==null&amp;&amp;typeof w.ref==&quot;function&quot;&amp;&amp;w.ref._stringRef===J?w.ref:(w=function(ae){var ve=G.refs;ae===null?delete ve[J]:ve[J]=ae},w._stringRef=J,w)}if(typeof y!=&quot;string&quot;)throw Error(t(284));if(!A._owner)throw Error(t(290,y))}return y}function of(y,w){throw y=Object.prototype.toString.call(w),Error(t(31,y===&quot;[object Object]&quot;?&quot;object with keys {&quot;+Object.keys(w).join(&quot;, &quot;)+&quot;}&quot;:y))}function cw(y){var w=y._init;return w(y._payload)}function uw(y){function w(Ne,we){if(y){var Ee=Ne.deletions;Ee===null?(Ne.deletions=[we],Ne.flags|=16):Ee.push(we)}}function A(Ne,we){if(!y)return null;for(;we!==null;)w(Ne,we),we=we.sibling;return null}function V(Ne,we){for(Ne=new Map;we!==null;)we.key!==null?Ne.set(we.key,we):Ne.set(we.index,we),we=we.sibling;return Ne}function G(Ne,we){return Ne=Da(Ne,we),Ne.index=0,Ne.sibling=null,Ne}function J(Ne,we,Ee){return Ne.index=Ee,y?(Ee=Ne.alternate,Ee!==null?(Ee=Ee.index,Ee&lt;we?(Ne.flags|=2,we):Ee):(Ne.flags|=2,we)):(Ne.flags|=1048576,we)}function ae(Ne){return y&amp;&amp;Ne.alternate===null&amp;&amp;(Ne.flags|=2),Ne}function ve(Ne,we,Ee,Ge){return we===null||we.tag!==6?(we=fg(Ee,Ne.mode,Ge),we.return=Ne,we):(we=G(we,Ee),we.return=Ne,we)}function xe(Ne,we,Ee,Ge){var vt=Ee.type;return vt===H?Ve(Ne,we,Ee.props.children,Ge,Ee.key):we!==null&amp;&amp;(we.elementType===vt||typeof vt==&quot;object&quot;&amp;&amp;vt!==null&amp;&amp;vt.$$typeof===j&amp;&amp;cw(vt)===we.type)?(Ge=G(we,Ee.props),Ge.ref=qc(Ne,we,Ee),Ge.return=Ne,Ge):(Ge=Of(Ee.type,Ee.key,Ee.props,null,Ne.mode,Ge),Ge.ref=qc(Ne,we,Ee),Ge.return=Ne,Ge)}function Me(Ne,we,Ee,Ge){return we===null||we.tag!==4||we.stateNode.containerInfo!==Ee.containerInfo||we.stateNode.implementation!==Ee.implementation?(we=hg(Ee,Ne.mode,Ge),we.return=Ne,we):(we=G(we,Ee.children||[]),we.return=Ne,we)}function Ve(Ne,we,Ee,Ge,vt){return we===null||we.tag!==7?(we=Do(Ee,Ne.mode,Ge,vt),we.return=Ne,we):(we=G(we,Ee),we.return=Ne,we)}function He(Ne,we,Ee){if(typeof we==&quot;string&quot;&amp;&amp;we!==&quot;&quot;||typeof we==&quot;number&quot;)return we=fg(&quot;&quot;+we,Ne.mode,Ee),we.return=Ne,we;if(typeof we==&quot;object&quot;&amp;&amp;we!==null){switch(we.$$typeof){case O:return Ee=Of(we.type,we.key,we.props,null,Ne.mode,Ee),Ee.ref=qc(Ne,null,we),Ee.return=Ne,Ee;case R:return we=hg(we,Ne.mode,Ee),we.return=Ne,we;case j:var Ge=we._init;return He(Ne,Ge(we._payload),Ee)}if(ce(we)||N(we))return we=Do(we,Ne.mode,Ee,null),we.return=Ne,we;of(Ne,we)}return null}function $e(Ne,we,Ee,Ge){var vt=we!==null?we.key:null;if(typeof Ee==&quot;string&quot;&amp;&amp;Ee!==&quot;&quot;||typeof Ee==&quot;number&quot;)return vt!==null?null:ve(Ne,we,&quot;&quot;+Ee,Ge);if(typeof Ee==&quot;object&quot;&amp;&amp;Ee!==null){switch(Ee.$$typeof){case O:return Ee.key===vt?xe(Ne,we,Ee,Ge):null;case R:return Ee.key===vt?Me(Ne,we,Ee,Ge):null;case j:return vt=Ee._init,$e(Ne,we,vt(Ee._payload),Ge)}if(ce(Ee)||N(Ee))return vt!==null?null:Ve(Ne,we,Ee,Ge,null);of(Ne,Ee)}return null}function nt(Ne,we,Ee,Ge,vt){if(typeof Ge==&quot;string&quot;&amp;&amp;Ge!==&quot;&quot;||typeof Ge==&quot;number&quot;)return Ne=Ne.get(Ee)||null,ve(we,Ne,&quot;&quot;+Ge,vt);if(typeof Ge==&quot;object&quot;&amp;&amp;Ge!==null){switch(Ge.$$typeof){case O:return Ne=Ne.get(Ge.key===null?Ee:Ge.key)||null,xe(we,Ne,Ge,vt);case R:return Ne=Ne.get(Ge.key===null?Ee:Ge.key)||null,Me(we,Ne,Ge,vt);case j:var At=Ge._init;return nt(Ne,we,Ee,At(Ge._payload),vt)}if(ce(Ge)||N(Ge))return Ne=Ne.get(Ee)||null,Ve(we,Ne,Ge,vt,null);of(we,Ge)}return null}function dt(Ne,we,Ee,Ge){for(var vt=null,At=null,Mt=we,Dt=we=0,on=null;Mt!==null&amp;&amp;Dt&lt;Ee.length;Dt++){Mt.index&gt;Dt?(on=Mt,Mt=null):on=Mt.sibling;var er=$e(Ne,Mt,Ee[Dt],Ge);if(er===null){Mt===null&amp;&amp;(Mt=on);break}y&amp;&amp;Mt&amp;&amp;er.alternate===null&amp;&amp;w(Ne,Mt),we=J(er,we,Dt),At===null?vt=er:At.sibling=er,At=er,Mt=on}if(Dt===Ee.length)return A(Ne,Mt),_r&amp;&amp;Eo(Ne,Dt),vt;if(Mt===null){for(;Dt&lt;Ee.length;Dt++)Mt=He(Ne,Ee[Dt],Ge),Mt!==null&amp;&amp;(we=J(Mt,we,Dt),At===null?vt=Mt:At.sibling=Mt,At=Mt);return _r&amp;&amp;Eo(Ne,Dt),vt}for(Mt=V(Ne,Mt);Dt&lt;Ee.length;Dt++)on=nt(Mt,Ne,Dt,Ee[Dt],Ge),on!==null&amp;&amp;(y&amp;&amp;on.alternate!==null&amp;&amp;Mt.delete(on.key===null?Dt:on.key),we=J(on,we,Dt),At===null?vt=on:At.sibling=on,At=on);return y&amp;&amp;Mt.forEach(function(La){return w(Ne,La)}),_r&amp;&amp;Eo(Ne,Dt),vt}function mt(Ne,we,Ee,Ge){var vt=N(Ee);if(typeof vt!=&quot;function&quot;)throw Error(t(150));if(Ee=vt.call(Ee),Ee==null)throw Error(t(151));for(var At=vt=null,Mt=we,Dt=we=0,on=null,er=Ee.next();Mt!==null&amp;&amp;!er.done;Dt++,er=Ee.next()){Mt.index&gt;Dt?(on=Mt,Mt=null):on=Mt.sibling;var La=$e(Ne,Mt,er.value,Ge);if(La===null){Mt===null&amp;&amp;(Mt=on);break}y&amp;&amp;Mt&amp;&amp;La.alternate===null&amp;&amp;w(Ne,Mt),we=J(La,we,Dt),At===null?vt=La:At.sibling=La,At=La,Mt=on}if(er.done)return A(Ne,Mt),_r&amp;&amp;Eo(Ne,Dt),vt;if(Mt===null){for(;!er.done;Dt++,er=Ee.next())er=He(Ne,er.value,Ge),er!==null&amp;&amp;(we=J(er,we,Dt),At===null?vt=er:At.sibling=er,At=er);return _r&amp;&amp;Eo(Ne,Dt),vt}for(Mt=V(Ne,Mt);!er.done;Dt++,er=Ee.next())er=nt(Mt,Ne,Dt,er.value,Ge),er!==null&amp;&amp;(y&amp;&amp;er.alternate!==null&amp;&amp;Mt.delete(er.key===null?Dt:er.key),we=J(er,we,Dt),At===null?vt=er:At.sibling=er,At=er);return y&amp;&amp;Mt.forEach(function(YM){return w(Ne,YM)}),_r&amp;&amp;Eo(Ne,Dt),vt}function zr(Ne,we,Ee,Ge){if(typeof Ee==&quot;object&quot;&amp;&amp;Ee!==null&amp;&amp;Ee.type===H&amp;&amp;Ee.key===null&amp;&amp;(Ee=Ee.props.children),typeof Ee==&quot;object&quot;&amp;&amp;Ee!==null){switch(Ee.$$typeof){case O:e:{for(var vt=Ee.key,At=we;At!==null;){if(At.key===vt){if(vt=Ee.type,vt===H){if(At.tag===7){A(Ne,At.sibling),we=G(At,Ee.props.children),we.return=Ne,Ne=we;break e}}else if(At.elementType===vt||typeof vt==&quot;object&quot;&amp;&amp;vt!==null&amp;&amp;vt.$$typeof===j&amp;&amp;cw(vt)===At.type){A(Ne,At.sibling),we=G(At,Ee.props),we.ref=qc(Ne,At,Ee),we.return=Ne,Ne=we;break e}A(Ne,At);break}else w(Ne,At);At=At.sibling}Ee.type===H?(we=Do(Ee.props.children,Ne.mode,Ge,Ee.key),we.return=Ne,Ne=we):(Ge=Of(Ee.type,Ee.key,Ee.props,null,Ne.mode,Ge),Ge.ref=qc(Ne,we,Ee),Ge.return=Ne,Ne=Ge)}return ae(Ne);case R:e:{for(At=Ee.key;we!==null;){if(we.key===At)if(we.tag===4&amp;&amp;we.stateNode.containerInfo===Ee.containerInfo&amp;&amp;we.stateNode.implementation===Ee.implementation){A(Ne,we.sibling),we=G(we,Ee.children||[]),we.return=Ne,Ne=we;break e}else{A(Ne,we);break}else w(Ne,we);we=we.sibling}we=hg(Ee,Ne.mode,Ge),we.return=Ne,Ne=we}return ae(Ne);case j:return At=Ee._init,zr(Ne,we,At(Ee._payload),Ge)}if(ce(Ee))return dt(Ne,we,Ee,Ge);if(N(Ee))return mt(Ne,we,Ee,Ge);of(Ne,Ee)}return typeof Ee==&quot;string&quot;&amp;&amp;Ee!==&quot;&quot;||typeof Ee==&quot;number&quot;?(Ee=&quot;&quot;+Ee,we!==null&amp;&amp;we.tag===6?(A(Ne,we.sibling),we=G(we,Ee),we.return=Ne,Ne=we):(A(Ne,we),we=fg(Ee,Ne.mode,Ge),we.return=Ne,Ne=we),ae(Ne)):A(Ne,we)}return zr}var Ol=uw(!0),dw=uw(!1),lf=Na(null),cf=null,Pl=null,_0=null;function j0(){_0=Pl=cf=null}function S0(y){var w=lf.current;br(lf),y._currentValue=w}function k0(y,w,A){for(;y!==null;){var V=y.alternate;if((y.childLanes&amp;w)!==w?(y.childLanes|=w,V!==null&amp;&amp;(V.childLanes|=w)):V!==null&amp;&amp;(V.childLanes&amp;w)!==w&amp;&amp;(V.childLanes|=w),y===A)break;y=y.return}}function Tl(y,w){cf=y,_0=Pl=null,y=y.dependencies,y!==null&amp;&amp;y.firstContext!==null&amp;&amp;((y.lanes&amp;w)!==0&amp;&amp;(ei=!0),y.firstContext=null)}function ki(y){var w=y._currentValue;if(_0!==y)if(y={context:y,memoizedValue:w,next:null},Pl===null){if(cf===null)throw Error(t(308));Pl=y,cf.dependencies={lanes:0,firstContext:y}}else Pl=Pl.next=y;return w}var Ao=null;function N0(y){Ao===null?Ao=[y]:Ao.push(y)}function fw(y,w,A,V){var G=w.interleaved;return G===null?(A.next=A,N0(w)):(A.next=G.next,G.next=A),w.interleaved=A,Bs(y,V)}function Bs(y,w){y.lanes|=w;var A=y.alternate;for(A!==null&amp;&amp;(A.lanes|=w),A=y,y=y.return;y!==null;)y.childLanes|=w,A=y.alternate,A!==null&amp;&amp;(A.childLanes|=w),A=y,y=y.return;return A.tag===3?A.stateNode:null}var Aa=!1;function C0(y){y.updateQueue={baseState:y.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function hw(y,w){y=y.updateQueue,w.updateQueue===y&amp;&amp;(w.updateQueue={baseState:y.baseState,firstBaseUpdate:y.firstBaseUpdate,lastBaseUpdate:y.lastBaseUpdate,shared:y.shared,effects:y.effects})}function zs(y,w){return{eventTime:y,lane:w,tag:0,payload:null,callback:null,next:null}}function Ma(y,w,A){var V=y.updateQueue;if(V===null)return null;if(V=V.shared,(Jt&amp;2)!==0){var G=V.pending;return G===null?w.next=w:(w.next=G.next,G.next=w),V.pending=w,Bs(y,A)}return G=V.interleaved,G===null?(w.next=w,N0(V)):(w.next=G.next,G.next=w),V.interleaved=w,Bs(y,A)}function uf(y,w,A){if(w=w.updateQueue,w!==null&amp;&amp;(w=w.shared,(A&amp;4194240)!==0)){var V=w.lanes;V&amp;=y.pendingLanes,A|=V,w.lanes=A,Vi(y,A)}}function mw(y,w){var A=y.updateQueue,V=y.alternate;if(V!==null&amp;&amp;(V=V.updateQueue,A===V)){var G=null,J=null;if(A=A.firstBaseUpdate,A!==null){do{var ae={eventTime:A.eventTime,lane:A.lane,tag:A.tag,payload:A.payload,callback:A.callback,next:null};J===null?G=J=ae:J=J.next=ae,A=A.next}while(A!==null);J===null?G=J=w:J=J.next=w}else G=J=w;A={baseState:V.baseState,firstBaseUpdate:G,lastBaseUpdate:J,shared:V.shared,effects:V.effects},y.updateQueue=A;return}y=A.lastBaseUpdate,y===null?A.firstBaseUpdate=w:y.next=w,A.lastBaseUpdate=w}function df(y,w,A,V){var G=y.updateQueue;Aa=!1;var J=G.firstBaseUpdate,ae=G.lastBaseUpdate,ve=G.shared.pending;if(ve!==null){G.shared.pending=null;var xe=ve,Me=xe.next;xe.next=null,ae===null?J=Me:ae.next=Me,ae=xe;var Ve=y.alternate;Ve!==null&amp;&amp;(Ve=Ve.updateQueue,ve=Ve.lastBaseUpdate,ve!==ae&amp;&amp;(ve===null?Ve.firstBaseUpdate=Me:ve.next=Me,Ve.lastBaseUpdate=xe))}if(J!==null){var He=G.baseState;ae=0,Ve=Me=xe=null,ve=J;do{var $e=ve.lane,nt=ve.eventTime;if((V&amp;$e)===$e){Ve!==null&amp;&amp;(Ve=Ve.next={eventTime:nt,lane:0,tag:ve.tag,payload:ve.payload,callback:ve.callback,next:null});e:{var dt=y,mt=ve;switch($e=w,nt=A,mt.tag){case 1:if(dt=mt.payload,typeof dt==&quot;function&quot;){He=dt.call(nt,He,$e);break e}He=dt;break e;case 3:dt.flags=dt.flags&amp;-65537|128;case 0:if(dt=mt.payload,$e=typeof dt==&quot;function&quot;?dt.call(nt,He,$e):dt,$e==null)break e;He=M({},He,$e);break e;case 2:Aa=!0}}ve.callback!==null&amp;&amp;ve.lane!==0&amp;&amp;(y.flags|=64,$e=G.effects,$e===null?G.effects=[ve]:$e.push(ve))}else nt={eventTime:nt,lane:$e,tag:ve.tag,payload:ve.payload,callback:ve.callback,next:null},Ve===null?(Me=Ve=nt,xe=He):Ve=Ve.next=nt,ae|=$e;if(ve=ve.next,ve===null){if(ve=G.shared.pending,ve===null)break;$e=ve,ve=$e.next,$e.next=null,G.lastBaseUpdate=$e,G.shared.pending=null}}while(!0);if(Ve===null&amp;&amp;(xe=He),G.baseState=xe,G.firstBaseUpdate=Me,G.lastBaseUpdate=Ve,w=G.shared.interleaved,w!==null){G=w;do ae|=G.lane,G=G.next;while(G!==w)}else J===null&amp;&amp;(G.shared.lanes=0);Po|=ae,y.lanes=ae,y.memoizedState=He}}function pw(y,w,A){if(y=w.effects,w.effects=null,y!==null)for(w=0;w&lt;y.length;w++){var V=y[w],G=V.callback;if(G!==null){if(V.callback=null,V=A,typeof G!=&quot;function&quot;)throw Error(t(191,G));G.call(V)}}}var Hc={},bs=Na(Hc),Wc=Na(Hc),Kc=Na(Hc);function Mo(y){if(y===Hc)throw Error(t(174));return y}function E0(y,w){switch(pr(Kc,w),pr(Wc,y),pr(bs,Hc),y=w.nodeType,y){case 9:case 11:w=(w=w.documentElement)?w.namespaceURI:je(null,&quot;&quot;);break;default:y=y===8?w.parentNode:w,w=y.namespaceURI||null,y=y.tagName,w=je(w,y)}br(bs),pr(bs,w)}function Il(){br(bs),br(Wc),br(Kc)}function gw(y){Mo(Kc.current);var w=Mo(bs.current),A=je(w,y.type);w!==A&amp;&amp;(pr(Wc,y),pr(bs,A))}function A0(y){Wc.current===y&amp;&amp;(br(bs),br(Wc))}var Er=Na(0);function ff(y){for(var w=y;w!==null;){if(w.tag===13){var A=w.memoizedState;if(A!==null&amp;&amp;(A=A.dehydrated,A===null||A.data===&quot;$?&quot;||A.data===&quot;$!&quot;))return w}else if(w.tag===19&amp;&amp;w.memoizedProps.revealOrder!==void 0){if((w.flags&amp;128)!==0)return w}else if(w.child!==null){w.child.return=w,w=w.child;continue}if(w===y)break;for(;w.sibling===null;){if(w.return===null||w.return===y)return null;w=w.return}w.sibling.return=w.return,w=w.sibling}return null}var M0=[];function O0(){for(var y=0;y&lt;M0.length;y++)M0[y]._workInProgressVersionPrimary=null;M0.length=0}var hf=C.ReactCurrentDispatcher,P0=C.ReactCurrentBatchConfig,Oo=0,Ar=null,Gr=null,sn=null,mf=!1,Xc=!1,Gc=0,yM=0;function On(){throw Error(t(321))}function T0(y,w){if(w===null)return!1;for(var A=0;A&lt;w.length&amp;&amp;A&lt;y.length;A++)if(!Bn(y[A],w[A]))return!1;return!0}function I0(y,w,A,V,G,J){if(Oo=J,Ar=w,w.memoizedState=null,w.updateQueue=null,w.lanes=0,hf.current=y===null||y.memoizedState===null?_M:jM,y=A(V,G),Xc){J=0;do{if(Xc=!1,Gc=0,25&lt;=J)throw Error(t(301));J+=1,sn=Gr=null,w.updateQueue=null,hf.current=SM,y=A(V,G)}while(Xc)}if(hf.current=vf,w=Gr!==null&amp;&amp;Gr.next!==null,Oo=0,sn=Gr=Ar=null,mf=!1,w)throw Error(t(300));return y}function R0(){var y=Gc!==0;return Gc=0,y}function xs(){var y={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return sn===null?Ar.memoizedState=sn=y:sn=sn.next=y,sn}function Ni(){if(Gr===null){var y=Ar.alternate;y=y!==null?y.memoizedState:null}else y=Gr.next;var w=sn===null?Ar.memoizedState:sn.next;if(w!==null)sn=w,Gr=y;else{if(y===null)throw Error(t(310));Gr=y,y={memoizedState:Gr.memoizedState,baseState:Gr.baseState,baseQueue:Gr.baseQueue,queue:Gr.queue,next:null},sn===null?Ar.memoizedState=sn=y:sn=sn.next=y}return sn}function Yc(y,w){return typeof w==&quot;function&quot;?w(y):w}function D0(y){var w=Ni(),A=w.queue;if(A===null)throw Error(t(311));A.lastRenderedReducer=y;var V=Gr,G=V.baseQueue,J=A.pending;if(J!==null){if(G!==null){var ae=G.next;G.next=J.next,J.next=ae}V.baseQueue=G=J,A.pending=null}if(G!==null){J=G.next,V=V.baseState;var ve=ae=null,xe=null,Me=J;do{var Ve=Me.lane;if((Oo&amp;Ve)===Ve)xe!==null&amp;&amp;(xe=xe.next={lane:0,action:Me.action,hasEagerState:Me.hasEagerState,eagerState:Me.eagerState,next:null}),V=Me.hasEagerState?Me.eagerState:y(V,Me.action);else{var He={lane:Ve,action:Me.action,hasEagerState:Me.hasEagerState,eagerState:Me.eagerState,next:null};xe===null?(ve=xe=He,ae=V):xe=xe.next=He,Ar.lanes|=Ve,Po|=Ve}Me=Me.next}while(Me!==null&amp;&amp;Me!==J);xe===null?ae=V:xe.next=ve,Bn(V,w.memoizedState)||(ei=!0),w.memoizedState=V,w.baseState=ae,w.baseQueue=xe,A.lastRenderedState=V}if(y=A.interleaved,y!==null){G=y;do J=G.lane,Ar.lanes|=J,Po|=J,G=G.next;while(G!==y)}else G===null&amp;&amp;(A.lanes=0);return[w.memoizedState,A.dispatch]}function L0(y){var w=Ni(),A=w.queue;if(A===null)throw Error(t(311));A.lastRenderedReducer=y;var V=A.dispatch,G=A.pending,J=w.memoizedState;if(G!==null){A.pending=null;var ae=G=G.next;do J=y(J,ae.action),ae=ae.next;while(ae!==G);Bn(J,w.memoizedState)||(ei=!0),w.memoizedState=J,w.baseQueue===null&amp;&amp;(w.baseState=J),A.lastRenderedState=J}return[J,V]}function vw(){}function yw(y,w){var A=Ar,V=Ni(),G=w(),J=!Bn(V.memoizedState,G);if(J&amp;&amp;(V.memoizedState=G,ei=!0),V=V.queue,F0(ww.bind(null,A,V,y),[y]),V.getSnapshot!==w||J||sn!==null&amp;&amp;sn.memoizedState.tag&amp;1){if(A.flags|=2048,Zc(9,xw.bind(null,A,V,G,w),void 0,null),an===null)throw Error(t(349));(Oo&amp;30)!==0||bw(A,w,G)}return G}function bw(y,w,A){y.flags|=16384,y={getSnapshot:w,value:A},w=Ar.updateQueue,w===null?(w={lastEffect:null,stores:null},Ar.updateQueue=w,w.stores=[y]):(A=w.stores,A===null?w.stores=[y]:A.push(y))}function xw(y,w,A,V){w.value=A,w.getSnapshot=V,_w(w)&amp;&amp;jw(y)}function ww(y,w,A){return A(function(){_w(w)&amp;&amp;jw(y)})}function _w(y){var w=y.getSnapshot;y=y.value;try{var A=w();return!Bn(y,A)}catch{return!0}}function jw(y){var w=Bs(y,1);w!==null&amp;&amp;es(w,y,1,-1)}function Sw(y){var w=xs();return typeof y==&quot;function&quot;&amp;&amp;(y=y()),w.memoizedState=w.baseState=y,y={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Yc,lastRenderedState:y},w.queue=y,y=y.dispatch=wM.bind(null,Ar,y),[w.memoizedState,y]}function Zc(y,w,A,V){return y={tag:y,create:w,destroy:A,deps:V,next:null},w=Ar.updateQueue,w===null?(w={lastEffect:null,stores:null},Ar.updateQueue=w,w.lastEffect=y.next=y):(A=w.lastEffect,A===null?w.lastEffect=y.next=y:(V=A.next,A.next=y,y.next=V,w.lastEffect=y)),y}function kw(){return Ni().memoizedState}function pf(y,w,A,V){var G=xs();Ar.flags|=y,G.memoizedState=Zc(1|w,A,void 0,V===void 0?null:V)}function gf(y,w,A,V){var G=Ni();V=V===void 0?null:V;var J=void 0;if(Gr!==null){var ae=Gr.memoizedState;if(J=ae.destroy,V!==null&amp;&amp;T0(V,ae.deps)){G.memoizedState=Zc(w,A,J,V);return}}Ar.flags|=y,G.memoizedState=Zc(1|w,A,J,V)}function Nw(y,w){return pf(8390656,8,y,w)}function F0(y,w){return gf(2048,8,y,w)}function Cw(y,w){return gf(4,2,y,w)}function Ew(y,w){return gf(4,4,y,w)}function Aw(y,w){if(typeof w==&quot;function&quot;)return y=y(),w(y),function(){w(null)};if(w!=null)return y=y(),w.current=y,function(){w.current=null}}function Mw(y,w,A){return A=A!=null?A.concat([y]):null,gf(4,4,Aw.bind(null,w,y),A)}function B0(){}function Ow(y,w){var A=Ni();w=w===void 0?null:w;var V=A.memoizedState;return V!==null&amp;&amp;w!==null&amp;&amp;T0(w,V[1])?V[0]:(A.memoizedState=[y,w],y)}function Pw(y,w){var A=Ni();w=w===void 0?null:w;var V=A.memoizedState;return V!==null&amp;&amp;w!==null&amp;&amp;T0(w,V[1])?V[0]:(y=y(),A.memoizedState=[y,w],y)}function Tw(y,w,A){return(Oo&amp;21)===0?(y.baseState&amp;&amp;(y.baseState=!1,ei=!0),y.memoizedState=A):(Bn(A,w)||(A=Pt(),Ar.lanes|=A,Po|=A,y.baseState=!0),w)}function bM(y,w){var A=Ft;Ft=A!==0&amp;&amp;4&gt;A?A:4,y(!0);var V=P0.transition;P0.transition={};try{y(!1),w()}finally{Ft=A,P0.transition=V}}function Iw(){return Ni().memoizedState}function xM(y,w,A){var V=Ia(y);if(A={lane:V,action:A,hasEagerState:!1,eagerState:null,next:null},Rw(y))Dw(w,A);else if(A=fw(y,w,A,V),A!==null){var G=$n();es(A,y,V,G),Lw(A,w,V)}}function wM(y,w,A){var V=Ia(y),G={lane:V,action:A,hasEagerState:!1,eagerState:null,next:null};if(Rw(y))Dw(w,G);else{var J=y.alternate;if(y.lanes===0&amp;&amp;(J===null||J.lanes===0)&amp;&amp;(J=w.lastRenderedReducer,J!==null))try{var ae=w.lastRenderedState,ve=J(ae,A);if(G.hasEagerState=!0,G.eagerState=ve,Bn(ve,ae)){var xe=w.interleaved;xe===null?(G.next=G,N0(w)):(G.next=xe.next,xe.next=G),w.interleaved=G;return}}catch{}A=fw(y,w,G,V),A!==null&amp;&amp;(G=$n(),es(A,y,V,G),Lw(A,w,V))}}function Rw(y){var w=y.alternate;return y===Ar||w!==null&amp;&amp;w===Ar}function Dw(y,w){Xc=mf=!0;var A=y.pending;A===null?w.next=w:(w.next=A.next,A.next=w),y.pending=w}function Lw(y,w,A){if((A&amp;4194240)!==0){var V=w.lanes;V&amp;=y.pendingLanes,A|=V,w.lanes=A,Vi(y,A)}}var vf={readContext:ki,useCallback:On,useContext:On,useEffect:On,useImperativeHandle:On,useInsertionEffect:On,useLayoutEffect:On,useMemo:On,useReducer:On,useRef:On,useState:On,useDebugValue:On,useDeferredValue:On,useTransition:On,useMutableSource:On,useSyncExternalStore:On,useId:On,unstable_isNewReconciler:!1},_M={readContext:ki,useCallback:function(y,w){return xs().memoizedState=[y,w===void 0?null:w],y},useContext:ki,useEffect:Nw,useImperativeHandle:function(y,w,A){return A=A!=null?A.concat([y]):null,pf(4194308,4,Aw.bind(null,w,y),A)},useLayoutEffect:function(y,w){return pf(4194308,4,y,w)},useInsertionEffect:function(y,w){return pf(4,2,y,w)},useMemo:function(y,w){var A=xs();return w=w===void 0?null:w,y=y(),A.memoizedState=[y,w],y},useReducer:function(y,w,A){var V=xs();return w=A!==void 0?A(w):w,V.memoizedState=V.baseState=w,y={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:y,lastRenderedState:w},V.queue=y,y=y.dispatch=xM.bind(null,Ar,y),[V.memoizedState,y]},useRef:function(y){var w=xs();return y={current:y},w.memoizedState=y},useState:Sw,useDebugValue:B0,useDeferredValue:function(y){return xs().memoizedState=y},useTransition:function(){var y=Sw(!1),w=y[0];return y=bM.bind(null,y[1]),xs().memoizedState=y,[w,y]},useMutableSource:function(){},useSyncExternalStore:function(y,w,A){var V=Ar,G=xs();if(_r){if(A===void 0)throw Error(t(407));A=A()}else{if(A=w(),an===null)throw Error(t(349));(Oo&amp;30)!==0||bw(V,w,A)}G.memoizedState=A;var J={value:A,getSnapshot:w};return G.queue=J,Nw(ww.bind(null,V,J,y),[y]),V.flags|=2048,Zc(9,xw.bind(null,V,J,A,w),void 0,null),A},useId:function(){var y=xs(),w=an.identifierPrefix;if(_r){var A=Fs,V=Ls;A=(V&amp;~(1&lt;&lt;32-zt(V)-1)).toString(32)+A,w=&quot;:&quot;+w+&quot;R&quot;+A,A=Gc++,0&lt;A&amp;&amp;(w+=&quot;H&quot;+A.toString(32)),w+=&quot;:&quot;}else A=yM++,w=&quot;:&quot;+w+&quot;r&quot;+A.toString(32)+&quot;:&quot;;return y.memoizedState=w},unstable_isNewReconciler:!1},jM={readContext:ki,useCallback:Ow,useContext:ki,useEffect:F0,useImperativeHandle:Mw,useInsertionEffect:Cw,useLayoutEffect:Ew,useMemo:Pw,useReducer:D0,useRef:kw,useState:function(){return D0(Yc)},useDebugValue:B0,useDeferredValue:function(y){var w=Ni();return Tw(w,Gr.memoizedState,y)},useTransition:function(){var y=D0(Yc)[0],w=Ni().memoizedState;return[y,w]},useMutableSource:vw,useSyncExternalStore:yw,useId:Iw,unstable_isNewReconciler:!1},SM={readContext:ki,useCallback:Ow,useContext:ki,useEffect:F0,useImperativeHandle:Mw,useInsertionEffect:Cw,useLayoutEffect:Ew,useMemo:Pw,useReducer:L0,useRef:kw,useState:function(){return L0(Yc)},useDebugValue:B0,useDeferredValue:function(y){var w=Ni();return Gr===null?w.memoizedState=y:Tw(w,Gr.memoizedState,y)},useTransition:function(){var y=L0(Yc)[0],w=Ni().memoizedState;return[y,w]},useMutableSource:vw,useSyncExternalStore:yw,useId:Iw,unstable_isNewReconciler:!1};function Zi(y,w){if(y&amp;&amp;y.defaultProps){w=M({},w),y=y.defaultProps;for(var A in y)w[A]===void 0&amp;&amp;(w[A]=y[A]);return w}return w}function z0(y,w,A,V){w=y.memoizedState,A=A(V,w),A=A==null?w:M({},w,A),y.memoizedState=A,y.lanes===0&amp;&amp;(y.updateQueue.baseState=A)}var yf={isMounted:function(y){return(y=y._reactInternals)?tt(y)===y:!1},enqueueSetState:function(y,w,A){y=y._reactInternals;var V=$n(),G=Ia(y),J=zs(V,G);J.payload=w,A!=null&amp;&amp;(J.callback=A),w=Ma(y,J,G),w!==null&amp;&amp;(es(w,y,G,V),uf(w,y,G))},enqueueReplaceState:function(y,w,A){y=y._reactInternals;var V=$n(),G=Ia(y),J=zs(V,G);J.tag=1,J.payload=w,A!=null&amp;&amp;(J.callback=A),w=Ma(y,J,G),w!==null&amp;&amp;(es(w,y,G,V),uf(w,y,G))},enqueueForceUpdate:function(y,w){y=y._reactInternals;var A=$n(),V=Ia(y),G=zs(A,V);G.tag=2,w!=null&amp;&amp;(G.callback=w),w=Ma(y,G,V),w!==null&amp;&amp;(es(w,y,V,A),uf(w,y,V))}};function Fw(y,w,A,V,G,J,ae){return y=y.stateNode,typeof y.shouldComponentUpdate==&quot;function&quot;?y.shouldComponentUpdate(V,J,ae):w.prototype&amp;&amp;w.prototype.isPureReactComponent?!ja(A,V)||!ja(G,J):!0}function Bw(y,w,A){var V=!1,G=Ca,J=w.contextType;return typeof J==&quot;object&quot;&amp;&amp;J!==null?J=ki(J):(G=Jn(w)?No:Mn.current,V=w.contextTypes,J=(V=V!=null)?Cl(y,G):Ca),w=new w(A,J),y.memoizedState=w.state!==null&amp;&amp;w.state!==void 0?w.state:null,w.updater=yf,y.stateNode=w,w._reactInternals=y,V&amp;&amp;(y=y.stateNode,y.__reactInternalMemoizedUnmaskedChildContext=G,y.__reactInternalMemoizedMaskedChildContext=J),w}function zw(y,w,A,V){y=w.state,typeof w.componentWillReceiveProps==&quot;function&quot;&amp;&amp;w.componentWillReceiveProps(A,V),typeof w.UNSAFE_componentWillReceiveProps==&quot;function&quot;&amp;&amp;w.UNSAFE_componentWillReceiveProps(A,V),w.state!==y&amp;&amp;yf.enqueueReplaceState(w,w.state,null)}function $0(y,w,A,V){var G=y.stateNode;G.props=A,G.state=y.memoizedState,G.refs={},C0(y);var J=w.contextType;typeof J==&quot;object&quot;&amp;&amp;J!==null?G.context=ki(J):(J=Jn(w)?No:Mn.current,G.context=Cl(y,J)),G.state=y.memoizedState,J=w.getDerivedStateFromProps,typeof J==&quot;function&quot;&amp;&amp;(z0(y,w,J,A),G.state=y.memoizedState),typeof w.getDerivedStateFromProps==&quot;function&quot;||typeof G.getSnapshotBeforeUpdate==&quot;function&quot;||typeof G.UNSAFE_componentWillMount!=&quot;function&quot;&amp;&amp;typeof G.componentWillMount!=&quot;function&quot;||(w=G.state,typeof G.componentWillMount==&quot;function&quot;&amp;&amp;G.componentWillMount(),typeof G.UNSAFE_componentWillMount==&quot;function&quot;&amp;&amp;G.UNSAFE_componentWillMount(),w!==G.state&amp;&amp;yf.enqueueReplaceState(G,G.state,null),df(y,A,G,V),G.state=y.memoizedState),typeof G.componentDidMount==&quot;function&quot;&amp;&amp;(y.flags|=4194308)}function Rl(y,w){try{var A=&quot;&quot;,V=w;do A+=ie(V),V=V.return;while(V);var G=A}catch(J){G=`
Error generating stack: `+J.message+`
`+J.stack}return{value:y,source:w,stack:G,digest:null}}function U0(y,w,A){return{value:y,source:null,stack:A??null,digest:w??null}}function V0(y,w){try{console.error(w.value)}catch(A){setTimeout(function(){throw A})}}var kM=typeof WeakMap==&quot;function&quot;?WeakMap:Map;function $w(y,w,A){A=zs(-1,A),A.tag=3,A.payload={element:null};var V=w.value;return A.callback=function(){kf||(kf=!0,ig=V),V0(y,w)},A}function Uw(y,w,A){A=zs(-1,A),A.tag=3;var V=y.type.getDerivedStateFromError;if(typeof V==&quot;function&quot;){var G=w.value;A.payload=function(){return V(G)},A.callback=function(){V0(y,w)}}var J=y.stateNode;return J!==null&amp;&amp;typeof J.componentDidCatch==&quot;function&quot;&amp;&amp;(A.callback=function(){V0(y,w),typeof V!=&quot;function&quot;&amp;&amp;(Pa===null?Pa=new Set([this]):Pa.add(this));var ae=w.stack;this.componentDidCatch(w.value,{componentStack:ae!==null?ae:&quot;&quot;})}),A}function Vw(y,w,A){var V=y.pingCache;if(V===null){V=y.pingCache=new kM;var G=new Set;V.set(w,G)}else G=V.get(w),G===void 0&amp;&amp;(G=new Set,V.set(w,G));G.has(A)||(G.add(A),y=BM.bind(null,y,w,A),w.then(y,y))}function qw(y){do{var w;if((w=y.tag===13)&amp;&amp;(w=y.memoizedState,w=w!==null?w.dehydrated!==null:!0),w)return y;y=y.return}while(y!==null);return null}function Hw(y,w,A,V,G){return(y.mode&amp;1)===0?(y===w?y.flags|=65536:(y.flags|=128,A.flags|=131072,A.flags&amp;=-52805,A.tag===1&amp;&amp;(A.alternate===null?A.tag=17:(w=zs(-1,1),w.tag=2,Ma(A,w,1))),A.lanes|=1),y):(y.flags|=65536,y.lanes=G,y)}var NM=C.ReactCurrentOwner,ei=!1;function zn(y,w,A,V){w.child=y===null?dw(w,null,A,V):Ol(w,y.child,A,V)}function Ww(y,w,A,V,G){A=A.render;var J=w.ref;return Tl(w,G),V=I0(y,w,A,V,J,G),A=R0(),y!==null&amp;&amp;!ei?(w.updateQueue=y.updateQueue,w.flags&amp;=-2053,y.lanes&amp;=~G,$s(y,w,G)):(_r&amp;&amp;A&amp;&amp;v0(w),w.flags|=1,zn(y,w,V,G),w.child)}function Kw(y,w,A,V,G){if(y===null){var J=A.type;return typeof J==&quot;function&quot;&amp;&amp;!dg(J)&amp;&amp;J.defaultProps===void 0&amp;&amp;A.compare===null&amp;&amp;A.defaultProps===void 0?(w.tag=15,w.type=J,Xw(y,w,J,V,G)):(y=Of(A.type,null,V,w,w.mode,G),y.ref=w.ref,y.return=w,w.child=y)}if(J=y.child,(y.lanes&amp;G)===0){var ae=J.memoizedProps;if(A=A.compare,A=A!==null?A:ja,A(ae,V)&amp;&amp;y.ref===w.ref)return $s(y,w,G)}return w.flags|=1,y=Da(J,V),y.ref=w.ref,y.return=w,w.child=y}function Xw(y,w,A,V,G){if(y!==null){var J=y.memoizedProps;if(ja(J,V)&amp;&amp;y.ref===w.ref)if(ei=!1,w.pendingProps=V=J,(y.lanes&amp;G)!==0)(y.flags&amp;131072)!==0&amp;&amp;(ei=!0);else return w.lanes=y.lanes,$s(y,w,G)}return q0(y,w,A,V,G)}function Gw(y,w,A){var V=w.pendingProps,G=V.children,J=y!==null?y.memoizedState:null;if(V.mode===&quot;hidden&quot;)if((w.mode&amp;1)===0)w.memoizedState={baseLanes:0,cachePool:null,transitions:null},pr(Ll,fi),fi|=A;else{if((A&amp;1073741824)===0)return y=J!==null?J.baseLanes|A:A,w.lanes=w.childLanes=1073741824,w.memoizedState={baseLanes:y,cachePool:null,transitions:null},w.updateQueue=null,pr(Ll,fi),fi|=y,null;w.memoizedState={baseLanes:0,cachePool:null,transitions:null},V=J!==null?J.baseLanes:A,pr(Ll,fi),fi|=V}else J!==null?(V=J.baseLanes|A,w.memoizedState=null):V=A,pr(Ll,fi),fi|=V;return zn(y,w,G,A),w.child}function Yw(y,w){var A=w.ref;(y===null&amp;&amp;A!==null||y!==null&amp;&amp;y.ref!==A)&amp;&amp;(w.flags|=512,w.flags|=2097152)}function q0(y,w,A,V,G){var J=Jn(A)?No:Mn.current;return J=Cl(w,J),Tl(w,G),A=I0(y,w,A,V,J,G),V=R0(),y!==null&amp;&amp;!ei?(w.updateQueue=y.updateQueue,w.flags&amp;=-2053,y.lanes&amp;=~G,$s(y,w,G)):(_r&amp;&amp;V&amp;&amp;v0(w),w.flags|=1,zn(y,w,A,G),w.child)}function Zw(y,w,A,V,G){if(Jn(A)){var J=!0;tf(w)}else J=!1;if(Tl(w,G),w.stateNode===null)xf(y,w),Bw(w,A,V),$0(w,A,V,G),V=!0;else if(y===null){var ae=w.stateNode,ve=w.memoizedProps;ae.props=ve;var xe=ae.context,Me=A.contextType;typeof Me==&quot;object&quot;&amp;&amp;Me!==null?Me=ki(Me):(Me=Jn(A)?No:Mn.current,Me=Cl(w,Me));var Ve=A.getDerivedStateFromProps,He=typeof Ve==&quot;function&quot;||typeof ae.getSnapshotBeforeUpdate==&quot;function&quot;;He||typeof ae.UNSAFE_componentWillReceiveProps!=&quot;function&quot;&amp;&amp;typeof ae.componentWillReceiveProps!=&quot;function&quot;||(ve!==V||xe!==Me)&amp;&amp;zw(w,ae,V,Me),Aa=!1;var $e=w.memoizedState;ae.state=$e,df(w,V,ae,G),xe=w.memoizedState,ve!==V||$e!==xe||Qn.current||Aa?(typeof Ve==&quot;function&quot;&amp;&amp;(z0(w,A,Ve,V),xe=w.memoizedState),(ve=Aa||Fw(w,A,ve,V,$e,xe,Me))?(He||typeof ae.UNSAFE_componentWillMount!=&quot;function&quot;&amp;&amp;typeof ae.componentWillMount!=&quot;function&quot;||(typeof ae.componentWillMount==&quot;function&quot;&amp;&amp;ae.componentWillMount(),typeof ae.UNSAFE_componentWillMount==&quot;function&quot;&amp;&amp;ae.UNSAFE_componentWillMount()),typeof ae.componentDidMount==&quot;function&quot;&amp;&amp;(w.flags|=4194308)):(typeof ae.componentDidMount==&quot;function&quot;&amp;&amp;(w.flags|=4194308),w.memoizedProps=V,w.memoizedState=xe),ae.props=V,ae.state=xe,ae.context=Me,V=ve):(typeof ae.componentDidMount==&quot;function&quot;&amp;&amp;(w.flags|=4194308),V=!1)}else{ae=w.stateNode,hw(y,w),ve=w.memoizedProps,Me=w.type===w.elementType?ve:Zi(w.type,ve),ae.props=Me,He=w.pendingProps,$e=ae.context,xe=A.contextType,typeof xe==&quot;object&quot;&amp;&amp;xe!==null?xe=ki(xe):(xe=Jn(A)?No:Mn.current,xe=Cl(w,xe));var nt=A.getDerivedStateFromProps;(Ve=typeof nt==&quot;function&quot;||typeof ae.getSnapshotBeforeUpdate==&quot;function&quot;)||typeof ae.UNSAFE_componentWillReceiveProps!=&quot;function&quot;&amp;&amp;typeof ae.componentWillReceiveProps!=&quot;function&quot;||(ve!==He||$e!==xe)&amp;&amp;zw(w,ae,V,xe),Aa=!1,$e=w.memoizedState,ae.state=$e,df(w,V,ae,G);var dt=w.memoizedState;ve!==He||$e!==dt||Qn.current||Aa?(typeof nt==&quot;function&quot;&amp;&amp;(z0(w,A,nt,V),dt=w.memoizedState),(Me=Aa||Fw(w,A,Me,V,$e,dt,xe)||!1)?(Ve||typeof ae.UNSAFE_componentWillUpdate!=&quot;function&quot;&amp;&amp;typeof ae.componentWillUpdate!=&quot;function&quot;||(typeof ae.componentWillUpdate==&quot;function&quot;&amp;&amp;ae.componentWillUpdate(V,dt,xe),typeof ae.UNSAFE_componentWillUpdate==&quot;function&quot;&amp;&amp;ae.UNSAFE_componentWillUpdate(V,dt,xe)),typeof ae.componentDidUpdate==&quot;function&quot;&amp;&amp;(w.flags|=4),typeof ae.getSnapshotBeforeUpdate==&quot;function&quot;&amp;&amp;(w.flags|=1024)):(typeof ae.componentDidUpdate!=&quot;function&quot;||ve===y.memoizedProps&amp;&amp;$e===y.memoizedState||(w.flags|=4),typeof ae.getSnapshotBeforeUpdate!=&quot;function&quot;||ve===y.memoizedProps&amp;&amp;$e===y.memoizedState||(w.flags|=1024),w.memoizedProps=V,w.memoizedState=dt),ae.props=V,ae.state=dt,ae.context=xe,V=Me):(typeof ae.componentDidUpdate!=&quot;function&quot;||ve===y.memoizedProps&amp;&amp;$e===y.memoizedState||(w.flags|=4),typeof ae.getSnapshotBeforeUpdate!=&quot;function&quot;||ve===y.memoizedProps&amp;&amp;$e===y.memoizedState||(w.flags|=1024),V=!1)}return H0(y,w,A,V,J,G)}function H0(y,w,A,V,G,J){Yw(y,w);var ae=(w.flags&amp;128)!==0;if(!V&amp;&amp;!ae)return G&amp;&amp;rw(w,A,!1),$s(y,w,J);V=w.stateNode,NM.current=w;var ve=ae&amp;&amp;typeof A.getDerivedStateFromError!=&quot;function&quot;?null:V.render();return w.flags|=1,y!==null&amp;&amp;ae?(w.child=Ol(w,y.child,null,J),w.child=Ol(w,null,ve,J)):zn(y,w,ve,J),w.memoizedState=V.state,G&amp;&amp;rw(w,A,!0),w.child}function Qw(y){var w=y.stateNode;w.pendingContext?ew(y,w.pendingContext,w.pendingContext!==w.context):w.context&amp;&amp;ew(y,w.context,!1),E0(y,w.containerInfo)}function Jw(y,w,A,V,G){return Ml(),w0(G),w.flags|=256,zn(y,w,A,V),w.child}var W0={dehydrated:null,treeContext:null,retryLane:0};function K0(y){return{baseLanes:y,cachePool:null,transitions:null}}function e_(y,w,A){var V=w.pendingProps,G=Er.current,J=!1,ae=(w.flags&amp;128)!==0,ve;if((ve=ae)||(ve=y!==null&amp;&amp;y.memoizedState===null?!1:(G&amp;2)!==0),ve?(J=!0,w.flags&amp;=-129):(y===null||y.memoizedState!==null)&amp;&amp;(G|=1),pr(Er,G&amp;1),y===null)return x0(w),y=w.memoizedState,y!==null&amp;&amp;(y=y.dehydrated,y!==null)?((w.mode&amp;1)===0?w.lanes=1:y.data===&quot;$!&quot;?w.lanes=8:w.lanes=1073741824,null):(ae=V.children,y=V.fallback,J?(V=w.mode,J=w.child,ae={mode:&quot;hidden&quot;,children:ae},(V&amp;1)===0&amp;&amp;J!==null?(J.childLanes=0,J.pendingProps=ae):J=Pf(ae,V,0,null),y=Do(y,V,A,null),J.return=w,y.return=w,J.sibling=y,w.child=J,w.child.memoizedState=K0(A),w.memoizedState=W0,y):X0(w,ae));if(G=y.memoizedState,G!==null&amp;&amp;(ve=G.dehydrated,ve!==null))return CM(y,w,ae,V,ve,G,A);if(J){J=V.fallback,ae=w.mode,G=y.child,ve=G.sibling;var xe={mode:&quot;hidden&quot;,children:V.children};return(ae&amp;1)===0&amp;&amp;w.child!==G?(V=w.child,V.childLanes=0,V.pendingProps=xe,w.deletions=null):(V=Da(G,xe),V.subtreeFlags=G.subtreeFlags&amp;14680064),ve!==null?J=Da(ve,J):(J=Do(J,ae,A,null),J.flags|=2),J.return=w,V.return=w,V.sibling=J,w.child=V,V=J,J=w.child,ae=y.child.memoizedState,ae=ae===null?K0(A):{baseLanes:ae.baseLanes|A,cachePool:null,transitions:ae.transitions},J.memoizedState=ae,J.childLanes=y.childLanes&amp;~A,w.memoizedState=W0,V}return J=y.child,y=J.sibling,V=Da(J,{mode:&quot;visible&quot;,children:V.children}),(w.mode&amp;1)===0&amp;&amp;(V.lanes=A),V.return=w,V.sibling=null,y!==null&amp;&amp;(A=w.deletions,A===null?(w.deletions=[y],w.flags|=16):A.push(y)),w.child=V,w.memoizedState=null,V}function X0(y,w){return w=Pf({mode:&quot;visible&quot;,children:w},y.mode,0,null),w.return=y,y.child=w}function bf(y,w,A,V){return V!==null&amp;&amp;w0(V),Ol(w,y.child,null,A),y=X0(w,w.pendingProps.children),y.flags|=2,w.memoizedState=null,y}function CM(y,w,A,V,G,J,ae){if(A)return w.flags&amp;256?(w.flags&amp;=-257,V=U0(Error(t(422))),bf(y,w,ae,V)):w.memoizedState!==null?(w.child=y.child,w.flags|=128,null):(J=V.fallback,G=w.mode,V=Pf({mode:&quot;visible&quot;,children:V.children},G,0,null),J=Do(J,G,ae,null),J.flags|=2,V.return=w,J.return=w,V.sibling=J,w.child=V,(w.mode&amp;1)!==0&amp;&amp;Ol(w,y.child,null,ae),w.child.memoizedState=K0(ae),w.memoizedState=W0,J);if((w.mode&amp;1)===0)return bf(y,w,ae,null);if(G.data===&quot;$!&quot;){if(V=G.nextSibling&amp;&amp;G.nextSibling.dataset,V)var ve=V.dgst;return V=ve,J=Error(t(419)),V=U0(J,V,void 0),bf(y,w,ae,V)}if(ve=(ae&amp;y.childLanes)!==0,ei||ve){if(V=an,V!==null){switch(ae&amp;-ae){case 4:G=2;break;case 16:G=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:G=32;break;case 536870912:G=268435456;break;default:G=0}G=(G&amp;(V.suspendedLanes|ae))!==0?0:G,G!==0&amp;&amp;G!==J.retryLane&amp;&amp;(J.retryLane=G,Bs(y,G),es(V,y,G,-1))}return ug(),V=U0(Error(t(421))),bf(y,w,ae,V)}return G.data===&quot;$?&quot;?(w.flags|=128,w.child=y.child,w=zM.bind(null,y),G._reactRetry=w,null):(y=J.treeContext,di=ka(G.nextSibling),ui=w,_r=!0,Yi=null,y!==null&amp;&amp;(ji[Si++]=Ls,ji[Si++]=Fs,ji[Si++]=Co,Ls=y.id,Fs=y.overflow,Co=w),w=X0(w,V.children),w.flags|=4096,w)}function t_(y,w,A){y.lanes|=w;var V=y.alternate;V!==null&amp;&amp;(V.lanes|=w),k0(y.return,w,A)}function G0(y,w,A,V,G){var J=y.memoizedState;J===null?y.memoizedState={isBackwards:w,rendering:null,renderingStartTime:0,last:V,tail:A,tailMode:G}:(J.isBackwards=w,J.rendering=null,J.renderingStartTime=0,J.last=V,J.tail=A,J.tailMode=G)}function r_(y,w,A){var V=w.pendingProps,G=V.revealOrder,J=V.tail;if(zn(y,w,V.children,A),V=Er.current,(V&amp;2)!==0)V=V&amp;1|2,w.flags|=128;else{if(y!==null&amp;&amp;(y.flags&amp;128)!==0)e:for(y=w.child;y!==null;){if(y.tag===13)y.memoizedState!==null&amp;&amp;t_(y,A,w);else if(y.tag===19)t_(y,A,w);else if(y.child!==null){y.child.return=y,y=y.child;continue}if(y===w)break e;for(;y.sibling===null;){if(y.return===null||y.return===w)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}V&amp;=1}if(pr(Er,V),(w.mode&amp;1)===0)w.memoizedState=null;else switch(G){case&quot;forwards&quot;:for(A=w.child,G=null;A!==null;)y=A.alternate,y!==null&amp;&amp;ff(y)===null&amp;&amp;(G=A),A=A.sibling;A=G,A===null?(G=w.child,w.child=null):(G=A.sibling,A.sibling=null),G0(w,!1,G,A,J);break;case&quot;backwards&quot;:for(A=null,G=w.child,w.child=null;G!==null;){if(y=G.alternate,y!==null&amp;&amp;ff(y)===null){w.child=G;break}y=G.sibling,G.sibling=A,A=G,G=y}G0(w,!0,A,null,J);break;case&quot;together&quot;:G0(w,!1,null,null,void 0);break;default:w.memoizedState=null}return w.child}function xf(y,w){(w.mode&amp;1)===0&amp;&amp;y!==null&amp;&amp;(y.alternate=null,w.alternate=null,w.flags|=2)}function $s(y,w,A){if(y!==null&amp;&amp;(w.dependencies=y.dependencies),Po|=w.lanes,(A&amp;w.childLanes)===0)return null;if(y!==null&amp;&amp;w.child!==y.child)throw Error(t(153));if(w.child!==null){for(y=w.child,A=Da(y,y.pendingProps),w.child=A,A.return=w;y.sibling!==null;)y=y.sibling,A=A.sibling=Da(y,y.pendingProps),A.return=w;A.sibling=null}return w.child}function EM(y,w,A){switch(w.tag){case 3:Qw(w),Ml();break;case 5:gw(w);break;case 1:Jn(w.type)&amp;&amp;tf(w);break;case 4:E0(w,w.stateNode.containerInfo);break;case 10:var V=w.type._context,G=w.memoizedProps.value;pr(lf,V._currentValue),V._currentValue=G;break;case 13:if(V=w.memoizedState,V!==null)return V.dehydrated!==null?(pr(Er,Er.current&amp;1),w.flags|=128,null):(A&amp;w.child.childLanes)!==0?e_(y,w,A):(pr(Er,Er.current&amp;1),y=$s(y,w,A),y!==null?y.sibling:null);pr(Er,Er.current&amp;1);break;case 19:if(V=(A&amp;w.childLanes)!==0,(y.flags&amp;128)!==0){if(V)return r_(y,w,A);w.flags|=128}if(G=w.memoizedState,G!==null&amp;&amp;(G.rendering=null,G.tail=null,G.lastEffect=null),pr(Er,Er.current),V)break;return null;case 22:case 23:return w.lanes=0,Gw(y,w,A)}return $s(y,w,A)}var n_,Y0,i_,s_;n_=function(y,w){for(var A=w.child;A!==null;){if(A.tag===5||A.tag===6)y.appendChild(A.stateNode);else if(A.tag!==4&amp;&amp;A.child!==null){A.child.return=A,A=A.child;continue}if(A===w)break;for(;A.sibling===null;){if(A.return===null||A.return===w)return;A=A.return}A.sibling.return=A.return,A=A.sibling}},Y0=function(){},i_=function(y,w,A,V){var G=y.memoizedProps;if(G!==V){y=w.stateNode,Mo(bs.current);var J=null;switch(A){case&quot;input&quot;:G=te(y,G),V=te(y,V),J=[];break;case&quot;select&quot;:G=M({},G,{value:void 0}),V=M({},V,{value:void 0}),J=[];break;case&quot;textarea&quot;:G=ye(y,G),V=ye(y,V),J=[];break;default:typeof G.onClick!=&quot;function&quot;&amp;&amp;typeof V.onClick==&quot;function&quot;&amp;&amp;(y.onclick=Qd)}et(A,V);var ae;A=null;for(Me in G)if(!V.hasOwnProperty(Me)&amp;&amp;G.hasOwnProperty(Me)&amp;&amp;G[Me]!=null)if(Me===&quot;style&quot;){var ve=G[Me];for(ae in ve)ve.hasOwnProperty(ae)&amp;&amp;(A||(A={}),A[ae]=&quot;&quot;)}else Me!==&quot;dangerouslySetInnerHTML&quot;&amp;&amp;Me!==&quot;children&quot;&amp;&amp;Me!==&quot;suppressContentEditableWarning&quot;&amp;&amp;Me!==&quot;suppressHydrationWarning&quot;&amp;&amp;Me!==&quot;autoFocus&quot;&amp;&amp;(l.hasOwnProperty(Me)?J||(J=[]):(J=J||[]).push(Me,null));for(Me in V){var xe=V[Me];if(ve=G?.[Me],V.hasOwnProperty(Me)&amp;&amp;xe!==ve&amp;&amp;(xe!=null||ve!=null))if(Me===&quot;style&quot;)if(ve){for(ae in ve)!ve.hasOwnProperty(ae)||xe&amp;&amp;xe.hasOwnProperty(ae)||(A||(A={}),A[ae]=&quot;&quot;);for(ae in xe)xe.hasOwnProperty(ae)&amp;&amp;ve[ae]!==xe[ae]&amp;&amp;(A||(A={}),A[ae]=xe[ae])}else A||(J||(J=[]),J.push(Me,A)),A=xe;else Me===&quot;dangerouslySetInnerHTML&quot;?(xe=xe?xe.__html:void 0,ve=ve?ve.__html:void 0,xe!=null&amp;&amp;ve!==xe&amp;&amp;(J=J||[]).push(Me,xe)):Me===&quot;children&quot;?typeof xe!=&quot;string&quot;&amp;&amp;typeof xe!=&quot;number&quot;||(J=J||[]).push(Me,&quot;&quot;+xe):Me!==&quot;suppressContentEditableWarning&quot;&amp;&amp;Me!==&quot;suppressHydrationWarning&quot;&amp;&amp;(l.hasOwnProperty(Me)?(xe!=null&amp;&amp;Me===&quot;onScroll&quot;&amp;&amp;yr(&quot;scroll&quot;,y),J||ve===xe||(J=[])):(J=J||[]).push(Me,xe))}A&amp;&amp;(J=J||[]).push(&quot;style&quot;,A);var Me=J;(w.updateQueue=Me)&amp;&amp;(w.flags|=4)}},s_=function(y,w,A,V){A!==V&amp;&amp;(w.flags|=4)};function Qc(y,w){if(!_r)switch(y.tailMode){case&quot;hidden&quot;:w=y.tail;for(var A=null;w!==null;)w.alternate!==null&amp;&amp;(A=w),w=w.sibling;A===null?y.tail=null:A.sibling=null;break;case&quot;collapsed&quot;:A=y.tail;for(var V=null;A!==null;)A.alternate!==null&amp;&amp;(V=A),A=A.sibling;V===null?w||y.tail===null?y.tail=null:y.tail.sibling=null:V.sibling=null}}function Pn(y){var w=y.alternate!==null&amp;&amp;y.alternate.child===y.child,A=0,V=0;if(w)for(var G=y.child;G!==null;)A|=G.lanes|G.childLanes,V|=G.subtreeFlags&amp;14680064,V|=G.flags&amp;14680064,G.return=y,G=G.sibling;else for(G=y.child;G!==null;)A|=G.lanes|G.childLanes,V|=G.subtreeFlags,V|=G.flags,G.return=y,G=G.sibling;return y.subtreeFlags|=V,y.childLanes=A,w}function AM(y,w,A){var V=w.pendingProps;switch(y0(w),w.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Pn(w),null;case 1:return Jn(w.type)&amp;&amp;ef(),Pn(w),null;case 3:return V=w.stateNode,Il(),br(Qn),br(Mn),O0(),V.pendingContext&amp;&amp;(V.context=V.pendingContext,V.pendingContext=null),(y===null||y.child===null)&amp;&amp;(af(w)?w.flags|=4:y===null||y.memoizedState.isDehydrated&amp;&amp;(w.flags&amp;256)===0||(w.flags|=1024,Yi!==null&amp;&amp;(og(Yi),Yi=null))),Y0(y,w),Pn(w),null;case 5:A0(w);var G=Mo(Kc.current);if(A=w.type,y!==null&amp;&amp;w.stateNode!=null)i_(y,w,A,V,G),y.ref!==w.ref&amp;&amp;(w.flags|=512,w.flags|=2097152);else{if(!V){if(w.stateNode===null)throw Error(t(166));return Pn(w),null}if(y=Mo(bs.current),af(w)){V=w.stateNode,A=w.type;var J=w.memoizedProps;switch(V[ys]=w,V[Uc]=J,y=(w.mode&amp;1)!==0,A){case&quot;dialog&quot;:yr(&quot;cancel&quot;,V),yr(&quot;close&quot;,V);break;case&quot;iframe&quot;:case&quot;object&quot;:case&quot;embed&quot;:yr(&quot;load&quot;,V);break;case&quot;video&quot;:case&quot;audio&quot;:for(G=0;G&lt;Bc.length;G++)yr(Bc[G],V);break;case&quot;source&quot;:yr(&quot;error&quot;,V);break;case&quot;img&quot;:case&quot;image&quot;:case&quot;link&quot;:yr(&quot;error&quot;,V),yr(&quot;load&quot;,V);break;case&quot;details&quot;:yr(&quot;toggle&quot;,V);break;case&quot;input&quot;:de(V,J),yr(&quot;invalid&quot;,V);break;case&quot;select&quot;:V._wrapperState={wasMultiple:!!J.multiple},yr(&quot;invalid&quot;,V);break;case&quot;textarea&quot;:pe(V,J),yr(&quot;invalid&quot;,V)}et(A,J),G=null;for(var ae in J)if(J.hasOwnProperty(ae)){var ve=J[ae];ae===&quot;children&quot;?typeof ve==&quot;string&quot;?V.textContent!==ve&amp;&amp;(J.suppressHydrationWarning!==!0&amp;&amp;Zd(V.textContent,ve,y),G=[&quot;children&quot;,ve]):typeof ve==&quot;number&quot;&amp;&amp;V.textContent!==&quot;&quot;+ve&amp;&amp;(J.suppressHydrationWarning!==!0&amp;&amp;Zd(V.textContent,ve,y),G=[&quot;children&quot;,&quot;&quot;+ve]):l.hasOwnProperty(ae)&amp;&amp;ve!=null&amp;&amp;ae===&quot;onScroll&quot;&amp;&amp;yr(&quot;scroll&quot;,V)}switch(A){case&quot;input&quot;:re(V),fe(V,J,!0);break;case&quot;textarea&quot;:re(V),Ce(V);break;case&quot;select&quot;:case&quot;option&quot;:break;default:typeof J.onClick==&quot;function&quot;&amp;&amp;(V.onclick=Qd)}V=G,w.updateQueue=V,V!==null&amp;&amp;(w.flags|=4)}else{ae=G.nodeType===9?G:G.ownerDocument,y===&quot;http://www.w3.org/1999/xhtml&quot;&amp;&amp;(y=Ae(A)),y===&quot;http://www.w3.org/1999/xhtml&quot;?A===&quot;script&quot;?(y=ae.createElement(&quot;div&quot;),y.innerHTML=&quot;&lt;script&gt;&lt;\/script&gt;&quot;,y=y.removeChild(y.firstChild)):typeof V.is==&quot;string&quot;?y=ae.createElement(A,{is:V.is}):(y=ae.createElement(A),A===&quot;select&quot;&amp;&amp;(ae=y,V.multiple?ae.multiple=!0:V.size&amp;&amp;(ae.size=V.size))):y=ae.createElementNS(y,A),y[ys]=w,y[Uc]=V,n_(y,w,!1,!1),w.stateNode=y;e:{switch(ae=Je(A,V),A){case&quot;dialog&quot;:yr(&quot;cancel&quot;,y),yr(&quot;close&quot;,y),G=V;break;case&quot;iframe&quot;:case&quot;object&quot;:case&quot;embed&quot;:yr(&quot;load&quot;,y),G=V;break;case&quot;video&quot;:case&quot;audio&quot;:for(G=0;G&lt;Bc.length;G++)yr(Bc[G],y);G=V;break;case&quot;source&quot;:yr(&quot;error&quot;,y),G=V;break;case&quot;img&quot;:case&quot;image&quot;:case&quot;link&quot;:yr(&quot;error&quot;,y),yr(&quot;load&quot;,y),G=V;break;case&quot;details&quot;:yr(&quot;toggle&quot;,y),G=V;break;case&quot;input&quot;:de(y,V),G=te(y,V),yr(&quot;invalid&quot;,y);break;case&quot;option&quot;:G=V;break;case&quot;select&quot;:y._wrapperState={wasMultiple:!!V.multiple},G=M({},V,{value:void 0}),yr(&quot;invalid&quot;,y);break;case&quot;textarea&quot;:pe(y,V),G=ye(y,V),yr(&quot;invalid&quot;,y);break;default:G=V}et(A,G),ve=G;for(J in ve)if(ve.hasOwnProperty(J)){var xe=ve[J];J===&quot;style&quot;?ze(y,xe):J===&quot;dangerouslySetInnerHTML&quot;?(xe=xe?xe.__html:void 0,xe!=null&amp;&amp;Qe(y,xe)):J===&quot;children&quot;?typeof xe==&quot;string&quot;?(A!==&quot;textarea&quot;||xe!==&quot;&quot;)&amp;&amp;Ue(y,xe):typeof xe==&quot;number&quot;&amp;&amp;Ue(y,&quot;&quot;+xe):J!==&quot;suppressContentEditableWarning&quot;&amp;&amp;J!==&quot;suppressHydrationWarning&quot;&amp;&amp;J!==&quot;autoFocus&quot;&amp;&amp;(l.hasOwnProperty(J)?xe!=null&amp;&amp;J===&quot;onScroll&quot;&amp;&amp;yr(&quot;scroll&quot;,y):xe!=null&amp;&amp;_(y,J,xe,ae))}switch(A){case&quot;input&quot;:re(y),fe(y,V,!1);break;case&quot;textarea&quot;:re(y),Ce(y);break;case&quot;option&quot;:V.value!=null&amp;&amp;y.setAttribute(&quot;value&quot;,&quot;&quot;+z(V.value));break;case&quot;select&quot;:y.multiple=!!V.multiple,J=V.value,J!=null?ge(y,!!V.multiple,J,!1):V.defaultValue!=null&amp;&amp;ge(y,!!V.multiple,V.defaultValue,!0);break;default:typeof G.onClick==&quot;function&quot;&amp;&amp;(y.onclick=Qd)}switch(A){case&quot;button&quot;:case&quot;input&quot;:case&quot;select&quot;:case&quot;textarea&quot;:V=!!V.autoFocus;break e;case&quot;img&quot;:V=!0;break e;default:V=!1}}V&amp;&amp;(w.flags|=4)}w.ref!==null&amp;&amp;(w.flags|=512,w.flags|=2097152)}return Pn(w),null;case 6:if(y&amp;&amp;w.stateNode!=null)s_(y,w,y.memoizedProps,V);else{if(typeof V!=&quot;string&quot;&amp;&amp;w.stateNode===null)throw Error(t(166));if(A=Mo(Kc.current),Mo(bs.current),af(w)){if(V=w.stateNode,A=w.memoizedProps,V[ys]=w,(J=V.nodeValue!==A)&amp;&amp;(y=ui,y!==null))switch(y.tag){case 3:Zd(V.nodeValue,A,(y.mode&amp;1)!==0);break;case 5:y.memoizedProps.suppressHydrationWarning!==!0&amp;&amp;Zd(V.nodeValue,A,(y.mode&amp;1)!==0)}J&amp;&amp;(w.flags|=4)}else V=(A.nodeType===9?A:A.ownerDocument).createTextNode(V),V[ys]=w,w.stateNode=V}return Pn(w),null;case 13:if(br(Er),V=w.memoizedState,y===null||y.memoizedState!==null&amp;&amp;y.memoizedState.dehydrated!==null){if(_r&amp;&amp;di!==null&amp;&amp;(w.mode&amp;1)!==0&amp;&amp;(w.flags&amp;128)===0)lw(),Ml(),w.flags|=98560,J=!1;else if(J=af(w),V!==null&amp;&amp;V.dehydrated!==null){if(y===null){if(!J)throw Error(t(318));if(J=w.memoizedState,J=J!==null?J.dehydrated:null,!J)throw Error(t(317));J[ys]=w}else Ml(),(w.flags&amp;128)===0&amp;&amp;(w.memoizedState=null),w.flags|=4;Pn(w),J=!1}else Yi!==null&amp;&amp;(og(Yi),Yi=null),J=!0;if(!J)return w.flags&amp;65536?w:null}return(w.flags&amp;128)!==0?(w.lanes=A,w):(V=V!==null,V!==(y!==null&amp;&amp;y.memoizedState!==null)&amp;&amp;V&amp;&amp;(w.child.flags|=8192,(w.mode&amp;1)!==0&amp;&amp;(y===null||(Er.current&amp;1)!==0?Yr===0&amp;&amp;(Yr=3):ug())),w.updateQueue!==null&amp;&amp;(w.flags|=4),Pn(w),null);case 4:return Il(),Y0(y,w),y===null&amp;&amp;zc(w.stateNode.containerInfo),Pn(w),null;case 10:return S0(w.type._context),Pn(w),null;case 17:return Jn(w.type)&amp;&amp;ef(),Pn(w),null;case 19:if(br(Er),J=w.memoizedState,J===null)return Pn(w),null;if(V=(w.flags&amp;128)!==0,ae=J.rendering,ae===null)if(V)Qc(J,!1);else{if(Yr!==0||y!==null&amp;&amp;(y.flags&amp;128)!==0)for(y=w.child;y!==null;){if(ae=ff(y),ae!==null){for(w.flags|=128,Qc(J,!1),V=ae.updateQueue,V!==null&amp;&amp;(w.updateQueue=V,w.flags|=4),w.subtreeFlags=0,V=A,A=w.child;A!==null;)J=A,y=V,J.flags&amp;=14680066,ae=J.alternate,ae===null?(J.childLanes=0,J.lanes=y,J.child=null,J.subtreeFlags=0,J.memoizedProps=null,J.memoizedState=null,J.updateQueue=null,J.dependencies=null,J.stateNode=null):(J.childLanes=ae.childLanes,J.lanes=ae.lanes,J.child=ae.child,J.subtreeFlags=0,J.deletions=null,J.memoizedProps=ae.memoizedProps,J.memoizedState=ae.memoizedState,J.updateQueue=ae.updateQueue,J.type=ae.type,y=ae.dependencies,J.dependencies=y===null?null:{lanes:y.lanes,firstContext:y.firstContext}),A=A.sibling;return pr(Er,Er.current&amp;1|2),w.child}y=y.sibling}J.tail!==null&amp;&amp;_e()&gt;Fl&amp;&amp;(w.flags|=128,V=!0,Qc(J,!1),w.lanes=4194304)}else{if(!V)if(y=ff(ae),y!==null){if(w.flags|=128,V=!0,A=y.updateQueue,A!==null&amp;&amp;(w.updateQueue=A,w.flags|=4),Qc(J,!0),J.tail===null&amp;&amp;J.tailMode===&quot;hidden&quot;&amp;&amp;!ae.alternate&amp;&amp;!_r)return Pn(w),null}else 2*_e()-J.renderingStartTime&gt;Fl&amp;&amp;A!==1073741824&amp;&amp;(w.flags|=128,V=!0,Qc(J,!1),w.lanes=4194304);J.isBackwards?(ae.sibling=w.child,w.child=ae):(A=J.last,A!==null?A.sibling=ae:w.child=ae,J.last=ae)}return J.tail!==null?(w=J.tail,J.rendering=w,J.tail=w.sibling,J.renderingStartTime=_e(),w.sibling=null,A=Er.current,pr(Er,V?A&amp;1|2:A&amp;1),w):(Pn(w),null);case 22:case 23:return cg(),V=w.memoizedState!==null,y!==null&amp;&amp;y.memoizedState!==null!==V&amp;&amp;(w.flags|=8192),V&amp;&amp;(w.mode&amp;1)!==0?(fi&amp;1073741824)!==0&amp;&amp;(Pn(w),w.subtreeFlags&amp;6&amp;&amp;(w.flags|=8192)):Pn(w),null;case 24:return null;case 25:return null}throw Error(t(156,w.tag))}function MM(y,w){switch(y0(w),w.tag){case 1:return Jn(w.type)&amp;&amp;ef(),y=w.flags,y&amp;65536?(w.flags=y&amp;-65537|128,w):null;case 3:return Il(),br(Qn),br(Mn),O0(),y=w.flags,(y&amp;65536)!==0&amp;&amp;(y&amp;128)===0?(w.flags=y&amp;-65537|128,w):null;case 5:return A0(w),null;case 13:if(br(Er),y=w.memoizedState,y!==null&amp;&amp;y.dehydrated!==null){if(w.alternate===null)throw Error(t(340));Ml()}return y=w.flags,y&amp;65536?(w.flags=y&amp;-65537|128,w):null;case 19:return br(Er),null;case 4:return Il(),null;case 10:return S0(w.type._context),null;case 22:case 23:return cg(),null;case 24:return null;default:return null}}var wf=!1,Tn=!1,OM=typeof WeakSet==&quot;function&quot;?WeakSet:Set,at=null;function Dl(y,w){var A=y.ref;if(A!==null)if(typeof A==&quot;function&quot;)try{A(null)}catch(V){Ir(y,w,V)}else A.current=null}function Z0(y,w,A){try{A()}catch(V){Ir(y,w,V)}}var a_=!1;function PM(y,w){if(c0=ho,y=Wd(),ue(y)){if(&quot;selectionStart&quot;in y)var A={start:y.selectionStart,end:y.selectionEnd};else e:{A=(A=y.ownerDocument)&amp;&amp;A.defaultView||window;var V=A.getSelection&amp;&amp;A.getSelection();if(V&amp;&amp;V.rangeCount!==0){A=V.anchorNode;var G=V.anchorOffset,J=V.focusNode;V=V.focusOffset;try{A.nodeType,J.nodeType}catch{A=null;break e}var ae=0,ve=-1,xe=-1,Me=0,Ve=0,He=y,$e=null;t:for(;;){for(var nt;He!==A||G!==0&amp;&amp;He.nodeType!==3||(ve=ae+G),He!==J||V!==0&amp;&amp;He.nodeType!==3||(xe=ae+V),He.nodeType===3&amp;&amp;(ae+=He.nodeValue.length),(nt=He.firstChild)!==null;)$e=He,He=nt;for(;;){if(He===y)break t;if($e===A&amp;&amp;++Me===G&amp;&amp;(ve=ae),$e===J&amp;&amp;++Ve===V&amp;&amp;(xe=ae),(nt=He.nextSibling)!==null)break;He=$e,$e=He.parentNode}He=nt}A=ve===-1||xe===-1?null:{start:ve,end:xe}}else A=null}A=A||{start:0,end:0}}else A=null;for(u0={focusedElem:y,selectionRange:A},ho=!1,at=w;at!==null;)if(w=at,y=w.child,(w.subtreeFlags&amp;1028)!==0&amp;&amp;y!==null)y.return=w,at=y;else for(;at!==null;){w=at;try{var dt=w.alternate;if((w.flags&amp;1024)!==0)switch(w.tag){case 0:case 11:case 15:break;case 1:if(dt!==null){var mt=dt.memoizedProps,zr=dt.memoizedState,Ne=w.stateNode,we=Ne.getSnapshotBeforeUpdate(w.elementType===w.type?mt:Zi(w.type,mt),zr);Ne.__reactInternalSnapshotBeforeUpdate=we}break;case 3:var Ee=w.stateNode.containerInfo;Ee.nodeType===1?Ee.textContent=&quot;&quot;:Ee.nodeType===9&amp;&amp;Ee.documentElement&amp;&amp;Ee.removeChild(Ee.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(t(163))}}catch(Ge){Ir(w,w.return,Ge)}if(y=w.sibling,y!==null){y.return=w.return,at=y;break}at=w.return}return dt=a_,a_=!1,dt}function Jc(y,w,A){var V=w.updateQueue;if(V=V!==null?V.lastEffect:null,V!==null){var G=V=V.next;do{if((G.tag&amp;y)===y){var J=G.destroy;G.destroy=void 0,J!==void 0&amp;&amp;Z0(w,A,J)}G=G.next}while(G!==V)}}function _f(y,w){if(w=w.updateQueue,w=w!==null?w.lastEffect:null,w!==null){var A=w=w.next;do{if((A.tag&amp;y)===y){var V=A.create;A.destroy=V()}A=A.next}while(A!==w)}}function Q0(y){var w=y.ref;if(w!==null){var A=y.stateNode;y.tag,y=A,typeof w==&quot;function&quot;?w(y):w.current=y}}function o_(y){var w=y.alternate;w!==null&amp;&amp;(y.alternate=null,o_(w)),y.child=null,y.deletions=null,y.sibling=null,y.tag===5&amp;&amp;(w=y.stateNode,w!==null&amp;&amp;(delete w[ys],delete w[Uc],delete w[m0],delete w[mM],delete w[pM])),y.stateNode=null,y.return=null,y.dependencies=null,y.memoizedProps=null,y.memoizedState=null,y.pendingProps=null,y.stateNode=null,y.updateQueue=null}function l_(y){return y.tag===5||y.tag===3||y.tag===4}function c_(y){e:for(;;){for(;y.sibling===null;){if(y.return===null||l_(y.return))return null;y=y.return}for(y.sibling.return=y.return,y=y.sibling;y.tag!==5&amp;&amp;y.tag!==6&amp;&amp;y.tag!==18;){if(y.flags&amp;2||y.child===null||y.tag===4)continue e;y.child.return=y,y=y.child}if(!(y.flags&amp;2))return y.stateNode}}function J0(y,w,A){var V=y.tag;if(V===5||V===6)y=y.stateNode,w?A.nodeType===8?A.parentNode.insertBefore(y,w):A.insertBefore(y,w):(A.nodeType===8?(w=A.parentNode,w.insertBefore(y,A)):(w=A,w.appendChild(y)),A=A._reactRootContainer,A!=null||w.onclick!==null||(w.onclick=Qd));else if(V!==4&amp;&amp;(y=y.child,y!==null))for(J0(y,w,A),y=y.sibling;y!==null;)J0(y,w,A),y=y.sibling}function eg(y,w,A){var V=y.tag;if(V===5||V===6)y=y.stateNode,w?A.insertBefore(y,w):A.appendChild(y);else if(V!==4&amp;&amp;(y=y.child,y!==null))for(eg(y,w,A),y=y.sibling;y!==null;)eg(y,w,A),y=y.sibling}var bn=null,Qi=!1;function Oa(y,w,A){for(A=A.child;A!==null;)u_(y,w,A),A=A.sibling}function u_(y,w,A){if(Et&amp;&amp;typeof Et.onCommitFiberUnmount==&quot;function&quot;)try{Et.onCommitFiberUnmount(pt,A)}catch{}switch(A.tag){case 5:Tn||Dl(A,w);case 6:var V=bn,G=Qi;bn=null,Oa(y,w,A),bn=V,Qi=G,bn!==null&amp;&amp;(Qi?(y=bn,A=A.stateNode,y.nodeType===8?y.parentNode.removeChild(A):y.removeChild(A)):bn.removeChild(A.stateNode));break;case 18:bn!==null&amp;&amp;(Qi?(y=bn,A=A.stateNode,y.nodeType===8?h0(y.parentNode,A):y.nodeType===1&amp;&amp;h0(y,A),va(y)):h0(bn,A.stateNode));break;case 4:V=bn,G=Qi,bn=A.stateNode.containerInfo,Qi=!0,Oa(y,w,A),bn=V,Qi=G;break;case 0:case 11:case 14:case 15:if(!Tn&amp;&amp;(V=A.updateQueue,V!==null&amp;&amp;(V=V.lastEffect,V!==null))){G=V=V.next;do{var J=G,ae=J.destroy;J=J.tag,ae!==void 0&amp;&amp;((J&amp;2)!==0||(J&amp;4)!==0)&amp;&amp;Z0(A,w,ae),G=G.next}while(G!==V)}Oa(y,w,A);break;case 1:if(!Tn&amp;&amp;(Dl(A,w),V=A.stateNode,typeof V.componentWillUnmount==&quot;function&quot;))try{V.props=A.memoizedProps,V.state=A.memoizedState,V.componentWillUnmount()}catch(ve){Ir(A,w,ve)}Oa(y,w,A);break;case 21:Oa(y,w,A);break;case 22:A.mode&amp;1?(Tn=(V=Tn)||A.memoizedState!==null,Oa(y,w,A),Tn=V):Oa(y,w,A);break;default:Oa(y,w,A)}}function d_(y){var w=y.updateQueue;if(w!==null){y.updateQueue=null;var A=y.stateNode;A===null&amp;&amp;(A=y.stateNode=new OM),w.forEach(function(V){var G=$M.bind(null,y,V);A.has(V)||(A.add(V),V.then(G,G))})}}function Ji(y,w){var A=w.deletions;if(A!==null)for(var V=0;V&lt;A.length;V++){var G=A[V];try{var J=y,ae=w,ve=ae;e:for(;ve!==null;){switch(ve.tag){case 5:bn=ve.stateNode,Qi=!1;break e;case 3:bn=ve.stateNode.containerInfo,Qi=!0;break e;case 4:bn=ve.stateNode.containerInfo,Qi=!0;break e}ve=ve.return}if(bn===null)throw Error(t(160));u_(J,ae,G),bn=null,Qi=!1;var xe=G.alternate;xe!==null&amp;&amp;(xe.return=null),G.return=null}catch(Me){Ir(G,w,Me)}}if(w.subtreeFlags&amp;12854)for(w=w.child;w!==null;)f_(w,y),w=w.sibling}function f_(y,w){var A=y.alternate,V=y.flags;switch(y.tag){case 0:case 11:case 14:case 15:if(Ji(w,y),ws(y),V&amp;4){try{Jc(3,y,y.return),_f(3,y)}catch(mt){Ir(y,y.return,mt)}try{Jc(5,y,y.return)}catch(mt){Ir(y,y.return,mt)}}break;case 1:Ji(w,y),ws(y),V&amp;512&amp;&amp;A!==null&amp;&amp;Dl(A,A.return);break;case 5:if(Ji(w,y),ws(y),V&amp;512&amp;&amp;A!==null&amp;&amp;Dl(A,A.return),y.flags&amp;32){var G=y.stateNode;try{Ue(G,&quot;&quot;)}catch(mt){Ir(y,y.return,mt)}}if(V&amp;4&amp;&amp;(G=y.stateNode,G!=null)){var J=y.memoizedProps,ae=A!==null?A.memoizedProps:J,ve=y.type,xe=y.updateQueue;if(y.updateQueue=null,xe!==null)try{ve===&quot;input&quot;&amp;&amp;J.type===&quot;radio&quot;&amp;&amp;J.name!=null&amp;&amp;oe(G,J),Je(ve,ae);var Me=Je(ve,J);for(ae=0;ae&lt;xe.length;ae+=2){var Ve=xe[ae],He=xe[ae+1];Ve===&quot;style&quot;?ze(G,He):Ve===&quot;dangerouslySetInnerHTML&quot;?Qe(G,He):Ve===&quot;children&quot;?Ue(G,He):_(G,Ve,He,Me)}switch(ve){case&quot;input&quot;:se(G,J);break;case&quot;textarea&quot;:le(G,J);break;case&quot;select&quot;:var $e=G._wrapperState.wasMultiple;G._wrapperState.wasMultiple=!!J.multiple;var nt=J.value;nt!=null?ge(G,!!J.multiple,nt,!1):$e!==!!J.multiple&amp;&amp;(J.defaultValue!=null?ge(G,!!J.multiple,J.defaultValue,!0):ge(G,!!J.multiple,J.multiple?[]:&quot;&quot;,!1))}G[Uc]=J}catch(mt){Ir(y,y.return,mt)}}break;case 6:if(Ji(w,y),ws(y),V&amp;4){if(y.stateNode===null)throw Error(t(162));G=y.stateNode,J=y.memoizedProps;try{G.nodeValue=J}catch(mt){Ir(y,y.return,mt)}}break;case 3:if(Ji(w,y),ws(y),V&amp;4&amp;&amp;A!==null&amp;&amp;A.memoizedState.isDehydrated)try{va(w.containerInfo)}catch(mt){Ir(y,y.return,mt)}break;case 4:Ji(w,y),ws(y);break;case 13:Ji(w,y),ws(y),G=y.child,G.flags&amp;8192&amp;&amp;(J=G.memoizedState!==null,G.stateNode.isHidden=J,!J||G.alternate!==null&amp;&amp;G.alternate.memoizedState!==null||(ng=_e())),V&amp;4&amp;&amp;d_(y);break;case 22:if(Ve=A!==null&amp;&amp;A.memoizedState!==null,y.mode&amp;1?(Tn=(Me=Tn)||Ve,Ji(w,y),Tn=Me):Ji(w,y),ws(y),V&amp;8192){if(Me=y.memoizedState!==null,(y.stateNode.isHidden=Me)&amp;&amp;!Ve&amp;&amp;(y.mode&amp;1)!==0)for(at=y,Ve=y.child;Ve!==null;){for(He=at=Ve;at!==null;){switch($e=at,nt=$e.child,$e.tag){case 0:case 11:case 14:case 15:Jc(4,$e,$e.return);break;case 1:Dl($e,$e.return);var dt=$e.stateNode;if(typeof dt.componentWillUnmount==&quot;function&quot;){V=$e,A=$e.return;try{w=V,dt.props=w.memoizedProps,dt.state=w.memoizedState,dt.componentWillUnmount()}catch(mt){Ir(V,A,mt)}}break;case 5:Dl($e,$e.return);break;case 22:if($e.memoizedState!==null){p_(He);continue}}nt!==null?(nt.return=$e,at=nt):p_(He)}Ve=Ve.sibling}e:for(Ve=null,He=y;;){if(He.tag===5){if(Ve===null){Ve=He;try{G=He.stateNode,Me?(J=G.style,typeof J.setProperty==&quot;function&quot;?J.setProperty(&quot;display&quot;,&quot;none&quot;,&quot;important&quot;):J.display=&quot;none&quot;):(ve=He.stateNode,xe=He.memoizedProps.style,ae=xe!=null&amp;&amp;xe.hasOwnProperty(&quot;display&quot;)?xe.display:null,ve.style.display=qe(&quot;display&quot;,ae))}catch(mt){Ir(y,y.return,mt)}}}else if(He.tag===6){if(Ve===null)try{He.stateNode.nodeValue=Me?&quot;&quot;:He.memoizedProps}catch(mt){Ir(y,y.return,mt)}}else if((He.tag!==22&amp;&amp;He.tag!==23||He.memoizedState===null||He===y)&amp;&amp;He.child!==null){He.child.return=He,He=He.child;continue}if(He===y)break e;for(;He.sibling===null;){if(He.return===null||He.return===y)break e;Ve===He&amp;&amp;(Ve=null),He=He.return}Ve===He&amp;&amp;(Ve=null),He.sibling.return=He.return,He=He.sibling}}break;case 19:Ji(w,y),ws(y),V&amp;4&amp;&amp;d_(y);break;case 21:break;default:Ji(w,y),ws(y)}}function ws(y){var w=y.flags;if(w&amp;2){try{e:{for(var A=y.return;A!==null;){if(l_(A)){var V=A;break e}A=A.return}throw Error(t(160))}switch(V.tag){case 5:var G=V.stateNode;V.flags&amp;32&amp;&amp;(Ue(G,&quot;&quot;),V.flags&amp;=-33);var J=c_(y);eg(y,J,G);break;case 3:case 4:var ae=V.stateNode.containerInfo,ve=c_(y);J0(y,ve,ae);break;default:throw Error(t(161))}}catch(xe){Ir(y,y.return,xe)}y.flags&amp;=-3}w&amp;4096&amp;&amp;(y.flags&amp;=-4097)}function TM(y,w,A){at=y,h_(y)}function h_(y,w,A){for(var V=(y.mode&amp;1)!==0;at!==null;){var G=at,J=G.child;if(G.tag===22&amp;&amp;V){var ae=G.memoizedState!==null||wf;if(!ae){var ve=G.alternate,xe=ve!==null&amp;&amp;ve.memoizedState!==null||Tn;ve=wf;var Me=Tn;if(wf=ae,(Tn=xe)&amp;&amp;!Me)for(at=G;at!==null;)ae=at,xe=ae.child,ae.tag===22&amp;&amp;ae.memoizedState!==null?g_(G):xe!==null?(xe.return=ae,at=xe):g_(G);for(;J!==null;)at=J,h_(J),J=J.sibling;at=G,wf=ve,Tn=Me}m_(y)}else(G.subtreeFlags&amp;8772)!==0&amp;&amp;J!==null?(J.return=G,at=J):m_(y)}}function m_(y){for(;at!==null;){var w=at;if((w.flags&amp;8772)!==0){var A=w.alternate;try{if((w.flags&amp;8772)!==0)switch(w.tag){case 0:case 11:case 15:Tn||_f(5,w);break;case 1:var V=w.stateNode;if(w.flags&amp;4&amp;&amp;!Tn)if(A===null)V.componentDidMount();else{var G=w.elementType===w.type?A.memoizedProps:Zi(w.type,A.memoizedProps);V.componentDidUpdate(G,A.memoizedState,V.__reactInternalSnapshotBeforeUpdate)}var J=w.updateQueue;J!==null&amp;&amp;pw(w,J,V);break;case 3:var ae=w.updateQueue;if(ae!==null){if(A=null,w.child!==null)switch(w.child.tag){case 5:A=w.child.stateNode;break;case 1:A=w.child.stateNode}pw(w,ae,A)}break;case 5:var ve=w.stateNode;if(A===null&amp;&amp;w.flags&amp;4){A=ve;var xe=w.memoizedProps;switch(w.type){case&quot;button&quot;:case&quot;input&quot;:case&quot;select&quot;:case&quot;textarea&quot;:xe.autoFocus&amp;&amp;A.focus();break;case&quot;img&quot;:xe.src&amp;&amp;(A.src=xe.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(w.memoizedState===null){var Me=w.alternate;if(Me!==null){var Ve=Me.memoizedState;if(Ve!==null){var He=Ve.dehydrated;He!==null&amp;&amp;va(He)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(t(163))}Tn||w.flags&amp;512&amp;&amp;Q0(w)}catch($e){Ir(w,w.return,$e)}}if(w===y){at=null;break}if(A=w.sibling,A!==null){A.return=w.return,at=A;break}at=w.return}}function p_(y){for(;at!==null;){var w=at;if(w===y){at=null;break}var A=w.sibling;if(A!==null){A.return=w.return,at=A;break}at=w.return}}function g_(y){for(;at!==null;){var w=at;try{switch(w.tag){case 0:case 11:case 15:var A=w.return;try{_f(4,w)}catch(xe){Ir(w,A,xe)}break;case 1:var V=w.stateNode;if(typeof V.componentDidMount==&quot;function&quot;){var G=w.return;try{V.componentDidMount()}catch(xe){Ir(w,G,xe)}}var J=w.return;try{Q0(w)}catch(xe){Ir(w,J,xe)}break;case 5:var ae=w.return;try{Q0(w)}catch(xe){Ir(w,ae,xe)}}}catch(xe){Ir(w,w.return,xe)}if(w===y){at=null;break}var ve=w.sibling;if(ve!==null){ve.return=w.return,at=ve;break}at=w.return}}var IM=Math.ceil,jf=C.ReactCurrentDispatcher,tg=C.ReactCurrentOwner,Ci=C.ReactCurrentBatchConfig,Jt=0,an=null,qr=null,xn=0,fi=0,Ll=Na(0),Yr=0,eu=null,Po=0,Sf=0,rg=0,tu=null,ti=null,ng=0,Fl=1/0,Us=null,kf=!1,ig=null,Pa=null,Nf=!1,Ta=null,Cf=0,ru=0,sg=null,Ef=-1,Af=0;function $n(){return(Jt&amp;6)!==0?_e():Ef!==-1?Ef:Ef=_e()}function Ia(y){return(y.mode&amp;1)===0?1:(Jt&amp;2)!==0&amp;&amp;xn!==0?xn&amp;-xn:vM.transition!==null?(Af===0&amp;&amp;(Af=Pt()),Af):(y=Ft,y!==0||(y=window.event,y=y===void 0?16:ya(y.type)),y)}function es(y,w,A,V){if(50&lt;ru)throw ru=0,sg=null,Error(t(185));gn(y,A,V),((Jt&amp;2)===0||y!==an)&amp;&amp;(y===an&amp;&amp;((Jt&amp;2)===0&amp;&amp;(Sf|=A),Yr===4&amp;&amp;Ra(y,xn)),ri(y,V),A===1&amp;&amp;Jt===0&amp;&amp;(w.mode&amp;1)===0&amp;&amp;(Fl=_e()+500,rf&amp;&amp;Ea()))}function ri(y,w){var A=y.callbackNode;bi(y,w);var V=nn(y,y===an?xn:0);if(V===0)A!==null&amp;&amp;or(A),y.callbackNode=null,y.callbackPriority=0;else if(w=V&amp;-V,y.callbackPriority!==w){if(A!=null&amp;&amp;or(A),w===1)y.tag===0?gM(y_.bind(null,y)):nw(y_.bind(null,y)),fM(function(){(Jt&amp;6)===0&amp;&amp;Ea()}),A=null;else{switch(Fr(V)){case 1:A=Fe;break;case 4:A=Se;break;case 16:A=De;break;case 536870912:A=Ct;break;default:A=De}A=N_(A,v_.bind(null,y))}y.callbackPriority=w,y.callbackNode=A}}function v_(y,w){if(Ef=-1,Af=0,(Jt&amp;6)!==0)throw Error(t(327));var A=y.callbackNode;if(Bl()&amp;&amp;y.callbackNode!==A)return null;var V=nn(y,y===an?xn:0);if(V===0)return null;if((V&amp;30)!==0||(V&amp;y.expiredLanes)!==0||w)w=Mf(y,V);else{w=V;var G=Jt;Jt|=2;var J=x_();(an!==y||xn!==w)&amp;&amp;(Us=null,Fl=_e()+500,Io(y,w));do try{LM();break}catch(ve){b_(y,ve)}while(!0);j0(),jf.current=J,Jt=G,qr!==null?w=0:(an=null,xn=0,w=Yr)}if(w!==0){if(w===2&amp;&amp;(G=xi(y),G!==0&amp;&amp;(V=G,w=ag(y,G))),w===1)throw A=eu,Io(y,0),Ra(y,V),ri(y,_e()),A;if(w===6)Ra(y,V);else{if(G=y.current.alternate,(V&amp;30)===0&amp;&amp;!RM(G)&amp;&amp;(w=Mf(y,V),w===2&amp;&amp;(J=xi(y),J!==0&amp;&amp;(V=J,w=ag(y,J))),w===1))throw A=eu,Io(y,0),Ra(y,V),ri(y,_e()),A;switch(y.finishedWork=G,y.finishedLanes=V,w){case 0:case 1:throw Error(t(345));case 2:Ro(y,ti,Us);break;case 3:if(Ra(y,V),(V&amp;130023424)===V&amp;&amp;(w=ng+500-_e(),10&lt;w)){if(nn(y,0)!==0)break;if(G=y.suspendedLanes,(G&amp;V)!==V){$n(),y.pingedLanes|=y.suspendedLanes&amp;G;break}y.timeoutHandle=f0(Ro.bind(null,y,ti,Us),w);break}Ro(y,ti,Us);break;case 4:if(Ra(y,V),(V&amp;4194240)===V)break;for(w=y.eventTimes,G=-1;0&lt;V;){var ae=31-zt(V);J=1&lt;&lt;ae,ae=w[ae],ae&gt;G&amp;&amp;(G=ae),V&amp;=~J}if(V=G,V=_e()-V,V=(120&gt;V?120:480&gt;V?480:1080&gt;V?1080:1920&gt;V?1920:3e3&gt;V?3e3:4320&gt;V?4320:1960*IM(V/1960))-V,10&lt;V){y.timeoutHandle=f0(Ro.bind(null,y,ti,Us),V);break}Ro(y,ti,Us);break;case 5:Ro(y,ti,Us);break;default:throw Error(t(329))}}}return ri(y,_e()),y.callbackNode===A?v_.bind(null,y):null}function ag(y,w){var A=tu;return y.current.memoizedState.isDehydrated&amp;&amp;(Io(y,w).flags|=256),y=Mf(y,w),y!==2&amp;&amp;(w=ti,ti=A,w!==null&amp;&amp;og(w)),y}function og(y){ti===null?ti=y:ti.push.apply(ti,y)}function RM(y){for(var w=y;;){if(w.flags&amp;16384){var A=w.updateQueue;if(A!==null&amp;&amp;(A=A.stores,A!==null))for(var V=0;V&lt;A.length;V++){var G=A[V],J=G.getSnapshot;G=G.value;try{if(!Bn(J(),G))return!1}catch{return!1}}}if(A=w.child,w.subtreeFlags&amp;16384&amp;&amp;A!==null)A.return=w,w=A;else{if(w===y)break;for(;w.sibling===null;){if(w.return===null||w.return===y)return!0;w=w.return}w.sibling.return=w.return,w=w.sibling}}return!0}function Ra(y,w){for(w&amp;=~rg,w&amp;=~Sf,y.suspendedLanes|=w,y.pingedLanes&amp;=~w,y=y.expirationTimes;0&lt;w;){var A=31-zt(w),V=1&lt;&lt;A;y[A]=-1,w&amp;=~V}}function y_(y){if((Jt&amp;6)!==0)throw Error(t(327));Bl();var w=nn(y,0);if((w&amp;1)===0)return ri(y,_e()),null;var A=Mf(y,w);if(y.tag!==0&amp;&amp;A===2){var V=xi(y);V!==0&amp;&amp;(w=V,A=ag(y,V))}if(A===1)throw A=eu,Io(y,0),Ra(y,w),ri(y,_e()),A;if(A===6)throw Error(t(345));return y.finishedWork=y.current.alternate,y.finishedLanes=w,Ro(y,ti,Us),ri(y,_e()),null}function lg(y,w){var A=Jt;Jt|=1;try{return y(w)}finally{Jt=A,Jt===0&amp;&amp;(Fl=_e()+500,rf&amp;&amp;Ea())}}function To(y){Ta!==null&amp;&amp;Ta.tag===0&amp;&amp;(Jt&amp;6)===0&amp;&amp;Bl();var w=Jt;Jt|=1;var A=Ci.transition,V=Ft;try{if(Ci.transition=null,Ft=1,y)return y()}finally{Ft=V,Ci.transition=A,Jt=w,(Jt&amp;6)===0&amp;&amp;Ea()}}function cg(){fi=Ll.current,br(Ll)}function Io(y,w){y.finishedWork=null,y.finishedLanes=0;var A=y.timeoutHandle;if(A!==-1&amp;&amp;(y.timeoutHandle=-1,dM(A)),qr!==null)for(A=qr.return;A!==null;){var V=A;switch(y0(V),V.tag){case 1:V=V.type.childContextTypes,V!=null&amp;&amp;ef();break;case 3:Il(),br(Qn),br(Mn),O0();break;case 5:A0(V);break;case 4:Il();break;case 13:br(Er);break;case 19:br(Er);break;case 10:S0(V.type._context);break;case 22:case 23:cg()}A=A.return}if(an=y,qr=y=Da(y.current,null),xn=fi=w,Yr=0,eu=null,rg=Sf=Po=0,ti=tu=null,Ao!==null){for(w=0;w&lt;Ao.length;w++)if(A=Ao[w],V=A.interleaved,V!==null){A.interleaved=null;var G=V.next,J=A.pending;if(J!==null){var ae=J.next;J.next=G,V.next=ae}A.pending=V}Ao=null}return y}function b_(y,w){do{var A=qr;try{if(j0(),hf.current=vf,mf){for(var V=Ar.memoizedState;V!==null;){var G=V.queue;G!==null&amp;&amp;(G.pending=null),V=V.next}mf=!1}if(Oo=0,sn=Gr=Ar=null,Xc=!1,Gc=0,tg.current=null,A===null||A.return===null){Yr=1,eu=w,qr=null;break}e:{var J=y,ae=A.return,ve=A,xe=w;if(w=xn,ve.flags|=32768,xe!==null&amp;&amp;typeof xe==&quot;object&quot;&amp;&amp;typeof xe.then==&quot;function&quot;){var Me=xe,Ve=ve,He=Ve.tag;if((Ve.mode&amp;1)===0&amp;&amp;(He===0||He===11||He===15)){var $e=Ve.alternate;$e?(Ve.updateQueue=$e.updateQueue,Ve.memoizedState=$e.memoizedState,Ve.lanes=$e.lanes):(Ve.updateQueue=null,Ve.memoizedState=null)}var nt=qw(ae);if(nt!==null){nt.flags&amp;=-257,Hw(nt,ae,ve,J,w),nt.mode&amp;1&amp;&amp;Vw(J,Me,w),w=nt,xe=Me;var dt=w.updateQueue;if(dt===null){var mt=new Set;mt.add(xe),w.updateQueue=mt}else dt.add(xe);break e}else{if((w&amp;1)===0){Vw(J,Me,w),ug();break e}xe=Error(t(426))}}else if(_r&amp;&amp;ve.mode&amp;1){var zr=qw(ae);if(zr!==null){(zr.flags&amp;65536)===0&amp;&amp;(zr.flags|=256),Hw(zr,ae,ve,J,w),w0(Rl(xe,ve));break e}}J=xe=Rl(xe,ve),Yr!==4&amp;&amp;(Yr=2),tu===null?tu=[J]:tu.push(J),J=ae;do{switch(J.tag){case 3:J.flags|=65536,w&amp;=-w,J.lanes|=w;var Ne=$w(J,xe,w);mw(J,Ne);break e;case 1:ve=xe;var we=J.type,Ee=J.stateNode;if((J.flags&amp;128)===0&amp;&amp;(typeof we.getDerivedStateFromError==&quot;function&quot;||Ee!==null&amp;&amp;typeof Ee.componentDidCatch==&quot;function&quot;&amp;&amp;(Pa===null||!Pa.has(Ee)))){J.flags|=65536,w&amp;=-w,J.lanes|=w;var Ge=Uw(J,ve,w);mw(J,Ge);break e}}J=J.return}while(J!==null)}__(A)}catch(vt){w=vt,qr===A&amp;&amp;A!==null&amp;&amp;(qr=A=A.return);continue}break}while(!0)}function x_(){var y=jf.current;return jf.current=vf,y===null?vf:y}function ug(){(Yr===0||Yr===3||Yr===2)&amp;&amp;(Yr=4),an===null||(Po&amp;268435455)===0&amp;&amp;(Sf&amp;268435455)===0||Ra(an,xn)}function Mf(y,w){var A=Jt;Jt|=2;var V=x_();(an!==y||xn!==w)&amp;&amp;(Us=null,Io(y,w));do try{DM();break}catch(G){b_(y,G)}while(!0);if(j0(),Jt=A,jf.current=V,qr!==null)throw Error(t(261));return an=null,xn=0,Yr}function DM(){for(;qr!==null;)w_(qr)}function LM(){for(;qr!==null&amp;&amp;!Tr();)w_(qr)}function w_(y){var w=k_(y.alternate,y,fi);y.memoizedProps=y.pendingProps,w===null?__(y):qr=w,tg.current=null}function __(y){var w=y;do{var A=w.alternate;if(y=w.return,(w.flags&amp;32768)===0){if(A=AM(A,w,fi),A!==null){qr=A;return}}else{if(A=MM(A,w),A!==null){A.flags&amp;=32767,qr=A;return}if(y!==null)y.flags|=32768,y.subtreeFlags=0,y.deletions=null;else{Yr=6,qr=null;return}}if(w=w.sibling,w!==null){qr=w;return}qr=w=y}while(w!==null);Yr===0&amp;&amp;(Yr=5)}function Ro(y,w,A){var V=Ft,G=Ci.transition;try{Ci.transition=null,Ft=1,FM(y,w,A,V)}finally{Ci.transition=G,Ft=V}return null}function FM(y,w,A,V){do Bl();while(Ta!==null);if((Jt&amp;6)!==0)throw Error(t(327));A=y.finishedWork;var G=y.finishedLanes;if(A===null)return null;if(y.finishedWork=null,y.finishedLanes=0,A===y.current)throw Error(t(177));y.callbackNode=null,y.callbackPriority=0;var J=A.lanes|A.childLanes;if(wi(y,J),y===an&amp;&amp;(qr=an=null,xn=0),(A.subtreeFlags&amp;2064)===0&amp;&amp;(A.flags&amp;2064)===0||Nf||(Nf=!0,N_(De,function(){return Bl(),null})),J=(A.flags&amp;15990)!==0,(A.subtreeFlags&amp;15990)!==0||J){J=Ci.transition,Ci.transition=null;var ae=Ft;Ft=1;var ve=Jt;Jt|=4,tg.current=null,PM(y,A),f_(A,y),Re(u0),ho=!!c0,u0=c0=null,y.current=A,TM(A),me(),Jt=ve,Ft=ae,Ci.transition=J}else y.current=A;if(Nf&amp;&amp;(Nf=!1,Ta=y,Cf=G),J=y.pendingLanes,J===0&amp;&amp;(Pa=null),lt(A.stateNode),ri(y,_e()),w!==null)for(V=y.onRecoverableError,A=0;A&lt;w.length;A++)G=w[A],V(G.value,{componentStack:G.stack,digest:G.digest});if(kf)throw kf=!1,y=ig,ig=null,y;return(Cf&amp;1)!==0&amp;&amp;y.tag!==0&amp;&amp;Bl(),J=y.pendingLanes,(J&amp;1)!==0?y===sg?ru++:(ru=0,sg=y):ru=0,Ea(),null}function Bl(){if(Ta!==null){var y=Fr(Cf),w=Ci.transition,A=Ft;try{if(Ci.transition=null,Ft=16&gt;y?16:y,Ta===null)var V=!1;else{if(y=Ta,Ta=null,Cf=0,(Jt&amp;6)!==0)throw Error(t(331));var G=Jt;for(Jt|=4,at=y.current;at!==null;){var J=at,ae=J.child;if((at.flags&amp;16)!==0){var ve=J.deletions;if(ve!==null){for(var xe=0;xe&lt;ve.length;xe++){var Me=ve[xe];for(at=Me;at!==null;){var Ve=at;switch(Ve.tag){case 0:case 11:case 15:Jc(8,Ve,J)}var He=Ve.child;if(He!==null)He.return=Ve,at=He;else for(;at!==null;){Ve=at;var $e=Ve.sibling,nt=Ve.return;if(o_(Ve),Ve===Me){at=null;break}if($e!==null){$e.return=nt,at=$e;break}at=nt}}}var dt=J.alternate;if(dt!==null){var mt=dt.child;if(mt!==null){dt.child=null;do{var zr=mt.sibling;mt.sibling=null,mt=zr}while(mt!==null)}}at=J}}if((J.subtreeFlags&amp;2064)!==0&amp;&amp;ae!==null)ae.return=J,at=ae;else e:for(;at!==null;){if(J=at,(J.flags&amp;2048)!==0)switch(J.tag){case 0:case 11:case 15:Jc(9,J,J.return)}var Ne=J.sibling;if(Ne!==null){Ne.return=J.return,at=Ne;break e}at=J.return}}var we=y.current;for(at=we;at!==null;){ae=at;var Ee=ae.child;if((ae.subtreeFlags&amp;2064)!==0&amp;&amp;Ee!==null)Ee.return=ae,at=Ee;else e:for(ae=we;at!==null;){if(ve=at,(ve.flags&amp;2048)!==0)try{switch(ve.tag){case 0:case 11:case 15:_f(9,ve)}}catch(vt){Ir(ve,ve.return,vt)}if(ve===ae){at=null;break e}var Ge=ve.sibling;if(Ge!==null){Ge.return=ve.return,at=Ge;break e}at=ve.return}}if(Jt=G,Ea(),Et&amp;&amp;typeof Et.onPostCommitFiberRoot==&quot;function&quot;)try{Et.onPostCommitFiberRoot(pt,y)}catch{}V=!0}return V}finally{Ft=A,Ci.transition=w}}return!1}function j_(y,w,A){w=Rl(A,w),w=$w(y,w,1),y=Ma(y,w,1),w=$n(),y!==null&amp;&amp;(gn(y,1,w),ri(y,w))}function Ir(y,w,A){if(y.tag===3)j_(y,y,A);else for(;w!==null;){if(w.tag===3){j_(w,y,A);break}else if(w.tag===1){var V=w.stateNode;if(typeof w.type.getDerivedStateFromError==&quot;function&quot;||typeof V.componentDidCatch==&quot;function&quot;&amp;&amp;(Pa===null||!Pa.has(V))){y=Rl(A,y),y=Uw(w,y,1),w=Ma(w,y,1),y=$n(),w!==null&amp;&amp;(gn(w,1,y),ri(w,y));break}}w=w.return}}function BM(y,w,A){var V=y.pingCache;V!==null&amp;&amp;V.delete(w),w=$n(),y.pingedLanes|=y.suspendedLanes&amp;A,an===y&amp;&amp;(xn&amp;A)===A&amp;&amp;(Yr===4||Yr===3&amp;&amp;(xn&amp;130023424)===xn&amp;&amp;500&gt;_e()-ng?Io(y,0):rg|=A),ri(y,w)}function S_(y,w){w===0&amp;&amp;((y.mode&amp;1)===0?w=1:(w=Cr,Cr&lt;&lt;=1,(Cr&amp;130023424)===0&amp;&amp;(Cr=4194304)));var A=$n();y=Bs(y,w),y!==null&amp;&amp;(gn(y,w,A),ri(y,A))}function zM(y){var w=y.memoizedState,A=0;w!==null&amp;&amp;(A=w.retryLane),S_(y,A)}function $M(y,w){var A=0;switch(y.tag){case 13:var V=y.stateNode,G=y.memoizedState;G!==null&amp;&amp;(A=G.retryLane);break;case 19:V=y.stateNode;break;default:throw Error(t(314))}V!==null&amp;&amp;V.delete(w),S_(y,A)}var k_;k_=function(y,w,A){if(y!==null)if(y.memoizedProps!==w.pendingProps||Qn.current)ei=!0;else{if((y.lanes&amp;A)===0&amp;&amp;(w.flags&amp;128)===0)return ei=!1,EM(y,w,A);ei=(y.flags&amp;131072)!==0}else ei=!1,_r&amp;&amp;(w.flags&amp;1048576)!==0&amp;&amp;iw(w,sf,w.index);switch(w.lanes=0,w.tag){case 2:var V=w.type;xf(y,w),y=w.pendingProps;var G=Cl(w,Mn.current);Tl(w,A),G=I0(null,w,V,y,G,A);var J=R0();return w.flags|=1,typeof G==&quot;object&quot;&amp;&amp;G!==null&amp;&amp;typeof G.render==&quot;function&quot;&amp;&amp;G.$$typeof===void 0?(w.tag=1,w.memoizedState=null,w.updateQueue=null,Jn(V)?(J=!0,tf(w)):J=!1,w.memoizedState=G.state!==null&amp;&amp;G.state!==void 0?G.state:null,C0(w),G.updater=yf,w.stateNode=G,G._reactInternals=w,$0(w,V,y,A),w=H0(null,w,V,!0,J,A)):(w.tag=0,_r&amp;&amp;J&amp;&amp;v0(w),zn(null,w,G,A),w=w.child),w;case 16:V=w.elementType;e:{switch(xf(y,w),y=w.pendingProps,G=V._init,V=G(V._payload),w.type=V,G=w.tag=VM(V),y=Zi(V,y),G){case 0:w=q0(null,w,V,y,A);break e;case 1:w=Zw(null,w,V,y,A);break e;case 11:w=Ww(null,w,V,y,A);break e;case 14:w=Kw(null,w,V,Zi(V.type,y),A);break e}throw Error(t(306,V,&quot;&quot;))}return w;case 0:return V=w.type,G=w.pendingProps,G=w.elementType===V?G:Zi(V,G),q0(y,w,V,G,A);case 1:return V=w.type,G=w.pendingProps,G=w.elementType===V?G:Zi(V,G),Zw(y,w,V,G,A);case 3:e:{if(Qw(w),y===null)throw Error(t(387));V=w.pendingProps,J=w.memoizedState,G=J.element,hw(y,w),df(w,V,null,A);var ae=w.memoizedState;if(V=ae.element,J.isDehydrated)if(J={element:V,isDehydrated:!1,cache:ae.cache,pendingSuspenseBoundaries:ae.pendingSuspenseBoundaries,transitions:ae.transitions},w.updateQueue.baseState=J,w.memoizedState=J,w.flags&amp;256){G=Rl(Error(t(423)),w),w=Jw(y,w,V,A,G);break e}else if(V!==G){G=Rl(Error(t(424)),w),w=Jw(y,w,V,A,G);break e}else for(di=ka(w.stateNode.containerInfo.firstChild),ui=w,_r=!0,Yi=null,A=dw(w,null,V,A),w.child=A;A;)A.flags=A.flags&amp;-3|4096,A=A.sibling;else{if(Ml(),V===G){w=$s(y,w,A);break e}zn(y,w,V,A)}w=w.child}return w;case 5:return gw(w),y===null&amp;&amp;x0(w),V=w.type,G=w.pendingProps,J=y!==null?y.memoizedProps:null,ae=G.children,d0(V,G)?ae=null:J!==null&amp;&amp;d0(V,J)&amp;&amp;(w.flags|=32),Yw(y,w),zn(y,w,ae,A),w.child;case 6:return y===null&amp;&amp;x0(w),null;case 13:return e_(y,w,A);case 4:return E0(w,w.stateNode.containerInfo),V=w.pendingProps,y===null?w.child=Ol(w,null,V,A):zn(y,w,V,A),w.child;case 11:return V=w.type,G=w.pendingProps,G=w.elementType===V?G:Zi(V,G),Ww(y,w,V,G,A);case 7:return zn(y,w,w.pendingProps,A),w.child;case 8:return zn(y,w,w.pendingProps.children,A),w.child;case 12:return zn(y,w,w.pendingProps.children,A),w.child;case 10:e:{if(V=w.type._context,G=w.pendingProps,J=w.memoizedProps,ae=G.value,pr(lf,V._currentValue),V._currentValue=ae,J!==null)if(Bn(J.value,ae)){if(J.children===G.children&amp;&amp;!Qn.current){w=$s(y,w,A);break e}}else for(J=w.child,J!==null&amp;&amp;(J.return=w);J!==null;){var ve=J.dependencies;if(ve!==null){ae=J.child;for(var xe=ve.firstContext;xe!==null;){if(xe.context===V){if(J.tag===1){xe=zs(-1,A&amp;-A),xe.tag=2;var Me=J.updateQueue;if(Me!==null){Me=Me.shared;var Ve=Me.pending;Ve===null?xe.next=xe:(xe.next=Ve.next,Ve.next=xe),Me.pending=xe}}J.lanes|=A,xe=J.alternate,xe!==null&amp;&amp;(xe.lanes|=A),k0(J.return,A,w),ve.lanes|=A;break}xe=xe.next}}else if(J.tag===10)ae=J.type===w.type?null:J.child;else if(J.tag===18){if(ae=J.return,ae===null)throw Error(t(341));ae.lanes|=A,ve=ae.alternate,ve!==null&amp;&amp;(ve.lanes|=A),k0(ae,A,w),ae=J.sibling}else ae=J.child;if(ae!==null)ae.return=J;else for(ae=J;ae!==null;){if(ae===w){ae=null;break}if(J=ae.sibling,J!==null){J.return=ae.return,ae=J;break}ae=ae.return}J=ae}zn(y,w,G.children,A),w=w.child}return w;case 9:return G=w.type,V=w.pendingProps.children,Tl(w,A),G=ki(G),V=V(G),w.flags|=1,zn(y,w,V,A),w.child;case 14:return V=w.type,G=Zi(V,w.pendingProps),G=Zi(V.type,G),Kw(y,w,V,G,A);case 15:return Xw(y,w,w.type,w.pendingProps,A);case 17:return V=w.type,G=w.pendingProps,G=w.elementType===V?G:Zi(V,G),xf(y,w),w.tag=1,Jn(V)?(y=!0,tf(w)):y=!1,Tl(w,A),Bw(w,V,G),$0(w,V,G,A),H0(null,w,V,!0,y,A);case 19:return r_(y,w,A);case 22:return Gw(y,w,A)}throw Error(t(156,w.tag))};function N_(y,w){return cr(y,w)}function UM(y,w,A,V){this.tag=y,this.key=A,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=w,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=V,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ei(y,w,A,V){return new UM(y,w,A,V)}function dg(y){return y=y.prototype,!(!y||!y.isReactComponent)}function VM(y){if(typeof y==&quot;function&quot;)return dg(y)?1:0;if(y!=null){if(y=y.$$typeof,y===U)return 11;if(y===E)return 14}return 2}function Da(y,w){var A=y.alternate;return A===null?(A=Ei(y.tag,w,y.key,y.mode),A.elementType=y.elementType,A.type=y.type,A.stateNode=y.stateNode,A.alternate=y,y.alternate=A):(A.pendingProps=w,A.type=y.type,A.flags=0,A.subtreeFlags=0,A.deletions=null),A.flags=y.flags&amp;14680064,A.childLanes=y.childLanes,A.lanes=y.lanes,A.child=y.child,A.memoizedProps=y.memoizedProps,A.memoizedState=y.memoizedState,A.updateQueue=y.updateQueue,w=y.dependencies,A.dependencies=w===null?null:{lanes:w.lanes,firstContext:w.firstContext},A.sibling=y.sibling,A.index=y.index,A.ref=y.ref,A}function Of(y,w,A,V,G,J){var ae=2;if(V=y,typeof y==&quot;function&quot;)dg(y)&amp;&amp;(ae=1);else if(typeof y==&quot;string&quot;)ae=5;else e:switch(y){case H:return Do(A.children,G,J,w);case L:ae=8,G|=8;break;case q:return y=Ei(12,A,w,G|2),y.elementType=q,y.lanes=J,y;case P:return y=Ei(13,A,w,G),y.elementType=P,y.lanes=J,y;case D:return y=Ei(19,A,w,G),y.elementType=D,y.lanes=J,y;case k:return Pf(A,G,J,w);default:if(typeof y==&quot;object&quot;&amp;&amp;y!==null)switch(y.$$typeof){case W:ae=10;break e;case K:ae=9;break e;case U:ae=11;break e;case E:ae=14;break e;case j:ae=16,V=null;break e}throw Error(t(130,y==null?y:typeof y,&quot;&quot;))}return w=Ei(ae,A,w,G),w.elementType=y,w.type=V,w.lanes=J,w}function Do(y,w,A,V){return y=Ei(7,y,V,w),y.lanes=A,y}function Pf(y,w,A,V){return y=Ei(22,y,V,w),y.elementType=k,y.lanes=A,y.stateNode={isHidden:!1},y}function fg(y,w,A){return y=Ei(6,y,null,w),y.lanes=A,y}function hg(y,w,A){return w=Ei(4,y.children!==null?y.children:[],y.key,w),w.lanes=A,w.stateNode={containerInfo:y.containerInfo,pendingChildren:null,implementation:y.implementation},w}function qM(y,w,A,V,G){this.tag=w,this.containerInfo=y,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Vt(0),this.expirationTimes=Vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vt(0),this.identifierPrefix=V,this.onRecoverableError=G,this.mutableSourceEagerHydrationData=null}function mg(y,w,A,V,G,J,ae,ve,xe){return y=new qM(y,w,A,ve,xe),w===1?(w=1,J===!0&amp;&amp;(w|=8)):w=0,J=Ei(3,null,null,w),y.current=J,J.stateNode=y,J.memoizedState={element:V,isDehydrated:A,cache:null,transitions:null,pendingSuspenseBoundaries:null},C0(J),y}function HM(y,w,A){var V=3&lt;arguments.length&amp;&amp;arguments[3]!==void 0?arguments[3]:null;return{$$typeof:R,key:V==null?null:&quot;&quot;+V,children:y,containerInfo:w,implementation:A}}function C_(y){if(!y)return Ca;y=y._reactInternals;e:{if(tt(y)!==y||y.tag!==1)throw Error(t(170));var w=y;do{switch(w.tag){case 3:w=w.stateNode.context;break e;case 1:if(Jn(w.type)){w=w.stateNode.__reactInternalMemoizedMergedChildContext;break e}}w=w.return}while(w!==null);throw Error(t(171))}if(y.tag===1){var A=y.type;if(Jn(A))return tw(y,A,w)}return w}function E_(y,w,A,V,G,J,ae,ve,xe){return y=mg(A,V,!0,y,G,J,ae,ve,xe),y.context=C_(null),A=y.current,V=$n(),G=Ia(A),J=zs(V,G),J.callback=w??null,Ma(A,J,G),y.current.lanes=G,gn(y,G,V),ri(y,V),y}function Tf(y,w,A,V){var G=w.current,J=$n(),ae=Ia(G);return A=C_(A),w.context===null?w.context=A:w.pendingContext=A,w=zs(J,ae),w.payload={element:y},V=V===void 0?null:V,V!==null&amp;&amp;(w.callback=V),y=Ma(G,w,ae),y!==null&amp;&amp;(es(y,G,ae,J),uf(y,G,ae)),ae}function If(y){return y=y.current,y.child?(y.child.tag===5,y.child.stateNode):null}function A_(y,w){if(y=y.memoizedState,y!==null&amp;&amp;y.dehydrated!==null){var A=y.retryLane;y.retryLane=A!==0&amp;&amp;A&lt;w?A:w}}function pg(y,w){A_(y,w),(y=y.alternate)&amp;&amp;A_(y,w)}function WM(){return null}var M_=typeof reportError==&quot;function&quot;?reportError:function(y){console.error(y)};function gg(y){this._internalRoot=y}Rf.prototype.render=gg.prototype.render=function(y){var w=this._internalRoot;if(w===null)throw Error(t(409));Tf(y,w,null,null)},Rf.prototype.unmount=gg.prototype.unmount=function(){var y=this._internalRoot;if(y!==null){this._internalRoot=null;var w=y.containerInfo;To(function(){Tf(null,y,null,null)}),w[Rs]=null}};function Rf(y){this._internalRoot=y}Rf.prototype.unstable_scheduleHydration=function(y){if(y){var w=Hi();y={blockedOn:null,target:y,priority:w};for(var A=0;A&lt;An.length&amp;&amp;w!==0&amp;&amp;w&lt;An[A].priority;A++);An.splice(A,0,y),A===0&amp;&amp;pa(y)}};function vg(y){return!(!y||y.nodeType!==1&amp;&amp;y.nodeType!==9&amp;&amp;y.nodeType!==11)}function Df(y){return!(!y||y.nodeType!==1&amp;&amp;y.nodeType!==9&amp;&amp;y.nodeType!==11&amp;&amp;(y.nodeType!==8||y.nodeValue!==&quot; react-mount-point-unstable &quot;))}function O_(){}function KM(y,w,A,V,G){if(G){if(typeof V==&quot;function&quot;){var J=V;V=function(){var Me=If(ae);J.call(Me)}}var ae=E_(w,V,y,0,null,!1,!1,&quot;&quot;,O_);return y._reactRootContainer=ae,y[Rs]=ae.current,zc(y.nodeType===8?y.parentNode:y),To(),ae}for(;G=y.lastChild;)y.removeChild(G);if(typeof V==&quot;function&quot;){var ve=V;V=function(){var Me=If(xe);ve.call(Me)}}var xe=mg(y,0,!1,null,null,!1,!1,&quot;&quot;,O_);return y._reactRootContainer=xe,y[Rs]=xe.current,zc(y.nodeType===8?y.parentNode:y),To(function(){Tf(w,xe,A,V)}),xe}function Lf(y,w,A,V,G){var J=A._reactRootContainer;if(J){var ae=J;if(typeof G==&quot;function&quot;){var ve=G;G=function(){var xe=If(ae);ve.call(xe)}}Tf(w,ae,y,G)}else ae=KM(A,w,y,G,V);return If(ae)}vn=function(y){switch(y.tag){case 3:var w=y.stateNode;if(w.current.memoizedState.isDehydrated){var A=Vr(w.pendingLanes);A!==0&amp;&amp;(Vi(w,A|1),ri(w,_e()),(Jt&amp;6)===0&amp;&amp;(Fl=_e()+500,Ea()))}break;case 13:To(function(){var V=Bs(y,1);if(V!==null){var G=$n();es(V,y,1,G)}}),pg(y,1)}},qi=function(y){if(y.tag===13){var w=Bs(y,134217728);if(w!==null){var A=$n();es(w,y,134217728,A)}pg(y,134217728)}},ms=function(y){if(y.tag===13){var w=Ia(y),A=Bs(y,w);if(A!==null){var V=$n();es(A,y,w,V)}pg(y,w)}},Hi=function(){return Ft},Br=function(y,w){var A=Ft;try{return Ft=y,w()}finally{Ft=A}},st=function(y,w,A){switch(w){case&quot;input&quot;:if(se(y,A),w=A.name,A.type===&quot;radio&quot;&amp;&amp;w!=null){for(A=y;A.parentNode;)A=A.parentNode;for(A=A.querySelectorAll(&quot;input[name=&quot;+JSON.stringify(&quot;&quot;+w)+&#039;][type=&quot;radio&quot;]&#039;),w=0;w&lt;A.length;w++){var V=A[w];if(V!==y&amp;&amp;V.form===y.form){var G=Jd(V);if(!G)throw Error(t(90));ne(V),se(V,G)}}}break;case&quot;textarea&quot;:le(y,A);break;case&quot;select&quot;:w=A.value,w!=null&amp;&amp;ge(y,!!A.multiple,w,!1)}},ct=lg,$t=To;var XM={usingClientEntryPoint:!1,Events:[Vc,kl,Jd,It,Bt,lg]},nu={findFiberByHostInstance:ko,bundleType:0,version:&quot;18.3.1&quot;,rendererPackageName:&quot;react-dom&quot;},GM={bundleType:nu.bundleType,version:nu.version,rendererPackageName:nu.rendererPackageName,rendererConfig:nu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(y){return y=ir(y),y===null?null:y.stateNode},findFiberByHostInstance:nu.findFiberByHostInstance||WM,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:&quot;18.3.1-next-f1338f8080-20240426&quot;};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&lt;&quot;u&quot;){var Ff=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ff.isDisabled&amp;&amp;Ff.supportsFiber)try{pt=Ff.inject(GM),Et=Ff}catch{}}return ni.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=XM,ni.createPortal=function(y,w){var A=2&lt;arguments.length&amp;&amp;arguments[2]!==void 0?arguments[2]:null;if(!vg(w))throw Error(t(200));return HM(y,w,null,A)},ni.createRoot=function(y,w){if(!vg(y))throw Error(t(299));var A=!1,V=&quot;&quot;,G=M_;return w!=null&amp;&amp;(w.unstable_strictMode===!0&amp;&amp;(A=!0),w.identifierPrefix!==void 0&amp;&amp;(V=w.identifierPrefix),w.onRecoverableError!==void 0&amp;&amp;(G=w.onRecoverableError)),w=mg(y,1,!1,null,null,A,!1,V,G),y[Rs]=w.current,zc(y.nodeType===8?y.parentNode:y),new gg(w)},ni.findDOMNode=function(y){if(y==null)return null;if(y.nodeType===1)return y;var w=y._reactInternals;if(w===void 0)throw typeof y.render==&quot;function&quot;?Error(t(188)):(y=Object.keys(y).join(&quot;,&quot;),Error(t(268,y)));return y=ir(w),y=y===null?null:y.stateNode,y},ni.flushSync=function(y){return To(y)},ni.hydrate=function(y,w,A){if(!Df(w))throw Error(t(200));return Lf(null,y,w,!0,A)},ni.hydrateRoot=function(y,w,A){if(!vg(y))throw Error(t(405));var V=A!=null&amp;&amp;A.hydratedSources||null,G=!1,J=&quot;&quot;,ae=M_;if(A!=null&amp;&amp;(A.unstable_strictMode===!0&amp;&amp;(G=!0),A.identifierPrefix!==void 0&amp;&amp;(J=A.identifierPrefix),A.onRecoverableError!==void 0&amp;&amp;(ae=A.onRecoverableError)),w=E_(w,null,y,1,A??null,G,!1,J,ae),y[Rs]=w.current,zc(y),V)for(y=0;y&lt;V.length;y++)A=V[y],G=A._getVersion,G=G(A._source),w.mutableSourceEagerHydrationData==null?w.mutableSourceEagerHydrationData=[A,G]:w.mutableSourceEagerHydrationData.push(A,G);return new Rf(w)},ni.render=function(y,w,A){if(!Df(w))throw Error(t(200));return Lf(null,y,w,!1,A)},ni.unmountComponentAtNode=function(y){if(!Df(y))throw Error(t(40));return y._reactRootContainer?(To(function(){Lf(null,null,y,!1,function(){y._reactRootContainer=null,y[Rs]=null})}),!0):!1},ni.unstable_batchedUpdates=lg,ni.unstable_renderSubtreeIntoContainer=function(y,w,A,V){if(!Df(A))throw Error(t(200));if(y==null||y._reactInternals===void 0)throw Error(t(38));return Lf(y,w,A,!1,V)},ni.version=&quot;18.3.1-next-f1338f8080-20240426&quot;,ni}var B_;function Bk(){if(B_)return xg.exports;B_=1;function e(){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(e)}catch(r){console.error(r)}}return e(),xg.exports=nO(),xg.exports}var z_;function iO(){if(z_)return Bf;z_=1;var e=Bk();return Bf.createRoot=e.createRoot,Bf.hydrateRoot=e.hydrateRoot,Bf}var sO=iO();const aO=ds(sO);var Rm=Bk();function Cu(){return Cu=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Cu.apply(this,arguments)}var qa;(function(e){e.Pop=&quot;POP&quot;,e.Push=&quot;PUSH&quot;,e.Replace=&quot;REPLACE&quot;})(qa||(qa={}));const $_=&quot;popstate&quot;;function oO(e){e===void 0&amp;&amp;(e={});function r(n,l){let{pathname:i,search:a,hash:u}=n.location;return Oy(&quot;&quot;,{pathname:i,search:a,hash:u},l.state&amp;&amp;l.state.usr||null,l.state&amp;&amp;l.state.key||&quot;default&quot;)}function t(n,l){return typeof l==&quot;string&quot;?l:Eh(l)}return cO(r,t,null,e)}function Ur(e,r){if(e===!1||e===null||typeof e&gt;&quot;u&quot;)throw new Error(r)}function vx(e,r){if(!e){typeof console&lt;&quot;u&quot;&amp;&amp;console.warn(r);try{throw new Error(r)}catch{}}}function lO(){return Math.random().toString(36).substr(2,8)}function U_(e,r){return{usr:e.state,key:e.key,idx:r}}function Oy(e,r,t,n){return t===void 0&amp;&amp;(t=null),Cu({pathname:typeof e==&quot;string&quot;?e:e.pathname,search:&quot;&quot;,hash:&quot;&quot;},typeof r==&quot;string&quot;?fc(r):r,{state:t,key:r&amp;&amp;r.key||n||lO()})}function Eh(e){let{pathname:r=&quot;/&quot;,search:t=&quot;&quot;,hash:n=&quot;&quot;}=e;return t&amp;&amp;t!==&quot;?&quot;&amp;&amp;(r+=t.charAt(0)===&quot;?&quot;?t:&quot;?&quot;+t),n&amp;&amp;n!==&quot;#&quot;&amp;&amp;(r+=n.charAt(0)===&quot;#&quot;?n:&quot;#&quot;+n),r}function fc(e){let r={};if(e){let t=e.indexOf(&quot;#&quot;);t&gt;=0&amp;&amp;(r.hash=e.substr(t),e=e.substr(0,t));let n=e.indexOf(&quot;?&quot;);n&gt;=0&amp;&amp;(r.search=e.substr(n),e=e.substr(0,n)),e&amp;&amp;(r.pathname=e)}return r}function cO(e,r,t,n){n===void 0&amp;&amp;(n={});let{window:l=document.defaultView,v5Compat:i=!1}=n,a=l.history,u=qa.Pop,o=null,s=c();s==null&amp;&amp;(s=0,a.replaceState(Cu({},a.state,{idx:s}),&quot;&quot;));function c(){return(a.state||{idx:null}).idx}function f(){u=qa.Pop;let g=c(),b=g==null?null:g-s;s=g,o&amp;&amp;o({action:u,location:v.location,delta:b})}function h(g,b){u=qa.Push;let x=Oy(v.location,g,b);s=c()+1;let _=U_(x,s),C=v.createHref(x);try{a.pushState(_,&quot;&quot;,C)}catch(O){if(O instanceof DOMException&amp;&amp;O.name===&quot;DataCloneError&quot;)throw O;l.location.assign(C)}i&amp;&amp;o&amp;&amp;o({action:u,location:v.location,delta:1})}function m(g,b){u=qa.Replace;let x=Oy(v.location,g,b);s=c();let _=U_(x,s),C=v.createHref(x);a.replaceState(_,&quot;&quot;,C),i&amp;&amp;o&amp;&amp;o({action:u,location:v.location,delta:0})}function p(g){let b=l.location.origin!==&quot;null&quot;?l.location.origin:l.location.href,x=typeof g==&quot;string&quot;?g:Eh(g);return x=x.replace(/ $/,&quot;%20&quot;),Ur(b,&quot;No window.location.(origin|href) available to create URL for href: &quot;+x),new URL(x,b)}let v={get action(){return u},get location(){return e(l,a)},listen(g){if(o)throw new Error(&quot;A history only accepts one active listener&quot;);return l.addEventListener($_,f),o=g,()=&gt;{l.removeEventListener($_,f),o=null}},createHref(g){return r(l,g)},createURL:p,encodeLocation(g){let b=p(g);return{pathname:b.pathname,search:b.search,hash:b.hash}},push:h,replace:m,go(g){return a.go(g)}};return v}var V_;(function(e){e.data=&quot;data&quot;,e.deferred=&quot;deferred&quot;,e.redirect=&quot;redirect&quot;,e.error=&quot;error&quot;})(V_||(V_={}));function uO(e,r,t){return t===void 0&amp;&amp;(t=&quot;/&quot;),dO(e,r,t)}function dO(e,r,t,n){let l=typeof r==&quot;string&quot;?fc(r):r,i=yx(l.pathname||&quot;/&quot;,t);if(i==null)return null;let a=zk(e);fO(a);let u=null;for(let o=0;u==null&amp;&amp;o&lt;a.length;++o){let s=SO(i);u=wO(a[o],s)}return u}function zk(e,r,t,n){r===void 0&amp;&amp;(r=[]),t===void 0&amp;&amp;(t=[]),n===void 0&amp;&amp;(n=&quot;&quot;);let l=(i,a,u)=&gt;{let o={relativePath:u===void 0?i.path||&quot;&quot;:u,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};o.relativePath.startsWith(&quot;/&quot;)&amp;&amp;(Ur(o.relativePath.startsWith(n),&#039;Absolute route path &quot;&#039;+o.relativePath+&#039;&quot; nested under path &#039;+(&#039;&quot;&#039;+n+&#039;&quot; is not valid. An absolute child route path &#039;)+&quot;must start with the combined path of all its parent routes.&quot;),o.relativePath=o.relativePath.slice(n.length));let s=Xa([n,o.relativePath]),c=t.concat(o);i.children&amp;&amp;i.children.length&gt;0&amp;&amp;(Ur(i.index!==!0,&quot;Index routes must not have child routes. Please remove &quot;+(&#039;all child routes from route path &quot;&#039;+s+&#039;&quot;.&#039;)),zk(i.children,r,c,s)),!(i.path==null&amp;&amp;!i.index)&amp;&amp;r.push({path:s,score:bO(s,i.index),routesMeta:c})};return e.forEach((i,a)=&gt;{var u;if(i.path===&quot;&quot;||!((u=i.path)!=null&amp;&amp;u.includes(&quot;?&quot;)))l(i,a);else for(let o of $k(i.path))l(i,a,o)}),r}function $k(e){let r=e.split(&quot;/&quot;);if(r.length===0)return[];let[t,...n]=r,l=t.endsWith(&quot;?&quot;),i=t.replace(/\?$/,&quot;&quot;);if(n.length===0)return l?[i,&quot;&quot;]:[i];let a=$k(n.join(&quot;/&quot;)),u=[];return u.push(...a.map(o=&gt;o===&quot;&quot;?i:[i,o].join(&quot;/&quot;))),l&amp;&amp;u.push(...a),u.map(o=&gt;e.startsWith(&quot;/&quot;)&amp;&amp;o===&quot;&quot;?&quot;/&quot;:o)}function fO(e){e.sort((r,t)=&gt;r.score!==t.score?t.score-r.score:xO(r.routesMeta.map(n=&gt;n.childrenIndex),t.routesMeta.map(n=&gt;n.childrenIndex)))}const hO=/^:[\w-]+$/,mO=3,pO=2,gO=1,vO=10,yO=-2,q_=e=&gt;e===&quot;*&quot;;function bO(e,r){let t=e.split(&quot;/&quot;),n=t.length;return t.some(q_)&amp;&amp;(n+=yO),r&amp;&amp;(n+=pO),t.filter(l=&gt;!q_(l)).reduce((l,i)=&gt;l+(hO.test(i)?mO:i===&quot;&quot;?gO:vO),n)}function xO(e,r){return e.length===r.length&amp;&amp;e.slice(0,-1).every((n,l)=&gt;n===r[l])?e[e.length-1]-r[r.length-1]:0}function wO(e,r,t){let{routesMeta:n}=e,l={},i=&quot;/&quot;,a=[];for(let u=0;u&lt;n.length;++u){let o=n[u],s=u===n.length-1,c=i===&quot;/&quot;?r:r.slice(i.length)||&quot;/&quot;,f=_O({path:o.relativePath,caseSensitive:o.caseSensitive,end:s},c),h=o.route;if(!f)return null;Object.assign(l,f.params),a.push({params:l,pathname:Xa([i,f.pathname]),pathnameBase:AO(Xa([i,f.pathnameBase])),route:h}),f.pathnameBase!==&quot;/&quot;&amp;&amp;(i=Xa([i,f.pathnameBase]))}return a}function _O(e,r){typeof e==&quot;string&quot;&amp;&amp;(e={path:e,caseSensitive:!1,end:!0});let[t,n]=jO(e.path,e.caseSensitive,e.end),l=r.match(t);if(!l)return null;let i=l[0],a=i.replace(/(.)\/+$/,&quot;$1&quot;),u=l.slice(1);return{params:n.reduce((s,c,f)=&gt;{let{paramName:h,isOptional:m}=c;if(h===&quot;*&quot;){let v=u[f]||&quot;&quot;;a=i.slice(0,i.length-v.length).replace(/(.)\/+$/,&quot;$1&quot;)}const p=u[f];return m&amp;&amp;!p?s[h]=void 0:s[h]=(p||&quot;&quot;).replace(/%2F/g,&quot;/&quot;),s},{}),pathname:i,pathnameBase:a,pattern:e}}function jO(e,r,t){r===void 0&amp;&amp;(r=!1),t===void 0&amp;&amp;(t=!0),vx(e===&quot;*&quot;||!e.endsWith(&quot;*&quot;)||e.endsWith(&quot;/*&quot;),&#039;Route path &quot;&#039;+e+&#039;&quot; will be treated as if it were &#039;+(&#039;&quot;&#039;+e.replace(/\*$/,&quot;/*&quot;)+&#039;&quot; because the `*` character must &#039;)+&quot;always follow a `/` in the pattern. To get rid of this warning, &quot;+(&#039;please change the route path to &quot;&#039;+e.replace(/\*$/,&quot;/*&quot;)+&#039;&quot;.&#039;));let n=[],l=&quot;^&quot;+e.replace(/\/*\*?$/,&quot;&quot;).replace(/^\/*/,&quot;/&quot;).replace(/[\\.*+^${}|()[\]]/g,&quot;\\$&amp;&quot;).replace(/\/:([\w-]+)(\?)?/g,(a,u,o)=&gt;(n.push({paramName:u,isOptional:o!=null}),o?&quot;/?([^\\/]+)?&quot;:&quot;/([^\\/]+)&quot;));return e.endsWith(&quot;*&quot;)?(n.push({paramName:&quot;*&quot;}),l+=e===&quot;*&quot;||e===&quot;/*&quot;?&quot;(.*)$&quot;:&quot;(?:\\/(.+)|\\/*)$&quot;):t?l+=&quot;\\/*$&quot;:e!==&quot;&quot;&amp;&amp;e!==&quot;/&quot;&amp;&amp;(l+=&quot;(?:(?=\\/|$))&quot;),[new RegExp(l,r?void 0:&quot;i&quot;),n]}function SO(e){try{return e.split(&quot;/&quot;).map(r=&gt;decodeURIComponent(r).replace(/\//g,&quot;%2F&quot;)).join(&quot;/&quot;)}catch(r){return vx(!1,&#039;The URL path &quot;&#039;+e+&#039;&quot; could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent &#039;+(&quot;encoding (&quot;+r+&quot;).&quot;)),e}}function yx(e,r){if(r===&quot;/&quot;)return e;if(!e.toLowerCase().startsWith(r.toLowerCase()))return null;let t=r.endsWith(&quot;/&quot;)?r.length-1:r.length,n=e.charAt(t);return n&amp;&amp;n!==&quot;/&quot;?null:e.slice(t)||&quot;/&quot;}const kO=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,NO=e=&gt;kO.test(e);function CO(e,r){r===void 0&amp;&amp;(r=&quot;/&quot;);let{pathname:t,search:n=&quot;&quot;,hash:l=&quot;&quot;}=typeof e==&quot;string&quot;?fc(e):e,i;if(t)if(NO(t))i=t;else{if(t.includes(&quot;//&quot;)){let a=t;t=t.replace(/\/\/+/g,&quot;/&quot;),vx(!1,&quot;Pathnames cannot have embedded double slashes - normalizing &quot;+(a+&quot; -&gt; &quot;+t))}t.startsWith(&quot;/&quot;)?i=H_(t.substring(1),&quot;/&quot;):i=H_(t,r)}else i=r;return{pathname:i,search:MO(n),hash:OO(l)}}function H_(e,r){let t=r.replace(/\/+$/,&quot;&quot;).split(&quot;/&quot;);return e.split(&quot;/&quot;).forEach(l=&gt;{l===&quot;..&quot;?t.length&gt;1&amp;&amp;t.pop():l!==&quot;.&quot;&amp;&amp;t.push(l)}),t.length&gt;1?t.join(&quot;/&quot;):&quot;/&quot;}function jg(e,r,t,n){return&quot;Cannot include a &#039;&quot;+e+&quot;&#039; character in a manually specified &quot;+(&quot;`to.&quot;+r+&quot;` field [&quot;+JSON.stringify(n)+&quot;].  Please separate it out to the &quot;)+(&quot;`to.&quot;+t+&quot;` field. Alternatively you may provide the full path as &quot;)+&#039;a string in &lt;Link to=&quot;...&quot;&gt; and the router will parse it for you.&#039;}function EO(e){return e.filter((r,t)=&gt;t===0||r.route.path&amp;&amp;r.route.path.length&gt;0)}function bx(e,r){let t=EO(e);return r?t.map((n,l)=&gt;l===t.length-1?n.pathname:n.pathnameBase):t.map(n=&gt;n.pathnameBase)}function xx(e,r,t,n){n===void 0&amp;&amp;(n=!1);let l;typeof e==&quot;string&quot;?l=fc(e):(l=Cu({},e),Ur(!l.pathname||!l.pathname.includes(&quot;?&quot;),jg(&quot;?&quot;,&quot;pathname&quot;,&quot;search&quot;,l)),Ur(!l.pathname||!l.pathname.includes(&quot;#&quot;),jg(&quot;#&quot;,&quot;pathname&quot;,&quot;hash&quot;,l)),Ur(!l.search||!l.search.includes(&quot;#&quot;),jg(&quot;#&quot;,&quot;search&quot;,&quot;hash&quot;,l)));let i=e===&quot;&quot;||l.pathname===&quot;&quot;,a=i?&quot;/&quot;:l.pathname,u;if(a==null)u=t;else{let f=r.length-1;if(!n&amp;&amp;a.startsWith(&quot;..&quot;)){let h=a.split(&quot;/&quot;);for(;h[0]===&quot;..&quot;;)h.shift(),f-=1;l.pathname=h.join(&quot;/&quot;)}u=f&gt;=0?r[f]:&quot;/&quot;}let o=CO(l,u),s=a&amp;&amp;a!==&quot;/&quot;&amp;&amp;a.endsWith(&quot;/&quot;),c=(i||a===&quot;.&quot;)&amp;&amp;t.endsWith(&quot;/&quot;);return!o.pathname.endsWith(&quot;/&quot;)&amp;&amp;(s||c)&amp;&amp;(o.pathname+=&quot;/&quot;),o}const Xa=e=&gt;e.join(&quot;/&quot;).replace(/\/\/+/g,&quot;/&quot;),AO=e=&gt;e.replace(/\/+$/,&quot;&quot;).replace(/^\/*/,&quot;/&quot;),MO=e=&gt;!e||e===&quot;?&quot;?&quot;&quot;:e.startsWith(&quot;?&quot;)?e:&quot;?&quot;+e,OO=e=&gt;!e||e===&quot;#&quot;?&quot;&quot;:e.startsWith(&quot;#&quot;)?e:&quot;#&quot;+e;function PO(e){return e!=null&amp;&amp;typeof e.status==&quot;number&quot;&amp;&amp;typeof e.statusText==&quot;string&quot;&amp;&amp;typeof e.internal==&quot;boolean&quot;&amp;&amp;&quot;data&quot;in e}const Uk=[&quot;post&quot;,&quot;put&quot;,&quot;patch&quot;,&quot;delete&quot;];new Set(Uk);const TO=[&quot;get&quot;,...Uk];new Set(TO);function Eu(){return Eu=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Eu.apply(this,arguments)}const wx=F.createContext(null),IO=F.createContext(null),so=F.createContext(null),Dm=F.createContext(null),oa=F.createContext({outlet:null,matches:[],isDataRoute:!1}),Vk=F.createContext(null);function RO(e,r){let{relative:t}=r===void 0?{}:r;hc()||Ur(!1);let{basename:n,navigator:l}=F.useContext(so),{hash:i,pathname:a,search:u}=Hk(e,{relative:t}),o=a;return n!==&quot;/&quot;&amp;&amp;(o=a===&quot;/&quot;?n:Xa([n,a])),l.createHref({pathname:o,search:u,hash:i})}function hc(){return F.useContext(Dm)!=null}function Os(){return hc()||Ur(!1),F.useContext(Dm).location}function qk(e){F.useContext(so).static||F.useLayoutEffect(e)}function fs(){let{isDataRoute:e}=F.useContext(oa);return e?GO():DO()}function DO(){hc()||Ur(!1);let e=F.useContext(wx),{basename:r,future:t,navigator:n}=F.useContext(so),{matches:l}=F.useContext(oa),{pathname:i}=Os(),a=JSON.stringify(bx(l,t.v7_relativeSplatPath)),u=F.useRef(!1);return qk(()=&gt;{u.current=!0}),F.useCallback(function(s,c){if(c===void 0&amp;&amp;(c={}),!u.current)return;if(typeof s==&quot;number&quot;){n.go(s);return}let f=xx(s,JSON.parse(a),i,c.relative===&quot;path&quot;);e==null&amp;&amp;r!==&quot;/&quot;&amp;&amp;(f.pathname=f.pathname===&quot;/&quot;?r:Xa([r,f.pathname])),(c.replace?n.replace:n.push)(f,c.state,c)},[r,n,a,i,e])}function LO(){let{matches:e}=F.useContext(oa),r=e[e.length-1];return r?r.params:{}}function Hk(e,r){let{relative:t}=r===void 0?{}:r,{future:n}=F.useContext(so),{matches:l}=F.useContext(oa),{pathname:i}=Os(),a=JSON.stringify(bx(l,n.v7_relativeSplatPath));return F.useMemo(()=&gt;xx(e,JSON.parse(a),i,t===&quot;path&quot;),[e,a,i,t])}function FO(e,r){return BO(e,r)}function BO(e,r,t,n){hc()||Ur(!1);let{navigator:l}=F.useContext(so),{matches:i}=F.useContext(oa),a=i[i.length-1],u=a?a.params:{};a&amp;&amp;a.pathname;let o=a?a.pathnameBase:&quot;/&quot;;a&amp;&amp;a.route;let s=Os(),c;if(r){var f;let g=typeof r==&quot;string&quot;?fc(r):r;o===&quot;/&quot;||(f=g.pathname)!=null&amp;&amp;f.startsWith(o)||Ur(!1),c=g}else c=s;let h=c.pathname||&quot;/&quot;,m=h;if(o!==&quot;/&quot;){let g=o.replace(/^\//,&quot;&quot;).split(&quot;/&quot;);m=&quot;/&quot;+h.replace(/^\//,&quot;&quot;).split(&quot;/&quot;).slice(g.length).join(&quot;/&quot;)}let p=uO(e,{pathname:m}),v=qO(p&amp;&amp;p.map(g=&gt;Object.assign({},g,{params:Object.assign({},u,g.params),pathname:Xa([o,l.encodeLocation?l.encodeLocation(g.pathname).pathname:g.pathname]),pathnameBase:g.pathnameBase===&quot;/&quot;?o:Xa([o,l.encodeLocation?l.encodeLocation(g.pathnameBase).pathname:g.pathnameBase])})),i,t,n);return r&amp;&amp;v?F.createElement(Dm.Provider,{value:{location:Eu({pathname:&quot;/&quot;,search:&quot;&quot;,hash:&quot;&quot;,state:null,key:&quot;default&quot;},c),navigationType:qa.Pop}},v):v}function zO(){let e=XO(),r=PO(e)?e.status+&quot; &quot;+e.statusText:e instanceof Error?e.message:JSON.stringify(e),t=e instanceof Error?e.stack:null,l={padding:&quot;0.5rem&quot;,backgroundColor:&quot;rgba(200,200,200, 0.5)&quot;};return F.createElement(F.Fragment,null,F.createElement(&quot;h2&quot;,null,&quot;Unexpected Application Error!&quot;),F.createElement(&quot;h3&quot;,{style:{fontStyle:&quot;italic&quot;}},r),t?F.createElement(&quot;pre&quot;,{style:l},t):null,null)}const $O=F.createElement(zO,null);class UO extends F.Component{constructor(r){super(r),this.state={location:r.location,revalidation:r.revalidation,error:r.error}}static getDerivedStateFromError(r){return{error:r}}static getDerivedStateFromProps(r,t){return t.location!==r.location||t.revalidation!==&quot;idle&quot;&amp;&amp;r.revalidation===&quot;idle&quot;?{error:r.error,location:r.location,revalidation:r.revalidation}:{error:r.error!==void 0?r.error:t.error,location:t.location,revalidation:r.revalidation||t.revalidation}}componentDidCatch(r,t){console.error(&quot;React Router caught the following error during render&quot;,r,t)}render(){return this.state.error!==void 0?F.createElement(oa.Provider,{value:this.props.routeContext},F.createElement(Vk.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function VO(e){let{routeContext:r,match:t,children:n}=e,l=F.useContext(wx);return l&amp;&amp;l.static&amp;&amp;l.staticContext&amp;&amp;(t.route.errorElement||t.route.ErrorBoundary)&amp;&amp;(l.staticContext._deepestRenderedBoundaryId=t.route.id),F.createElement(oa.Provider,{value:r},n)}function qO(e,r,t,n){var l;if(r===void 0&amp;&amp;(r=[]),t===void 0&amp;&amp;(t=null),n===void 0&amp;&amp;(n=null),e==null){var i;if(!t)return null;if(t.errors)e=t.matches;else if((i=n)!=null&amp;&amp;i.v7_partialHydration&amp;&amp;r.length===0&amp;&amp;!t.initialized&amp;&amp;t.matches.length&gt;0)e=t.matches;else return null}let a=e,u=(l=t)==null?void 0:l.errors;if(u!=null){let c=a.findIndex(f=&gt;f.route.id&amp;&amp;u?.[f.route.id]!==void 0);c&gt;=0||Ur(!1),a=a.slice(0,Math.min(a.length,c+1))}let o=!1,s=-1;if(t&amp;&amp;n&amp;&amp;n.v7_partialHydration)for(let c=0;c&lt;a.length;c++){let f=a[c];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&amp;&amp;(s=c),f.route.id){let{loaderData:h,errors:m}=t,p=f.route.loader&amp;&amp;h[f.route.id]===void 0&amp;&amp;(!m||m[f.route.id]===void 0);if(f.route.lazy||p){o=!0,s&gt;=0?a=a.slice(0,s+1):a=[a[0]];break}}}return a.reduceRight((c,f,h)=&gt;{let m,p=!1,v=null,g=null;t&amp;&amp;(m=u&amp;&amp;f.route.id?u[f.route.id]:void 0,v=f.route.errorElement||$O,o&amp;&amp;(s&lt;0&amp;&amp;h===0?(YO(&quot;route-fallback&quot;),p=!0,g=null):s===h&amp;&amp;(p=!0,g=f.route.hydrateFallbackElement||null)));let b=r.concat(a.slice(0,h+1)),x=()=&gt;{let _;return m?_=v:p?_=g:f.route.Component?_=F.createElement(f.route.Component,null):f.route.element?_=f.route.element:_=c,F.createElement(VO,{match:f,routeContext:{outlet:c,matches:b,isDataRoute:t!=null},children:_})};return t&amp;&amp;(f.route.ErrorBoundary||f.route.errorElement||h===0)?F.createElement(UO,{location:t.location,revalidation:t.revalidation,component:v,error:m,children:x(),routeContext:{outlet:null,matches:b,isDataRoute:!0}}):x()},null)}var Wk=(function(e){return e.UseBlocker=&quot;useBlocker&quot;,e.UseRevalidator=&quot;useRevalidator&quot;,e.UseNavigateStable=&quot;useNavigate&quot;,e})(Wk||{}),Kk=(function(e){return e.UseBlocker=&quot;useBlocker&quot;,e.UseLoaderData=&quot;useLoaderData&quot;,e.UseActionData=&quot;useActionData&quot;,e.UseRouteError=&quot;useRouteError&quot;,e.UseNavigation=&quot;useNavigation&quot;,e.UseRouteLoaderData=&quot;useRouteLoaderData&quot;,e.UseMatches=&quot;useMatches&quot;,e.UseRevalidator=&quot;useRevalidator&quot;,e.UseNavigateStable=&quot;useNavigate&quot;,e.UseRouteId=&quot;useRouteId&quot;,e})(Kk||{});function HO(e){let r=F.useContext(wx);return r||Ur(!1),r}function WO(e){let r=F.useContext(IO);return r||Ur(!1),r}function KO(e){let r=F.useContext(oa);return r||Ur(!1),r}function Xk(e){let r=KO(),t=r.matches[r.matches.length-1];return t.route.id||Ur(!1),t.route.id}function XO(){var e;let r=F.useContext(Vk),t=WO(),n=Xk();return r!==void 0?r:(e=t.errors)==null?void 0:e[n]}function GO(){let{router:e}=HO(Wk.UseNavigateStable),r=Xk(Kk.UseNavigateStable),t=F.useRef(!1);return qk(()=&gt;{t.current=!0}),F.useCallback(function(l,i){i===void 0&amp;&amp;(i={}),t.current&amp;&amp;(typeof l==&quot;number&quot;?e.navigate(l):e.navigate(l,Eu({fromRouteId:r},i)))},[e,r])}const W_={};function YO(e,r,t){W_[e]||(W_[e]=!0)}function ZO(e,r){e?.v7_startTransition,e?.v7_relativeSplatPath}function ai(e){let{to:r,replace:t,state:n,relative:l}=e;hc()||Ur(!1);let{future:i,static:a}=F.useContext(so),{matches:u}=F.useContext(oa),{pathname:o}=Os(),s=fs(),c=xx(r,bx(u,i.v7_relativeSplatPath),o,l===&quot;path&quot;),f=JSON.stringify(c);return F.useEffect(()=&gt;s(JSON.parse(f),{replace:t,state:n,relative:l}),[s,f,l,t,n]),null}function Un(e){Ur(!1)}function QO(e){let{basename:r=&quot;/&quot;,children:t=null,location:n,navigationType:l=qa.Pop,navigator:i,static:a=!1,future:u}=e;hc()&amp;&amp;Ur(!1);let o=r.replace(/^\/*/,&quot;/&quot;),s=F.useMemo(()=&gt;({basename:o,navigator:i,static:a,future:Eu({v7_relativeSplatPath:!1},u)}),[o,u,i,a]);typeof n==&quot;string&quot;&amp;&amp;(n=fc(n));let{pathname:c=&quot;/&quot;,search:f=&quot;&quot;,hash:h=&quot;&quot;,state:m=null,key:p=&quot;default&quot;}=n,v=F.useMemo(()=&gt;{let g=yx(c,o);return g==null?null:{location:{pathname:g,search:f,hash:h,state:m,key:p},navigationType:l}},[o,c,f,h,m,p,l]);return v==null?null:F.createElement(so.Provider,{value:s},F.createElement(Dm.Provider,{children:t,value:v}))}function JO(e){let{children:r,location:t}=e;return FO(Py(r),t)}new Promise(()=&gt;{});function Py(e,r){r===void 0&amp;&amp;(r=[]);let t=[];return F.Children.forEach(e,(n,l)=&gt;{if(!F.isValidElement(n))return;let i=[...r,l];if(n.type===F.Fragment){t.push.apply(t,Py(n.props.children,i));return}n.type!==Un&amp;&amp;Ur(!1),!n.props.index||!n.props.children||Ur(!1);let a={id:n.props.id||i.join(&quot;-&quot;),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&amp;&amp;(a.children=Py(n.props.children,i)),t.push(a)}),t}function Ty(){return Ty=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Ty.apply(this,arguments)}function eP(e,r){if(e==null)return{};var t={},n=Object.keys(e),l,i;for(i=0;i&lt;n.length;i++)l=n[i],!(r.indexOf(l)&gt;=0)&amp;&amp;(t[l]=e[l]);return t}function tP(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function rP(e,r){return e.button===0&amp;&amp;(!r||r===&quot;_self&quot;)&amp;&amp;!tP(e)}function Iy(e){return e===void 0&amp;&amp;(e=&quot;&quot;),new URLSearchParams(typeof e==&quot;string&quot;||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((r,t)=&gt;{let n=e[t];return r.concat(Array.isArray(n)?n.map(l=&gt;[t,l]):[[t,n]])},[]))}function nP(e,r){let t=Iy(e);return r&amp;&amp;r.forEach((n,l)=&gt;{t.has(l)||r.getAll(l).forEach(i=&gt;{t.append(l,i)})}),t}const iP=[&quot;onClick&quot;,&quot;relative&quot;,&quot;reloadDocument&quot;,&quot;replace&quot;,&quot;state&quot;,&quot;target&quot;,&quot;to&quot;,&quot;preventScrollReset&quot;,&quot;viewTransition&quot;],sP=&quot;6&quot;;try{window.__reactRouterVersion=sP}catch{}const aP=&quot;startTransition&quot;,K_=Fk[aP];function oP(e){let{basename:r,children:t,future:n,window:l}=e,i=F.useRef();i.current==null&amp;&amp;(i.current=oO({window:l,v5Compat:!0}));let a=i.current,[u,o]=F.useState({action:a.action,location:a.location}),{v7_startTransition:s}=n||{},c=F.useCallback(f=&gt;{s&amp;&amp;K_?K_(()=&gt;o(f)):o(f)},[o,s]);return F.useLayoutEffect(()=&gt;a.listen(c),[a,c]),F.useEffect(()=&gt;ZO(n),[n]),F.createElement(QO,{basename:r,children:t,location:u.location,navigationType:u.action,navigator:a,future:n})}const lP=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;,cP=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,jr=F.forwardRef(function(r,t){let{onClick:n,relative:l,reloadDocument:i,replace:a,state:u,target:o,to:s,preventScrollReset:c,viewTransition:f}=r,h=eP(r,iP),{basename:m}=F.useContext(so),p,v=!1;if(typeof s==&quot;string&quot;&amp;&amp;cP.test(s)&amp;&amp;(p=s,lP))try{let _=new URL(window.location.href),C=s.startsWith(&quot;//&quot;)?new URL(_.protocol+s):new URL(s),O=yx(C.pathname,m);C.origin===_.origin&amp;&amp;O!=null?s=O+C.search+C.hash:v=!0}catch{}let g=RO(s,{relative:l}),b=uP(s,{replace:a,state:u,target:o,preventScrollReset:c,relative:l,viewTransition:f});function x(_){n&amp;&amp;n(_),_.defaultPrevented||b(_)}return F.createElement(&quot;a&quot;,Ty({},h,{href:p||g,onClick:v||i?n:x,ref:t,target:o}))});var X_;(function(e){e.UseScrollRestoration=&quot;useScrollRestoration&quot;,e.UseSubmit=&quot;useSubmit&quot;,e.UseSubmitFetcher=&quot;useSubmitFetcher&quot;,e.UseFetcher=&quot;useFetcher&quot;,e.useViewTransitionState=&quot;useViewTransitionState&quot;})(X_||(X_={}));var G_;(function(e){e.UseFetcher=&quot;useFetcher&quot;,e.UseFetchers=&quot;useFetchers&quot;,e.UseScrollRestoration=&quot;useScrollRestoration&quot;})(G_||(G_={}));function uP(e,r){let{target:t,replace:n,state:l,preventScrollReset:i,relative:a,viewTransition:u}=r===void 0?{}:r,o=fs(),s=Os(),c=Hk(e,{relative:a});return F.useCallback(f=&gt;{if(rP(f,t)){f.preventDefault();let h=n!==void 0?n:Eh(s)===Eh(c);o(e,{replace:h,state:l,preventScrollReset:i,relative:a,viewTransition:u})}},[s,o,c,n,l,t,e,i,a,u])}function Lm(e){let r=F.useRef(Iy(e)),t=F.useRef(!1),n=Os(),l=F.useMemo(()=&gt;nP(n.search,t.current?null:r.current),[n.search]),i=fs(),a=F.useCallback((u,o)=&gt;{const s=Iy(typeof u==&quot;function&quot;?u(l):u);t.current=!0,i(&quot;?&quot;+s,o)},[i,l]);return[l,a]}const _x=F.createContext({});function jx(e){const r=F.useRef(null);return r.current===null&amp;&amp;(r.current=e()),r.current}const Gk=typeof window&lt;&quot;u&quot;,Yk=Gk?F.useLayoutEffect:F.useEffect,Fm=F.createContext(null);function Sx(e,r){e.indexOf(r)===-1&amp;&amp;e.push(r)}function kx(e,r){const t=e.indexOf(r);t&gt;-1&amp;&amp;e.splice(t,1)}const Cs=(e,r,t)=&gt;t&gt;r?r:t&lt;e?e:t;let Nx=()=&gt;{};const Qs={},Zk=e=&gt;/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Qk(e){return typeof e==&quot;object&quot;&amp;&amp;e!==null}const Jk=e=&gt;/^0[^.\s]+$/u.test(e);function Cx(e){let r;return()=&gt;(r===void 0&amp;&amp;(r=e()),r)}const Li=e=&gt;e,dP=(e,r)=&gt;t=&gt;r(e(t)),Qu=(...e)=&gt;e.reduce(dP),Au=(e,r,t)=&gt;{const n=r-e;return n===0?1:(t-e)/n};class Ex{constructor(){this.subscriptions=[]}add(r){return Sx(this.subscriptions,r),()=&gt;kx(this.subscriptions,r)}notify(r,t,n){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](r,t,n);else for(let i=0;i&lt;l;i++){const a=this.subscriptions[i];a&amp;&amp;a(r,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Gs=e=&gt;e*1e3,Ii=e=&gt;e/1e3;function eN(e,r){return r?e*(1e3/r):0}const tN=(e,r,t)=&gt;(((1-3*t+3*r)*e+(3*t-6*r))*e+3*r)*e,fP=1e-7,hP=12;function mP(e,r,t,n,l){let i,a,u=0;do a=r+(t-r)/2,i=tN(a,n,l)-e,i&gt;0?t=a:r=a;while(Math.abs(i)&gt;fP&amp;&amp;++u&lt;hP);return a}function Ju(e,r,t,n){if(e===r&amp;&amp;t===n)return Li;const l=i=&gt;mP(i,0,1,e,t);return i=&gt;i===0||i===1?i:tN(l(i),r,n)}const rN=e=&gt;r=&gt;r&lt;=.5?e(2*r)/2:(2-e(2*(1-r)))/2,nN=e=&gt;r=&gt;1-e(1-r),iN=Ju(.33,1.53,.69,.99),Ax=nN(iN),sN=rN(Ax),aN=e=&gt;(e*=2)&lt;1?.5*Ax(e):.5*(2-Math.pow(2,-10*(e-1))),Mx=e=&gt;1-Math.sin(Math.acos(e)),oN=nN(Mx),lN=rN(Mx),pP=Ju(.42,0,1,1),gP=Ju(0,0,.58,1),cN=Ju(.42,0,.58,1),vP=e=&gt;Array.isArray(e)&amp;&amp;typeof e[0]!=&quot;number&quot;,uN=e=&gt;Array.isArray(e)&amp;&amp;typeof e[0]==&quot;number&quot;,yP={linear:Li,easeIn:pP,easeInOut:cN,easeOut:gP,circIn:Mx,circInOut:lN,circOut:oN,backIn:Ax,backInOut:sN,backOut:iN,anticipate:aN},bP=e=&gt;typeof e==&quot;string&quot;,Y_=e=&gt;{if(uN(e)){Nx(e.length===4);const[r,t,n,l]=e;return Ju(r,t,n,l)}else if(bP(e))return yP[e];return e},zf=[&quot;setup&quot;,&quot;read&quot;,&quot;resolveKeyframes&quot;,&quot;preUpdate&quot;,&quot;update&quot;,&quot;preRender&quot;,&quot;render&quot;,&quot;postRender&quot;];function xP(e,r){let t=new Set,n=new Set,l=!1,i=!1;const a=new WeakSet;let u={delta:0,timestamp:0,isProcessing:!1};function o(c){a.has(c)&amp;&amp;(s.schedule(c),e()),c(u)}const s={schedule:(c,f=!1,h=!1)=&gt;{const p=h&amp;&amp;l?t:n;return f&amp;&amp;a.add(c),p.has(c)||p.add(c),c},cancel:c=&gt;{n.delete(c),a.delete(c)},process:c=&gt;{if(u=c,l){i=!0;return}l=!0,[t,n]=[n,t],t.forEach(o),t.clear(),l=!1,i&amp;&amp;(i=!1,s.process(c))}};return s}const wP=40;function dN(e,r){let t=!1,n=!0;const l={delta:0,timestamp:0,isProcessing:!1},i=()=&gt;t=!0,a=zf.reduce((_,C)=&gt;(_[C]=xP(i),_),{}),{setup:u,read:o,resolveKeyframes:s,preUpdate:c,update:f,preRender:h,render:m,postRender:p}=a,v=()=&gt;{const _=Qs.useManualTiming?l.timestamp:performance.now();t=!1,Qs.useManualTiming||(l.delta=n?1e3/60:Math.max(Math.min(_-l.timestamp,wP),1)),l.timestamp=_,l.isProcessing=!0,u.process(l),o.process(l),s.process(l),c.process(l),f.process(l),h.process(l),m.process(l),p.process(l),l.isProcessing=!1,t&amp;&amp;r&amp;&amp;(n=!1,e(v))},g=()=&gt;{t=!0,n=!0,l.isProcessing||e(v)};return{schedule:zf.reduce((_,C)=&gt;{const O=a[C];return _[C]=(R,H=!1,L=!1)=&gt;(t||g(),O.schedule(R,H,L)),_},{}),cancel:_=&gt;{for(let C=0;C&lt;zf.length;C++)a[zf[C]].cancel(_)},state:l,steps:a}}const{schedule:wr,cancel:Qa,state:_n,steps:Sg}=dN(typeof requestAnimationFrame&lt;&quot;u&quot;?requestAnimationFrame:Li,!0);let mh;function _P(){mh=void 0}const qn={now:()=&gt;(mh===void 0&amp;&amp;qn.set(_n.isProcessing||Qs.useManualTiming?_n.timestamp:performance.now()),mh),set:e=&gt;{mh=e,queueMicrotask(_P)}},fN=e=&gt;r=&gt;typeof r==&quot;string&quot;&amp;&amp;r.startsWith(e),hN=fN(&quot;--&quot;),jP=fN(&quot;var(--&quot;),Ox=e=&gt;jP(e)?SP.test(e.split(&quot;/*&quot;)[0].trim()):!1,SP=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Z_(e){return typeof e!=&quot;string&quot;?!1:e.split(&quot;/*&quot;)[0].includes(&quot;var(--&quot;)}const mc={test:e=&gt;typeof e==&quot;number&quot;,parse:parseFloat,transform:e=&gt;e},Mu={...mc,transform:e=&gt;Cs(0,1,e)},$f={...mc,default:1},wu=e=&gt;Math.round(e*1e5)/1e5,Px=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function kP(e){return e==null}const NP=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Tx=(e,r)=&gt;t=&gt;!!(typeof t==&quot;string&quot;&amp;&amp;NP.test(t)&amp;&amp;t.startsWith(e)||r&amp;&amp;!kP(t)&amp;&amp;Object.prototype.hasOwnProperty.call(t,r)),mN=(e,r,t)=&gt;n=&gt;{if(typeof n!=&quot;string&quot;)return n;const[l,i,a,u]=n.match(Px);return{[e]:parseFloat(l),[r]:parseFloat(i),[t]:parseFloat(a),alpha:u!==void 0?parseFloat(u):1}},CP=e=&gt;Cs(0,255,e),kg={...mc,transform:e=&gt;Math.round(CP(e))},qo={test:Tx(&quot;rgb&quot;,&quot;red&quot;),parse:mN(&quot;red&quot;,&quot;green&quot;,&quot;blue&quot;),transform:({red:e,green:r,blue:t,alpha:n=1})=&gt;&quot;rgba(&quot;+kg.transform(e)+&quot;, &quot;+kg.transform(r)+&quot;, &quot;+kg.transform(t)+&quot;, &quot;+wu(Mu.transform(n))+&quot;)&quot;};function EP(e){let r=&quot;&quot;,t=&quot;&quot;,n=&quot;&quot;,l=&quot;&quot;;return e.length&gt;5?(r=e.substring(1,3),t=e.substring(3,5),n=e.substring(5,7),l=e.substring(7,9)):(r=e.substring(1,2),t=e.substring(2,3),n=e.substring(3,4),l=e.substring(4,5),r+=r,t+=t,n+=n,l+=l),{red:parseInt(r,16),green:parseInt(t,16),blue:parseInt(n,16),alpha:l?parseInt(l,16)/255:1}}const Ry={test:Tx(&quot;#&quot;),parse:EP,transform:qo.transform},ed=e=&gt;({test:r=&gt;typeof r==&quot;string&quot;&amp;&amp;r.endsWith(e)&amp;&amp;r.split(&quot; &quot;).length===1,parse:parseFloat,transform:r=&gt;`${r}${e}`}),Ba=ed(&quot;deg&quot;),ks=ed(&quot;%&quot;),it=ed(&quot;px&quot;),AP=ed(&quot;vh&quot;),MP=ed(&quot;vw&quot;),Q_={...ks,parse:e=&gt;ks.parse(e)/100,transform:e=&gt;ks.transform(e*100)},Hl={test:Tx(&quot;hsl&quot;,&quot;hue&quot;),parse:mN(&quot;hue&quot;,&quot;saturation&quot;,&quot;lightness&quot;),transform:({hue:e,saturation:r,lightness:t,alpha:n=1})=&gt;&quot;hsla(&quot;+Math.round(e)+&quot;, &quot;+ks.transform(wu(r))+&quot;, &quot;+ks.transform(wu(t))+&quot;, &quot;+wu(Mu.transform(n))+&quot;)&quot;},Hr={test:e=&gt;qo.test(e)||Ry.test(e)||Hl.test(e),parse:e=&gt;qo.test(e)?qo.parse(e):Hl.test(e)?Hl.parse(e):Ry.parse(e),transform:e=&gt;typeof e==&quot;string&quot;?e:e.hasOwnProperty(&quot;red&quot;)?qo.transform(e):Hl.transform(e),getAnimatableNone:e=&gt;{const r=Hr.parse(e);return r.alpha=0,Hr.transform(r)}},OP=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function PP(e){return isNaN(e)&amp;&amp;typeof e==&quot;string&quot;&amp;&amp;(e.match(Px)?.length||0)+(e.match(OP)?.length||0)&gt;0}const pN=&quot;number&quot;,gN=&quot;color&quot;,TP=&quot;var&quot;,IP=&quot;var(&quot;,J_=&quot;${}&quot;,RP=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ou(e){const r=e.toString(),t=[],n={color:[],number:[],var:[]},l=[];let i=0;const u=r.replace(RP,o=&gt;(Hr.test(o)?(n.color.push(i),l.push(gN),t.push(Hr.parse(o))):o.startsWith(IP)?(n.var.push(i),l.push(TP),t.push(o)):(n.number.push(i),l.push(pN),t.push(parseFloat(o))),++i,J_)).split(J_);return{values:t,split:u,indexes:n,types:l}}function vN(e){return Ou(e).values}function yN(e){const{split:r,types:t}=Ou(e),n=r.length;return l=&gt;{let i=&quot;&quot;;for(let a=0;a&lt;n;a++)if(i+=r[a],l[a]!==void 0){const u=t[a];u===pN?i+=wu(l[a]):u===gN?i+=Hr.transform(l[a]):i+=l[a]}return i}}const DP=e=&gt;typeof e==&quot;number&quot;?0:Hr.test(e)?Hr.getAnimatableNone(e):e;function LP(e){const r=vN(e);return yN(e)(r.map(DP))}const Ja={test:PP,parse:vN,createTransformer:yN,getAnimatableNone:LP};function Ng(e,r,t){return t&lt;0&amp;&amp;(t+=1),t&gt;1&amp;&amp;(t-=1),t&lt;1/6?e+(r-e)*6*t:t&lt;1/2?r:t&lt;2/3?e+(r-e)*(2/3-t)*6:e}function FP({hue:e,saturation:r,lightness:t,alpha:n}){e/=360,r/=100,t/=100;let l=0,i=0,a=0;if(!r)l=i=a=t;else{const u=t&lt;.5?t*(1+r):t+r-t*r,o=2*t-u;l=Ng(o,u,e+1/3),i=Ng(o,u,e),a=Ng(o,u,e-1/3)}return{red:Math.round(l*255),green:Math.round(i*255),blue:Math.round(a*255),alpha:n}}function Ah(e,r){return t=&gt;t&gt;0?r:e}const Mr=(e,r,t)=&gt;e+(r-e)*t,Cg=(e,r,t)=&gt;{const n=e*e,l=t*(r*r-n)+n;return l&lt;0?0:Math.sqrt(l)},BP=[Ry,qo,Hl],zP=e=&gt;BP.find(r=&gt;r.test(e));function e3(e){const r=zP(e);if(!r)return!1;let t=r.parse(e);return r===Hl&amp;&amp;(t=FP(t)),t}const t3=(e,r)=&gt;{const t=e3(e),n=e3(r);if(!t||!n)return Ah(e,r);const l={...t};return i=&gt;(l.red=Cg(t.red,n.red,i),l.green=Cg(t.green,n.green,i),l.blue=Cg(t.blue,n.blue,i),l.alpha=Mr(t.alpha,n.alpha,i),qo.transform(l))},Dy=new Set([&quot;none&quot;,&quot;hidden&quot;]);function $P(e,r){return Dy.has(e)?t=&gt;t&lt;=0?e:r:t=&gt;t&gt;=1?r:e}function UP(e,r){return t=&gt;Mr(e,r,t)}function Ix(e){return typeof e==&quot;number&quot;?UP:typeof e==&quot;string&quot;?Ox(e)?Ah:Hr.test(e)?t3:HP:Array.isArray(e)?bN:typeof e==&quot;object&quot;?Hr.test(e)?t3:VP:Ah}function bN(e,r){const t=[...e],n=t.length,l=e.map((i,a)=&gt;Ix(i)(i,r[a]));return i=&gt;{for(let a=0;a&lt;n;a++)t[a]=l[a](i);return t}}function VP(e,r){const t={...e,...r},n={};for(const l in t)e[l]!==void 0&amp;&amp;r[l]!==void 0&amp;&amp;(n[l]=Ix(e[l])(e[l],r[l]));return l=&gt;{for(const i in n)t[i]=n[i](l);return t}}function qP(e,r){const t=[],n={color:0,var:0,number:0};for(let l=0;l&lt;r.values.length;l++){const i=r.types[l],a=e.indexes[i][n[i]],u=e.values[a]??0;t[l]=u,n[i]++}return t}const HP=(e,r)=&gt;{const t=Ja.createTransformer(r),n=Ou(e),l=Ou(r);return n.indexes.var.length===l.indexes.var.length&amp;&amp;n.indexes.color.length===l.indexes.color.length&amp;&amp;n.indexes.number.length&gt;=l.indexes.number.length?Dy.has(e)&amp;&amp;!l.values.length||Dy.has(r)&amp;&amp;!n.values.length?$P(e,r):Qu(bN(qP(n,l),l.values),t):Ah(e,r)};function xN(e,r,t){return typeof e==&quot;number&quot;&amp;&amp;typeof r==&quot;number&quot;&amp;&amp;typeof t==&quot;number&quot;?Mr(e,r,t):Ix(e)(e,r)}const WP=e=&gt;{const r=({timestamp:t})=&gt;e(t);return{start:(t=!0)=&gt;wr.update(r,t),stop:()=&gt;Qa(r),now:()=&gt;_n.isProcessing?_n.timestamp:qn.now()}},wN=(e,r,t=10)=&gt;{let n=&quot;&quot;;const l=Math.max(Math.round(r/t),2);for(let i=0;i&lt;l;i++)n+=Math.round(e(i/(l-1))*1e4)/1e4+&quot;, &quot;;return`linear(${n.substring(0,n.length-2)})`},Mh=2e4;function Rx(e){let r=0;const t=50;let n=e.next(r);for(;!n.done&amp;&amp;r&lt;Mh;)r+=t,n=e.next(r);return r&gt;=Mh?1/0:r}function KP(e,r=100,t){const n=t({...e,keyframes:[0,r]}),l=Math.min(Rx(n),Mh);return{type:&quot;keyframes&quot;,ease:i=&gt;n.next(l*i).value/r,duration:Ii(l)}}const XP=5;function _N(e,r,t){const n=Math.max(r-XP,0);return eN(t-e(n),r-n)}const Rr={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Eg=.001;function GP({duration:e=Rr.duration,bounce:r=Rr.bounce,velocity:t=Rr.velocity,mass:n=Rr.mass}){let l,i,a=1-r;a=Cs(Rr.minDamping,Rr.maxDamping,a),e=Cs(Rr.minDuration,Rr.maxDuration,Ii(e)),a&lt;1?(l=s=&gt;{const c=s*a,f=c*e,h=c-t,m=Ly(s,a),p=Math.exp(-f);return Eg-h/m*p},i=s=&gt;{const f=s*a*e,h=f*t+t,m=Math.pow(a,2)*Math.pow(s,2)*e,p=Math.exp(-f),v=Ly(Math.pow(s,2),a);return(-l(s)+Eg&gt;0?-1:1)*((h-m)*p)/v}):(l=s=&gt;{const c=Math.exp(-s*e),f=(s-t)*e+1;return-Eg+c*f},i=s=&gt;{const c=Math.exp(-s*e),f=(t-s)*(e*e);return c*f});const u=5/e,o=ZP(l,i,u);if(e=Gs(e),isNaN(o))return{stiffness:Rr.stiffness,damping:Rr.damping,duration:e};{const s=Math.pow(o,2)*n;return{stiffness:s,damping:a*2*Math.sqrt(n*s),duration:e}}}const YP=12;function ZP(e,r,t){let n=t;for(let l=1;l&lt;YP;l++)n=n-e(n)/r(n);return n}function Ly(e,r){return e*Math.sqrt(1-r*r)}const QP=[&quot;duration&quot;,&quot;bounce&quot;],JP=[&quot;stiffness&quot;,&quot;damping&quot;,&quot;mass&quot;];function r3(e,r){return r.some(t=&gt;e[t]!==void 0)}function eT(e){let r={velocity:Rr.velocity,stiffness:Rr.stiffness,damping:Rr.damping,mass:Rr.mass,isResolvedFromDuration:!1,...e};if(!r3(e,JP)&amp;&amp;r3(e,QP))if(e.visualDuration){const t=e.visualDuration,n=2*Math.PI/(t*1.2),l=n*n,i=2*Cs(.05,1,1-(e.bounce||0))*Math.sqrt(l);r={...r,mass:Rr.mass,stiffness:l,damping:i}}else{const t=GP(e);r={...r,...t,mass:Rr.mass},r.isResolvedFromDuration=!0}return r}function Oh(e=Rr.visualDuration,r=Rr.bounce){const t=typeof e!=&quot;object&quot;?{visualDuration:e,keyframes:[0,1],bounce:r}:e;let{restSpeed:n,restDelta:l}=t;const i=t.keyframes[0],a=t.keyframes[t.keyframes.length-1],u={done:!1,value:i},{stiffness:o,damping:s,mass:c,duration:f,velocity:h,isResolvedFromDuration:m}=eT({...t,velocity:-Ii(t.velocity||0)}),p=h||0,v=s/(2*Math.sqrt(o*c)),g=a-i,b=Ii(Math.sqrt(o/c)),x=Math.abs(g)&lt;5;n||(n=x?Rr.restSpeed.granular:Rr.restSpeed.default),l||(l=x?Rr.restDelta.granular:Rr.restDelta.default);let _;if(v&lt;1){const O=Ly(b,v);_=R=&gt;{const H=Math.exp(-v*b*R);return a-H*((p+v*b*g)/O*Math.sin(O*R)+g*Math.cos(O*R))}}else if(v===1)_=O=&gt;a-Math.exp(-b*O)*(g+(p+b*g)*O);else{const O=b*Math.sqrt(v*v-1);_=R=&gt;{const H=Math.exp(-v*b*R),L=Math.min(O*R,300);return a-H*((p+v*b*g)*Math.sinh(L)+O*g*Math.cosh(L))/O}}const C={calculatedDuration:m&amp;&amp;f||null,next:O=&gt;{const R=_(O);if(m)u.done=O&gt;=f;else{let H=O===0?p:0;v&lt;1&amp;&amp;(H=O===0?Gs(p):_N(_,O,R));const L=Math.abs(H)&lt;=n,q=Math.abs(a-R)&lt;=l;u.done=L&amp;&amp;q}return u.value=u.done?a:R,u},toString:()=&gt;{const O=Math.min(Rx(C),Mh),R=wN(H=&gt;C.next(O*H).value,O,30);return O+&quot;ms &quot;+R},toTransition:()=&gt;{}};return C}Oh.applyToOptions=e=&gt;{const r=KP(e,100,Oh);return e.ease=r.ease,e.duration=Gs(r.duration),e.type=&quot;keyframes&quot;,e};function Fy({keyframes:e,velocity:r=0,power:t=.8,timeConstant:n=325,bounceDamping:l=10,bounceStiffness:i=500,modifyTarget:a,min:u,max:o,restDelta:s=.5,restSpeed:c}){const f=e[0],h={done:!1,value:f},m=L=&gt;u!==void 0&amp;&amp;L&lt;u||o!==void 0&amp;&amp;L&gt;o,p=L=&gt;u===void 0?o:o===void 0||Math.abs(u-L)&lt;Math.abs(o-L)?u:o;let v=t*r;const g=f+v,b=a===void 0?g:a(g);b!==g&amp;&amp;(v=b-f);const x=L=&gt;-v*Math.exp(-L/n),_=L=&gt;b+x(L),C=L=&gt;{const q=x(L),W=_(L);h.done=Math.abs(q)&lt;=s,h.value=h.done?b:W};let O,R;const H=L=&gt;{m(h.value)&amp;&amp;(O=L,R=Oh({keyframes:[h.value,p(h.value)],velocity:_N(_,L,h.value),damping:l,stiffness:i,restDelta:s,restSpeed:c}))};return H(0),{calculatedDuration:null,next:L=&gt;{let q=!1;return!R&amp;&amp;O===void 0&amp;&amp;(q=!0,C(L),H(L)),O!==void 0&amp;&amp;L&gt;=O?R.next(L-O):(!q&amp;&amp;C(L),h)}}}function tT(e,r,t){const n=[],l=t||Qs.mix||xN,i=e.length-1;for(let a=0;a&lt;i;a++){let u=l(e[a],e[a+1]);if(r){const o=Array.isArray(r)?r[a]||Li:r;u=Qu(o,u)}n.push(u)}return n}function rT(e,r,{clamp:t=!0,ease:n,mixer:l}={}){const i=e.length;if(Nx(i===r.length),i===1)return()=&gt;r[0];if(i===2&amp;&amp;r[0]===r[1])return()=&gt;r[1];const a=e[0]===e[1];e[0]&gt;e[i-1]&amp;&amp;(e=[...e].reverse(),r=[...r].reverse());const u=tT(r,n,l),o=u.length,s=c=&gt;{if(a&amp;&amp;c&lt;e[0])return r[0];let f=0;if(o&gt;1)for(;f&lt;e.length-2&amp;&amp;!(c&lt;e[f+1]);f++);const h=Au(e[f],e[f+1],c);return u[f](h)};return t?c=&gt;s(Cs(e[0],e[i-1],c)):s}function nT(e,r){const t=e[e.length-1];for(let n=1;n&lt;=r;n++){const l=Au(0,r,n);e.push(Mr(t,1,l))}}function iT(e){const r=[0];return nT(r,e.length-1),r}function sT(e,r){return e.map(t=&gt;t*r)}function aT(e,r){return e.map(()=&gt;r||cN).splice(0,e.length-1)}function _u({duration:e=300,keyframes:r,times:t,ease:n=&quot;easeInOut&quot;}){const l=vP(n)?n.map(Y_):Y_(n),i={done:!1,value:r[0]},a=sT(t&amp;&amp;t.length===r.length?t:iT(r),e),u=rT(a,r,{ease:Array.isArray(l)?l:aT(r,l)});return{calculatedDuration:e,next:o=&gt;(i.value=u(o),i.done=o&gt;=e,i)}}const oT=e=&gt;e!==null;function Dx(e,{repeat:r,repeatType:t=&quot;loop&quot;},n,l=1){const i=e.filter(oT),u=l&lt;0||r&amp;&amp;t!==&quot;loop&quot;&amp;&amp;r%2===1?0:i.length-1;return!u||n===void 0?i[u]:n}const lT={decay:Fy,inertia:Fy,tween:_u,keyframes:_u,spring:Oh};function jN(e){typeof e.type==&quot;string&quot;&amp;&amp;(e.type=lT[e.type])}class Lx{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(r=&gt;{this.resolve=r})}notifyFinished(){this.resolve()}then(r,t){return this.finished.then(r,t)}}const cT=e=&gt;e/100;class Fx extends Lx{constructor(r){super(),this.state=&quot;idle&quot;,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=&gt;{const{motionValue:t}=this.options;t&amp;&amp;t.updatedAt!==qn.now()&amp;&amp;this.tick(qn.now()),this.isStopped=!0,this.state!==&quot;idle&quot;&amp;&amp;(this.teardown(),this.options.onStop?.())},this.options=r,this.initAnimation(),this.play(),r.autoplay===!1&amp;&amp;this.pause()}initAnimation(){const{options:r}=this;jN(r);const{type:t=_u,repeat:n=0,repeatDelay:l=0,repeatType:i,velocity:a=0}=r;let{keyframes:u}=r;const o=t||_u;o!==_u&amp;&amp;typeof u[0]!=&quot;number&quot;&amp;&amp;(this.mixKeyframes=Qu(cT,xN(u[0],u[1])),u=[0,100]);const s=o({...r,keyframes:u});i===&quot;mirror&quot;&amp;&amp;(this.mirroredGenerator=o({...r,keyframes:[...u].reverse(),velocity:-a})),s.calculatedDuration===null&amp;&amp;(s.calculatedDuration=Rx(s));const{calculatedDuration:c}=s;this.calculatedDuration=c,this.resolvedDuration=c+l,this.totalDuration=this.resolvedDuration*(n+1)-l,this.generator=s}updateTime(r){const t=Math.round(r-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=t}tick(r,t=!1){const{generator:n,totalDuration:l,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:u,calculatedDuration:o}=this;if(this.startTime===null)return n.next(0);const{delay:s=0,keyframes:c,repeat:f,repeatType:h,repeatDelay:m,type:p,onUpdate:v,finalKeyframe:g}=this.options;this.speed&gt;0?this.startTime=Math.min(this.startTime,r):this.speed&lt;0&amp;&amp;(this.startTime=Math.min(r-l/this.speed,this.startTime)),t?this.currentTime=r:this.updateTime(r);const b=this.currentTime-s*(this.playbackSpeed&gt;=0?1:-1),x=this.playbackSpeed&gt;=0?b&lt;0:b&gt;l;this.currentTime=Math.max(b,0),this.state===&quot;finished&quot;&amp;&amp;this.holdTime===null&amp;&amp;(this.currentTime=l);let _=this.currentTime,C=n;if(f){const L=Math.min(this.currentTime,l)/u;let q=Math.floor(L),W=L%1;!W&amp;&amp;L&gt;=1&amp;&amp;(W=1),W===1&amp;&amp;q--,q=Math.min(q,f+1),q%2&amp;&amp;(h===&quot;reverse&quot;?(W=1-W,m&amp;&amp;(W-=m/u)):h===&quot;mirror&quot;&amp;&amp;(C=a)),_=Cs(0,1,W)*u}const O=x?{done:!1,value:c[0]}:C.next(_);i&amp;&amp;(O.value=i(O.value));let{done:R}=O;!x&amp;&amp;o!==null&amp;&amp;(R=this.playbackSpeed&gt;=0?this.currentTime&gt;=l:this.currentTime&lt;=0);const H=this.holdTime===null&amp;&amp;(this.state===&quot;finished&quot;||this.state===&quot;running&quot;&amp;&amp;R);return H&amp;&amp;p!==Fy&amp;&amp;(O.value=Dx(c,this.options,g,this.speed)),v&amp;&amp;v(O.value),H&amp;&amp;this.finish(),O}then(r,t){return this.finished.then(r,t)}get duration(){return Ii(this.calculatedDuration)}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+Ii(r)}get time(){return Ii(this.currentTime)}set time(r){r=Gs(r),this.currentTime=r,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=r:this.driver&amp;&amp;(this.startTime=this.driver.now()-r/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(r){this.updateTime(qn.now());const t=this.playbackSpeed!==r;this.playbackSpeed=r,t&amp;&amp;(this.time=Ii(this.currentTime))}play(){if(this.isStopped)return;const{driver:r=WP,startTime:t}=this.options;this.driver||(this.driver=r(l=&gt;this.tick(l))),this.options.onPlay?.();const n=this.driver.now();this.state===&quot;finished&quot;?(this.updateFinished(),this.startTime=n):this.holdTime!==null?this.startTime=n-this.holdTime:this.startTime||(this.startTime=t??n),this.state===&quot;finished&quot;&amp;&amp;this.speed&lt;0&amp;&amp;(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=&quot;running&quot;,this.driver.start()}pause(){this.state=&quot;paused&quot;,this.updateTime(qn.now()),this.holdTime=this.currentTime}complete(){this.state!==&quot;running&quot;&amp;&amp;this.play(),this.state=&quot;finished&quot;,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=&quot;finished&quot;,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=&quot;idle&quot;,this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&amp;&amp;(this.driver.stop(),this.driver=void 0)}sample(r){return this.startTime=0,this.tick(r,!0)}attachTimeline(r){return this.options.allowFlatten&amp;&amp;(this.options.type=&quot;keyframes&quot;,this.options.ease=&quot;linear&quot;,this.initAnimation()),this.driver?.stop(),r.observe(this)}}function uT(e){for(let r=1;r&lt;e.length;r++)e[r]??(e[r]=e[r-1])}const Ho=e=&gt;e*180/Math.PI,By=e=&gt;{const r=Ho(Math.atan2(e[1],e[0]));return zy(r)},dT={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=&gt;(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:By,rotateZ:By,skewX:e=&gt;Ho(Math.atan(e[1])),skewY:e=&gt;Ho(Math.atan(e[2])),skew:e=&gt;(Math.abs(e[1])+Math.abs(e[2]))/2},zy=e=&gt;(e=e%360,e&lt;0&amp;&amp;(e+=360),e),n3=By,i3=e=&gt;Math.sqrt(e[0]*e[0]+e[1]*e[1]),s3=e=&gt;Math.sqrt(e[4]*e[4]+e[5]*e[5]),fT={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:i3,scaleY:s3,scale:e=&gt;(i3(e)+s3(e))/2,rotateX:e=&gt;zy(Ho(Math.atan2(e[6],e[5]))),rotateY:e=&gt;zy(Ho(Math.atan2(-e[2],e[0]))),rotateZ:n3,rotate:n3,skewX:e=&gt;Ho(Math.atan(e[4])),skewY:e=&gt;Ho(Math.atan(e[1])),skew:e=&gt;(Math.abs(e[1])+Math.abs(e[4]))/2};function $y(e){return e.includes(&quot;scale&quot;)?1:0}function Uy(e,r){if(!e||e===&quot;none&quot;)return $y(r);const t=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,l;if(t)n=fT,l=t;else{const u=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=dT,l=u}if(!l)return $y(r);const i=n[r],a=l[1].split(&quot;,&quot;).map(mT);return typeof i==&quot;function&quot;?i(a):a[i]}const hT=(e,r)=&gt;{const{transform:t=&quot;none&quot;}=getComputedStyle(e);return Uy(t,r)};function mT(e){return parseFloat(e.trim())}const pc=[&quot;transformPerspective&quot;,&quot;x&quot;,&quot;y&quot;,&quot;z&quot;,&quot;translateX&quot;,&quot;translateY&quot;,&quot;translateZ&quot;,&quot;scale&quot;,&quot;scaleX&quot;,&quot;scaleY&quot;,&quot;rotate&quot;,&quot;rotateX&quot;,&quot;rotateY&quot;,&quot;rotateZ&quot;,&quot;skew&quot;,&quot;skewX&quot;,&quot;skewY&quot;],gc=new Set(pc),a3=e=&gt;e===mc||e===it,pT=new Set([&quot;x&quot;,&quot;y&quot;,&quot;z&quot;]),gT=pc.filter(e=&gt;!pT.has(e));function vT(e){const r=[];return gT.forEach(t=&gt;{const n=e.getValue(t);n!==void 0&amp;&amp;(r.push([t,n.get()]),n.set(t.startsWith(&quot;scale&quot;)?1:0))}),r}const Ha={width:({x:e},{paddingLeft:r=&quot;0&quot;,paddingRight:t=&quot;0&quot;})=&gt;e.max-e.min-parseFloat(r)-parseFloat(t),height:({y:e},{paddingTop:r=&quot;0&quot;,paddingBottom:t=&quot;0&quot;})=&gt;e.max-e.min-parseFloat(r)-parseFloat(t),top:(e,{top:r})=&gt;parseFloat(r),left:(e,{left:r})=&gt;parseFloat(r),bottom:({y:e},{top:r})=&gt;parseFloat(r)+(e.max-e.min),right:({x:e},{left:r})=&gt;parseFloat(r)+(e.max-e.min),x:(e,{transform:r})=&gt;Uy(r,&quot;x&quot;),y:(e,{transform:r})=&gt;Uy(r,&quot;y&quot;)};Ha.translateX=Ha.x;Ha.translateY=Ha.y;const Zo=new Set;let Vy=!1,qy=!1,Hy=!1;function SN(){if(qy){const e=Array.from(Zo).filter(n=&gt;n.needsMeasurement),r=new Set(e.map(n=&gt;n.element)),t=new Map;r.forEach(n=&gt;{const l=vT(n);l.length&amp;&amp;(t.set(n,l),n.render())}),e.forEach(n=&gt;n.measureInitialState()),r.forEach(n=&gt;{n.render();const l=t.get(n);l&amp;&amp;l.forEach(([i,a])=&gt;{n.getValue(i)?.set(a)})}),e.forEach(n=&gt;n.measureEndState()),e.forEach(n=&gt;{n.suspendedScrollY!==void 0&amp;&amp;window.scrollTo(0,n.suspendedScrollY)})}qy=!1,Vy=!1,Zo.forEach(e=&gt;e.complete(Hy)),Zo.clear()}function kN(){Zo.forEach(e=&gt;{e.readKeyframes(),e.needsMeasurement&amp;&amp;(qy=!0)})}function yT(){Hy=!0,kN(),SN(),Hy=!1}class Bx{constructor(r,t,n,l,i,a=!1){this.state=&quot;pending&quot;,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...r],this.onComplete=t,this.name=n,this.motionValue=l,this.element=i,this.isAsync=a}scheduleResolve(){this.state=&quot;scheduled&quot;,this.isAsync?(Zo.add(this),Vy||(Vy=!0,wr.read(kN),wr.resolveKeyframes(SN))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:r,name:t,element:n,motionValue:l}=this;if(r[0]===null){const i=l?.get(),a=r[r.length-1];if(i!==void 0)r[0]=i;else if(n&amp;&amp;t){const u=n.readValue(t,a);u!=null&amp;&amp;(r[0]=u)}r[0]===void 0&amp;&amp;(r[0]=a),l&amp;&amp;i===void 0&amp;&amp;l.set(r[0])}uT(r)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(r=!1){this.state=&quot;complete&quot;,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,r),Zo.delete(this)}cancel(){this.state===&quot;scheduled&quot;&amp;&amp;(Zo.delete(this),this.state=&quot;pending&quot;)}resume(){this.state===&quot;pending&quot;&amp;&amp;this.scheduleResolve()}}const bT=e=&gt;e.startsWith(&quot;--&quot;);function xT(e,r,t){bT(r)?e.style.setProperty(r,t):e.style[r]=t}const wT=Cx(()=&gt;window.ScrollTimeline!==void 0),_T={};function jT(e,r){const t=Cx(e);return()=&gt;_T[r]??t()}const NN=jT(()=&gt;{try{document.createElement(&quot;div&quot;).animate({opacity:0},{easing:&quot;linear(0, 1)&quot;})}catch{return!1}return!0},&quot;linearEasing&quot;),gu=([e,r,t,n])=&gt;`cubic-bezier(${e}, ${r}, ${t}, ${n})`,o3={linear:&quot;linear&quot;,ease:&quot;ease&quot;,easeIn:&quot;ease-in&quot;,easeOut:&quot;ease-out&quot;,easeInOut:&quot;ease-in-out&quot;,circIn:gu([0,.65,.55,1]),circOut:gu([.55,0,1,.45]),backIn:gu([.31,.01,.66,-.59]),backOut:gu([.33,1.53,.69,.99])};function CN(e,r){if(e)return typeof e==&quot;function&quot;?NN()?wN(e,r):&quot;ease-out&quot;:uN(e)?gu(e):Array.isArray(e)?e.map(t=&gt;CN(t,r)||o3.easeOut):o3[e]}function ST(e,r,t,{delay:n=0,duration:l=300,repeat:i=0,repeatType:a=&quot;loop&quot;,ease:u=&quot;easeOut&quot;,times:o}={},s=void 0){const c={[r]:t};o&amp;&amp;(c.offset=o);const f=CN(u,l);Array.isArray(f)&amp;&amp;(c.easing=f);const h={delay:n,duration:l,easing:Array.isArray(f)?&quot;linear&quot;:f,fill:&quot;both&quot;,iterations:i+1,direction:a===&quot;reverse&quot;?&quot;alternate&quot;:&quot;normal&quot;};return s&amp;&amp;(h.pseudoElement=s),e.animate(c,h)}function EN(e){return typeof e==&quot;function&quot;&amp;&amp;&quot;applyToOptions&quot;in e}function kT({type:e,...r}){return EN(e)&amp;&amp;NN()?e.applyToOptions(r):(r.duration??(r.duration=300),r.ease??(r.ease=&quot;easeOut&quot;),r)}class NT extends Lx{constructor(r){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!r)return;const{element:t,name:n,keyframes:l,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:u,onComplete:o}=r;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=r,Nx(typeof r.type!=&quot;string&quot;);const s=kT(r);this.animation=ST(t,n,l,s,i),s.autoplay===!1&amp;&amp;this.animation.pause(),this.animation.onfinish=()=&gt;{if(this.finishedTime=this.time,!i){const c=Dx(l,this.options,u,this.speed);this.updateMotionValue?this.updateMotionValue(c):xT(t,n,c),this.animation.cancel()}o?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===&quot;finished&quot;&amp;&amp;this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:r}=this;r===&quot;idle&quot;||r===&quot;finished&quot;||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const r=this.animation.effect?.getComputedTiming?.().duration||0;return Ii(Number(r))}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+Ii(r)}get time(){return Ii(Number(this.animation.currentTime)||0)}set time(r){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Gs(r)}get speed(){return this.animation.playbackRate}set speed(r){r&lt;0&amp;&amp;(this.finishedTime=null),this.animation.playbackRate=r}get state(){return this.finishedTime!==null?&quot;finished&quot;:this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(r){this.manualStartTime=this.animation.startTime=r}attachTimeline({timeline:r,observe:t}){return this.allowFlatten&amp;&amp;this.animation.effect?.updateTiming({easing:&quot;linear&quot;}),this.animation.onfinish=null,r&amp;&amp;wT()?(this.animation.timeline=r,Li):t(this)}}const AN={anticipate:aN,backInOut:sN,circInOut:lN};function CT(e){return e in AN}function ET(e){typeof e.ease==&quot;string&quot;&amp;&amp;CT(e.ease)&amp;&amp;(e.ease=AN[e.ease])}const Ag=10;class AT extends NT{constructor(r){ET(r),jN(r),super(r),r.startTime!==void 0&amp;&amp;(this.startTime=r.startTime),this.options=r}updateMotionValue(r){const{motionValue:t,onUpdate:n,onComplete:l,element:i,...a}=this.options;if(!t)return;if(r!==void 0){t.set(r);return}const u=new Fx({...a,autoplay:!1}),o=Math.max(Ag,qn.now()-this.startTime),s=Cs(0,Ag,o-Ag);t.setWithVelocity(u.sample(Math.max(0,o-s)).value,u.sample(o).value,s),u.stop()}}const l3=(e,r)=&gt;r===&quot;zIndex&quot;?!1:!!(typeof e==&quot;number&quot;||Array.isArray(e)||typeof e==&quot;string&quot;&amp;&amp;(Ja.test(e)||e===&quot;0&quot;)&amp;&amp;!e.startsWith(&quot;url(&quot;));function MT(e){const r=e[0];if(e.length===1)return!0;for(let t=0;t&lt;e.length;t++)if(e[t]!==r)return!0}function OT(e,r,t,n){const l=e[0];if(l===null)return!1;if(r===&quot;display&quot;||r===&quot;visibility&quot;)return!0;const i=e[e.length-1],a=l3(l,r),u=l3(i,r);return!a||!u?!1:MT(e)||(t===&quot;spring&quot;||EN(t))&amp;&amp;n}function Wy(e){e.duration=0,e.type=&quot;keyframes&quot;}const PT=new Set([&quot;opacity&quot;,&quot;clipPath&quot;,&quot;filter&quot;,&quot;transform&quot;]),TT=Cx(()=&gt;Object.hasOwnProperty.call(Element.prototype,&quot;animate&quot;));function IT(e){const{motionValue:r,name:t,repeatDelay:n,repeatType:l,damping:i,type:a}=e;if(!(r?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:o,transformTemplate:s}=r.owner.getProps();return TT()&amp;&amp;t&amp;&amp;PT.has(t)&amp;&amp;(t!==&quot;transform&quot;||!s)&amp;&amp;!o&amp;&amp;!n&amp;&amp;l!==&quot;mirror&quot;&amp;&amp;i!==0&amp;&amp;a!==&quot;inertia&quot;}const RT=40;class DT extends Lx{constructor({autoplay:r=!0,delay:t=0,type:n=&quot;keyframes&quot;,repeat:l=0,repeatDelay:i=0,repeatType:a=&quot;loop&quot;,keyframes:u,name:o,motionValue:s,element:c,...f}){super(),this.stop=()=&gt;{this._animation&amp;&amp;(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=qn.now();const h={autoplay:r,delay:t,type:n,repeat:l,repeatDelay:i,repeatType:a,name:o,motionValue:s,element:c,...f},m=c?.KeyframeResolver||Bx;this.keyframeResolver=new m(u,(p,v,g)=&gt;this.onKeyframesResolved(p,v,h,!g),o,s,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(r,t,n,l){this.keyframeResolver=void 0;const{name:i,type:a,velocity:u,delay:o,isHandoff:s,onUpdate:c}=n;this.resolvedAt=qn.now(),OT(r,i,a,u)||((Qs.instantAnimations||!o)&amp;&amp;c?.(Dx(r,n,t)),r[0]=r[r.length-1],Wy(n),n.repeat=0);const h={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt&gt;RT?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:r},m=!s&amp;&amp;IT(h),p=h.motionValue?.owner?.current,v=m?new AT({...h,element:p}):new Fx(h);v.finished.then(()=&gt;{this.notifyFinished()}).catch(Li),this.pendingTimeline&amp;&amp;(this.stopTimeline=v.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=v}get finished(){return this._animation?this.animation.finished:this._finished}then(r,t){return this.finished.finally(r).then(()=&gt;{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),yT()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(r){this.animation.time=r}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(r){this.animation.speed=r}get startTime(){return this.animation.startTime}attachTimeline(r){return this._animation?this.stopTimeline=this.animation.attachTimeline(r):this.pendingTimeline=r,()=&gt;this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&amp;&amp;this.animation.cancel(),this.keyframeResolver?.cancel()}}function MN(e,r,t,n=0,l=1){const i=Array.from(e).sort((s,c)=&gt;s.sortNodePosition(c)).indexOf(r),a=e.size,u=(a-1)*n;return typeof t==&quot;function&quot;?t(i,a):l===1?i*n:u-i*n}const LT=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function FT(e){const r=LT.exec(e);if(!r)return[,];const[,t,n,l]=r;return[`--${t??n}`,l]}function ON(e,r,t=1){const[n,l]=FT(e);if(!n)return;const i=window.getComputedStyle(r).getPropertyValue(n);if(i){const a=i.trim();return Zk(a)?parseFloat(a):a}return Ox(l)?ON(l,r,t+1):l}const BT={type:&quot;spring&quot;,stiffness:500,damping:25,restSpeed:10},zT=e=&gt;({type:&quot;spring&quot;,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),$T={type:&quot;keyframes&quot;,duration:.8},UT={type:&quot;keyframes&quot;,ease:[.25,.1,.35,1],duration:.3},VT=(e,{keyframes:r})=&gt;r.length&gt;2?$T:gc.has(e)?e.startsWith(&quot;scale&quot;)?zT(r[1]):BT:UT,qT=e=&gt;e!==null;function HT(e,{repeat:r,repeatType:t=&quot;loop&quot;},n){const l=e.filter(qT),i=r&amp;&amp;t!==&quot;loop&quot;&amp;&amp;r%2===1?0:l.length-1;return l[i]}function zx(e,r){return e?.[r]??e?.default??e}function WT({when:e,delay:r,delayChildren:t,staggerChildren:n,staggerDirection:l,repeat:i,repeatType:a,repeatDelay:u,from:o,elapsed:s,...c}){return!!Object.keys(c).length}const $x=(e,r,t,n={},l,i)=&gt;a=&gt;{const u=zx(n,e)||{},o=u.delay||n.delay||0;let{elapsed:s=0}=n;s=s-Gs(o);const c={keyframes:Array.isArray(t)?t:[null,t],ease:&quot;easeOut&quot;,velocity:r.getVelocity(),...u,delay:-s,onUpdate:h=&gt;{r.set(h),u.onUpdate&amp;&amp;u.onUpdate(h)},onComplete:()=&gt;{a(),u.onComplete&amp;&amp;u.onComplete()},name:e,motionValue:r,element:i?void 0:l};WT(u)||Object.assign(c,VT(e,c)),c.duration&amp;&amp;(c.duration=Gs(c.duration)),c.repeatDelay&amp;&amp;(c.repeatDelay=Gs(c.repeatDelay)),c.from!==void 0&amp;&amp;(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&amp;&amp;!c.repeatDelay)&amp;&amp;(Wy(c),c.delay===0&amp;&amp;(f=!0)),(Qs.instantAnimations||Qs.skipAnimations)&amp;&amp;(f=!0,Wy(c),c.delay=0),c.allowFlatten=!u.type&amp;&amp;!u.ease,f&amp;&amp;!i&amp;&amp;r.get()!==void 0){const h=HT(c.keyframes,u);if(h!==void 0){wr.update(()=&gt;{c.onUpdate(h),c.onComplete()});return}}return u.isSync?new Fx(c):new DT(c)};function c3(e){const r=[{},{}];return e?.values.forEach((t,n)=&gt;{r[0][n]=t.get(),r[1][n]=t.getVelocity()}),r}function Ux(e,r,t,n){if(typeof r==&quot;function&quot;){const[l,i]=c3(n);r=r(t!==void 0?t:e.custom,l,i)}if(typeof r==&quot;string&quot;&amp;&amp;(r=e.variants&amp;&amp;e.variants[r]),typeof r==&quot;function&quot;){const[l,i]=c3(n);r=r(t!==void 0?t:e.custom,l,i)}return r}function Zl(e,r,t){const n=e.getProps();return Ux(n,r,t!==void 0?t:n.custom,e)}const PN=new Set([&quot;width&quot;,&quot;height&quot;,&quot;top&quot;,&quot;left&quot;,&quot;right&quot;,&quot;bottom&quot;,...pc]),u3=30,KT=e=&gt;!isNaN(parseFloat(e));class XT{constructor(r,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=n=&gt;{const l=qn.now();if(this.updatedAt!==l&amp;&amp;this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&amp;&amp;(this.events.change?.notify(this.current),this.dependents))for(const i of this.dependents)i.dirty()},this.hasAnimated=!1,this.setCurrent(r),this.owner=t.owner}setCurrent(r){this.current=r,this.updatedAt=qn.now(),this.canTrackVelocity===null&amp;&amp;r!==void 0&amp;&amp;(this.canTrackVelocity=KT(this.current))}setPrevFrameValue(r=this.current){this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt}onChange(r){return this.on(&quot;change&quot;,r)}on(r,t){this.events[r]||(this.events[r]=new Ex);const n=this.events[r].add(t);return r===&quot;change&quot;?()=&gt;{n(),wr.read(()=&gt;{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const r in this.events)this.events[r].clear()}attach(r,t){this.passiveEffect=r,this.stopPassiveEffect=t}set(r){this.passiveEffect?this.passiveEffect(r,this.updateAndNotify):this.updateAndNotify(r)}setWithVelocity(r,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt-n}jump(r,t=!0){this.updateAndNotify(r),this.prev=r,this.prevUpdatedAt=this.prevFrameValue=void 0,t&amp;&amp;this.stop(),this.stopPassiveEffect&amp;&amp;this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(r){this.dependents||(this.dependents=new Set),this.dependents.add(r)}removeDependent(r){this.dependents&amp;&amp;this.dependents.delete(r)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const r=qn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||r-this.updatedAt&gt;u3)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,u3);return eN(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(r){return this.stop(),new Promise(t=&gt;{this.hasAnimated=!0,this.animation=r(t),this.events.animationStart&amp;&amp;this.events.animationStart.notify()}).then(()=&gt;{this.events.animationComplete&amp;&amp;this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&amp;&amp;(this.animation.stop(),this.events.animationCancel&amp;&amp;this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&amp;&amp;this.stopPassiveEffect()}}function ec(e,r){return new XT(e,r)}const Ky=e=&gt;Array.isArray(e);function GT(e,r,t){e.hasValue(r)?e.getValue(r).set(t):e.addValue(r,ec(t))}function YT(e){return Ky(e)?e[e.length-1]||0:e}function ZT(e,r){const t=Zl(e,r);let{transitionEnd:n={},transition:l={},...i}=t||{};i={...i,...n};for(const a in i){const u=YT(i[a]);GT(e,a,u)}}const Dn=e=&gt;!!(e&amp;&amp;e.getVelocity);function QT(e){return!!(Dn(e)&amp;&amp;e.add)}function Xy(e,r){const t=e.getValue(&quot;willChange&quot;);if(QT(t))return t.add(r);if(!t&amp;&amp;Qs.WillChange){const n=new Qs.WillChange(&quot;auto&quot;);e.addValue(&quot;willChange&quot;,n),n.add(r)}}function Vx(e){return e.replace(/([A-Z])/g,r=&gt;`-${r.toLowerCase()}`)}const JT=&quot;framerAppearId&quot;,TN=&quot;data-&quot;+Vx(JT);function IN(e){return e.props[TN]}function eI({protectedKeys:e,needsAnimating:r},t){const n=e.hasOwnProperty(t)&amp;&amp;r[t]!==!0;return r[t]=!1,n}function RN(e,r,{delay:t=0,transitionOverride:n,type:l}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:a,...u}=r;n&amp;&amp;(i=n);const o=[],s=l&amp;&amp;e.animationState&amp;&amp;e.animationState.getState()[l];for(const c in u){const f=e.getValue(c,e.latestValues[c]??null),h=u[c];if(h===void 0||s&amp;&amp;eI(s,c))continue;const m={delay:t,...zx(i||{},c)},p=f.get();if(p!==void 0&amp;&amp;!f.isAnimating&amp;&amp;!Array.isArray(h)&amp;&amp;h===p&amp;&amp;!m.velocity)continue;let v=!1;if(window.MotionHandoffAnimation){const b=IN(e);if(b){const x=window.MotionHandoffAnimation(b,c,wr);x!==null&amp;&amp;(m.startTime=x,v=!0)}}Xy(e,c),f.start($x(c,f,h,e.shouldReduceMotion&amp;&amp;PN.has(c)?{type:!1}:m,e,v));const g=f.animation;g&amp;&amp;o.push(g)}return a&amp;&amp;Promise.all(o).then(()=&gt;{wr.update(()=&gt;{a&amp;&amp;ZT(e,a)})}),o}function Gy(e,r,t={}){const n=Zl(e,r,t.type===&quot;exit&quot;?e.presenceContext?.custom:void 0);let{transition:l=e.getDefaultTransition()||{}}=n||{};t.transitionOverride&amp;&amp;(l=t.transitionOverride);const i=n?()=&gt;Promise.all(RN(e,n,t)):()=&gt;Promise.resolve(),a=e.variantChildren&amp;&amp;e.variantChildren.size?(o=0)=&gt;{const{delayChildren:s=0,staggerChildren:c,staggerDirection:f}=l;return tI(e,r,o,s,c,f,t)}:()=&gt;Promise.resolve(),{when:u}=l;if(u){const[o,s]=u===&quot;beforeChildren&quot;?[i,a]:[a,i];return o().then(()=&gt;s())}else return Promise.all([i(),a(t.delay)])}function tI(e,r,t=0,n=0,l=0,i=1,a){const u=[];for(const o of e.variantChildren)o.notify(&quot;AnimationStart&quot;,r),u.push(Gy(o,r,{...a,delay:t+(typeof n==&quot;function&quot;?0:n)+MN(e.variantChildren,o,n,l,i)}).then(()=&gt;o.notify(&quot;AnimationComplete&quot;,r)));return Promise.all(u)}function rI(e,r,t={}){e.notify(&quot;AnimationStart&quot;,r);let n;if(Array.isArray(r)){const l=r.map(i=&gt;Gy(e,i,t));n=Promise.all(l)}else if(typeof r==&quot;string&quot;)n=Gy(e,r,t);else{const l=typeof r==&quot;function&quot;?Zl(e,r,t.custom):r;n=Promise.all(RN(e,l,t))}return n.then(()=&gt;{e.notify(&quot;AnimationComplete&quot;,r)})}const nI={test:e=&gt;e===&quot;auto&quot;,parse:e=&gt;e},DN=e=&gt;r=&gt;r.test(e),LN=[mc,it,ks,Ba,MP,AP,nI],d3=e=&gt;LN.find(DN(e));function iI(e){return typeof e==&quot;number&quot;?e===0:e!==null?e===&quot;none&quot;||e===&quot;0&quot;||Jk(e):!0}const sI=new Set([&quot;brightness&quot;,&quot;contrast&quot;,&quot;saturate&quot;,&quot;opacity&quot;]);function aI(e){const[r,t]=e.slice(0,-1).split(&quot;(&quot;);if(r===&quot;drop-shadow&quot;)return e;const[n]=t.match(Px)||[];if(!n)return e;const l=t.replace(n,&quot;&quot;);let i=sI.has(r)?1:0;return n!==t&amp;&amp;(i*=100),r+&quot;(&quot;+i+l+&quot;)&quot;}const oI=/\b([a-z-]*)\(.*?\)/gu,Yy={...Ja,getAnimatableNone:e=&gt;{const r=e.match(oI);return r?r.map(aI).join(&quot; &quot;):e}},f3={...mc,transform:Math.round},lI={rotate:Ba,rotateX:Ba,rotateY:Ba,rotateZ:Ba,scale:$f,scaleX:$f,scaleY:$f,scaleZ:$f,skew:Ba,skewX:Ba,skewY:Ba,distance:it,translateX:it,translateY:it,translateZ:it,x:it,y:it,z:it,perspective:it,transformPerspective:it,opacity:Mu,originX:Q_,originY:Q_,originZ:it},qx={borderWidth:it,borderTopWidth:it,borderRightWidth:it,borderBottomWidth:it,borderLeftWidth:it,borderRadius:it,radius:it,borderTopLeftRadius:it,borderTopRightRadius:it,borderBottomRightRadius:it,borderBottomLeftRadius:it,width:it,maxWidth:it,height:it,maxHeight:it,top:it,right:it,bottom:it,left:it,inset:it,insetBlock:it,insetBlockStart:it,insetBlockEnd:it,insetInline:it,insetInlineStart:it,insetInlineEnd:it,padding:it,paddingTop:it,paddingRight:it,paddingBottom:it,paddingLeft:it,paddingBlock:it,paddingBlockStart:it,paddingBlockEnd:it,paddingInline:it,paddingInlineStart:it,paddingInlineEnd:it,margin:it,marginTop:it,marginRight:it,marginBottom:it,marginLeft:it,marginBlock:it,marginBlockStart:it,marginBlockEnd:it,marginInline:it,marginInlineStart:it,marginInlineEnd:it,backgroundPositionX:it,backgroundPositionY:it,...lI,zIndex:f3,fillOpacity:Mu,strokeOpacity:Mu,numOctaves:f3},cI={...qx,color:Hr,backgroundColor:Hr,outlineColor:Hr,fill:Hr,stroke:Hr,borderColor:Hr,borderTopColor:Hr,borderRightColor:Hr,borderBottomColor:Hr,borderLeftColor:Hr,filter:Yy,WebkitFilter:Yy},FN=e=&gt;cI[e];function BN(e,r){let t=FN(e);return t!==Yy&amp;&amp;(t=Ja),t.getAnimatableNone?t.getAnimatableNone(r):void 0}const uI=new Set([&quot;auto&quot;,&quot;none&quot;,&quot;0&quot;]);function dI(e,r,t){let n=0,l;for(;n&lt;e.length&amp;&amp;!l;){const i=e[n];typeof i==&quot;string&quot;&amp;&amp;!uI.has(i)&amp;&amp;Ou(i).values.length&amp;&amp;(l=e[n]),n++}if(l&amp;&amp;t)for(const i of r)e[i]=BN(t,l)}class fI extends Bx{constructor(r,t,n,l,i){super(r,t,n,l,i,!0)}readKeyframes(){const{unresolvedKeyframes:r,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let c=0;c&lt;r.length;c++){let f=r[c];if(typeof f==&quot;string&quot;&amp;&amp;(f=f.trim(),Ox(f))){const h=ON(f,t.current);h!==void 0&amp;&amp;(r[c]=h),c===r.length-1&amp;&amp;(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!PN.has(n)||r.length!==2)return;const[l,i]=r,a=d3(l),u=d3(i),o=Z_(l),s=Z_(i);if(o!==s&amp;&amp;Ha[n]){this.needsMeasurement=!0;return}if(a!==u)if(a3(a)&amp;&amp;a3(u))for(let c=0;c&lt;r.length;c++){const f=r[c];typeof f==&quot;string&quot;&amp;&amp;(r[c]=parseFloat(f))}else Ha[n]&amp;&amp;(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:r,name:t}=this,n=[];for(let l=0;l&lt;r.length;l++)(r[l]===null||iI(r[l]))&amp;&amp;n.push(l);n.length&amp;&amp;dI(r,n,t)}measureInitialState(){const{element:r,unresolvedKeyframes:t,name:n}=this;if(!r||!r.current)return;n===&quot;height&quot;&amp;&amp;(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ha[n](r.measureViewportBox(),window.getComputedStyle(r.current)),t[0]=this.measuredOrigin;const l=t[t.length-1];l!==void 0&amp;&amp;r.getValue(n,l).jump(l,!1)}measureEndState(){const{element:r,name:t,unresolvedKeyframes:n}=this;if(!r||!r.current)return;const l=r.getValue(t);l&amp;&amp;l.jump(this.measuredOrigin,!1);const i=n.length-1,a=n[i];n[i]=Ha[t](r.measureViewportBox(),window.getComputedStyle(r.current)),a!==null&amp;&amp;this.finalKeyframe===void 0&amp;&amp;(this.finalKeyframe=a),this.removedTransforms?.length&amp;&amp;this.removedTransforms.forEach(([u,o])=&gt;{r.getValue(u).set(o)}),this.resolveNoneKeyframes()}}function hI(e,r,t){if(e instanceof EventTarget)return[e];if(typeof e==&quot;string&quot;){let n=document;const l=t?.[e]??n.querySelectorAll(e);return l?Array.from(l):[]}return Array.from(e)}const zN=(e,r)=&gt;r&amp;&amp;typeof e==&quot;number&quot;?r.transform(e):e;function $N(e){return Qk(e)&amp;&amp;&quot;offsetHeight&quot;in e}const{schedule:Hx}=dN(queueMicrotask,!1),rs={x:!1,y:!1};function UN(){return rs.x||rs.y}function mI(e){return e===&quot;x&quot;||e===&quot;y&quot;?rs[e]?null:(rs[e]=!0,()=&gt;{rs[e]=!1}):rs.x||rs.y?null:(rs.x=rs.y=!0,()=&gt;{rs.x=rs.y=!1})}function VN(e,r){const t=hI(e),n=new AbortController,l={passive:!0,...r,signal:n.signal};return[t,l,()=&gt;n.abort()]}function h3(e){return!(e.pointerType===&quot;touch&quot;||UN())}function pI(e,r,t={}){const[n,l,i]=VN(e,t),a=u=&gt;{if(!h3(u))return;const{target:o}=u,s=r(o,u);if(typeof s!=&quot;function&quot;||!o)return;const c=f=&gt;{h3(f)&amp;&amp;(s(f),o.removeEventListener(&quot;pointerleave&quot;,c))};o.addEventListener(&quot;pointerleave&quot;,c,l)};return n.forEach(u=&gt;{u.addEventListener(&quot;pointerenter&quot;,a,l)}),i}const qN=(e,r)=&gt;r?e===r?!0:qN(e,r.parentElement):!1,Wx=e=&gt;e.pointerType===&quot;mouse&quot;?typeof e.button!=&quot;number&quot;||e.button&lt;=0:e.isPrimary!==!1,gI=new Set([&quot;BUTTON&quot;,&quot;INPUT&quot;,&quot;SELECT&quot;,&quot;TEXTAREA&quot;,&quot;A&quot;]);function HN(e){return gI.has(e.tagName)||e.isContentEditable===!0}const ph=new WeakSet;function m3(e){return r=&gt;{r.key===&quot;Enter&quot;&amp;&amp;e(r)}}function Mg(e,r){e.dispatchEvent(new PointerEvent(&quot;pointer&quot;+r,{isPrimary:!0,bubbles:!0}))}const vI=(e,r)=&gt;{const t=e.currentTarget;if(!t)return;const n=m3(()=&gt;{if(ph.has(t))return;Mg(t,&quot;down&quot;);const l=m3(()=&gt;{Mg(t,&quot;up&quot;)}),i=()=&gt;Mg(t,&quot;cancel&quot;);t.addEventListener(&quot;keyup&quot;,l,r),t.addEventListener(&quot;blur&quot;,i,r)});t.addEventListener(&quot;keydown&quot;,n,r),t.addEventListener(&quot;blur&quot;,()=&gt;t.removeEventListener(&quot;keydown&quot;,n),r)};function p3(e){return Wx(e)&amp;&amp;!UN()}function yI(e,r,t={}){const[n,l,i]=VN(e,t),a=u=&gt;{const o=u.currentTarget;if(!p3(u))return;ph.add(o);const s=r(o,u),c=(m,p)=&gt;{window.removeEventListener(&quot;pointerup&quot;,f),window.removeEventListener(&quot;pointercancel&quot;,h),ph.has(o)&amp;&amp;ph.delete(o),p3(m)&amp;&amp;typeof s==&quot;function&quot;&amp;&amp;s(m,{success:p})},f=m=&gt;{c(m,o===window||o===document||t.useGlobalTarget||qN(o,m.target))},h=m=&gt;{c(m,!1)};window.addEventListener(&quot;pointerup&quot;,f,l),window.addEventListener(&quot;pointercancel&quot;,h,l)};return n.forEach(u=&gt;{(t.useGlobalTarget?window:u).addEventListener(&quot;pointerdown&quot;,a,l),$N(u)&amp;&amp;(u.addEventListener(&quot;focus&quot;,s=&gt;vI(s,l)),!HN(u)&amp;&amp;!u.hasAttribute(&quot;tabindex&quot;)&amp;&amp;(u.tabIndex=0))}),i}function WN(e){return Qk(e)&amp;&amp;&quot;ownerSVGElement&quot;in e}function bI(e){return WN(e)&amp;&amp;e.tagName===&quot;svg&quot;}const xI=[...LN,Hr,Ja],wI=e=&gt;xI.find(DN(e)),g3=()=&gt;({translate:0,scale:1,origin:0,originPoint:0}),Wl=()=&gt;({x:g3(),y:g3()}),v3=()=&gt;({min:0,max:0}),Zr=()=&gt;({x:v3(),y:v3()}),Zy={current:null},KN={current:!1},_I=typeof window&lt;&quot;u&quot;;function jI(){if(KN.current=!0,!!_I)if(window.matchMedia){const e=window.matchMedia(&quot;(prefers-reduced-motion)&quot;),r=()=&gt;Zy.current=e.matches;e.addEventListener(&quot;change&quot;,r),r()}else Zy.current=!1}const SI=new WeakMap;function Bm(e){return e!==null&amp;&amp;typeof e==&quot;object&quot;&amp;&amp;typeof e.start==&quot;function&quot;}function Pu(e){return typeof e==&quot;string&quot;||Array.isArray(e)}const Kx=[&quot;animate&quot;,&quot;whileInView&quot;,&quot;whileFocus&quot;,&quot;whileHover&quot;,&quot;whileTap&quot;,&quot;whileDrag&quot;,&quot;exit&quot;],Xx=[&quot;initial&quot;,...Kx];function zm(e){return Bm(e.animate)||Xx.some(r=&gt;Pu(e[r]))}function XN(e){return!!(zm(e)||e.variants)}function kI(e,r,t){for(const n in r){const l=r[n],i=t[n];if(Dn(l))e.addValue(n,l);else if(Dn(i))e.addValue(n,ec(l,{owner:e}));else if(i!==l)if(e.hasValue(n)){const a=e.getValue(n);a.liveStyle===!0?a.jump(l):a.hasAnimated||a.set(l)}else{const a=e.getStaticValue(n);e.addValue(n,ec(a!==void 0?a:l,{owner:e}))}}for(const n in t)r[n]===void 0&amp;&amp;e.removeValue(n);return r}const y3=[&quot;AnimationStart&quot;,&quot;AnimationComplete&quot;,&quot;Update&quot;,&quot;BeforeLayoutMeasure&quot;,&quot;LayoutMeasure&quot;,&quot;LayoutAnimationStart&quot;,&quot;LayoutAnimationComplete&quot;];let Ph={};function GN(e){Ph=e}function NI(){return Ph}class CI{scrapeMotionValuesFromProps(r,t,n){return{}}constructor({parent:r,props:t,presenceContext:n,reducedMotionConfig:l,blockInitialAnimation:i,visualState:a},u={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Bx,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=&gt;this.notify(&quot;Update&quot;,this.latestValues),this.render=()=&gt;{this.current&amp;&amp;(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=&gt;{const h=qn.now();this.renderScheduledAt&lt;h&amp;&amp;(this.renderScheduledAt=h,wr.render(this.render,!1,!0))};const{latestValues:o,renderState:s}=a;this.latestValues=o,this.baseTarget={...o},this.initialValues=t.initial?{...o}:{},this.renderState=s,this.parent=r,this.props=t,this.presenceContext=n,this.depth=r?r.depth+1:0,this.reducedMotionConfig=l,this.options=u,this.blockInitialAnimation=!!i,this.isControllingVariants=zm(t),this.isVariantNode=XN(t),this.isVariantNode&amp;&amp;(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(r&amp;&amp;r.current);const{willChange:c,...f}=this.scrapeMotionValuesFromProps(t,{},this);for(const h in f){const m=f[h];o[h]!==void 0&amp;&amp;Dn(m)&amp;&amp;m.set(o[h])}}mount(r){this.current=r,SI.set(r,this),this.projection&amp;&amp;!this.projection.instance&amp;&amp;this.projection.mount(r),this.parent&amp;&amp;this.isVariantNode&amp;&amp;!this.isControllingVariants&amp;&amp;(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,n)=&gt;this.bindToMotionValue(n,t)),this.reducedMotionConfig===&quot;never&quot;?this.shouldReduceMotion=!1:this.reducedMotionConfig===&quot;always&quot;?this.shouldReduceMotion=!0:(KN.current||jI(),this.shouldReduceMotion=Zy.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&amp;&amp;this.projection.unmount(),Qa(this.notifyUpdate),Qa(this.render),this.valueSubscriptions.forEach(r=&gt;r()),this.valueSubscriptions.clear(),this.removeFromVariantTree&amp;&amp;this.removeFromVariantTree(),this.parent?.removeChild(this);for(const r in this.events)this.events[r].clear();for(const r in this.features){const t=this.features[r];t&amp;&amp;(t.unmount(),t.isMounted=!1)}this.current=null}addChild(r){this.children.add(r),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(r)}removeChild(r){this.children.delete(r),this.enteringChildren&amp;&amp;this.enteringChildren.delete(r)}bindToMotionValue(r,t){this.valueSubscriptions.has(r)&amp;&amp;this.valueSubscriptions.get(r)();const n=gc.has(r);n&amp;&amp;this.onBindTransform&amp;&amp;this.onBindTransform();const l=t.on(&quot;change&quot;,a=&gt;{this.latestValues[r]=a,this.props.onUpdate&amp;&amp;wr.preRender(this.notifyUpdate),n&amp;&amp;this.projection&amp;&amp;(this.projection.isTransformDirty=!0),this.scheduleRender()});let i;typeof window&lt;&quot;u&quot;&amp;&amp;window.MotionCheckAppearSync&amp;&amp;(i=window.MotionCheckAppearSync(this,r,t)),this.valueSubscriptions.set(r,()=&gt;{l(),i&amp;&amp;i(),t.owner&amp;&amp;t.stop()})}sortNodePosition(r){return!this.current||!this.sortInstanceNodePosition||this.type!==r.type?0:this.sortInstanceNodePosition(this.current,r.current)}updateFeatures(){let r=&quot;animation&quot;;for(r in Ph){const t=Ph[r];if(!t)continue;const{isEnabled:n,Feature:l}=t;if(!this.features[r]&amp;&amp;l&amp;&amp;n(this.props)&amp;&amp;(this.features[r]=new l(this)),this.features[r]){const i=this.features[r];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Zr()}getStaticValue(r){return this.latestValues[r]}setStaticValue(r,t){this.latestValues[r]=t}update(r,t){(r.transformTemplate||this.props.transformTemplate)&amp;&amp;this.scheduleRender(),this.prevProps=this.props,this.props=r,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let n=0;n&lt;y3.length;n++){const l=y3[n];this.propEventSubscriptions[l]&amp;&amp;(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const i=&quot;on&quot;+l,a=r[i];a&amp;&amp;(this.propEventSubscriptions[l]=this.on(l,a))}this.prevMotionValues=kI(this,this.scrapeMotionValuesFromProps(r,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&amp;&amp;this.handleChildMotionValue()}getProps(){return this.props}getVariant(r){return this.props.variants?this.props.variants[r]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(r){const t=this.getClosestVariantNode();if(t)return t.variantChildren&amp;&amp;t.variantChildren.add(r),()=&gt;t.variantChildren.delete(r)}addValue(r,t){const n=this.values.get(r);t!==n&amp;&amp;(n&amp;&amp;this.removeValue(r),this.bindToMotionValue(r,t),this.values.set(r,t),this.latestValues[r]=t.get())}removeValue(r){this.values.delete(r);const t=this.valueSubscriptions.get(r);t&amp;&amp;(t(),this.valueSubscriptions.delete(r)),delete this.latestValues[r],this.removeValueFromRenderState(r,this.renderState)}hasValue(r){return this.values.has(r)}getValue(r,t){if(this.props.values&amp;&amp;this.props.values[r])return this.props.values[r];let n=this.values.get(r);return n===void 0&amp;&amp;t!==void 0&amp;&amp;(n=ec(t===null?void 0:t,{owner:this}),this.addValue(r,n)),n}readValue(r,t){let n=this.latestValues[r]!==void 0||!this.current?this.latestValues[r]:this.getBaseTargetFromProps(this.props,r)??this.readValueFromInstance(this.current,r,this.options);return n!=null&amp;&amp;(typeof n==&quot;string&quot;&amp;&amp;(Zk(n)||Jk(n))?n=parseFloat(n):!wI(n)&amp;&amp;Ja.test(t)&amp;&amp;(n=BN(r,t)),this.setBaseTarget(r,Dn(n)?n.get():n)),Dn(n)?n.get():n}setBaseTarget(r,t){this.baseTarget[r]=t}getBaseTarget(r){const{initial:t}=this.props;let n;if(typeof t==&quot;string&quot;||typeof t==&quot;object&quot;){const i=Ux(this.props,t,this.presenceContext?.custom);i&amp;&amp;(n=i[r])}if(t&amp;&amp;n!==void 0)return n;const l=this.getBaseTargetFromProps(this.props,r);return l!==void 0&amp;&amp;!Dn(l)?l:this.initialValues[r]!==void 0&amp;&amp;n===void 0?void 0:this.baseTarget[r]}on(r,t){return this.events[r]||(this.events[r]=new Ex),this.events[r].add(t)}notify(r,...t){this.events[r]&amp;&amp;this.events[r].notify(...t)}scheduleRenderMicrotask(){Hx.render(this.render)}}class YN extends CI{constructor(){super(...arguments),this.KeyframeResolver=fI}sortInstanceNodePosition(r,t){return r.compareDocumentPosition(t)&amp;2?1:-1}getBaseTargetFromProps(r,t){const n=r.style;return n?n[t]:void 0}removeValueFromRenderState(r,{vars:t,style:n}){delete t[r],delete n[r]}handleChildMotionValue(){this.childSubscription&amp;&amp;(this.childSubscription(),delete this.childSubscription);const{children:r}=this.props;Dn(r)&amp;&amp;(this.childSubscription=r.on(&quot;change&quot;,t=&gt;{this.current&amp;&amp;(this.current.textContent=`${t}`)}))}}class ao{constructor(r){this.isMounted=!1,this.node=r}update(){}}function ZN({top:e,left:r,right:t,bottom:n}){return{x:{min:r,max:t},y:{min:e,max:n}}}function EI({x:e,y:r}){return{top:r.min,right:e.max,bottom:r.max,left:e.min}}function AI(e,r){if(!r)return e;const t=r({x:e.left,y:e.top}),n=r({x:e.right,y:e.bottom});return{top:t.y,left:t.x,bottom:n.y,right:n.x}}function Og(e){return e===void 0||e===1}function Qy({scale:e,scaleX:r,scaleY:t}){return!Og(e)||!Og(r)||!Og(t)}function Bo(e){return Qy(e)||QN(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function QN(e){return b3(e.x)||b3(e.y)}function b3(e){return e&amp;&amp;e!==&quot;0%&quot;}function Th(e,r,t){const n=e-t,l=r*n;return t+l}function x3(e,r,t,n,l){return l!==void 0&amp;&amp;(e=Th(e,l,n)),Th(e,t,n)+r}function Jy(e,r=0,t=1,n,l){e.min=x3(e.min,r,t,n,l),e.max=x3(e.max,r,t,n,l)}function JN(e,{x:r,y:t}){Jy(e.x,r.translate,r.scale,r.originPoint),Jy(e.y,t.translate,t.scale,t.originPoint)}const w3=.999999999999,_3=1.0000000000001;function MI(e,r,t,n=!1){const l=t.length;if(!l)return;r.x=r.y=1;let i,a;for(let u=0;u&lt;l;u++){i=t[u],a=i.projectionDelta;const{visualElement:o}=i.options;o&amp;&amp;o.props.style&amp;&amp;o.props.style.display===&quot;contents&quot;||(n&amp;&amp;i.options.layoutScroll&amp;&amp;i.scroll&amp;&amp;i!==i.root&amp;&amp;Xl(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&amp;&amp;(r.x*=a.x.scale,r.y*=a.y.scale,JN(e,a)),n&amp;&amp;Bo(i.latestValues)&amp;&amp;Xl(e,i.latestValues))}r.x&lt;_3&amp;&amp;r.x&gt;w3&amp;&amp;(r.x=1),r.y&lt;_3&amp;&amp;r.y&gt;w3&amp;&amp;(r.y=1)}function Kl(e,r){e.min=e.min+r,e.max=e.max+r}function j3(e,r,t,n,l=.5){const i=Mr(e.min,e.max,l);Jy(e,r,t,i,n)}function Xl(e,r){j3(e.x,r.x,r.scaleX,r.scale,r.originX),j3(e.y,r.y,r.scaleY,r.scale,r.originY)}function e8(e,r){return ZN(AI(e.getBoundingClientRect(),r))}function OI(e,r,t){const n=e8(e,t),{scroll:l}=r;return l&amp;&amp;(Kl(n.x,l.offset.x),Kl(n.y,l.offset.y)),n}const PI={x:&quot;translateX&quot;,y:&quot;translateY&quot;,z:&quot;translateZ&quot;,transformPerspective:&quot;perspective&quot;},TI=pc.length;function II(e,r,t){let n=&quot;&quot;,l=!0;for(let i=0;i&lt;TI;i++){const a=pc[i],u=e[a];if(u===void 0)continue;let o=!0;if(typeof u==&quot;number&quot;?o=u===(a.startsWith(&quot;scale&quot;)?1:0):o=parseFloat(u)===0,!o||t){const s=zN(u,qx[a]);if(!o){l=!1;const c=PI[a]||a;n+=`${c}(${s}) `}t&amp;&amp;(r[a]=s)}}return n=n.trim(),t?n=t(r,l?&quot;&quot;:n):l&amp;&amp;(n=&quot;none&quot;),n}function Gx(e,r,t){const{style:n,vars:l,transformOrigin:i}=e;let a=!1,u=!1;for(const o in r){const s=r[o];if(gc.has(o)){a=!0;continue}else if(hN(o)){l[o]=s;continue}else{const c=zN(s,qx[o]);o.startsWith(&quot;origin&quot;)?(u=!0,i[o]=c):n[o]=c}}if(r.transform||(a||t?n.transform=II(r,e.transform,t):n.transform&amp;&amp;(n.transform=&quot;none&quot;)),u){const{originX:o=&quot;50%&quot;,originY:s=&quot;50%&quot;,originZ:c=0}=i;n.transformOrigin=`${o} ${s} ${c}`}}function t8(e,{style:r,vars:t},n,l){const i=e.style;let a;for(a in r)i[a]=r[a];l?.applyProjectionStyles(i,n);for(a in t)i.setProperty(a,t[a])}function S3(e,r){return r.max===r.min?0:e/(r.max-r.min)*100}const su={correct:(e,r)=&gt;{if(!r.target)return e;if(typeof e==&quot;string&quot;)if(it.test(e))e=parseFloat(e);else return e;const t=S3(e,r.target.x),n=S3(e,r.target.y);return`${t}% ${n}%`}},RI={correct:(e,{treeScale:r,projectionDelta:t})=&gt;{const n=e,l=Ja.parse(e);if(l.length&gt;5)return n;const i=Ja.createTransformer(e),a=typeof l[0]!=&quot;number&quot;?1:0,u=t.x.scale*r.x,o=t.y.scale*r.y;l[0+a]/=u,l[1+a]/=o;const s=Mr(u,o,.5);return typeof l[2+a]==&quot;number&quot;&amp;&amp;(l[2+a]/=s),typeof l[3+a]==&quot;number&quot;&amp;&amp;(l[3+a]/=s),i(l)}},eb={borderRadius:{...su,applyTo:[&quot;borderTopLeftRadius&quot;,&quot;borderTopRightRadius&quot;,&quot;borderBottomLeftRadius&quot;,&quot;borderBottomRightRadius&quot;]},borderTopLeftRadius:su,borderTopRightRadius:su,borderBottomLeftRadius:su,borderBottomRightRadius:su,boxShadow:RI};function r8(e,{layout:r,layoutId:t}){return gc.has(e)||e.startsWith(&quot;origin&quot;)||(r||t!==void 0)&amp;&amp;(!!eb[e]||e===&quot;opacity&quot;)}function Yx(e,r,t){const n=e.style,l=r?.style,i={};if(!n)return i;for(const a in n)(Dn(n[a])||l&amp;&amp;Dn(l[a])||r8(a,e)||t?.getValue(a)?.liveStyle!==void 0)&amp;&amp;(i[a]=n[a]);return i}function DI(e){return window.getComputedStyle(e)}class LI extends YN{constructor(){super(...arguments),this.type=&quot;html&quot;,this.renderInstance=t8}readValueFromInstance(r,t){if(gc.has(t))return this.projection?.isProjecting?$y(t):hT(r,t);{const n=DI(r),l=(hN(t)?n.getPropertyValue(t):n[t])||0;return typeof l==&quot;string&quot;?l.trim():l}}measureInstanceViewportBox(r,{transformPagePoint:t}){return e8(r,t)}build(r,t,n){Gx(r,t,n.transformTemplate)}scrapeMotionValuesFromProps(r,t,n){return Yx(r,t,n)}}const FI={offset:&quot;stroke-dashoffset&quot;,array:&quot;stroke-dasharray&quot;},BI={offset:&quot;strokeDashoffset&quot;,array:&quot;strokeDasharray&quot;};function zI(e,r,t=1,n=0,l=!0){e.pathLength=1;const i=l?FI:BI;e[i.offset]=it.transform(-n);const a=it.transform(r),u=it.transform(t);e[i.array]=`${a} ${u}`}const $I=[&quot;offsetDistance&quot;,&quot;offsetPath&quot;,&quot;offsetRotate&quot;,&quot;offsetAnchor&quot;];function n8(e,{attrX:r,attrY:t,attrScale:n,pathLength:l,pathSpacing:i=1,pathOffset:a=0,...u},o,s,c){if(Gx(e,u,s),o){e.style.viewBox&amp;&amp;(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:h}=e;f.transform&amp;&amp;(h.transform=f.transform,delete f.transform),(h.transform||f.transformOrigin)&amp;&amp;(h.transformOrigin=f.transformOrigin??&quot;50% 50%&quot;,delete f.transformOrigin),h.transform&amp;&amp;(h.transformBox=c?.transformBox??&quot;fill-box&quot;,delete f.transformBox);for(const m of $I)f[m]!==void 0&amp;&amp;(h[m]=f[m],delete f[m]);r!==void 0&amp;&amp;(f.x=r),t!==void 0&amp;&amp;(f.y=t),n!==void 0&amp;&amp;(f.scale=n),l!==void 0&amp;&amp;zI(f,l,i,a,!1)}const i8=new Set([&quot;baseFrequency&quot;,&quot;diffuseConstant&quot;,&quot;kernelMatrix&quot;,&quot;kernelUnitLength&quot;,&quot;keySplines&quot;,&quot;keyTimes&quot;,&quot;limitingConeAngle&quot;,&quot;markerHeight&quot;,&quot;markerWidth&quot;,&quot;numOctaves&quot;,&quot;targetX&quot;,&quot;targetY&quot;,&quot;surfaceScale&quot;,&quot;specularConstant&quot;,&quot;specularExponent&quot;,&quot;stdDeviation&quot;,&quot;tableValues&quot;,&quot;viewBox&quot;,&quot;gradientTransform&quot;,&quot;pathLength&quot;,&quot;startOffset&quot;,&quot;textLength&quot;,&quot;lengthAdjust&quot;]),s8=e=&gt;typeof e==&quot;string&quot;&amp;&amp;e.toLowerCase()===&quot;svg&quot;;function UI(e,r,t,n){t8(e,r,void 0,n);for(const l in r.attrs)e.setAttribute(i8.has(l)?l:Vx(l),r.attrs[l])}function a8(e,r,t){const n=Yx(e,r,t);for(const l in e)if(Dn(e[l])||Dn(r[l])){const i=pc.indexOf(l)!==-1?&quot;attr&quot;+l.charAt(0).toUpperCase()+l.substring(1):l;n[i]=e[l]}return n}class VI extends YN{constructor(){super(...arguments),this.type=&quot;svg&quot;,this.isSVGTag=!1,this.measureInstanceViewportBox=Zr}getBaseTargetFromProps(r,t){return r[t]}readValueFromInstance(r,t){if(gc.has(t)){const n=FN(t);return n&amp;&amp;n.default||0}return t=i8.has(t)?t:Vx(t),r.getAttribute(t)}scrapeMotionValuesFromProps(r,t,n){return a8(r,t,n)}build(r,t,n){n8(r,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(r,t,n,l){UI(r,t,n,l)}mount(r){this.isSVGTag=s8(r.tagName),super.mount(r)}}const qI=Xx.length;function o8(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent?o8(e.parent)||{}:{};return e.props.initial!==void 0&amp;&amp;(t.initial=e.props.initial),t}const r={};for(let t=0;t&lt;qI;t++){const n=Xx[t],l=e.props[n];(Pu(l)||l===!1)&amp;&amp;(r[n]=l)}return r}function l8(e,r){if(!Array.isArray(r))return!1;const t=r.length;if(t!==e.length)return!1;for(let n=0;n&lt;t;n++)if(r[n]!==e[n])return!1;return!0}const HI=[...Kx].reverse(),WI=Kx.length;function KI(e){return r=&gt;Promise.all(r.map(({animation:t,options:n})=&gt;rI(e,t,n)))}function XI(e){let r=KI(e),t=k3(),n=!0;const l=o=&gt;(s,c)=&gt;{const f=Zl(e,c,o===&quot;exit&quot;?e.presenceContext?.custom:void 0);if(f){const{transition:h,transitionEnd:m,...p}=f;s={...s,...p,...m}}return s};function i(o){r=o(e)}function a(o){const{props:s}=e,c=o8(e.parent)||{},f=[],h=new Set;let m={},p=1/0;for(let g=0;g&lt;WI;g++){const b=HI[g],x=t[b],_=s[b]!==void 0?s[b]:c[b],C=Pu(_),O=b===o?x.isActive:null;O===!1&amp;&amp;(p=g);let R=_===c[b]&amp;&amp;_!==s[b]&amp;&amp;C;if(R&amp;&amp;n&amp;&amp;e.manuallyAnimateOnMount&amp;&amp;(R=!1),x.protectedKeys={...m},!x.isActive&amp;&amp;O===null||!_&amp;&amp;!x.prevProp||Bm(_)||typeof _==&quot;boolean&quot;)continue;const H=GI(x.prevProp,_);let L=H||b===o&amp;&amp;x.isActive&amp;&amp;!R&amp;&amp;C||g&gt;p&amp;&amp;C,q=!1;const W=Array.isArray(_)?_:[_];let K=W.reduce(l(b),{});O===!1&amp;&amp;(K={});const{prevResolvedValues:U={}}=x,P={...U,...K},D=k=&gt;{L=!0,h.has(k)&amp;&amp;(q=!0,h.delete(k)),x.needsAnimating[k]=!0;const S=e.getValue(k);S&amp;&amp;(S.liveStyle=!1)};for(const k in P){const S=K[k],N=U[k];if(m.hasOwnProperty(k))continue;let M=!1;Ky(S)&amp;&amp;Ky(N)?M=!l8(S,N):M=S!==N,M?S!=null?D(k):h.add(k):S!==void 0&amp;&amp;h.has(k)?D(k):x.protectedKeys[k]=!0}x.prevProp=_,x.prevResolvedValues=K,x.isActive&amp;&amp;(m={...m,...K}),n&amp;&amp;e.blockInitialAnimation&amp;&amp;(L=!1);const E=R&amp;&amp;H;L&amp;&amp;(!E||q)&amp;&amp;f.push(...W.map(k=&gt;{const S={type:b};if(typeof k==&quot;string&quot;&amp;&amp;n&amp;&amp;!E&amp;&amp;e.manuallyAnimateOnMount&amp;&amp;e.parent){const{parent:N}=e,M=Zl(N,k);if(N.enteringChildren&amp;&amp;M){const{delayChildren:I}=M.transition||{};S.delay=MN(N.enteringChildren,e,I)}}return{animation:k,options:S}}))}if(h.size){const g={};if(typeof s.initial!=&quot;boolean&quot;){const b=Zl(e,Array.isArray(s.initial)?s.initial[0]:s.initial);b&amp;&amp;b.transition&amp;&amp;(g.transition=b.transition)}h.forEach(b=&gt;{const x=e.getBaseTarget(b),_=e.getValue(b);_&amp;&amp;(_.liveStyle=!0),g[b]=x??null}),f.push({animation:g})}let v=!!f.length;return n&amp;&amp;(s.initial===!1||s.initial===s.animate)&amp;&amp;!e.manuallyAnimateOnMount&amp;&amp;(v=!1),n=!1,v?r(f):Promise.resolve()}function u(o,s){if(t[o].isActive===s)return Promise.resolve();e.variantChildren?.forEach(f=&gt;f.animationState?.setActive(o,s)),t[o].isActive=s;const c=a(o);for(const f in t)t[f].protectedKeys={};return c}return{animateChanges:a,setActive:u,setAnimateFunction:i,getState:()=&gt;t,reset:()=&gt;{t=k3()}}}function GI(e,r){return typeof r==&quot;string&quot;?r!==e:Array.isArray(r)?!l8(r,e):!1}function Lo(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function k3(){return{animate:Lo(!0),whileInView:Lo(),whileHover:Lo(),whileTap:Lo(),whileDrag:Lo(),whileFocus:Lo(),exit:Lo()}}function N3(e,r){e.min=r.min,e.max=r.max}function ts(e,r){N3(e.x,r.x),N3(e.y,r.y)}function C3(e,r){e.translate=r.translate,e.scale=r.scale,e.originPoint=r.originPoint,e.origin=r.origin}const c8=1e-4,YI=1-c8,ZI=1+c8,u8=.01,QI=0-u8,JI=0+u8;function Hn(e){return e.max-e.min}function eR(e,r,t){return Math.abs(e-r)&lt;=t}function E3(e,r,t,n=.5){e.origin=n,e.originPoint=Mr(r.min,r.max,e.origin),e.scale=Hn(t)/Hn(r),e.translate=Mr(t.min,t.max,e.origin)-e.originPoint,(e.scale&gt;=YI&amp;&amp;e.scale&lt;=ZI||isNaN(e.scale))&amp;&amp;(e.scale=1),(e.translate&gt;=QI&amp;&amp;e.translate&lt;=JI||isNaN(e.translate))&amp;&amp;(e.translate=0)}function ju(e,r,t,n){E3(e.x,r.x,t.x,n?n.originX:void 0),E3(e.y,r.y,t.y,n?n.originY:void 0)}function A3(e,r,t){e.min=t.min+r.min,e.max=e.min+Hn(r)}function tR(e,r,t){A3(e.x,r.x,t.x),A3(e.y,r.y,t.y)}function M3(e,r,t){e.min=r.min-t.min,e.max=e.min+Hn(r)}function Ih(e,r,t){M3(e.x,r.x,t.x),M3(e.y,r.y,t.y)}function O3(e,r,t,n,l){return e-=r,e=Th(e,1/t,n),l!==void 0&amp;&amp;(e=Th(e,1/l,n)),e}function rR(e,r=0,t=1,n=.5,l,i=e,a=e){if(ks.test(r)&amp;&amp;(r=parseFloat(r),r=Mr(a.min,a.max,r/100)-a.min),typeof r!=&quot;number&quot;)return;let u=Mr(i.min,i.max,n);e===i&amp;&amp;(u-=r),e.min=O3(e.min,r,t,u,l),e.max=O3(e.max,r,t,u,l)}function P3(e,r,[t,n,l],i,a){rR(e,r[t],r[n],r[l],r.scale,i,a)}const nR=[&quot;x&quot;,&quot;scaleX&quot;,&quot;originX&quot;],iR=[&quot;y&quot;,&quot;scaleY&quot;,&quot;originY&quot;];function T3(e,r,t,n){P3(e.x,r,nR,t?t.x:void 0,n?n.x:void 0),P3(e.y,r,iR,t?t.y:void 0,n?n.y:void 0)}function I3(e){return e.translate===0&amp;&amp;e.scale===1}function d8(e){return I3(e.x)&amp;&amp;I3(e.y)}function R3(e,r){return e.min===r.min&amp;&amp;e.max===r.max}function sR(e,r){return R3(e.x,r.x)&amp;&amp;R3(e.y,r.y)}function D3(e,r){return Math.round(e.min)===Math.round(r.min)&amp;&amp;Math.round(e.max)===Math.round(r.max)}function f8(e,r){return D3(e.x,r.x)&amp;&amp;D3(e.y,r.y)}function L3(e){return Hn(e.x)/Hn(e.y)}function F3(e,r){return e.translate===r.translate&amp;&amp;e.scale===r.scale&amp;&amp;e.originPoint===r.originPoint}function Pi(e){return[e(&quot;x&quot;),e(&quot;y&quot;)]}function aR(e,r,t){let n=&quot;&quot;;const l=e.x.translate/r.x,i=e.y.translate/r.y,a=t?.z||0;if((l||i||a)&amp;&amp;(n=`translate3d(${l}px, ${i}px, ${a}px) `),(r.x!==1||r.y!==1)&amp;&amp;(n+=`scale(${1/r.x}, ${1/r.y}) `),t){const{transformPerspective:s,rotate:c,rotateX:f,rotateY:h,skewX:m,skewY:p}=t;s&amp;&amp;(n=`perspective(${s}px) ${n}`),c&amp;&amp;(n+=`rotate(${c}deg) `),f&amp;&amp;(n+=`rotateX(${f}deg) `),h&amp;&amp;(n+=`rotateY(${h}deg) `),m&amp;&amp;(n+=`skewX(${m}deg) `),p&amp;&amp;(n+=`skewY(${p}deg) `)}const u=e.x.scale*r.x,o=e.y.scale*r.y;return(u!==1||o!==1)&amp;&amp;(n+=`scale(${u}, ${o})`),n||&quot;none&quot;}const h8=[&quot;TopLeft&quot;,&quot;TopRight&quot;,&quot;BottomLeft&quot;,&quot;BottomRight&quot;],oR=h8.length,B3=e=&gt;typeof e==&quot;string&quot;?parseFloat(e):e,z3=e=&gt;typeof e==&quot;number&quot;||it.test(e);function lR(e,r,t,n,l,i){l?(e.opacity=Mr(0,t.opacity??1,cR(n)),e.opacityExit=Mr(r.opacity??1,0,uR(n))):i&amp;&amp;(e.opacity=Mr(r.opacity??1,t.opacity??1,n));for(let a=0;a&lt;oR;a++){const u=`border${h8[a]}Radius`;let o=$3(r,u),s=$3(t,u);if(o===void 0&amp;&amp;s===void 0)continue;o||(o=0),s||(s=0),o===0||s===0||z3(o)===z3(s)?(e[u]=Math.max(Mr(B3(o),B3(s),n),0),(ks.test(s)||ks.test(o))&amp;&amp;(e[u]+=&quot;%&quot;)):e[u]=s}(r.rotate||t.rotate)&amp;&amp;(e.rotate=Mr(r.rotate||0,t.rotate||0,n))}function $3(e,r){return e[r]!==void 0?e[r]:e.borderRadius}const cR=m8(0,.5,oN),uR=m8(.5,.95,Li);function m8(e,r,t){return n=&gt;n&lt;e?0:n&gt;r?1:t(Au(e,r,n))}function dR(e,r,t){const n=Dn(e)?e:ec(e);return n.start($x(&quot;&quot;,n,r,t)),n.animation}function Tu(e,r,t,n={passive:!0}){return e.addEventListener(r,t,n),()=&gt;e.removeEventListener(r,t)}const fR=(e,r)=&gt;e.depth-r.depth;class hR{constructor(){this.children=[],this.isDirty=!1}add(r){Sx(this.children,r),this.isDirty=!0}remove(r){kx(this.children,r),this.isDirty=!0}forEach(r){this.isDirty&amp;&amp;this.children.sort(fR),this.isDirty=!1,this.children.forEach(r)}}function mR(e,r){const t=qn.now(),n=({timestamp:l})=&gt;{const i=l-t;i&gt;=r&amp;&amp;(Qa(n),e(i-r))};return wr.setup(n,!0),()=&gt;Qa(n)}function gh(e){return Dn(e)?e.get():e}class pR{constructor(){this.members=[]}add(r){Sx(this.members,r),r.scheduleRender()}remove(r){if(kx(this.members,r),r===this.prevLead&amp;&amp;(this.prevLead=void 0),r===this.lead){const t=this.members[this.members.length-1];t&amp;&amp;this.promote(t)}}relegate(r){const t=this.members.findIndex(l=&gt;r===l);if(t===0)return!1;let n;for(let l=t;l&gt;=0;l--){const i=this.members[l];if(i.isPresent!==!1){n=i;break}}return n?(this.promote(n),!0):!1}promote(r,t){const n=this.lead;if(r!==n&amp;&amp;(this.prevLead=n,this.lead=r,r.show(),n)){n.instance&amp;&amp;n.scheduleRender(),r.scheduleRender(),r.resumeFrom=n,t&amp;&amp;(r.resumeFrom.preserveOpacity=!0),n.snapshot&amp;&amp;(r.snapshot=n.snapshot,r.snapshot.latestValues=n.animationValues||n.latestValues),r.root&amp;&amp;r.root.isUpdating&amp;&amp;(r.isLayoutDirty=!0);const{crossfade:l}=r.options;l===!1&amp;&amp;n.hide()}}exitAnimationComplete(){this.members.forEach(r=&gt;{const{options:t,resumingFrom:n}=r;t.onExitComplete&amp;&amp;t.onExitComplete(),n&amp;&amp;n.options.onExitComplete&amp;&amp;n.options.onExitComplete()})}scheduleRender(){this.members.forEach(r=&gt;{r.instance&amp;&amp;r.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&amp;&amp;this.lead.snapshot&amp;&amp;(this.lead.snapshot=void 0)}}const vh={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Pg=[&quot;&quot;,&quot;X&quot;,&quot;Y&quot;,&quot;Z&quot;],gR=1e3;let vR=0;function Tg(e,r,t,n){const{latestValues:l}=r;l[e]&amp;&amp;(t[e]=l[e],r.setStaticValue(e,0),n&amp;&amp;(n[e]=0))}function p8(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:r}=e.options;if(!r)return;const t=IN(r);if(window.MotionHasOptimisedAnimation(t,&quot;transform&quot;)){const{layout:l,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(t,&quot;transform&quot;,wr,!(l||i))}const{parent:n}=e;n&amp;&amp;!n.hasCheckedOptimisedAppear&amp;&amp;p8(n)}function g8({attachResizeListener:e,defaultParent:r,measureScroll:t,checkIsScrollRoot:n,resetTransform:l}){return class{constructor(a={},u=r?.()){this.id=vR++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=&gt;this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=&gt;{this.isUpdating&amp;&amp;(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=&gt;{this.projectionUpdateScheduled=!1,this.nodes.forEach(xR),this.nodes.forEach(SR),this.nodes.forEach(kR),this.nodes.forEach(wR)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=u?u.root||u:this,this.path=u?[...u.path,u]:[],this.parent=u,this.depth=u?u.depth+1:0;for(let o=0;o&lt;this.path.length;o++)this.path[o].shouldResetTransform=!0;this.root===this&amp;&amp;(this.nodes=new hR)}addEventListener(a,u){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new Ex),this.eventHandlers.get(a).add(u)}notifyListeners(a,...u){const o=this.eventHandlers.get(a);o&amp;&amp;o.notify(...u)}hasListeners(a){return this.eventHandlers.has(a)}mount(a){if(this.instance)return;this.isSVG=WN(a)&amp;&amp;!bI(a),this.instance=a;const{layoutId:u,layout:o,visualElement:s}=this.options;if(s&amp;&amp;!s.current&amp;&amp;s.mount(a),this.root.nodes.add(this),this.parent&amp;&amp;this.parent.children.add(this),this.root.hasTreeAnimated&amp;&amp;(o||u)&amp;&amp;(this.isLayoutDirty=!0),e){let c,f=0;const h=()=&gt;this.root.updateBlockedByResize=!1;wr.read(()=&gt;{f=window.innerWidth}),e(a,()=&gt;{const m=window.innerWidth;m!==f&amp;&amp;(f=m,this.root.updateBlockedByResize=!0,c&amp;&amp;c(),c=mR(h,250),vh.hasAnimatedSinceResize&amp;&amp;(vh.hasAnimatedSinceResize=!1,this.nodes.forEach(q3)))})}u&amp;&amp;this.root.registerSharedNode(u,this),this.options.animate!==!1&amp;&amp;s&amp;&amp;(u||o)&amp;&amp;this.addEventListener(&quot;didUpdate&quot;,({delta:c,hasLayoutChanged:f,hasRelativeLayoutChanged:h,layout:m})=&gt;{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const p=this.options.transition||s.getDefaultTransition()||MR,{onLayoutAnimationStart:v,onLayoutAnimationComplete:g}=s.getProps(),b=!this.targetLayout||!f8(this.targetLayout,m),x=!f&amp;&amp;h;if(this.options.layoutRoot||this.resumeFrom||x||f&amp;&amp;(b||!this.currentAnimation)){this.resumeFrom&amp;&amp;(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const _={...zx(p,&quot;layout&quot;),onPlay:v,onComplete:g};(s.shouldReduceMotion||this.options.layoutRoot)&amp;&amp;(_.delay=0,_.type=!1),this.startAnimation(_),this.setAnimationOrigin(c,x)}else f||q3(this),this.isLead()&amp;&amp;this.options.onExitComplete&amp;&amp;this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&amp;&amp;this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&amp;&amp;a.remove(this),this.parent&amp;&amp;this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Qa(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&amp;&amp;this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&amp;&amp;this.nodes.forEach(NR),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&amp;&amp;a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&amp;&amp;this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&amp;&amp;!this.hasCheckedOptimisedAppear&amp;&amp;p8(this),!this.root.isUpdating&amp;&amp;this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c&lt;this.path.length;c++){const f=this.path[c];f.shouldResetTransform=!0,f.updateScroll(&quot;snapshot&quot;),f.options.layoutRoot&amp;&amp;f.willUpdate(!1)}const{layoutId:u,layout:o}=this.options;if(u===void 0&amp;&amp;!o)return;const s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,&quot;&quot;):void 0,this.updateSnapshot(),a&amp;&amp;this.notifyListeners(&quot;willUpdate&quot;)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(U3);return}if(this.animationId&lt;=this.animationCommitId){this.nodes.forEach(V3);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(jR),this.nodes.forEach(yR),this.nodes.forEach(bR)):this.nodes.forEach(V3),this.clearAllSnapshots();const u=qn.now();_n.delta=Cs(0,1e3/60,u-_n.timestamp),_n.timestamp=u,_n.isProcessing=!0,Sg.update.process(_n),Sg.preRender.process(_n),Sg.render.process(_n),_n.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Hx.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(_R),this.sharedNodes.forEach(CR)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,wr.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){wr.postRender(()=&gt;{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&amp;&amp;!Hn(this.snapshot.measuredBox.x)&amp;&amp;!Hn(this.snapshot.measuredBox.y)&amp;&amp;(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&amp;&amp;this.isLead())&amp;&amp;!this.isLayoutDirty))return;if(this.resumeFrom&amp;&amp;!this.resumeFrom.instance)for(let o=0;o&lt;this.path.length;o++)this.path[o].updateScroll();const a=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Zr(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(&quot;measure&quot;,this.layout.layoutBox);const{visualElement:u}=this.options;u&amp;&amp;u.notify(&quot;LayoutMeasure&quot;,this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a=&quot;measure&quot;){let u=!!(this.options.layoutScroll&amp;&amp;this.instance);if(this.scroll&amp;&amp;this.scroll.animationId===this.root.animationId&amp;&amp;this.scroll.phase===a&amp;&amp;(u=!1),u&amp;&amp;this.instance){const o=n(this.instance);this.scroll={animationId:this.root.animationId,phase:a,isRoot:o,offset:t(this.instance),wasRoot:this.scroll?this.scroll.isRoot:o}}}resetTransform(){if(!l)return;const a=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,u=this.projectionDelta&amp;&amp;!d8(this.projectionDelta),o=this.getTransformTemplate(),s=o?o(this.latestValues,&quot;&quot;):void 0,c=s!==this.prevTransformTemplateValue;a&amp;&amp;this.instance&amp;&amp;(u||Bo(this.latestValues)||c)&amp;&amp;(l(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const u=this.measurePageBox();let o=this.removeElementScroll(u);return a&amp;&amp;(o=this.removeTransform(o)),OR(o),{animationId:this.root.animationId,measuredBox:u,layoutBox:o,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:a}=this.options;if(!a)return Zr();const u=a.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(PR))){const{scroll:s}=this.root;s&amp;&amp;(Kl(u.x,s.offset.x),Kl(u.y,s.offset.y))}return u}removeElementScroll(a){const u=Zr();if(ts(u,a),this.scroll?.wasRoot)return u;for(let o=0;o&lt;this.path.length;o++){const s=this.path[o],{scroll:c,options:f}=s;s!==this.root&amp;&amp;c&amp;&amp;f.layoutScroll&amp;&amp;(c.wasRoot&amp;&amp;ts(u,a),Kl(u.x,c.offset.x),Kl(u.y,c.offset.y))}return u}applyTransform(a,u=!1){const o=Zr();ts(o,a);for(let s=0;s&lt;this.path.length;s++){const c=this.path[s];!u&amp;&amp;c.options.layoutScroll&amp;&amp;c.scroll&amp;&amp;c!==c.root&amp;&amp;Xl(o,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Bo(c.latestValues)&amp;&amp;Xl(o,c.latestValues)}return Bo(this.latestValues)&amp;&amp;Xl(o,this.latestValues),o}removeTransform(a){const u=Zr();ts(u,a);for(let o=0;o&lt;this.path.length;o++){const s=this.path[o];if(!s.instance||!Bo(s.latestValues))continue;Qy(s.latestValues)&amp;&amp;s.updateSnapshot();const c=Zr(),f=s.measurePageBox();ts(c,f),T3(u,s.latestValues,s.snapshot?s.snapshot.layoutBox:void 0,c)}return Bo(this.latestValues)&amp;&amp;T3(u,this.latestValues),u}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:a.crossfade!==void 0?a.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&amp;&amp;this.relativeParent.resolvedRelativeTargetAt!==_n.timestamp&amp;&amp;this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){const u=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=u.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=u.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=u.isSharedProjectionDirty);const o=!!this.resumingFrom||this!==u;if(!(a||o&amp;&amp;this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:c,layoutId:f}=this.options;if(!this.layout||!(c||f))return;this.resolvedRelativeTargetAt=_n.timestamp;const h=this.getClosestProjectingParent();h&amp;&amp;this.linkedParentVersion!==h.layoutVersion&amp;&amp;!h.options.layoutRoot&amp;&amp;this.removeRelativeTarget(),!this.targetDelta&amp;&amp;!this.relativeTarget&amp;&amp;(h&amp;&amp;h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&amp;&amp;!this.targetDelta)&amp;&amp;(this.target||(this.target=Zr(),this.targetWithTransforms=Zr()),this.relativeTarget&amp;&amp;this.relativeTargetOrigin&amp;&amp;this.relativeParent&amp;&amp;this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),tR(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ts(this.target,this.layout.layoutBox),JN(this.target,this.targetDelta)):ts(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&amp;&amp;(this.attemptToResolveRelativeTarget=!1,h&amp;&amp;!!h.resumingFrom==!!this.resumingFrom&amp;&amp;!h.options.layoutScroll&amp;&amp;h.target&amp;&amp;this.animationProgress!==1?this.createRelativeTarget(h,this.target,h.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Qy(this.parent.latestValues)||QN(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&amp;&amp;this.layout)}createRelativeTarget(a,u,o){this.relativeParent=a,this.linkedParentVersion=a.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Zr(),this.relativeTargetOrigin=Zr(),Ih(this.relativeTargetOrigin,u,o),ts(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const a=this.getLead(),u=!!this.resumingFrom||this!==a;let o=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&amp;&amp;(o=!1),u&amp;&amp;(this.isSharedProjectionDirty||this.isTransformDirty)&amp;&amp;(o=!1),this.resolvedRelativeTargetAt===_n.timestamp&amp;&amp;(o=!1),o)return;const{layout:s,layoutId:c}=this.options;if(this.isTreeAnimating=!!(this.parent&amp;&amp;this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||c))return;ts(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;MI(this.layoutCorrected,this.treeScale,this.path,u),a.layout&amp;&amp;!a.target&amp;&amp;(this.treeScale.x!==1||this.treeScale.y!==1)&amp;&amp;(a.target=a.layout.layoutBox,a.targetWithTransforms=Zr());const{target:m}=a;if(!m){this.prevProjectionDelta&amp;&amp;(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(C3(this.prevProjectionDelta.x,this.projectionDelta.x),C3(this.prevProjectionDelta.y,this.projectionDelta.y)),ju(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!F3(this.projectionDelta.x,this.prevProjectionDelta.x)||!F3(this.projectionDelta.y,this.prevProjectionDelta.y))&amp;&amp;(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(&quot;projectionUpdate&quot;,m))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){if(this.options.visualElement?.scheduleRender(),a){const u=this.getStack();u&amp;&amp;u.scheduleRender()}this.resumingFrom&amp;&amp;!this.resumingFrom.instance&amp;&amp;(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Wl(),this.projectionDelta=Wl(),this.projectionDeltaWithTransform=Wl()}setAnimationOrigin(a,u=!1){const o=this.snapshot,s=o?o.latestValues:{},c={...this.latestValues},f=Wl();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&amp;&amp;(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const h=Zr(),m=o?o.source:void 0,p=this.layout?this.layout.source:void 0,v=m!==p,g=this.getStack(),b=!g||g.members.length&lt;=1,x=!!(v&amp;&amp;!b&amp;&amp;this.options.crossfade===!0&amp;&amp;!this.path.some(AR));this.animationProgress=0;let _;this.mixTargetDelta=C=&gt;{const O=C/1e3;H3(f.x,a.x,O),H3(f.y,a.y,O),this.setTargetDelta(f),this.relativeTarget&amp;&amp;this.relativeTargetOrigin&amp;&amp;this.layout&amp;&amp;this.relativeParent&amp;&amp;this.relativeParent.layout&amp;&amp;(Ih(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),ER(this.relativeTarget,this.relativeTargetOrigin,h,O),_&amp;&amp;sR(this.relativeTarget,_)&amp;&amp;(this.isProjectionDirty=!1),_||(_=Zr()),ts(_,this.relativeTarget)),v&amp;&amp;(this.animationValues=c,lR(c,s,this.latestValues,O,x,b)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=O},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){this.notifyListeners(&quot;animationStart&quot;),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&amp;&amp;(Qa(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=wr.update(()=&gt;{vh.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ec(0)),this.currentAnimation=dR(this.motionValue,[0,1e3],{...a,velocity:0,isSync:!0,onUpdate:u=&gt;{this.mixTargetDelta(u),a.onUpdate&amp;&amp;a.onUpdate(u)},onStop:()=&gt;{},onComplete:()=&gt;{a.onComplete&amp;&amp;a.onComplete(),this.completeAnimation()}}),this.resumingFrom&amp;&amp;(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&amp;&amp;(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&amp;&amp;a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(&quot;animationComplete&quot;)}finishAnimation(){this.currentAnimation&amp;&amp;(this.mixTargetDelta&amp;&amp;this.mixTargetDelta(gR),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:u,target:o,layout:s,latestValues:c}=a;if(!(!u||!o||!s)){if(this!==a&amp;&amp;this.layout&amp;&amp;s&amp;&amp;v8(this.options.animationType,this.layout.layoutBox,s.layoutBox)){o=this.target||Zr();const f=Hn(this.layout.layoutBox.x);o.x.min=a.target.x.min,o.x.max=o.x.min+f;const h=Hn(this.layout.layoutBox.y);o.y.min=a.target.y.min,o.y.max=o.y.min+h}ts(u,o),Xl(u,c),ju(this.projectionDeltaWithTransform,this.layoutCorrected,u,c)}}registerSharedNode(a,u){this.sharedNodes.has(a)||this.sharedNodes.set(a,new pR),this.sharedNodes.get(a).add(u);const s=u.options.initialPromotionConfig;u.promote({transition:s?s.transition:void 0,preserveFollowOpacity:s&amp;&amp;s.shouldPreserveFollowOpacity?s.shouldPreserveFollowOpacity(u):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){const{layoutId:a}=this.options;return a?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:a}=this.options;return a?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:u,preserveFollowOpacity:o}={}){const s=this.getStack();s&amp;&amp;s.promote(this,o),a&amp;&amp;(this.projectionDelta=void 0,this.needsReset=!0),u&amp;&amp;this.setOptions({transition:u})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetSkewAndRotation(){const{visualElement:a}=this.options;if(!a)return;let u=!1;const{latestValues:o}=a;if((o.z||o.rotate||o.rotateX||o.rotateY||o.rotateZ||o.skewX||o.skewY)&amp;&amp;(u=!0),!u)return;const s={};o.z&amp;&amp;Tg(&quot;z&quot;,a,s,this.animationValues);for(let c=0;c&lt;Pg.length;c++)Tg(`rotate${Pg[c]}`,a,s,this.animationValues),Tg(`skew${Pg[c]}`,a,s,this.animationValues);a.render();for(const c in s)a.setStaticValue(c,s[c]),this.animationValues&amp;&amp;(this.animationValues[c]=s[c]);a.scheduleRender()}applyProjectionStyles(a,u){if(!this.instance||this.isSVG)return;if(!this.isVisible){a.visibility=&quot;hidden&quot;;return}const o=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,a.visibility=&quot;&quot;,a.opacity=&quot;&quot;,a.pointerEvents=gh(u?.pointerEvents)||&quot;&quot;,a.transform=o?o(this.latestValues,&quot;&quot;):&quot;none&quot;;return}const s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){this.options.layoutId&amp;&amp;(a.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,a.pointerEvents=gh(u?.pointerEvents)||&quot;&quot;),this.hasProjected&amp;&amp;!Bo(this.latestValues)&amp;&amp;(a.transform=o?o({},&quot;&quot;):&quot;none&quot;,this.hasProjected=!1);return}a.visibility=&quot;&quot;;const c=s.animationValues||s.latestValues;this.applyTransformsToTarget();let f=aR(this.projectionDeltaWithTransform,this.treeScale,c);o&amp;&amp;(f=o(c,f)),a.transform=f;const{x:h,y:m}=this.projectionDelta;a.transformOrigin=`${h.origin*100}% ${m.origin*100}% 0`,s.animationValues?a.opacity=s===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:a.opacity=s===this?c.opacity!==void 0?c.opacity:&quot;&quot;:c.opacityExit!==void 0?c.opacityExit:0;for(const p in eb){if(c[p]===void 0)continue;const{correct:v,applyTo:g,isCSSVariable:b}=eb[p],x=f===&quot;none&quot;?c[p]:v(c[p],s);if(g){const _=g.length;for(let C=0;C&lt;_;C++)a[g[C]]=x}else b?this.options.visualElement.renderState.vars[p]=x:a[p]=x}this.options.layoutId&amp;&amp;(a.pointerEvents=s===this?gh(u?.pointerEvents)||&quot;&quot;:&quot;none&quot;)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=&gt;a.currentAnimation?.stop()),this.root.nodes.forEach(U3),this.root.sharedNodes.clear()}}}function yR(e){e.updateLayout()}function bR(e){const r=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&amp;&amp;e.layout&amp;&amp;r&amp;&amp;e.hasListeners(&quot;didUpdate&quot;)){const{layoutBox:t,measuredBox:n}=e.layout,{animationType:l}=e.options,i=r.source!==e.layout.source;l===&quot;size&quot;?Pi(c=&gt;{const f=i?r.measuredBox[c]:r.layoutBox[c],h=Hn(f);f.min=t[c].min,f.max=f.min+h}):v8(l,r.layoutBox,t)&amp;&amp;Pi(c=&gt;{const f=i?r.measuredBox[c]:r.layoutBox[c],h=Hn(t[c]);f.max=f.min+h,e.relativeTarget&amp;&amp;!e.currentAnimation&amp;&amp;(e.isProjectionDirty=!0,e.relativeTarget[c].max=e.relativeTarget[c].min+h)});const a=Wl();ju(a,t,r.layoutBox);const u=Wl();i?ju(u,e.applyTransform(n,!0),r.measuredBox):ju(u,t,r.layoutBox);const o=!d8(a);let s=!1;if(!e.resumeFrom){const c=e.getClosestProjectingParent();if(c&amp;&amp;!c.resumeFrom){const{snapshot:f,layout:h}=c;if(f&amp;&amp;h){const m=Zr();Ih(m,r.layoutBox,f.layoutBox);const p=Zr();Ih(p,t,h.layoutBox),f8(m,p)||(s=!0),c.options.layoutRoot&amp;&amp;(e.relativeTarget=p,e.relativeTargetOrigin=m,e.relativeParent=c)}}}e.notifyListeners(&quot;didUpdate&quot;,{layout:t,snapshot:r,delta:u,layoutDelta:a,hasLayoutChanged:o,hasRelativeLayoutChanged:s})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&amp;&amp;t()}e.options.transition=void 0}function xR(e){e.parent&amp;&amp;(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function wR(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function _R(e){e.clearSnapshot()}function U3(e){e.clearMeasurements()}function V3(e){e.isLayoutDirty=!1}function jR(e){const{visualElement:r}=e.options;r&amp;&amp;r.getProps().onBeforeLayoutMeasure&amp;&amp;r.notify(&quot;BeforeLayoutMeasure&quot;),e.resetTransform()}function q3(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function SR(e){e.resolveTargetDelta()}function kR(e){e.calcProjection()}function NR(e){e.resetSkewAndRotation()}function CR(e){e.removeLeadSnapshot()}function H3(e,r,t){e.translate=Mr(r.translate,0,t),e.scale=Mr(r.scale,1,t),e.origin=r.origin,e.originPoint=r.originPoint}function W3(e,r,t,n){e.min=Mr(r.min,t.min,n),e.max=Mr(r.max,t.max,n)}function ER(e,r,t,n){W3(e.x,r.x,t.x,n),W3(e.y,r.y,t.y,n)}function AR(e){return e.animationValues&amp;&amp;e.animationValues.opacityExit!==void 0}const MR={duration:.45,ease:[.4,0,.1,1]},K3=e=&gt;typeof navigator&lt;&quot;u&quot;&amp;&amp;navigator.userAgent&amp;&amp;navigator.userAgent.toLowerCase().includes(e),X3=K3(&quot;applewebkit/&quot;)&amp;&amp;!K3(&quot;chrome/&quot;)?Math.round:Li;function G3(e){e.min=X3(e.min),e.max=X3(e.max)}function OR(e){G3(e.x),G3(e.y)}function v8(e,r,t){return e===&quot;position&quot;||e===&quot;preserve-aspect&quot;&amp;&amp;!eR(L3(r),L3(t),.2)}function PR(e){return e!==e.root&amp;&amp;e.scroll?.wasRoot}const TR=g8({attachResizeListener:(e,r)=&gt;Tu(e,&quot;resize&quot;,r),measureScroll:()=&gt;({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=&gt;!0}),Ig={current:void 0},y8=g8({measureScroll:e=&gt;({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=&gt;{if(!Ig.current){const e=new TR({});e.mount(window),e.setOptions({layoutScroll:!0}),Ig.current=e}return Ig.current},resetTransform:(e,r)=&gt;{e.style.transform=r!==void 0?r:&quot;none&quot;},checkIsScrollRoot:e=&gt;window.getComputedStyle(e).position===&quot;fixed&quot;}),Zx=F.createContext({transformPagePoint:e=&gt;e,isStatic:!1,reducedMotion:&quot;never&quot;});function Y3(e,r){if(typeof e==&quot;function&quot;)return e(r);e!=null&amp;&amp;(e.current=r)}function IR(...e){return r=&gt;{let t=!1;const n=e.map(l=&gt;{const i=Y3(l,r);return!t&amp;&amp;typeof i==&quot;function&quot;&amp;&amp;(t=!0),i});if(t)return()=&gt;{for(let l=0;l&lt;n.length;l++){const i=n[l];typeof i==&quot;function&quot;?i():Y3(e[l],null)}}}}function RR(...e){return F.useCallback(IR(...e),e)}class DR extends F.Component{getSnapshotBeforeUpdate(r){const t=this.props.childRef.current;if(t&amp;&amp;r.isPresent&amp;&amp;!this.props.isPresent){const n=t.offsetParent,l=$N(n)&amp;&amp;n.offsetWidth||0,i=this.props.sizeRef.current;i.height=t.offsetHeight||0,i.width=t.offsetWidth||0,i.top=t.offsetTop,i.left=t.offsetLeft,i.right=l-i.width-i.left}return null}componentDidUpdate(){}render(){return this.props.children}}function LR({children:e,isPresent:r,anchorX:t,root:n}){const l=F.useId(),i=F.useRef(null),a=F.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:u}=F.useContext(Zx),o=e.props?.ref??e?.ref,s=RR(i,o);return F.useInsertionEffect(()=&gt;{const{width:c,height:f,top:h,left:m,right:p}=a.current;if(r||!i.current||!c||!f)return;const v=t===&quot;left&quot;?`left: ${m}`:`right: ${p}`;i.current.dataset.motionPopId=l;const g=document.createElement(&quot;style&quot;);u&amp;&amp;(g.nonce=u);const b=n??document.head;return b.appendChild(g),g.sheet&amp;&amp;g.sheet.insertRule(`
          [data-motion-pop-id=&quot;${l}&quot;] {
            position: absolute !important;
            width: ${c}px !important;
            height: ${f}px !important;
            ${v}px !important;
            top: ${h}px !important;
          }
        `),()=&gt;{b.contains(g)&amp;&amp;b.removeChild(g)}},[r]),d.jsx(DR,{isPresent:r,childRef:i,sizeRef:a,children:F.cloneElement(e,{ref:s})})}const FR=({children:e,initial:r,isPresent:t,onExitComplete:n,custom:l,presenceAffectsLayout:i,mode:a,anchorX:u,root:o})=&gt;{const s=jx(BR),c=F.useId();let f=!0,h=F.useMemo(()=&gt;(f=!1,{id:c,initial:r,isPresent:t,custom:l,onExitComplete:m=&gt;{s.set(m,!0);for(const p of s.values())if(!p)return;n&amp;&amp;n()},register:m=&gt;(s.set(m,!1),()=&gt;s.delete(m))}),[t,s,n]);return i&amp;&amp;f&amp;&amp;(h={...h}),F.useMemo(()=&gt;{s.forEach((m,p)=&gt;s.set(p,!1))},[t]),F.useEffect(()=&gt;{!t&amp;&amp;!s.size&amp;&amp;n&amp;&amp;n()},[t]),a===&quot;popLayout&quot;&amp;&amp;(e=d.jsx(LR,{isPresent:t,anchorX:u,root:o,children:e})),d.jsx(Fm.Provider,{value:h,children:e})};function BR(){return new Map}function b8(e=!0){const r=F.useContext(Fm);if(r===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:l}=r,i=F.useId();F.useEffect(()=&gt;{if(e)return l(i)},[e]);const a=F.useCallback(()=&gt;e&amp;&amp;n&amp;&amp;n(i),[i,n,e]);return!t&amp;&amp;n?[!1,a]:[!0]}const Uf=e=&gt;e.key||&quot;&quot;;function Z3(e){const r=[];return F.Children.forEach(e,t=&gt;{F.isValidElement(t)&amp;&amp;r.push(t)}),r}const zR=({children:e,custom:r,initial:t=!0,onExitComplete:n,presenceAffectsLayout:l=!0,mode:i=&quot;sync&quot;,propagate:a=!1,anchorX:u=&quot;left&quot;,root:o})=&gt;{const[s,c]=b8(a),f=F.useMemo(()=&gt;Z3(e),[e]),h=a&amp;&amp;!s?[]:f.map(Uf),m=F.useRef(!0),p=F.useRef(f),v=jx(()=&gt;new Map),g=F.useRef(new Set),[b,x]=F.useState(f),[_,C]=F.useState(f);Yk(()=&gt;{m.current=!1,p.current=f;for(let H=0;H&lt;_.length;H++){const L=Uf(_[H]);h.includes(L)?(v.delete(L),g.current.delete(L)):v.get(L)!==!0&amp;&amp;v.set(L,!1)}},[_,h.length,h.join(&quot;-&quot;)]);const O=[];if(f!==b){let H=[...f];for(let L=0;L&lt;_.length;L++){const q=_[L],W=Uf(q);h.includes(W)||(H.splice(L,0,q),O.push(q))}return i===&quot;wait&quot;&amp;&amp;O.length&amp;&amp;(H=O),C(Z3(H)),x(f),null}const{forceRender:R}=F.useContext(_x);return d.jsx(d.Fragment,{children:_.map(H=&gt;{const L=Uf(H),q=a&amp;&amp;!s?!1:f===_||h.includes(L),W=()=&gt;{if(g.current.has(L))return;if(g.current.add(L),v.has(L))v.set(L,!0);else return;let K=!0;v.forEach(U=&gt;{U||(K=!1)}),K&amp;&amp;(R?.(),C(p.current),a&amp;&amp;c?.(),n&amp;&amp;n())};return d.jsx(FR,{isPresent:q,initial:!m.current||t?void 0:!1,custom:r,presenceAffectsLayout:l,mode:i,root:o,onExitComplete:q?void 0:W,anchorX:u,children:H},L)})})},x8=F.createContext({strict:!1}),Q3={animation:[&quot;animate&quot;,&quot;variants&quot;,&quot;whileHover&quot;,&quot;whileTap&quot;,&quot;exit&quot;,&quot;whileInView&quot;,&quot;whileFocus&quot;,&quot;whileDrag&quot;],exit:[&quot;exit&quot;],drag:[&quot;drag&quot;,&quot;dragControls&quot;],focus:[&quot;whileFocus&quot;],hover:[&quot;whileHover&quot;,&quot;onHoverStart&quot;,&quot;onHoverEnd&quot;],tap:[&quot;whileTap&quot;,&quot;onTap&quot;,&quot;onTapStart&quot;,&quot;onTapCancel&quot;],pan:[&quot;onPan&quot;,&quot;onPanStart&quot;,&quot;onPanSessionStart&quot;,&quot;onPanEnd&quot;],inView:[&quot;whileInView&quot;,&quot;onViewportEnter&quot;,&quot;onViewportLeave&quot;],layout:[&quot;layout&quot;,&quot;layoutId&quot;]};let J3=!1;function $R(){if(J3)return;const e={};for(const r in Q3)e[r]={isEnabled:t=&gt;Q3[r].some(n=&gt;!!t[n])};GN(e),J3=!0}function w8(){return $R(),NI()}function UR(e){const r=w8();for(const t in e)r[t]={...r[t],...e[t]};GN(r)}const VR=new Set([&quot;animate&quot;,&quot;exit&quot;,&quot;variants&quot;,&quot;initial&quot;,&quot;style&quot;,&quot;values&quot;,&quot;variants&quot;,&quot;transition&quot;,&quot;transformTemplate&quot;,&quot;custom&quot;,&quot;inherit&quot;,&quot;onBeforeLayoutMeasure&quot;,&quot;onAnimationStart&quot;,&quot;onAnimationComplete&quot;,&quot;onUpdate&quot;,&quot;onDragStart&quot;,&quot;onDrag&quot;,&quot;onDragEnd&quot;,&quot;onMeasureDragConstraints&quot;,&quot;onDirectionLock&quot;,&quot;onDragTransitionEnd&quot;,&quot;_dragX&quot;,&quot;_dragY&quot;,&quot;onHoverStart&quot;,&quot;onHoverEnd&quot;,&quot;onViewportEnter&quot;,&quot;onViewportLeave&quot;,&quot;globalTapTarget&quot;,&quot;ignoreStrict&quot;,&quot;viewport&quot;]);function Rh(e){return e.startsWith(&quot;while&quot;)||e.startsWith(&quot;drag&quot;)&amp;&amp;e!==&quot;draggable&quot;||e.startsWith(&quot;layout&quot;)||e.startsWith(&quot;onTap&quot;)||e.startsWith(&quot;onPan&quot;)||e.startsWith(&quot;onLayout&quot;)||VR.has(e)}let _8=e=&gt;!Rh(e);function qR(e){typeof e==&quot;function&quot;&amp;&amp;(_8=r=&gt;r.startsWith(&quot;on&quot;)?!Rh(r):e(r))}try{qR(require(&quot;@emotion/is-prop-valid&quot;).default)}catch{}function HR(e,r,t){const n={};for(const l in e)l===&quot;values&quot;&amp;&amp;typeof e.values==&quot;object&quot;||(_8(l)||t===!0&amp;&amp;Rh(l)||!r&amp;&amp;!Rh(l)||e.draggable&amp;&amp;l.startsWith(&quot;onDrag&quot;))&amp;&amp;(n[l]=e[l]);return n}const $m=F.createContext({});function WR(e,r){if(zm(e)){const{initial:t,animate:n}=e;return{initial:t===!1||Pu(t)?t:void 0,animate:Pu(n)?n:void 0}}return e.inherit!==!1?r:{}}function KR(e){const{initial:r,animate:t}=WR(e,F.useContext($m));return F.useMemo(()=&gt;({initial:r,animate:t}),[e4(r),e4(t)])}function e4(e){return Array.isArray(e)?e.join(&quot; &quot;):e}const Qx=()=&gt;({style:{},transform:{},transformOrigin:{},vars:{}});function j8(e,r,t){for(const n in r)!Dn(r[n])&amp;&amp;!r8(n,t)&amp;&amp;(e[n]=r[n])}function XR({transformTemplate:e},r){return F.useMemo(()=&gt;{const t=Qx();return Gx(t,r,e),Object.assign({},t.vars,t.style)},[r])}function GR(e,r){const t=e.style||{},n={};return j8(n,t,e),Object.assign(n,XR(e,r)),n}function YR(e,r){const t={},n=GR(e,r);return e.drag&amp;&amp;e.dragListener!==!1&amp;&amp;(t.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout=&quot;none&quot;,n.touchAction=e.drag===!0?&quot;none&quot;:`pan-${e.drag===&quot;x&quot;?&quot;y&quot;:&quot;x&quot;}`),e.tabIndex===void 0&amp;&amp;(e.onTap||e.onTapStart||e.whileTap)&amp;&amp;(t.tabIndex=0),t.style=n,t}const S8=()=&gt;({...Qx(),attrs:{}});function ZR(e,r,t,n){const l=F.useMemo(()=&gt;{const i=S8();return n8(i,r,s8(n),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[r]);if(e.style){const i={};j8(i,e.style,e),l.style={...i,...l.style}}return l}const QR=[&quot;animate&quot;,&quot;circle&quot;,&quot;defs&quot;,&quot;desc&quot;,&quot;ellipse&quot;,&quot;g&quot;,&quot;image&quot;,&quot;line&quot;,&quot;filter&quot;,&quot;marker&quot;,&quot;mask&quot;,&quot;metadata&quot;,&quot;path&quot;,&quot;pattern&quot;,&quot;polygon&quot;,&quot;polyline&quot;,&quot;rect&quot;,&quot;stop&quot;,&quot;switch&quot;,&quot;symbol&quot;,&quot;svg&quot;,&quot;text&quot;,&quot;tspan&quot;,&quot;use&quot;,&quot;view&quot;];function Jx(e){return typeof e!=&quot;string&quot;||e.includes(&quot;-&quot;)?!1:!!(QR.indexOf(e)&gt;-1||/[A-Z]/u.test(e))}function JR(e,r,t,{latestValues:n},l,i=!1,a){const o=(a??Jx(e)?ZR:YR)(r,n,l,e),s=HR(r,typeof e==&quot;string&quot;,i),c=e!==F.Fragment?{...s,...o,ref:t}:{},{children:f}=r,h=F.useMemo(()=&gt;Dn(f)?f.get():f,[f]);return F.createElement(e,{...c,children:h})}function eD({scrapeMotionValuesFromProps:e,createRenderState:r},t,n,l){return{latestValues:tD(t,n,l,e),renderState:r()}}function tD(e,r,t,n){const l={},i=n(e,{});for(const h in i)l[h]=gh(i[h]);let{initial:a,animate:u}=e;const o=zm(e),s=XN(e);r&amp;&amp;s&amp;&amp;!o&amp;&amp;e.inherit!==!1&amp;&amp;(a===void 0&amp;&amp;(a=r.initial),u===void 0&amp;&amp;(u=r.animate));let c=t?t.initial===!1:!1;c=c||a===!1;const f=c?u:a;if(f&amp;&amp;typeof f!=&quot;boolean&quot;&amp;&amp;!Bm(f)){const h=Array.isArray(f)?f:[f];for(let m=0;m&lt;h.length;m++){const p=Ux(e,h[m]);if(p){const{transitionEnd:v,transition:g,...b}=p;for(const x in b){let _=b[x];if(Array.isArray(_)){const C=c?_.length-1:0;_=_[C]}_!==null&amp;&amp;(l[x]=_)}for(const x in v)l[x]=v[x]}}}return l}const k8=e=&gt;(r,t)=&gt;{const n=F.useContext($m),l=F.useContext(Fm),i=()=&gt;eD(e,r,n,l);return t?i():jx(i)},rD=k8({scrapeMotionValuesFromProps:Yx,createRenderState:Qx}),nD=k8({scrapeMotionValuesFromProps:a8,createRenderState:S8}),iD=Symbol.for(&quot;motionComponentSymbol&quot;);function sD(e,r,t){const n=F.useRef(t);F.useInsertionEffect(()=&gt;{n.current=t});const l=F.useRef(null);return F.useCallback(i=&gt;{i&amp;&amp;e.onMount?.(i),r&amp;&amp;(i?r.mount(i):r.unmount());const a=n.current;if(typeof a==&quot;function&quot;)if(i){const u=a(i);typeof u==&quot;function&quot;&amp;&amp;(l.current=u)}else l.current?(l.current(),l.current=null):a(i);else a&amp;&amp;(a.current=i)},[r])}const N8=F.createContext({});function vu(e){return e&amp;&amp;typeof e==&quot;object&quot;&amp;&amp;Object.prototype.hasOwnProperty.call(e,&quot;current&quot;)}function aD(e,r,t,n,l,i){const{visualElement:a}=F.useContext($m),u=F.useContext(x8),o=F.useContext(Fm),s=F.useContext(Zx).reducedMotion,c=F.useRef(null);n=n||u.renderer,!c.current&amp;&amp;n&amp;&amp;(c.current=n(e,{visualState:r,parent:a,props:t,presenceContext:o,blockInitialAnimation:o?o.initial===!1:!1,reducedMotionConfig:s,isSVG:i}));const f=c.current,h=F.useContext(N8);f&amp;&amp;!f.projection&amp;&amp;l&amp;&amp;(f.type===&quot;html&quot;||f.type===&quot;svg&quot;)&amp;&amp;oD(c.current,t,l,h);const m=F.useRef(!1);F.useInsertionEffect(()=&gt;{f&amp;&amp;m.current&amp;&amp;f.update(t,o)});const p=t[TN],v=F.useRef(!!p&amp;&amp;!window.MotionHandoffIsComplete?.(p)&amp;&amp;window.MotionHasOptimisedAnimation?.(p));return Yk(()=&gt;{f&amp;&amp;(m.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),v.current&amp;&amp;f.animationState&amp;&amp;f.animationState.animateChanges())}),F.useEffect(()=&gt;{f&amp;&amp;(!v.current&amp;&amp;f.animationState&amp;&amp;f.animationState.animateChanges(),v.current&amp;&amp;(queueMicrotask(()=&gt;{window.MotionHandoffMarkAsComplete?.(p)}),v.current=!1),f.enteringChildren=void 0)}),f}function oD(e,r,t,n){const{layoutId:l,layout:i,drag:a,dragConstraints:u,layoutScroll:o,layoutRoot:s,layoutCrossfade:c}=r;e.projection=new t(e.latestValues,r[&quot;data-framer-portal-id&quot;]?void 0:C8(e.parent)),e.projection.setOptions({layoutId:l,layout:i,alwaysMeasureLayout:!!a||u&amp;&amp;vu(u),visualElement:e,animationType:typeof i==&quot;string&quot;?i:&quot;both&quot;,initialPromotionConfig:n,crossfade:c,layoutScroll:o,layoutRoot:s})}function C8(e){if(e)return e.options.allowProjection!==!1?e.projection:C8(e.parent)}function Rg(e,{forwardMotionProps:r=!1,type:t}={},n,l){n&amp;&amp;UR(n);const i=t?t===&quot;svg&quot;:Jx(e),a=i?nD:rD;function u(s,c){let f;const h={...F.useContext(Zx),...s,layoutId:lD(s)},{isStatic:m}=h,p=KR(s),v=a(s,m);if(!m&amp;&amp;Gk){cD();const g=uD(h);f=g.MeasureLayout,p.visualElement=aD(e,v,h,l,g.ProjectionNode,i)}return d.jsxs($m.Provider,{value:p,children:[f&amp;&amp;p.visualElement?d.jsx(f,{visualElement:p.visualElement,...h}):null,JR(e,s,sD(v,p.visualElement,c),v,m,r,i)]})}u.displayName=`motion.${typeof e==&quot;string&quot;?e:`create(${e.displayName??e.name??&quot;&quot;})`}`;const o=F.forwardRef(u);return o[iD]=e,o}function lD({layoutId:e}){const r=F.useContext(_x).id;return r&amp;&amp;e!==void 0?r+&quot;-&quot;+e:e}function cD(e,r){F.useContext(x8).strict}function uD(e){const r=w8(),{drag:t,layout:n}=r;if(!t&amp;&amp;!n)return{};const l={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?l.MeasureLayout:void 0,ProjectionNode:l.ProjectionNode}}function dD(e,r){if(typeof Proxy&gt;&quot;u&quot;)return Rg;const t=new Map,n=(i,a)=&gt;Rg(i,a,e,r),l=(i,a)=&gt;n(i,a);return new Proxy(l,{get:(i,a)=&gt;a===&quot;create&quot;?n:(t.has(a)||t.set(a,Rg(a,void 0,e,r)),t.get(a))})}const fD=(e,r)=&gt;r.isSVG??Jx(e)?new VI(r):new LI(r,{allowProjection:e!==F.Fragment});class hD extends ao{constructor(r){super(r),r.animationState||(r.animationState=XI(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();Bm(r)&amp;&amp;(this.unmountControls=r.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:r}=this.node.getProps(),{animate:t}=this.node.prevProps||{};r!==t&amp;&amp;this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let mD=0;class pD extends ao{constructor(){super(...arguments),this.id=mD++}update(){if(!this.node.presenceContext)return;const{isPresent:r,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||r===n)return;const l=this.node.animationState.setActive(&quot;exit&quot;,!r);t&amp;&amp;!r&amp;&amp;l.then(()=&gt;{t(this.id)})}mount(){const{register:r,onExitComplete:t}=this.node.presenceContext||{};t&amp;&amp;t(this.id),r&amp;&amp;(this.unmount=r(this.id))}unmount(){}}const gD={animation:{Feature:hD},exit:{Feature:pD}};function td(e){return{point:{x:e.pageX,y:e.pageY}}}const vD=e=&gt;r=&gt;Wx(r)&amp;&amp;e(r,td(r));function Su(e,r,t,n){return Tu(e,r,vD(t),n)}const E8=({current:e})=&gt;e?e.ownerDocument.defaultView:null,t4=(e,r)=&gt;Math.abs(e-r);function yD(e,r){const t=t4(e.x,r.x),n=t4(e.y,r.y);return Math.sqrt(t**2+n**2)}const r4=new Set([&quot;auto&quot;,&quot;scroll&quot;]);class A8{constructor(r,t,{transformPagePoint:n,contextWindow:l=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3,element:u}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=m=&gt;{this.handleScroll(m.target)},this.onWindowScroll=()=&gt;{this.handleScroll(window)},this.updatePoint=()=&gt;{if(!(this.lastMoveEvent&amp;&amp;this.lastMoveEventInfo))return;const m=Lg(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,v=yD(m.offset,{x:0,y:0})&gt;=this.distanceThreshold;if(!p&amp;&amp;!v)return;const{point:g}=m,{timestamp:b}=_n;this.history.push({...g,timestamp:b});const{onStart:x,onMove:_}=this.handlers;p||(x&amp;&amp;x(this.lastMoveEvent,m),this.startEvent=this.lastMoveEvent),_&amp;&amp;_(this.lastMoveEvent,m)},this.handlePointerMove=(m,p)=&gt;{this.lastMoveEvent=m,this.lastMoveEventInfo=Dg(p,this.transformPagePoint),wr.update(this.updatePoint,!0)},this.handlePointerUp=(m,p)=&gt;{this.end();const{onEnd:v,onSessionEnd:g,resumeAnimation:b}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&amp;&amp;b&amp;&amp;b(),!(this.lastMoveEvent&amp;&amp;this.lastMoveEventInfo))return;const x=Lg(m.type===&quot;pointercancel&quot;?this.lastMoveEventInfo:Dg(p,this.transformPagePoint),this.history);this.startEvent&amp;&amp;v&amp;&amp;v(m,x),g&amp;&amp;g(m,x)},!Wx(r))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=l||window;const o=td(r),s=Dg(o,this.transformPagePoint),{point:c}=s,{timestamp:f}=_n;this.history=[{...c,timestamp:f}];const{onSessionStart:h}=t;h&amp;&amp;h(r,Lg(s,this.history)),this.removeListeners=Qu(Su(this.contextWindow,&quot;pointermove&quot;,this.handlePointerMove),Su(this.contextWindow,&quot;pointerup&quot;,this.handlePointerUp),Su(this.contextWindow,&quot;pointercancel&quot;,this.handlePointerUp)),u&amp;&amp;this.startScrollTracking(u)}startScrollTracking(r){let t=r.parentElement;for(;t;){const n=getComputedStyle(t);(r4.has(n.overflowX)||r4.has(n.overflowY))&amp;&amp;this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener(&quot;scroll&quot;,this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener(&quot;scroll&quot;,this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=&gt;{window.removeEventListener(&quot;scroll&quot;,this.onElementScroll,{capture:!0}),window.removeEventListener(&quot;scroll&quot;,this.onWindowScroll)}}handleScroll(r){const t=this.scrollPositions.get(r);if(!t)return;const n=r===window,l=n?{x:window.scrollX,y:window.scrollY}:{x:r.scrollLeft,y:r.scrollTop},i={x:l.x-t.x,y:l.y-t.y};i.x===0&amp;&amp;i.y===0||(n?this.lastMoveEventInfo&amp;&amp;(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length&gt;0&amp;&amp;(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(r,l),wr.update(this.updatePoint,!0))}updateHandlers(r){this.handlers=r}end(){this.removeListeners&amp;&amp;this.removeListeners(),this.removeScrollListeners&amp;&amp;this.removeScrollListeners(),this.scrollPositions.clear(),Qa(this.updatePoint)}}function Dg(e,r){return r?{point:r(e.point)}:e}function n4(e,r){return{x:e.x-r.x,y:e.y-r.y}}function Lg({point:e},r){return{point:e,delta:n4(e,M8(r)),offset:n4(e,bD(r)),velocity:xD(r,.1)}}function bD(e){return e[0]}function M8(e){return e[e.length-1]}function xD(e,r){if(e.length&lt;2)return{x:0,y:0};let t=e.length-1,n=null;const l=M8(e);for(;t&gt;=0&amp;&amp;(n=e[t],!(l.timestamp-n.timestamp&gt;Gs(r)));)t--;if(!n)return{x:0,y:0};const i=Ii(l.timestamp-n.timestamp);if(i===0)return{x:0,y:0};const a={x:(l.x-n.x)/i,y:(l.y-n.y)/i};return a.x===1/0&amp;&amp;(a.x=0),a.y===1/0&amp;&amp;(a.y=0),a}function wD(e,{min:r,max:t},n){return r!==void 0&amp;&amp;e&lt;r?e=n?Mr(r,e,n.min):Math.max(e,r):t!==void 0&amp;&amp;e&gt;t&amp;&amp;(e=n?Mr(t,e,n.max):Math.min(e,t)),e}function i4(e,r,t){return{min:r!==void 0?e.min+r:void 0,max:t!==void 0?e.max+t-(e.max-e.min):void 0}}function _D(e,{top:r,left:t,bottom:n,right:l}){return{x:i4(e.x,t,l),y:i4(e.y,r,n)}}function s4(e,r){let t=r.min-e.min,n=r.max-e.max;return r.max-r.min&lt;e.max-e.min&amp;&amp;([t,n]=[n,t]),{min:t,max:n}}function jD(e,r){return{x:s4(e.x,r.x),y:s4(e.y,r.y)}}function SD(e,r){let t=.5;const n=Hn(e),l=Hn(r);return l&gt;n?t=Au(r.min,r.max-n,e.min):n&gt;l&amp;&amp;(t=Au(e.min,e.max-l,r.min)),Cs(0,1,t)}function kD(e,r){const t={};return r.min!==void 0&amp;&amp;(t.min=r.min-e.min),r.max!==void 0&amp;&amp;(t.max=r.max-e.min),t}const tb=.35;function ND(e=tb){return e===!1?e=0:e===!0&amp;&amp;(e=tb),{x:a4(e,&quot;left&quot;,&quot;right&quot;),y:a4(e,&quot;top&quot;,&quot;bottom&quot;)}}function a4(e,r,t){return{min:o4(e,r),max:o4(e,t)}}function o4(e,r){return typeof e==&quot;number&quot;?e:e[r]||0}const CD=new WeakMap;class ED{constructor(r){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Zr(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=r}start(r,{snapToCursor:t=!1,distanceThreshold:n}={}){const{presenceContext:l}=this.visualElement;if(l&amp;&amp;l.isPresent===!1)return;const i=f=&gt;{t?(this.stopAnimation(),this.snapToCursor(td(f).point)):this.pauseAnimation()},a=(f,h)=&gt;{this.stopAnimation();const{drag:m,dragPropagation:p,onDragStart:v}=this.getProps();if(m&amp;&amp;!p&amp;&amp;(this.openDragLock&amp;&amp;this.openDragLock(),this.openDragLock=mI(m),!this.openDragLock))return;this.latestPointerEvent=f,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&amp;&amp;(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Pi(b=&gt;{let x=this.getAxisMotionValue(b).get()||0;if(ks.test(x)){const{projection:_}=this.visualElement;if(_&amp;&amp;_.layout){const C=_.layout.layoutBox[b];C&amp;&amp;(x=Hn(C)*(parseFloat(x)/100))}}this.originPoint[b]=x}),v&amp;&amp;wr.postRender(()=&gt;v(f,h)),Xy(this.visualElement,&quot;transform&quot;);const{animationState:g}=this.visualElement;g&amp;&amp;g.setActive(&quot;whileDrag&quot;,!0)},u=(f,h)=&gt;{this.latestPointerEvent=f,this.latestPanInfo=h;const{dragPropagation:m,dragDirectionLock:p,onDirectionLock:v,onDrag:g}=this.getProps();if(!m&amp;&amp;!this.openDragLock)return;const{offset:b}=h;if(p&amp;&amp;this.currentDirection===null){this.currentDirection=AD(b),this.currentDirection!==null&amp;&amp;v&amp;&amp;v(this.currentDirection);return}this.updateAxis(&quot;x&quot;,h.point,b),this.updateAxis(&quot;y&quot;,h.point,b),this.visualElement.render(),g&amp;&amp;g(f,h)},o=(f,h)=&gt;{this.latestPointerEvent=f,this.latestPanInfo=h,this.stop(f,h),this.latestPointerEvent=null,this.latestPanInfo=null},s=()=&gt;Pi(f=&gt;this.getAnimationState(f)===&quot;paused&quot;&amp;&amp;this.getAxisMotionValue(f).animation?.play()),{dragSnapToOrigin:c}=this.getProps();this.panSession=new A8(r,{onSessionStart:i,onStart:a,onMove:u,onSessionEnd:o,resumeAnimation:s},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:n,contextWindow:E8(this.visualElement),element:this.visualElement.current})}stop(r,t){const n=r||this.latestPointerEvent,l=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!l||!n)return;const{velocity:a}=l;this.startAnimation(a);const{onDragEnd:u}=this.getProps();u&amp;&amp;wr.postRender(()=&gt;u(n,l))}cancel(){this.isDragging=!1;const{projection:r,animationState:t}=this.visualElement;r&amp;&amp;(r.isAnimationBlocked=!1),this.panSession&amp;&amp;this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&amp;&amp;this.openDragLock&amp;&amp;(this.openDragLock(),this.openDragLock=null),t&amp;&amp;t.setActive(&quot;whileDrag&quot;,!1)}updateAxis(r,t,n){const{drag:l}=this.getProps();if(!n||!Vf(r,l,this.currentDirection))return;const i=this.getAxisMotionValue(r);let a=this.originPoint[r]+n[r];this.constraints&amp;&amp;this.constraints[r]&amp;&amp;(a=wD(a,this.constraints[r],this.elastic[r])),i.set(a)}resolveConstraints(){const{dragConstraints:r,dragElastic:t}=this.getProps(),n=this.visualElement.projection&amp;&amp;!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,l=this.constraints;r&amp;&amp;vu(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&amp;&amp;n?this.constraints=_D(n.layoutBox,r):this.constraints=!1,this.elastic=ND(t),l!==this.constraints&amp;&amp;n&amp;&amp;this.constraints&amp;&amp;!this.hasMutatedConstraints&amp;&amp;Pi(i=&gt;{this.constraints!==!1&amp;&amp;this.getAxisMotionValue(i)&amp;&amp;(this.constraints[i]=kD(n.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:t}=this.getProps();if(!r||!vu(r))return!1;const n=r.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const i=OI(n,l.root,this.visualElement.getTransformPagePoint());let a=jD(l.layout.layoutBox,i);if(t){const u=t(EI(a));this.hasMutatedConstraints=!!u,u&amp;&amp;(a=ZN(u))}return a}startAnimation(r){const{drag:t,dragMomentum:n,dragElastic:l,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:u}=this.getProps(),o=this.constraints||{},s=Pi(c=&gt;{if(!Vf(c,t,this.currentDirection))return;let f=o&amp;&amp;o[c]||{};a&amp;&amp;(f={min:0,max:0});const h=l?200:1e6,m=l?40:1e7,p={type:&quot;inertia&quot;,velocity:n?r[c]:0,bounceStiffness:h,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...i,...f};return this.startAxisValueAnimation(c,p)});return Promise.all(s).then(u)}startAxisValueAnimation(r,t){const n=this.getAxisMotionValue(r);return Xy(this.visualElement,r),n.start($x(r,n,0,t,this.visualElement,!1))}stopAnimation(){Pi(r=&gt;this.getAxisMotionValue(r).stop())}pauseAnimation(){Pi(r=&gt;this.getAxisMotionValue(r).animation?.pause())}getAnimationState(r){return this.getAxisMotionValue(r).animation?.state}getAxisMotionValue(r){const t=`_drag${r.toUpperCase()}`,n=this.visualElement.getProps(),l=n[t];return l||this.visualElement.getValue(r,(n.initial?n.initial[r]:void 0)||0)}snapToCursor(r){Pi(t=&gt;{const{drag:n}=this.getProps();if(!Vf(t,n,this.currentDirection))return;const{projection:l}=this.visualElement,i=this.getAxisMotionValue(t);if(l&amp;&amp;l.layout){const{min:a,max:u}=l.layout.layoutBox[t],o=i.get()||0;i.set(r[t]-Mr(a,u,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!vu(t)||!n||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};Pi(a=&gt;{const u=this.getAxisMotionValue(a);if(u&amp;&amp;this.constraints!==!1){const o=u.get();l[a]=SD({min:o,max:o},this.constraints[a])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},&quot;&quot;):&quot;none&quot;,n.root&amp;&amp;n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Pi(a=&gt;{if(!Vf(a,r,null))return;const u=this.getAxisMotionValue(a),{min:o,max:s}=this.constraints[a];u.set(Mr(o,s,l[a]))})}addListeners(){if(!this.visualElement.current)return;CD.set(this.visualElement,this);const r=this.visualElement.current,t=Su(r,&quot;pointerdown&quot;,o=&gt;{const{drag:s,dragListener:c=!0}=this.getProps();s&amp;&amp;c&amp;&amp;!HN(o.target)&amp;&amp;this.start(o)}),n=()=&gt;{const{dragConstraints:o}=this.getProps();vu(o)&amp;&amp;o.current&amp;&amp;(this.constraints=this.resolveRefConstraints())},{projection:l}=this.visualElement,i=l.addEventListener(&quot;measure&quot;,n);l&amp;&amp;!l.layout&amp;&amp;(l.root&amp;&amp;l.root.updateScroll(),l.updateLayout()),wr.read(n);const a=Tu(window,&quot;resize&quot;,()=&gt;this.scalePositionWithinConstraints()),u=l.addEventListener(&quot;didUpdate&quot;,(({delta:o,hasLayoutChanged:s})=&gt;{this.isDragging&amp;&amp;s&amp;&amp;(Pi(c=&gt;{const f=this.getAxisMotionValue(c);f&amp;&amp;(this.originPoint[c]+=o[c].translate,f.set(f.get()+o[c].translate))}),this.visualElement.render())}));return()=&gt;{a(),t(),i(),u&amp;&amp;u()}}getProps(){const r=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:l=!1,dragConstraints:i=!1,dragElastic:a=tb,dragMomentum:u=!0}=r;return{...r,drag:t,dragDirectionLock:n,dragPropagation:l,dragConstraints:i,dragElastic:a,dragMomentum:u}}}function Vf(e,r,t){return(r===!0||r===e)&amp;&amp;(t===null||t===e)}function AD(e,r=10){let t=null;return Math.abs(e.y)&gt;r?t=&quot;y&quot;:Math.abs(e.x)&gt;r&amp;&amp;(t=&quot;x&quot;),t}class MD extends ao{constructor(r){super(r),this.removeGroupControls=Li,this.removeListeners=Li,this.controls=new ED(r)}mount(){const{dragControls:r}=this.node.getProps();r&amp;&amp;(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Li}update(){const{dragControls:r}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};r!==t&amp;&amp;(this.removeGroupControls(),r&amp;&amp;(this.removeGroupControls=r.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners()}}const l4=e=&gt;(r,t)=&gt;{e&amp;&amp;wr.postRender(()=&gt;e(r,t))};class OD extends ao{constructor(){super(...arguments),this.removePointerDownListener=Li}onPointerDown(r){this.session=new A8(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:E8(this.node)})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:t,onPan:n,onPanEnd:l}=this.node.getProps();return{onSessionStart:l4(r),onStart:l4(t),onMove:n,onEnd:(i,a)=&gt;{delete this.session,l&amp;&amp;wr.postRender(()=&gt;l(i,a))}}}mount(){this.removePointerDownListener=Su(this.node.current,&quot;pointerdown&quot;,r=&gt;this.onPointerDown(r))}update(){this.session&amp;&amp;this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&amp;&amp;this.session.end()}}let Fg=!1;class PD extends F.Component{componentDidMount(){const{visualElement:r,layoutGroup:t,switchLayoutGroup:n,layoutId:l}=this.props,{projection:i}=r;i&amp;&amp;(t.group&amp;&amp;t.group.add(i),n&amp;&amp;n.register&amp;&amp;l&amp;&amp;n.register(i),Fg&amp;&amp;i.root.didUpdate(),i.addEventListener(&quot;animationComplete&quot;,()=&gt;{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=&gt;this.safeToRemove()})),vh.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:t,visualElement:n,drag:l,isPresent:i}=this.props,{projection:a}=n;return a&amp;&amp;(a.isPresent=i,Fg=!0,l||r.layoutDependency!==t||t===void 0||r.isPresent!==i?a.willUpdate():this.safeToRemove(),r.isPresent!==i&amp;&amp;(i?a.promote():a.relegate()||wr.postRender(()=&gt;{const u=a.getStack();(!u||!u.members.length)&amp;&amp;this.safeToRemove()}))),null}componentDidUpdate(){const{projection:r}=this.props.visualElement;r&amp;&amp;(r.root.didUpdate(),Hx.postRender(()=&gt;{!r.currentAnimation&amp;&amp;r.isLead()&amp;&amp;this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:l}=r;Fg=!0,l&amp;&amp;(l.scheduleCheckAfterUnmount(),t&amp;&amp;t.group&amp;&amp;t.group.remove(l),n&amp;&amp;n.deregister&amp;&amp;n.deregister(l))}safeToRemove(){const{safeToRemove:r}=this.props;r&amp;&amp;r()}render(){return null}}function O8(e){const[r,t]=b8(),n=F.useContext(_x);return d.jsx(PD,{...e,layoutGroup:n,switchLayoutGroup:F.useContext(N8),isPresent:r,safeToRemove:t})}const TD={pan:{Feature:OD},drag:{Feature:MD,ProjectionNode:y8,MeasureLayout:O8}};function c4(e,r,t){const{props:n}=e;e.animationState&amp;&amp;n.whileHover&amp;&amp;e.animationState.setActive(&quot;whileHover&quot;,t===&quot;Start&quot;);const l=&quot;onHover&quot;+t,i=n[l];i&amp;&amp;wr.postRender(()=&gt;i(r,td(r)))}class ID extends ao{mount(){const{current:r}=this.node;r&amp;&amp;(this.unmount=pI(r,(t,n)=&gt;(c4(this.node,n,&quot;Start&quot;),l=&gt;c4(this.node,l,&quot;End&quot;))))}unmount(){}}class RD extends ao{constructor(){super(...arguments),this.isActive=!1}onFocus(){let r=!1;try{r=this.node.current.matches(&quot;:focus-visible&quot;)}catch{r=!0}!r||!this.node.animationState||(this.node.animationState.setActive(&quot;whileFocus&quot;,!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive(&quot;whileFocus&quot;,!1),this.isActive=!1)}mount(){this.unmount=Qu(Tu(this.node.current,&quot;focus&quot;,()=&gt;this.onFocus()),Tu(this.node.current,&quot;blur&quot;,()=&gt;this.onBlur()))}unmount(){}}function u4(e,r,t){const{props:n}=e;if(e.current instanceof HTMLButtonElement&amp;&amp;e.current.disabled)return;e.animationState&amp;&amp;n.whileTap&amp;&amp;e.animationState.setActive(&quot;whileTap&quot;,t===&quot;Start&quot;);const l=&quot;onTap&quot;+(t===&quot;End&quot;?&quot;&quot;:t),i=n[l];i&amp;&amp;wr.postRender(()=&gt;i(r,td(r)))}class DD extends ao{mount(){const{current:r}=this.node;r&amp;&amp;(this.unmount=yI(r,(t,n)=&gt;(u4(this.node,n,&quot;Start&quot;),(l,{success:i})=&gt;u4(this.node,l,i?&quot;End&quot;:&quot;Cancel&quot;)),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const rb=new WeakMap,Bg=new WeakMap,LD=e=&gt;{const r=rb.get(e.target);r&amp;&amp;r(e)},FD=e=&gt;{e.forEach(LD)};function BD({root:e,...r}){const t=e||document;Bg.has(t)||Bg.set(t,{});const n=Bg.get(t),l=JSON.stringify(r);return n[l]||(n[l]=new IntersectionObserver(FD,{root:e,...r})),n[l]}function zD(e,r,t){const n=BD(r);return rb.set(e,t),n.observe(e),()=&gt;{rb.delete(e),n.unobserve(e)}}const $D={some:0,all:1};class UD extends ao{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:r={}}=this.node.getProps(),{root:t,margin:n,amount:l=&quot;some&quot;,once:i}=r,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof l==&quot;number&quot;?l:$D[l]},u=o=&gt;{const{isIntersecting:s}=o;if(this.isInView===s||(this.isInView=s,i&amp;&amp;!s&amp;&amp;this.hasEnteredView))return;s&amp;&amp;(this.hasEnteredView=!0),this.node.animationState&amp;&amp;this.node.animationState.setActive(&quot;whileInView&quot;,s);const{onViewportEnter:c,onViewportLeave:f}=this.node.getProps(),h=s?c:f;h&amp;&amp;h(o)};return zD(this.node.current,a,u)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver&gt;&quot;u&quot;)return;const{props:r,prevProps:t}=this.node;[&quot;amount&quot;,&quot;margin&quot;,&quot;root&quot;].some(VD(r,t))&amp;&amp;this.startObserver()}unmount(){}}function VD({viewport:e={}},{viewport:r={}}={}){return t=&gt;e[t]!==r[t]}const qD={inView:{Feature:UD},tap:{Feature:DD},focus:{Feature:RD},hover:{Feature:ID}},HD={layout:{ProjectionNode:y8,MeasureLayout:O8}},WD={...gD,...qD,...TD,...HD},d4=dD(WD,fD);const KD=e=&gt;e.replace(/([a-z0-9])([A-Z])/g,&quot;$1-$2&quot;).toLowerCase(),XD=e=&gt;e.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,t,n)=&gt;n?n.toUpperCase():t.toLowerCase()),f4=e=&gt;{const r=XD(e);return r.charAt(0).toUpperCase()+r.slice(1)},P8=(...e)=&gt;e.filter((r,t,n)=&gt;!!r&amp;&amp;r.trim()!==&quot;&quot;&amp;&amp;n.indexOf(r)===t).join(&quot; &quot;).trim(),GD=e=&gt;{for(const r in e)if(r.startsWith(&quot;aria-&quot;)||r===&quot;role&quot;||r===&quot;title&quot;)return!0};var YD={xmlns:&quot;http://www.w3.org/2000/svg&quot;,width:24,height:24,viewBox:&quot;0 0 24 24&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,strokeWidth:2,strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;};const ZD=F.forwardRef(({color:e=&quot;currentColor&quot;,size:r=24,strokeWidth:t=2,absoluteStrokeWidth:n,className:l=&quot;&quot;,children:i,iconNode:a,...u},o)=&gt;F.createElement(&quot;svg&quot;,{ref:o,...YD,width:r,height:r,stroke:e,strokeWidth:n?Number(t)*24/Number(r):t,className:P8(&quot;lucide&quot;,l),...!i&amp;&amp;!GD(u)&amp;&amp;{&quot;aria-hidden&quot;:&quot;true&quot;},...u},[...a.map(([s,c])=&gt;F.createElement(s,c)),...Array.isArray(i)?i:[i]]));const Kt=(e,r)=&gt;{const t=F.forwardRef(({className:n,...l},i)=&gt;F.createElement(ZD,{ref:i,iconNode:r,className:P8(`lucide-${KD(f4(e))}`,`lucide-${e}`,n),...l}));return t.displayName=f4(e),t};const QD=[[&quot;path&quot;,{d:&quot;M5 12h14&quot;,key:&quot;1ays0h&quot;}],[&quot;path&quot;,{d:&quot;m12 5 7 7-7 7&quot;,key:&quot;xquz4c&quot;}]],nb=Kt(&quot;arrow-right&quot;,QD);const JD=[[&quot;path&quot;,{d:&quot;M8 2v4&quot;,key:&quot;1cmpym&quot;}],[&quot;path&quot;,{d:&quot;M16 2v4&quot;,key:&quot;4m81vk&quot;}],[&quot;rect&quot;,{width:&quot;18&quot;,height:&quot;18&quot;,x:&quot;3&quot;,y:&quot;4&quot;,rx:&quot;2&quot;,key:&quot;1hopcy&quot;}],[&quot;path&quot;,{d:&quot;M3 10h18&quot;,key:&quot;8toen8&quot;}],[&quot;path&quot;,{d:&quot;M8 14h.01&quot;,key:&quot;6423bh&quot;}],[&quot;path&quot;,{d:&quot;M12 14h.01&quot;,key:&quot;1etili&quot;}],[&quot;path&quot;,{d:&quot;M16 14h.01&quot;,key:&quot;1gbofw&quot;}],[&quot;path&quot;,{d:&quot;M8 18h.01&quot;,key:&quot;lrp35t&quot;}],[&quot;path&quot;,{d:&quot;M12 18h.01&quot;,key:&quot;mhygvu&quot;}],[&quot;path&quot;,{d:&quot;M16 18h.01&quot;,key:&quot;kzsmim&quot;}]],eL=Kt(&quot;calendar-days&quot;,JD);const tL=[[&quot;path&quot;,{d:&quot;M20 6 9 17l-5-5&quot;,key:&quot;1gmf2c&quot;}]],h4=Kt(&quot;check&quot;,tL);const rL=[[&quot;path&quot;,{d:&quot;m6 9 6 6 6-6&quot;,key:&quot;qrunsl&quot;}]],ib=Kt(&quot;chevron-down&quot;,rL);const nL=[[&quot;path&quot;,{d:&quot;m15 18-6-6 6-6&quot;,key:&quot;1wnfg3&quot;}]],iL=Kt(&quot;chevron-left&quot;,nL);const sL=[[&quot;path&quot;,{d:&quot;m9 18 6-6-6-6&quot;,key:&quot;mthhwq&quot;}]],aL=Kt(&quot;chevron-right&quot;,sL);const oL=[[&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;12&quot;,r:&quot;10&quot;,key:&quot;1mglay&quot;}],[&quot;line&quot;,{x1:&quot;12&quot;,x2:&quot;12&quot;,y1:&quot;8&quot;,y2:&quot;12&quot;,key:&quot;1pkeuh&quot;}],[&quot;line&quot;,{x1:&quot;12&quot;,x2:&quot;12.01&quot;,y1:&quot;16&quot;,y2:&quot;16&quot;,key:&quot;4dfq90&quot;}]],sb=Kt(&quot;circle-alert&quot;,oL);const lL=[[&quot;path&quot;,{d:&quot;M21.801 10A10 10 0 1 1 17 3.335&quot;,key:&quot;yps3ct&quot;}],[&quot;path&quot;,{d:&quot;m9 11 3 3L22 4&quot;,key:&quot;1pflzl&quot;}]],cL=Kt(&quot;circle-check-big&quot;,lL);const uL=[[&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;12&quot;,r:&quot;10&quot;,key:&quot;1mglay&quot;}],[&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;10&quot;,r:&quot;3&quot;,key:&quot;ilqhr7&quot;}],[&quot;path&quot;,{d:&quot;M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662&quot;,key:&quot;154egf&quot;}]],m4=Kt(&quot;circle-user&quot;,uL);const dL=[[&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;12&quot;,r:&quot;10&quot;,key:&quot;1mglay&quot;}],[&quot;path&quot;,{d:&quot;m15 9-6 6&quot;,key:&quot;1uzhvr&quot;}],[&quot;path&quot;,{d:&quot;m9 9 6 6&quot;,key:&quot;z0biqf&quot;}]],fL=Kt(&quot;circle-x&quot;,dL);const hL=[[&quot;rect&quot;,{width:&quot;20&quot;,height:&quot;14&quot;,x:&quot;2&quot;,y:&quot;5&quot;,rx:&quot;2&quot;,key:&quot;ynyp8z&quot;}],[&quot;line&quot;,{x1:&quot;2&quot;,x2:&quot;22&quot;,y1:&quot;10&quot;,y2:&quot;10&quot;,key:&quot;1b3vmo&quot;}]],mL=Kt(&quot;credit-card&quot;,hL);const pL=[[&quot;line&quot;,{x1:&quot;12&quot;,x2:&quot;12&quot;,y1:&quot;2&quot;,y2:&quot;22&quot;,key:&quot;7eqyqh&quot;}],[&quot;path&quot;,{d:&quot;M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6&quot;,key:&quot;1b0p4s&quot;}]],ab=Kt(&quot;dollar-sign&quot;,pL);const gL=[[&quot;path&quot;,{d:&quot;M12 15V3&quot;,key:&quot;m9g1x1&quot;}],[&quot;path&quot;,{d:&quot;M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4&quot;,key:&quot;ih7n3h&quot;}],[&quot;path&quot;,{d:&quot;m7 10 5 5 5-5&quot;,key:&quot;brsn70&quot;}]],vL=Kt(&quot;download&quot;,gL);const yL=[[&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;12&quot;,r:&quot;1&quot;,key:&quot;41hilf&quot;}],[&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;5&quot;,r:&quot;1&quot;,key:&quot;gxeob9&quot;}],[&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;19&quot;,r:&quot;1&quot;,key:&quot;lyex9k&quot;}]],bL=Kt(&quot;ellipsis-vertical&quot;,yL);const xL=[[&quot;path&quot;,{d:&quot;M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z&quot;,key:&quot;1oefj6&quot;}],[&quot;path&quot;,{d:&quot;M14 2v5a1 1 0 0 0 1 1h5&quot;,key:&quot;wfsgrz&quot;}],[&quot;path&quot;,{d:&quot;M12 18v-6&quot;,key:&quot;17g6i2&quot;}],[&quot;path&quot;,{d:&quot;m9 15 3 3 3-3&quot;,key:&quot;1npd3o&quot;}]],tc=Kt(&quot;file-down&quot;,xL);const wL=[[&quot;path&quot;,{d:&quot;M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z&quot;,key:&quot;1oefj6&quot;}],[&quot;path&quot;,{d:&quot;M14 2v5a1 1 0 0 0 1 1h5&quot;,key:&quot;wfsgrz&quot;}],[&quot;path&quot;,{d:&quot;M8 13h2&quot;,key:&quot;yr2amv&quot;}],[&quot;path&quot;,{d:&quot;M14 13h2&quot;,key:&quot;un5t4a&quot;}],[&quot;path&quot;,{d:&quot;M8 17h2&quot;,key:&quot;2yhykz&quot;}],[&quot;path&quot;,{d:&quot;M14 17h2&quot;,key:&quot;10kma7&quot;}]],p4=Kt(&quot;file-spreadsheet&quot;,wL);const _L=[[&quot;path&quot;,{d:&quot;M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z&quot;,key:&quot;1oefj6&quot;}],[&quot;path&quot;,{d:&quot;M14 2v5a1 1 0 0 0 1 1h5&quot;,key:&quot;wfsgrz&quot;}],[&quot;path&quot;,{d:&quot;M10 9H8&quot;,key:&quot;b1mrlr&quot;}],[&quot;path&quot;,{d:&quot;M16 13H8&quot;,key:&quot;t4e002&quot;}],[&quot;path&quot;,{d:&quot;M16 17H8&quot;,key:&quot;z1uh3a&quot;}]],Dh=Kt(&quot;file-text&quot;,_L);const jL=[[&quot;path&quot;,{d:&quot;M11 12h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 14&quot;,key:&quot;1j4xps&quot;}],[&quot;path&quot;,{d:&quot;m7 18 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9&quot;,key:&quot;uospg8&quot;}],[&quot;path&quot;,{d:&quot;m2 13 6 6&quot;,key:&quot;16e5sb&quot;}]],SL=Kt(&quot;hand-helping&quot;,jL);const kL=[[&quot;path&quot;,{d:&quot;M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5&quot;,key:&quot;mvr1a0&quot;}]],e1=Kt(&quot;heart&quot;,kL);const NL=[[&quot;path&quot;,{d:&quot;M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8&quot;,key:&quot;5wwlr5&quot;}],[&quot;path&quot;,{d:&quot;M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z&quot;,key:&quot;r6nss1&quot;}]],ob=Kt(&quot;house&quot;,NL);const CL=[[&quot;rect&quot;,{width:&quot;7&quot;,height:&quot;9&quot;,x:&quot;3&quot;,y:&quot;3&quot;,rx:&quot;1&quot;,key:&quot;10lvy0&quot;}],[&quot;rect&quot;,{width:&quot;7&quot;,height:&quot;5&quot;,x:&quot;14&quot;,y:&quot;3&quot;,rx:&quot;1&quot;,key:&quot;16une8&quot;}],[&quot;rect&quot;,{width:&quot;7&quot;,height:&quot;9&quot;,x:&quot;14&quot;,y:&quot;12&quot;,rx:&quot;1&quot;,key:&quot;1hutg5&quot;}],[&quot;rect&quot;,{width:&quot;7&quot;,height:&quot;5&quot;,x:&quot;3&quot;,y:&quot;16&quot;,rx:&quot;1&quot;,key:&quot;ldoo1y&quot;}]],g4=Kt(&quot;layout-dashboard&quot;,CL);const EL=[[&quot;path&quot;,{d:&quot;M21 12a9 9 0 1 1-6.219-8.56&quot;,key:&quot;13zald&quot;}]],AL=Kt(&quot;loader-circle&quot;,EL);const ML=[[&quot;path&quot;,{d:&quot;m16 17 5-5-5-5&quot;,key:&quot;1bji2h&quot;}],[&quot;path&quot;,{d:&quot;M21 12H9&quot;,key:&quot;dn1m92&quot;}],[&quot;path&quot;,{d:&quot;M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4&quot;,key:&quot;1uf3rs&quot;}]],OL=Kt(&quot;log-out&quot;,ML);const PL=[[&quot;path&quot;,{d:&quot;m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7&quot;,key:&quot;132q7q&quot;}],[&quot;rect&quot;,{x:&quot;2&quot;,y:&quot;4&quot;,width:&quot;20&quot;,height:&quot;16&quot;,rx:&quot;2&quot;,key:&quot;izxlao&quot;}]],Wa=Kt(&quot;mail&quot;,PL);const TL=[[&quot;path&quot;,{d:&quot;M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0&quot;,key:&quot;1r0f0z&quot;}],[&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;10&quot;,r:&quot;3&quot;,key:&quot;ilqhr7&quot;}]],IL=Kt(&quot;map-pin&quot;,TL);const RL=[[&quot;path&quot;,{d:&quot;M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z&quot;,key:&quot;18887p&quot;}]],v4=Kt(&quot;message-square&quot;,RL);const DL=[[&quot;path&quot;,{d:&quot;M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384&quot;,key:&quot;9njp5v&quot;}]],yu=Kt(&quot;phone&quot;,DL);const LL=[[&quot;path&quot;,{d:&quot;M5 12h14&quot;,key:&quot;1ays0h&quot;}],[&quot;path&quot;,{d:&quot;M12 5v14&quot;,key:&quot;s699le&quot;}]],lb=Kt(&quot;plus&quot;,LL);const FL=[[&quot;path&quot;,{d:&quot;M4 2v20l2-1 2 1 2-1 2 1 2-1 2 1 2-1 2 1V2l-2 1-2-1-2 1-2-1-2 1-2-1-2 1Z&quot;,key:&quot;q3az6g&quot;}],[&quot;path&quot;,{d:&quot;M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8&quot;,key:&quot;1h4pet&quot;}],[&quot;path&quot;,{d:&quot;M12 17.5v-11&quot;,key:&quot;1jc1ny&quot;}]],BL=Kt(&quot;receipt&quot;,FL);const zL=[[&quot;path&quot;,{d:&quot;M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8&quot;,key:&quot;v9h5vc&quot;}],[&quot;path&quot;,{d:&quot;M21 3v5h-5&quot;,key:&quot;1q7to0&quot;}],[&quot;path&quot;,{d:&quot;M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16&quot;,key:&quot;3uifl3&quot;}],[&quot;path&quot;,{d:&quot;M8 16H3v5&quot;,key:&quot;1cv678&quot;}]],t1=Kt(&quot;refresh-cw&quot;,zL);const $L=[[&quot;path&quot;,{d:&quot;M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915&quot;,key:&quot;1i5ecw&quot;}],[&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;12&quot;,r:&quot;3&quot;,key:&quot;1v7zrd&quot;}]],cb=Kt(&quot;settings&quot;,$L);const UL=[[&quot;path&quot;,{d:&quot;M13.172 2a2 2 0 0 1 1.414.586l6.71 6.71a2.4 2.4 0 0 1 0 3.408l-4.592 4.592a2.4 2.4 0 0 1-3.408 0l-6.71-6.71A2 2 0 0 1 6 9.172V3a1 1 0 0 1 1-1z&quot;,key:&quot;16rjxf&quot;}],[&quot;path&quot;,{d:&quot;M2 7v6.172a2 2 0 0 0 .586 1.414l6.71 6.71a2.4 2.4 0 0 0 3.191.193&quot;,key:&quot;178nd4&quot;}],[&quot;circle&quot;,{cx:&quot;10.5&quot;,cy:&quot;6.5&quot;,r:&quot;.5&quot;,fill:&quot;currentColor&quot;,key:&quot;12ikhr&quot;}]],VL=Kt(&quot;tags&quot;,UL);const qL=[[&quot;path&quot;,{d:&quot;M10 11v6&quot;,key:&quot;nco0om&quot;}],[&quot;path&quot;,{d:&quot;M14 11v6&quot;,key:&quot;outv1u&quot;}],[&quot;path&quot;,{d:&quot;M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6&quot;,key:&quot;miytrc&quot;}],[&quot;path&quot;,{d:&quot;M3 6h18&quot;,key:&quot;d0wm0j&quot;}],[&quot;path&quot;,{d:&quot;M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2&quot;,key:&quot;e791ji&quot;}]],HL=Kt(&quot;trash-2&quot;,qL);const WL=[[&quot;path&quot;,{d:&quot;M16 7h6v6&quot;,key:&quot;box55l&quot;}],[&quot;path&quot;,{d:&quot;m22 7-8.5 8.5-5-5L2 17&quot;,key:&quot;1t1m79&quot;}]],KL=Kt(&quot;trending-up&quot;,WL);const XL=[[&quot;path&quot;,{d:&quot;m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3&quot;,key:&quot;wmoenq&quot;}],[&quot;path&quot;,{d:&quot;M12 9v4&quot;,key:&quot;juzpu7&quot;}],[&quot;path&quot;,{d:&quot;M12 17h.01&quot;,key:&quot;p32p05&quot;}]],GL=Kt(&quot;triangle-alert&quot;,XL);const YL=[[&quot;path&quot;,{d:&quot;M10 15H6a4 4 0 0 0-4 4v2&quot;,key:&quot;1nfge6&quot;}],[&quot;path&quot;,{d:&quot;m14.305 16.53.923-.382&quot;,key:&quot;1itpsq&quot;}],[&quot;path&quot;,{d:&quot;m15.228 13.852-.923-.383&quot;,key:&quot;eplpkm&quot;}],[&quot;path&quot;,{d:&quot;m16.852 12.228-.383-.923&quot;,key:&quot;13v3q0&quot;}],[&quot;path&quot;,{d:&quot;m16.852 17.772-.383.924&quot;,key:&quot;1i8mnm&quot;}],[&quot;path&quot;,{d:&quot;m19.148 12.228.383-.923&quot;,key:&quot;1q8j1v&quot;}],[&quot;path&quot;,{d:&quot;m19.53 18.696-.382-.924&quot;,key:&quot;vk1qj3&quot;}],[&quot;path&quot;,{d:&quot;m20.772 13.852.924-.383&quot;,key:&quot;n880s0&quot;}],[&quot;path&quot;,{d:&quot;m20.772 16.148.924.383&quot;,key:&quot;1g6xey&quot;}],[&quot;circle&quot;,{cx:&quot;18&quot;,cy:&quot;15&quot;,r:&quot;3&quot;,key:&quot;gjjjvw&quot;}],[&quot;circle&quot;,{cx:&quot;9&quot;,cy:&quot;7&quot;,r:&quot;4&quot;,key:&quot;nufk8&quot;}]],Lh=Kt(&quot;user-cog&quot;,YL);const ZL=[[&quot;path&quot;,{d:&quot;M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2&quot;,key:&quot;1yyitq&quot;}],[&quot;path&quot;,{d:&quot;M16 3.128a4 4 0 0 1 0 7.744&quot;,key:&quot;16gr8j&quot;}],[&quot;path&quot;,{d:&quot;M22 21v-2a4 4 0 0 0-3-3.87&quot;,key:&quot;kshegd&quot;}],[&quot;circle&quot;,{cx:&quot;9&quot;,cy:&quot;7&quot;,r:&quot;4&quot;,key:&quot;nufk8&quot;}]],Fh=Kt(&quot;users&quot;,ZL);const QL=[[&quot;path&quot;,{d:&quot;M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1&quot;,key:&quot;18etb6&quot;}],[&quot;path&quot;,{d:&quot;M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4&quot;,key:&quot;xoc0q4&quot;}]],T8=Kt(&quot;wallet&quot;,QL);const JL=[[&quot;path&quot;,{d:&quot;M18 6 6 18&quot;,key:&quot;1bl5f8&quot;}],[&quot;path&quot;,{d:&quot;m6 6 12 12&quot;,key:&quot;d8bk6v&quot;}]],vr=Kt(&quot;x&quot;,JL),zg=&quot;/logoHaggai.avif&quot;,eF=&quot;/seminaireregional.webp&quot;,au=[&quot;/slideshow/slide1.webp&quot;,&quot;/slideshow/slide2.webp&quot;,&quot;/slideshow/slide3.avif&quot;,&quot;/slideshow/slide4.webp&quot;,&quot;/slideshow/slide5.avif&quot;,&quot;/slideshow/slide6.avif&quot;,&quot;/slideshow/slide7.avif&quot;,&quot;/slideshow/slide8.webp&quot;],tF=[{title:&quot;Séminaire Régional Hybride&quot;,dateLocation:&quot;Du 22 au 30 oct : Session en ligne • Du 15 au 19 nov : Présentiel au Burkina Faso&quot;,imageUrl:eF,imageAlt:&quot;Participants au Séminaire Régional Hybride&quot;,buttonLabel:&quot;S&#039;inscrire&quot;}],rF=[{name:&quot;Sundar Sangma&quot;,title:&quot;Vice Président chargé du développement international du ministère&quot;,img:&quot;/intervenants/1-Sundar_Sangma.png&quot;},{name:&quot;Bastian Babu&quot;,title:&quot;Directeur Exécutif chargé des ministères nationaux&quot;,img:&quot;/intervenants/2-Bastian_Babu.png&quot;},{name:&quot;Lucky Shabangu&quot;,title:&quot;Directeur Afrique&quot;,img:&quot;/intervenants/3-Lucky_Shabangu.png&quot;},{name:&quot;Aboua Omer Liacet&quot;,title:&quot;Représentant régional Afrique Francophone&quot;,img:&quot;/intervenants/4.Aboua_Omer_Liacet.png&quot;}];function I8(...e){return e.filter(Boolean).join(&quot; &quot;)}function y4({children:e,className:r=&quot;&quot;,...t}){return d.jsxs(&quot;a&quot;,{className:I8(&quot;inline-flex items-center justify-center gap-2 rounded-none px-4 py-2 sm:px-6 sm:py-3 text-sm sm:text-base font-medium border-2 border-brand-900&quot;,&quot;bg-brand-700 text-white&quot;,&quot;hover:bg-brand-900 focus:outline-none focus:ring-2 focus:ring-brand-600 focus:ring-offset-2 focus:ring-offset-ink-900&quot;,&quot;transition uppercase tracking-wider&quot;,r),...t,children:[e,d.jsx(nb,{className:&quot;h-4 w-4&quot;})]})}function nF({children:e,className:r=&quot;&quot;,...t}){return d.jsx(&quot;a&quot;,{className:I8(&quot;inline-flex items-center justify-center rounded-none px-4 py-2 sm:px-6 sm:py-3 text-sm sm:text-base font-medium border-2 border-white bg-transparent text-surface-0&quot;,&quot;hover:bg-white/10 focus:outline-none focus:ring-2 focus:ring-white/40 focus:ring-offset-2 focus:ring-offset-ink-900&quot;,&quot;transition uppercase tracking-wider&quot;,r),...t,children:e})}function iF(){const[e,r]=F.useState(0),[t,n]=F.useState(!1);F.useEffect(()=&gt;{const o=setInterval(()=&gt;{r(s=&gt;(s+1)%au.length)},5e3);return()=&gt;clearInterval(o)},[]);const l=()=&gt;{r(o=&gt;(o-1+au.length)%au.length)},i=()=&gt;{r(o=&gt;(o+1)%au.length)},a=o=&gt;{o.preventDefault();const s=document.getElementById(&quot;events&quot;);s&amp;&amp;s.scrollIntoView({behavior:&quot;smooth&quot;})},u=o=&gt;{o.preventDefault();const s=document.getElementById(&quot;speakers&quot;);s&amp;&amp;s.scrollIntoView({behavior:&quot;smooth&quot;})};return d.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-surface-0 font-sans&quot;,children:[d.jsxs(&quot;header&quot;,{className:&quot;sticky top-0 z-50 border-b border-ink-500/20 bg-brand-700 shadow-soft&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;mx-auto flex items-center justify-between px-[10%] py-1 sm:py-1.5&quot;,children:[d.jsxs(&quot;a&quot;,{href:&quot;/&quot;,className:&quot;flex items-center gap-2 hover:opacity-80 transition-opacity flex-shrink-0 min-w-0&quot;,children:[d.jsx(&quot;img&quot;,{src:zg,alt:&quot;Sommet Francophone&quot;,className:&quot;h-6 sm:h-7 md:h-8 w-auto flex-shrink-0 brightness-0 invert&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-xs sm:text-sm md:text-base lg:text-lg font-heading font-medium tracking-wide text-surface-0 uppercase truncate&quot;,children:&quot;Sommet Francophone&quot;})]}),d.jsxs(&quot;nav&quot;,{className:&quot;hidden items-center gap-4 sm:gap-6 text-xs sm:text-sm font-light text-surface-0/80 md:flex&quot;,children:[d.jsx(&quot;a&quot;,{className:&quot;hover:text-surface-0 transition-colors uppercase&quot;,href:&quot;#events&quot;,onClick:a,children:&quot;Événements&quot;}),d.jsx(&quot;a&quot;,{className:&quot;hover:text-surface-0 transition-colors uppercase&quot;,href:&quot;#speakers&quot;,onClick:u,children:&quot;Intervenants&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;hidden md:flex items-center gap-2 sm:gap-3&quot;,children:[d.jsx(&quot;a&quot;,{href:&quot;/inscription&quot;,className:&quot;inline-flex items-center justify-center rounded-pill px-3 py-1.5 text-xs sm:text-sm font-medium text-ink-900 bg-gold-500 shadow-soft hover:bg-gold-600 transition-all uppercase&quot;,children:&quot;Inscription&quot;}),d.jsx(&quot;a&quot;,{href:&quot;/soutenir&quot;,className:&quot;inline-flex items-center justify-center rounded-pill px-3 py-1.5 text-xs sm:text-sm font-medium bg-brand-900 text-surface-0 shadow-soft hover:bg-ink-900 transition-all uppercase&quot;,children:&quot;Soutenir&quot;}),d.jsx(&quot;div&quot;,{className:&quot;h-6 w-px bg-surface-0/30 mx-1&quot;}),d.jsx(&quot;a&quot;,{href:&quot;/login&quot;,className:&quot;inline-flex items-center justify-center rounded-pill px-3 py-1.5 text-xs sm:text-sm font-medium text-surface-0 hover:text-gold-500 transition-colors uppercase&quot;,children:&quot;Connexion&quot;})]}),d.jsx(&quot;div&quot;,{className:&quot;md:hidden&quot;,children:d.jsx(&quot;button&quot;,{onClick:()=&gt;n(!t),className:&quot;text-surface-0 hover:text-gold-500 focus:outline-none&quot;,&quot;aria-label&quot;:&quot;Toggle menu&quot;,children:d.jsx(&quot;svg&quot;,{className:&quot;h-6 w-6&quot;,fill:&quot;none&quot;,strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:&quot;2&quot;,viewBox:&quot;0 0 24 24&quot;,stroke:&quot;currentColor&quot;,children:t?d.jsx(&quot;path&quot;,{d:&quot;M6 18L18 6M6 6l12 12&quot;}):d.jsx(&quot;path&quot;,{d:&quot;M4 6h16M4 12h16M4 18h16&quot;})})})})]}),t&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;md:hidden py-4 px-[10%] space-y-2 border-t border-surface-0/20&quot;,children:[d.jsx(&quot;a&quot;,{href:&quot;#events&quot;,className:&quot;block py-2 text-sm font-light text-surface-0/80 hover:text-surface-0 transition-colors uppercase&quot;,onClick:o=&gt;{n(!1),a(o)},children:&quot;Événements&quot;}),d.jsx(&quot;a&quot;,{href:&quot;#speakers&quot;,className:&quot;block py-2 text-sm font-light text-surface-0/80 hover:text-surface-0 transition-colors uppercase&quot;,onClick:o=&gt;{n(!1),u(o)},children:&quot;Intervenants&quot;}),d.jsx(&quot;a&quot;,{href:&quot;/inscription&quot;,className:&quot;block py-2 text-sm font-light text-surface-0/80 hover:text-surface-0 transition-colors uppercase&quot;,onClick:()=&gt;n(!1),children:&quot;Inscription&quot;}),d.jsx(&quot;a&quot;,{href:&quot;/soutenir&quot;,className:&quot;block py-2 text-sm font-light text-surface-0/80 hover:text-surface-0 transition-colors uppercase&quot;,onClick:()=&gt;n(!1),children:&quot;Soutenir&quot;}),d.jsx(&quot;div&quot;,{className:&quot;h-px bg-surface-0/20 my-2&quot;}),d.jsx(&quot;a&quot;,{href:&quot;/login&quot;,className:&quot;block py-2 text-sm font-light text-surface-0/80 hover:text-surface-0 transition-colors uppercase&quot;,onClick:()=&gt;n(!1),children:&quot;Connexion&quot;})]})]}),d.jsxs(&quot;section&quot;,{className:&quot;relative overflow-hidden text-surface-0&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;absolute inset-0&quot;,children:[d.jsx(zR,{mode:&quot;wait&quot;,children:d.jsx(d4.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:1},className:&quot;absolute inset-0 h-full w-full bg-cover bg-center&quot;,style:{backgroundImage:`url(${au[e]})`}},e)}),d.jsx(&quot;div&quot;,{className:&quot;absolute inset-0 bg-gradient-to-b from-brand-900/40 via-brand-900/60 to-brand-900/80&quot;}),d.jsx(&quot;div&quot;,{className:&quot;absolute -left-40 -top-40 h-96 w-96 rounded-full bg-brand-700/15 blur-3xl&quot;}),d.jsx(&quot;div&quot;,{className:&quot;absolute -right-40 top-10 h-96 w-96 rounded-full bg-brand-700/10 blur-3xl&quot;})]}),d.jsx(&quot;button&quot;,{onClick:l,className:&quot;absolute left-4 sm:left-6 md:left-8 top-1/2 -translate-y-1/2 z-20 p-2 rounded-full bg-white/10 backdrop-blur-sm hover:bg-white/20 transition-all opacity-60 hover:opacity-100&quot;,&quot;aria-label&quot;:&quot;Image précédente&quot;,children:d.jsx(iL,{className:&quot;w-5 h-5 sm:w-6 sm:h-6 text-white&quot;})}),d.jsx(&quot;button&quot;,{onClick:i,className:&quot;absolute right-4 sm:right-6 md:right-8 top-1/2 -translate-y-1/2 z-20 p-2 rounded-full bg-white/10 backdrop-blur-sm hover:bg-white/20 transition-all opacity-60 hover:opacity-100&quot;,&quot;aria-label&quot;:&quot;Image suivante&quot;,children:d.jsx(aL,{className:&quot;w-5 h-5 sm:w-6 sm:h-6 text-white&quot;})}),d.jsx(&quot;div&quot;,{className:&quot;relative mx-auto max-w-container px-3 sm:px-4 md:px-6 lg:px-8 pt-14 sm:pt-20 w-full min-h-[calc(100vh-100px)] sm:min-h-[calc(100vh-110px)] md:min-h-[calc(100vh-120px)] flex items-center justify-center pb-20 sm:pb-24&quot;,children:d.jsxs(d4.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.6},className:&quot;max-w-4xl text-center&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-xl sm:text-2xl md:text-3xl lg:text-4xl font-heading font-medium leading-relaxed text-surface-0 uppercase tracking-wide&quot;,children:&quot;Mettre fin à la pauvreté de l&#039;Évangile en Afrique.&quot;}),d.jsx(&quot;p&quot;,{className:&quot;mt-4 text-lg sm:text-xl md:text-2xl lg:text-3xl font-heading font-normal leading-relaxed text-surface-0/90&quot;,children:&quot;Sommet Haggai Afrique Francophone Ouaga 2026&quot;}),d.jsx(&quot;div&quot;,{className:&quot;mt-8 sm:mt-10 flex justify-center&quot;,children:d.jsxs(&quot;a&quot;,{href:&quot;/inscription&quot;,className:&quot;inline-flex items-center justify-center gap-2 rounded-lg border-2 border-white bg-white/10 px-6 py-3 sm:px-8 sm:py-3.5 text-sm sm:text-base font-medium text-white uppercase tracking-wider hover:bg-white/20 transition-all focus:outline-none focus:ring-2 focus:ring-white/50 focus:ring-offset-2 focus:ring-offset-transparent&quot;,children:[&quot;S&#039;inscrire&quot;,d.jsx(nb,{className:&quot;h-4 w-4 sm:h-5 sm:w-5&quot;})]})})]})})]}),d.jsx(&quot;div&quot;,{className:&quot;sticky top-[36px] sm:top-[40px] md:top-[44px] z-40 bg-brand-900 w-full py-2 sm:py-2.5 shadow-soft -mt-0&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;mx-auto max-w-container px-4 sm:px-6 lg:px-8 flex justify-between items-center&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 sm:gap-3&quot;,children:[d.jsx(&quot;img&quot;,{src:zg,alt:&quot;Sommet Francophone&quot;,className:&quot;h-7 sm:h-8 md:h-9 w-auto brightness-0 invert&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-surface-0 text-xs sm:text-sm md:text-base font-body font-light tracking-wide&quot;,children:&quot;Sommet Francophone&quot;}),d.jsx(&quot;div&quot;,{className:&quot;flex items-center justify-center w-6 h-6 sm:w-7 sm:h-7 md:w-8 md:h-8 rounded-full bg-surface-0&quot;,children:d.jsx(&quot;span&quot;,{className:&quot;text-brand-900 text-[10px] sm:text-xs md:text-sm font-semibold&quot;,children:&quot;26&quot;})})]}),d.jsx(&quot;a&quot;,{href:&quot;/inscription&quot;,className:&quot;text-surface-0 uppercase text-xs sm:text-sm md:text-base font-medium tracking-wider hover:opacity-90 transition-opacity&quot;,children:&quot;S&#039;inscrire&quot;})]})}),d.jsx(&quot;section&quot;,{className:&quot;bg-surface-0 py-14 md:py-18 lg:py-24&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;max-w-4xl&quot;,children:[d.jsxs(&quot;h2&quot;,{className:&quot;text-4xl sm:text-5xl md:text-6xl lg:text-7xl font-heading font-medium text-ink-900 leading-tight mb-8 sm:mb-12 tracking-wide&quot;,children:[&quot;Sommet Haggai&quot;,d.jsx(&quot;br&quot;,{}),&quot;Francophone&quot;,d.jsx(&quot;br&quot;,{}),&quot;2026&quot;]}),d.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3 sm:gap-4 mb-4 sm:mb-6&quot;,children:[d.jsx(eL,{className:&quot;text-brand-900 flex-shrink-0 w-6 h-6 sm:w-7 sm:h-7 md:w-8 md:h-8 lg:w-9 lg:h-9&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-body font-light text-ink-900 leading-tight&quot;,children:&quot;19-22 novembre 2026&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3 sm:gap-4 mb-12 sm:mb-16&quot;,children:[d.jsx(IL,{className:&quot;text-brand-900 flex-shrink-0 w-5 h-5 sm:w-6 sm:h-6 md:w-7 md:h-7 lg:w-8 lg:h-8&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-body font-light text-ink-900 leading-tight&quot;,children:&quot;Sopatel Silmande Hôtel, Ouagadougou&quot;})]}),d.jsx(&quot;div&quot;,{className:&quot;flex flex-col sm:flex-row gap-4 sm:gap-6&quot;,children:d.jsx(&quot;a&quot;,{href:&quot;/inscription&quot;,className:&quot;inline-flex items-center justify-center rounded-none border-2 border-white bg-brand-700 px-6 py-3 text-sm sm:text-base font-semibold text-white uppercase tracking-wider hover:bg-brand-900 transition-all&quot;,children:&quot;Inscrivez-vous&quot;})})]})})}),d.jsx(&quot;section&quot;,{className:&quot;bg-brand-900 text-surface-0&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6 py-14 md:py-18 lg:py-24&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;mx-auto max-w-3xl text-center&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-xs sm:text-sm md:text-base font-body font-bold uppercase tracking-wider text-brand-700&quot;,children:&quot;Thèmes et contenu&quot;}),d.jsx(&quot;h2&quot;,{className:&quot;mt-3 text-2xl sm:text-3xl md:text-4xl font-heading font-normal tracking-tight&quot;,children:&quot;« L&#039;autonomisation des ministères nationaux comme facteur clé pour mettre fin à la pauvreté de l&#039;exposition à l&#039;Évangile en Afrique francophone. »&quot;}),d.jsx(&quot;p&quot;,{className:&quot;mt-4 text-base sm:text-lg md:text-xl font-body font-extralight leading-relaxed text-surface-0/80&quot;,children:&quot;Des ateliers de réflexion, des partages de meilleures pratiques, réseautage et renforcement des collaborations régionales.&quot;})]})})}),d.jsx(&quot;section&quot;,{id:&quot;speakers&quot;,className:&quot;bg-brand-50 py-14 md:py-18 lg:py-24&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6&quot;,children:[d.jsx(&quot;h2&quot;,{className:&quot;text-2xl sm:text-3xl md:text-4xl font-heading font-medium text-ink-900 leading-tight mb-10 sm:mb-12 tracking-wide uppercase&quot;,children:&quot;INTERVENANTS&quot;}),d.jsx(&quot;div&quot;,{className:&quot;grid grid-cols-2 sm:grid-cols-4 gap-3 sm:gap-4 md:gap-5&quot;,children:rF.slice(0,4).map((o,s)=&gt;d.jsxs(&quot;div&quot;,{className:&quot;flex flex-col items-center text-center&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;relative aspect-[3/4] w-full mb-3 sm:mb-4 overflow-hidden rounded-xl2 shadow-soft&quot;,children:d.jsx(&quot;img&quot;,{src:o.img,alt:o.name,className:&quot;h-full w-full object-cover transition duration-500 hover:scale-[1.05]&quot;,style:{filter:&quot;contrast(1.1) saturate(1.2) brightness(0.95)&quot;},loading:&quot;lazy&quot;})}),d.jsx(&quot;h3&quot;,{className:&quot;text-sm sm:text-base md:text-lg font-body font-semibold text-ink-900 mb-1 leading-tight&quot;,children:o.name}),d.jsx(&quot;p&quot;,{className:&quot;text-xs sm:text-sm font-body font-extralight text-ink-500 leading-relaxed&quot;,children:o.title})]},s))}),d.jsx(&quot;div&quot;,{className:&quot;mt-10 flex justify-center&quot;,children:d.jsxs(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;inline-flex items-center gap-2 rounded-none border-2 border-ink-900 bg-brand-900 px-6 py-3 text-sm sm:text-base font-medium text-surface-0 hover:bg-ink-900 transition-all uppercase tracking-wider&quot;,children:[&quot;Voir tous les intervenants &quot;,d.jsx(nb,{className:&quot;h-4 w-4&quot;})]})})]})}),d.jsx(&quot;section&quot;,{id:&quot;events&quot;,className:&quot;bg-surface-0&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-brand-900 w-full&quot;,style:{width:&quot;100vw&quot;,marginLeft:&quot;calc(50% - 50vw)&quot;,marginRight:&quot;calc(50% - 50vw)&quot;},children:[d.jsx(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6 py-10 sm:py-12&quot;,children:d.jsx(&quot;h2&quot;,{className:&quot;text-2xl sm:text-3xl md:text-4xl font-heading font-medium text-surface-0 leading-tight uppercase tracking-wide&quot;,children:&quot;AUTRES EVENEMENTS&quot;})}),d.jsx(&quot;div&quot;,{className:&quot;space-y-0&quot;,children:tF.map((o,s)=&gt;d.jsx(&quot;div&quot;,{className:&quot;group overflow-hidden&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;relative aspect-video overflow-hidden bg-ink-500 bg-opacity-10&quot;,children:[d.jsx(&quot;img&quot;,{src:o.imageUrl,alt:o.imageAlt,className:&quot;h-full w-full object-cover transition duration-500 group-hover:scale-[1.02] brightness-110&quot;,loading:&quot;lazy&quot;}),d.jsx(&quot;div&quot;,{className:&quot;absolute bottom-0 left-0 right-0 h-1/2 md:h-2/5 bg-gradient-to-t from-brand-900/90 via-brand-900/75 to-brand-900/30 md:via-brand-900/70 md:to-brand-900/40&quot;}),d.jsx(&quot;div&quot;,{className:&quot;absolute bottom-0 left-0 right-0 flex flex-col justify-end text-surface-0 w-full md:w-[90%] md:left-[5%] p-6 md:p-12&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;space-y-3 w-full&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-2xl sm:text-3xl md:text-4xl font-heading font-medium mb-2 drop-shadow-lg&quot;,children:o.title}),d.jsx(&quot;div&quot;,{className:&quot;text-base sm:text-lg md:text-xl font-body font-medium drop-shadow-md space-y-1&quot;,children:o.title===&quot;Séminaire Régional Hybride&quot;?d.jsxs(d.Fragment,{children:[d.jsx(&quot;p&quot;,{children:&quot;Du 22 au 30 oct : Session en ligne&quot;}),d.jsx(&quot;p&quot;,{children:&quot;Du 15 au 19 nov : Présentiel au Burkina Faso&quot;})]}):d.jsx(&quot;p&quot;,{children:o.dateLocation})}),d.jsxs(&quot;div&quot;,{className:&quot;pt-4 flex flex-wrap gap-3&quot;,children:[d.jsx(y4,{href:&quot;/inscription&quot;,className:&quot;px-4 py-2&quot;,children:o.buttonLabel}),o.title===&quot;Séminaire Régional Hybride&quot;&amp;&amp;d.jsx(nF,{href:&quot;/inscription?preselect=recommend&quot;,className:&quot;px-4 py-2&quot;,children:&quot;Recommander&quot;})]})]})})]})},s))})]})}),d.jsx(&quot;section&quot;,{id:&quot;register&quot;,className:&quot;bg-surface-0 py-14 md:py-18 lg:py-24&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;relative overflow-hidden rounded-xl2 bg-brand-900 p-10 shadow-soft ring-1 ring-ink-900/5 sm:p-12&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;absolute -left-24 -top-24 h-72 w-72 rounded-full bg-brand-700/22 blur-3xl&quot;}),d.jsx(&quot;div&quot;,{className:&quot;absolute -right-24 -bottom-24 h-72 w-72 rounded-full bg-brand-700/16 blur-3xl&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;relative mx-auto max-w-2xl text-center text-surface-0&quot;,children:[d.jsx(&quot;h2&quot;,{className:&quot;text-2xl sm:text-3xl md:text-4xl font-heading font-normal tracking-tight&quot;,children:&quot;Prêt à faire accroître votre impact pour la transformation de l&#039;Afrique ?&quot;}),d.jsx(&quot;p&quot;,{className:&quot;mt-4 text-base sm:text-lg md:text-xl font-body font-extralight leading-relaxed text-surface-0/80&quot;,children:&quot;Réservez votre place. Recevez les informations pratiques. Rejoignez la communauté régionale de leaders Haggai pour cet effort commun.&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;mt-7 flex flex-col justify-center gap-3 sm:flex-row&quot;,children:[d.jsx(y4,{href:&quot;/inscription&quot;,children:&quot;S&#039;inscrire maintenant&quot;}),d.jsx(&quot;a&quot;,{href:&quot;/soutenir&quot;,className:&quot;inline-flex items-center justify-center rounded-none border-2 border-surface-0 px-4 py-2 sm:px-6 sm:py-3 text-sm sm:text-base font-medium bg-transparent text-surface-0 hover:bg-surface-0/10 transition-all uppercase tracking-wider&quot;,children:&quot;Soutenir&quot;}),d.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;inline-flex items-center justify-center rounded-none border-2 border-surface-0 px-4 py-2 sm:px-6 sm:py-3 text-sm sm:text-base font-medium bg-transparent text-surface-0 hover:bg-surface-0/10 transition-all uppercase tracking-wider&quot;,children:&quot;Télécharger la brochure&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;mt-8 grid gap-3 sm:grid-cols-[1fr_auto]&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;email&quot;,placeholder:&quot;Votre email pour recevoir les infos&quot;,className:&quot;h-12 w-full rounded-none border-2 border-surface-0/30 bg-surface-0/10 px-4 text-sm sm:text-base font-body font-normal text-surface-0 placeholder:text-surface-0/55 focus:outline-none focus:ring-2 focus:ring-brand-700/60 focus:border-brand-700/50&quot;}),d.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;inline-flex h-12 items-center justify-center rounded-none border-2 border-ink-900 bg-surface-0 px-4 sm:px-5 text-sm sm:text-base font-medium text-ink-900 hover:bg-brand-50 transition-all uppercase tracking-wider&quot;,children:&quot;Recevoir&quot;})]})]})]})})}),d.jsx(&quot;footer&quot;,{className:&quot;border-t border-ink-500/20 bg-brand-900 text-surface-0&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6 py-10&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-3 gap-8 mb-8&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3 mb-3&quot;,children:[d.jsx(&quot;img&quot;,{src:zg,alt:&quot;Sommet Francophone&quot;,className:&quot;h-10 md:h-12 w-auto brightness-0 invert&quot;}),d.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-surface-0&quot;,children:&quot;Sommet Francophone&quot;})]}),d.jsx(&quot;p&quot;,{className:&quot;text-surface-0/80 text-sm sm:text-base font-body font-medium leading-relaxed&quot;,children:&quot;Equiper et inspirer des leaders bien placés pour la transformation de l&#039;Afrique&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;h4&quot;,{className:&quot;text-base sm:text-lg font-body font-semibold mb-4 text-surface-0&quot;,children:&quot;Liens rapides&quot;}),d.jsxs(&quot;ul&quot;,{className:&quot;space-y-2 text-sm sm:text-base text-surface-0/70&quot;,children:[d.jsx(&quot;li&quot;,{children:d.jsx(&quot;a&quot;,{href:&quot;#events&quot;,onClick:a,className:&quot;hover:text-surface-0 transition-colors&quot;,children:&quot;Événements&quot;})}),d.jsx(&quot;li&quot;,{children:d.jsx(&quot;a&quot;,{href:&quot;#speakers&quot;,onClick:u,className:&quot;hover:text-surface-0 transition-colors&quot;,children:&quot;Intervenants&quot;})}),d.jsx(&quot;li&quot;,{children:d.jsx(&quot;a&quot;,{href:&quot;/inscription&quot;,className:&quot;hover:text-surface-0 transition-colors&quot;,children:&quot;Inscription&quot;})}),d.jsx(&quot;li&quot;,{children:d.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;hover:text-surface-0 transition-colors&quot;,children:&quot;Contributions&quot;})})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;h4&quot;,{className:&quot;text-base sm:text-lg font-body font-semibold mb-4 text-surface-0&quot;,children:&quot;Contact&quot;}),d.jsxs(&quot;p&quot;,{className:&quot;text-sm sm:text-base text-surface-0/70&quot;,children:[&quot;Pour toute question, contactez-nous à&quot;,&quot; &quot;,d.jsx(&quot;a&quot;,{href:&quot;mailto:communication@sommetfrancophone.org&quot;,className:&quot;hover:text-surface-0 transition-colors&quot;,children:&quot;communication@sommetfrancophone.org&quot;})]})]})]}),d.jsx(&quot;div&quot;,{className:&quot;pt-8 border-t border-surface-0/20 text-center text-sm sm:text-base text-surface-0/60&quot;,children:d.jsxs(&quot;p&quot;,{children:[&quot;© &quot;,new Date().getFullYear(),&quot; Sommet Francophone. Tous droits réservés.&quot;]})})]})})]})}function sF(){const[e,r]=F.useState(!1);return d.jsxs(&quot;nav&quot;,{className:&quot;bg-brand-700 shadow-soft sticky top-0 z-50&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;mx-auto flex items-center justify-between px-[10%] py-1 sm:py-1.5&quot;,children:[d.jsxs(jr,{to:&quot;/&quot;,className:&quot;flex items-center gap-2 hover:opacity-80 transition-opacity flex-shrink-0 min-w-0&quot;,children:[d.jsx(&quot;img&quot;,{src:&quot;/logoHaggai.avif&quot;,alt:&quot;Sommet Francophone&quot;,className:&quot;h-6 sm:h-7 md:h-8 w-auto flex-shrink-0 brightness-0 invert&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-xs sm:text-sm md:text-base lg:text-lg font-heading font-medium tracking-wide text-surface-0 uppercase truncate&quot;,children:&quot;SOMMET FRANCOPHONE&quot;})]}),d.jsxs(&quot;nav&quot;,{className:&quot;hidden items-center gap-4 sm:gap-6 text-xs sm:text-sm font-light text-surface-0 md:flex&quot;,children:[d.jsx(jr,{to:&quot;/#events&quot;,className:&quot;hover:opacity-80 transition-opacity uppercase&quot;,children:&quot;Événements&quot;}),d.jsx(jr,{to:&quot;/#speakers&quot;,className:&quot;hover:opacity-80 transition-opacity uppercase&quot;,children:&quot;Intervenants&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;hidden md:flex items-center gap-2 sm:gap-3&quot;,children:[d.jsx(jr,{to:&quot;/inscription&quot;,className:&quot;inline-flex items-center justify-center rounded-pill px-4 py-2 text-xs sm:text-sm font-semibold text-ink-900 bg-gold-500 shadow-soft hover:bg-gold-600 transition-all uppercase&quot;,children:&quot;Inscription&quot;}),d.jsx(jr,{to:&quot;/soutenir&quot;,className:&quot;inline-flex items-center justify-center rounded-pill px-4 py-2 text-xs sm:text-sm font-medium bg-brand-900 text-surface-0 shadow-soft hover:bg-ink-900 transition-all uppercase&quot;,children:&quot;Soutenir&quot;}),d.jsx(&quot;div&quot;,{className:&quot;h-6 w-px bg-surface-0/30 mx-1&quot;}),d.jsx(jr,{to:&quot;/login&quot;,className:&quot;inline-flex items-center justify-center rounded-pill px-4 py-2 text-xs sm:text-sm font-medium text-surface-0 hover:opacity-80 transition-opacity uppercase&quot;,children:&quot;Connexion&quot;})]}),d.jsx(&quot;div&quot;,{className:&quot;md:hidden&quot;,children:d.jsx(&quot;button&quot;,{onClick:()=&gt;r(!e),className:&quot;text-surface-0 hover:opacity-80 focus:outline-none&quot;,&quot;aria-label&quot;:&quot;Toggle menu&quot;,children:d.jsx(&quot;svg&quot;,{className:&quot;h-6 w-6&quot;,fill:&quot;none&quot;,strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:&quot;2&quot;,viewBox:&quot;0 0 24 24&quot;,stroke:&quot;currentColor&quot;,children:e?d.jsx(&quot;path&quot;,{d:&quot;M6 18L18 6M6 6l12 12&quot;}):d.jsx(&quot;path&quot;,{d:&quot;M4 6h16M4 12h16M4 18h16&quot;})})})})]}),e&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;md:hidden py-4 px-[10%] space-y-2 border-t border-surface-0/20 bg-brand-700&quot;,children:[d.jsx(jr,{to:&quot;/#events&quot;,className:&quot;block py-2 text-sm font-light text-surface-0 hover:opacity-80 transition-opacity uppercase&quot;,onClick:()=&gt;r(!1),children:&quot;Événements&quot;}),d.jsx(jr,{to:&quot;/#speakers&quot;,className:&quot;block py-2 text-sm font-light text-surface-0 hover:opacity-80 transition-opacity uppercase&quot;,onClick:()=&gt;r(!1),children:&quot;Intervenants&quot;}),d.jsx(jr,{to:&quot;/inscription&quot;,className:&quot;block py-2 text-sm font-light text-surface-0 hover:opacity-80 transition-opacity uppercase&quot;,onClick:()=&gt;r(!1),children:&quot;Inscription&quot;}),d.jsx(jr,{to:&quot;/soutenir&quot;,className:&quot;block py-2 text-sm font-light text-surface-0 hover:opacity-80 transition-opacity uppercase&quot;,onClick:()=&gt;r(!1),children:&quot;Soutenir&quot;}),d.jsx(&quot;div&quot;,{className:&quot;h-px bg-surface-0/20 my-2&quot;}),d.jsx(jr,{to:&quot;/login&quot;,className:&quot;block py-2 text-sm font-light text-surface-0 hover:opacity-80 transition-opacity uppercase&quot;,onClick:()=&gt;r(!1),children:&quot;Connexion&quot;})]})]})}function aF(){return d.jsx(&quot;footer&quot;,{className:&quot;bg-brand-900 text-white mt-auto&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;max-w-container mx-auto px-4 sm:px-6 lg:px-8 py-12&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-3 gap-8&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3 mb-3&quot;,children:[d.jsx(&quot;img&quot;,{src:&quot;/logoHaggai.avif&quot;,alt:&quot;Sommet Francophone&quot;,className:&quot;h-10 md:h-12 w-auto&quot;}),d.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-white&quot;,children:&quot;Sommet Francophone&quot;})]}),d.jsx(&quot;p&quot;,{className:&quot;text-gray-200 text-sm font-medium leading-relaxed&quot;,children:&quot;Former et équiper des leaders pour transformer l&#039;Afrique.&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;h4&quot;,{className:&quot;font-semibold mb-4&quot;,children:&quot;Liens rapides&quot;}),d.jsxs(&quot;ul&quot;,{className:&quot;space-y-2 text-sm text-gray-300&quot;,children:[d.jsx(&quot;li&quot;,{children:d.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;hover:text-white transition-colors&quot;,children:&quot;Événements&quot;})}),d.jsx(&quot;li&quot;,{children:d.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;hover:text-white transition-colors&quot;,children:&quot;Inscription&quot;})}),d.jsx(&quot;li&quot;,{children:d.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;hover:text-white transition-colors&quot;,children:&quot;Contributions&quot;})})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;h4&quot;,{className:&quot;font-semibold mb-4&quot;,children:&quot;Contact&quot;}),d.jsxs(&quot;p&quot;,{className:&quot;text-sm text-gray-300 space-y-2&quot;,children:[d.jsxs(&quot;span&quot;,{className:&quot;block&quot;,children:[&quot;Pour toute question :&quot;,&quot; &quot;,d.jsx(&quot;a&quot;,{href:&quot;mailto:contact@sommetfrancophone.org&quot;,className:&quot;hover:text-white transition-colors&quot;,children:&quot;contact@sommetfrancophone.org&quot;})]}),d.jsxs(&quot;span&quot;,{className:&quot;block&quot;,children:[&quot;Support / communication :&quot;,&quot; &quot;,d.jsx(&quot;a&quot;,{href:&quot;mailto:communication@sommetfrancophone.org&quot;,className:&quot;hover:text-white transition-colors&quot;,children:&quot;communication@sommetfrancophone.org&quot;}),&quot; &quot;,&quot;(+225 05 5427 5725 WhatsApp)&quot;]}),d.jsxs(&quot;span&quot;,{className:&quot;block&quot;,children:[&quot;Questions finance :&quot;,&quot; &quot;,d.jsx(&quot;a&quot;,{href:&quot;mailto:finance@sommetfrancophone.org&quot;,className:&quot;hover:text-white transition-colors&quot;,children:&quot;finance@sommetfrancophone.org&quot;})]})]})]})]}),d.jsx(&quot;div&quot;,{className:&quot;mt-8 pt-8 border-t border-gray-700 text-center text-sm text-gray-400&quot;,children:d.jsxs(&quot;p&quot;,{children:[&quot;© &quot;,new Date().getFullYear(),&quot; Sommet Francophone. Tous droits réservés.&quot;]})})]})})}function Vo({children:e}){return d.jsxs(&quot;div&quot;,{className:&quot;min-h-screen flex flex-col bg-brand-50&quot;,children:[d.jsx(sF,{}),d.jsx(&quot;main&quot;,{className:&quot;flex-1 pt-0&quot;,children:e}),d.jsx(aF,{})]})}const oF=&quot;https://api.sommetfrancophone.org/api&quot;;class Wt extends Error{constructor(r,t,n){super(n||t.message||&quot;Une erreur est survenue&quot;),this.status=r,this.data=t,this.name=&quot;ApiClientError&quot;}}class lF{baseUrl;authToken=null;constructor(r=oF){this.baseUrl=r,typeof window&lt;&quot;u&quot;&amp;&amp;(this.authToken=localStorage.getItem(&quot;auth_token&quot;))}setAuthToken(r){this.authToken=r,r&amp;&amp;typeof window&lt;&quot;u&quot;?localStorage.setItem(&quot;auth_token&quot;,r):typeof window&lt;&quot;u&quot;&amp;&amp;localStorage.removeItem(&quot;auth_token&quot;)}getAuthToken(){if(this.authToken)return this.authToken;if(typeof window&lt;&quot;u&quot;){const r=localStorage.getItem(&quot;auth_token&quot;);return r&amp;&amp;(this.authToken=r),r}return null}buildUrl(r,t){let n;if(this.baseUrl.startsWith(&quot;/&quot;)){const l=this.baseUrl.endsWith(&quot;/&quot;)?this.baseUrl.slice(0,-1):this.baseUrl,i=r.startsWith(&quot;/&quot;)?r:`/${r}`;n=`${l}${i}`}else{const l=this.baseUrl.endsWith(&quot;/&quot;)?this.baseUrl.slice(0,-1):this.baseUrl;r.startsWith(&quot;/&quot;)?n=`${l}${r}`:n=new URL(r,`${l}/`).toString()}if(t&amp;&amp;Object.keys(t).length&gt;0){const l=[];if(Object.entries(t).forEach(([i,a])=&gt;{a!=null&amp;&amp;(Array.isArray(a)?a.forEach(u=&gt;{l.push(`${encodeURIComponent(i)}[]=${encodeURIComponent(String(u))}`)}):l.push(`${encodeURIComponent(i)}=${encodeURIComponent(String(a))}`))}),l.length&gt;0){const i=n.includes(&quot;?&quot;)?&quot;&amp;&quot;:&quot;?&quot;;n=`${n}${i}${l.join(&quot;&amp;&quot;)}`}}return n}async request(r,t={}){const{params:n,requireAuth:l=!1,unwrapResponse:i=!0,headers:a={},...u}=t,o=this.buildUrl(r,n),s=u.body instanceof FormData,c={Accept:&quot;application/json&quot;};if(s||(c[&quot;Content-Type&quot;]=&quot;application/json&quot;),typeof crypto&lt;&quot;u&quot;&amp;&amp;crypto.randomUUID&amp;&amp;(c[&quot;X-Request-ID&quot;]=crypto.randomUUID()),l){const h=this.getAuthToken();h&amp;&amp;(c.Authorization=`Bearer ${h}`)}const f={...c,...a};s&amp;&amp;&quot;Content-Type&quot;in f&amp;&amp;delete f[&quot;Content-Type&quot;];try{let h=u.body;const m=Array.isArray(f)?f.find(x=&gt;x[0]===&quot;Content-Type&quot;)?.[1]:f[&quot;Content-Type&quot;];if(h&amp;&amp;typeof h==&quot;string&quot;&amp;&amp;m?.includes(&quot;application/json&quot;))try{JSON.parse(h)}catch{console.error(&quot;Body JSON invalide:&quot;,h)}const p=await fetch(o,{...u,body:h,headers:f});if(p.status===204)return null;const v=p.headers.get(&quot;content-type&quot;),g=v&amp;&amp;v.includes(&quot;application/json&quot;);let b;if(g)try{const x=await p.text();!x||x.trim()===&quot;&quot;?b={}:b=JSON.parse(x)}catch{throw new Wt(p.status,{message:&quot;Réponse invalide du serveur&quot;},&quot;Le serveur a retourné une réponse invalide&quot;)}else b={message:await p.text()||`HTTP ${p.status}: ${p.statusText}`};if(!p.ok){const x={message:b.message||`HTTP ${p.status}: ${p.statusText}`,errors:b.errors||void 0,...b.existing_registration_id!==void 0&amp;&amp;{existing_registration_id:b.existing_registration_id},...b.status!==void 0&amp;&amp;{status:b.status}};throw new Wt(p.status,x,x.message)}return r.includes(&quot;/auth/login&quot;)||r.includes(&quot;/auth/register&quot;)||r.includes(&quot;/auth/activate&quot;)?b:r.includes(&quot;/auth/me&quot;)?b.user||b:(r.includes(&quot;/admin/registrations&quot;)||r.includes(&quot;/admin/recommendations&quot;)||r.includes(&quot;/admin/users&quot;)||r.includes(&quot;/admin/audit-logs&quot;)||r.includes(&quot;/finance/debtors&quot;)||r.includes(&quot;/finance/confirmed-payments&quot;))&amp;&amp;(b.meta!==void 0||b.data!==void 0)||!i?b:b.data!==void 0?b.data:b}catch(h){throw h instanceof Wt?h:h instanceof TypeError&amp;&amp;h.message.includes(&quot;fetch&quot;)?new Wt(0,{message:&quot;Erreur de connexion au serveur&quot;},&quot;Impossible de se connecter au serveur&quot;):new Wt(500,{message:&quot;Une erreur inattendue est survenue&quot;},h instanceof Error?h.message:&quot;Erreur inconnue&quot;)}}async get(r,t){return this.request(r,{...t,method:&quot;GET&quot;})}async getAsBlob(r,t){const n=this.buildUrl(r,t?.params),l={Accept:&quot;text/csv&quot;};t?.requireAuth!==!1&amp;&amp;this.getAuthToken()&amp;&amp;(l.Authorization=`Bearer ${this.getAuthToken()}`);const i=await fetch(n,{method:&quot;GET&quot;,headers:l});if(!i.ok){const a=await i.text();let u;try{u=JSON.parse(a)}catch{u={message:a||`HTTP ${i.status}`}}throw new Wt(i.status,u,u.message)}return i.blob()}async post(r,t,n){return this.request(r,{...n,method:&quot;POST&quot;,body:t?JSON.stringify(t):void 0})}async postForm(r,t,n){return this.request(r,{...n,method:&quot;POST&quot;,body:t})}async put(r,t,n){return this.request(r,{...n,method:&quot;PUT&quot;,body:t?JSON.stringify(t):void 0})}async patch(r,t,n){return this.request(r,{...n,method:&quot;PATCH&quot;,body:t?JSON.stringify(t):void 0})}async delete(r,t){return this.request(r,{...t,method:&quot;DELETE&quot;})}}const We=new lF,r1={async list(e){const r=await We.get(&quot;/events&quot;,{params:e});return Array.isArray(r)?r:r?.data&amp;&amp;Array.isArray(r.data)?r.data:[]},async getBySlug(e){return We.get(`/events/${e}`)},async getPricingPlans(e){return We.get(`/events/${e}/plans`)},async getSettings(e){return(await We.get(`/events/${e}/settings`)).settings||{}}},n1={async create(e,r){try{return await We.post(`/public/events/${e}/registrations`,r)}catch(t){throw t.status===409,t}},async verify(e){return We.get(`/public/registrations/verify/${e}`)},async resendVerification(e){const r={};return typeof e==&quot;number&quot;?r.registration_id=e:r.email=e,We.post(&quot;/public/registrations/resend-verification&quot;,r)}},b4={async create(e){return await We.post(&quot;/public/recommendations&quot;,e)}},Ri={async login(e){const r=await We.post(&quot;/auth/login&quot;,e);return r&amp;&amp;r.token&amp;&amp;We.setAuthToken(r.token),r},async register(e){const r=await We.post(&quot;/auth/register&quot;,e);return r.token&amp;&amp;We.setAuthToken(r.token),r},async logout(){try{await We.post(&quot;/auth/logout&quot;,void 0,{requireAuth:!0})}catch(e){if(!(e instanceof Wt&amp;&amp;e.status===401))throw e}finally{We.setAuthToken(null)}},async me(){try{return await We.get(&quot;/auth/me&quot;,{requireAuth:!0})}catch(e){throw e instanceof Wt&amp;&amp;e.status===401&amp;&amp;We.setAuthToken(null),e}},async checkActivation(e){return We.get(&quot;/auth/activate/check&quot;,{params:{token:e.trim()}})},async activate(e){const r=await We.post(&quot;/auth/activate&quot;,e);return r?.token&amp;&amp;We.setAuthToken(r.token),r},isAuthenticated(){return We.getAuthToken()!==null}};function ub(e){return e.status===&quot;draft&quot;?!1:!!e.user?.id}const eo={async list(e={}){const r={};return e.event_id&amp;&amp;(r.event_id=e.event_id),e.event_type&amp;&amp;(r.event_type=e.event_type),e.status&amp;&amp;(Array.isArray(e.status)?r.status=e.status:r.status=[e.status]),e.q&amp;&amp;(r.q=e.q),e.created_from&amp;&amp;(r.created_from=e.created_from),e.created_to&amp;&amp;(r.created_to=e.created_to),e.page&amp;&amp;(r.page=e.page),e.per_page&amp;&amp;(r.per_page=e.per_page),We.get(&quot;/admin/registrations&quot;,{params:r,requireAuth:!0})},async get(e){return We.get(`/admin/registrations/${e}`,{requireAuth:!0})},async getStats(e={}){const r={};return e.event_id&amp;&amp;(r.event_id=e.event_id),e.event_type&amp;&amp;(r.event_type=e.event_type),e.created_from&amp;&amp;(r.created_from=e.created_from),e.created_to&amp;&amp;(r.created_to=e.created_to),We.get(&quot;/admin/registrations/stats&quot;,{params:r,requireAuth:!0})},async updateStatus(e,r){return We.patch(`/admin/registrations/${e}/status`,r,{requireAuth:!0})},async update(e,r){return We.put(`/admin/registrations/${e}`,r,{requireAuth:!0})},async delete(e){return We.delete(`/admin/registrations/${e}`,{requireAuth:!0})},async resendActivationEmail(e){return We.post(`/admin/registrations/${e}/resend-activation-email`,{},{requireAuth:!0})},async resetParticipantPassword(e,r){return We.post(`/admin/registrations/${e}/reset-participant-password`,r,{requireAuth:!0})}},Iu={async list(e={}){return await We.get(&quot;/admin/recommendations&quot;,{params:e,requireAuth:!0})},async show(e){return await We.get(`/admin/recommendations/${e}`,{requireAuth:!0})},async updateStatus(e,r){return await We.patch(`/admin/recommendations/${e}/status`,r,{requireAuth:!0})},async sendEmail(e,r){return await We.post(`/admin/recommendations/${e}/send-email`,r,{requireAuth:!0})},async delete(e){await We.delete(`/admin/recommendations/${e}`,{requireAuth:!0})}},R8={async changePassword(e){return We.post(&quot;/account/change-password&quot;,e,{requireAuth:!0})}},db=[&quot;SUPER_ADMIN&quot;,&quot;COMMISSION_ADMINISTRATION&quot;,&quot;COMMISSION_FINANCE&quot;,&quot;COMMISSION_COMMUNICATION&quot;,&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;,&quot;COMMISSARIAT_GENERAL&quot;],yh=[...db,&quot;participant&quot;,&quot;guest&quot;],cF=yh,fb={SUPER_ADMIN:&quot;Super Admin&quot;,COMMISSION_ADMINISTRATION:&quot;Commission Administration&quot;,COMMISSION_FINANCE:&quot;Commission Finance&quot;,COMMISSION_COMMUNICATION:&quot;Commission Communication&quot;,COMMISSION_SEMINAIRE_REGIONAL:&quot;Commission Séminaire régional&quot;,COMMISSARIAT_GENERAL:&quot;Commissariat général&quot;,participant:&quot;Participant&quot;,guest:&quot;Invité&quot;},uF={COMMISSION_FINANCE_SOMMET:fb.COMMISSION_FINANCE,COMMISSION_FINANCE_SEMINAIRE:&quot;Commission Finance Séminaire&quot;,COMMISSION_ADMINISTRATION_SOMMET:fb.COMMISSION_ADMINISTRATION,COMMISSION_ADMINISTRATION_SEMINAIRE:&quot;Commission Administration Séminaire&quot;};function Bh(e){return fb[e]??uF[e]??e}const dF={COMMISSION_FINANCE_SOMMET:&quot;COMMISSION_FINANCE&quot;,COMMISSION_FINANCE_SEMINAIRE:&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;,COMMISSION_ADMINISTRATION_SOMMET:&quot;COMMISSION_ADMINISTRATION&quot;,COMMISSION_ADMINISTRATION_SEMINAIRE:&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;};function x4(e){return dF[e]??e}const to={async list(e={}){const r={};return e.page!=null&amp;&amp;(r.page=e.page),e.per_page!=null&amp;&amp;(r.per_page=e.per_page),e.role&amp;&amp;(r.role=e.role),e.q&amp;&amp;(r.q=e.q),We.get(&quot;/admin/users&quot;,{params:r,requireAuth:!0})},async get(e){return We.get(`/admin/users/${e}`,{requireAuth:!0})},async create(e){return We.post(&quot;/admin/users&quot;,e,{requireAuth:!0})},async update(e,r){return We.put(`/admin/users/${e}`,r,{requireAuth:!0})},async delete(e){return We.delete(`/admin/users/${e}`,{requireAuth:!0})},async setDeactivated(e,r){return We.patch(`/admin/users/${e}/deactivated`,{deactivated:r},{requireAuth:!0})},async sendActivation(e){return We.post(`/admin/users/${e}/send-activation`,void 0,{requireAuth:!0})},async resetPassword(e,r){return We.post(`/admin/users/${e}/reset-password`,r,{requireAuth:!0})}},$g=&quot;https://api.sommetfrancophone.org/api&quot;;async function fF(){const e=await We.get(&quot;/registrations/me&quot;,{requireAuth:!0});return Array.isArray(e)?e:e?.data??[]}async function hF(e,r){return We.post(`/registrations/${e}/payments/sycapay/init`,r,{requireAuth:!0,unwrapResponse:!1})}async function mF(e,r){return We.post(`/registrations/${e}/payments/sycapay/open-amount/init`,r,{requireAuth:!0,unwrapResponse:!1})}function D8(e,r){const t=[];return e.error===&quot;provider_refused&quot;?t.push(&quot;Le prestataire a refusé le paiement.&quot;):e.error===&quot;technical_or_incomplete&quot;?t.push(&quot;Le paiement n’a pas pu être finalisé côté prestataire.&quot;):e.error===&quot;internal_exception&quot;&amp;&amp;t.push(&quot;Une erreur technique est survenue.&quot;),e.technical_error&amp;&amp;t.push(`(${e.technical_error})`),t.length&gt;0?t.join(&quot; &quot;):r}function pF(e){const r=e.data?.code,t=e.data?.message;return r===&quot;open_amount_exceeds_balance&quot;?t??&quot;Le montant dépasse le solde restant.&quot;:r===&quot;open_amount_registration_blocked&quot;?t??&quot;Un autre paiement est en cours ou en vérification pour cette inscription.&quot;:r===&quot;amount_invalid&quot;?t??&quot;Montant invalide.&quot;:r===&quot;nothing_to_pay&quot;?t??&quot;Aucun solde à payer.&quot;:t??e.message}async function w4(e,r,t){return We.get(`/registrations/${e}/payments/${r}/status`,{requireAuth:!0,params:t?.refresh?{refresh:1}:void 0})}async function gF(e,r){const n=`${$g.endsWith(&quot;/&quot;)?$g.slice(0,-1):$g}/receipts/${e}/download`,l=typeof window&lt;&quot;u&quot;?localStorage.getItem(&quot;auth_token&quot;):null,i=await fetch(n,{headers:{Accept:&quot;application/pdf&quot;,...l&amp;&amp;{Authorization:`Bearer ${l}`}}});if(!i.ok){const o=await i.json().catch(()=&gt;({message:i.statusText}));throw{status:i.status,data:o}}const a=await i.blob(),u=document.createElement(&quot;a&quot;);u.href=URL.createObjectURL(a),u.download=r||`receipt-${e}.pdf`,u.click(),URL.revokeObjectURL(u.href)}const Ga={async list(e={}){const r={};return e.event_id!==void 0&amp;&amp;e.event_id!==&quot;&quot;&amp;&amp;(r.event_id=e.event_id),We.get(&quot;/admin/treasury-accounts&quot;,{params:r,requireAuth:!0})},async create(e){return We.post(&quot;/admin/treasury-accounts&quot;,e,{requireAuth:!0})},async update(e,r){return We.put(`/admin/treasury-accounts/${e}`,r,{requireAuth:!0})},async delete(e){return We.delete(`/admin/treasury-accounts/${e}`,{requireAuth:!0})}},Ya={async list(e={}){const r={};e.event_type&amp;&amp;(r.event_type=e.event_type);const t=await We.get(&quot;/admin/budget-categories&quot;,{params:r,requireAuth:!0});return Array.isArray(t)?t:t?.data??[]},async create(e){const r=await We.post(&quot;/admin/budget-categories&quot;,e,{requireAuth:!0});return r?.data??r},async update(e,r){const t=await We.put(`/admin/budget-categories/${e}`,r,{requireAuth:!0});return t?.data??t},async delete(e){await We.delete(`/admin/budget-categories/${e}`,{requireAuth:!0})}},hb={list(e={}){return We.get(&quot;/admin/audit-logs&quot;,{requireAuth:!0,params:e})},async exportCsv(e={}){const r={};e.date_from&amp;&amp;(r.date_from=e.date_from),e.date_to&amp;&amp;(r.date_to=e.date_to),e.action&amp;&amp;(r.action=e.action),e.subject_type&amp;&amp;(r.subject_type=e.subject_type),e.user_id!=null&amp;&amp;(r.user_id=e.user_id);const t=await We.getAsBlob(&quot;/admin/audit-logs/export&quot;,{params:r,requireAuth:!0}),n=URL.createObjectURL(t),l=document.createElement(&quot;a&quot;);l.href=n,l.download=`audit-logs-${new Date().toISOString().slice(0,10)}.csv`,l.click(),URL.revokeObjectURL(n)},async purge(e){return await We.post(&quot;/admin/audit-logs/purge&quot;,{before:e},{requireAuth:!0})}},Fo={async list(e){const r=await We.get(`/finance/events/${e}/budget-lines`,{requireAuth:!0}),t=r?.data??r;return Array.isArray(t)?t:[]},async create(e,r){const t=await We.post(`/finance/events/${e}/budget-lines`,r,{requireAuth:!0});return t?.data??t},async update(e,r){const t=await We.put(`/finance/budget-lines/${e}`,r,{requireAuth:!0});return t?.data??t},async delete(e){await We.delete(`/finance/budget-lines/${e}`,{requireAuth:!0})},async moveUp(e){await We.post(`/finance/budget-lines/${e}/move-up`,{},{requireAuth:!0})},async moveDown(e){await We.post(`/finance/budget-lines/${e}/move-down`,{},{requireAuth:!0})}},Ug={async list(e){const r=await We.get(&quot;/finance/expenses&quot;,{params:{event_id:e},requireAuth:!0}),t=r?.data??r;return Array.isArray(t)?t:[]},async create(e){const r=await We.post(&quot;/finance/expenses&quot;,e,{requireAuth:!0});return r?.data??r},async update(e,r){const t=await We.put(`/finance/expenses/${e}`,r,{requireAuth:!0});return t?.data??t},async delete(e){await We.delete(`/finance/expenses/${e}`,{requireAuth:!0})}},Vg={async storePublic(e){return We.post(&quot;/public/donations&quot;,e,{requireAuth:!1})},async store(e){return We.post(&quot;/donations&quot;,e,{requireAuth:!0})},async initPublicSycaPay(e,r){return We.post(`/public/donations/${e}/sycapay/init`,r,{requireAuth:!1,unwrapResponse:!1})},async initAuthenticatedSycaPay(e,r){return We.post(`/donations/${e}/sycapay/init`,r,{requireAuth:!0,unwrapResponse:!1})}};async function vF(e,r,t){const n={};return t?.refresh&amp;&amp;(n.refresh=1),t?.donorEmail&amp;&amp;(n.donor_email=t.donorEmail),We.get(`/public/donations/${e}/payments/${r}/status`,{requireAuth:!1,params:Object.keys(n).length?n:void 0})}const qg=&quot;https://api.sommetfrancophone.org/api&quot;;async function yF(e,r){const t=qg.endsWith(&quot;/&quot;)?qg.slice(0,-1):qg,n=r?`?donor_email=${encodeURIComponent(r)}`:&quot;&quot;,l=`${t}/public/donations/${e}/receipt/download${n}`,i=await fetch(l,{method:&quot;GET&quot;,headers:{Accept:&quot;application/pdf&quot;}});if(!i.ok){let f={};try{f=await i.json()}catch{}throw new Wt(i.status,{message:f.message||i.statusText})}const a=i.headers.get(&quot;Content-Disposition&quot;);let u=`recu-don-${e}.pdf`;const o=a?.match(/filename=&quot;?([^&quot;;]+)&quot;?/i);o?.[1]&amp;&amp;(u=o[1]);const s=await i.blob(),c=document.createElement(&quot;a&quot;);c.href=URL.createObjectURL(s),c.download=u,c.click(),URL.revokeObjectURL(c.href)}function bF(e){if(!(e instanceof Wt))return e instanceof Error&amp;&amp;e.message?e.message:&quot;Une erreur est survenue.&quot;;const r=e.data?.code,t=e.data?.message??e.message;return r===&quot;donation_not_awaiting_payment&quot;?t||&quot;Ce don n’est pas en attente de paiement en ligne.&quot;:r===&quot;donation_gateway_active_duplicate&quot;?t||&quot;Un paiement est déjà en cours pour ce don.&quot;:r===&quot;donor_email_mismatch&quot;?t||&quot;L’email ne correspond pas au don.&quot;:r===&quot;idempotency_key_conflict&quot;||r===&quot;idempotency_key_reused&quot;?t||&quot;Conflit de clé d’idempotence.&quot;:t}async function L8(){return We.get(&quot;/public/sycapay/availability&quot;)}function Um(e){const[r,t]=F.useState([]),[n,l]=F.useState(!0),[i,a]=F.useState(null),u=async()=&gt;{l(!0),a(null);try{const o=await r1.list(e);t(o)}catch(o){a(o)}finally{l(!1)}};return F.useEffect(()=&gt;{u()},[e?.mode,e?.type]),{events:r,loading:n,error:i,refetch:u}}function F8(e){const[r,t]=F.useState([]),[n,l]=F.useState(!0),[i,a]=F.useState(null),u=async()=&gt;{if(!e){l(!1);return}l(!0),a(null);try{const o=await r1.getPricingPlans(e);t(o)}catch(o){a(o)}finally{l(!1)}};return F.useEffect(()=&gt;{u()},[e]),{plans:r,loading:n,error:i,refetch:u}}function xF(e={},r=!0){const[t,n]=F.useState(null),[l,i]=F.useState(!0),[a,u]=F.useState(null),o=F.useCallback(async()=&gt;{if(!r){i(!1);return}i(!0),u(null);try{const s=await eo.list(e);n(s)}catch(s){u(s)}finally{i(!1)}},[e.event_id,e.status,e.q,e.created_from,e.created_to,e.page,e.per_page,r]);return F.useEffect(()=&gt;{o()},[o]),{data:t,loading:l,error:a,refetch:o}}function wF(e={},r=!0){const[t,n]=F.useState(null),[l,i]=F.useState(!0),[a,u]=F.useState(null),o=F.useCallback(async()=&gt;{if(!r){i(!1);return}i(!0),u(null);try{const s=await eo.getStats(e);n(s)}catch(s){u(s)}finally{i(!1)}},[e.event_id,e.event_type,e.created_from,e.created_to,r]);return F.useEffect(()=&gt;{o()},[o]),{data:t,loading:l,error:a,refetch:o}}function _F(e={},r=!0){const[t,n]=F.useState(null),[l,i]=F.useState(r),[a,u]=F.useState(null),o=F.useCallback(async()=&gt;{if(!r){i(!1);return}i(!0),u(null);try{const s=await Iu.list(e);n(s)}catch(s){s instanceof Wt?u(s):u(new Wt(500,{message:&quot;Une erreur inattendue est survenue&quot;},&quot;Erreur inconnue&quot;)),n(null)}finally{i(!1)}},[r,e.event_id,e.status,e.q,e.created_from,e.created_to,e.page,e.per_page]);return F.useEffect(()=&gt;{o()},[o]),{data:t,loading:l,error:a,refetch:o}}function jF(e={},r=!0){const[t,n]=F.useState(null),[l,i]=F.useState(!0),[a,u]=F.useState(null),o=F.useCallback(async()=&gt;{if(!r){i(!1);return}i(!0),u(null);try{const s=await to.list(e);n(s)}catch(s){u(s)}finally{i(!1)}},[e.page,e.per_page,e.role,e.q,r]);return F.useEffect(()=&gt;{o()},[o]),{data:t,loading:l,error:a,refetch:o}}function SF(e,r){const[t,n]=F.useState(null),[l,i]=F.useState(!1),[a,u]=F.useState(null),o=F.useCallback(()=&gt;{i(!0),u(null),hb.list(e).then(n).catch(s=&gt;u(s?.data?.message??&quot;Erreur lors du chargement du journal d&#039;audit.&quot;)).finally(()=&gt;i(!1))},[r,JSON.stringify(e)]);return F.useEffect(()=&gt;{o()},[o]),{data:t,loading:l,error:a,refetch:o}}const kF=new Set([&quot;SUPER_ADMIN&quot;,&quot;COMMISSION_ADMINISTRATION&quot;,&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;,&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;,&quot;COMMISSION_FINANCE&quot;,&quot;COMMISSION_FINANCE_SOMMET&quot;,&quot;COMMISSION_FINANCE_SEMINAIRE&quot;,&quot;COMMISSION_COMMUNICATION&quot;,&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;,&quot;COMMISSARIAT_GENERAL&quot;]);function NF(e){return typeof e==&quot;string&quot;?e:e.name}function CF(e){return typeof e==&quot;string&quot;?e:e.name}function Ps(){const[e,r]=F.useState(null),[t,n]=F.useState(!0),[l,i]=F.useState(null),a=async()=&gt;{if(!Ri.isAuthenticated())return r(null),n(!1),null;n(!0),i(null);try{const p=await Ri.me();return r(p),p}catch(p){return i(p),r(null),null}finally{n(!1)}};F.useEffect(()=&gt;{a()},[]),F.useEffect(()=&gt;{const p=()=&gt;{Ri.isAuthenticated()?a():(r(null),n(!1))};window.addEventListener(&quot;storage&quot;,p);const v=setInterval(()=&gt;{!Ri.isAuthenticated()&amp;&amp;e&amp;&amp;(r(null),n(!1))},1e3);return()=&gt;{window.removeEventListener(&quot;storage&quot;,p),clearInterval(v)}},[e]);const u=F.useMemo(()=&gt;(e?.roles??[]).map(NF),[e?.roles]),o=F.useMemo(()=&gt;(e?.permissions??[]).map(CF),[e?.permissions]),s=F.useMemo(()=&gt;u.some(p=&gt;kF.has(p)),[u]),c=F.useMemo(()=&gt;u.includes(&quot;participant&quot;)&amp;&amp;!s,[u,s]),f=F.useMemo(()=&gt;p=&gt;u.includes(&quot;SUPER_ADMIN&quot;)?!0:o.includes(p),[u,o]),h=s,m=f(&quot;payments.read&quot;)||f(&quot;batches.read&quot;);return{user:e,loading:t,error:l,isAuthenticated:!!e,isAdmin:h,isTreasurer:m,roles:u,permissions:o,canAccessAdmin:s,isParticipant:c,can:f,refetch:a}}const Le=F.forwardRef(function({variant:r=&quot;primary&quot;,children:t,className:n=&quot;&quot;,...l},i){const a=&quot;px-6 py-3 rounded-none font-medium transition-all duration-200 disabled:opacity-50 disabled:cursor-not-allowed uppercase tracking-wider border-2&quot;,u={primary:&quot;bg-brand-700 text-white border-2 border-brand-900 hover:bg-brand-900 font-semibold&quot;,secondary:&quot;border-white bg-transparent text-surface-0 hover:bg-white/10&quot;,outline:&quot;border-2 border-brand-900 text-brand-900 bg-transparent hover:bg-brand-900 hover:text-surface-0&quot;,ghost:&quot;border-transparent text-ink-900 hover:bg-brand-50&quot;};return d.jsx(&quot;button&quot;,{ref:i,className:`${a} ${u[r]} ${n}`,...l,children:t})}),_4=&quot;sommet-haggai-franco-2026&quot;,Hg=&quot;seminaire-regional-hybride-2026&quot;,EF=e=&gt;{if(!e||e===&quot;XX&quot;)return&quot;&quot;;try{const r=e.toUpperCase().split(&quot;&quot;).map(t=&gt;127397+t.charCodeAt(0));return String.fromCodePoint(...r)}catch{return&quot;&quot;}},qf=[{name:&quot;Afghanistan&quot;,code:&quot;AF&quot;,dialCode:&quot;+93&quot;},{name:&quot;Afrique du Sud&quot;,code:&quot;ZA&quot;,dialCode:&quot;+27&quot;},{name:&quot;Albanie&quot;,code:&quot;AL&quot;,dialCode:&quot;+355&quot;},{name:&quot;Algérie&quot;,code:&quot;DZ&quot;,dialCode:&quot;+213&quot;},{name:&quot;Allemagne&quot;,code:&quot;DE&quot;,dialCode:&quot;+49&quot;},{name:&quot;Andorre&quot;,code:&quot;AD&quot;,dialCode:&quot;+376&quot;},{name:&quot;Angola&quot;,code:&quot;AO&quot;,dialCode:&quot;+244&quot;},{name:&quot;Antigua-et-Barbuda&quot;,code:&quot;AG&quot;,dialCode:&quot;+1-268&quot;},{name:&quot;Arabie saoudite&quot;,code:&quot;SA&quot;,dialCode:&quot;+966&quot;},{name:&quot;Argentine&quot;,code:&quot;AR&quot;,dialCode:&quot;+54&quot;},{name:&quot;Arménie&quot;,code:&quot;AM&quot;,dialCode:&quot;+374&quot;},{name:&quot;Australie&quot;,code:&quot;AU&quot;,dialCode:&quot;+61&quot;},{name:&quot;Autriche&quot;,code:&quot;AT&quot;,dialCode:&quot;+43&quot;},{name:&quot;Azerbaïdjan&quot;,code:&quot;AZ&quot;,dialCode:&quot;+994&quot;},{name:&quot;Bahamas&quot;,code:&quot;BS&quot;,dialCode:&quot;+1-242&quot;},{name:&quot;Bahreïn&quot;,code:&quot;BH&quot;,dialCode:&quot;+973&quot;},{name:&quot;Bangladesh&quot;,code:&quot;BD&quot;,dialCode:&quot;+880&quot;},{name:&quot;Barbade&quot;,code:&quot;BB&quot;,dialCode:&quot;+1-246&quot;},{name:&quot;Belgique&quot;,code:&quot;BE&quot;,dialCode:&quot;+32&quot;},{name:&quot;Belize&quot;,code:&quot;BZ&quot;,dialCode:&quot;+501&quot;},{name:&quot;Bénin&quot;,code:&quot;BJ&quot;,dialCode:&quot;+229&quot;},{name:&quot;Bhoutan&quot;,code:&quot;BT&quot;,dialCode:&quot;+975&quot;},{name:&quot;Biélorussie&quot;,code:&quot;BY&quot;,dialCode:&quot;+375&quot;},{name:&quot;Birmanie&quot;,code:&quot;MM&quot;,dialCode:&quot;+95&quot;},{name:&quot;Bolivie&quot;,code:&quot;BO&quot;,dialCode:&quot;+591&quot;},{name:&quot;Bosnie-Herzégovine&quot;,code:&quot;BA&quot;,dialCode:&quot;+387&quot;},{name:&quot;Botswana&quot;,code:&quot;BW&quot;,dialCode:&quot;+267&quot;},{name:&quot;Brésil&quot;,code:&quot;BR&quot;,dialCode:&quot;+55&quot;},{name:&quot;Brunei&quot;,code:&quot;BN&quot;,dialCode:&quot;+673&quot;},{name:&quot;Bulgarie&quot;,code:&quot;BG&quot;,dialCode:&quot;+359&quot;},{name:&quot;Burkina Faso&quot;,code:&quot;BF&quot;,dialCode:&quot;+226&quot;},{name:&quot;Burundi&quot;,code:&quot;BI&quot;,dialCode:&quot;+257&quot;},{name:&quot;Cambodge&quot;,code:&quot;KH&quot;,dialCode:&quot;+855&quot;},{name:&quot;Cameroun&quot;,code:&quot;CM&quot;,dialCode:&quot;+237&quot;},{name:&quot;Canada&quot;,code:&quot;CA&quot;,dialCode:&quot;+1&quot;},{name:&quot;Cap-Vert&quot;,code:&quot;CV&quot;,dialCode:&quot;+238&quot;},{name:&quot;Chili&quot;,code:&quot;CL&quot;,dialCode:&quot;+56&quot;},{name:&quot;Chine&quot;,code:&quot;CN&quot;,dialCode:&quot;+86&quot;},{name:&quot;Chypre&quot;,code:&quot;CY&quot;,dialCode:&quot;+357&quot;},{name:&quot;Colombie&quot;,code:&quot;CO&quot;,dialCode:&quot;+57&quot;},{name:&quot;Comores&quot;,code:&quot;KM&quot;,dialCode:&quot;+269&quot;},{name:&quot;Congo&quot;,code:&quot;CG&quot;,dialCode:&quot;+242&quot;},{name:&quot;Corée du Nord&quot;,code:&quot;KP&quot;,dialCode:&quot;+850&quot;},{name:&quot;Corée du Sud&quot;,code:&quot;KR&quot;,dialCode:&quot;+82&quot;},{name:&quot;Costa Rica&quot;,code:&quot;CR&quot;,dialCode:&quot;+506&quot;},{name:&quot;Côte d&#039;Ivoire&quot;,code:&quot;CI&quot;,dialCode:&quot;+225&quot;},{name:&quot;Croatie&quot;,code:&quot;HR&quot;,dialCode:&quot;+385&quot;},{name:&quot;Cuba&quot;,code:&quot;CU&quot;,dialCode:&quot;+53&quot;},{name:&quot;Danemark&quot;,code:&quot;DK&quot;,dialCode:&quot;+45&quot;},{name:&quot;Djibouti&quot;,code:&quot;DJ&quot;,dialCode:&quot;+253&quot;},{name:&quot;Dominique&quot;,code:&quot;DM&quot;,dialCode:&quot;+1-767&quot;},{name:&quot;Égypte&quot;,code:&quot;EG&quot;,dialCode:&quot;+20&quot;},{name:&quot;Émirats arabes unis&quot;,code:&quot;AE&quot;,dialCode:&quot;+971&quot;},{name:&quot;Équateur&quot;,code:&quot;EC&quot;,dialCode:&quot;+593&quot;},{name:&quot;Érythrée&quot;,code:&quot;ER&quot;,dialCode:&quot;+291&quot;},{name:&quot;Espagne&quot;,code:&quot;ES&quot;,dialCode:&quot;+34&quot;},{name:&quot;Estonie&quot;,code:&quot;EE&quot;,dialCode:&quot;+372&quot;},{name:&quot;États-Unis&quot;,code:&quot;US&quot;,dialCode:&quot;+1&quot;},{name:&quot;Éthiopie&quot;,code:&quot;ET&quot;,dialCode:&quot;+251&quot;},{name:&quot;Fidji&quot;,code:&quot;FJ&quot;,dialCode:&quot;+679&quot;},{name:&quot;Finlande&quot;,code:&quot;FI&quot;,dialCode:&quot;+358&quot;},{name:&quot;France&quot;,code:&quot;FR&quot;,dialCode:&quot;+33&quot;},{name:&quot;Gabon&quot;,code:&quot;GA&quot;,dialCode:&quot;+241&quot;},{name:&quot;Gambie&quot;,code:&quot;GM&quot;,dialCode:&quot;+220&quot;},{name:&quot;Géorgie&quot;,code:&quot;GE&quot;,dialCode:&quot;+995&quot;},{name:&quot;Ghana&quot;,code:&quot;GH&quot;,dialCode:&quot;+233&quot;},{name:&quot;Grèce&quot;,code:&quot;GR&quot;,dialCode:&quot;+30&quot;},{name:&quot;Grenade&quot;,code:&quot;GD&quot;,dialCode:&quot;+1-473&quot;},{name:&quot;Guatemala&quot;,code:&quot;GT&quot;,dialCode:&quot;+502&quot;},{name:&quot;Guinée&quot;,code:&quot;GN&quot;,dialCode:&quot;+224&quot;},{name:&quot;Guinée-Bissau&quot;,code:&quot;GW&quot;,dialCode:&quot;+245&quot;},{name:&quot;Guinée équatoriale&quot;,code:&quot;GQ&quot;,dialCode:&quot;+240&quot;},{name:&quot;Guyana&quot;,code:&quot;GY&quot;,dialCode:&quot;+592&quot;},{name:&quot;Haïti&quot;,code:&quot;HT&quot;,dialCode:&quot;+509&quot;},{name:&quot;Honduras&quot;,code:&quot;HN&quot;,dialCode:&quot;+504&quot;},{name:&quot;Hongrie&quot;,code:&quot;HU&quot;,dialCode:&quot;+36&quot;},{name:&quot;Inde&quot;,code:&quot;IN&quot;,dialCode:&quot;+91&quot;},{name:&quot;Indonésie&quot;,code:&quot;ID&quot;,dialCode:&quot;+62&quot;},{name:&quot;Irak&quot;,code:&quot;IQ&quot;,dialCode:&quot;+964&quot;},{name:&quot;Iran&quot;,code:&quot;IR&quot;,dialCode:&quot;+98&quot;},{name:&quot;Irlande&quot;,code:&quot;IE&quot;,dialCode:&quot;+353&quot;},{name:&quot;Islande&quot;,code:&quot;IS&quot;,dialCode:&quot;+354&quot;},{name:&quot;Israël&quot;,code:&quot;IL&quot;,dialCode:&quot;+972&quot;},{name:&quot;Italie&quot;,code:&quot;IT&quot;,dialCode:&quot;+39&quot;},{name:&quot;Jamaïque&quot;,code:&quot;JM&quot;,dialCode:&quot;+1-876&quot;},{name:&quot;Japon&quot;,code:&quot;JP&quot;,dialCode:&quot;+81&quot;},{name:&quot;Jordanie&quot;,code:&quot;JO&quot;,dialCode:&quot;+962&quot;},{name:&quot;Kazakhstan&quot;,code:&quot;KZ&quot;,dialCode:&quot;+7&quot;},{name:&quot;Kenya&quot;,code:&quot;KE&quot;,dialCode:&quot;+254&quot;},{name:&quot;Kirghizistan&quot;,code:&quot;KG&quot;,dialCode:&quot;+996&quot;},{name:&quot;Kiribati&quot;,code:&quot;KI&quot;,dialCode:&quot;+686&quot;},{name:&quot;Koweït&quot;,code:&quot;KW&quot;,dialCode:&quot;+965&quot;},{name:&quot;Laos&quot;,code:&quot;LA&quot;,dialCode:&quot;+856&quot;},{name:&quot;Lesotho&quot;,code:&quot;LS&quot;,dialCode:&quot;+266&quot;},{name:&quot;Lettonie&quot;,code:&quot;LV&quot;,dialCode:&quot;+371&quot;},{name:&quot;Liban&quot;,code:&quot;LB&quot;,dialCode:&quot;+961&quot;},{name:&quot;Liberia&quot;,code:&quot;LR&quot;,dialCode:&quot;+231&quot;},{name:&quot;Libye&quot;,code:&quot;LY&quot;,dialCode:&quot;+218&quot;},{name:&quot;Liechtenstein&quot;,code:&quot;LI&quot;,dialCode:&quot;+423&quot;},{name:&quot;Lituanie&quot;,code:&quot;LT&quot;,dialCode:&quot;+370&quot;},{name:&quot;Luxembourg&quot;,code:&quot;LU&quot;,dialCode:&quot;+352&quot;},{name:&quot;Macédoine du Nord&quot;,code:&quot;MK&quot;,dialCode:&quot;+389&quot;},{name:&quot;Madagascar&quot;,code:&quot;MG&quot;,dialCode:&quot;+261&quot;},{name:&quot;Malaisie&quot;,code:&quot;MY&quot;,dialCode:&quot;+60&quot;},{name:&quot;Malawi&quot;,code:&quot;MW&quot;,dialCode:&quot;+265&quot;},{name:&quot;Maldives&quot;,code:&quot;MV&quot;,dialCode:&quot;+960&quot;},{name:&quot;Mali&quot;,code:&quot;ML&quot;,dialCode:&quot;+223&quot;},{name:&quot;Malte&quot;,code:&quot;MT&quot;,dialCode:&quot;+356&quot;},{name:&quot;Maroc&quot;,code:&quot;MA&quot;,dialCode:&quot;+212&quot;},{name:&quot;Marshall&quot;,code:&quot;MH&quot;,dialCode:&quot;+692&quot;},{name:&quot;Maurice&quot;,code:&quot;MU&quot;,dialCode:&quot;+230&quot;},{name:&quot;Mauritanie&quot;,code:&quot;MR&quot;,dialCode:&quot;+222&quot;},{name:&quot;Mexique&quot;,code:&quot;MX&quot;,dialCode:&quot;+52&quot;},{name:&quot;Micronésie&quot;,code:&quot;FM&quot;,dialCode:&quot;+691&quot;},{name:&quot;Moldavie&quot;,code:&quot;MD&quot;,dialCode:&quot;+373&quot;},{name:&quot;Monaco&quot;,code:&quot;MC&quot;,dialCode:&quot;+377&quot;},{name:&quot;Mongolie&quot;,code:&quot;MN&quot;,dialCode:&quot;+976&quot;},{name:&quot;Monténégro&quot;,code:&quot;ME&quot;,dialCode:&quot;+382&quot;},{name:&quot;Mozambique&quot;,code:&quot;MZ&quot;,dialCode:&quot;+258&quot;},{name:&quot;Namibie&quot;,code:&quot;NA&quot;,dialCode:&quot;+264&quot;},{name:&quot;Nauru&quot;,code:&quot;NR&quot;,dialCode:&quot;+674&quot;},{name:&quot;Népal&quot;,code:&quot;NP&quot;,dialCode:&quot;+977&quot;},{name:&quot;Nicaragua&quot;,code:&quot;NI&quot;,dialCode:&quot;+505&quot;},{name:&quot;Niger&quot;,code:&quot;NE&quot;,dialCode:&quot;+227&quot;},{name:&quot;Nigeria&quot;,code:&quot;NG&quot;,dialCode:&quot;+234&quot;},{name:&quot;Norvège&quot;,code:&quot;NO&quot;,dialCode:&quot;+47&quot;},{name:&quot;Nouvelle-Zélande&quot;,code:&quot;NZ&quot;,dialCode:&quot;+64&quot;},{name:&quot;Oman&quot;,code:&quot;OM&quot;,dialCode:&quot;+968&quot;},{name:&quot;Ouganda&quot;,code:&quot;UG&quot;,dialCode:&quot;+256&quot;},{name:&quot;Ouzbékistan&quot;,code:&quot;UZ&quot;,dialCode:&quot;+998&quot;},{name:&quot;Pakistan&quot;,code:&quot;PK&quot;,dialCode:&quot;+92&quot;},{name:&quot;Palaos&quot;,code:&quot;PW&quot;,dialCode:&quot;+680&quot;},{name:&quot;Palestine&quot;,code:&quot;PS&quot;,dialCode:&quot;+970&quot;},{name:&quot;Panama&quot;,code:&quot;PA&quot;,dialCode:&quot;+507&quot;},{name:&quot;Papouasie-Nouvelle-Guinée&quot;,code:&quot;PG&quot;,dialCode:&quot;+675&quot;},{name:&quot;Paraguay&quot;,code:&quot;PY&quot;,dialCode:&quot;+595&quot;},{name:&quot;Pays-Bas&quot;,code:&quot;NL&quot;,dialCode:&quot;+31&quot;},{name:&quot;Pérou&quot;,code:&quot;PE&quot;,dialCode:&quot;+51&quot;},{name:&quot;Philippines&quot;,code:&quot;PH&quot;,dialCode:&quot;+63&quot;},{name:&quot;Pologne&quot;,code:&quot;PL&quot;,dialCode:&quot;+48&quot;},{name:&quot;Portugal&quot;,code:&quot;PT&quot;,dialCode:&quot;+351&quot;},{name:&quot;Qatar&quot;,code:&quot;QA&quot;,dialCode:&quot;+974&quot;},{name:&quot;RDC&quot;,code:&quot;CD&quot;,dialCode:&quot;+243&quot;},{name:&quot;République centrafricaine&quot;,code:&quot;CF&quot;,dialCode:&quot;+236&quot;},{name:&quot;République dominicaine&quot;,code:&quot;DO&quot;,dialCode:&quot;+1-809&quot;},{name:&quot;République tchèque&quot;,code:&quot;CZ&quot;,dialCode:&quot;+420&quot;},{name:&quot;Roumanie&quot;,code:&quot;RO&quot;,dialCode:&quot;+40&quot;},{name:&quot;Royaume-Uni&quot;,code:&quot;GB&quot;,dialCode:&quot;+44&quot;},{name:&quot;Russie&quot;,code:&quot;RU&quot;,dialCode:&quot;+7&quot;},{name:&quot;Rwanda&quot;,code:&quot;RW&quot;,dialCode:&quot;+250&quot;},{name:&quot;Saint-Kitts-et-Nevis&quot;,code:&quot;KN&quot;,dialCode:&quot;+1-869&quot;},{name:&quot;Saint-Marin&quot;,code:&quot;SM&quot;,dialCode:&quot;+378&quot;},{name:&quot;Saint-Vincent-et-les-Grenadines&quot;,code:&quot;VC&quot;,dialCode:&quot;+1-784&quot;},{name:&quot;Sainte-Lucie&quot;,code:&quot;LC&quot;,dialCode:&quot;+1-758&quot;},{name:&quot;Salomon&quot;,code:&quot;SB&quot;,dialCode:&quot;+677&quot;},{name:&quot;Salvador&quot;,code:&quot;SV&quot;,dialCode:&quot;+503&quot;},{name:&quot;Samoa&quot;,code:&quot;WS&quot;,dialCode:&quot;+685&quot;},{name:&quot;São Tomé-et-Príncipe&quot;,code:&quot;ST&quot;,dialCode:&quot;+239&quot;},{name:&quot;Sénégal&quot;,code:&quot;SN&quot;,dialCode:&quot;+221&quot;},{name:&quot;Serbie&quot;,code:&quot;RS&quot;,dialCode:&quot;+381&quot;},{name:&quot;Seychelles&quot;,code:&quot;SC&quot;,dialCode:&quot;+248&quot;},{name:&quot;Sierra Leone&quot;,code:&quot;SL&quot;,dialCode:&quot;+232&quot;},{name:&quot;Singapour&quot;,code:&quot;SG&quot;,dialCode:&quot;+65&quot;},{name:&quot;Slovaquie&quot;,code:&quot;SK&quot;,dialCode:&quot;+421&quot;},{name:&quot;Slovénie&quot;,code:&quot;SI&quot;,dialCode:&quot;+386&quot;},{name:&quot;Somalie&quot;,code:&quot;SO&quot;,dialCode:&quot;+252&quot;},{name:&quot;Soudan&quot;,code:&quot;SD&quot;,dialCode:&quot;+249&quot;},{name:&quot;Soudan du Sud&quot;,code:&quot;SS&quot;,dialCode:&quot;+211&quot;},{name:&quot;Sri Lanka&quot;,code:&quot;LK&quot;,dialCode:&quot;+94&quot;},{name:&quot;Suède&quot;,code:&quot;SE&quot;,dialCode:&quot;+46&quot;},{name:&quot;Suisse&quot;,code:&quot;CH&quot;,dialCode:&quot;+41&quot;},{name:&quot;Suriname&quot;,code:&quot;SR&quot;,dialCode:&quot;+597&quot;},{name:&quot;Syrie&quot;,code:&quot;SY&quot;,dialCode:&quot;+963&quot;},{name:&quot;Tadjikistan&quot;,code:&quot;TJ&quot;,dialCode:&quot;+992&quot;},{name:&quot;Tanzanie&quot;,code:&quot;TZ&quot;,dialCode:&quot;+255&quot;},{name:&quot;Tchad&quot;,code:&quot;TD&quot;,dialCode:&quot;+235&quot;},{name:&quot;Thaïlande&quot;,code:&quot;TH&quot;,dialCode:&quot;+66&quot;},{name:&quot;Timor oriental&quot;,code:&quot;TL&quot;,dialCode:&quot;+670&quot;},{name:&quot;Togo&quot;,code:&quot;TG&quot;,dialCode:&quot;+228&quot;},{name:&quot;Tonga&quot;,code:&quot;TO&quot;,dialCode:&quot;+676&quot;},{name:&quot;Trinité-et-Tobago&quot;,code:&quot;TT&quot;,dialCode:&quot;+1-868&quot;},{name:&quot;Tunisie&quot;,code:&quot;TN&quot;,dialCode:&quot;+216&quot;},{name:&quot;Turkménistan&quot;,code:&quot;TM&quot;,dialCode:&quot;+993&quot;},{name:&quot;Turquie&quot;,code:&quot;TR&quot;,dialCode:&quot;+90&quot;},{name:&quot;Tuvalu&quot;,code:&quot;TV&quot;,dialCode:&quot;+688&quot;},{name:&quot;Ukraine&quot;,code:&quot;UA&quot;,dialCode:&quot;+380&quot;},{name:&quot;Uruguay&quot;,code:&quot;UY&quot;,dialCode:&quot;+598&quot;},{name:&quot;Vanuatu&quot;,code:&quot;VU&quot;,dialCode:&quot;+678&quot;},{name:&quot;Vatican&quot;,code:&quot;VA&quot;,dialCode:&quot;+39&quot;},{name:&quot;Venezuela&quot;,code:&quot;VE&quot;,dialCode:&quot;+58&quot;},{name:&quot;Viêt Nam&quot;,code:&quot;VN&quot;,dialCode:&quot;+84&quot;},{name:&quot;Yémen&quot;,code:&quot;YE&quot;,dialCode:&quot;+967&quot;},{name:&quot;Zambie&quot;,code:&quot;ZM&quot;,dialCode:&quot;+260&quot;},{name:&quot;Zimbabwe&quot;,code:&quot;ZW&quot;,dialCode:&quot;+263&quot;}].sort((e,r)=&gt;e.name.localeCompare(r.name)),j4=[{value:&quot;medecine_para_medical&quot;,label:&quot;Médecine &amp; Para-médical&quot;},{value:&quot;education&quot;,label:&quot;Education&quot;},{value:&quot;droit_barreau_magistrature&quot;,label:&quot;Droit - barreau - Magistrature&quot;},{value:&quot;journalisme_communication&quot;,label:&quot;Journalisme et Communication&quot;},{value:&quot;gestion_finances_comptabilite&quot;,label:&quot;Gestion - Finances &amp; Comptabilité&quot;},{value:&quot;theologie_etudes_pastorales&quot;,label:&quot;Théologie &amp; Etudes pastorales&quot;},{value:&quot;sciences_sociales&quot;,label:&quot;Sciences sociales&quot;},{value:&quot;mathematiques_physique_chimie&quot;,label:&quot;Mathématiques - Physique - Chimie&quot;},{value:&quot;administration_commerce_marketing&quot;,label:&quot;Administration - Commerce - Marketing&quot;},{value:&quot;agriculture&quot;,label:&quot;Agriculture&quot;},{value:&quot;travaux_publiques_architecture_ingenierie&quot;,label:&quot;Travaux publics - Architecture - Ingénierie&quot;},{value:&quot;sciences_politiques&quot;,label:&quot;Sciences politiques&quot;},{value:&quot;humanitaire&quot;,label:&quot;Humanitaire&quot;},{value:&quot;autre&quot;,label:&quot;Autre&quot;}],S4=[{value:&quot;ordinateur_sessions_en_ligne&quot;,label:&quot;J&#039;aurai à ma disposition un ordinateur pour suivre les sessions en ligne (phase 1)&quot;},{value:&quot;bon_debit_internet&quot;,label:&quot;Je prendrai toutes les dispositions pour avoir accès à un bon débit d&#039;internet pour toutes les sessions en ligne&quot;},{value:&quot;present_sessions&quot;,label:&quot;Je serai présent à toutes les sessions en ligne et en présentiel&quot;},{value:&quot;payer_frais_350k&quot;,label:&quot;Je m&#039;engage à payer les frais de participation de 350.000 F.CFA / 534 € dans les délais requis&quot;},{value:&quot;autre&quot;,label:&quot;Autre&quot;}],k4=[{value:&quot;musulmane&quot;,label:&quot;Musulmane&quot;},{value:&quot;catholique&quot;,label:&quot;Catholique&quot;},{value:&quot;protestante&quot;,label:&quot;Protestante&quot;},{value:&quot;pentecotiste&quot;,label:&quot;Pentecôtiste&quot;},{value:&quot;evangelique&quot;,label:&quot;Évangélique&quot;},{value:&quot;autre&quot;,label:&quot;Autre&quot;}];function AF(e){if(!e?.trim())return null;const r=new Date(`${e.trim()}T12:00:00`);if(Number.isNaN(r.getTime()))return null;const t=new Date;let n=t.getFullYear()-r.getFullYear();const l=t.getMonth()-r.getMonth();return(l&lt;0||l===0&amp;&amp;t.getDate()&lt;r.getDate())&amp;&amp;(n-=1),n&lt;0||n&gt;120?null:n}function N4(){return d.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-3 text-center uppercase&quot;,children:&quot;Frais de participation&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 text-center leading-relaxed max-w-2xl mx-auto&quot;,children:&quot;Les frais de participation s&#039;élèvent à 350 000 FCFA / 535 €. Ils contribuent aux frais du séjour à l&#039;hôtel et aux frais liés à la formation. Une fois votre candidature acceptée, le paiement de ces frais est nécessaire pour valider votre inscription.&quot;})]})}function MF({preselectedEvents:e,onSuccess:r,onConflict:t,onError:n,onFormLayoutChange:l}){const i=()=&gt;p.selectedEvents.length===0?1:p.selectedEvents.length===1?2:p.selectedEvents.length===2?3:p.selectedEvents.length===3?4:1,[a,u]=F.useState(1),[o,s]=F.useState(!1),[c,f]=F.useState({}),[h,m]=F.useState(!1);F.useEffect(()=&gt;{window.scrollTo({top:0,behavior:&quot;smooth&quot;})},[a]);const[p,v]=F.useState({selectedEvents:e&amp;&amp;e.length&gt;0?[...e]:[],first_name:&quot;&quot;,last_name:&quot;&quot;,email:&quot;&quot;,phone:&quot;&quot;,country:&quot;&quot;,city:&quot;&quot;,organization:&quot;&quot;,position:&quot;&quot;,nationality:&quot;&quot;,participated_haggai_seminar:&quot;&quot;,hle_vhle_number:&quot;&quot;,payment_method_selected:&quot;mobile_money&quot;,installment_method:void 0,installment_count:1,installment_months:[&quot;&quot;],package_code:&quot;&quot;,spouse_fullname:&quot;&quot;,spouse_email:&quot;&quot;,spouse_haggai_id:&quot;&quot;,ouaga_resident_confirmed:!1,seminar_intent:&quot;&quot;,seminar_want_to_participate:&quot;oui&quot;,seminar_church_organization:&quot;&quot;,seminar_role_ministry:&quot;&quot;,seminar_marital_status:&quot;&quot;,seminar_gender:&quot;&quot;,seminar_question_or_concern:&quot;&quot;,recommended_contacted_before:&quot;&quot;,recommended_first_name:&quot;&quot;,recommended_last_name:&quot;&quot;,recommended_profession:&quot;&quot;,recommended_residence_country:&quot;&quot;,recommended_phone_whatsapp:&quot;&quot;,recommended_email:&quot;&quot;,recommended_gender:&quot;&quot;,seminar_date_naissance:&quot;&quot;,seminar_contact_urgence_nom_lien:&quot;&quot;,seminar_niveau_etudes:&quot;&quot;,seminar_domaines_etude:[],seminar_domaine_etude_autre:&quot;&quot;,seminar_niveau_francais:&quot;&quot;,seminar_besoin_lettre_absence:&quot;&quot;,seminar_besoin_lettre_details:&quot;&quot;,seminar_sante_details:&quot;&quot;,seminar_regime_sans_sel:&quot;&quot;,seminar_confession_religieuse:&quot;&quot;,seminar_confession_religieuse_autre:&quot;&quot;,seminar_fardeau_transformation:&quot;&quot;,seminar_recommande_par:&quot;&quot;,seminar_engagements:[],seminar_engagements_autre:&quot;&quot;});F.useEffect(()=&gt;{m(p.package_code===&quot;A&quot;)},[p.package_code]),F.useEffect(()=&gt;{p.selectedEvents.includes(&quot;seminar&quot;)&amp;&amp;v(te=&gt;te.seminar_want_to_participate===&quot;oui&quot;?te:{...te,seminar_want_to_participate:&quot;oui&quot;})},[p.selectedEvents]),F.useEffect(()=&gt;{l?.({step:a,selectedEvents:p.selectedEvents})},[a,p.selectedEvents,l]);const g=p.selectedEvents.includes(&quot;summit&quot;)?_4:null,{plans:b,loading:x}=F8(g),_=35e4,C=535,O=()=&gt;{if(!p.package_code||!b.length)return null;const te=b.find(de=&gt;de.code===p.package_code);return te?p.payment_method_selected===&quot;card_visa&quot;?te.price_eur:te.price_xof:null},R=(te,de)=&gt;de===&quot;EUR&quot;?`${te.toLocaleString(&quot;fr-FR&quot;)} €`:`${te.toLocaleString(&quot;fr-FR&quot;)} FCFA`,H=()=&gt;{if(!(p.selectedEvents.includes(&quot;summit&quot;)&amp;&amp;p.selectedEvents.includes(&quot;seminar&quot;)))return null;const de=O();if(de===null)return null;const oe=p.payment_method_selected===&quot;card_visa&quot;?&quot;EUR&quot;:&quot;XOF&quot;,fe=de+(oe===&quot;EUR&quot;?C:_);return{total:fe,currency:oe,formatted:R(fe,oe)}},L=()=&gt;[{value:&quot;2026-02&quot;,label:&quot;Février 2026&quot;},{value:&quot;2026-03&quot;,label:&quot;Mars 2026&quot;},{value:&quot;2026-04&quot;,label:&quot;Avril 2026&quot;},{value:&quot;2026-05&quot;,label:&quot;Mai 2026&quot;},{value:&quot;2026-06&quot;,label:&quot;Juin 2026&quot;},{value:&quot;2026-07&quot;,label:&quot;Juillet 2026&quot;},{value:&quot;2026-08&quot;,label:&quot;Août 2026&quot;}],q=te=&gt;{for(const fe of te){if(!fe)continue;const[he,ce]=fe.split(&quot;-&quot;).map(Number);if(ce&lt;2||ce&gt;8||he&gt;2026||he===2026&amp;&amp;ce&gt;9)return!1}return!0},W=te=&gt;{const de=[...p.installment_months];te===1?U(&quot;installment_months&quot;,[de[0]||&quot;&quot;]):te===2?U(&quot;installment_months&quot;,[de[0]||&quot;&quot;,de[1]||&quot;&quot;]):U(&quot;installment_months&quot;,[de[0]||&quot;&quot;,de[1]||&quot;&quot;,de[2]||&quot;&quot;]),U(&quot;installment_count&quot;,te)},K=(te,de)=&gt;{const oe=[...p.installment_months];oe[te]=de,U(&quot;installment_months&quot;,oe)},U=(te,de)=&gt;{v(oe=&gt;({...oe,[te]:de})),c[te]&amp;&amp;f(oe=&gt;{const se={...oe};return delete se[te],se})},P=te=&gt;{v(de=&gt;({...de,seminar_confession_religieuse:te,seminar_confession_religieuse_autre:te===&quot;autre&quot;?de.seminar_confession_religieuse_autre:&quot;&quot;})),f(de=&gt;{const oe={...de};return delete oe.seminar_confession_religieuse,delete oe.seminar_confession_religieuse_autre,oe})},D=te=&gt;{v(de=&gt;{const oe=de.seminar_domaines_etude||[],se=oe.includes(te)?oe.filter(fe=&gt;fe!==te):[...oe,te];return{...de,seminar_domaines_etude:se}}),f(de=&gt;{const oe={...de};return delete oe.seminar_domaines_etude,delete oe.seminar_domaine_etude_autre,oe})},E=te=&gt;{v(de=&gt;{const oe=de.seminar_engagements||[],se=oe.includes(te)?oe.filter(fe=&gt;fe!==te):[...oe,te];return{...de,seminar_engagements:se}}),f(de=&gt;{const oe={...de};return delete oe.seminar_engagements,delete oe.seminar_engagements_autre,oe})},j=te=&gt;{const de=qf.find(oe=&gt;oe.name===te);if(U(&quot;country&quot;,te),de&amp;&amp;de.dialCode!==&quot;+&quot;){const oe=p.phone.trim(),se=de.dialCode+&quot; &quot;;if(!oe||oe===&quot;&quot;){U(&quot;phone&quot;,se);return}const fe=qf.find(he=&gt;he.dialCode!==&quot;+&quot;&amp;&amp;(oe.startsWith(he.dialCode)||oe.startsWith(he.dialCode+&quot; &quot;)));if(fe){let he=oe;he.startsWith(fe.dialCode+&quot; &quot;)?he=he.substring(fe.dialCode.length+1):he.startsWith(fe.dialCode)&amp;&amp;(he=he.substring(fe.dialCode.length)),he=he.trim(),U(&quot;phone&quot;,se+he)}else if(!oe.startsWith(&quot;+&quot;))U(&quot;phone&quot;,se+oe);else if(oe.match(/^\+\s*(\d+)/)){const ce=oe.replace(/^\+\s*/,&quot;&quot;).trim();U(&quot;phone&quot;,se+ce)}else U(&quot;phone&quot;,se)}},k=te=&gt;{const de=te.trim(),oe=qf.find(se=&gt;se.name===p.country);if(oe&amp;&amp;oe.dialCode!==&quot;+&quot;&amp;&amp;de.startsWith(oe.dialCode)&amp;&amp;de.length&gt;oe.dialCode.length){const se=de.substring(oe.dialCode.length);if(se&amp;&amp;!se.startsWith(&quot; &quot;)){U(&quot;phone&quot;,oe.dialCode+&quot; &quot;+se);return}}U(&quot;phone&quot;,te)},S=te=&gt;{v(de=&gt;({...de,selectedEvents:[te]})),c.selectedEvents&amp;&amp;f(de=&gt;{const oe={...de};return delete oe.selectedEvents,oe})},N=()=&gt;p.selectedEvents.length===0?(f({selectedEvents:[&quot;Veuillez choisir une option&quot;]}),!1):!0,M=()=&gt;{const te={};p.first_name.trim()||(te.first_name=[&quot;Le prénom est requis&quot;]),p.last_name.trim()||(te.last_name=[&quot;Le nom est requis&quot;]),p.email.trim()?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(p.email)||(te.email=[&quot;Format d&#039;email invalide&quot;]):te.email=[&quot;L&#039;email est requis&quot;],p.phone.trim()||(te.phone=[&quot;Le téléphone est requis&quot;]);const de=p.selectedEvents.includes(&quot;seminar&quot;);return p.country.trim()||(te.country=[de?&quot;Le pays de résidence est requis&quot;:&quot;Le pays est requis&quot;]),f(te),Object.keys(te).length===0},I=()=&gt;{const te={};return p.package_code||(te.package_code=[&quot;Veuillez sélectionner une formule pour le Sommet&quot;]),p.package_code===&quot;A&quot;&amp;&amp;!p.ouaga_resident_confirmed&amp;&amp;(te.ouaga_resident_confirmed=[&quot;Champ requis : veuillez cocher cette case pour confirmer que vous êtes résident de Ouagadougou (Formule A).&quot;]),p.package_code===&quot;D&quot;&amp;&amp;!p.spouse_fullname.trim()&amp;&amp;(te.spouse_fullname=[&quot;Le nom du conjoint est requis pour la formule D&quot;]),p.participated_haggai_seminar!==&quot;oui&quot;&amp;&amp;p.participated_haggai_seminar!==&quot;non&quot;&amp;&amp;(te.participated_haggai_seminar=[&quot;Veuillez indiquer si vous avez déjà participé à un séminaire Haggai (International, Régional ou National).&quot;]),p.participated_haggai_seminar===&quot;oui&quot;&amp;&amp;!p.hle_vhle_number.trim()&amp;&amp;(te.hle_vhle_number=[&quot;Le HAGGAI ID ou l&#039;année du séminaire est requis lorsque vous avez déjà participé à un séminaire Haggai.&quot;]),f(te),Object.keys(te).length===0},B=()=&gt;{const te={};return p.seminar_church_organization.trim()||(te.seminar_church_organization=[&quot;L&#039;église ou organisation est requise&quot;]),p.seminar_role_ministry.trim()||(te.seminar_role_ministry=[&quot;Le rôle dans le ministère est requis&quot;]),p.seminar_marital_status||(te.seminar_marital_status=[&quot;La situation matrimoniale est requise&quot;]),p.seminar_gender||(te.seminar_gender=[&quot;Le genre est requis&quot;]),p.seminar_question_or_concern.trim()||(te.seminar_question_or_concern=[&quot;La question ou préoccupation est requise&quot;]),p.seminar_date_naissance?.trim()||(te.seminar_date_naissance=[&quot;La date de naissance est requise&quot;]),p.seminar_contact_urgence_nom_lien.trim()||(te.seminar_contact_urgence_nom_lien=[&quot;Le contact d&#039;urgence (nom et lien) est requis&quot;]),p.seminar_niveau_etudes||(te.seminar_niveau_etudes=[&quot;Le niveau d&#039;études est requis&quot;]),!p.seminar_domaines_etude?.length&amp;&amp;!p.seminar_domaine_etude_autre?.trim()&amp;&amp;(te.seminar_domaines_etude=[&quot;Sélectionnez au moins un domaine d&#039;étude ou précisez dans « Autre »&quot;]),p.seminar_niveau_francais||(te.seminar_niveau_francais=[&quot;Le niveau de français est requis&quot;]),p.seminar_besoin_lettre_absence||(te.seminar_besoin_lettre_absence=[&quot;Indiquez si vous avez besoin d&#039;une lettre d&#039;absence&quot;]),p.seminar_besoin_lettre_absence===&quot;oui&quot;&amp;&amp;!p.seminar_besoin_lettre_details?.trim()&amp;&amp;(te.seminar_besoin_lettre_details=[&quot;Les détails pour la lettre d&#039;absence sont requis&quot;]),p.seminar_sante_details?.trim()||(te.seminar_sante_details=[&quot;Les informations de santé sont requises (indiquez « Aucun » si applicable)&quot;]),p.seminar_regime_sans_sel||(te.seminar_regime_sans_sel=[&quot;Indiquez si vous suivez un régime sans sel&quot;]),p.seminar_confession_religieuse||(te.seminar_confession_religieuse=[&quot;La confession religieuse est requise&quot;]),p.seminar_confession_religieuse===&quot;autre&quot;&amp;&amp;!p.seminar_confession_religieuse_autre?.trim()&amp;&amp;(te.seminar_confession_religieuse_autre=[&quot;Veuillez préciser votre confession religieuse&quot;]),p.seminar_fardeau_transformation?.trim()||(te.seminar_fardeau_transformation=[&quot;Veuillez indiquer vos attentes&quot;]),p.seminar_recommande_par?.trim()||(te.seminar_recommande_par=[&quot;Indiquez par qui vous êtes recommandé(e)&quot;]),!p.seminar_engagements?.length&amp;&amp;!p.seminar_engagements_autre?.trim()&amp;&amp;(te.seminar_engagements=[&quot;Sélectionnez au moins un engagement ou précisez dans « Autre »&quot;]),f(te),Object.keys(te).length===0},Y=()=&gt;{const te={};for(let oe=0;oe&lt;p.installment_count;oe++)(!p.installment_months[oe]||!p.installment_months[oe].trim())&amp;&amp;(te[`installment_month_${oe}`]=[`L&#039;échéance ${oe+1} est requise`]);const de=p.installment_months.filter(oe=&gt;oe&amp;&amp;oe.trim());return de.length&gt;0&amp;&amp;!q(de)&amp;&amp;(te.installment_months=[&quot;Toutes les échéances doivent être au plus tard 2 mois avant l&#039;événement (août 2026 au plus tard)&quot;]),f(te),Object.keys(te).length===0},Z=()=&gt;!(!p.first_name.trim()||!p.last_name.trim()||!p.email.trim()||!p.phone.trim()||!p.country.trim()||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(p.email)||!p.recommended_first_name.trim()||!p.recommended_last_name.trim()||!p.recommended_profession.trim()||!p.recommended_residence_country.trim()||!p.recommended_phone_whatsapp.trim()||!p.recommended_email.trim()||!p.recommended_gender||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(p.recommended_email)),ie=()=&gt;{if(!p.first_name.trim()||!p.last_name.trim()||!p.email.trim()||!p.phone.trim()||!p.country.trim()||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(p.email))return!1;const te=p.selectedEvents.includes(&quot;summit&quot;);return!(te&amp;&amp;!p.package_code||te&amp;&amp;p.package_code===&quot;A&quot;&amp;&amp;!p.ouaga_resident_confirmed||te&amp;&amp;p.package_code===&quot;D&quot;&amp;&amp;!p.spouse_fullname.trim()||te&amp;&amp;p.participated_haggai_seminar!==&quot;oui&quot;&amp;&amp;p.participated_haggai_seminar!==&quot;non&quot;||te&amp;&amp;p.participated_haggai_seminar===&quot;oui&quot;&amp;&amp;!p.hle_vhle_number.trim())},$=()=&gt;{const te={};return p.recommended_first_name.trim()||(te.recommended_first_name=[&quot;Le prénom de la personne recommandée est requis&quot;]),p.recommended_last_name.trim()||(te.recommended_last_name=[&quot;Le nom de la personne recommandée est requis&quot;]),p.recommended_profession.trim()||(te.recommended_profession=[&quot;La profession est requise&quot;]),p.recommended_residence_country.trim()||(te.recommended_residence_country=[&quot;Le pays de résidence est requis&quot;]),p.recommended_phone_whatsapp.trim()||(te.recommended_phone_whatsapp=[&quot;Le téléphone WhatsApp est requis&quot;]),p.recommended_email.trim()?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(p.recommended_email)||(te.recommended_email=[&quot;Format d&#039;email invalide&quot;]):te.recommended_email=[&quot;L&#039;email de la personne recommandée est requis&quot;],p.recommended_gender||(te.recommended_gender=[&quot;Le genre de la personne recommandée est requis&quot;]),f(te),Object.keys(te).length===0},ee=()=&gt;{N()&amp;&amp;u(2)},z=()=&gt;{const te=i();if(!M())return;const de=p.selectedEvents.includes(&quot;summit&quot;),oe=p.selectedEvents.includes(&quot;seminar&quot;),se=p.selectedEvents.includes(&quot;recommend&quot;),fe=se&amp;&amp;!de&amp;&amp;!oe?!0:Y();te===4?I()&amp;&amp;fe&amp;&amp;u(3):te===3?de&amp;&amp;oe||de&amp;&amp;se?I()&amp;&amp;fe&amp;&amp;u(3):oe&amp;&amp;se&amp;&amp;B()&amp;&amp;fe&amp;&amp;u(3):te===2&amp;&amp;(de?I()&amp;&amp;fe&amp;&amp;ne():oe?B()&amp;&amp;fe&amp;&amp;ne():se&amp;&amp;$()&amp;&amp;ne())},T=()=&gt;{u(1)},X=()=&gt;{u(2)},re=()=&gt;{const te=i();if(!M())return;const de=p.selectedEvents.includes(&quot;summit&quot;),oe=p.selectedEvents.includes(&quot;seminar&quot;),se=p.selectedEvents.includes(&quot;recommend&quot;);te===4?B()&amp;&amp;u(4):te===3&amp;&amp;(de&amp;&amp;oe?I()&amp;&amp;B()&amp;&amp;ne():de&amp;&amp;se?I()&amp;&amp;$()&amp;&amp;ne():oe&amp;&amp;se&amp;&amp;$()&amp;&amp;ne())},ne=async te=&gt;{const de=p.selectedEvents.includes(&quot;summit&quot;),oe=p.selectedEvents.includes(&quot;seminar&quot;),se=p.selectedEvents.includes(&quot;recommend&quot;),fe=se&amp;&amp;p.selectedEvents.length===1;if(M()&amp;&amp;!(de&amp;&amp;!I())&amp;&amp;!(oe&amp;&amp;!B())&amp;&amp;!(fe&amp;&amp;!$())&amp;&amp;!(!fe&amp;&amp;!Y())){s(!0),f({});try{const he=[],ce=[],ge=[],ye=[];if(fe)try{const pe={website:&quot;&quot;,event:Hg,recommender_first_name:p.first_name.trim(),recommender_last_name:p.last_name.trim(),recommender_email:p.email.trim().toLowerCase(),recommender_phone:p.phone.trim(),recommender_country:p.country.trim()||void 0,recommended_full_name:[p.recommended_first_name.trim(),p.recommended_last_name.trim()].filter(Boolean).join(&quot; &quot;),recommended_profession:p.recommended_profession.trim(),recommended_residence_country:p.recommended_residence_country.trim(),recommended_phone_whatsapp:p.recommended_phone_whatsapp.trim(),recommended_email:p.recommended_email.trim()?p.recommended_email.trim().toLowerCase():void 0,recommended_gender:p.recommended_gender,...p.recommended_contacted_before===&quot;oui&quot;||p.recommended_contacted_before===&quot;non&quot;?{recommender_contacted_person:p.recommended_contacted_before}:{}},le=await b4.create(pe);ce.push(le.recommendation_id),r&amp;&amp;r({id:le.recommendation_id,type:&quot;recommendation&quot;}),s(!1);return}catch(pe){if(pe instanceof Wt)if(pe.status===422){const le=pe.data.errors||{};f(le),ge.push(&quot;Erreurs de validation pour la recommandation.&quot;)}else ge.push(`Erreur lors de la création de la recommandation: ${pe.data.message||&quot;Une erreur est survenue.&quot;}`);else ge.push(&quot;Erreur inattendue lors de la création de la recommandation.&quot;);ge.length&gt;0&amp;&amp;n&amp;&amp;n(ge.join(&quot; &quot;)),s(!1);return}for(const pe of p.selectedEvents){if(pe===&quot;recommend&quot;)continue;const le=pe===&quot;summit&quot;?_4:Hg;let Ce=0;if(pe===&quot;summit&quot;){if(!p.package_code){ge.push(&quot;Veuillez sélectionner une formule pour le Sommet&quot;);continue}if(x){ge.push(&quot;Chargement des formules du Sommet en cours...&quot;);continue}if(b.length===0){ge.push(&quot;Aucune formule disponible pour le Sommet. Veuillez réessayer.&quot;);continue}const je=b.find(Pe=&gt;Pe.code===p.package_code);if(!je){ge.push(&quot;La formule sélectionnée n&#039;existe pas pour le Sommet&quot;);continue}Ce=je.id}else pe===&quot;seminar&quot;&amp;&amp;(Ce=0);const Ae={website:&quot;&quot;,...pe===&quot;summit&quot;&amp;&amp;{pricing_plan_id:Ce},first_name:p.first_name.trim(),last_name:p.last_name.trim(),email:p.email.trim().toLowerCase(),phone:p.phone.trim(),country:p.country.trim(),city:p.city.trim()||void 0,organization:p.organization.trim()||void 0,position:p.position.trim()||void 0,nationality:p.nationality.trim()||void 0,is_haggai_leader:p.participated_haggai_seminar===&quot;oui&quot;,haggai_id:p.participated_haggai_seminar===&quot;oui&quot;&amp;&amp;p.hle_vhle_number.trim()||void 0,payment_method_selected:p.payment_method_selected};if(p.installment_months.some(je=&gt;je&amp;&amp;je.trim())&amp;&amp;(Ae.installment_config={method:p.payment_method_selected,number_of_installments:p.installment_count,installments:p.installment_months.filter(je=&gt;je&amp;&amp;je.trim()).map(je=&gt;({month:je.trim()}))}),pe===&quot;summit&quot;&amp;&amp;(Ae.ouaga_resident_confirmed=p.ouaga_resident_confirmed||!1,p.package_code===&quot;D&quot;&amp;&amp;p.spouse_fullname.trim()&amp;&amp;(Ae.spouse_fullname=p.spouse_fullname.trim()),p.package_code===&quot;D&quot;&amp;&amp;p.spouse_email?.trim()&amp;&amp;(Ae.spouse_email=p.spouse_email.trim().toLowerCase()),p.package_code===&quot;D&quot;&amp;&amp;p.spouse_haggai_id?.trim()&amp;&amp;(Ae.spouse_haggai_id=p.spouse_haggai_id.trim())),pe===&quot;seminar&quot;){let je=&quot;participate&quot;;p.selectedEvents.includes(&quot;seminar&quot;)||(je=&quot;na&quot;),Ae.seminar_intent=je,Ae.seminar_want_to_participate=&quot;oui&quot;,Ae.seminar_marital_status=p.seminar_marital_status&amp;&amp;(p.seminar_marital_status===&quot;marie&quot;||p.seminar_marital_status===&quot;non_marie&quot;)?p.seminar_marital_status:&quot;non_marie&quot;;const Pe=AF(p.seminar_date_naissance??&quot;&quot;);Ae.seminar_age=Pe!=null&amp;&amp;Pe&gt;=1?Pe&gt;120?120:Pe:25,Ae.seminar_gender=p.seminar_gender&amp;&amp;(p.seminar_gender===&quot;homme&quot;||p.seminar_gender===&quot;femme&quot;)?p.seminar_gender:&quot;homme&quot;,Ae.seminar_church_organization=p.seminar_church_organization.trim(),Ae.seminar_role_ministry=p.seminar_role_ministry.trim(),Ae.seminar_question_or_concern=p.seminar_question_or_concern.trim(),Ae.seminar_date_naissance=p.seminar_date_naissance?.trim()||void 0,Ae.seminar_contact_urgence_nom_lien=p.seminar_contact_urgence_nom_lien?.trim()||void 0,Ae.seminar_niveau_etudes=p.seminar_niveau_etudes&amp;&amp;[&quot;primaire&quot;,&quot;secondaire_2&quot;,&quot;universitaire&quot;].includes(p.seminar_niveau_etudes)?p.seminar_niveau_etudes:void 0,Ae.seminar_domaines_etude=p.seminar_domaines_etude?.length?p.seminar_domaines_etude:void 0,Ae.seminar_domaine_etude_autre=p.seminar_domaine_etude_autre?.trim()||void 0,Ae.seminar_niveau_francais=p.seminar_niveau_francais&amp;&amp;[&quot;natif&quot;,&quot;avance&quot;,&quot;intermediaire&quot;,&quot;faible&quot;].includes(p.seminar_niveau_francais)?p.seminar_niveau_francais:void 0,Ae.seminar_besoin_lettre_absence=p.seminar_besoin_lettre_absence===&quot;oui&quot;||p.seminar_besoin_lettre_absence===&quot;non&quot;?p.seminar_besoin_lettre_absence:void 0,Ae.seminar_besoin_lettre_details=p.seminar_besoin_lettre_details?.trim()||void 0,Ae.seminar_sante_details=p.seminar_sante_details?.trim()||void 0,Ae.seminar_regime_sans_sel=p.seminar_regime_sans_sel===&quot;oui&quot;||p.seminar_regime_sans_sel===&quot;non&quot;?p.seminar_regime_sans_sel:void 0,Ae.seminar_confession_religieuse=p.seminar_confession_religieuse&amp;&amp;[&quot;musulmane&quot;,&quot;catholique&quot;,&quot;protestante&quot;,&quot;pentecotiste&quot;,&quot;evangelique&quot;,&quot;autre&quot;].includes(p.seminar_confession_religieuse)?p.seminar_confession_religieuse:void 0,p.seminar_confession_religieuse===&quot;autre&quot;&amp;&amp;(Ae.seminar_confession_religieuse_autre=p.seminar_confession_religieuse_autre.trim()||void 0),Ae.seminar_fardeau_transformation=p.seminar_fardeau_transformation?.trim()||void 0,Ae.seminar_recommande_par=p.seminar_recommande_par?.trim()||void 0,Ae.seminar_engagements=p.seminar_engagements?.length?p.seminar_engagements:void 0,Ae.seminar_engagements_autre=p.seminar_engagements_autre?.trim()||void 0}try{const je=await n1.create(le,Ae);je&amp;&amp;je.registration_id?he.push(je.registration_id):(console.error(&quot;Réponse invalide pour&quot;,pe,je),ge.push(`Réponse invalide lors de l&#039;inscription à ${pe===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}.`))}catch(je){if(console.error(&quot;Erreur lors de l&#039;inscription à&quot;,pe,je),je instanceof Wt)if(je.status===409){const Pe=je.data;Pe?.existing_registration_id?ye.push({eventType:pe===&quot;summit&quot;?&quot;Sommet&quot;:&quot;Séminaire&quot;,existingId:Pe.existing_registration_id}):ge.push(`Erreur lors de l&#039;inscription à ${pe===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}: ${je.data.message||&quot;Une erreur est survenue.&quot;}`)}else if(je.status===422){const Pe=je.data?.errors||{};Object.keys(Pe).length&gt;0&amp;&amp;console.error(&quot;Validation 422 (inscription)&quot;,Pe);const Qe=[],Ue={};Object.keys(Pe).forEach(Xe=&gt;{const rt=Array.isArray(Pe[Xe])?Pe[Xe]:[Pe[Xe]];rt.forEach(qe=&gt;Qe.push(qe)),Ue[`${Xe}_${pe}`]=rt,pe===&quot;summit&quot;&amp;&amp;Xe===&quot;pricing_plan_id&quot;&amp;&amp;(Ue.package_code=rt),Xe===&quot;payment_method_selected&quot;&amp;&amp;(Ue.payment_method_selected=rt),Xe===&quot;ouaga_resident_confirmed&quot;&amp;&amp;(Ue.ouaga_resident_confirmed=rt),Xe===&quot;spouse_fullname&quot;&amp;&amp;(Ue.spouse_fullname=rt)}),Qe.length&gt;0&amp;&amp;(Ue._general=Qe),f(Xe=&gt;({...Xe,...Ue})),ge.push(`Erreurs de validation pour ${pe===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}.`)}else je.status===404?ge.push(`Les inscriptions publiques ne sont pas disponibles pour ${pe===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}.`):ge.push(`Erreur lors de l&#039;inscription à ${pe===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}: ${je.data.message||&quot;Une erreur est survenue.&quot;}`);else ge.push(`Erreur inattendue lors de l&#039;inscription à ${pe===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}.`)}}if(se&amp;&amp;!fe)try{const pe={website:&quot;&quot;,event:Hg,recommender_first_name:p.first_name.trim(),recommender_last_name:p.last_name.trim(),recommender_email:p.email.trim().toLowerCase(),recommender_phone:p.phone.trim(),recommender_country:p.country.trim()||void 0,recommended_full_name:[p.recommended_first_name.trim(),p.recommended_last_name.trim()].filter(Boolean).join(&quot; &quot;),recommended_profession:p.recommended_profession.trim(),recommended_residence_country:p.recommended_residence_country.trim(),recommended_phone_whatsapp:p.recommended_phone_whatsapp.trim(),recommended_email:p.recommended_email.trim()?p.recommended_email.trim().toLowerCase():void 0,recommended_gender:p.recommended_gender,...p.recommended_contacted_before===&quot;oui&quot;||p.recommended_contacted_before===&quot;non&quot;?{recommender_contacted_person:p.recommended_contacted_before}:{}},le=await b4.create(pe);ce.push(le.recommendation_id)}catch(pe){if(pe instanceof Wt)if(pe.status===422){const le=pe.data.errors||{};f(Ce=&gt;({...Ce,...le})),ge.push(&quot;Erreurs de validation pour la recommandation.&quot;)}else ge.push(`Erreur lors de la création de la recommandation: ${pe.data.message||&quot;Une erreur est survenue.&quot;}`);else ge.push(&quot;Erreur inattendue lors de la création de la recommandation.&quot;)}if(he.length&gt;0||ce.length&gt;0){if(r&amp;&amp;(he.length&gt;0?r({id:he[0],type:&quot;registration&quot;}):ce.length&gt;0&amp;&amp;r({id:ce[0],type:&quot;recommendation&quot;})),ye.length&gt;0&amp;&amp;t&amp;&amp;t(ye[0].existingId),ge.length&gt;0&amp;&amp;n){const pe=ge.join(&quot; &quot;),le=ye.length&gt;0?` Note: ${ye.length} inscription(s) existante(s) détectée(s) pour ${ye.map(Ce=&gt;Ce.eventType).join(&quot; et &quot;)}.`:&quot;&quot;;n(`Inscription(s) et/ou recommandation(s) créée(s) avec succès, mais certaines erreurs sont survenues: ${pe}${le}`)}else if(ye.length&gt;0&amp;&amp;!t){const pe=`${ye.length} inscription(s) existante(s) détectée(s) pour ${ye.map(le=&gt;le.eventType).join(&quot; et &quot;)}.`;n&amp;&amp;n(pe)}}else if(ye.length&gt;0&amp;&amp;ge.length===0){const pe=ye.map(Ce=&gt;`${Ce.eventType} (ID: ${Ce.existingId})`).join(&quot; et &quot;),le=`Vous avez déjà une inscription pour ${ye.length&gt;1?&quot;les événements suivants&quot;:&quot;cet événement&quot;}: ${pe}.`;f({_general:[le]}),t?t(ye[0].existingId):n&amp;&amp;n(le)}else if(ge.length&gt;0){if(f(pe=&gt;Object.keys(pe).some(Ce=&gt;Ce!==&quot;_general&quot;&amp;&amp;Array.isArray(pe[Ce])&amp;&amp;pe[Ce].length&gt;0)&amp;&amp;pe._general&amp;&amp;pe._general.length&gt;0?pe:{...pe,_general:ge}),n){const pe=ye.length&gt;0?` Note: ${ye.length} inscription(s) existante(s) détectée(s) pour ${ye.map(le=&gt;le.eventType).join(&quot; et &quot;)}.`:&quot;&quot;;n(ge.join(&quot; &quot;)+pe)}}else f({_general:[&quot;Aucune inscription ni recommandation n&#039;a pu être créée.&quot;]}),n&amp;&amp;n(&quot;Aucune inscription ni recommandation n&#039;a pu être créée.&quot;)}catch{f({_general:[&quot;Une erreur inattendue est survenue.&quot;]}),n&amp;&amp;n(&quot;Une erreur inattendue est survenue.&quot;)}finally{s(!1)}}},Q=te=&gt;{const de=c[te];return de&amp;&amp;de.length&gt;0?de[0]:void 0};if(o)return d.jsxs(&quot;div&quot;,{className:&quot;flex flex-col items-center justify-center min-h-[320px] w-full py-16 px-6 bg-white rounded-xl border border-gray-200 shadow-soft&quot;,children:[d.jsx(AL,{className:&quot;w-14 h-14 text-brand-600 animate-spin mb-6&quot;,&quot;aria-hidden&quot;:!0}),d.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-semibold text-ink-900 mb-2 text-center&quot;,children:&quot;Soumission en cours…&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-600 text-center max-w-md&quot;,children:&quot;Enregistrement de votre inscription ou recommandation et envoi des notifications par email. Merci de ne pas quitter cette page.&quot;})]});if(a===1){const te=e?.length===1?e[0]:null,de=!te||te===&quot;summit&quot;,oe=!te||te===&quot;seminar&quot;,se=!te||te===&quot;recommend&quot;;return d.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-4 text-center&quot;,children:&quot;Quel est votre choix ? (une seule option possible)&quot;}),d.jsx(&quot;div&quot;,{className:te?&quot;max-w-sm mx-auto&quot;:&quot;&quot;,children:d.jsxs(&quot;div&quot;,{className:`grid gap-6 mb-6 items-stretch ${te?&quot;grid-cols-1&quot;:&quot;grid-cols-1 md:grid-cols-3&quot;}`,children:[de&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;flex flex-col h-full&quot;,children:[d.jsxs(&quot;div&quot;,{onClick:()=&gt;S(&quot;summit&quot;),className:`bg-white rounded-xl shadow-soft overflow-hidden border transition-all flex flex-col flex-1 cursor-pointer ${p.selectedEvents.includes(&quot;summit&quot;)?&quot;border-brand-700 border-2 shadow-lg&quot;:&quot;border-gray-200 hover:shadow-lg&quot;}`,children:[d.jsx(&quot;div&quot;,{className:&quot;relative h-48 overflow-hidden bg-gray-100 flex-shrink-0&quot;,children:d.jsx(&quot;img&quot;,{src:&quot;/sommet1.webp&quot;,alt:&quot;Sommet Francophone&quot;,className:&quot;w-full h-full object-cover&quot;})}),d.jsx(&quot;div&quot;,{className:&quot;p-4 text-center flex-1 flex items-center justify-center&quot;,children:d.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900&quot;,children:&quot;Sommet Francophone&quot;})})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center justify-center space-x-2 cursor-pointer mt-4 p-2 rounded-lg hover:bg-gray-50 transition-colors h-12&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;selectedEvent&quot;,value:&quot;summit&quot;,checked:p.selectedEvents.includes(&quot;summit&quot;),onChange:()=&gt;S(&quot;summit&quot;),className:&quot;w-5 h-5 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-light text-sm&quot;,children:&quot;Choisir&quot;})]})]}),oe&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;flex flex-col h-full&quot;,children:[d.jsxs(&quot;div&quot;,{onClick:()=&gt;S(&quot;seminar&quot;),className:`bg-white rounded-xl shadow-soft overflow-hidden border transition-all flex flex-col flex-1 cursor-pointer ${p.selectedEvents.includes(&quot;seminar&quot;)?&quot;border-brand-700 border-2 shadow-lg&quot;:&quot;border-gray-200 hover:shadow-lg&quot;}`,children:[d.jsx(&quot;div&quot;,{className:&quot;relative h-48 overflow-hidden bg-gray-100 flex-shrink-0&quot;,children:d.jsx(&quot;img&quot;,{src:&quot;/seminaireregional.webp&quot;,alt:&quot;Séminaire Régional&quot;,className:&quot;w-full h-full object-cover&quot;})}),d.jsx(&quot;div&quot;,{className:&quot;p-4 text-center flex-1 flex items-center justify-center&quot;,children:d.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900&quot;,children:&quot;Séminaire Régional&quot;})})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center justify-center space-x-2 cursor-pointer mt-4 p-2 rounded-lg hover:bg-gray-50 transition-colors h-12&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;selectedEvent&quot;,value:&quot;seminar&quot;,checked:p.selectedEvents.includes(&quot;seminar&quot;),onChange:()=&gt;S(&quot;seminar&quot;),className:&quot;w-5 h-5 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-light text-sm&quot;,children:&quot;Choisir&quot;})]})]}),se&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;flex flex-col h-full&quot;,children:[d.jsxs(&quot;div&quot;,{onClick:()=&gt;S(&quot;recommend&quot;),className:`bg-white rounded-xl shadow-soft overflow-hidden border transition-all flex flex-col flex-1 cursor-pointer ${p.selectedEvents.includes(&quot;recommend&quot;)?&quot;border-brand-700 border-2 shadow-lg&quot;:&quot;border-gray-200 hover:shadow-lg&quot;}`,children:[d.jsx(&quot;div&quot;,{className:&quot;relative h-48 overflow-hidden bg-gray-100 flex-shrink-0&quot;,children:d.jsx(&quot;img&quot;,{src:&quot;/recommandation.webp&quot;,alt:&quot;Recommander des participants&quot;,className:&quot;w-full h-full object-cover&quot;})}),d.jsx(&quot;div&quot;,{className:&quot;p-4 text-center flex-1 flex items-center justify-center&quot;,children:d.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900&quot;,children:&quot;Recommander des participants&quot;})})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center justify-center space-x-2 cursor-pointer mt-4 p-2 rounded-lg hover:bg-gray-50 transition-colors h-12&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;selectedEvent&quot;,value:&quot;recommend&quot;,checked:p.selectedEvents.includes(&quot;recommend&quot;),onChange:()=&gt;S(&quot;recommend&quot;),className:&quot;w-5 h-5 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-light text-sm&quot;,children:&quot;Choisir&quot;})]})]})]})}),Q(&quot;selectedEvents&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600 text-center&quot;,children:Q(&quot;selectedEvents&quot;)})]}),p.selectedEvents.includes(&quot;summit&quot;)&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;mt-6 p-6 bg-brand-50 border border-brand-700 rounded-xl&quot;,children:[d.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Voulez-vous participer au sommet de la Région Afrique francophone - Ouaga 2026?&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-4 text-sm font-light text-ink-500&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;p&quot;,{className:&quot;font-medium&quot;,children:&quot;Dates et horaire (GMT) général du sommet:&quot;}),d.jsx(&quot;p&quot;,{children:&quot;Du 19 au 22 novembre 2026, à Ouagadougou - Burkina Faso&quot;}),d.jsxs(&quot;ul&quot;,{className:&quot;list-disc list-inside space-y-1 ml-2 mt-2&quot;,children:[d.jsx(&quot;li&quot;,{children:&quot;Check-in dans les Hotels: 12h00-15h00, jeudi 19 novembre 2026&quot;}),d.jsx(&quot;li&quot;,{children:&quot;Enregistrement des participants au sommet: 15h00-17h00, jeudi 19 novembre 2026&quot;}),d.jsx(&quot;li&quot;,{children:&quot;Début du sommet: 17h00, jeudi 19 novembre 2026&quot;}),d.jsx(&quot;li&quot;,{children:&quot;Fin du sommet: 21h30, samedi 21 novembre 2026&quot;}),d.jsx(&quot;li&quot;,{children:&quot;Check-out/Culte/Visite-détente/départ: 8.30-15.00, dimanche 22 novembre 2026&quot;})]})]}),d.jsxs(&quot;div&quot;,{className:&quot;pt-4 border-t border-brand-700/30&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;font-medium mb-2&quot;,children:&quot;Les formules d&#039;inscription au sommet:&quot;}),d.jsxs(&quot;ul&quot;,{className:&quot;list-disc list-inside space-y-1 ml-2&quot;,children:[d.jsx(&quot;li&quot;,{children:&quot;Formule A 150 000 FCFA / 230 € par personne (pour les leaders résidant à Ouaga, pas de chambre d&#039;hôtel)&quot;}),d.jsx(&quot;li&quot;,{children:&quot;Formule B 350 000 FCFA / 535 € par personne (deux délégués par chambre double en pension complète)&quot;}),d.jsx(&quot;li&quot;,{children:&quot;Formule C 450 000 FCFA / 690 € (un délégué par chambre en pension complète)&quot;}),d.jsx(&quot;li&quot;,{children:&quot;Formule D 550 000 FCFA / 840 € (pour les couples mariés par chambre en pension complète)&quot;})]})]})]})]}),(p.selectedEvents.includes(&quot;seminar&quot;)||p.selectedEvents.includes(&quot;recommend&quot;))&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;mt-6 p-6 bg-brand-50 border border-brand-700 rounded-xl&quot;,children:[d.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Séminaire spécial régional hybride&quot;}),d.jsx(&quot;div&quot;,{className:&quot;space-y-4 text-sm font-light text-ink-500 mb-4&quot;,children:d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;p&quot;,{className:&quot;font-medium&quot;,children:&quot;Dates du séminaire:&quot;}),d.jsx(&quot;p&quot;,{children:&quot;1ère partie en ligne : Du 22 au 30 octobre 2026&quot;}),d.jsx(&quot;p&quot;,{children:&quot;2ème partie présentielle : Du 15 au 19 novembre 2026, au Burkina Faso&quot;})]})}),d.jsx(&quot;h5&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-3 mt-4&quot;,children:&quot;Profil des participants au séminaire spécial régional francophone:&quot;}),d.jsxs(&quot;ol&quot;,{className:&quot;space-y-3 text-sm font-light text-ink-500 list-decimal list-inside&quot;,children:[d.jsxs(&quot;li&quot;,{children:[d.jsx(&quot;strong&quot;,{children:&quot;Âge:&quot;}),&quot; de 25 à 60 ans&quot;]}),d.jsxs(&quot;li&quot;,{children:[d.jsx(&quot;strong&quot;,{children:&quot;Éducation:&quot;}),&quot; niveau Bac+3, exemption faite aux leaders chrétiens reconnus&quot;]}),d.jsxs(&quot;li&quot;,{children:[d.jsx(&quot;strong&quot;,{children:&quot;Durée:&quot;}),&quot; être disponible pour la formation entière qui dure 12 jours subdivisés comme suit: première partie, du 22 au 30 octobre 2026 (18 h en ligne en 8 jours) / deuxième partie, du 15 au 19 novembre 2026 (38h en résidentiel en 4 jours)&quot;]}),d.jsxs(&quot;li&quot;,{children:[d.jsx(&quot;strong&quot;,{children:&quot;Leadership:&quot;}),&quot; être un leader chrétien laïc ou ecclésiastique&quot;]}),d.jsxs(&quot;li&quot;,{children:[d.jsx(&quot;strong&quot;,{children:&quot;Niveau de langue:&quot;}),&quot; être capable de communiquer clairement en français parlé &amp; écrit&quot;]}),d.jsxs(&quot;li&quot;,{children:[d.jsx(&quot;strong&quot;,{children:&quot;Coût:&quot;}),&quot; être en mesure de payer les frais de participation de 350.000 FCFA (534 Euros) /N.B: les frais de voyage incombent au participant.&quot;]}),d.jsxs(&quot;li&quot;,{children:[d.jsx(&quot;strong&quot;,{children:&quot;Ordinateur:&quot;}),&quot; disposer d&#039;un ordinateur portable ou d&#039;un IPAD équivalent sur 12 jrs et de la connexion internet sur 8 jrs (pour la première partie en ligne)&quot;]}),d.jsxs(&quot;li&quot;,{children:[d.jsx(&quot;strong&quot;,{children:&quot;Évangélisation:&quot;}),&quot; s&#039;engager à évangéliser et à former d&#039;autres chrétiens et leaders après la formation&quot;]})]})]}),d.jsx(Le,{type:&quot;button&quot;,onClick:ee,className:&quot;w-full mt-6&quot;,children:&quot;Continuer&quot;})]})}if(a===2){const te=p.selectedEvents.includes(&quot;summit&quot;),de=p.selectedEvents.includes(&quot;seminar&quot;),oe=p.selectedEvents.includes(&quot;recommend&quot;),se=p.selectedEvents.length===1&amp;&amp;te,fe=p.selectedEvents.length===1&amp;&amp;de,he=p.selectedEvents.length===1&amp;&amp;oe,ce=p.selectedEvents.length===2&amp;&amp;!oe,ge=te&amp;&amp;de&amp;&amp;oe,ye=de&amp;&amp;oe&amp;&amp;!te,pe=te&amp;&amp;oe&amp;&amp;!de;return d.jsxs(&quot;form&quot;,{onSubmit:le=&gt;{le.preventDefault(),z()},className:&quot;space-y-6&quot;,children:[c._general&amp;&amp;c._general.length&gt;0&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;p-4 rounded-xl bg-red-50 border border-red-200 text-red-800 text-sm&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;font-medium mb-1&quot;,children:&quot;Erreur(s) de validation :&quot;}),d.jsx(&quot;ul&quot;,{className:&quot;list-disc list-inside space-y-0.5&quot;,children:c._general.map((le,Ce)=&gt;d.jsx(&quot;li&quot;,{children:le},Ce))})]}),d.jsxs(&quot;div&quot;,{&quot;aria-hidden&quot;:&quot;true&quot;,className:&quot;absolute -left-[9999px] top-0 opacity-0 h-0 overflow-hidden&quot;,children:[d.jsx(&quot;label&quot;,{htmlFor:&quot;website-hp&quot;,children:&quot;Site web&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,id:&quot;website-hp&quot;,name:&quot;website&quot;,tabIndex:-1,autoComplete:&quot;off&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-4 text-center uppercase&quot;,children:oe?&quot;INFORMATIONS SUR LE LEADER QUI RECOMMANDE&quot;:&quot;INFORMATIONS PERSONNELLES&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.first_name,onChange:le=&gt;U(&quot;first_name&quot;,le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;first_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;first_name&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;first_name&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.last_name,onChange:le=&gt;U(&quot;last_name&quot;,le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;last_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;last_name&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;last_name&quot;)})]})]}),d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-1&quot;,children:&quot;Indiquez le prénom et le nom tels qu&#039;ils figurent sur le passeport ou la pièce d&#039;identité.&quot;}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.email,onChange:le=&gt;U(&quot;email&quot;,le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;email&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;email&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;email&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[de?&quot;Pays de résidence&quot;:&quot;Pays&quot;,&quot; &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsxs(&quot;select&quot;,{value:p.country,onChange:le=&gt;j(le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;country&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:de?&quot;Sélectionner votre pays de résidence&quot;:&quot;Sélectionner un pays&quot;}),qf.map(le=&gt;{const Ce=EF(le.code);return d.jsxs(&quot;option&quot;,{value:le.name,children:[Ce?`${Ce} ${le.name}`:le.name,&quot; &quot;,le.dialCode]},le.code)})]}),Q(&quot;country&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;country&quot;)})]}),!he&amp;&amp;d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Ville&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.city,onChange:le=&gt;U(&quot;city&quot;,le.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone (WhatsApp) &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:p.phone,onChange:le=&gt;k(le.target.value),placeholder:&quot;+226 70123456&quot;,className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;phone&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;phone&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;phone&quot;)})]}),d.jsx(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:!he&amp;&amp;d.jsxs(d.Fragment,{children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Nationalité&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.nationality,onChange:le=&gt;U(&quot;nationality&quot;,le.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Organisation&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.organization,onChange:le=&gt;U(&quot;organization&quot;,le.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Poste / Fonction&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.position,onChange:le=&gt;U(&quot;position&quot;,le.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;})]})]}),te&amp;&amp;d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;p&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;J&#039;ai déjà participé à un séminaire Haggai (International, Régional ou National). &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-6&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;participated_haggai_seminar&quot;,checked:p.participated_haggai_seminar===&quot;oui&quot;,onChange:()=&gt;U(&quot;participated_haggai_seminar&quot;,&quot;oui&quot;),className:&quot;rounded&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;participated_haggai_seminar&quot;,checked:p.participated_haggai_seminar===&quot;non&quot;,onChange:()=&gt;U(&quot;participated_haggai_seminar&quot;,&quot;non&quot;),className:&quot;rounded&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non&quot;})]})]}),Q(&quot;participated_haggai_seminar&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;participated_haggai_seminar&quot;)}),p.participated_haggai_seminar===&quot;oui&quot;&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;mt-4 flex-1&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;HAGGAI ID ou Année du séminaire &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.hle_vhle_number,onChange:le=&gt;U(&quot;hle_vhle_number&quot;,le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;hle_vhle_number&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;hle_vhle_number&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;hle_vhle_number&quot;)})]})]})]})})]}),(ce||se||ge||pe)&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-6 text-center&quot;,children:&quot;CHOIX DE LA FORMULE D&#039;HEBERGEMENT&quot;}),d.jsxs(&quot;div&quot;,{children:[x?d.jsx(&quot;div&quot;,{className:&quot;text-center py-8 text-ink-500&quot;,children:&quot;Chargement des formules...&quot;}):b.length===0?d.jsx(&quot;div&quot;,{className:&quot;text-center py-8 text-ink-500&quot;,children:&quot;Aucune formule disponible&quot;}):d.jsx(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-4&quot;,children:b.sort((le,Ce)=&gt;le.sort_order-Ce.sort_order).map(le=&gt;{const Ae={A:{price:&quot;150 000 FCFA / 230 €&quot;,description:&quot;par personne (pour les leaders résidant à Ouaga, pas de chambre d&#039;hôtel)&quot;},B:{price:&quot;350 000 FCFA / 535 €&quot;,description:&quot;par personne (deux délégués par chambre double en pension complète)&quot;},C:{price:&quot;450 000 FCFA / 690 €&quot;,description:&quot;(un délégué par chambre en pension complète)&quot;},D:{price:&quot;550 000 FCFA / 840 €&quot;,description:&quot;(pour les couples mariés par chambre en pension complète)&quot;}}[le.code]||{price:le.currency_primary===&quot;XOF&quot;?`${le.price_xof.toLocaleString(&quot;fr-FR&quot;)} XOF`:`${le.price_eur.toLocaleString(&quot;fr-FR&quot;)} EUR`,description:le.description||&quot;&quot;},Pe={A:&quot;/formules/formule-a.jpg&quot;,B:&quot;/formules/formule-b.jpg&quot;,C:&quot;/formules/formule-c.jpg&quot;,D:&quot;/formules/formule-d.jpg&quot;}[le.code]||&quot;/formules/default.jpg&quot;;return d.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${p.package_code===le.code?&quot;border-brand-700 shadow-lg&quot;:&quot;border-gray-200 hover:border-brand-700 hover:shadow-md&quot;}`,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;package_code&quot;,value:le.code,checked:p.package_code===le.code,onChange:()=&gt;U(&quot;package_code&quot;,le.code),className:&quot;sr-only&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;relative h-48 overflow-hidden bg-gray-100&quot;,children:[d.jsx(&quot;img&quot;,{src:Pe,alt:le.title,className:&quot;w-full h-full object-cover&quot;,onError:Qe=&gt;{Qe.target.src=&quot;/sommet1.webp&quot;}}),p.package_code===le.code&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;absolute top-2 right-2 bg-brand-700 text-white rounded-full w-8 h-8 flex items-center justify-center&quot;,children:d.jsx(&quot;svg&quot;,{className:&quot;w-5 h-5&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:d.jsx(&quot;path&quot;,{fillRule:&quot;evenodd&quot;,d:&quot;M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z&quot;,clipRule:&quot;evenodd&quot;})})})]}),d.jsxs(&quot;div&quot;,{className:&quot;p-4 bg-white&quot;,children:[d.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900 mb-2&quot;,children:le.title}),d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 font-light mb-2&quot;,children:Ae.description}),d.jsx(&quot;p&quot;,{className:&quot;text-lg font-semibold text-brand-700&quot;,children:Ae.price})]})]},le.id)})}),Q(&quot;package_code&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600 text-center&quot;,children:Q(&quot;package_code&quot;)}),h&amp;&amp;d.jsxs(&quot;div&quot;,{className:`mt-4 p-4 rounded-xl border-2 transition-colors ${Q(&quot;ouaga_resident_confirmed&quot;)?&quot;border-red-500 bg-red-50&quot;:&quot;border-gray-200 bg-gray-50&quot;}`,children:[d.jsxs(&quot;label&quot;,{className:&quot;flex items-start gap-3 cursor-pointer&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:p.ouaga_resident_confirmed,onChange:le=&gt;U(&quot;ouaga_resident_confirmed&quot;,le.target.checked),className:`mt-1 h-4 w-4 rounded focus:ring-2 focus:ring-offset-0 ${Q(&quot;ouaga_resident_confirmed&quot;)?&quot;border-red-500 text-red-600 focus:ring-red-500&quot;:&quot;border-gray-300 text-brand-600 focus:ring-brand-600&quot;}`}),d.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Je confirme être résident de Ouagadougou (obligatoire pour la Formule A — pas de chambre d&#039;hôtel incluse).&quot;})]}),Q(&quot;ouaga_resident_confirmed&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm font-medium text-red-600&quot;,role:&quot;alert&quot;,children:Q(&quot;ouaga_resident_confirmed&quot;)})]})]}),p.package_code===&quot;D&quot;&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom du conjoint / de la conjointe &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.spouse_fullname,onChange:le=&gt;U(&quot;spouse_fullname&quot;,le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;spouse_fullname&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;spouse_fullname&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;spouse_fullname&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Email du conjoint / de la conjointe&quot;}),d.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.spouse_email,onChange:le=&gt;U(&quot;spouse_email&quot;,le.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;HAGGAI ID ou Année du séminaire (conjoint / conjointe)&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.spouse_haggai_id,onChange:le=&gt;U(&quot;spouse_haggai_id&quot;,le.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;})]})]})]}),(fe||ye)&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Église ou organisation&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_church_organization,onChange:le=&gt;U(&quot;seminar_church_organization&quot;,le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_church_organization&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_church_organization&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_church_organization&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Rôle/Ministère&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_role_ministry,onChange:le=&gt;U(&quot;seminar_role_ministry&quot;,le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_role_ministry&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_role_ministry&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_role_ministry&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Situation matrimoniale &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_marital_status&quot;,value:&quot;marie&quot;,checked:p.seminar_marital_status===&quot;marie&quot;,onChange:()=&gt;U(&quot;seminar_marital_status&quot;,&quot;marie&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Marié(e)&quot;})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_marital_status&quot;,value:&quot;non_marie&quot;,checked:p.seminar_marital_status===&quot;non_marie&quot;,onChange:()=&gt;U(&quot;seminar_marital_status&quot;,&quot;non_marie&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non marié(e)&quot;})]})]}),Q(&quot;seminar_marital_status&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_marital_status&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_gender&quot;,value:&quot;homme&quot;,checked:p.seminar_gender===&quot;homme&quot;,onChange:()=&gt;U(&quot;seminar_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_gender&quot;,value:&quot;femme&quot;,checked:p.seminar_gender===&quot;femme&quot;,onChange:()=&gt;U(&quot;seminar_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Q(&quot;seminar_gender&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_gender&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Question ou préoccupation&quot;}),d.jsx(&quot;textarea&quot;,{value:p.seminar_question_or_concern,onChange:le=&gt;U(&quot;seminar_question_or_concern&quot;,le.target.value),rows:3,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[d.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-800 mb-3&quot;,children:&quot;Compléments d&#039;information pour le séminaire&quot;}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Date de naissance&quot;}),d.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:p.seminar_date_naissance,onChange:le=&gt;U(&quot;seminar_date_naissance&quot;,le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_date_naissance&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_date_naissance&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_date_naissance&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Personne à contacter en cas de besoin + lien de parenté&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_contact_urgence_nom_lien,onChange:le=&gt;U(&quot;seminar_contact_urgence_nom_lien&quot;,le.target.value),placeholder:&quot;Nom et lien (ex. époux, parent)&quot;,className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_contact_urgence_nom_lien&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_contact_urgence_nom_lien&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_contact_urgence_nom_lien&quot;)})]}),d.jsx(&quot;h5&quot;,{className:&quot;text-sm font-medium text-ink-700 mt-4 mb-2&quot;,children:&quot;Éducation&quot;}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Niveau d&#039;études&quot;}),d.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[&quot;primaire&quot;,&quot;secondaire_2&quot;,&quot;universitaire&quot;].map(le=&gt;d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_niveau_etudes_1&quot;,value:le,checked:p.seminar_niveau_etudes===le,onChange:()=&gt;U(&quot;seminar_niveau_etudes&quot;,le),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:le===&quot;primaire&quot;?&quot;Primaire&quot;:le===&quot;secondaire_2&quot;?&quot;Secondaire 2&quot;:&quot;Universitaire&quot;})]},le))}),Q(&quot;seminar_niveau_etudes&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_niveau_etudes&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Domaine(s) d&#039;études / formation&quot;}),d.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:j4.map(({value:le,label:Ce})=&gt;d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:p.seminar_domaines_etude?.includes(le)??!1,onChange:()=&gt;D(le),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:Ce})]},le))}),p.seminar_domaines_etude?.includes(&quot;autre&quot;)&amp;&amp;d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_domaine_etude_autre,onChange:le=&gt;U(&quot;seminar_domaine_etude_autre&quot;,le.target.value),placeholder:&quot;Précisez&quot;,className:&quot;mt-2 w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;}),Q(&quot;seminar_domaines_etude&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_domaines_etude&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Niveau de français (écrit et parlé)&quot;}),d.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[&quot;natif&quot;,&quot;avance&quot;,&quot;intermediaire&quot;,&quot;faible&quot;].map(le=&gt;d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_niveau_francais_1&quot;,value:le,checked:p.seminar_niveau_francais===le,onChange:()=&gt;U(&quot;seminar_niveau_francais&quot;,le),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:le===&quot;natif&quot;?&quot;Natif/Native&quot;:le===&quot;avance&quot;?&quot;Avancé&quot;:le===&quot;intermediaire&quot;?&quot;Intermédiaire&quot;:&quot;Faible&quot;})]},le))}),Q(&quot;seminar_niveau_francais&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_niveau_francais&quot;)})]}),d.jsx(&quot;h5&quot;,{className:&quot;text-sm font-medium text-ink-700 mt-4 mb-2&quot;,children:&quot;Infos complémentaires&quot;}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Besoin d&#039;une lettre pour autorisation d&#039;absence ?&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_besoin_lettre_1&quot;,value:&quot;oui&quot;,checked:p.seminar_besoin_lettre_absence===&quot;oui&quot;,onChange:()=&gt;U(&quot;seminar_besoin_lettre_absence&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_besoin_lettre_1&quot;,value:&quot;non&quot;,checked:p.seminar_besoin_lettre_absence===&quot;non&quot;,onChange:()=&gt;U(&quot;seminar_besoin_lettre_absence&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non&quot;})]})]}),p.seminar_besoin_lettre_absence===&quot;oui&quot;&amp;&amp;d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_besoin_lettre_details,onChange:le=&gt;U(&quot;seminar_besoin_lettre_details&quot;,le.target.value),placeholder:&quot;Détails&quot;,className:&quot;mt-2 w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;}),Q(&quot;seminar_besoin_lettre_absence&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_besoin_lettre_absence&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Problème de santé / maladie chronique nécessitant attention ?&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_sante_details,onChange:le=&gt;U(&quot;seminar_sante_details&quot;,le.target.value),placeholder:&quot;Indiquez « Aucun » si applicable&quot;,className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_sante_details&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_sante_details&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_sante_details&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Régime sans sel ?&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_regime_1&quot;,value:&quot;oui&quot;,checked:p.seminar_regime_sans_sel===&quot;oui&quot;,onChange:()=&gt;U(&quot;seminar_regime_sans_sel&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_regime_1&quot;,value:&quot;non&quot;,checked:p.seminar_regime_sans_sel===&quot;non&quot;,onChange:()=&gt;U(&quot;seminar_regime_sans_sel&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non&quot;})]})]}),Q(&quot;seminar_regime_sans_sel&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_regime_sans_sel&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Confession religieuse :&quot;}),d.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:k4.map(({value:le,label:Ce})=&gt;d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_confession_1&quot;,value:le,checked:p.seminar_confession_religieuse===le,onChange:()=&gt;P(le),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:Ce})]},le))}),Q(&quot;seminar_confession_religieuse&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_confession_religieuse&quot;)}),p.seminar_confession_religieuse===&quot;autre&quot;&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;mt-2&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Spécifiez :&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_confession_religieuse_autre,onChange:le=&gt;U(&quot;seminar_confession_religieuse_autre&quot;,le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_confession_religieuse_autre&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_confession_religieuse_autre&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_confession_religieuse_autre&quot;)})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Quelles sont vos attentes ?&quot;}),d.jsx(&quot;textarea&quot;,{value:p.seminar_fardeau_transformation,onChange:le=&gt;U(&quot;seminar_fardeau_transformation&quot;,le.target.value),rows:2,className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_fardeau_transformation&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_fardeau_transformation&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_fardeau_transformation&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Qui vous a recommandé ?&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_recommande_par,onChange:le=&gt;U(&quot;seminar_recommande_par&quot;,le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_recommande_par&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_recommande_par&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_recommande_par&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Engagements&quot;}),d.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:S4.map(({value:le,label:Ce})=&gt;d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:p.seminar_engagements?.includes(le)??!1,onChange:()=&gt;E(le),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:Ce})]},le))}),p.seminar_engagements?.includes(&quot;autre&quot;)&amp;&amp;d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_engagements_autre,onChange:le=&gt;U(&quot;seminar_engagements_autre&quot;,le.target.value),placeholder:&quot;Précisez&quot;,className:&quot;mt-2 w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;}),Q(&quot;seminar_engagements&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_engagements&quot;)})]})]}),p.selectedEvents.includes(&quot;recommend&quot;)&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[d.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900 mb-4 text-center uppercase&quot;,children:&quot;INFORMATIONS SUR LA PERSONNE RECOMMANDÉE&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;block text-sm font-medium text-ink-900 mb-2&quot;,children:&quot;Avez-vous déjà contacté la personne à propos de cette recommandation? (Il est fortement recommandé de contacter la personne avant que l&#039;invitation officielle de Haggai lui soit envoyée.)&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-4&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;oui&quot;,checked:p.recommended_contacted_before===&quot;oui&quot;,onChange:()=&gt;U(&quot;recommended_contacted_before&quot;,&quot;oui&quot;),className:&quot;w-4 h-4 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Oui&quot;})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;non&quot;,checked:p.recommended_contacted_before===&quot;non&quot;,onChange:()=&gt;U(&quot;recommended_contacted_before&quot;,&quot;non&quot;),className:&quot;w-4 h-4 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Non&quot;})]})]}),p.recommended_contacted_before===&quot;non&quot;&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600 font-medium&quot;,children:&quot;Veuillez d&#039;abord contacter la personne que vous voulez recommander pour la prévenir de l&#039;invitation que Haggai va lui envoyer.&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_first_name,onChange:le=&gt;U(&quot;recommended_first_name&quot;,le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_first_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_first_name&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_last_name,onChange:le=&gt;U(&quot;recommended_last_name&quot;,le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_last_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_last_name&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_profession,onChange:le=&gt;U(&quot;recommended_profession&quot;,le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_profession&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_profession&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_residence_country,onChange:le=&gt;U(&quot;recommended_residence_country&quot;,le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_residence_country&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_residence_country&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:p.recommended_phone_whatsapp,onChange:le=&gt;U(&quot;recommended_phone_whatsapp&quot;,le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_phone_whatsapp&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_phone_whatsapp&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.recommended_email,onChange:le=&gt;U(&quot;recommended_email&quot;,le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_email&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_email&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_email&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;homme&quot;,checked:p.recommended_gender===&quot;homme&quot;,onChange:()=&gt;U(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;femme&quot;,checked:p.recommended_gender===&quot;femme&quot;,onChange:()=&gt;U(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Q(&quot;recommended_gender&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]})]})]}),he&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-4 text-center uppercase&quot;,children:&quot;INFORMATIONS SUR LA PERSONNE RECOMMANDÉE&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;block text-sm font-medium text-ink-900 mb-2&quot;,children:&quot;Avez-vous déjà contacté la personne à propos de cette recommandation? (Il est fortement recommandé de contacter la personne avant que l&#039;invitation officielle de Haggai lui soit envoyée.)&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-4&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;oui&quot;,checked:p.recommended_contacted_before===&quot;oui&quot;,onChange:()=&gt;U(&quot;recommended_contacted_before&quot;,&quot;oui&quot;),className:&quot;w-4 h-4 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Oui&quot;})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;non&quot;,checked:p.recommended_contacted_before===&quot;non&quot;,onChange:()=&gt;U(&quot;recommended_contacted_before&quot;,&quot;non&quot;),className:&quot;w-4 h-4 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Non&quot;})]})]}),p.recommended_contacted_before===&quot;non&quot;&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600 font-medium&quot;,children:&quot;Veuillez d&#039;abord contacter la personne que vous voulez recommander pour la prévenir de l&#039;invitation que Haggai va lui envoyer.&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_first_name,onChange:le=&gt;U(&quot;recommended_first_name&quot;,le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_first_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_first_name&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_last_name,onChange:le=&gt;U(&quot;recommended_last_name&quot;,le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_last_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_last_name&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_profession,onChange:le=&gt;U(&quot;recommended_profession&quot;,le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_profession&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_profession&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_residence_country,onChange:le=&gt;U(&quot;recommended_residence_country&quot;,le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_residence_country&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_residence_country&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:p.recommended_phone_whatsapp,onChange:le=&gt;U(&quot;recommended_phone_whatsapp&quot;,le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_phone_whatsapp&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_phone_whatsapp&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.recommended_email,onChange:le=&gt;U(&quot;recommended_email&quot;,le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_email&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_email&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_email&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;homme&quot;,checked:p.recommended_gender===&quot;homme&quot;,onChange:()=&gt;U(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;femme&quot;,checked:p.recommended_gender===&quot;femme&quot;,onChange:()=&gt;U(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Q(&quot;recommended_gender&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]})]}),(!ce||ce&amp;&amp;p.selectedEvents.includes(&quot;summit&quot;)&amp;&amp;p.selectedEvents.includes(&quot;seminar&quot;))&amp;&amp;!he&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[p.selectedEvents.includes(&quot;seminar&quot;)&amp;&amp;d.jsx(N4,{}),d.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-2 text-center uppercase&quot;,children:&quot;MÉTHODE DE PAIEMENT&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-6 text-center&quot;,children:&quot;Veuillez indiquer votre préférence de mode de paiement et le nombre d&#039;échéances ci-dessous.&quot;}),(()=&gt;{const le=H();if(!(p.selectedEvents.includes(&quot;summit&quot;)&amp;&amp;p.selectedEvents.includes(&quot;seminar&quot;))||!le)return null;const Ae=b.find(Pe=&gt;Pe.code===p.package_code),je=Ae?le.currency===&quot;EUR&quot;?Ae.price_eur:Ae.price_xof:0;return d.jsxs(&quot;div&quot;,{className:&quot;mb-6 bg-brand-50 rounded-xl p-6 space-y-4&quot;,children:[d.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900 mb-4 text-center&quot;,children:&quot;Récapitulatif des frais&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:[&quot;Sommet - &quot;,Ae?.title||&quot;Formule sélectionnée&quot;]}),d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:Ae?.code||&quot;&quot;})]}),d.jsx(&quot;p&quot;,{className:&quot;text-base font-semibold text-ink-900&quot;,children:R(je,le.currency)})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:&quot;Séminaire - Résidentiel&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Formule obligatoire&quot;})]}),d.jsx(&quot;p&quot;,{className:&quot;text-base font-semibold text-ink-900&quot;,children:R(le.currency===&quot;EUR&quot;?C:_,le.currency)})]}),d.jsxs(&quot;div&quot;,{className:&quot;pt-4 border-t border-brand-700/30&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-lg font-heading font-semibold text-ink-900&quot;,children:&quot;Total à payer&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-2xl font-bold text-brand-700&quot;,children:le.formatted})]}),d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-2 text-right&quot;,children:&quot;Note : Les paiements peuvent être effectués séparément pour chaque événement.&quot;})]})]})]})})(),d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-3 gap-4&quot;,children:[d.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${p.payment_method_selected===&quot;mobile_money&quot;?&quot;border-brand-700 shadow-lg bg-brand-50&quot;:&quot;border-gray-200 hover:border-brand-700 hover:shadow-md bg-white&quot;}`,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;mobile_money&quot;,checked:p.payment_method_selected===&quot;mobile_money&quot;,onChange:()=&gt;U(&quot;payment_method_selected&quot;,&quot;mobile_money&quot;),className:&quot;sr-only&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:d.jsx(&quot;svg&quot;,{className:&quot;w-6 h-6 text-brand-700&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,viewBox:&quot;0 0 24 24&quot;,children:d.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M12 18h.01M8 21h8a2 2 0 002-2V5a2 2 0 00-2-2H8a2 2 0 00-2 2v14a2 2 0 002 2z&quot;})})})}),d.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Mobile Money&quot;}),p.payment_method_selected===&quot;mobile_money&quot;&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;absolute top-2 right-2 bg-brand-700 text-white rounded-full w-6 h-6 flex items-center justify-center&quot;,children:d.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:d.jsx(&quot;path&quot;,{fillRule:&quot;evenodd&quot;,d:&quot;M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z&quot;,clipRule:&quot;evenodd&quot;})})})]})]}),d.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${p.payment_method_selected===&quot;card_visa&quot;?&quot;border-brand-700 shadow-lg bg-brand-50&quot;:&quot;border-gray-200 hover:border-brand-700 hover:shadow-md bg-white&quot;}`,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;card_visa&quot;,checked:p.payment_method_selected===&quot;card_visa&quot;,onChange:()=&gt;U(&quot;payment_method_selected&quot;,&quot;card_visa&quot;),className:&quot;sr-only&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:d.jsx(&quot;svg&quot;,{className:&quot;w-6 h-6 text-brand-700&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,viewBox:&quot;0 0 24 24&quot;,children:d.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M3 10h18M7 15h1m4 0h1m-7 4h12a3 3 0 003-3V8a3 3 0 00-3-3H6a3 3 0 00-3 3v8a3 3 0 003 3z&quot;})})})}),d.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Carte de crédit (Visa)&quot;}),p.payment_method_selected===&quot;card_visa&quot;&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;absolute top-2 right-2 bg-brand-700 text-white rounded-full w-6 h-6 flex items-center justify-center&quot;,children:d.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:d.jsx(&quot;path&quot;,{fillRule:&quot;evenodd&quot;,d:&quot;M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z&quot;,clipRule:&quot;evenodd&quot;})})})]})]}),d.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${p.payment_method_selected===&quot;national_office&quot;?&quot;border-brand-700 shadow-lg bg-brand-50&quot;:&quot;border-gray-200 hover:border-brand-700 hover:shadow-md bg-white&quot;}`,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;national_office&quot;,checked:p.payment_method_selected===&quot;national_office&quot;,onChange:()=&gt;U(&quot;payment_method_selected&quot;,&quot;national_office&quot;),className:&quot;sr-only&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:d.jsx(&quot;svg&quot;,{className:&quot;w-6 h-6 text-brand-700&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,viewBox:&quot;0 0 24 24&quot;,children:d.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4&quot;})})})}),d.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Bureau national&quot;}),p.payment_method_selected===&quot;national_office&quot;&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;absolute top-2 right-2 bg-brand-700 text-white rounded-full w-6 h-6 flex items-center justify-center&quot;,children:d.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:d.jsx(&quot;path&quot;,{fillRule:&quot;evenodd&quot;,d:&quot;M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z&quot;,clipRule:&quot;evenodd&quot;})})})]})]})]}),d.jsxs(&quot;div&quot;,{className:&quot;mt-6 pt-6 border-t border-gray-200&quot;,children:[d.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900 mb-4 text-center uppercase&quot;,children:&quot;CONFIGURATION DES ÉCHÉANCES&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Nombre d&#039;échéances &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;div&quot;,{className:&quot;flex gap-3&quot;,children:[1,2,3].map(le=&gt;d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;W(le),className:`flex-1 py-3 px-4 rounded-xl border-2 transition-all ${p.installment_count===le?&quot;border-brand-700 bg-brand-700 text-white&quot;:&quot;border-gray-200 hover:border-brand-700 text-ink-500&quot;}`,children:[le,&quot; &quot;,le===1?&quot;échéance&quot;:&quot;échéances&quot;]},le))})]}),d.jsx(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:Array.from({length:p.installment_count}).map((le,Ce)=&gt;{const Ae=p.installment_months[Ce]||&quot;&quot;,je=!Ae||q([Ae]),Pe=c[`installment_month_${Ce}`],Qe=!!Pe||!je&amp;&amp;!!Ae;return d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Échéance &quot;,Ce+1,&quot; &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsxs(&quot;select&quot;,{value:Ae,onChange:Ue=&gt;K(Ce,Ue.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Qe?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner un mois&quot;}),L().map(Ue=&gt;d.jsx(&quot;option&quot;,{value:Ue.value,children:Ue.label},Ue.value))]}),Pe&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Pe[0]}),!Pe&amp;&amp;!je&amp;&amp;Ae&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:&quot;L&#039;échéance doit être au plus tard 2 mois avant l&#039;événement (septembre 2026 au plus tard)&quot;})]},Ce)})}),c.installment_months&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600&quot;,children:c.installment_months[0]})]})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:T,className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),ce||ge||te&amp;&amp;oe&amp;&amp;!de?d.jsx(Le,{type:&quot;button&quot;,onClick:z,disabled:!ie(),className:&quot;flex-1&quot;,children:&quot;Valider et passer au suivant&quot;}):d.jsx(Le,{type:&quot;submit&quot;,disabled:o||he&amp;&amp;!Z(),className:&quot;flex-1&quot;,children:o?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})}if(a===3){const te=p.selectedEvents.includes(&quot;summit&quot;),de=p.selectedEvents.includes(&quot;seminar&quot;),oe=p.selectedEvents.includes(&quot;recommend&quot;),se=te&amp;&amp;oe&amp;&amp;!de,fe=de&amp;&amp;oe&amp;&amp;!te,he=te&amp;&amp;de&amp;&amp;oe;return fe?d.jsx(&quot;form&quot;,{onSubmit:ce=&gt;{ce.preventDefault(),re()},className:&quot;space-y-6&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Recommander quelqu&#039;un au Séminaire&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_first_name,onChange:ce=&gt;U(&quot;recommended_first_name&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_first_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_first_name&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_last_name,onChange:ce=&gt;U(&quot;recommended_last_name&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_last_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_last_name&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_profession,onChange:ce=&gt;U(&quot;recommended_profession&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_profession&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_profession&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_residence_country,onChange:ce=&gt;U(&quot;recommended_residence_country&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_residence_country&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_residence_country&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:p.recommended_phone_whatsapp,onChange:ce=&gt;U(&quot;recommended_phone_whatsapp&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_phone_whatsapp&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_phone_whatsapp&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.recommended_email,onChange:ce=&gt;U(&quot;recommended_email&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_email&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_email&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_email&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;homme&quot;,checked:p.recommended_gender===&quot;homme&quot;,onChange:()=&gt;U(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;femme&quot;,checked:p.recommended_gender===&quot;femme&quot;,onChange:()=&gt;U(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Q(&quot;recommended_gender&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:X,className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),d.jsx(Le,{type:&quot;submit&quot;,disabled:o,className:&quot;flex-1&quot;,children:o?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})}):se?d.jsx(&quot;form&quot;,{onSubmit:ce=&gt;{ce.preventDefault(),re()},className:&quot;space-y-6&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-4 text-center uppercase&quot;,children:&quot;INFORMATIONS SUR LA PERSONNE RECOMMANDÉE&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;block text-sm font-medium text-ink-900 mb-2&quot;,children:&quot;Avez-vous déjà contacté la personne à propos de cette recommandation? (Il est fortement recommandé de contacter la personne avant que l&#039;invitation officielle de Haggai lui soit envoyée.)&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-4&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;oui&quot;,checked:p.recommended_contacted_before===&quot;oui&quot;,onChange:()=&gt;U(&quot;recommended_contacted_before&quot;,&quot;oui&quot;),className:&quot;w-4 h-4 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Oui&quot;})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;non&quot;,checked:p.recommended_contacted_before===&quot;non&quot;,onChange:()=&gt;U(&quot;recommended_contacted_before&quot;,&quot;non&quot;),className:&quot;w-4 h-4 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Non&quot;})]})]}),p.recommended_contacted_before===&quot;non&quot;&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600 font-medium&quot;,children:&quot;Veuillez d&#039;abord contacter la personne que vous voulez recommander pour la prévenir de l&#039;invitation que Haggai va lui envoyer.&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_first_name,onChange:ce=&gt;U(&quot;recommended_first_name&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_first_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_first_name&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_last_name,onChange:ce=&gt;U(&quot;recommended_last_name&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_last_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_last_name&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_profession,onChange:ce=&gt;U(&quot;recommended_profession&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_profession&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_profession&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_residence_country,onChange:ce=&gt;U(&quot;recommended_residence_country&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_residence_country&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_residence_country&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:p.recommended_phone_whatsapp,onChange:ce=&gt;U(&quot;recommended_phone_whatsapp&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_phone_whatsapp&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_phone_whatsapp&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.recommended_email,onChange:ce=&gt;U(&quot;recommended_email&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_email&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_email&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_email&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;homme&quot;,checked:p.recommended_gender===&quot;homme&quot;,onChange:()=&gt;U(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;femme&quot;,checked:p.recommended_gender===&quot;femme&quot;,onChange:()=&gt;U(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Q(&quot;recommended_gender&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:X,className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),d.jsx(Le,{type:&quot;submit&quot;,disabled:o,className:&quot;flex-1&quot;,children:o?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})}):d.jsx(&quot;form&quot;,{onSubmit:ce=&gt;{ce.preventDefault(),re()},className:&quot;space-y-6&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[he&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-blue-50 border border-blue-200 rounded-lg&quot;,children:d.jsx(&quot;p&quot;,{className:&quot;text-sm text-blue-800&quot;,children:`Vous avez également sélectionné &quot;Recommander quelqu&#039;un&quot;. Vous pourrez renseigner les informations de la personne recommandée sur la page suivante.`})}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Église ou organisation&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_church_organization,onChange:ce=&gt;U(&quot;seminar_church_organization&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_church_organization&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_church_organization&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_church_organization&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Rôle/Ministère&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_role_ministry,onChange:ce=&gt;U(&quot;seminar_role_ministry&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_role_ministry&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_role_ministry&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_role_ministry&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Situation matrimoniale &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_marital_status&quot;,value:&quot;marie&quot;,checked:p.seminar_marital_status===&quot;marie&quot;,onChange:()=&gt;U(&quot;seminar_marital_status&quot;,&quot;marie&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Marié(e)&quot;})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_marital_status&quot;,value:&quot;non_marie&quot;,checked:p.seminar_marital_status===&quot;non_marie&quot;,onChange:()=&gt;U(&quot;seminar_marital_status&quot;,&quot;non_marie&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non marié(e)&quot;})]})]}),Q(&quot;seminar_marital_status&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_marital_status&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_gender&quot;,value:&quot;homme&quot;,checked:p.seminar_gender===&quot;homme&quot;,onChange:()=&gt;U(&quot;seminar_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_gender&quot;,value:&quot;femme&quot;,checked:p.seminar_gender===&quot;femme&quot;,onChange:()=&gt;U(&quot;seminar_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Q(&quot;seminar_gender&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_gender&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Question ou préoccupation&quot;}),d.jsx(&quot;textarea&quot;,{value:p.seminar_question_or_concern,onChange:ce=&gt;U(&quot;seminar_question_or_concern&quot;,ce.target.value),rows:3,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[d.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-800 mb-3&quot;,children:&quot;Compléments d&#039;information pour le séminaire&quot;}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Date de naissance&quot;}),d.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:p.seminar_date_naissance,onChange:ce=&gt;U(&quot;seminar_date_naissance&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_date_naissance&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_date_naissance&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_date_naissance&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Personne à contacter en cas de besoin + lien de parenté&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_contact_urgence_nom_lien,onChange:ce=&gt;U(&quot;seminar_contact_urgence_nom_lien&quot;,ce.target.value),placeholder:&quot;Nom et lien (ex. époux, parent)&quot;,className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_contact_urgence_nom_lien&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_contact_urgence_nom_lien&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_contact_urgence_nom_lien&quot;)})]}),d.jsx(&quot;h5&quot;,{className:&quot;text-sm font-medium text-ink-700 mt-4 mb-2&quot;,children:&quot;Éducation&quot;}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Niveau d&#039;études&quot;}),d.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[&quot;primaire&quot;,&quot;secondaire_2&quot;,&quot;universitaire&quot;].map(ce=&gt;d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_niveau_etudes_2&quot;,value:ce,checked:p.seminar_niveau_etudes===ce,onChange:()=&gt;U(&quot;seminar_niveau_etudes&quot;,ce),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:ce===&quot;primaire&quot;?&quot;Primaire&quot;:ce===&quot;secondaire_2&quot;?&quot;Secondaire 2&quot;:&quot;Universitaire&quot;})]},ce))}),Q(&quot;seminar_niveau_etudes&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_niveau_etudes&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Domaine(s) d&#039;études / formation&quot;}),d.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:j4.map(({value:ce,label:ge})=&gt;d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:p.seminar_domaines_etude?.includes(ce)??!1,onChange:()=&gt;D(ce),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:ge})]},ce))}),p.seminar_domaines_etude?.includes(&quot;autre&quot;)&amp;&amp;d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_domaine_etude_autre,onChange:ce=&gt;U(&quot;seminar_domaine_etude_autre&quot;,ce.target.value),placeholder:&quot;Précisez&quot;,className:&quot;mt-2 w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;}),Q(&quot;seminar_domaines_etude&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_domaines_etude&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Niveau de français (écrit et parlé)&quot;}),d.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[&quot;natif&quot;,&quot;avance&quot;,&quot;intermediaire&quot;,&quot;faible&quot;].map(ce=&gt;d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_niveau_francais_2&quot;,value:ce,checked:p.seminar_niveau_francais===ce,onChange:()=&gt;U(&quot;seminar_niveau_francais&quot;,ce),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:ce===&quot;natif&quot;?&quot;Natif/Native&quot;:ce===&quot;avance&quot;?&quot;Avancé&quot;:ce===&quot;intermediaire&quot;?&quot;Intermédiaire&quot;:&quot;Faible&quot;})]},ce))}),Q(&quot;seminar_niveau_francais&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_niveau_francais&quot;)})]}),d.jsx(&quot;h5&quot;,{className:&quot;text-sm font-medium text-ink-700 mt-4 mb-2&quot;,children:&quot;Infos complémentaires&quot;}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Besoin d&#039;une lettre pour autorisation d&#039;absence ?&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_besoin_lettre_2&quot;,value:&quot;oui&quot;,checked:p.seminar_besoin_lettre_absence===&quot;oui&quot;,onChange:()=&gt;U(&quot;seminar_besoin_lettre_absence&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_besoin_lettre_2&quot;,value:&quot;non&quot;,checked:p.seminar_besoin_lettre_absence===&quot;non&quot;,onChange:()=&gt;U(&quot;seminar_besoin_lettre_absence&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non&quot;})]})]}),p.seminar_besoin_lettre_absence===&quot;oui&quot;&amp;&amp;d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_besoin_lettre_details,onChange:ce=&gt;U(&quot;seminar_besoin_lettre_details&quot;,ce.target.value),placeholder:&quot;Détails&quot;,className:&quot;mt-2 w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;}),Q(&quot;seminar_besoin_lettre_absence&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_besoin_lettre_absence&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Problème de santé / maladie chronique nécessitant attention ?&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_sante_details,onChange:ce=&gt;U(&quot;seminar_sante_details&quot;,ce.target.value),placeholder:&quot;Indiquez « Aucun » si applicable&quot;,className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_sante_details&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_sante_details&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_sante_details&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Régime sans sel ?&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_regime_2&quot;,value:&quot;oui&quot;,checked:p.seminar_regime_sans_sel===&quot;oui&quot;,onChange:()=&gt;U(&quot;seminar_regime_sans_sel&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_regime_2&quot;,value:&quot;non&quot;,checked:p.seminar_regime_sans_sel===&quot;non&quot;,onChange:()=&gt;U(&quot;seminar_regime_sans_sel&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non&quot;})]})]}),Q(&quot;seminar_regime_sans_sel&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_regime_sans_sel&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Confession religieuse :&quot;}),d.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:k4.map(({value:ce,label:ge})=&gt;d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_confession_2&quot;,value:ce,checked:p.seminar_confession_religieuse===ce,onChange:()=&gt;P(ce),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:ge})]},ce))}),Q(&quot;seminar_confession_religieuse&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_confession_religieuse&quot;)}),p.seminar_confession_religieuse===&quot;autre&quot;&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;mt-2&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Spécifiez :&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_confession_religieuse_autre,onChange:ce=&gt;U(&quot;seminar_confession_religieuse_autre&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_confession_religieuse_autre&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_confession_religieuse_autre&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_confession_religieuse_autre&quot;)})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Quelles sont vos attentes ?&quot;}),d.jsx(&quot;textarea&quot;,{value:p.seminar_fardeau_transformation,onChange:ce=&gt;U(&quot;seminar_fardeau_transformation&quot;,ce.target.value),rows:2,className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_fardeau_transformation&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_fardeau_transformation&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_fardeau_transformation&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Qui vous a recommandé ?&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_recommande_par,onChange:ce=&gt;U(&quot;seminar_recommande_par&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;seminar_recommande_par&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;seminar_recommande_par&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_recommande_par&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Engagements&quot;}),d.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:S4.map(({value:ce,label:ge})=&gt;d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:p.seminar_engagements?.includes(ce)??!1,onChange:()=&gt;E(ce),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:ge})]},ce))}),p.seminar_engagements?.includes(&quot;autre&quot;)&amp;&amp;d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.seminar_engagements_autre,onChange:ce=&gt;U(&quot;seminar_engagements_autre&quot;,ce.target.value),placeholder:&quot;Précisez&quot;,className:&quot;mt-2 w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;}),Q(&quot;seminar_engagements&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;seminar_engagements&quot;)})]})]}),p.seminar_intent===&quot;recommend&quot;&amp;&amp;!he&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[d.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900 mb-4 text-center uppercase&quot;,children:&quot;INFORMATIONS SUR LA PERSONNE RECOMMANDÉE&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;block text-sm font-medium text-ink-900 mb-2&quot;,children:&quot;Avez-vous déjà contacté la personne à propos de cette recommandation? (Il est fortement recommandé de contacter la personne avant que l&#039;invitation officielle de Haggai lui soit envoyée.)&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-4&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;oui&quot;,checked:p.recommended_contacted_before===&quot;oui&quot;,onChange:()=&gt;U(&quot;recommended_contacted_before&quot;,&quot;oui&quot;),className:&quot;w-4 h-4 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Oui&quot;})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;non&quot;,checked:p.recommended_contacted_before===&quot;non&quot;,onChange:()=&gt;U(&quot;recommended_contacted_before&quot;,&quot;non&quot;),className:&quot;w-4 h-4 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Non&quot;})]})]}),p.recommended_contacted_before===&quot;non&quot;&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600 font-medium&quot;,children:&quot;Veuillez d&#039;abord contacter la personne que vous voulez recommander pour la prévenir de l&#039;invitation que Haggai va lui envoyer.&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_first_name,onChange:ce=&gt;U(&quot;recommended_first_name&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_first_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_first_name&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_last_name,onChange:ce=&gt;U(&quot;recommended_last_name&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_last_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_last_name&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_profession,onChange:ce=&gt;U(&quot;recommended_profession&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_profession&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_profession&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_residence_country,onChange:ce=&gt;U(&quot;recommended_residence_country&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_residence_country&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_residence_country&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:p.recommended_phone_whatsapp,onChange:ce=&gt;U(&quot;recommended_phone_whatsapp&quot;,ce.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_phone_whatsapp&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_phone_whatsapp&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Email (optionnel)&quot;}),d.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.recommended_email,onChange:ce=&gt;U(&quot;recommended_email&quot;,ce.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender_4&quot;,value:&quot;homme&quot;,checked:p.recommended_gender===&quot;homme&quot;,onChange:()=&gt;U(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender_4&quot;,value:&quot;femme&quot;,checked:p.recommended_gender===&quot;femme&quot;,onChange:()=&gt;U(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Q(&quot;recommended_gender&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]})]}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[p.selectedEvents.includes(&quot;seminar&quot;)&amp;&amp;d.jsx(N4,{}),d.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-2 text-center uppercase&quot;,children:&quot;MÉTHODE DE PAIEMENT&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-6 text-center&quot;,children:&quot;Veuillez indiquer votre préférence de mode de paiement et le nombre d&#039;échéances ci-dessous.&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-3 gap-4&quot;,children:[d.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${p.payment_method_selected===&quot;mobile_money&quot;?&quot;border-brand-700 shadow-lg bg-brand-50&quot;:&quot;border-gray-200 hover:border-brand-700 hover:shadow-md bg-white&quot;}`,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;mobile_money&quot;,checked:p.payment_method_selected===&quot;mobile_money&quot;,onChange:()=&gt;U(&quot;payment_method_selected&quot;,&quot;mobile_money&quot;),className:&quot;sr-only&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:d.jsx(&quot;svg&quot;,{className:&quot;w-6 h-6 text-brand-700&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,viewBox:&quot;0 0 24 24&quot;,children:d.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M12 18h.01M8 21h8a2 2 0 002-2V5a2 2 0 00-2-2H8a2 2 0 00-2 2v14a2 2 0 002 2z&quot;})})})}),d.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Mobile Money&quot;}),p.payment_method_selected===&quot;mobile_money&quot;&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;absolute top-2 right-2 bg-brand-700 text-white rounded-full w-6 h-6 flex items-center justify-center&quot;,children:d.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:d.jsx(&quot;path&quot;,{fillRule:&quot;evenodd&quot;,d:&quot;M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z&quot;,clipRule:&quot;evenodd&quot;})})})]})]}),d.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${p.payment_method_selected===&quot;card_visa&quot;?&quot;border-brand-700 shadow-lg bg-brand-50&quot;:&quot;border-gray-200 hover:border-brand-700 hover:shadow-md bg-white&quot;}`,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;card_visa&quot;,checked:p.payment_method_selected===&quot;card_visa&quot;,onChange:()=&gt;U(&quot;payment_method_selected&quot;,&quot;card_visa&quot;),className:&quot;sr-only&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:d.jsx(&quot;svg&quot;,{className:&quot;w-6 h-6 text-brand-700&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,viewBox:&quot;0 0 24 24&quot;,children:d.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M3 10h18M7 15h1m4 0h1m-7 4h12a3 3 0 003-3V8a3 3 0 00-3-3H6a3 3 0 00-3 3v8a3 3 0 003 3z&quot;})})})}),d.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Carte de crédit (Visa)&quot;}),p.payment_method_selected===&quot;card_visa&quot;&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;absolute top-2 right-2 bg-brand-700 text-white rounded-full w-6 h-6 flex items-center justify-center&quot;,children:d.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:d.jsx(&quot;path&quot;,{fillRule:&quot;evenodd&quot;,d:&quot;M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z&quot;,clipRule:&quot;evenodd&quot;})})})]})]}),d.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${p.payment_method_selected===&quot;national_office&quot;?&quot;border-brand-700 shadow-lg bg-brand-50&quot;:&quot;border-gray-200 hover:border-brand-700 hover:shadow-md bg-white&quot;}`,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;national_office&quot;,checked:p.payment_method_selected===&quot;national_office&quot;,onChange:()=&gt;U(&quot;payment_method_selected&quot;,&quot;national_office&quot;),className:&quot;sr-only&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:d.jsx(&quot;svg&quot;,{className:&quot;w-6 h-6 text-brand-700&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,viewBox:&quot;0 0 24 24&quot;,children:d.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4&quot;})})})}),d.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Bureau national&quot;}),p.payment_method_selected===&quot;national_office&quot;&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;absolute top-2 right-2 bg-brand-700 text-white rounded-full w-6 h-6 flex items-center justify-center&quot;,children:d.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:d.jsx(&quot;path&quot;,{fillRule:&quot;evenodd&quot;,d:&quot;M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z&quot;,clipRule:&quot;evenodd&quot;})})})]})]})]}),d.jsxs(&quot;div&quot;,{className:&quot;mt-6 pt-6 border-t border-gray-200&quot;,children:[d.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900 mb-4 text-center uppercase&quot;,children:&quot;CONFIGURATION DES ÉCHÉANCES&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Nombre d&#039;échéances &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;div&quot;,{className:&quot;flex gap-3&quot;,children:[1,2,3].map(ce=&gt;d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;W(ce),className:`flex-1 py-3 px-4 rounded-xl border-2 transition-all ${p.installment_count===ce?&quot;border-brand-700 bg-brand-700 text-white&quot;:&quot;border-gray-200 hover:border-brand-700 text-ink-500&quot;}`,children:[ce,&quot; &quot;,ce===1?&quot;échéance&quot;:&quot;échéances&quot;]},ce))})]}),d.jsx(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:Array.from({length:p.installment_count}).map((ce,ge)=&gt;{const ye=p.installment_months[ge]||&quot;&quot;,pe=!ye||q([ye]),le=c[`installment_month_${ge}`],Ce=!!le||!pe&amp;&amp;!!ye;return d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Échéance &quot;,ge+1,&quot; &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsxs(&quot;select&quot;,{value:ye,onChange:Ae=&gt;K(ge,Ae.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Ce?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner un mois&quot;}),L().map(Ae=&gt;d.jsx(&quot;option&quot;,{value:Ae.value,children:Ae.label},Ae.value))]}),le&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:le[0]}),!le&amp;&amp;!pe&amp;&amp;ye&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:&quot;L&#039;échéance doit être au plus tard 2 mois avant l&#039;événement (septembre 2026 au plus tard)&quot;})]},ge)})}),c.installment_months&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600&quot;,children:c.installment_months[0]})]})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:X,className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),he?d.jsx(Le,{type:&quot;button&quot;,onClick:re,className:&quot;flex-1&quot;,children:&quot;Valider et passer au suivant&quot;}):d.jsx(Le,{type:&quot;submit&quot;,disabled:o,className:&quot;flex-1&quot;,children:o?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})})}if(a===4){const te=p.selectedEvents.includes(&quot;summit&quot;),de=p.selectedEvents.includes(&quot;seminar&quot;),oe=p.selectedEvents.includes(&quot;recommend&quot;);return te&amp;&amp;de&amp;&amp;oe?d.jsx(&quot;form&quot;,{onSubmit:fe=&gt;{fe.preventDefault(),ne()},className:&quot;space-y-6&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Recommander quelqu&#039;un au Séminaire&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_first_name,onChange:fe=&gt;U(&quot;recommended_first_name&quot;,fe.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_first_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_first_name&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_first_name&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_last_name,onChange:fe=&gt;U(&quot;recommended_last_name&quot;,fe.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_last_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_last_name&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_last_name&quot;)})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_profession,onChange:fe=&gt;U(&quot;recommended_profession&quot;,fe.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_profession&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_profession&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_profession&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p.recommended_residence_country,onChange:fe=&gt;U(&quot;recommended_residence_country&quot;,fe.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_residence_country&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_residence_country&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_residence_country&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:p.recommended_phone_whatsapp,onChange:fe=&gt;U(&quot;recommended_phone_whatsapp&quot;,fe.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_phone_whatsapp&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_phone_whatsapp&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_phone_whatsapp&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p.recommended_email,onChange:fe=&gt;U(&quot;recommended_email&quot;,fe.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Q(&quot;recommended_email&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Q(&quot;recommended_email&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_email&quot;)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;homme&quot;,checked:p.recommended_gender===&quot;homme&quot;,onChange:()=&gt;U(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;femme&quot;,checked:p.recommended_gender===&quot;femme&quot;,onChange:()=&gt;U(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Q(&quot;recommended_gender&quot;)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Q(&quot;recommended_gender&quot;)})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:()=&gt;u(3),className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),d.jsx(Le,{type:&quot;submit&quot;,disabled:o,className:&quot;flex-1&quot;,children:o?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})}):null}return null}const Fa=&quot;communication@sommetfrancophone.org&quot;,Hf=&quot;+225 05 5427 5725 (WhatsApp)&quot;;function OF(e,r){return e===1?&quot;PREINSCRIPTIONS &amp; RECOMMANDATIONS&quot;:r.length===1&amp;&amp;r[0]===&quot;summit&quot;?&quot;PREINSCRIPTION AU SOMMET&quot;:r.length===1&amp;&amp;r[0]===&quot;seminar&quot;?&quot;PREINSCRIPTION AU SEMINAIRE&quot;:r.length===1&amp;&amp;r[0]===&quot;recommend&quot;?&quot;RECOMMANDATION AU SEMINAIRE&quot;:&quot;PREINSCRIPTIONS &amp; RECOMMANDATIONS&quot;}function PF(e){return e===1?&quot;Sélectionner une option ci-dessous. Vous pourrez revenir pour un autre choix.&quot;:&quot;Complétez le formulaire ci-dessous.&quot;}function TF(){const[e]=Lm(),r=e.get(&quot;preselect&quot;),t=r===&quot;summit&quot;?[&quot;summit&quot;]:r===&quot;seminar&quot;?[&quot;seminar&quot;]:r===&quot;recommend&quot;?[&quot;recommend&quot;]:void 0,[n,l]=F.useState(&quot;form&quot;),[i,a]=F.useState({}),[u,o]=F.useState(!1),[s,c]=F.useState(null),[f,h]=F.useState({step:1,selectedEvents:[]}),m=x=&gt;{x.type===&quot;recommendation&quot;?a({recommendationId:x.id,type:&quot;recommendation&quot;}):a({registrationId:x.id,type:&quot;registration&quot;}),l(&quot;success&quot;)},p=x=&gt;{a(_=&gt;_.registrationId||_.recommendationId||n===&quot;success&quot;?{..._,existingRegistrationId:x,hasConflict:!0}:(l(&quot;conflict&quot;),{existingRegistrationId:x}))},v=x=&gt;{a({errorMessage:x}),x.includes(&quot;indisponibles&quot;)?l(&quot;unavailable&quot;):l(&quot;error&quot;)},g=()=&gt;{l(&quot;form&quot;),a({}),c(null)};F.useEffect(()=&gt;{n!==&quot;form&quot;&amp;&amp;window.scrollTo({top:0,behavior:&quot;smooth&quot;})},[n]);const b=async()=&gt;{if(i.existingRegistrationId){o(!0),c(null);try{await n1.resendVerification(i.existingRegistrationId),c(&quot;Email de vérification renvoyé avec succès. Vérifiez votre boîte de réception.&quot;)}catch(x){x instanceof Wt?x.status===422?c(x.data.errors?.registration?.[0]||x.message):c(x.message||&quot;Erreur lors du renvoi de l&#039;email.&quot;):c(&quot;Une erreur est survenue lors du renvoi de l&#039;email.&quot;)}finally{o(!1)}}};return n===&quot;success&quot;?d.jsx(Vo,{children:d.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;max-w-2xl mx-auto px-4 sm:px-6 lg:px-8&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:d.jsx(cL,{className:&quot;w-16 h-16 text-green-600&quot;})}),d.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-heading font-medium text-ink-900 mb-4&quot;,children:i.type===&quot;recommendation&quot;?&quot;Recommandation reçue&quot;:&quot;Inscription reçue&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-500 font-light mb-6&quot;,children:i.type===&quot;recommendation&quot;?&quot;Votre recommandation a été enregistrée avec succès.&quot;:&quot;Votre inscription a été enregistrée avec succès.&quot;}),i.type===&quot;registration&quot;&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;text-ink-500 font-light mb-8&quot;,children:&quot;Veuillez vérifier votre email pour confirmer votre inscription. Un email de vérification vous a été envoyé.&quot;}),i.type===&quot;recommendation&quot;&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;text-ink-500 font-light mb-8&quot;,children:&quot;Merci pour votre recommandation. L&#039;équipe examinera la candidature et contactera la personne recommandée si nécessaire.&quot;}),i.registrationId&amp;&amp;d.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-8&quot;,children:[&quot;Numéro d&#039;inscription : &quot;,d.jsxs(&quot;strong&quot;,{children:[&quot;#&quot;,i.registrationId]})]}),i.recommendationId&amp;&amp;d.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-8&quot;,children:[&quot;Numéro de recommandation : &quot;,d.jsxs(&quot;strong&quot;,{children:[&quot;#&quot;,i.recommendationId]})]}),i.hasConflict&amp;&amp;i.existingRegistrationId&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;bg-yellow-50 border border-yellow-200 rounded-lg p-4 mb-8&quot;,children:d.jsxs(&quot;p&quot;,{className:&quot;text-sm text-yellow-800&quot;,children:[d.jsx(&quot;strong&quot;,{children:&quot;Note :&quot;}),&quot; Une inscription existe déjà pour un autre événement (numéro #&quot;,i.existingRegistrationId,&quot;).&quot;]})}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[d.jsx(Le,{onClick:g,variant:&quot;secondary&quot;,children:&quot;Nouvelle inscription&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-2 text-sm text-ink-500&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;font-light&quot;,children:&quot;Pour toute question :&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center gap-4 flex-wrap&quot;,children:[d.jsxs(&quot;a&quot;,{href:`mailto:${Fa}`,className:&quot;hover:text-brand-9002 inline-flex items-center gap-1&quot;,children:[d.jsx(Wa,{className:&quot;w-4 h-4&quot;}),Fa]}),d.jsxs(&quot;span&quot;,{className:&quot;inline-flex items-center gap-1&quot;,children:[d.jsx(yu,{className:&quot;w-4 h-4&quot;}),Hf]})]})]}),d.jsx(&quot;div&quot;,{children:d.jsx(&quot;a&quot;,{href:&quot;/&quot;,className:&quot;text-brand-9002 hover:text-brand-900 font-light text-sm&quot;,children:&quot;Retour à l&#039;accueil&quot;})})]})]})})})}):n===&quot;conflict&quot;?d.jsx(Vo,{children:d.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;max-w-2xl mx-auto px-4 sm:px-6 lg:px-8&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:d.jsx(sb,{className:&quot;w-16 h-16 text-yellow-600&quot;})}),d.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Inscription déjà existante&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-500 font-light mb-6&quot;,children:&quot;Un utilisateur existe déjà avec le même email ou le même numéro de téléphone pour cet événement.&quot;}),i.existingRegistrationId&amp;&amp;d.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-8&quot;,children:[&quot;Numéro d&#039;inscription existante : &quot;,d.jsxs(&quot;strong&quot;,{children:[&quot;#&quot;,i.existingRegistrationId]})]}),d.jsx(&quot;div&quot;,{className:&quot;space-y-4 mb-8&quot;,children:d.jsx(&quot;p&quot;,{className:&quot;text-ink-500 font-light&quot;,children:&quot;Si vous avez des questions ou souhaitez modifier votre inscription, veuillez contacter l&#039;équipe.&quot;})}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[d.jsx(Le,{onClick:b,variant:&quot;secondary&quot;,disabled:u,children:u?&quot;Envoi en cours...&quot;:&quot;Renvoyer l&#039;email de vérification&quot;}),s&amp;&amp;d.jsx(&quot;p&quot;,{className:`text-sm ${s.includes(&quot;succès&quot;)?&quot;text-green-600&quot;:&quot;text-red-600&quot;}`,children:s}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-2 text-sm text-ink-500&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;font-light&quot;,children:&quot;Ou contactez-nous :&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[d.jsx(Wa,{className:&quot;w-4 h-4&quot;}),d.jsx(&quot;a&quot;,{href:`mailto:${Fa}`,className:&quot;hover:text-brand-9002&quot;,children:Fa})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[d.jsx(yu,{className:&quot;w-4 h-4&quot;}),d.jsx(&quot;span&quot;,{children:Hf})]})]}),d.jsx(Le,{onClick:g,variant:&quot;outline&quot;,children:&quot;Nouvelle inscription&quot;}),d.jsx(&quot;div&quot;,{children:d.jsx(&quot;a&quot;,{href:&quot;/&quot;,className:&quot;text-brand-9002 hover:text-brand-900 font-light text-sm&quot;,children:&quot;Retour à l&#039;accueil&quot;})})]})]})})})}):n===&quot;error&quot;?d.jsx(Vo,{children:d.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;max-w-2xl mx-auto px-4 sm:px-6 lg:px-8&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:d.jsx(fL,{className:&quot;w-16 h-16 text-red-600&quot;})}),d.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Erreur&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-500 font-light mb-8&quot;,children:i.errorMessage||&quot;Une erreur est survenue lors de l&#039;inscription.&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[d.jsx(Le,{onClick:g,children:&quot;Réessayer&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-2 text-sm text-ink-500&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;font-light&quot;,children:&quot;Ou contactez-nous :&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[d.jsx(Wa,{className:&quot;w-4 h-4&quot;}),d.jsx(&quot;a&quot;,{href:`mailto:${Fa}`,className:&quot;hover:text-brand-9002&quot;,children:Fa})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[d.jsx(yu,{className:&quot;w-4 h-4&quot;}),d.jsx(&quot;span&quot;,{children:Hf})]})]}),d.jsx(&quot;div&quot;,{children:d.jsx(&quot;a&quot;,{href:&quot;/&quot;,className:&quot;text-brand-9002 hover:text-brand-900 font-light text-sm&quot;,children:&quot;Retour à l&#039;accueil&quot;})})]})]})})})}):n===&quot;unavailable&quot;?d.jsx(Vo,{children:d.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;max-w-2xl mx-auto px-4 sm:px-6 lg:px-8&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:d.jsx(sb,{className:&quot;w-16 h-16 text-yellow-600&quot;})}),d.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Inscriptions publiques indisponibles&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-500 font-light mb-8&quot;,children:&quot;Les inscriptions publiques ne sont pas disponibles pour le moment. Veuillez réessayer plus tard ou contacter l&#039;équipe pour plus d&#039;informations.&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2 mb-2&quot;,children:[d.jsx(Wa,{className:&quot;w-4 h-4&quot;}),d.jsx(&quot;a&quot;,{href:`mailto:${Fa}`,className:&quot;hover:text-brand-9002&quot;,children:Fa})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[d.jsx(yu,{className:&quot;w-4 h-4&quot;}),d.jsx(&quot;span&quot;,{children:Hf})]})]}),d.jsx(&quot;div&quot;,{children:d.jsx(&quot;a&quot;,{href:&quot;/&quot;,className:&quot;text-brand-9002 hover:text-brand-900 font-light text-sm&quot;,children:&quot;Retour à l&#039;accueil&quot;})})]})]})})})}):d.jsx(Vo,{children:d.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;w-full mx-auto&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;text-center mb-12 px-4 sm:px-6 lg:px-8&quot;,children:[d.jsx(&quot;h1&quot;,{className:&quot;text-4xl font-heading font-medium text-ink-900 mb-4 uppercase&quot;,children:OF(f.step,f.selectedEvents)}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-500 font-light text-lg&quot;,children:PF(f.step)})]}),d.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-4 sm:p-6 md:p-8 mx-4 sm:mx-6 md:mx-[20%]&quot;,children:d.jsx(MF,{preselectedEvents:t,onSuccess:m,onConflict:p,onError:v,onFormLayoutChange:h})})]})})})}function Wn({children:e,className:r=&quot;&quot;}){return d.jsx(&quot;div&quot;,{className:`bg-surface-0 rounded-xl2 shadow-soft p-6 ${r}`,children:e})}function IF(){const e=fs(),{isAuthenticated:r,canAccessAdmin:t,loading:n,refetch:l,roles:i}=Ps(),[a,u]=F.useState(&quot;&quot;),[o,s]=F.useState(&quot;&quot;),[c,f]=F.useState(!1),[h,m]=F.useState(null);if(n)return d.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})});if(r){const g=t&amp;&amp;!i.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!i.includes(&quot;COMMISSION_ADMINISTRATION&quot;)&amp;&amp;!i.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;(i.includes(&quot;COMMISSION_FINANCE&quot;)||i.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)||i.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;))?&quot;/admin/finance&quot;:&quot;/admin/registrations&quot;;return d.jsx(ai,{to:t?g:&quot;/account&quot;,replace:!0})}const p=async v=&gt;{v.preventDefault(),f(!0),m(null);try{const g=await Ri.login({email:a.trim(),password:o});if(!g||!g.token){m(&quot;Réponse invalide du serveur.&quot;);return}let b=g.user??null;if(b||(b=await l()),!b){m(&quot;Connexion réussie mais impossible de charger le profil. Réessayez ou rechargez la page.&quot;);return}const x=[&quot;SUPER_ADMIN&quot;,&quot;COMMISSION_ADMINISTRATION&quot;,&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;,&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;,&quot;COMMISSION_FINANCE&quot;,&quot;COMMISSION_FINANCE_SOMMET&quot;,&quot;COMMISSION_FINANCE_SEMINAIRE&quot;,&quot;COMMISSION_COMMUNICATION&quot;,&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;],_=(b.roles??[]).map(H=&gt;typeof H==&quot;string&quot;?H:H.name).filter(H=&gt;typeof H==&quot;string&quot;),C=_.some(H=&gt;x.includes(H)),R=!_.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;(_.includes(&quot;COMMISSION_FINANCE&quot;)||_.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)||_.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;))?&quot;/admin/finance&quot;:&quot;/admin/registrations&quot;;e(C?R:&quot;/account&quot;,{replace:!0})}catch(g){if(console.error(&quot;Erreur de connexion complète:&quot;,g),g instanceof Wt)if(console.error(&quot;Détails de l&#039;erreur API:&quot;,{status:g.status,data:g.data,message:g.message}),g.status===422&amp;&amp;g.data.errors){const b=Object.values(g.data.errors).flat();m(b.join(&quot;. &quot;)||&quot;Erreur de validation.&quot;)}else g.status===401||g.status===422?g.data.errors&amp;&amp;g.data.errors.email?m(g.data.errors.email[0]||&quot;Email ou mot de passe incorrect.&quot;):m(g.data.message||&quot;Email ou mot de passe incorrect.&quot;):g.status===403?m(&quot;Votre compte n&#039;a pas les permissions nécessaires.&quot;):g.status===0?m(&quot;Impossible de joindre l’API (réseau ou serveur arrêté). Vérifiez que Laravel tourne et, si besoin, `VITE_API_PROXY_TARGET` dans `.env.development`.&quot;):m(g.data?.message||&quot;Une erreur est survenue lors de la connexion.&quot;);else m(&quot;Une erreur inattendue est survenue.&quot;)}finally{f(!1)}};return d.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;max-w-md w-full&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;text-center mb-8&quot;,children:[d.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:&quot;Connexion&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Connectez-vous à votre espace&quot;})]}),d.jsx(Wn,{children:d.jsxs(&quot;form&quot;,{onSubmit:p,className:&quot;space-y-6&quot;,children:[h&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-4&quot;,children:d.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:h})}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{htmlFor:&quot;email&quot;,className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Email&quot;}),d.jsx(&quot;input&quot;,{id:&quot;email&quot;,type:&quot;email&quot;,value:a,onChange:v=&gt;u(v.target.value),required:!0,autoComplete:&quot;email&quot;,className:&quot;w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent transition-all&quot;,placeholder:&quot;votre-email@example.com&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{htmlFor:&quot;password&quot;,className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Mot de passe&quot;}),d.jsx(&quot;input&quot;,{id:&quot;password&quot;,type:&quot;password&quot;,value:o,onChange:v=&gt;s(v.target.value),required:!0,autoComplete:&quot;current-password&quot;,className:&quot;w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent transition-all&quot;,placeholder:&quot;••••••••&quot;})]}),d.jsx(Le,{type:&quot;submit&quot;,variant:&quot;primary&quot;,className:&quot;w-full&quot;,disabled:c,children:c?&quot;Connexion...&quot;:&quot;Se connecter&quot;})]})}),d.jsx(&quot;div&quot;,{className:&quot;mt-6 text-center&quot;,children:d.jsx(&quot;a&quot;,{href:&quot;/&quot;,className:&quot;text-sm text-brand-700 hover:text-brand-900 hover:underline&quot;,children:&quot;← Retour à l&#039;accueil&quot;})})]})})}function RF(){const[e]=Lm(),r=fs(),t=e.get(&quot;token&quot;)??&quot;&quot;,[n,l]=F.useState(t?&quot;initial&quot;:&quot;error&quot;),[i,a]=F.useState(!!t),[u,o]=F.useState(!1),[s,c]=F.useState(&quot;&quot;),[f,h]=F.useState(&quot;&quot;),[m,p]=F.useState(!1),[v,g]=F.useState(&quot;&quot;),[b,x]=F.useState({});F.useEffect(()=&gt;{if(!t){g(&quot;Lien d&#039;activation invalide ou manquant.&quot;);return}let O=!1;return Ri.checkActivation(t).then(R=&gt;{O||(o(R.already_active),a(!1))}).catch(R=&gt;{O||(a(!1),l(&quot;error&quot;),g(R instanceof Wt?R.data?.errors?.token?.[0]??R.data?.message??&quot;Le lien d&#039;activation est invalide ou a expiré.&quot;:&quot;Une erreur est survenue.&quot;))}),()=&gt;{O=!0}},[t]);const _=async O=&gt;{if(O.preventDefault(),!!t){x({}),p(!0),g(&quot;&quot;);try{const R={token:t.trim()};u||(R.password=s,R.password_confirmation=f);const H=await Ri.activate(R);l(&quot;success&quot;);const L=u?&quot;Inscription confirmée.&quot;:&quot;Votre compte est activé. Vous pouvez maintenant accéder à votre espace.&quot;;g(H?.message??L)}catch(R){if(l(&quot;error&quot;),R instanceof Wt)if(R.status===422&amp;&amp;R.data.errors){const H={};Object.entries(R.data.errors).forEach(([L,q])=&gt;{Array.isArray(q)&amp;&amp;q[0]&amp;&amp;(H[L]=q[0])}),x(H),g(R.data.errors?.token?.[0]??R.data.errors?.password?.[0]??&quot;Vérifiez votre mot de passe (8 caractères minimum) et la confirmation.&quot;)}else g(R.data?.message??&quot;Le lien d&#039;activation est invalide ou a expiré. Utilisez le lien le plus récent reçu par email.&quot;);else g(&quot;Une erreur est survenue. Veuillez réessayer plus tard.&quot;)}finally{p(!1)}}},C=()=&gt;{_({preventDefault:()=&gt;{}})};return d.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center py-12 px-4&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;max-w-md w-full&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;text-center mb-8&quot;,children:[d.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:&quot;Activation de compte&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:u?&quot;Confirmez cette inscription pour votre espace participant&quot;:&quot;Définissez votre mot de passe pour accéder à votre espace participant&quot;})]}),d.jsxs(Wn,{children:[n===&quot;error&quot;&amp;&amp;!t&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-red-600&quot;,children:v}),d.jsx(Le,{variant:&quot;primary&quot;,className:&quot;mt-4&quot;,onClick:()=&gt;r(&quot;/&quot;),children:&quot;Retour à l&#039;accueil&quot;})]}),i&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;py-8 text-center text-ink-500&quot;,children:&quot;Vérification du lien en cours...&quot;}),!i&amp;&amp;u&amp;&amp;(n===&quot;initial&quot;||n===&quot;error&quot;)&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-ink-700&quot;,children:&quot;Vous avez déjà un compte actif (par exemple suite à une inscription au Sommet). Cliquez ci-dessous pour confirmer cette nouvelle inscription sans modifier votre mot de passe.&quot;}),v&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-4&quot;,children:d.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:v})}),d.jsx(Le,{variant:&quot;primary&quot;,className:&quot;w-full&quot;,onClick:C,disabled:m,children:m?&quot;Confirmation en cours...&quot;:&quot;Confirmer cette inscription&quot;})]}),!i&amp;&amp;!u&amp;&amp;(n===&quot;initial&quot;||n===&quot;loading&quot;||n===&quot;error&quot;&amp;&amp;t)&amp;&amp;d.jsxs(&quot;form&quot;,{onSubmit:_,className:&quot;space-y-6&quot;,children:[v&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-4&quot;,children:d.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:v})}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{htmlFor:&quot;password&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-2&quot;,children:&quot;Mot de passe&quot;}),d.jsx(&quot;input&quot;,{id:&quot;password&quot;,type:&quot;password&quot;,value:s,onChange:O=&gt;c(O.target.value),required:!0,minLength:8,autoComplete:&quot;new-password&quot;,className:`w-full px-4 py-3 border rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent ${b.password?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`,placeholder:&quot;••••••••&quot;}),b.password&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:b.password})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{htmlFor:&quot;password_confirmation&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-2&quot;,children:&quot;Confirmer le mot de passe&quot;}),d.jsx(&quot;input&quot;,{id:&quot;password_confirmation&quot;,type:&quot;password&quot;,value:f,onChange:O=&gt;h(O.target.value),required:!0,minLength:8,autoComplete:&quot;new-password&quot;,className:`w-full px-4 py-3 border rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent ${b.password_confirmation?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`,placeholder:&quot;••••••••&quot;}),b.password_confirmation&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:b.password_confirmation})]}),d.jsx(Le,{type:&quot;submit&quot;,variant:&quot;primary&quot;,className:&quot;w-full&quot;,disabled:m,children:m?&quot;Activation en cours...&quot;:&quot;Activer mon compte&quot;})]}),n===&quot;success&quot;&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;text-center&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;inline-flex items-center justify-center w-16 h-16 rounded-full bg-green-100 mb-6&quot;,children:d.jsx(&quot;svg&quot;,{className:&quot;w-8 h-8 text-green-600&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,viewBox:&quot;0 0 24 24&quot;,children:d.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M5 13l4 4L19 7&quot;})})}),d.jsx(&quot;h2&quot;,{className:&quot;text-xl font-semibold text-ink-900 mb-2&quot;,children:&quot;Compte activé&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mb-6&quot;,children:v}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[d.jsx(Le,{variant:&quot;primary&quot;,className:&quot;w-full&quot;,onClick:()=&gt;r(&quot;/account&quot;),children:&quot;Aller à mon espace&quot;}),d.jsx(Le,{variant:&quot;outline&quot;,className:&quot;w-full&quot;,onClick:()=&gt;r(&quot;/&quot;),children:&quot;Retour à l&#039;accueil&quot;})]})]})]}),d.jsx(&quot;div&quot;,{className:&quot;mt-6 text-center&quot;,children:d.jsx(&quot;a&quot;,{href:&quot;/&quot;,className:&quot;text-sm text-brand-700 hover:text-brand-900 hover:underline&quot;,children:&quot;← Retour à l&#039;accueil&quot;})})]})})}const pi={CI:{label:&quot;Côte d&#039;Ivoire&quot;,phonePlaceholder:&quot;0709000001&quot;,operators:[{apiValue:&quot;Orange&quot;,label:&quot;Orange&quot;}]},BF:{label:&quot;Burkina Faso&quot;,phonePlaceholder:&quot;22670123456&quot;,operators:[{apiValue:&quot;Moov&quot;,label:&quot;Moov&quot;}]}},Vm=Object.keys(pi);function rc(e){if(e==null)return&quot;BF&quot;;const r=e.trim();if(r.length===0)return&quot;BF&quot;;const t=r.toUpperCase();return t.includes(&quot;COTE&quot;)||t.includes(&quot;IVOIRE&quot;)?&quot;CI&quot;:t.includes(&quot;BURKINA&quot;)||t.includes(&quot;FASO&quot;)?&quot;BF&quot;:/^[A-Z]{2}$/.test(t)?t===&quot;BU&quot;?&quot;BF&quot;:Vm.includes(t)?t:&quot;BF&quot;:&quot;BF&quot;}function Ru(e){const r=e.replace(/\s/g,&quot;&quot;);return r.length&gt;=8&amp;&amp;/^\+?[0-9]+$/.test(r)}function DF({open:e,registrationId:r,installmentIndex:t,defaultCountry:n=&quot;CI&quot;,onClose:l,onInitiated:i}){const[a,u]=F.useState(()=&gt;rc(n)),[o,s]=F.useState(&quot;&quot;),[c,f]=F.useState(&quot;&quot;),[h,m]=F.useState(!1),[p,v]=F.useState(null),[g,b]=F.useState(!1),x=pi[a]??pi.CI;F.useEffect(()=&gt;{e&amp;&amp;(u(rc(n)),s(&quot;&quot;),f(&quot;&quot;),v(null),b(!1))},[e,n]),F.useEffect(()=&gt;{s(H=&gt;{const L=pi[a];return L&amp;&amp;L.operators.some(q=&gt;q.apiValue===H)?H:&quot;&quot;})},[a]);const _=F.useMemo(()=&gt;o?c.replace(/\s/g,&quot;&quot;)?Ru(c)?null:&quot;Numéro de téléphone invalide (chiffres uniquement, au moins 8).&quot;:&quot;Indiquez votre numéro Mobile Money.&quot;:&quot;Choisissez un opérateur Mobile Money.&quot;,[o,c]),C=_===null&amp;&amp;!h;if(!e)return null;const O=()=&gt;{if(b(!0),v(null),_){v(_);return}m(!0);const H=c.replace(/\s/g,&quot;&quot;),L={operator:o,phone:H,country:a,idempotency_key:typeof crypto&lt;&quot;u&quot;&amp;&amp;crypto.randomUUID?crypto.randomUUID():void 0};t!==null&amp;&amp;(L.installment_index=t),hF(r,L).then(q=&gt;{i(q),l()}).catch(q=&gt;{q instanceof Wt?v(q.data?.message??q.message):v(&quot;Une erreur est survenue.&quot;)}).finally(()=&gt;m(!1))},R=g||p!==null;return d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;flex min-h-screen items-center justify-center px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity&quot;,onClick:()=&gt;!h&amp;&amp;l(),&quot;aria-hidden&quot;:!0}),d.jsxs(&quot;div&quot;,{className:&quot;inline-block max-h-[90vh] overflow-y-auto w-full max-w-md transform rounded-lg bg-white p-6 text-left align-middle shadow-xl transition-all sm:my-8&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Paiement Mobile Money (SycaPay)&quot;}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!h&amp;&amp;l(),className:&quot;text-gray-400 hover:text-gray-600 p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:d.jsx(vr,{size:22})})]}),d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600 mb-4&quot;,children:&quot;Après validation, vous serez redirigé vers la page sécurisée du prestataire si nécessaire. Le statut réel du paiement sera mis à jour sur cette page après votre retour.&quot;}),p&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 rounded-lg border border-red-200 bg-red-50 p-3&quot;,children:d.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:p})}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-sm font-medium text-ink-700&quot;,htmlFor:&quot;sycapay-country&quot;,children:&quot;Pays&quot;}),d.jsx(&quot;select&quot;,{id:&quot;sycapay-country&quot;,value:a,onChange:H=&gt;u(H.target.value),className:&quot;w-full rounded-lg border border-gray-300 bg-white px-3 py-2 text-sm focus:ring-2 focus:ring-brand-700&quot;,disabled:h,children:Vm.map(H=&gt;d.jsxs(&quot;option&quot;,{value:H,children:[pi[H].label,&quot; (&quot;,H,&quot;)&quot;]},H))})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;mb-1 block text-sm font-medium text-ink-700&quot;,htmlFor:&quot;sycapay-operator&quot;,children:[&quot;Opérateur &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsxs(&quot;select&quot;,{id:&quot;sycapay-operator&quot;,value:o,onChange:H=&gt;s(H.target.value),className:&quot;w-full rounded-lg border border-gray-300 bg-white px-3 py-2 text-sm focus:ring-2 focus:ring-brand-700&quot;,disabled:h,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;— Choisir —&quot;}),x.operators.map(H=&gt;d.jsx(&quot;option&quot;,{value:H.apiValue,children:H.label},H.apiValue))]}),R&amp;&amp;!o&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:&quot;Veuillez sélectionner un opérateur.&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;mb-1 block text-sm font-medium text-ink-700&quot;,htmlFor:&quot;sycapay-phone&quot;,children:[&quot;Numéro Mobile Money &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{id:&quot;sycapay-phone&quot;,type:&quot;tel&quot;,value:c,onChange:H=&gt;f(H.target.value),className:&quot;w-full rounded-lg border border-gray-300 px-3 py-2 text-sm focus:ring-2 focus:ring-brand-700&quot;,disabled:h,placeholder:`Ex. ${x.phonePlaceholder}`,autoComplete:&quot;tel&quot;}),R&amp;&amp;c.replace(/\s/g,&quot;&quot;).length&gt;0&amp;&amp;!Ru(c)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:&quot;Format invalide : utilisez des chiffres (éventuellement + en tête).&quot;})]})]}),d.jsxs(&quot;div&quot;,{className:&quot;mt-6 flex justify-end gap-2&quot;,children:[d.jsx(Le,{variant:&quot;ghost&quot;,onClick:l,disabled:h,children:&quot;Annuler&quot;}),d.jsx(Le,{variant:&quot;primary&quot;,onClick:O,disabled:!C,children:h?&quot;Préparation…&quot;:&quot;Continuer vers le paiement&quot;})]})]})]})})}const LF=[&quot;Janvier&quot;,&quot;Février&quot;,&quot;Mars&quot;,&quot;Avril&quot;,&quot;Mai&quot;,&quot;Juin&quot;,&quot;Juillet&quot;,&quot;Août&quot;,&quot;Septembre&quot;,&quot;Octobre&quot;,&quot;Novembre&quot;,&quot;Décembre&quot;];function FF(e){const[r,t]=e.split(&quot;-&quot;).map(Number);if(Number.isNaN(r)||Number.isNaN(t))return e;const l=new Date(r,t,0).getDate(),i=LF[t-1]??String(t);return`${l} ${i} ${r}`}function BF(e,r){const t=e?.[r];return t?.month?`Échéance — date limite le ${FF(t.month)}`:r===0?&quot;Solde unique&quot;:`Échéance ${r+1}`}function zF({open:e,registrationId:r,defaultCountry:t=&quot;CI&quot;,remainingDue:n,currencyLabel:l,installments:i,onClose:a,onInitSuccess:u}){const[o,s]=F.useState(()=&gt;rc(t)),[c,f]=F.useState(&quot;&quot;),[h,m]=F.useState(&quot;&quot;),[p,v]=F.useState(&quot;&quot;),[g,b]=F.useState(!1),[x,_]=F.useState(null),[C,O]=F.useState(!1),[R,H]=F.useState(&quot;form&quot;),[L,q]=F.useState(null),W=pi[o]??pi.CI;F.useEffect(()=&gt;{e&amp;&amp;(s(rc(t)),f(&quot;&quot;),m(&quot;&quot;),v(&quot;&quot;),_(null),O(!1),H(&quot;form&quot;),q(null))},[e,t]),F.useEffect(()=&gt;{f(S=&gt;{const N=pi[o];return N&amp;&amp;N.operators.some(M=&gt;M.apiValue===S)?S:&quot;&quot;})},[o]);const K=F.useMemo(()=&gt;{const S=parseInt(p.replace(/\s/g,&quot;&quot;),10);return Number.isFinite(S)?S:NaN},[p]),U=F.useMemo(()=&gt;c?h.replace(/\s/g,&quot;&quot;)?Ru(h)?!Number.isFinite(K)||K&lt;=0?&quot;Indiquez un montant strictement positif.&quot;:K&gt;n?`Le montant ne peut pas dépasser le solde restant (${n.toLocaleString(&quot;fr-FR&quot;)} ${l}).`:null:&quot;Numéro de téléphone invalide (chiffres uniquement, au moins 8).&quot;:&quot;Indiquez votre numéro Mobile Money.&quot;:&quot;Choisissez un opérateur Mobile Money.&quot;,[c,h,K,n,l]),P=U===null&amp;&amp;!g&amp;&amp;R===&quot;form&quot;;if(!e)return null;const D=()=&gt;{if(O(!0),_(null),U){_(U);return}b(!0);const S=h.replace(/\s/g,&quot;&quot;),N={amount:K,operator:c,phone:S,country:o,idempotency_key:typeof crypto&lt;&quot;u&quot;&amp;&amp;crypto.randomUUID?crypto.randomUUID():void 0};mF(r,N).then(M=&gt;{const I=M.data;if(I.status===&quot;failed&quot;||I.error){_(D8(I,M.message));return}q(M),H(&quot;afterInit&quot;),u()}).catch(M=&gt;{M instanceof Wt?_(pF(M)):_(&quot;Une erreur est survenue.&quot;)}).finally(()=&gt;b(!1))},E=()=&gt;{const S=L?.data.redirect_url;if(S){window.location.assign(S);return}a()},j=C||x!==null,k=L?.data.allocation_preview;return d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;flex min-h-screen items-center justify-center px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity&quot;,onClick:()=&gt;!g&amp;&amp;R===&quot;form&quot;&amp;&amp;a(),&quot;aria-hidden&quot;:!0}),d.jsxs(&quot;div&quot;,{className:&quot;inline-block max-h-[90vh] overflow-y-auto w-full max-w-md transform rounded-lg bg-white p-6 text-left align-middle shadow-xl transition-all sm:my-8&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Payer un montant libre&quot;}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!g&amp;&amp;a(),className:&quot;text-gray-400 hover:text-gray-600 p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:d.jsx(vr,{size:22})})]}),R===&quot;form&quot;&amp;&amp;d.jsxs(d.Fragment,{children:[d.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-amber-100 bg-amber-50/80 px-3 py-2.5 mb-4 space-y-2 text-sm text-ink-700&quot;,children:[d.jsxs(&quot;p&quot;,{children:[&quot;Le montant sera &quot;,d.jsx(&quot;strong&quot;,{children:&quot;automatiquement imputé&quot;}),&quot; à vos échéances encore dues, de la&quot;,&quot; &quot;,d.jsx(&quot;strong&quot;,{children:&quot;plus ancienne à la plus récente&quot;}),&quot;.&quot;]}),d.jsxs(&quot;p&quot;,{className:&quot;text-ink-600&quot;,children:[&quot;Il ne peut pas dépasser votre solde restant (&quot;,n.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,l,&quot;). Le montant définitif est validé par le serveur.&quot;]})]}),x&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 rounded-lg border border-red-200 bg-red-50 p-3&quot;,children:d.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:x})}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;mb-1 block text-sm font-medium text-ink-700&quot;,htmlFor:&quot;open-amt-amount&quot;,children:[&quot;Montant &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{id:&quot;open-amt-amount&quot;,type:&quot;text&quot;,inputMode:&quot;numeric&quot;,value:p,onChange:S=&gt;v(S.target.value.replace(/[^\d\s]/g,&quot;&quot;)),className:&quot;w-full rounded-lg border border-gray-300 px-3 py-2 text-sm focus:ring-2 focus:ring-brand-700&quot;,disabled:g,placeholder:`Max. ${n.toLocaleString(&quot;fr-FR&quot;)}`,autoComplete:&quot;off&quot;}),j&amp;&amp;Number.isFinite(K)&amp;&amp;K&gt;n&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:&quot;Montant supérieur au solde restant.&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-sm font-medium text-ink-700&quot;,htmlFor:&quot;open-amt-country&quot;,children:&quot;Pays&quot;}),d.jsx(&quot;select&quot;,{id:&quot;open-amt-country&quot;,value:o,onChange:S=&gt;s(S.target.value),className:&quot;w-full rounded-lg border border-gray-300 bg-white px-3 py-2 text-sm focus:ring-2 focus:ring-brand-700&quot;,disabled:g,children:Vm.map(S=&gt;d.jsxs(&quot;option&quot;,{value:S,children:[pi[S].label,&quot; (&quot;,S,&quot;)&quot;]},S))})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;mb-1 block text-sm font-medium text-ink-700&quot;,htmlFor:&quot;open-amt-operator&quot;,children:[&quot;Opérateur &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsxs(&quot;select&quot;,{id:&quot;open-amt-operator&quot;,value:c,onChange:S=&gt;f(S.target.value),className:&quot;w-full rounded-lg border border-gray-300 bg-white px-3 py-2 text-sm focus:ring-2 focus:ring-brand-700&quot;,disabled:g,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;— Choisir —&quot;}),W.operators.map(S=&gt;d.jsx(&quot;option&quot;,{value:S.apiValue,children:S.label},S.apiValue))]}),j&amp;&amp;!c&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:&quot;Veuillez sélectionner un opérateur.&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;mb-1 block text-sm font-medium text-ink-700&quot;,htmlFor:&quot;open-amt-phone&quot;,children:[&quot;Numéro Mobile Money &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{id:&quot;open-amt-phone&quot;,type:&quot;tel&quot;,value:h,onChange:S=&gt;m(S.target.value),className:&quot;w-full rounded-lg border border-gray-300 px-3 py-2 text-sm focus:ring-2 focus:ring-brand-700&quot;,disabled:g,placeholder:`Ex. ${W.phonePlaceholder}`,autoComplete:&quot;tel&quot;}),j&amp;&amp;h.replace(/\s/g,&quot;&quot;).length&gt;0&amp;&amp;!Ru(h)&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:&quot;Format invalide : utilisez des chiffres (éventuellement + en tête).&quot;})]})]}),d.jsxs(&quot;div&quot;,{className:&quot;mt-6 flex justify-end gap-2&quot;,children:[d.jsx(Le,{variant:&quot;ghost&quot;,onClick:a,disabled:g,children:&quot;Annuler&quot;}),d.jsx(Le,{variant:&quot;primary&quot;,onClick:D,disabled:!P,children:g?&quot;Préparation…&quot;:&quot;Valider et continuer&quot;})]})]}),R===&quot;afterInit&quot;&amp;&amp;L&amp;&amp;d.jsxs(d.Fragment,{children:[d.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-700 mb-3&quot;,children:[&quot;La demande de paiement est enregistrée. Le paiement n’est &quot;,d.jsx(&quot;strong&quot;,{children:&quot;pas encore confirmé&quot;}),&quot; tant que le prestataire n’a pas validé l’opération.&quot;]}),d.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-sky-200 bg-sky-50/60 px-3 py-2.5 mb-4&quot;,children:[d.jsxs(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-800&quot;,children:[&quot;Montant retenu : &quot;,L.data.amount?.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,l]}),d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-600 mt-1&quot;,children:&quot;Type : paiement libre&quot;})]}),k&amp;&amp;k.length&gt;0&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-800 mb-2&quot;,children:&quot;Répartition prévue (indicatif)&quot;}),d.jsx(&quot;ul&quot;,{className:&quot;text-sm text-ink-700 space-y-1 border border-gray-100 rounded-lg p-3 bg-gray-50/80&quot;,children:k.map((S,N)=&gt;d.jsxs(&quot;li&quot;,{className:&quot;flex justify-between gap-2&quot;,children:[d.jsx(&quot;span&quot;,{children:BF(i??null,S.installment_index)}),d.jsxs(&quot;span&quot;,{className:&quot;font-medium tabular-nums&quot;,children:[S.amount.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,l]})]},`${S.installment_index}-${N}`))}),d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-2&quot;,children:&quot;La répartition définitive sera enregistrée après confirmation du paiement.&quot;})]}),d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mb-4&quot;,children:&quot;Après validation chez le prestataire, le statut se mettra à jour sur cette page (actualisez si besoin).&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap justify-end gap-2&quot;,children:[d.jsx(Le,{variant:&quot;ghost&quot;,onClick:a,children:&quot;Fermer&quot;}),L.data.redirect_url?d.jsx(Le,{variant:&quot;primary&quot;,onClick:E,children:&quot;Continuer vers le paiement&quot;}):null]})]})]})]})})}const $F={not_sycapay:&quot;Actualisation automatique disponible uniquement pour les paiements en ligne.&quot;,terminal:&quot;Ce paiement est déjà terminé.&quot;,missing_provider_ref:&quot;Référence de paiement incomplète. Contactez le support si le problème persiste.&quot;,invalid_status:&quot;Statut incompatible avec une actualisation en ligne.&quot;,payment_too_recent:&quot;Le serveur attend encore quelques secondes après l’init avant la première interrogation du prestataire.&quot;,sync_too_recent:&quot;Une vérification vient d’être faite ; courte pause avant la prochaine interrogation.&quot;},Wf=52e3,C4=14;function Wg({registrationId:e,paymentId:r,summaryHint:t,onUpdated:n}){const[l,i]=F.useState(!1),[a,u]=F.useState(null),[o,s]=F.useState(null),c=F.useRef(n);c.current=n,F.useEffect(()=&gt;{let v=!1;const g=[],b=async x=&gt;w4(e,r,x?{refresh:!0}:void 0);return(async()=&gt;{try{const x=await b(!1);if(v||(s(x),x.is_terminal))return;let _=0,C=x.status;const O=()=&gt;{const H=x.refresh_earliest_at;if(!H)return Wf;const L=Date.parse(H);return Number.isNaN(L)?Wf:Math.max(4e3,L-Date.now()+1500)},R=H=&gt;{if(v||_&gt;=C4)return;const L=window.setTimeout(async()=&gt;{if(!v){_+=1;try{const q=await b(!0);if(v)return;s(q);const W=q.status!==C;if(W&amp;&amp;(C=q.status),(W||q.is_terminal)&amp;&amp;c.current(),q.is_terminal)return}catch{}R(Wf)}},H);g.push(L)};R(O())}catch{}})(),()=&gt;{v=!0,g.forEach(x=&gt;window.clearTimeout(x))}},[e,r]);const f=()=&gt;{u(null),i(!0),w4(e,r,{refresh:!0}).then(v=&gt;{s(v),n()}).catch(v=&gt;{v instanceof Wt?u(v.data?.message??v.message):u(&quot;Impossible d’actualiser le statut.&quot;)}).finally(()=&gt;i(!1))},h=o&amp;&amp;!o.refresh_attempted&amp;&amp;o.refresh_skipped_reason?$F[o.refresh_skipped_reason]??&quot;Actualisation momentanément indisponible.&quot;:null,m=o===null||o.can_retry_refresh===!0,p=o!==null&amp;&amp;!o.is_terminal;return d.jsxs(&quot;div&quot;,{className:&quot;mt-2 space-y-2 rounded-md border border-amber-100 bg-amber-50/60 px-3 py-2&quot;,children:[t&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-600&quot;,children:t}),p&amp;&amp;d.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:[&quot;Vérification automatique côté serveur (jusqu’à &quot;,C4,&quot; tentatives, environ toutes les&quot;,&quot; &quot;,Math.round(Wf/1e3),&quot; s, dans la limite des garde-fous API) tant que le paiement n’est pas terminé. Vous pouvez aussi actualiser manuellement.&quot;]}),o?.message&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;text-xs font-medium text-ink-800&quot;,role:&quot;status&quot;,children:o.message}),a&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;text-xs text-red-700&quot;,children:a}),h&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;text-xs text-amber-800&quot;,children:h}),d.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2&quot;,children:[d.jsxs(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,className:&quot;text-sm py-1.5 h-auto&quot;,onClick:f,disabled:l||!m,children:[d.jsx(t1,{size:14,className:`mr-1.5 inline ${l?&quot;animate-spin&quot;:&quot;&quot;}`}),l?&quot;Vérification…&quot;:&quot;Actualiser le statut&quot;]}),!m&amp;&amp;!l&amp;&amp;!h&amp;&amp;d.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Actualisation non disponible pour le moment.&quot;})]})]})}const UF={draft:&quot;Brouillon&quot;,submitted:&quot;Soumise&quot;,pending_payment:&quot;En attente de paiement&quot;,correction:&quot;Dossier en correction&quot;,paid:&quot;Payée&quot;,cancelled:&quot;Annulée&quot;},VF={initiated:&quot;Paiement en cours (agrégateur)&quot;,pending:&quot;En attente de confirmation&quot;,pending_review:&quot;En attente de validation&quot;,confirmed:&quot;Validé&quot;,rejected:&quot;Rejeté&quot;,failed:&quot;Échoué ou refusé&quot;,refunded:&quot;Remboursé&quot;},Wo=&quot;sycapay&quot;,B8=[&quot;Janvier&quot;,&quot;Février&quot;,&quot;Mars&quot;,&quot;Avril&quot;,&quot;Mai&quot;,&quot;Juin&quot;,&quot;Juillet&quot;,&quot;Août&quot;,&quot;Septembre&quot;,&quot;Octobre&quot;,&quot;Novembre&quot;,&quot;Décembre&quot;];function qF(e){const[r,t]=e.split(&quot;-&quot;).map(Number);return Number.isNaN(r)||Number.isNaN(t)?e:`${B8[t-1]??e} ${r}`}function HF(e){const[r,t]=e.split(&quot;-&quot;).map(Number);if(Number.isNaN(r)||Number.isNaN(t))return e;const l=new Date(r,t,0).getDate(),i=B8[t-1]??String(t);return`${l} ${i} ${r}`}function WF(e){return(e.currency_selected??&quot;XOF&quot;)===&quot;EUR&quot;&amp;&amp;e.amount_due_eur!=null?e.amount_due_eur:e.amount_due_xof!=null?e.amount_due_xof:e.amount_due_eur??0}function E4(e,r){return e.find(t=&gt;t.payment_gateway!==Wo||![&quot;pending&quot;,&quot;initiated&quot;].includes(t.status)?!1:r===null?t.installment_index==null:t.installment_index===r)}function KF(e){return e.some(r=&gt;r.payment_gateway===Wo&amp;&amp;[&quot;pending&quot;,&quot;initiated&quot;].includes(r.status))}function XF(e){return e.some(r=&gt;r.status===&quot;pending_review&quot;)}function i1(e,r){return e.filter(t=&gt;r===null?t.installment_index===null||t.installment_index===void 0:t.installment_index===r)}function mb(e,r){return i1(e,r).some(t=&gt;t.status===&quot;confirmed&quot;)}function GF(e,r){const t=i1(e,r),n=t.find(l=&gt;l.status===&quot;confirmed&quot;);return n||[...t].sort((l,i)=&gt;i.id-l.id)[0]}function A4(e,r){return mb(e,r)?!1:i1(e,r).some(t=&gt;t.payment_gateway===Wo&amp;&amp;t.status===&quot;failed&quot;)}function YF(e){return e===&quot;confirmed&quot;?&quot;bg-green-100 text-green-800&quot;:e===&quot;rejected&quot;||e===&quot;failed&quot;?&quot;bg-red-100 text-red-800&quot;:e===&quot;refunded&quot;?&quot;bg-gray-200 text-gray-800&quot;:e===&quot;pending_review&quot;?&quot;bg-amber-100 text-amber-800&quot;:&quot;bg-sky-100 text-sky-900&quot;}function ZF(){const e=fs(),{user:r,isAuthenticated:t,canAccessAdmin:n,loading:l,refetch:i,roles:a}=Ps(),[u,o]=F.useState([]),[s,c]=F.useState(!0),[f,h]=F.useState(null),[m,p]=F.useState(&quot;&quot;),[v,g]=F.useState(&quot;&quot;),[b,x]=F.useState(null),[_,C]=F.useState(!1),[O,R]=F.useState(null),[H,L]=F.useState(null),[q,W]=F.useState(null),[K,U]=F.useState(null),[P,D]=F.useState(!1),E=!P||K?.registration_payments_enabled!==!1,j=F.useCallback(M=&gt;{const I=M?.silent===!0;I||c(!0),h(null),fF().then(o).catch(B=&gt;{if(B instanceof Wt){if(B.status===401){Ri.logout().catch(()=&gt;{}),e(&quot;/login&quot;,{replace:!0});return}h(B.data?.message??&quot;Une erreur est survenue.&quot;)}else h(&quot;Une erreur est survenue.&quot;)}).finally(()=&gt;{I||c(!1)})},[e]);F.useEffect(()=&gt;{!t||!Ri.isAuthenticated()||r?.must_change_password||j()},[t,r?.must_change_password,j]),F.useEffect(()=&gt;{!t||!Ri.isAuthenticated()||r?.must_change_password||L8().then(M=&gt;{U(M),D(!0)}).catch(()=&gt;{U({registration_payments_enabled:!0,donation_payments_enabled:!0,disabled_message:&quot;&quot;}),D(!0)})},[t,r?.must_change_password]);const k=M=&gt;{j();const I=M.data.redirect_url;I&amp;&amp;window.location.assign(I)},S=()=&gt;{const M=m.trim(),I=v.trim();if(x(null),M.length&lt;8){x(&quot;Le mot de passe doit contenir au moins 8 caractères.&quot;);return}if(M!==I){x(&quot;Les deux mots de passe ne correspondent pas.&quot;);return}C(!0),R8.changePassword({new_password:M,new_password_confirmation:I}).then(()=&gt;{p(&quot;&quot;),g(&quot;&quot;),i()}).catch(B=&gt;{const Y=B?.data?.message??B?.message??&quot;Erreur lors du changement de mot de passe.&quot;,Z=B?.data?.errors;x(Z?Object.values(Z).flat().join(&quot; &quot;):Y)}).finally(()=&gt;C(!1))},N=(M,I)=&gt;{R(M),gF(M,`${I}.pdf`).catch(()=&gt;{}).finally(()=&gt;R(null))};return l?d.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):t?n&amp;&amp;!r?.must_change_password?d.jsx(ai,{to:&quot;/admin/registrations&quot;,replace:!0}):d.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-12 px-4 sm:px-6 lg:px-8&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;max-w-3xl mx-auto&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;mb-8&quot;,children:[d.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:&quot;Mon espace participant&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Consultez vos inscriptions, échéances et paiements&quot;})]}),d.jsxs(Wn,{className:&quot;mb-8&quot;,children:[d.jsx(&quot;h2&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-4&quot;,children:&quot;Mes informations&quot;}),d.jsxs(&quot;p&quot;,{className:&quot;text-ink-700&quot;,children:[d.jsx(&quot;span&quot;,{className:&quot;font-medium&quot;,children:&quot;Nom :&quot;}),&quot; &quot;,r?.name??&quot;—&quot;]}),d.jsxs(&quot;p&quot;,{className:&quot;text-ink-700 mt-1&quot;,children:[d.jsx(&quot;span&quot;,{className:&quot;font-medium&quot;,children:&quot;Email :&quot;}),&quot; &quot;,r?.email??&quot;—&quot;]})]}),r?.must_change_password&amp;&amp;d.jsxs(Wn,{className:&quot;mb-8 border-amber-200 bg-amber-50/50&quot;,children:[d.jsx(&quot;h2&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-2&quot;,children:&quot;Changer votre mot de passe&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600 mb-4&quot;,children:&quot;Votre mot de passe a été réinitialisé. Veuillez définir un nouveau mot de passe pour continuer.&quot;}),b&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:d.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:b})}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-4 max-w-md&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Nouveau mot de passe &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:m,onChange:M=&gt;p(M.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,placeholder:&quot;Au moins 8 caractères&quot;,disabled:!!_,autoComplete:&quot;new-password&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Confirmer le mot de passe &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:v,onChange:M=&gt;g(M.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,placeholder:&quot;Reproduire le mot de passe&quot;,disabled:!!_,autoComplete:&quot;new-password&quot;})]}),d.jsx(Le,{variant:&quot;primary&quot;,onClick:S,disabled:!!_,children:_?&quot;Enregistrement...&quot;:&quot;Enregistrer le mot de passe&quot;})]})]}),!r?.must_change_password&amp;&amp;d.jsxs(Wn,{children:[d.jsx(&quot;h2&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-4&quot;,children:&quot;Mes inscriptions&quot;}),s&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;py-8 text-center text-ink-500&quot;,children:&quot;Chargement...&quot;}),f&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-4 mb-4&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:f}),d.jsx(Le,{variant:&quot;outline&quot;,className:&quot;mt-2&quot;,onClick:()=&gt;j(),children:&quot;Réessayer&quot;})]}),!s&amp;&amp;!f&amp;&amp;u.length===0&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;py-8 text-center text-ink-500&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;mb-4&quot;,children:&quot;Vous n&#039;avez pas encore d&#039;inscription.&quot;}),d.jsx(Le,{variant:&quot;primary&quot;,onClick:()=&gt;e(&quot;/inscription&quot;),children:&quot;S&#039;inscrire à un événement&quot;})]}),!s&amp;&amp;!f&amp;&amp;u.length&gt;0&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:u.map(M=&gt;{const I=WF(M),B=M.currency_selected===&quot;EUR&quot;?&quot;€&quot;:&quot;FCFA&quot;,Y=M.installment_config?.installments??[],Z=Y.length&gt;0,ie=Z&amp;&amp;I&gt;0?Math.round(I/Y.length):I,$=M.payments??[],ee=$.filter(ne=&gt;ne.status===&quot;confirmed&quot;).reduce((ne,Q)=&gt;ne+Q.amount,0),z=Math.max(0,I-ee),T=E4($,null),X=A4($,null),re=$.some(ne=&gt;(ne.installment_index===null||ne.installment_index===void 0)&amp;&amp;ne.payment_gateway!==Wo&amp;&amp;ne.status!==&quot;confirmed&quot;&amp;&amp;ne.status!==&quot;failed&quot;);return d.jsxs(&quot;div&quot;,{className:&quot;border border-gray-200 rounded-lg p-4 hover:bg-gray-50/50 transition-colors&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-2&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;p&quot;,{className:&quot;font-medium text-ink-900&quot;,children:M.event?.name??`Inscription #${M.id}`}),d.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[M.first_name,&quot; &quot;,M.last_name,&quot; · &quot;,M.email]})]}),d.jsx(&quot;span&quot;,{className:`inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium ${M.status===&quot;paid&quot;?&quot;bg-green-100 text-green-800&quot;:M.status===&quot;submitted&quot;||M.status===&quot;pending_payment&quot;?&quot;bg-amber-100 text-amber-800&quot;:&quot;bg-gray-100 text-gray-800&quot;}`,children:UF[M.status]??M.status})]}),M.pricing_plan&amp;&amp;d.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:[&quot;Formule : &quot;,M.pricing_plan.title,&quot; (&quot;,M.pricing_plan.code,&quot;)&quot;]}),(M.amount_due_eur!=null||M.amount_due_xof!=null)&amp;&amp;!Z&amp;&amp;d.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:[&quot;Montant dû :&quot;,&quot; &quot;,M.amount_due_eur!=null&amp;&amp;`${M.amount_due_eur} €`,M.amount_due_eur!=null&amp;&amp;M.amount_due_xof!=null&amp;&amp;&quot; / &quot;,M.amount_due_xof!=null&amp;&amp;`${M.amount_due_xof.toLocaleString(&quot;fr-FR&quot;)} FCFA`]}),Z?d.jsxs(&quot;div&quot;,{className:&quot;mt-4 pt-4 border-t border-gray-100&quot;,children:[d.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-600 mb-1&quot;,children:[&quot;Montant total :&quot;,&quot; &quot;,d.jsxs(&quot;span&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:[I.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,B]})]}),d.jsx(&quot;h3&quot;,{className:&quot;text-sm font-semibold text-ink-700 mb-3 mt-3&quot;,children:&quot;Échéances de paiement&quot;}),d.jsx(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:Y.map((ne,Q)=&gt;{const te=ne.currency===&quot;EUR&quot;?&quot;€&quot;:&quot;FCFA&quot;,de=HF(ne.month),oe=M.installment_balances?.find(Ce=&gt;Ce.installment_index===Q),se=oe?.nominal??ne.amount??ie,fe=oe?.remaining,he=typeof fe==&quot;number&quot;?fe&lt;=0:mb($,Q),ce=GF($,Q),ge=mb($,Q),ye=!!ce&amp;&amp;ce.status!==&quot;confirmed&quot;&amp;&amp;ce.payment_gateway!==Wo,pe=E4($,Q),le=A4($,Q);return d.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-3 rounded-lg border border-gray-200 bg-gray-50/50 px-4 py-3&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-3&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;p&quot;,{className:&quot;font-medium text-ink-900&quot;,children:[&quot;Échéance &quot;,Q+1,&quot; — &quot;,qF(ne.month)]}),d.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-0.5&quot;,children:[&quot;Date limite : &quot;,d.jsx(&quot;span&quot;,{className:&quot;font-medium text-ink-700&quot;,children:de})]})]}),d.jsxs(&quot;div&quot;,{className:&quot;text-right&quot;,children:[he?d.jsx(&quot;p&quot;,{className:&quot;text-lg font-semibold text-green-800&quot;,children:&quot;Soldée&quot;}):d.jsxs(d.Fragment,{children:[d.jsxs(&quot;p&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:[(typeof fe==&quot;number&quot;?fe:se).toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,te]}),typeof fe==&quot;number&quot;&amp;&amp;fe&gt;0&amp;&amp;fe&lt;se&amp;&amp;d.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-0.5&quot;,children:[&quot;sur &quot;,se.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,te,&quot; d’échéance&quot;]})]}),typeof oe?.paid_confirmed==&quot;number&quot;&amp;&amp;oe.paid_confirmed&gt;0&amp;&amp;!he&amp;&amp;d.jsxs(&quot;p&quot;,{className:&quot;text-xs text-green-700 mt-1&quot;,children:[&quot;Déjà versé : &quot;,oe.paid_confirmed.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,te]})]})]}),d.jsx(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2&quot;,children:he&amp;&amp;ge&amp;&amp;ce?.receipt?d.jsxs(&quot;span&quot;,{className:&quot;flex items-center gap-2 flex-wrap&quot;,children:[d.jsx(&quot;span&quot;,{className:&quot;px-1.5 py-0.5 rounded text-xs bg-green-100 text-green-800&quot;,children:&quot;Validé&quot;}),d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;N(ce.receipt.id,ce.receipt.receipt_number),disabled:O===ce.receipt?.id,className:&quot;inline-flex items-center gap-1.5 px-2 py-1 rounded text-sm text-brand-700 hover:bg-brand-50 font-medium transition-colors disabled:opacity-50&quot;,children:[d.jsx(tc,{size:14}),O===ce.receipt?.id?&quot;Téléchargement...&quot;:&quot;Télécharger le reçu&quot;]})]}):he?d.jsxs(&quot;span&quot;,{className:&quot;flex flex-col gap-1 sm:flex-row sm:items-center sm:flex-wrap&quot;,children:[d.jsx(&quot;span&quot;,{className:&quot;px-1.5 py-0.5 rounded text-xs bg-green-100 text-green-800 w-fit&quot;,children:&quot;Soldée&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-600&quot;,children:&quot;Montant couvert par vos paiements (y compris paiement libre). Le reçu correspondant figure dans la liste « Paiements ».&quot;})]}):ye&amp;&amp;!pe?d.jsx(&quot;span&quot;,{className:`px-1.5 py-0.5 rounded text-xs ${ce.status===&quot;rejected&quot;?&quot;bg-red-100 text-red-800&quot;:&quot;bg-amber-100 text-amber-800&quot;}`,children:ce.status===&quot;rejected&quot;?&quot;Rejeté&quot;:&quot;Déclaré — En attente de validation&quot;}):null}),pe&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;rounded-md border border-sky-200 bg-white px-3 py-2&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-800&quot;,children:&quot;Paiement en ligne en cours&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-600 mt-1&quot;,children:&quot;Le statut affiché provient de nos serveurs après l’initiation. La confirmation finale peut prendre un court délai.&quot;}),d.jsx(&quot;div&quot;,{className:&quot;mt-2 flex flex-wrap gap-2&quot;,children:pe.action_url?d.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,className:&quot;text-sm py-1.5 h-auto&quot;,onClick:()=&gt;window.location.assign(pe.action_url),children:&quot;Continuer vers le paiement&quot;}):null}),d.jsx(Wg,{registrationId:M.id,paymentId:pe.id,summaryHint:&quot;La confirmation finale vient de nos serveurs (prestataire), pas seulement de l’écran du téléphone.&quot;,onUpdated:()=&gt;j({silent:!0})})]}),I&gt;0&amp;&amp;!he&amp;&amp;!pe&amp;&amp;!ye&amp;&amp;(E?d.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,className:&quot;text-sm py-2 h-auto w-full sm:w-auto&quot;,onClick:()=&gt;L({registrationId:M.id,installmentIndex:Q,defaultCountry:M.country||&quot;CI&quot;}),children:le?&quot;Réessayer le paiement en ligne&quot;:&quot;Payer cette échéance&quot;}):d.jsx(&quot;p&quot;,{className:&quot;text-sm text-amber-900 rounded-md border border-amber-200 bg-amber-50/60 px-3 py-2&quot;,children:K?.disabled_message?.trim()||&quot;Les paiements en ligne (SycaPay) ne sont pas encore ouverts.&quot;}))]},Q)})}),z&gt;0&amp;&amp;!KF($)&amp;&amp;!XF($)&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;mt-4 pt-4 border-t border-dashed border-gray-200&quot;,children:[d.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-600 mb-2&quot;,children:[&quot;Vous pouvez aussi régler &quot;,d.jsx(&quot;strong&quot;,{children:&quot;un montant au choix&quot;}),&quot; (dans la limite du solde restant) : il sera imputé automatiquement aux échéances les plus anciennes d’abord.&quot;]}),E?d.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,className:&quot;text-sm py-2 h-auto w-full sm:w-auto&quot;,onClick:()=&gt;W({registrationId:M.id,defaultCountry:M.country||&quot;CI&quot;,remainingDue:z,currencyLabel:B,installments:Y}),children:&quot;Payer un montant libre&quot;}):d.jsx(&quot;p&quot;,{className:&quot;text-sm text-amber-900 rounded-md border border-amber-200 bg-amber-50/60 px-3 py-2&quot;,children:K?.disabled_message?.trim()||&quot;Les paiements en ligne (SycaPay) ne sont pas encore ouverts.&quot;})]})]}):I&gt;0&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;mt-4 pt-4 border-t border-gray-100&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-sm font-semibold text-ink-700 mb-2&quot;,children:&quot;Montant dû&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 bg-gray-50/50 px-4 py-3 space-y-3&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-2&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600&quot;,children:&quot;Total à régler&quot;}),d.jsxs(&quot;p&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:[I.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,B]})]}),T&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;rounded-md border border-sky-200 bg-white px-3 py-2&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-800&quot;,children:&quot;Paiement en ligne en cours&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-600 mt-1&quot;,children:&quot;La confirmation sur cette page est mise à jour depuis nos serveurs, pas depuis l’écran du téléphone seul.&quot;}),d.jsx(&quot;div&quot;,{className:&quot;mt-2 flex flex-wrap gap-2&quot;,children:T.action_url?d.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,className:&quot;text-sm py-1.5 h-auto&quot;,onClick:()=&gt;window.location.assign(T.action_url),children:&quot;Continuer vers le paiement&quot;}):null}),d.jsx(Wg,{registrationId:M.id,paymentId:T.id,summaryHint:&quot;La confirmation finale vient de nos serveurs (prestataire), pas seulement de l’écran du téléphone.&quot;,onUpdated:()=&gt;j({silent:!0})})]}),!T&amp;&amp;z&gt;0&amp;&amp;(!re||X)&amp;&amp;(E?d.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,className:&quot;text-sm py-2 h-auto&quot;,onClick:()=&gt;L({registrationId:M.id,installmentIndex:null,defaultCountry:M.country||&quot;CI&quot;}),children:X?&quot;Réessayer le paiement en ligne&quot;:&quot;Payer le solde&quot;}):d.jsx(&quot;p&quot;,{className:&quot;text-sm text-amber-900 rounded-md border border-amber-200 bg-amber-50/60 px-3 py-2&quot;,children:K?.disabled_message?.trim()||&quot;Les paiements en ligne (SycaPay) ne sont pas encore ouverts.&quot;}))]})]}),I&gt;0&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;mt-3 flex flex-wrap items-center justify-between gap-2 rounded-lg px-4 py-2 border border-[#722F37]/25 bg-[#F5E8EA]&quot;,children:[d.jsx(&quot;span&quot;,{className:&quot;text-sm font-medium text-[#5C262D]&quot;,children:&quot;Restant à payer&quot;}),d.jsxs(&quot;span&quot;,{className:`text-sm font-semibold ${z&gt;0?&quot;text-[#722F37]&quot;:&quot;text-green-700&quot;}`,children:[z.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,B,z===0&amp;&amp;I&gt;0&amp;&amp;&quot; — Soldé&quot;]})]}),d.jsxs(&quot;div&quot;,{className:&quot;mt-4 pt-4 border-t border-gray-100&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-sm font-semibold text-ink-700 mb-2&quot;,children:&quot;Paiements&quot;}),$.length===0?d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Aucun paiement enregistré.&quot;}):d.jsx(&quot;ul&quot;,{className:&quot;space-y-2&quot;,children:$.map(ne=&gt;d.jsxs(&quot;li&quot;,{className:&quot;text-sm py-1.5 border-b border-gray-50 last:border-0&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-2&quot;,children:[d.jsxs(&quot;span&quot;,{children:[ne.amount.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,ne.currency,&quot; — &quot;,ne.paid_at?new Date(ne.paid_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;—&quot;,ne.reference&amp;&amp;` (${ne.reference})`,ne.payment_gateway===Wo&amp;&amp;d.jsx(&quot;span&quot;,{className:&quot;ml-1 text-xs text-ink-400&quot;,children:&quot;· en ligne&quot;})]}),d.jsxs(&quot;span&quot;,{className:&quot;flex items-center gap-2 flex-wrap&quot;,children:[d.jsx(&quot;span&quot;,{className:`px-1.5 py-0.5 rounded text-xs ${YF(ne.status)}`,children:VF[ne.status]??ne.status}),ne.status===&quot;confirmed&quot;&amp;&amp;(ne.receipt?d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;N(ne.receipt.id,ne.receipt.receipt_number),disabled:O===ne.receipt.id,title:&quot;Télécharger le reçu PDF&quot;,className:&quot;inline-flex items-center gap-1.5 text-brand-700 hover:text-brand-900 hover:underline font-medium disabled:opacity-50 disabled:no-underline&quot;,children:[d.jsx(tc,{size:14}),O===ne.receipt.id?&quot;Téléchargement...&quot;:&quot;Télécharger le reçu&quot;]}):d.jsx(&quot;span&quot;,{className:&quot;text-ink-500 text-xs&quot;,children:&quot;Reçu à venir&quot;}))]})]}),ne.payment_gateway===Wo&amp;&amp;(ne.status===&quot;pending&quot;||ne.status===&quot;initiated&quot;)&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mt-2 rounded-md border border-sky-100 bg-sky-50/40 px-2 py-2&quot;,children:d.jsx(Wg,{registrationId:M.id,paymentId:ne.id,summaryHint:&quot;Le prestataire peut confirmer avant l’affichage ici : actualisez ou attendez quelques secondes.&quot;,onUpdated:()=&gt;j({silent:!0})})})]},ne.id))})]})]},M.id)})})]}),d.jsxs(&quot;div&quot;,{className:&quot;mt-8 flex flex-wrap gap-4&quot;,children:[d.jsx(Le,{variant:&quot;outline&quot;,onClick:()=&gt;Ri.logout().then(()=&gt;e(&quot;/login&quot;,{replace:!0})),children:&quot;Déconnexion&quot;}),n&amp;&amp;d.jsx(&quot;a&quot;,{href:a?.includes(&quot;COMMISSION_FINANCE&quot;)||a?.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)||a?.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)||a?.includes(&quot;COMMISSARIAT_GENERAL&quot;)?&quot;/admin/finance&quot;:&quot;/admin/registrations&quot;,className:&quot;text-sm text-brand-700 hover:text-brand-900 hover:underline self-center&quot;,children:&quot;Accéder à l&#039;administration&quot;}),d.jsx(&quot;a&quot;,{href:&quot;/&quot;,className:&quot;text-sm text-brand-700 hover:text-brand-900 hover:underline self-center&quot;,children:&quot;Retour à l&#039;accueil&quot;})]})]}),H&amp;&amp;d.jsx(DF,{open:!0,registrationId:H.registrationId,installmentIndex:H.installmentIndex,defaultCountry:H.defaultCountry,onClose:()=&gt;L(null),onInitiated:k}),q&amp;&amp;d.jsx(zF,{open:!0,registrationId:q.registrationId,defaultCountry:q.defaultCountry,remainingDue:q.remainingDue,currencyLabel:q.currencyLabel,installments:q.installments,onClose:()=&gt;W(null),onInitSuccess:()=&gt;j({silent:!0})})]}):d.jsx(ai,{to:&quot;/login&quot;,replace:!0})}function QF(){const e=fs();return F.useEffect(()=&gt;{const r=window.setTimeout(()=&gt;{e(&quot;/account&quot;,{replace:!0})},5e3);return()=&gt;window.clearTimeout(r)},[e]),d.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-12 px-4 sm:px-6&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;mx-auto max-w-md&quot;,children:d.jsxs(Wn,{className:&quot;text-center&quot;,children:[d.jsx(&quot;h1&quot;,{className:&quot;text-xl font-semibold text-ink-900 mb-3&quot;,children:&quot;Retour de paiement&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600 mb-6&quot;,children:&quot;Si vous venez de finaliser une opération sur le site du prestataire, la confirmation peut prendre quelques instants. Retrouvez l’état à jour de votre paiement dans votre espace participant.&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-3 sm:flex-row sm:justify-center&quot;,children:[d.jsx(Le,{variant:&quot;primary&quot;,onClick:()=&gt;e(&quot;/account&quot;,{replace:!0}),children:&quot;Voir mon espace participant&quot;}),d.jsx(Le,{variant:&quot;outline&quot;,onClick:()=&gt;e(&quot;/&quot;,{replace:!0}),children:&quot;Accueil&quot;})]}),d.jsx(&quot;p&quot;,{className:&quot;mt-6 text-xs text-ink-400&quot;,children:&quot;Redirection automatique vers votre espace dans quelques secondes…&quot;})]})})})}function qm({showRefresh:e=!1,refreshing:r=!1,onRefresh:t}){const n=fs(),{user:l}=Ps(),i=async()=&gt;{try{await Ri.logout(),n(&quot;/login&quot;,{replace:!0})}catch{n(&quot;/login&quot;,{replace:!0})}};return d.jsx(&quot;header&quot;,{className:&quot;sticky top-0 z-50 w-full border-b border-gray-200 bg-white shadow-soft&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;w-full min-w-0 max-w-full px-3 py-2.5 sm:px-6 sm:py-3 lg:px-8 lg:py-4&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 items-center justify-between gap-2 sm:gap-3&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 flex-1 items-center gap-2 sm:gap-3 md:flex-none&quot;,children:[d.jsx(&quot;img&quot;,{src:&quot;/logoHaggai.avif&quot;,alt:&quot;Sommet Haggai Francophone&quot;,className:&quot;h-8 w-auto shrink-0 sm:h-10 lg:h-12&quot;}),d.jsx(&quot;h1&quot;,{className:&quot;min-w-0 truncate text-base font-heading font-medium uppercase tracking-wide text-ink-900 sm:text-lg lg:text-2xl&quot;,children:&quot;Sommet Haggai Francophone&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex shrink-0 items-center gap-1.5 sm:gap-4&quot;,children:[l&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;text-right hidden sm:block&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:l.name}),d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:l.email}),l.roles&amp;&amp;l.roles.length&gt;0&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:typeof l.roles[0]==&quot;string&quot;?l.roles[0]:l.roles[0].name})]}),e&amp;&amp;t&amp;&amp;d.jsxs(Le,{variant:&quot;outline&quot;,onClick:t,disabled:r,className:&quot;flex items-center gap-1 !px-2 !py-2 sm:!px-6 sm:!py-3 sm:gap-2&quot;,title:&quot;Rafraîchir les données&quot;,children:[d.jsx(t1,{size:17,className:r?&quot;animate-spin&quot;:&quot;&quot;}),d.jsx(&quot;span&quot;,{className:&quot;hidden sm:inline&quot;,children:r?&quot;Rafraîchissement...&quot;:&quot;Rafraîchir&quot;})]}),d.jsxs(Le,{variant:&quot;outline&quot;,onClick:i,className:&quot;flex items-center gap-1 !px-2 !py-2 sm:!px-6 sm:!py-3 sm:gap-2&quot;,children:[d.jsx(OL,{size:17}),d.jsx(&quot;span&quot;,{className:&quot;hidden sm:inline&quot;,children:&quot;Déconnexion&quot;})]})]})]})})})}const nr=&#039; fill=&quot;none&quot; stroke=&quot;#374151&quot; stroke-width=&quot;2&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot;&#039;;function JF(e){const r=`&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;22&quot; height=&quot;22&quot; viewBox=&quot;0 0 24 24&quot;${nr}&gt;${e}&lt;/svg&gt;`;return`data:image/svg+xml,${encodeURIComponent(r)}`}const eB={layoutDashboard:[`&lt;rect width=&quot;7&quot; height=&quot;9&quot; x=&quot;3&quot; y=&quot;3&quot; rx=&quot;1&quot;${nr}/&gt;`,`&lt;rect width=&quot;7&quot; height=&quot;5&quot; x=&quot;14&quot; y=&quot;3&quot; rx=&quot;1&quot;${nr}/&gt;`,`&lt;rect width=&quot;7&quot; height=&quot;9&quot; x=&quot;14&quot; y=&quot;12&quot; rx=&quot;1&quot;${nr}/&gt;`,`&lt;rect width=&quot;7&quot; height=&quot;5&quot; x=&quot;3&quot; y=&quot;16&quot; rx=&quot;1&quot;${nr}/&gt;`].join(&quot;&quot;),users:[`&lt;path d=&quot;M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2&quot;${nr}/&gt;`,`&lt;path d=&quot;M16 3.128a4 4 0 0 1 0 7.744&quot;${nr}/&gt;`,`&lt;path d=&quot;M22 21v-2a4 4 0 0 0-3-3.87&quot;${nr}/&gt;`,`&lt;circle cx=&quot;9&quot; cy=&quot;7&quot; r=&quot;4&quot;${nr}/&gt;`].join(&quot;&quot;),messageSquare:[`&lt;path d=&quot;M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z&quot;${nr}/&gt;`].join(&quot;&quot;),userCog:[`&lt;path d=&quot;M10 15H6a4 4 0 0 0-4 4v2&quot;${nr}/&gt;`,`&lt;path d=&quot;m14.305 16.53.923-.382&quot;${nr}/&gt;`,`&lt;path d=&quot;m15.228 13.852-.923-.383&quot;${nr}/&gt;`,`&lt;path d=&quot;m16.852 12.228-.383-.923&quot;${nr}/&gt;`,`&lt;path d=&quot;m16.852 17.772-.383.924&quot;${nr}/&gt;`,`&lt;path d=&quot;m19.148 12.228.383-.923&quot;${nr}/&gt;`,`&lt;path d=&quot;m19.53 18.696-.382-.924&quot;${nr}/&gt;`,`&lt;path d=&quot;m20.772 13.852.924-.383&quot;${nr}/&gt;`,`&lt;path d=&quot;m20.772 16.148.924.383&quot;${nr}/&gt;`,`&lt;circle cx=&quot;18&quot; cy=&quot;15&quot; r=&quot;3&quot;${nr}/&gt;`,`&lt;circle cx=&quot;9&quot; cy=&quot;7&quot; r=&quot;4&quot;${nr}/&gt;`].join(&quot;&quot;),userCircle:[`&lt;circle cx=&quot;12&quot; cy=&quot;12&quot; r=&quot;10&quot;${nr}/&gt;`,`&lt;circle cx=&quot;12&quot; cy=&quot;10&quot; r=&quot;3&quot;${nr}/&gt;`,`&lt;path d=&quot;M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662&quot;${nr}/&gt;`].join(&quot;&quot;),dollarSign:[`&lt;line x1=&quot;12&quot; x2=&quot;12&quot; y1=&quot;2&quot; y2=&quot;22&quot;${nr}/&gt;`,`&lt;path d=&quot;M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6&quot;${nr}/&gt;`].join(&quot;&quot;),settings:[`&lt;path d=&quot;M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915&quot;${nr}/&gt;`,`&lt;circle cx=&quot;12&quot; cy=&quot;12&quot; r=&quot;3&quot;${nr}/&gt;`].join(&quot;&quot;),home:[`&lt;path d=&quot;M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8&quot;${nr}/&gt;`,`&lt;path d=&quot;M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z&quot;${nr}/&gt;`].join(&quot;&quot;)},z8={};for(const[e,r]of Object.entries(eB))z8[e]=JF(r);function tB(){if(typeof navigator&gt;&quot;u&quot;)return!1;const e=navigator.userAgent;return/iPhone|iPad/i.test(e)||/Mac/i.test(e)&amp;&amp;navigator.maxTouchPoints&gt;1}function rB(e){return z8[e]??&quot;&quot;}function Hm({currentSection:e,registrationView:r=&quot;summit&quot;,showSommet:t=!0,showSeminar:n=!1,showRecommendations:l=!0,showUsers:i=!1,showFinance:a=!1,showSettings:u=!1}){const o=e===&quot;registrations&quot;,s=e===&quot;users&quot;,c=e===&quot;account&quot;,f=e===&quot;finance&quot;,h=e===&quot;settings&quot;,m=b=&gt;`w-full flex items-center justify-start gap-2 px-3 py-2 rounded-lg transition-all duration-200 mb-1 text-left text-sm font-medium ${b?&quot;bg-brand-700 text-white shadow-soft&quot;:&quot;text-ink-500 hover:bg-brand-50 hover:text-ink-900&quot;}`,p=d.jsxs(&quot;aside&quot;,{className:&quot;hidden lg:flex fixed left-0 top-[73px] h-[calc(100vh-73px)] w-48 bg-white border-r border-gray-200 flex-col z-30&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;p-4 border-b border-gray-200&quot;,children:d.jsx(&quot;h2&quot;,{className:&quot;text-sm font-semibold text-ink-900&quot;,children:&quot;Menu&quot;})}),d.jsxs(&quot;nav&quot;,{className:&quot;flex-1 p-2 overflow-y-auto&quot;,children:[t&amp;&amp;d.jsxs(jr,{to:&quot;/admin/registrations?view=summit&quot;,className:m(o&amp;&amp;r===&quot;summit&quot;),children:[d.jsx(g4,{size:18}),&quot;Sommet Francophone&quot;]}),n&amp;&amp;d.jsxs(jr,{to:&quot;/admin/registrations?view=seminar&quot;,className:m(o&amp;&amp;r===&quot;seminar&quot;),children:[d.jsx(Fh,{size:18}),&quot;Séminaire régional&quot;]}),l&amp;&amp;d.jsxs(jr,{to:&quot;/admin/registrations?view=recommendations&quot;,className:m(o&amp;&amp;r===&quot;recommendations&quot;),children:[d.jsx(v4,{size:18}),&quot;Recommandations&quot;]}),i&amp;&amp;d.jsxs(jr,{to:&quot;/admin/users&quot;,className:m(s),children:[d.jsx(Lh,{size:18}),&quot;Utilisateurs&quot;]}),a&amp;&amp;d.jsxs(jr,{to:&quot;/admin/finance&quot;,className:m(f),children:[d.jsx(ab,{size:18}),&quot;Finance&quot;]}),u&amp;&amp;d.jsxs(jr,{to:&quot;/admin/settings&quot;,className:m(h),children:[d.jsx(cb,{size:18}),&quot;Paramétrage&quot;]}),d.jsxs(jr,{to:&quot;/admin/account&quot;,className:m(c),children:[d.jsx(m4,{size:18}),&quot;Mon compte&quot;]}),d.jsxs(jr,{to:&quot;/account&quot;,className:m(!1),children:[d.jsx(ob,{size:18}),&quot;Ma page personnelle&quot;]})]})]}),v=tB(),g=[t&amp;&amp;{to:&quot;/admin/registrations?view=summit&quot;,label:&quot;Sommet&quot;,icon:g4,iconKey:&quot;layoutDashboard&quot;,active:o&amp;&amp;r===&quot;summit&quot;},n&amp;&amp;{to:&quot;/admin/registrations?view=seminar&quot;,label:&quot;Séminaire&quot;,icon:Fh,iconKey:&quot;users&quot;,active:o&amp;&amp;r===&quot;seminar&quot;},l&amp;&amp;{to:&quot;/admin/registrations?view=recommendations&quot;,label:&quot;Recommandations&quot;,icon:v4,iconKey:&quot;messageSquare&quot;,active:o&amp;&amp;r===&quot;recommendations&quot;},i&amp;&amp;{to:&quot;/admin/users&quot;,label:&quot;Utilisateurs&quot;,icon:Lh,iconKey:&quot;userCog&quot;,active:s},a&amp;&amp;{to:&quot;/admin/finance&quot;,label:&quot;Finance&quot;,icon:ab,iconKey:&quot;dollarSign&quot;,active:f},u&amp;&amp;{to:&quot;/admin/settings&quot;,label:&quot;Paramétrage&quot;,icon:cb,iconKey:&quot;settings&quot;,active:h},{to:&quot;/admin/account&quot;,label:&quot;Mon compte&quot;,icon:m4,iconKey:&quot;userCircle&quot;,active:c},{to:&quot;/account&quot;,label:&quot;Ma page&quot;,icon:ob,iconKey:&quot;home&quot;,active:!1}].filter(Boolean);return d.jsxs(d.Fragment,{children:[p,d.jsx(&quot;nav&quot;,{className:&quot;lg:hidden fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 z-50 shadow-lg&quot;,&quot;aria-label&quot;:&quot;Menu principal&quot;,style:{paddingBottom:&quot;env(safe-area-inset-bottom)&quot;},children:d.jsx(&quot;div&quot;,{className:&quot;grid h-14 min-h-[56px] items-center justify-items-center py-2&quot;,style:{gridTemplateColumns:`repeat(${g.length}, minmax(0, 1fr))`},children:g.map(b=&gt;{const x=b.icon;return d.jsxs(jr,{to:b.to,className:`flex flex-col items-center justify-center gap-0.5 w-full h-full min-h-[52px] transition-colors ${b.active?&quot;text-brand-700&quot;:&quot;text-ink-500 hover:text-ink-700&quot;}`,title:b.label,&quot;aria-label&quot;:b.label,children:[d.jsx(&quot;span&quot;,{className:&quot;mobile-nav-icon-cell shrink-0 flex items-center justify-center&quot;,&quot;aria-hidden&quot;:!0,children:v?d.jsx(&quot;img&quot;,{src:rB(b.iconKey),alt:&quot;&quot;,width:22,height:22,className:&quot;block&quot;}):d.jsx(x,{size:22,strokeWidth:2,stroke:&quot;currentColor&quot;,fill:&quot;none&quot;})}),d.jsx(&quot;span&quot;,{className:&quot;text-[10px] font-medium leading-tight max-w-full truncate px-0.5&quot;,children:b.label})]},b.to)})})})]})}const pb=[{value:&quot;draft&quot;,label:&quot;Brouillon&quot;,badgeClass:&quot;bg-gray-100 text-gray-700&quot;},{value:&quot;submitted&quot;,label:&quot;Soumis&quot;,badgeClass:&quot;bg-blue-100 text-blue-700&quot;},{value:&quot;pending_payment&quot;,label:&quot;En attente&quot;,badgeClass:&quot;bg-yellow-100 text-yellow-700&quot;},{value:&quot;correction&quot;,label:&quot;Dossier en correction&quot;,badgeClass:&quot;bg-amber-100 text-amber-800&quot;},{value:&quot;paid&quot;,label:&quot;Payé&quot;,badgeClass:&quot;bg-green-100 text-green-700&quot;},{value:&quot;rejected&quot;,label:&quot;Rejeté&quot;,badgeClass:&quot;bg-red-100 text-red-700&quot;},{value:&quot;cancelled&quot;,label:&quot;Annulé&quot;,badgeClass:&quot;bg-gray-100 text-gray-600&quot;},{value:&quot;refunded&quot;,label:&quot;Remboursé&quot;,badgeClass:&quot;bg-orange-100 text-orange-700&quot;}];function s1(e){return e?pb.find(t=&gt;t.value===e)??{label:String(e),badgeClass:&quot;bg-gray-100 text-gray-700&quot;}:{label:&quot;-&quot;,badgeClass:&quot;bg-gray-100 text-gray-700&quot;}}function nB({filters:e,onFiltersChange:r,hideEventFilter:t=!1}){const{events:n,loading:l}=Um(),[i,a]=F.useState(e),[u,o]=F.useState(null),[s,c]=F.useState(!1);F.useEffect(()=&gt;{a(e)},[e]);const f=(g,b)=&gt;{const x={...i,[g]:b};if(a(x),g===&quot;q&quot;){u&amp;&amp;clearTimeout(u);const _=setTimeout(()=&gt;{r(x)},400);o(_)}else r(x)},h=g=&gt;{const b=i.status||[],x=b.includes(g)?b.filter(_=&gt;_!==g):[...b,g];f(&quot;status&quot;,x.length&gt;0?x:void 0)},m=()=&gt;{const g={event_id:void 0,status:void 0,q:void 0,created_from:void 0,created_to:void 0};a(g),r(g),c(!1)},p=&quot;w-full min-w-0 px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,v=&quot;w-full min-w-0 rounded-lg border border-gray-300 px-2.5 py-2 text-sm focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;;return d.jsxs(&quot;div&quot;,{className:&quot;min-w-0 max-w-full&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;rounded-xl bg-white px-2 py-2 shadow-soft lg:hidden&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 gap-2&quot;,children:[d.jsx(&quot;label&quot;,{htmlFor:&quot;registration-search-mobile&quot;,className:&quot;sr-only&quot;,children:&quot;Recherche&quot;}),d.jsx(&quot;input&quot;,{id:&quot;registration-search-mobile&quot;,type:&quot;text&quot;,value:i.q||&quot;&quot;,onChange:g=&gt;f(&quot;q&quot;,g.target.value||void 0),placeholder:&quot;Rechercher…&quot;,className:v+&quot; min-w-0 flex-1&quot;}),d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,id:&quot;registration-filters-toggle&quot;,&quot;aria-expanded&quot;:s,&quot;aria-controls&quot;:&quot;registration-filters-panel&quot;,className:&quot;flex shrink-0 items-center gap-1 rounded-lg border-2 border-brand-700 bg-white px-2.5 py-2 text-xs font-semibold uppercase tracking-wide text-brand-700&quot;,onClick:()=&gt;c(g=&gt;!g),children:[&quot;Filtres&quot;,d.jsx(ib,{className:`h-4 w-4 transition-transform ${s?&quot;rotate-180&quot;:&quot;&quot;}`,&quot;aria-hidden&quot;:!0})]})]}),s?d.jsxs(&quot;div&quot;,{id:&quot;registration-filters-panel&quot;,role:&quot;region&quot;,&quot;aria-labelledby&quot;:&quot;registration-filters-toggle&quot;,className:&quot;mt-2 space-y-3 border-t border-gray-100 pt-3&quot;,children:[t?d.jsxs(&quot;div&quot;,{className:&quot;grid min-w-0 grid-cols-1 gap-2 sm:grid-cols-2&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;mb-0.5 block text-xs font-medium text-ink-500&quot;,children:&quot;Date début&quot;}),d.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i.created_from||&quot;&quot;,onChange:g=&gt;f(&quot;created_from&quot;,g.target.value||void 0),className:v})]}),d.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;mb-0.5 block text-xs font-medium text-ink-500&quot;,children:&quot;Date fin&quot;}),d.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i.created_to||&quot;&quot;,onChange:g=&gt;f(&quot;created_to&quot;,g.target.value||void 0),className:v})]})]}):d.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;mb-0.5 block text-xs font-medium text-ink-500&quot;,children:&quot;Événement&quot;}),d.jsxs(&quot;select&quot;,{value:i.event_id||&quot;&quot;,onChange:g=&gt;f(&quot;event_id&quot;,g.target.value?Number(g.target.value):void 0),className:v,disabled:l,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous les événements&quot;}),n.map(g=&gt;d.jsx(&quot;option&quot;,{value:g.id,children:g.name},g.id))]})]}),d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-2&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;mb-0.5 block text-xs font-medium text-ink-500&quot;,children:&quot;Date début&quot;}),d.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i.created_from||&quot;&quot;,onChange:g=&gt;f(&quot;created_from&quot;,g.target.value||void 0),className:v})]}),d.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;mb-0.5 block text-xs font-medium text-ink-500&quot;,children:&quot;Date fin&quot;}),d.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i.created_to||&quot;&quot;,onChange:g=&gt;f(&quot;created_to&quot;,g.target.value||void 0),className:v})]})]})]}),d.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[d.jsx(&quot;span&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500&quot;,children:&quot;Statuts&quot;}),d.jsx(&quot;div&quot;,{className:&quot;flex min-w-0 flex-wrap gap-1&quot;,children:pb.map(g=&gt;{const b=i.status?.includes(g.value);return d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;h(g.value),className:b?`rounded-full border border-transparent px-2 py-0.5 text-[11px] font-medium ring-2 ring-brand-700/35 ring-offset-1 ${g.badgeClass}`:&quot;rounded-full bg-gray-100 px-2 py-0.5 text-[11px] font-medium text-gray-700&quot;,children:g.label},g.value)})})]}),d.jsx(&quot;div&quot;,{className:&quot;flex justify-end border-t border-gray-100 pt-2&quot;,children:d.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:&quot;text-sm font-medium text-brand-700 underline-offset-2 hover:underline&quot;,onClick:m,children:&quot;Réinitialiser&quot;})})]}):null]}),d.jsxs(&quot;div&quot;,{className:&quot;hidden min-w-0 max-w-full space-y-2 rounded-xl bg-white px-3 py-3 shadow-soft sm:px-4 lg:block&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;mb-1 flex min-w-0 flex-wrap items-center justify-between gap-2&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-sm font-semibold text-ink-900 sm:text-base&quot;,children:&quot;Filtres&quot;}),d.jsx(Le,{variant:&quot;ghost&quot;,onClick:m,className:&quot;shrink-0 text-sm !px-3 !py-1.5 !normal-case&quot;,children:&quot;Réinitialiser&quot;})]}),t?d.jsxs(&quot;div&quot;,{className:&quot;grid min-w-0 grid-cols-1 gap-x-3 gap-y-2 sm:grid-cols-2 lg:grid-cols-3&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;min-w-0 sm:col-span-2 lg:col-span-1&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500 sm:text-sm&quot;,children:&quot;Recherche&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:i.q||&quot;&quot;,onChange:g=&gt;f(&quot;q&quot;,g.target.value||void 0),placeholder:&quot;Nom, email, téléphone...&quot;,className:p})]}),d.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500 sm:text-sm&quot;,children:&quot;Date début&quot;}),d.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i.created_from||&quot;&quot;,onChange:g=&gt;f(&quot;created_from&quot;,g.target.value||void 0),className:p})]}),d.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500 sm:text-sm&quot;,children:&quot;Date fin&quot;}),d.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i.created_to||&quot;&quot;,onChange:g=&gt;f(&quot;created_to&quot;,g.target.value||void 0),className:p})]})]}):d.jsxs(&quot;div&quot;,{className:&quot;grid min-w-0 grid-cols-1 gap-x-3 gap-y-2 sm:grid-cols-2 xl:grid-cols-4&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;min-w-0 sm:col-span-2 xl:col-span-1&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500 sm:text-sm&quot;,children:&quot;Recherche&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:i.q||&quot;&quot;,onChange:g=&gt;f(&quot;q&quot;,g.target.value||void 0),placeholder:&quot;Nom, email, téléphone...&quot;,className:p})]}),d.jsxs(&quot;div&quot;,{className:&quot;min-w-0 sm:col-span-2 xl:col-span-1&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500 sm:text-sm&quot;,children:&quot;Événement&quot;}),d.jsxs(&quot;select&quot;,{value:i.event_id||&quot;&quot;,onChange:g=&gt;f(&quot;event_id&quot;,g.target.value?Number(g.target.value):void 0),className:p,disabled:l,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous les événements&quot;}),n.map(g=&gt;d.jsx(&quot;option&quot;,{value:g.id,children:g.name},g.id))]})]}),d.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500 sm:text-sm&quot;,children:&quot;Date début&quot;}),d.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i.created_from||&quot;&quot;,onChange:g=&gt;f(&quot;created_from&quot;,g.target.value||void 0),className:p})]}),d.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500 sm:text-sm&quot;,children:&quot;Date fin&quot;}),d.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i.created_to||&quot;&quot;,onChange:g=&gt;f(&quot;created_to&quot;,g.target.value||void 0),className:p})]})]}),d.jsxs(&quot;div&quot;,{className:&quot;min-w-0 pt-0.5&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;mb-1 block text-xs font-medium text-ink-500 sm:text-sm&quot;,children:&quot;Statuts&quot;}),d.jsx(&quot;div&quot;,{className:&quot;flex min-w-0 flex-wrap gap-1.5&quot;,children:pb.map(g=&gt;{const b=i.status?.includes(g.value);return d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;h(g.value),className:b?`rounded-full border border-transparent px-2.5 py-1 text-xs font-medium ring-2 ring-brand-700/35 ring-offset-1 transition-all sm:text-sm ${g.badgeClass}`:&quot;rounded-full border border-transparent bg-gray-100 px-2.5 py-1 text-xs font-medium text-gray-700 transition-all hover:bg-gray-200 sm:text-sm&quot;,children:g.label},g.value)})})]})]})]})}function iB({title:e,subtitle:r,subtitleDesktopOnly:t=!0,actions:n}){const l=t?&quot;hidden lg:block lg:text-base&quot;:&quot;text-sm lg:text-base&quot;;return d.jsxs(&quot;div&quot;,{className:&quot;mb-2 flex min-w-0 flex-col gap-2 sm:mb-5 sm:gap-3 lg:flex-row lg:items-start lg:justify-between&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1&quot;,children:[d.jsx(&quot;h2&quot;,{className:&quot;mb-0.5 text-xl font-bold text-ink-900 sm:mb-2 sm:text-2xl lg:text-3xl&quot;,children:e}),r?d.jsx(&quot;p&quot;,{className:`text-ink-500 ${l}`,children:r}):null]}),n?d.jsx(&quot;div&quot;,{className:&quot;relative shrink-0 sm:mt-0.5&quot;,children:n}):null]})}function sB({children:e}){return d.jsx(&quot;div&quot;,{className:&quot;sticky top-14 z-40 mb-2 w-full min-w-0 border-b border-gray-200/90 bg-brand-50/95 py-1.5 backdrop-blur-sm sm:mb-3 sm:py-2 lg:top-[4.5rem] lg:mb-4&quot;,children:e})}const Sn=&quot;px-2 py-2 text-left text-[10px] font-medium uppercase leading-tight tracking-wider text-ink-500 sm:px-3 sm:py-2.5 sm:text-xs&quot;,$8=&quot;min-w-0 max-w-full rounded-xl bg-white shadow-soft&quot;,U8=`${$8} p-8 text-center`;function V8({children:e,className:r=&quot;&quot;}){return d.jsx(&quot;div&quot;,{className:`${$8} ${r}`.trim(),children:e})}function q8({children:e,className:r=&quot;&quot;}){return d.jsx(&quot;div&quot;,{className:`space-y-2 overflow-visible p-2 lg:hidden ${r}`.trim(),children:e})}function H8({children:e,className:r=&quot;&quot;,variant:t=&quot;desktop&quot;}){const n=t===&quot;all&quot;?&quot;&quot;:&quot;hidden lg:block&quot;;return d.jsx(&quot;div&quot;,{className:`min-w-0 overflow-x-auto ${n} ${r}`.trim(),children:e})}function W8({message:e=&quot;Chargement...&quot;}){return d.jsx(&quot;div&quot;,{className:U8,children:d.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:e})})}function K8({message:e}){return d.jsx(&quot;div&quot;,{className:U8,children:d.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:e})})}function aB({children:e,className:r=&quot;&quot;}){return d.jsx(&quot;div&quot;,{className:`mb-2 min-w-0 sm:mb-4 ${r}`.trim(),children:e})}function Js({rowId:e,openMenuId:r,setOpenMenuId:t,compact:n=!1,className:l=&quot;&quot;,stopPropagation:i=!0,onView:a,viewLabel:u=&quot;Voir&quot;,viewDisabled:o=!1,onEdit:s,editLabel:c=&quot;Modifier&quot;,editDisabled:f=!1,primaryOutlineAction:h,menuItems:m}){const p=F.useRef(null),v=F.useRef(null),g=F.useRef(!1),b=r===e,[x,_]=F.useState(null),C=m.length&gt;0,O=h&amp;&amp;!a&amp;&amp;!s;F.useLayoutEffect(()=&gt;{if(!b||!p.current){_(null),g.current=!1;return}const W=p.current,K=W.getBoundingClientRect(),U=window.getComputedStyle(W);if(K.width&lt;1||K.height&lt;1||U.display===&quot;none&quot;||U.visibility===&quot;hidden&quot;){_(null);return}const P=window.innerWidth,D=window.innerHeight,E=6,j=Math.min(224,P-16),k=Math.min(240,D*.45);let S=K.bottom+E;S+k&gt;D-8&amp;&amp;(S=Math.max(8,K.top-k-E));const N=P-8;let I=Math.min(K.right,N);I-j&lt;8&amp;&amp;(I=Math.min(8+j,N)),_({top:S,left:I,transform:&quot;translateX(-100%)&quot;}),g.current=!1},[b]),F.useLayoutEffect(()=&gt;{if(!b||!x||!p.current||!v.current||g.current)return;const K=p.current.getBoundingClientRect(),U=v.current,P=U.offsetWidth,D=U.offsetHeight,E=window.innerWidth,j=window.innerHeight,k=6;let S=K.bottom+k;S+D&gt;j-8&amp;&amp;(S=Math.max(8,K.top-D-k));const N=E-8;let I=Math.min(K.right,N);I-P&lt;8&amp;&amp;(I=Math.min(8+P,N)),g.current=!0,_(B=&gt;!B||B.top===S&amp;&amp;B.left===I?B:{top:S,left:I,transform:&quot;translateX(-100%)&quot;})},[b,x]),F.useEffect(()=&gt;{if(!b||x===null)return;const W=U=&gt;{const P=U.target;p.current?.contains(P)||v.current?.contains(P)||t(null)},K=()=&gt;t(null);return document.addEventListener(&quot;mousedown&quot;,W,!0),window.addEventListener(&quot;scroll&quot;,K,!0),window.addEventListener(&quot;resize&quot;,K),()=&gt;{document.removeEventListener(&quot;mousedown&quot;,W,!0),window.removeEventListener(&quot;scroll&quot;,K,!0),window.removeEventListener(&quot;resize&quot;,K)}},[b,x,t]),F.useEffect(()=&gt;{if(!b||x===null)return;const W=K=&gt;{K.key===&quot;Escape&quot;&amp;&amp;t(null)};return window.addEventListener(&quot;keydown&quot;,W),()=&gt;window.removeEventListener(&quot;keydown&quot;,W)},[b,x,t]);const R=n?&quot;rounded px-1 py-0.5 text-[11px] font-medium text-brand-700 hover:bg-brand-50 hover:underline&quot;:&quot;rounded px-1 py-0.5 text-[11px] font-medium text-brand-700 hover:bg-brand-50 hover:underline sm:text-xs&quot;,H=n?&quot;rounded border border-gray-300 bg-white px-1 py-0.5 text-[10px] font-medium leading-tight text-ink-800 hover:bg-gray-50&quot;:&quot;rounded border border-gray-300 bg-white px-1 py-0.5 text-[10px] font-medium leading-tight text-ink-800 hover:bg-gray-50 sm:px-1.5 sm:text-xs&quot;,L=i?W=&gt;W.stopPropagation():void 0,q=b&amp;&amp;x!=null&amp;&amp;C&amp;&amp;Rm.createPortal(d.jsx(&quot;div&quot;,{ref:v,role:&quot;menu&quot;,className:&quot;fixed z-[200] max-h-[min(50vh,20rem)] min-w-[11rem] max-w-[min(calc(100vw-1rem),14rem)] overflow-y-auto rounded-lg border border-gray-200 bg-white py-1 shadow-lg&quot;,style:{top:x.top,left:x.left,transform:x.transform},children:m.map(W=&gt;d.jsx(&quot;button&quot;,{type:&quot;button&quot;,role:&quot;menuitem&quot;,disabled:W.disabled,title:W.title,className:`block w-full px-3 py-2 text-left text-sm hover:bg-brand-50 disabled:opacity-50 ${W.danger?&quot;text-red-600 hover:bg-red-50&quot;:&quot;text-ink-900&quot;}`,onClick:K=&gt;{K.stopPropagation(),!W.disabled&amp;&amp;(t(null),W.onSelect())},children:W.label},W.id))}),document.body);return d.jsxs(&quot;div&quot;,{className:`flex shrink-0 items-center justify-end gap-0.5 ${l}`,onClick:L,children:[a?d.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:`${R} disabled:cursor-not-allowed disabled:opacity-50`,disabled:o,onClick:a,children:u}):null,s?d.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:`${H} disabled:cursor-not-allowed disabled:opacity-50`,disabled:f,onClick:s,children:c}):null,O&amp;&amp;h?d.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:H,disabled:h.disabled,title:h.title,onClick:h.onClick,children:h.label}):null,C?d.jsxs(d.Fragment,{children:[d.jsx(&quot;button&quot;,{ref:p,type:&quot;button&quot;,&quot;aria-expanded&quot;:b,&quot;aria-haspopup&quot;:&quot;menu&quot;,&quot;aria-label&quot;:&quot;Autres actions&quot;,className:n?&quot;inline-flex h-7 w-7 items-center justify-center rounded text-ink-600 hover:bg-gray-100&quot;:&quot;inline-flex h-7 w-7 items-center justify-center rounded text-ink-600 hover:bg-gray-100 sm:h-8 sm:w-8&quot;,onClick:W=&gt;{W.stopPropagation(),t(K=&gt;K===e?null:e)},children:d.jsx(bL,{className:&quot;h-4 w-4&quot;,&quot;aria-hidden&quot;:!0})}),q]}):null]})}const M4={pending:{label:&quot;En attente&quot;,className:&quot;bg-yellow-100 text-yellow-700&quot;},contacted:{label:&quot;Contacté&quot;,className:&quot;bg-blue-100 text-blue-700&quot;},accepted:{label:&quot;Accepté&quot;,className:&quot;bg-green-100 text-green-700&quot;},rejected:{label:&quot;Rejeté&quot;,className:&quot;bg-red-100 text-red-700&quot;}},oB=new Set([&quot;draft&quot;,&quot;submitted&quot;,&quot;pending_payment&quot;,&quot;correction&quot;,&quot;paid&quot;,&quot;rejected&quot;,&quot;cancelled&quot;,&quot;refunded&quot;]);function tl({status:e,compact:r}){const t=r?&quot;max-w-full whitespace-normal break-words px-2 py-0.5 text-[10px] font-medium leading-snug sm:text-xs&quot;:&quot;px-3 py-1 text-sm font-medium&quot;;if(!e)return d.jsx(&quot;span&quot;,{className:`inline-flex items-center rounded-full bg-gray-100 text-gray-700 ${t}`,children:&quot;-&quot;});if(oB.has(e)){const{label:l,badgeClass:i}=s1(e);return d.jsx(&quot;span&quot;,{className:`inline-flex items-center rounded-full ${i} ${t}`,children:l})}const n=M4[e]||M4.pending;return d.jsx(&quot;span&quot;,{className:`inline-flex items-center rounded-full ${n.className} ${t}`,children:n.label})}function lB(e){return e.amount_due_xof!=null&amp;&amp;e.amount_due_xof&gt;0?`${Number(e.amount_due_xof).toLocaleString(&quot;fr-FR&quot;)} XOF`:e.amount_due_eur!=null&amp;&amp;e.amount_due_eur&gt;0?`${e.amount_due_eur} EUR`:&quot;-&quot;}function cB(e,r){const t=[];return r.canUpdateStatus&amp;&amp;r.onUpdateStatus&amp;&amp;t.push({id:&quot;status&quot;,label:&quot;Changer statut&quot;,onSelect:()=&gt;r.onUpdateStatus(e)}),r.canResendActivation&amp;&amp;r.onResendActivation&amp;&amp;e.status===&quot;draft&quot;&amp;&amp;t.push({id:&quot;resend&quot;,label:r.resendingActivationId===e.id?&quot;Envoi…&quot;:&quot;Renvoyer activation&quot;,onSelect:()=&gt;r.onResendActivation(e),disabled:r.resendingActivationId===e.id,title:&quot;Renvoyer l’email avec le lien pour activer le compte et choisir un mot de passe&quot;}),r.canResetParticipantPassword&amp;&amp;r.onResetParticipantPassword&amp;&amp;ub(e)&amp;&amp;t.push({id:&quot;reset-participant-password&quot;,label:&quot;Initialiser le mot de passe&quot;,title:&quot;Définir un mot de passe provisoire : le participant devra en choisir un nouveau à la prochaine connexion.&quot;,onSelect:()=&gt;r.onResetParticipantPassword(e)}),r.canDelete&amp;&amp;r.onDelete&amp;&amp;t.push({id:&quot;delete&quot;,label:&quot;Supprimer&quot;,danger:!0,onSelect:()=&gt;r.onDelete(e)}),t}function O4({registration:e,openMenuId:r,setOpenMenuId:t,onViewDetails:n,onUpdateStatus:l,onEdit:i,onDelete:a,onResendActivation:u,onResetParticipantPassword:o,canUpdateStatus:s,canEdit:c,canDelete:f,canResendActivation:h,canResetParticipantPassword:m,resendingActivationId:p,compact:v}){const g=cB(e,{onUpdateStatus:l,onDelete:a,onResendActivation:u,onResetParticipantPassword:o,canUpdateStatus:s,canDelete:f,canResendActivation:h,canResetParticipantPassword:m,resendingActivationId:p});return d.jsx(Js,{rowId:e.id,openMenuId:r,setOpenMenuId:t,compact:v,onView:()=&gt;n(e),onEdit:c&amp;&amp;i?()=&gt;i(e):void 0,editLabel:&quot;Modifier&quot;,menuItems:g})}function uB({registrations:e,loading:r,eventType:t,onViewDetails:n,onUpdateStatus:l,onEdit:i,onDelete:a,onResendActivation:u,onResetParticipantPassword:o,canUpdateStatus:s=!1,canEdit:c=!1,canDelete:f=!1,canResendActivation:h=!1,canResetParticipantPassword:m=!1,resendingActivationId:p=null}){const[v,g]=F.useState(null);return r?d.jsx(W8,{}):e.length===0?d.jsx(K8,{message:&quot;Aucune inscription trouvée&quot;}):d.jsxs(V8,{children:[d.jsx(q8,{children:e.map(b=&gt;{const x=`${b.first_name} ${b.last_name}`.trim(),_=new Date(b.created_at).toLocaleDateString(&quot;fr-FR&quot;);return d.jsxs(&quot;div&quot;,{role:&quot;button&quot;,tabIndex:0,className:&quot;overflow-visible rounded-lg border border-gray-200 bg-white p-3 shadow-sm outline-none ring-brand-700 focus-visible:ring-2&quot;,onClick:()=&gt;n(b),onKeyDown:C=&gt;{(C.key===&quot;Enter&quot;||C.key===&quot; &quot;)&amp;&amp;(C.preventDefault(),n(b))},children:[d.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 gap-2 overflow-visible&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;truncate text-sm font-semibold text-ink-900&quot;,title:x||void 0,children:x||&quot;—&quot;}),d.jsx(&quot;p&quot;,{className:&quot;truncate text-xs text-ink-500&quot;,title:b.email||void 0,children:b.email})]}),d.jsx(O4,{registration:b,openMenuId:v,setOpenMenuId:g,onViewDetails:n,onUpdateStatus:l,onEdit:i,onDelete:a,onResendActivation:u,onResetParticipantPassword:o,canUpdateStatus:s,canEdit:c,canDelete:f,canResendActivation:h,canResetParticipantPassword:m,resendingActivationId:p,compact:!0})]}),d.jsxs(&quot;div&quot;,{className:&quot;mt-2 flex flex-wrap items-center gap-2&quot;,children:[d.jsx(tl,{status:b.status,compact:!0}),d.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:_})]})]},b.id)})}),d.jsx(H8,{children:d.jsxs(&quot;table&quot;,{className:&quot;w-full min-w-0 table-fixed border-collapse&quot;,children:[d.jsxs(&quot;colgroup&quot;,{children:[d.jsx(&quot;col&quot;,{style:{width:&quot;14%&quot;}}),d.jsx(&quot;col&quot;,{style:{width:&quot;18%&quot;}}),d.jsx(&quot;col&quot;,{style:{width:&quot;9%&quot;}}),d.jsx(&quot;col&quot;,{style:{width:&quot;15%&quot;}}),d.jsx(&quot;col&quot;,{style:{width:&quot;10%&quot;}}),d.jsx(&quot;col&quot;,{style:{width:&quot;13%&quot;}}),d.jsx(&quot;col&quot;,{style:{width:&quot;8%&quot;}}),d.jsx(&quot;col&quot;,{style:{width:&quot;13%&quot;}})]}),d.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50&quot;,children:d.jsxs(&quot;tr&quot;,{children:[d.jsx(&quot;th&quot;,{className:Sn,children:&quot;Nom&quot;}),d.jsx(&quot;th&quot;,{className:Sn,children:&quot;Email&quot;}),d.jsx(&quot;th&quot;,{className:Sn,children:&quot;Tél.&quot;}),d.jsx(&quot;th&quot;,{className:Sn,children:&quot;Événement&quot;}),d.jsx(&quot;th&quot;,{className:Sn,children:t===&quot;seminar&quot;?d.jsx(&quot;span&quot;,{className:&quot;block normal-case&quot;,children:&quot;Frais part.&quot;}):&quot;Formule&quot;}),d.jsx(&quot;th&quot;,{className:Sn,children:&quot;Statut&quot;}),d.jsx(&quot;th&quot;,{className:Sn,children:&quot;Créé&quot;}),d.jsx(&quot;th&quot;,{className:`${Sn} text-right`,children:&quot;Actions&quot;})]})}),d.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200 bg-white&quot;,children:e.map(b=&gt;{const x=`${b.first_name} ${b.last_name}`.trim(),_=t===&quot;seminar&quot;?lB(b):b.pricing_plan?.code||&quot;-&quot;;return d.jsxs(&quot;tr&quot;,{className:&quot;cursor-pointer hover:bg-brand-50&quot;,onClick:()=&gt;n(b),children:[d.jsx(&quot;td&quot;,{className:&quot;min-w-0 px-2 py-2 align-middle sm:px-3 sm:py-2.5&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;truncate text-xs font-medium text-ink-900 sm:text-sm&quot;,title:x||void 0,children:x||&quot;—&quot;})}),d.jsx(&quot;td&quot;,{className:&quot;min-w-0 px-2 py-2 align-middle sm:px-3 sm:py-2.5&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:b.email||void 0,children:b.email})}),d.jsx(&quot;td&quot;,{className:&quot;min-w-0 px-2 py-2 align-middle sm:px-3 sm:py-2.5&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:b.phone||void 0,children:b.phone||&quot;-&quot;})}),d.jsx(&quot;td&quot;,{className:&quot;min-w-0 px-2 py-2 align-middle sm:px-3 sm:py-2.5&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:b.event?.name||void 0,children:b.event?.name||&quot;-&quot;})}),d.jsx(&quot;td&quot;,{className:&quot;min-w-0 px-2 py-2 align-middle sm:px-3 sm:py-2.5&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:_,children:_})}),d.jsx(&quot;td&quot;,{className:&quot;min-w-0 px-2 py-2 align-middle sm:px-3 sm:py-2.5&quot;,children:d.jsx(tl,{status:b.status,compact:!0})}),d.jsx(&quot;td&quot;,{className:&quot;min-w-0 whitespace-nowrap px-2 py-2 align-middle text-xs text-ink-500 sm:px-3 sm:py-2.5 sm:text-sm&quot;,children:new Date(b.created_at).toLocaleDateString(&quot;fr-FR&quot;)}),d.jsx(&quot;td&quot;,{className:&quot;min-w-0 whitespace-nowrap px-1 py-2 text-right align-middle sm:px-2 sm:py-2.5&quot;,children:d.jsx(O4,{registration:b,openMenuId:v,setOpenMenuId:g,onViewDetails:n,onUpdateStatus:l,onEdit:i,onDelete:a,onResendActivation:u,onResetParticipantPassword:o,canUpdateStatus:s,canEdit:c,canDelete:f,canResendActivation:h,canResetParticipantPassword:m,resendingActivationId:p})})]},b.id)})})]})})]})}function dB({registrations:e,loading:r}){return r?d.jsx(&quot;div&quot;,{className:&quot;min-w-0 max-w-full rounded-xl bg-white p-6 text-center shadow-soft lg:p-8&quot;,children:d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Chargement...&quot;})}):e.length===0?d.jsx(&quot;div&quot;,{className:&quot;min-w-0 max-w-full rounded-xl bg-white p-6 text-center shadow-soft lg:p-8&quot;,children:d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Aucune inscription trouvée&quot;})}):d.jsxs(&quot;div&quot;,{className:&quot;min-w-0 max-w-full overflow-hidden rounded-xl bg-white shadow-soft&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;space-y-2 p-2 lg:hidden&quot;,children:e.map(t=&gt;d.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 bg-white p-3 shadow-sm&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;truncate text-sm font-medium text-ink-900&quot;,title:t.email||void 0,children:t.email}),d.jsxs(&quot;div&quot;,{className:&quot;mt-2 flex flex-wrap items-center gap-2&quot;,children:[d.jsx(tl,{status:t.status,compact:!0}),d.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:t.country||&quot;—&quot;})]})]},t.id))}),d.jsx(&quot;div&quot;,{className:&quot;hidden overflow-x-auto lg:block&quot;,children:d.jsxs(&quot;table&quot;,{className:&quot;w-full min-w-0&quot;,children:[d.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50&quot;,children:d.jsxs(&quot;tr&quot;,{children:[d.jsx(&quot;th&quot;,{className:&quot;px-4 py-2 text-left text-xs font-medium uppercase tracking-wider text-ink-500 lg:px-6 lg:py-3&quot;,children:&quot;Email&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-2 text-left text-xs font-medium uppercase tracking-wider text-ink-500 lg:px-6 lg:py-3&quot;,children:&quot;Pays&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-2 text-left text-xs font-medium uppercase tracking-wider text-ink-500 lg:px-6 lg:py-3&quot;,children:&quot;Statut&quot;})]})}),d.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200 bg-white&quot;,children:e.map(t=&gt;d.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-brand-50&quot;,children:[d.jsx(&quot;td&quot;,{className:&quot;whitespace-nowrap px-4 py-3 lg:px-6 lg:py-4&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-900&quot;,children:t.email})}),d.jsx(&quot;td&quot;,{className:&quot;whitespace-nowrap px-4 py-3 lg:px-6 lg:py-4&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:t.country||&quot;—&quot;})}),d.jsx(&quot;td&quot;,{className:&quot;whitespace-nowrap px-4 py-3 lg:px-6 lg:py-4&quot;,children:d.jsx(tl,{status:t.status})})]},t.id))})]})})]})}const Vs=&quot;min-w-0 px-2 py-2 align-middle sm:px-3 sm:py-2.5&quot;;function P4({recommendation:e,openMenuId:r,setOpenMenuId:t,onViewDetails:n,onTreat:l,onDelete:i,canDelete:a,compact:u}){const o=[];return a&amp;&amp;i&amp;&amp;o.push({id:&quot;delete&quot;,label:&quot;Supprimer&quot;,danger:!0,onSelect:()=&gt;i(e)}),d.jsx(Js,{rowId:e.id,openMenuId:r,setOpenMenuId:t,compact:u,onView:()=&gt;n(e),onEdit:l?()=&gt;l(e):void 0,editLabel:&quot;Traiter&quot;,menuItems:o})}function fB({recommendations:e,loading:r,onViewDetails:t,onTreat:n,onDelete:l,canDelete:i}){const[a,u]=F.useState(null);return r?d.jsx(W8,{}):e.length===0?d.jsx(K8,{message:&quot;Aucune recommandation trouvée&quot;}):d.jsxs(V8,{children:[d.jsx(q8,{children:e.map(o=&gt;{const s=new Date(o.created_at).toLocaleDateString(&quot;fr-FR&quot;),c=`${o.recommender_first_name} ${o.recommender_last_name}`.trim();return d.jsxs(&quot;div&quot;,{role:&quot;button&quot;,tabIndex:0,className:&quot;overflow-visible rounded-lg border border-gray-200 bg-white p-3 shadow-sm outline-none ring-brand-700 focus-visible:ring-2&quot;,onClick:()=&gt;t(o),onKeyDown:f=&gt;{(f.key===&quot;Enter&quot;||f.key===&quot; &quot;)&amp;&amp;(f.preventDefault(),t(o))},children:[d.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 gap-2 overflow-visible&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;min-w-0 flex-1&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;truncate text-sm font-semibold text-ink-900&quot;,title:o.recommended_full_name||void 0,children:o.recommended_full_name||&quot;—&quot;}),d.jsx(&quot;p&quot;,{className:&quot;truncate text-xs text-ink-500&quot;,title:o.recommended_email||void 0,children:o.recommended_email||&quot;—&quot;})]}),d.jsx(P4,{recommendation:o,openMenuId:a,setOpenMenuId:u,onViewDetails:t,onTreat:n,onDelete:l,canDelete:i,compact:!0})]}),d.jsxs(&quot;div&quot;,{className:&quot;mt-2 flex flex-wrap items-center gap-2&quot;,children:[d.jsx(tl,{status:o.status,compact:!0}),d.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:s})]}),c?d.jsxs(&quot;p&quot;,{className:&quot;mt-1 truncate text-xs text-ink-500&quot;,title:c,children:[&quot;Par &quot;,c]}):null]},o.id)})}),d.jsx(H8,{children:d.jsxs(&quot;table&quot;,{className:&quot;w-full min-w-0 table-fixed border-collapse&quot;,children:[d.jsxs(&quot;colgroup&quot;,{children:[d.jsx(&quot;col&quot;,{style:{width:&quot;13%&quot;}}),d.jsx(&quot;col&quot;,{style:{width:&quot;16%&quot;}}),d.jsx(&quot;col&quot;,{style:{width:&quot;10%&quot;}}),d.jsx(&quot;col&quot;,{style:{width:&quot;8%&quot;}}),d.jsx(&quot;col&quot;,{style:{width:&quot;12%&quot;}}),d.jsx(&quot;col&quot;,{style:{width:&quot;13%&quot;}}),d.jsx(&quot;col&quot;,{style:{width:&quot;10%&quot;}}),d.jsx(&quot;col&quot;,{style:{width:&quot;9%&quot;}}),d.jsx(&quot;col&quot;,{style:{width:&quot;9%&quot;}})]}),d.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50&quot;,children:d.jsxs(&quot;tr&quot;,{children:[d.jsx(&quot;th&quot;,{className:Sn,children:&quot;Recommandé&quot;}),d.jsx(&quot;th&quot;,{className:Sn,children:&quot;Email&quot;}),d.jsx(&quot;th&quot;,{className:Sn,children:&quot;Profession&quot;}),d.jsx(&quot;th&quot;,{className:Sn,children:&quot;Pays&quot;}),d.jsx(&quot;th&quot;,{className:Sn,children:&quot;Recommandeur&quot;}),d.jsx(&quot;th&quot;,{className:Sn,children:&quot;Événement&quot;}),d.jsx(&quot;th&quot;,{className:Sn,children:&quot;Statut&quot;}),d.jsx(&quot;th&quot;,{className:Sn,children:&quot;Créé&quot;}),d.jsx(&quot;th&quot;,{className:`${Sn} text-right`,children:&quot;Actions&quot;})]})}),d.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200 bg-white&quot;,children:e.map(o=&gt;{const s=`${o.recommender_first_name} ${o.recommender_last_name}`.trim();return d.jsxs(&quot;tr&quot;,{className:&quot;cursor-pointer hover:bg-brand-50&quot;,onClick:()=&gt;t(o),children:[d.jsxs(&quot;td&quot;,{className:Vs,children:[d.jsx(&quot;div&quot;,{className:&quot;truncate text-xs font-medium text-ink-900 sm:text-sm&quot;,title:o.recommended_full_name||void 0,children:o.recommended_full_name||&quot;—&quot;}),d.jsx(&quot;div&quot;,{className:&quot;truncate text-[10px] text-ink-500 sm:text-xs&quot;,children:o.recommended_gender===&quot;homme&quot;?&quot;Homme&quot;:&quot;Femme&quot;})]}),d.jsx(&quot;td&quot;,{className:Vs,children:d.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:o.recommended_email||void 0,children:o.recommended_email||&quot;-&quot;})}),d.jsx(&quot;td&quot;,{className:Vs,children:d.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:o.recommended_profession||void 0,children:o.recommended_profession||&quot;-&quot;})}),d.jsx(&quot;td&quot;,{className:Vs,children:d.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:o.recommended_residence_country||void 0,children:o.recommended_residence_country||&quot;-&quot;})}),d.jsx(&quot;td&quot;,{className:Vs,children:d.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:s||void 0,children:s||&quot;-&quot;})}),d.jsx(&quot;td&quot;,{className:Vs,children:d.jsx(&quot;div&quot;,{className:&quot;truncate text-xs text-ink-500 sm:text-sm&quot;,title:o.event?.name||void 0,children:o.event?.name||&quot;-&quot;})}),d.jsx(&quot;td&quot;,{className:Vs,children:d.jsx(tl,{status:o.status,compact:!0})}),d.jsx(&quot;td&quot;,{className:`${Vs} whitespace-nowrap text-xs text-ink-500 sm:text-sm`,children:new Date(o.created_at).toLocaleDateString(&quot;fr-FR&quot;)}),d.jsx(&quot;td&quot;,{className:`${Vs} whitespace-nowrap px-1 text-right sm:px-2`,children:d.jsx(P4,{recommendation:o,openMenuId:a,setOpenMenuId:u,onViewDetails:t,onTreat:n,onDelete:l,canDelete:i})})]},o.id)})})]})})]})}function hB({registration:e,isOpen:r,onClose:t,onUpdateStatus:n,canUpdateStatus:l=!1,onResetParticipantPassword:i}){return!r||!e?null:d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),d.jsxs(&quot;div&quot;,{className:&quot;inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-4xl sm:w-full&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[d.jsxs(&quot;h3&quot;,{className:&quot;text-2xl font-semibold text-ink-900&quot;,children:[&quot;Inscription #&quot;,e.id]}),d.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:d.jsx(vr,{size:24})})]}),l&amp;&amp;n||i&amp;&amp;ub(e)?d.jsxs(&quot;div&quot;,{className:&quot;mb-4 flex flex-wrap gap-2&quot;,children:[l&amp;&amp;n&amp;&amp;d.jsx(Le,{variant:&quot;primary&quot;,onClick:()=&gt;{n(e)},children:&quot;Changer le statut&quot;}),i&amp;&amp;ub(e)&amp;&amp;d.jsx(Le,{variant:&quot;outline&quot;,onClick:()=&gt;i(e),children:&quot;Initialiser le mot de passe participant&quot;})]}):null,d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-6&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations personnelles&quot;}),d.jsxs(&quot;dl&quot;,{className:&quot;space-y-2&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Nom complet&quot;}),d.jsxs(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:[e.first_name,&quot; &quot;,e.last_name]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Email&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.email})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Téléphone&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.phone||&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Pays&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.country||&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Ville&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.city||&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Nationalité&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.nationality||&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Organisation&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.organization||&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Poste&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.position||&quot;-&quot;})]})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations inscription&quot;}),d.jsxs(&quot;dl&quot;,{className:&quot;space-y-2&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Statut&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm&quot;,children:d.jsx(tl,{status:e.status})})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Événement&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.event?.name||&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Formule&quot;}),d.jsxs(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:[e.pricing_plan?.code,&quot; - &quot;,e.pricing_plan?.title||&quot;-&quot;]})]}),e.pricing_plan?.code===&quot;D&quot;&amp;&amp;(e.spouse_fullname||e.spouse_email||e.spouse_haggai_id)&amp;&amp;d.jsxs(d.Fragment,{children:[e.spouse_fullname&amp;&amp;d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Nom du conjoint / de la conjointe&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.spouse_fullname})]}),e.spouse_email&amp;&amp;d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Email du conjoint / de la conjointe&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.spouse_email})]}),e.spouse_haggai_id&amp;&amp;d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Haggai ID / Année de HLE (conjoint)&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.spouse_haggai_id})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Montant dû (XOF)&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.amount_due_xof?.toLocaleString(&quot;fr-FR&quot;)||&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Montant dû (EUR)&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.amount_due_eur?.toLocaleString(&quot;fr-FR&quot;)||&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Date de création&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:new Date(e.created_at).toLocaleString(&quot;fr-FR&quot;)})]}),e.submitted_at&amp;&amp;d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Date de soumission&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:new Date(e.submitted_at).toLocaleString(&quot;fr-FR&quot;)})]}),e.paid_at&amp;&amp;d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Date de paiement&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:new Date(e.paid_at).toLocaleString(&quot;fr-FR&quot;)})]}),e.is_public_registration&amp;&amp;d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Type&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:d.jsx(&quot;span&quot;,{className:&quot;inline-flex items-center px-2 py-1 rounded bg-blue-100 text-blue-700 text-xs&quot;,children:&quot;Inscription publique&quot;})})]})]})]}),e.event?.event_type===&quot;seminar&quot;&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[d.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations Séminaire&quot;}),d.jsxs(&quot;dl&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-x-6 gap-y-2&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Souhaite participer&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_want_to_participate===&quot;oui&quot;?&quot;Oui&quot;:e.seminar_want_to_participate===&quot;non&quot;?&quot;Non&quot;:&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Église ou organisation&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_church_organization||&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Rôle/Ministère&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_role_ministry||&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Situation matrimoniale&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_marital_status===&quot;marie&quot;?&quot;Marié(e)&quot;:e.seminar_marital_status===&quot;non_marie&quot;?&quot;Non marié(e)&quot;:&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Âge&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_age??&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Genre&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_gender===&quot;homme&quot;?&quot;Homme&quot;:e.seminar_gender===&quot;femme&quot;?&quot;Femme&quot;:&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Question ou préoccupation&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_question_or_concern||&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Date de naissance&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_date_naissance?new Date(e.seminar_date_naissance).toLocaleDateString(&quot;fr-FR&quot;):&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Contact d&#039;urgence (nom et lien)&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_contact_urgence_nom_lien||&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Niveau d&#039;études&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_niveau_etudes===&quot;primaire&quot;?&quot;Primaire&quot;:e.seminar_niveau_etudes===&quot;secondaire_2&quot;?&quot;Secondaire 2e cycle&quot;:e.seminar_niveau_etudes===&quot;universitaire&quot;?&quot;Universitaire&quot;:e.seminar_niveau_etudes||&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Domaines d&#039;étude&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_domaines_etude?.length?e.seminar_domaines_etude.join(&quot;, &quot;):&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Domaine d&#039;étude (autre)&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_domaine_etude_autre||&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Niveau de français&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_niveau_francais===&quot;natif&quot;?&quot;Natif&quot;:e.seminar_niveau_francais===&quot;avance&quot;?&quot;Avancé&quot;:e.seminar_niveau_francais===&quot;intermediaire&quot;?&quot;Intermédiaire&quot;:e.seminar_niveau_francais===&quot;faible&quot;?&quot;Faible&quot;:e.seminar_niveau_francais||&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Besoin lettre d&#039;absence&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_besoin_lettre_absence===&quot;oui&quot;?&quot;Oui&quot;:e.seminar_besoin_lettre_absence===&quot;non&quot;?&quot;Non&quot;:&quot;-&quot;})]}),e.seminar_besoin_lettre_absence===&quot;oui&quot;&amp;&amp;d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Détails lettre d&#039;absence&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_besoin_lettre_details||&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Informations santé&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_sante_details||&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Régime sans sel&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_regime_sans_sel===&quot;oui&quot;?&quot;Oui&quot;:e.seminar_regime_sans_sel===&quot;non&quot;?&quot;Non&quot;:&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Confession religieuse&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_confession_religieuse===&quot;musulmane&quot;?&quot;Musulmane&quot;:e.seminar_confession_religieuse===&quot;catholique&quot;?&quot;Catholique&quot;:e.seminar_confession_religieuse===&quot;protestante&quot;?&quot;Protestante&quot;:e.seminar_confession_religieuse===&quot;pentecotiste&quot;?&quot;Pentecôtiste&quot;:e.seminar_confession_religieuse===&quot;evangelique&quot;?&quot;Évangélique&quot;:e.seminar_confession_religieuse===&quot;autre&quot;?&quot;Autre&quot;:e.seminar_confession_religieuse||&quot;-&quot;})]}),e.seminar_confession_religieuse_autre?d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Spécification (confession)&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_confession_religieuse_autre})]}):null,d.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Attentes&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_fardeau_transformation||&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Recommandé par&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_recommande_par||&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Engagements&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_engagements?.length?e.seminar_engagements.join(&quot;, &quot;):&quot;-&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Engagements (autre)&quot;}),d.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_engagements_autre||&quot;-&quot;})]})]})]})]}),e.status_changes&amp;&amp;e.status_changes.length&gt;0&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;mt-6&quot;,children:[d.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Historique des changements&quot;}),d.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:e.status_changes.map(a=&gt;d.jsx(&quot;div&quot;,{className:&quot;bg-brand-50 rounded-lg p-4 border-l-4 border-brand-700&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;span&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:[a.from_status,&quot; → &quot;,a.to_status]}),a.notes&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:a.notes})]}),d.jsxs(&quot;div&quot;,{className:&quot;text-right&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:a.actor?.name||&quot;Système&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:new Date(a.created_at).toLocaleString(&quot;fr-FR&quot;)})]})]})},a.id))})]})]}),d.jsx(&quot;div&quot;,{className:&quot;bg-gray-50 px-6 py-4 flex justify-end&quot;,children:d.jsx(Le,{variant:&quot;secondary&quot;,onClick:t,children:&quot;Fermer&quot;})})]})]})})}function mB({registration:e,onClose:r,onSuccess:t}){const[n,l]=F.useState(&quot;&quot;),[i,a]=F.useState(&quot;&quot;),[u,o]=F.useState(!1),[s,c]=F.useState(null),[f,h]=F.useState({}),m=`${e.first_name} ${e.last_name}`.trim()||e.email,p=async v=&gt;{if(v.preventDefault(),c(null),h({}),n.length&lt;8){h({password:&quot;Le mot de passe doit contenir au moins 8 caractères.&quot;});return}if(n!==i){h({password_confirmation:&quot;Les deux mots de passe ne correspondent pas.&quot;});return}o(!0);try{await eo.resetParticipantPassword(e.id,{password:n,password_confirmation:i}),t()}catch(g){const b=g;if(c(b.data?.message??&quot;Erreur lors de l’initialisation du mot de passe.&quot;),b.data?.errors){const x={};for(const[_,C]of Object.entries(b.data.errors))x[_]=Array.isArray(C)?C[0]:String(C);h(x)}}finally{o(!1)}};return d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-[210] flex items-center justify-center p-4 bg-black/50&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full p-4&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Initialiser le mot de passe participant&quot;}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 rounded hover:bg-gray-100&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:d.jsx(vr,{size:20})})]}),d.jsxs(&quot;p&quot;,{className:&quot;text-ink-600 text-sm mb-4&quot;,children:[&quot;Définir un mot de passe provisoire pour &quot;,d.jsx(&quot;strong&quot;,{children:m}),&quot; (&quot;,e.email,&quot;). Les sessions actives seront déconnectées ; à la &quot;,d.jsx(&quot;strong&quot;,{children:&quot;première&quot;}),&quot; connexion suivante, le participant devra&quot;,&quot; &quot;,d.jsx(&quot;strong&quot;,{children:&quot;obligatoirement&quot;}),&quot; choisir un nouveau mot de passe.&quot;]}),d.jsxs(&quot;form&quot;,{onSubmit:p,children:[s&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,children:s}),d.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[d.jsx(&quot;label&quot;,{htmlFor:&quot;reset-participant-password&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nouveau mot de passe&quot;}),d.jsx(&quot;input&quot;,{id:&quot;reset-participant-password&quot;,type:&quot;password&quot;,value:n,onChange:v=&gt;l(v.target.value),minLength:8,autoComplete:&quot;new-password&quot;,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,placeholder:&quot;Min. 8 caractères&quot;}),f.password&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:f.password})]}),d.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[d.jsx(&quot;label&quot;,{htmlFor:&quot;reset-participant-password-confirm&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Confirmer le mot de passe&quot;}),d.jsx(&quot;input&quot;,{id:&quot;reset-participant-password-confirm&quot;,type:&quot;password&quot;,value:i,onChange:v=&gt;a(v.target.value),autoComplete:&quot;new-password&quot;,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,placeholder:&quot;Confirmer&quot;}),f.password_confirmation&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:f.password_confirmation})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,disabled:u,children:&quot;Annuler&quot;}),d.jsx(Le,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:u,children:u?&quot;Enregistrement…&quot;:&quot;Initialiser&quot;})]})]})]})})}const Kf=[{value:&quot;draft&quot;,label:&quot;Brouillon&quot;},{value:&quot;submitted&quot;,label:&quot;Soumis&quot;},{value:&quot;pending_payment&quot;,label:&quot;En attente de paiement&quot;},{value:&quot;correction&quot;,label:&quot;Dossier en correction&quot;},{value:&quot;paid&quot;,label:&quot;Payé&quot;},{value:&quot;rejected&quot;,label:&quot;Rejeté&quot;},{value:&quot;cancelled&quot;,label:&quot;Annulé&quot;},{value:&quot;refunded&quot;,label:&quot;Remboursé&quot;}];function pB({registration:e,isOpen:r,onClose:t,onSuccess:n,canSendToCorrection:l=!1}){const[i,a]=F.useState(&quot;draft&quot;),[u,o]=F.useState(&quot;&quot;),[s,c]=F.useState(!1),[f,h]=F.useState(null),m=F.useMemo(()=&gt;e?e.status===&quot;correction&quot;?Kf.filter(_=&gt;_.value===&quot;pending_payment&quot;):e.status===&quot;pending_payment&quot;?Kf.filter(_=&gt;_.value!==&quot;submitted&quot;&amp;&amp;(_.value!==&quot;correction&quot;||l)):Kf:Kf,[e?.status,l]),v=i===&quot;correction&quot;,g=10;F.useEffect(()=&gt;{e&amp;&amp;(a(e.status),o(&quot;&quot;),h(null))},[e,r]),F.useEffect(()=&gt;{e&amp;&amp;m.length&gt;0&amp;&amp;!m.some(_=&gt;_.value===i)&amp;&amp;a(m[0].value)},[m,e,i]);const b=async _=&gt;{if(_.preventDefault(),!!e){if(v&amp;&amp;(!u.trim()||u.trim().length&lt;g)){h(`La raison de la mise en correction est obligatoire (min. ${g} caractères).`);return}c(!0),h(null);try{await eo.updateStatus(e.id,{status:i,notes:u.trim()||void 0}),n(),t()}catch(C){if(C instanceof Wt)if(C.status===422&amp;&amp;C.data.errors){const O=C.data.errors.notes?.[0],R=C.data.errors.status?.[0];h(O||R||C.data.message||&quot;Erreur de validation&quot;)}else C.status===403?h(&quot;Vous n&#039;avez pas la permission de modifier le statut&quot;):h(C.data.message||&quot;Une erreur est survenue&quot;);else h(&quot;Une erreur inattendue est survenue&quot;)}finally{c(!1)}}};if(!r||!e)return null;const x=e.status===&quot;correction&quot;&amp;&amp;i===&quot;pending_payment&quot;;return d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),d.jsx(&quot;div&quot;,{className:&quot;inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:x?&quot;Terminer la correction&quot;:&quot;Changer le statut&quot;}),d.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:d.jsx(vr,{size:24})})]}),d.jsxs(&quot;form&quot;,{onSubmit:b,className:&quot;space-y-4&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Statut actuel&quot;}),d.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-900 bg-brand-50 px-4 py-2 rounded-lg&quot;,children:e.status})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Nouveau statut &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;select&quot;,{value:i,onChange:_=&gt;a(_.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,required:!0,children:m.map(_=&gt;d.jsx(&quot;option&quot;,{value:_.value,children:_.label},_.value))})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:v?d.jsxs(d.Fragment,{children:[&quot;Raison de la mise en correction &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;}),&quot; (min. 10 caractères)&quot;]}):&quot;Notes (optionnel)&quot;}),d.jsx(&quot;textarea&quot;,{value:u,onChange:_=&gt;o(_.target.value),rows:4,maxLength:1e3,required:v,minLength:v?g:void 0,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,placeholder:v?&quot;Indiquez la raison de la mise en correction...&quot;:&quot;Ajouter des notes sur ce changement de statut...&quot;}),d.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-1&quot;,children:[u.length,&quot;/1000 caractères&quot;,v&amp;&amp;u.trim().length&gt;0&amp;&amp;u.trim().length&lt;g&amp;&amp;d.jsxs(&quot;span&quot;,{className:&quot;text-amber-600 ml-1&quot;,children:[&quot;(min. &quot;,g,&quot; requis)&quot;]})]})]}),f&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:d.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:f})}),d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:t,disabled:s,children:&quot;Annuler&quot;}),d.jsx(Le,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:s,children:s?&quot;Enregistrement...&quot;:x?&quot;Terminer la correction&quot;:&quot;Enregistrer&quot;})]})]})]})})]})})}function gB({registration:e,isOpen:r,onClose:t,onSuccess:n}){const[l,i]=F.useState(!1),[a,u]=F.useState(null),[o,s]=F.useState({first_name:&quot;&quot;,last_name:&quot;&quot;,email:&quot;&quot;,phone:&quot;&quot;,country:&quot;&quot;,city:&quot;&quot;,organization:&quot;&quot;,position:&quot;&quot;,nationality:&quot;&quot;,is_haggai_leader:!1,haggai_id:&quot;&quot;,payment_method_selected:&quot;&quot;,currency_selected:&quot;&quot;,amount_due_xof:&quot;&quot;,amount_due_eur:&quot;&quot;,pricing_plan_id:&quot;&quot;,ouaga_resident_confirmed:!1,spouse_fullname:&quot;&quot;,spouse_email:&quot;&quot;,spouse_haggai_id:&quot;&quot;,seminar_intent:&quot;&quot;,seminar_want_to_participate:&quot;&quot;,seminar_church_organization:&quot;&quot;,seminar_role_ministry:&quot;&quot;,seminar_marital_status:&quot;&quot;,seminar_age:&quot;&quot;,seminar_gender:&quot;&quot;,seminar_question_or_concern:&quot;&quot;,seminar_date_naissance:&quot;&quot;,seminar_contact_urgence_nom_lien:&quot;&quot;,seminar_niveau_etudes:&quot;&quot;,seminar_domaines_etude:&quot;&quot;,seminar_domaine_etude_autre:&quot;&quot;,seminar_niveau_francais:&quot;&quot;,seminar_besoin_lettre_absence:&quot;&quot;,seminar_besoin_lettre_details:&quot;&quot;,seminar_sante_details:&quot;&quot;,seminar_regime_sans_sel:&quot;&quot;,seminar_confession_religieuse:&quot;&quot;,seminar_confession_religieuse_autre:&quot;&quot;,seminar_fardeau_transformation:&quot;&quot;,seminar_recommande_par:&quot;&quot;,seminar_engagements:&quot;&quot;,seminar_engagements_autre:&quot;&quot;});F.useEffect(()=&gt;{e&amp;&amp;(s({first_name:e.first_name||&quot;&quot;,last_name:e.last_name||&quot;&quot;,email:e.email||&quot;&quot;,phone:e.phone||&quot;&quot;,country:e.country||&quot;&quot;,city:e.city||&quot;&quot;,organization:e.organization||&quot;&quot;,position:e.position||&quot;&quot;,nationality:e.nationality||&quot;&quot;,is_haggai_leader:e.is_haggai_leader||!1,haggai_id:e.haggai_id||&quot;&quot;,payment_method_selected:e.payment_method_selected||&quot;&quot;,currency_selected:e.currency_selected||&quot;&quot;,amount_due_xof:e.amount_due_xof?.toString()||&quot;&quot;,amount_due_eur:e.amount_due_eur?.toString()||&quot;&quot;,pricing_plan_id:e.pricing_plan_id?.toString()||e.pricing_plan?.id?.toString()||&quot;&quot;,ouaga_resident_confirmed:e.ouaga_resident_confirmed||!1,spouse_fullname:e.spouse_fullname||&quot;&quot;,spouse_email:e.spouse_email||&quot;&quot;,spouse_haggai_id:e.spouse_haggai_id||&quot;&quot;,seminar_intent:e.seminar_intent||&quot;&quot;,seminar_want_to_participate:e.seminar_want_to_participate||&quot;&quot;,seminar_church_organization:e.seminar_church_organization||&quot;&quot;,seminar_role_ministry:e.seminar_role_ministry||&quot;&quot;,seminar_marital_status:e.seminar_marital_status||&quot;&quot;,seminar_age:e.seminar_age?.toString()||&quot;&quot;,seminar_gender:e.seminar_gender||&quot;&quot;,seminar_question_or_concern:e.seminar_question_or_concern||&quot;&quot;,seminar_date_naissance:(()=&gt;{const g=e.seminar_date_naissance;return g?typeof g==&quot;string&quot;&amp;&amp;g.includes(&quot;T&quot;)?g.split(&quot;T&quot;)[0]:String(g).slice(0,10):&quot;&quot;})(),seminar_contact_urgence_nom_lien:e.seminar_contact_urgence_nom_lien||&quot;&quot;,seminar_niveau_etudes:e.seminar_niveau_etudes||&quot;&quot;,seminar_domaines_etude:Array.isArray(e.seminar_domaines_etude)?e.seminar_domaines_etude.join(&quot;, &quot;):&quot;&quot;,seminar_domaine_etude_autre:e.seminar_domaine_etude_autre||&quot;&quot;,seminar_niveau_francais:e.seminar_niveau_francais||&quot;&quot;,seminar_besoin_lettre_absence:e.seminar_besoin_lettre_absence||&quot;&quot;,seminar_besoin_lettre_details:e.seminar_besoin_lettre_details||&quot;&quot;,seminar_sante_details:e.seminar_sante_details||&quot;&quot;,seminar_regime_sans_sel:e.seminar_regime_sans_sel||&quot;&quot;,seminar_confession_religieuse:e.seminar_confession_religieuse||&quot;&quot;,seminar_confession_religieuse_autre:e.seminar_confession_religieuse_autre||&quot;&quot;,seminar_fardeau_transformation:e.seminar_fardeau_transformation||&quot;&quot;,seminar_recommande_par:e.seminar_recommande_par||&quot;&quot;,seminar_engagements:Array.isArray(e.seminar_engagements)?e.seminar_engagements.join(&quot;, &quot;):&quot;&quot;,seminar_engagements_autre:e.seminar_engagements_autre||&quot;&quot;}),u(null))},[e,r]);const c=e?.event?.event_type===&quot;summit&quot;,f=e?.event?.event_type===&quot;seminar&quot;,h=e?.status===&quot;correction&quot;,m=e?.event?.slug??null,{plans:p}=F8(c&amp;&amp;h?m:null),v=async g=&gt;{if(g.preventDefault(),!!e){i(!0),u(null);try{const b={first_name:o.first_name.trim(),last_name:o.last_name.trim(),email:o.email.trim().toLowerCase(),phone:o.phone.trim(),country:o.country.trim(),city:o.city.trim()||void 0,organization:o.organization.trim()||void 0,position:o.position.trim()||void 0,nationality:o.nationality.trim()||void 0,is_haggai_leader:o.is_haggai_leader,haggai_id:o.haggai_id.trim()||void 0,payment_method_selected:o.payment_method_selected||void 0};h&amp;&amp;(o.pricing_plan_id&amp;&amp;(b.pricing_plan_id=Number(o.pricing_plan_id)),b.currency_selected=o.currency_selected||void 0,b.amount_due_xof=o.amount_due_xof?parseFloat(o.amount_due_xof):void 0,b.amount_due_eur=o.amount_due_eur?parseFloat(o.amount_due_eur):void 0),c&amp;&amp;(b.ouaga_resident_confirmed=o.ouaga_resident_confirmed,b.spouse_fullname=o.spouse_fullname.trim()||void 0,b.spouse_email=o.spouse_email.trim()||void 0,b.spouse_haggai_id=o.spouse_haggai_id.trim()||void 0),f&amp;&amp;(b.seminar_intent=o.seminar_intent||void 0,b.seminar_want_to_participate=o.seminar_want_to_participate||void 0,b.seminar_church_organization=o.seminar_church_organization.trim()||void 0,b.seminar_role_ministry=o.seminar_role_ministry.trim()||void 0,b.seminar_marital_status=o.seminar_marital_status||void 0,b.seminar_age=o.seminar_age?parseInt(o.seminar_age):void 0,b.seminar_gender=o.seminar_gender||void 0,b.seminar_question_or_concern=o.seminar_question_or_concern.trim()||void 0,b.seminar_date_naissance=o.seminar_date_naissance?.trim()||void 0,b.seminar_contact_urgence_nom_lien=o.seminar_contact_urgence_nom_lien.trim()||void 0,b.seminar_niveau_etudes=o.seminar_niveau_etudes||void 0,b.seminar_domaines_etude=o.seminar_domaines_etude?.trim()?o.seminar_domaines_etude.split(&quot;,&quot;).map(x=&gt;x.trim()).filter(Boolean):void 0,b.seminar_domaine_etude_autre=o.seminar_domaine_etude_autre.trim()||void 0,b.seminar_niveau_francais=o.seminar_niveau_francais||void 0,b.seminar_besoin_lettre_absence=o.seminar_besoin_lettre_absence||void 0,b.seminar_besoin_lettre_details=o.seminar_besoin_lettre_details.trim()||void 0,b.seminar_sante_details=o.seminar_sante_details.trim()||void 0,b.seminar_regime_sans_sel=o.seminar_regime_sans_sel||void 0,b.seminar_confession_religieuse=o.seminar_confession_religieuse||void 0,b.seminar_confession_religieuse_autre=o.seminar_confession_religieuse===&quot;autre&quot;?o.seminar_confession_religieuse_autre.trim()||void 0:null,b.seminar_fardeau_transformation=o.seminar_fardeau_transformation.trim()||void 0,b.seminar_recommande_par=o.seminar_recommande_par.trim()||void 0,b.seminar_engagements=o.seminar_engagements?.trim()?o.seminar_engagements.split(&quot;,&quot;).map(x=&gt;x.trim()).filter(Boolean):void 0,b.seminar_engagements_autre=o.seminar_engagements_autre.trim()||void 0),await eo.update(e.id,b),n(),t()}catch(b){if(b instanceof Wt)if(b.status===422&amp;&amp;b.data.errors){const x=Object.values(b.data.errors).flat();u(x.join(&quot;, &quot;))}else b.status===403?u(&quot;Vous n&#039;avez pas la permission de modifier cette inscription&quot;):u(b.data.message||&quot;Une erreur est survenue&quot;);else u(&quot;Une erreur inattendue est survenue&quot;)}finally{i(!1)}}};return!r||!e?null:d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),d.jsx(&quot;div&quot;,{className:&quot;inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-4xl sm:w-full max-h-[90vh] overflow-y-auto&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[d.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:[&quot;Modifier l&#039;inscription #&quot;,e.id]}),d.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:d.jsx(vr,{size:24})})]}),d.jsxs(&quot;form&quot;,{onSubmit:v,className:&quot;space-y-6&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations personnelles&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.first_name,onChange:g=&gt;s({...o,first_name:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,required:!0})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.last_name,onChange:g=&gt;s({...o,last_name:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,required:!0})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:o.email,onChange:g=&gt;s({...o,email:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,required:!0})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Téléphone&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.phone,onChange:g=&gt;s({...o,phone:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Pays&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.country,onChange:g=&gt;s({...o,country:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Ville&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.city,onChange:g=&gt;s({...o,city:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Organisation&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.organization,onChange:g=&gt;s({...o,organization:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Poste&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.position,onChange:g=&gt;s({...o,position:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Nationalité&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.nationality,onChange:g=&gt;s({...o,nationality:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 mt-6&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:o.is_haggai_leader,onChange:g=&gt;s({...o,is_haggai_leader:g.target.checked}),className:&quot;rounded&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Leader Haggai&quot;})]}),o.is_haggai_leader&amp;&amp;d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.haggai_id,onChange:g=&gt;s({...o,haggai_id:g.target.value}),placeholder:&quot;Haggai ID ou Année de HLE&quot;,className:&quot;w-full mt-2 px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations paiement&quot;}),!h&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-3&quot;,children:&quot;La formule, la devise et le montant ne peuvent être modifiés que lorsque le dossier est en statut « Dossier en correction ».&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[c&amp;&amp;d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Formule (solo/couple)&quot;}),d.jsxs(&quot;select&quot;,{value:o.pricing_plan_id,onChange:g=&gt;s({...o,pricing_plan_id:g.target.value}),disabled:!h,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent disabled:bg-gray-100 disabled:cursor-not-allowed&quot;,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),p.map(g=&gt;d.jsxs(&quot;option&quot;,{value:g.id,children:[g.code,&quot; - &quot;,g.title,&quot; (&quot;,g.price_xof,&quot; XOF / &quot;,g.price_eur,&quot; EUR)&quot;]},g.id))]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Méthode de paiement&quot;}),d.jsxs(&quot;select&quot;,{value:o.payment_method_selected,onChange:g=&gt;s({...o,payment_method_selected:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),d.jsx(&quot;option&quot;,{value:&quot;card_visa&quot;,children:&quot;Carte de crédit (Visa)&quot;}),d.jsx(&quot;option&quot;,{value:&quot;paypal&quot;,children:&quot;PayPal&quot;}),d.jsx(&quot;option&quot;,{value:&quot;mobile_money&quot;,children:&quot;Mobile Money&quot;}),d.jsx(&quot;option&quot;,{value:&quot;national_office&quot;,children:&quot;Bureau National&quot;})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Devise&quot;}),d.jsxs(&quot;select&quot;,{value:o.currency_selected,onChange:g=&gt;s({...o,currency_selected:g.target.value}),disabled:!h,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent disabled:bg-gray-100 disabled:cursor-not-allowed&quot;,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),d.jsx(&quot;option&quot;,{value:&quot;XOF&quot;,children:&quot;XOF&quot;}),d.jsx(&quot;option&quot;,{value:&quot;EUR&quot;,children:&quot;EUR&quot;})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Montant dû (XOF)&quot;}),d.jsx(&quot;input&quot;,{type:&quot;number&quot;,step:&quot;0.01&quot;,value:o.amount_due_xof,onChange:g=&gt;s({...o,amount_due_xof:g.target.value}),disabled:!h,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent disabled:bg-gray-100 disabled:cursor-not-allowed&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Montant dû (EUR)&quot;}),d.jsx(&quot;input&quot;,{type:&quot;number&quot;,step:&quot;0.01&quot;,value:o.amount_due_eur,onChange:g=&gt;s({...o,amount_due_eur:g.target.value}),disabled:!h,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent disabled:bg-gray-100 disabled:cursor-not-allowed&quot;})]})]})]}),c&amp;&amp;d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations Sommet&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[d.jsx(&quot;div&quot;,{children:d.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:o.ouaga_resident_confirmed,onChange:g=&gt;s({...o,ouaga_resident_confirmed:g.target.checked}),className:&quot;rounded&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Résident à Ouaga&quot;})]})}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Nom du conjoint / de la conjointe&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.spouse_fullname,onChange:g=&gt;s({...o,spouse_fullname:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Email du conjoint / de la conjointe&quot;}),d.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:o.spouse_email,onChange:g=&gt;s({...o,spouse_email:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Haggai ID / Année de HLE (conjoint / conjointe)&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.spouse_haggai_id,onChange:g=&gt;s({...o,spouse_haggai_id:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]})]})]}),f&amp;&amp;d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations Séminaire&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Veut participer&quot;}),d.jsxs(&quot;select&quot;,{value:o.seminar_want_to_participate,onChange:g=&gt;s({...o,seminar_want_to_participate:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),d.jsx(&quot;option&quot;,{value:&quot;oui&quot;,children:&quot;Oui&quot;}),d.jsx(&quot;option&quot;,{value:&quot;non&quot;,children:&quot;Non&quot;})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Église/Organisation&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.seminar_church_organization,onChange:g=&gt;s({...o,seminar_church_organization:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Rôle/Ministère&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.seminar_role_ministry,onChange:g=&gt;s({...o,seminar_role_ministry:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Situation matrimoniale&quot;}),d.jsxs(&quot;select&quot;,{value:o.seminar_marital_status,onChange:g=&gt;s({...o,seminar_marital_status:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),d.jsx(&quot;option&quot;,{value:&quot;marie&quot;,children:&quot;Marié(e)&quot;}),d.jsx(&quot;option&quot;,{value:&quot;non_marie&quot;,children:&quot;Non marié(e)&quot;})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Âge&quot;}),d.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:&quot;1&quot;,max:&quot;120&quot;,value:o.seminar_age,onChange:g=&gt;s({...o,seminar_age:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Genre&quot;}),d.jsxs(&quot;select&quot;,{value:o.seminar_gender,onChange:g=&gt;s({...o,seminar_gender:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),d.jsx(&quot;option&quot;,{value:&quot;homme&quot;,children:&quot;Homme&quot;}),d.jsx(&quot;option&quot;,{value:&quot;femme&quot;,children:&quot;Femme&quot;})]})]}),d.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Question ou préoccupation&quot;}),d.jsx(&quot;textarea&quot;,{value:o.seminar_question_or_concern,onChange:g=&gt;s({...o,seminar_question_or_concern:g.target.value}),rows:3,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Date de naissance&quot;}),d.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:o.seminar_date_naissance,onChange:g=&gt;s({...o,seminar_date_naissance:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Contact d&#039;urgence (nom et lien)&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.seminar_contact_urgence_nom_lien,onChange:g=&gt;s({...o,seminar_contact_urgence_nom_lien:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Niveau d&#039;études&quot;}),d.jsxs(&quot;select&quot;,{value:o.seminar_niveau_etudes,onChange:g=&gt;s({...o,seminar_niveau_etudes:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),d.jsx(&quot;option&quot;,{value:&quot;primaire&quot;,children:&quot;Primaire&quot;}),d.jsx(&quot;option&quot;,{value:&quot;secondaire_2&quot;,children:&quot;Secondaire 2e cycle&quot;}),d.jsx(&quot;option&quot;,{value:&quot;universitaire&quot;,children:&quot;Universitaire&quot;})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Domaines d&#039;étude (séparés par des virgules)&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.seminar_domaines_etude,onChange:g=&gt;s({...o,seminar_domaines_etude:g.target.value}),placeholder:&quot;ex. Théologie, Éducation&quot;,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Domaine d&#039;étude (autre)&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.seminar_domaine_etude_autre,onChange:g=&gt;s({...o,seminar_domaine_etude_autre:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Niveau de français&quot;}),d.jsxs(&quot;select&quot;,{value:o.seminar_niveau_francais,onChange:g=&gt;s({...o,seminar_niveau_francais:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),d.jsx(&quot;option&quot;,{value:&quot;natif&quot;,children:&quot;Natif&quot;}),d.jsx(&quot;option&quot;,{value:&quot;avance&quot;,children:&quot;Avancé&quot;}),d.jsx(&quot;option&quot;,{value:&quot;intermediaire&quot;,children:&quot;Intermédiaire&quot;}),d.jsx(&quot;option&quot;,{value:&quot;faible&quot;,children:&quot;Faible&quot;})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Besoin lettre d&#039;absence&quot;}),d.jsxs(&quot;select&quot;,{value:o.seminar_besoin_lettre_absence,onChange:g=&gt;s({...o,seminar_besoin_lettre_absence:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),d.jsx(&quot;option&quot;,{value:&quot;oui&quot;,children:&quot;Oui&quot;}),d.jsx(&quot;option&quot;,{value:&quot;non&quot;,children:&quot;Non&quot;})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Détails lettre d&#039;absence&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.seminar_besoin_lettre_details,onChange:g=&gt;s({...o,seminar_besoin_lettre_details:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Informations santé&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.seminar_sante_details,onChange:g=&gt;s({...o,seminar_sante_details:g.target.value}),placeholder:&quot;Indiquez « Aucun » si applicable&quot;,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Régime sans sel&quot;}),d.jsxs(&quot;select&quot;,{value:o.seminar_regime_sans_sel,onChange:g=&gt;s({...o,seminar_regime_sans_sel:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),d.jsx(&quot;option&quot;,{value:&quot;oui&quot;,children:&quot;Oui&quot;}),d.jsx(&quot;option&quot;,{value:&quot;non&quot;,children:&quot;Non&quot;})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Confession religieuse&quot;}),d.jsxs(&quot;select&quot;,{value:o.seminar_confession_religieuse,onChange:g=&gt;{const b=g.target.value;s({...o,seminar_confession_religieuse:b,seminar_confession_religieuse_autre:b===&quot;autre&quot;?o.seminar_confession_religieuse_autre:&quot;&quot;})},className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),d.jsx(&quot;option&quot;,{value:&quot;musulmane&quot;,children:&quot;Musulmane&quot;}),d.jsx(&quot;option&quot;,{value:&quot;catholique&quot;,children:&quot;Catholique&quot;}),d.jsx(&quot;option&quot;,{value:&quot;protestante&quot;,children:&quot;Protestante&quot;}),d.jsx(&quot;option&quot;,{value:&quot;pentecotiste&quot;,children:&quot;Pentecôtiste&quot;}),d.jsx(&quot;option&quot;,{value:&quot;evangelique&quot;,children:&quot;Évangélique&quot;}),d.jsx(&quot;option&quot;,{value:&quot;autre&quot;,children:&quot;Autre&quot;})]})]}),o.seminar_confession_religieuse===&quot;autre&quot;&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Spécifiez :&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.seminar_confession_religieuse_autre,onChange:g=&gt;s({...o,seminar_confession_religieuse_autre:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Attentes&quot;}),d.jsx(&quot;textarea&quot;,{value:o.seminar_fardeau_transformation,onChange:g=&gt;s({...o,seminar_fardeau_transformation:g.target.value}),rows:2,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Recommandé par&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.seminar_recommande_par,onChange:g=&gt;s({...o,seminar_recommande_par:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Engagements (séparés par des virgules)&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.seminar_engagements,onChange:g=&gt;s({...o,seminar_engagements:g.target.value}),placeholder:&quot;ex. Église locale, Évangélisation&quot;,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Engagements (autre)&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.seminar_engagements_autre,onChange:g=&gt;s({...o,seminar_engagements_autre:g.target.value}),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;})]})]})]}),a&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:d.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:a})}),d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4 border-t&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:t,disabled:l,children:&quot;Annuler&quot;}),d.jsx(Le,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:l,children:l?&quot;Enregistrement...&quot;:&quot;Enregistrer&quot;})]})]})]})})]})})}function vB({registration:e,isOpen:r,onClose:t,onSuccess:n}){const[l,i]=F.useState(!1),[a,u]=F.useState(null),o=async()=&gt;{if(e){i(!0),u(null);try{await eo.delete(e.id),n(),t()}catch(s){s instanceof Wt?s.status===403?u(&quot;Vous n&#039;avez pas la permission de supprimer cette inscription&quot;):u(s.data.message||&quot;Une erreur est survenue lors de la suppression&quot;):u(&quot;Une erreur inattendue est survenue&quot;)}finally{i(!1)}}};return!r||!e?null:d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),d.jsx(&quot;div&quot;,{className:&quot;inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:&quot;Supprimer l&#039;inscription&quot;}),d.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:d.jsx(vr,{size:24})})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex items-start gap-4 mb-6&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;flex-shrink-0&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;flex items-center justify-center w-12 h-12 rounded-full bg-red-100&quot;,children:d.jsx(GL,{className:&quot;w-6 h-6 text-red-600&quot;})})}),d.jsxs(&quot;div&quot;,{className:&quot;flex-1&quot;,children:[d.jsx(&quot;h4&quot;,{className:&quot;text-lg font-medium text-ink-900 mb-2&quot;,children:&quot;Êtes-vous sûr de vouloir supprimer cette inscription ?&quot;}),d.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-2&quot;,children:[&quot;Cette action est irréversible. L&#039;inscription #&quot;,e.id,&quot; de&quot;,&quot; &quot;,d.jsxs(&quot;strong&quot;,{children:[e.first_name,&quot; &quot;,e.last_name]}),&quot; sera définitivement supprimée.&quot;]}),e.event&amp;&amp;d.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[&quot;Événement: &quot;,d.jsx(&quot;strong&quot;,{children:e.event.name})]})]})]}),a&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3 mb-4&quot;,children:d.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:a})}),d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4 border-t&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:t,disabled:l,children:&quot;Annuler&quot;}),d.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:o,disabled:l,className:&quot;bg-red-600 hover:bg-red-700 text-white&quot;,children:l?&quot;Suppression...&quot;:&quot;Supprimer&quot;})]})]})})]})})}const yB=[{value:&quot;pending&quot;,label:&quot;En attente&quot;},{value:&quot;contacted&quot;,label:&quot;Contacté&quot;},{value:&quot;accepted&quot;,label:&quot;Accepté&quot;},{value:&quot;rejected&quot;,label:&quot;Rejeté&quot;}];function bB({recommendation:e,isOpen:r,onClose:t,onSuccess:n}){const[l,i]=F.useState(&quot;pending&quot;),[a,u]=F.useState(&quot;&quot;),[o,s]=F.useState(&quot;&quot;),[c,f]=F.useState(&quot;&quot;),[h,m]=F.useState(!1),[p,v]=F.useState(!1),[g,b]=F.useState(&quot;status&quot;),[x,_]=F.useState(!1),[C,O]=F.useState(null),[R,H]=F.useState(null);F.useEffect(()=&gt;{e&amp;&amp;(i(e.status),u(e.notes||&quot;&quot;),s(&quot;&quot;),f(&quot;&quot;),m(!1),v(!1),O(null),H(null),b(&quot;status&quot;))},[e,r]);const L=async W=&gt;{if(W.preventDefault(),!!e){_(!0),O(null),H(null);try{await Iu.updateStatus(e.id,{status:l,notes:a.trim()||void 0}),H(&quot;Statut mis à jour avec succès&quot;),setTimeout(()=&gt;{n(),t()},1e3)}catch(K){if(K instanceof Wt)if(K.status===422&amp;&amp;K.data.errors){const U=K.data.errors.status?.[0];O(U||K.data.message||&quot;Erreur de validation&quot;)}else K.status===403?O(&quot;Vous n&#039;avez pas la permission de modifier le statut&quot;):O(K.data.message||&quot;Une erreur est survenue&quot;);else O(&quot;Une erreur inattendue est survenue&quot;)}finally{_(!1)}}},q=async W=&gt;{if(W.preventDefault(),!!e){if(!h&amp;&amp;!p){O(&quot;Veuillez sélectionner au moins un destinataire&quot;);return}_(!0),O(null),H(null);try{const K=await Iu.sendEmail(e.id,{subject:o.trim(),message:c.trim(),send_to_recommender:h,send_to_recommended:p});H(`Email(s) envoyé(s) à: ${K.data.emails_sent.join(&quot;, &quot;)}`),setTimeout(()=&gt;{n(),t()},2e3)}catch(K){if(K instanceof Wt)if(K.status===422&amp;&amp;K.data.errors){const U=K.data.errors.subject?.[0],P=K.data.errors.message?.[0];O(U||P||K.data.message||&quot;Erreur de validation&quot;)}else O(K.data.message||&quot;Une erreur est survenue lors de l&#039;envoi de l&#039;email&quot;);else O(&quot;Une erreur inattendue est survenue&quot;)}finally{_(!1)}}};return!r||!e?null:d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),d.jsx(&quot;div&quot;,{className:&quot;inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-2xl sm:w-full&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[d.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:[&quot;Traiter la recommandation #&quot;,e.id]}),d.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:d.jsx(vr,{size:24})})]}),d.jsxs(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-brand-50 rounded-lg&quot;,children:[d.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-2&quot;,children:[d.jsx(&quot;strong&quot;,{children:&quot;Recommandé:&quot;}),&quot; &quot;,e.recommended_full_name]}),d.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-2&quot;,children:[d.jsx(&quot;strong&quot;,{children:&quot;Email recommandé:&quot;}),&quot; &quot;,e.recommended_email||&quot;-&quot;]}),d.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[d.jsx(&quot;strong&quot;,{children:&quot;Recommandeur:&quot;}),&quot; &quot;,e.recommender_first_name,&quot; &quot;,e.recommender_last_name,&quot; (&quot;,e.recommender_email,&quot;)&quot;]})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex border-b border-gray-200 mb-4&quot;,children:[d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;b(&quot;status&quot;),className:`px-4 py-2 text-sm font-medium ${g===&quot;status&quot;?&quot;text-ink-900 border-b-2 border-brand-700&quot;:&quot;text-ink-500 hover:text-ink-900&quot;}`,children:&quot;Mettre à jour le statut&quot;}),d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;b(&quot;email&quot;),className:`px-4 py-2 text-sm font-medium flex items-center gap-2 ${g===&quot;email&quot;?&quot;text-ink-900 border-b-2 border-brand-700&quot;:&quot;text-ink-500 hover:text-ink-900&quot;}`,children:[d.jsx(Wa,{size:16}),&quot;Envoyer un email&quot;]})]}),C&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg&quot;,children:d.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-800&quot;,children:C})}),R&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-green-50 border border-green-200 rounded-lg&quot;,children:d.jsx(&quot;p&quot;,{className:&quot;text-sm text-green-800&quot;,children:R})}),g===&quot;status&quot;&amp;&amp;d.jsxs(&quot;form&quot;,{onSubmit:L,className:&quot;space-y-4&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Nouveau statut &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;select&quot;,{value:l,onChange:W=&gt;i(W.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;,required:!0,children:yB.map(W=&gt;d.jsx(&quot;option&quot;,{value:W.value,children:W.label},W.value))})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Notes (optionnel)&quot;}),d.jsx(&quot;textarea&quot;,{value:a,onChange:W=&gt;u(W.target.value),rows:4,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;,placeholder:&quot;Ajouter des notes sur cette recommandation...&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:t,disabled:x,children:&quot;Annuler&quot;}),d.jsx(Le,{type:&quot;submit&quot;,disabled:x,children:x?&quot;Mise à jour...&quot;:&quot;Mettre à jour le statut&quot;})]})]}),g===&quot;email&quot;&amp;&amp;d.jsxs(&quot;form&quot;,{onSubmit:q,className:&quot;space-y-4&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Destinataires &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[e.recommended_email?d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:p,onChange:W=&gt;v(W.target.checked),className:&quot;rounded border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),d.jsxs(&quot;span&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[&quot;Recommandé (&quot;,e.recommended_email,&quot;)&quot;]})]}):d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 italic&quot;,children:&quot;Aucun email disponible pour le recommandé&quot;}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:h,onChange:W=&gt;m(W.target.checked),className:&quot;rounded border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),d.jsxs(&quot;span&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[&quot;Recommandeur (&quot;,e.recommender_email,&quot;)&quot;]})]})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Sujet &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o,onChange:W=&gt;s(W.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;,placeholder:&quot;Sujet de l&#039;email&quot;,required:!0})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Message &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;textarea&quot;,{value:c,onChange:W=&gt;f(W.target.value),rows:6,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600&quot;,placeholder:&quot;Votre message...&quot;,required:!0}),d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-ink-500&quot;,children:&quot;Le message sera envoyé avec les informations de la recommandation.&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:t,disabled:x,children:&quot;Annuler&quot;}),d.jsx(Le,{type:&quot;submit&quot;,disabled:x||!h&amp;&amp;!p,children:x?&quot;Envoi...&quot;:&quot;Envoyer l&#039;email&quot;})]})]})]})})]})})}function X8(e){var r,t,n=&quot;&quot;;if(typeof e==&quot;string&quot;||typeof e==&quot;number&quot;)n+=e;else if(typeof e==&quot;object&quot;)if(Array.isArray(e)){var l=e.length;for(r=0;r&lt;l;r++)e[r]&amp;&amp;(t=X8(e[r]))&amp;&amp;(n&amp;&amp;(n+=&quot; &quot;),n+=t)}else for(t in e)e[t]&amp;&amp;(n&amp;&amp;(n+=&quot; &quot;),n+=t);return n}function ar(){for(var e,r,t=0,n=&quot;&quot;,l=arguments.length;t&lt;l;t++)(e=arguments[t])&amp;&amp;(r=X8(e))&amp;&amp;(n&amp;&amp;(n+=&quot; &quot;),n+=r);return n}var xB=[&quot;dangerouslySetInnerHTML&quot;,&quot;onCopy&quot;,&quot;onCopyCapture&quot;,&quot;onCut&quot;,&quot;onCutCapture&quot;,&quot;onPaste&quot;,&quot;onPasteCapture&quot;,&quot;onCompositionEnd&quot;,&quot;onCompositionEndCapture&quot;,&quot;onCompositionStart&quot;,&quot;onCompositionStartCapture&quot;,&quot;onCompositionUpdate&quot;,&quot;onCompositionUpdateCapture&quot;,&quot;onFocus&quot;,&quot;onFocusCapture&quot;,&quot;onBlur&quot;,&quot;onBlurCapture&quot;,&quot;onChange&quot;,&quot;onChangeCapture&quot;,&quot;onBeforeInput&quot;,&quot;onBeforeInputCapture&quot;,&quot;onInput&quot;,&quot;onInputCapture&quot;,&quot;onReset&quot;,&quot;onResetCapture&quot;,&quot;onSubmit&quot;,&quot;onSubmitCapture&quot;,&quot;onInvalid&quot;,&quot;onInvalidCapture&quot;,&quot;onLoad&quot;,&quot;onLoadCapture&quot;,&quot;onError&quot;,&quot;onErrorCapture&quot;,&quot;onKeyDown&quot;,&quot;onKeyDownCapture&quot;,&quot;onKeyPress&quot;,&quot;onKeyPressCapture&quot;,&quot;onKeyUp&quot;,&quot;onKeyUpCapture&quot;,&quot;onAbort&quot;,&quot;onAbortCapture&quot;,&quot;onCanPlay&quot;,&quot;onCanPlayCapture&quot;,&quot;onCanPlayThrough&quot;,&quot;onCanPlayThroughCapture&quot;,&quot;onDurationChange&quot;,&quot;onDurationChangeCapture&quot;,&quot;onEmptied&quot;,&quot;onEmptiedCapture&quot;,&quot;onEncrypted&quot;,&quot;onEncryptedCapture&quot;,&quot;onEnded&quot;,&quot;onEndedCapture&quot;,&quot;onLoadedData&quot;,&quot;onLoadedDataCapture&quot;,&quot;onLoadedMetadata&quot;,&quot;onLoadedMetadataCapture&quot;,&quot;onLoadStart&quot;,&quot;onLoadStartCapture&quot;,&quot;onPause&quot;,&quot;onPauseCapture&quot;,&quot;onPlay&quot;,&quot;onPlayCapture&quot;,&quot;onPlaying&quot;,&quot;onPlayingCapture&quot;,&quot;onProgress&quot;,&quot;onProgressCapture&quot;,&quot;onRateChange&quot;,&quot;onRateChangeCapture&quot;,&quot;onSeeked&quot;,&quot;onSeekedCapture&quot;,&quot;onSeeking&quot;,&quot;onSeekingCapture&quot;,&quot;onStalled&quot;,&quot;onStalledCapture&quot;,&quot;onSuspend&quot;,&quot;onSuspendCapture&quot;,&quot;onTimeUpdate&quot;,&quot;onTimeUpdateCapture&quot;,&quot;onVolumeChange&quot;,&quot;onVolumeChangeCapture&quot;,&quot;onWaiting&quot;,&quot;onWaitingCapture&quot;,&quot;onAuxClick&quot;,&quot;onAuxClickCapture&quot;,&quot;onClick&quot;,&quot;onClickCapture&quot;,&quot;onContextMenu&quot;,&quot;onContextMenuCapture&quot;,&quot;onDoubleClick&quot;,&quot;onDoubleClickCapture&quot;,&quot;onDrag&quot;,&quot;onDragCapture&quot;,&quot;onDragEnd&quot;,&quot;onDragEndCapture&quot;,&quot;onDragEnter&quot;,&quot;onDragEnterCapture&quot;,&quot;onDragExit&quot;,&quot;onDragExitCapture&quot;,&quot;onDragLeave&quot;,&quot;onDragLeaveCapture&quot;,&quot;onDragOver&quot;,&quot;onDragOverCapture&quot;,&quot;onDragStart&quot;,&quot;onDragStartCapture&quot;,&quot;onDrop&quot;,&quot;onDropCapture&quot;,&quot;onMouseDown&quot;,&quot;onMouseDownCapture&quot;,&quot;onMouseEnter&quot;,&quot;onMouseLeave&quot;,&quot;onMouseMove&quot;,&quot;onMouseMoveCapture&quot;,&quot;onMouseOut&quot;,&quot;onMouseOutCapture&quot;,&quot;onMouseOver&quot;,&quot;onMouseOverCapture&quot;,&quot;onMouseUp&quot;,&quot;onMouseUpCapture&quot;,&quot;onSelect&quot;,&quot;onSelectCapture&quot;,&quot;onTouchCancel&quot;,&quot;onTouchCancelCapture&quot;,&quot;onTouchEnd&quot;,&quot;onTouchEndCapture&quot;,&quot;onTouchMove&quot;,&quot;onTouchMoveCapture&quot;,&quot;onTouchStart&quot;,&quot;onTouchStartCapture&quot;,&quot;onPointerDown&quot;,&quot;onPointerDownCapture&quot;,&quot;onPointerMove&quot;,&quot;onPointerMoveCapture&quot;,&quot;onPointerUp&quot;,&quot;onPointerUpCapture&quot;,&quot;onPointerCancel&quot;,&quot;onPointerCancelCapture&quot;,&quot;onPointerEnter&quot;,&quot;onPointerEnterCapture&quot;,&quot;onPointerLeave&quot;,&quot;onPointerLeaveCapture&quot;,&quot;onPointerOver&quot;,&quot;onPointerOverCapture&quot;,&quot;onPointerOut&quot;,&quot;onPointerOutCapture&quot;,&quot;onGotPointerCapture&quot;,&quot;onGotPointerCaptureCapture&quot;,&quot;onLostPointerCapture&quot;,&quot;onLostPointerCaptureCapture&quot;,&quot;onScroll&quot;,&quot;onScrollCapture&quot;,&quot;onWheel&quot;,&quot;onWheelCapture&quot;,&quot;onAnimationStart&quot;,&quot;onAnimationStartCapture&quot;,&quot;onAnimationEnd&quot;,&quot;onAnimationEndCapture&quot;,&quot;onAnimationIteration&quot;,&quot;onAnimationIterationCapture&quot;,&quot;onTransitionEnd&quot;,&quot;onTransitionEndCapture&quot;];function a1(e){if(typeof e!=&quot;string&quot;)return!1;var r=xB;return r.includes(e)}var wB=[&quot;aria-activedescendant&quot;,&quot;aria-atomic&quot;,&quot;aria-autocomplete&quot;,&quot;aria-busy&quot;,&quot;aria-checked&quot;,&quot;aria-colcount&quot;,&quot;aria-colindex&quot;,&quot;aria-colspan&quot;,&quot;aria-controls&quot;,&quot;aria-current&quot;,&quot;aria-describedby&quot;,&quot;aria-details&quot;,&quot;aria-disabled&quot;,&quot;aria-errormessage&quot;,&quot;aria-expanded&quot;,&quot;aria-flowto&quot;,&quot;aria-haspopup&quot;,&quot;aria-hidden&quot;,&quot;aria-invalid&quot;,&quot;aria-keyshortcuts&quot;,&quot;aria-label&quot;,&quot;aria-labelledby&quot;,&quot;aria-level&quot;,&quot;aria-live&quot;,&quot;aria-modal&quot;,&quot;aria-multiline&quot;,&quot;aria-multiselectable&quot;,&quot;aria-orientation&quot;,&quot;aria-owns&quot;,&quot;aria-placeholder&quot;,&quot;aria-posinset&quot;,&quot;aria-pressed&quot;,&quot;aria-readonly&quot;,&quot;aria-relevant&quot;,&quot;aria-required&quot;,&quot;aria-roledescription&quot;,&quot;aria-rowcount&quot;,&quot;aria-rowindex&quot;,&quot;aria-rowspan&quot;,&quot;aria-selected&quot;,&quot;aria-setsize&quot;,&quot;aria-sort&quot;,&quot;aria-valuemax&quot;,&quot;aria-valuemin&quot;,&quot;aria-valuenow&quot;,&quot;aria-valuetext&quot;,&quot;className&quot;,&quot;color&quot;,&quot;height&quot;,&quot;id&quot;,&quot;lang&quot;,&quot;max&quot;,&quot;media&quot;,&quot;method&quot;,&quot;min&quot;,&quot;name&quot;,&quot;style&quot;,&quot;target&quot;,&quot;width&quot;,&quot;role&quot;,&quot;tabIndex&quot;,&quot;accentHeight&quot;,&quot;accumulate&quot;,&quot;additive&quot;,&quot;alignmentBaseline&quot;,&quot;allowReorder&quot;,&quot;alphabetic&quot;,&quot;amplitude&quot;,&quot;arabicForm&quot;,&quot;ascent&quot;,&quot;attributeName&quot;,&quot;attributeType&quot;,&quot;autoReverse&quot;,&quot;azimuth&quot;,&quot;baseFrequency&quot;,&quot;baselineShift&quot;,&quot;baseProfile&quot;,&quot;bbox&quot;,&quot;begin&quot;,&quot;bias&quot;,&quot;by&quot;,&quot;calcMode&quot;,&quot;capHeight&quot;,&quot;clip&quot;,&quot;clipPath&quot;,&quot;clipPathUnits&quot;,&quot;clipRule&quot;,&quot;colorInterpolation&quot;,&quot;colorInterpolationFilters&quot;,&quot;colorProfile&quot;,&quot;colorRendering&quot;,&quot;contentScriptType&quot;,&quot;contentStyleType&quot;,&quot;cursor&quot;,&quot;cx&quot;,&quot;cy&quot;,&quot;d&quot;,&quot;decelerate&quot;,&quot;descent&quot;,&quot;diffuseConstant&quot;,&quot;direction&quot;,&quot;display&quot;,&quot;divisor&quot;,&quot;dominantBaseline&quot;,&quot;dur&quot;,&quot;dx&quot;,&quot;dy&quot;,&quot;edgeMode&quot;,&quot;elevation&quot;,&quot;enableBackground&quot;,&quot;end&quot;,&quot;exponent&quot;,&quot;externalResourcesRequired&quot;,&quot;fill&quot;,&quot;fillOpacity&quot;,&quot;fillRule&quot;,&quot;filter&quot;,&quot;filterRes&quot;,&quot;filterUnits&quot;,&quot;floodColor&quot;,&quot;floodOpacity&quot;,&quot;focusable&quot;,&quot;fontFamily&quot;,&quot;fontSize&quot;,&quot;fontSizeAdjust&quot;,&quot;fontStretch&quot;,&quot;fontStyle&quot;,&quot;fontVariant&quot;,&quot;fontWeight&quot;,&quot;format&quot;,&quot;from&quot;,&quot;fx&quot;,&quot;fy&quot;,&quot;g1&quot;,&quot;g2&quot;,&quot;glyphName&quot;,&quot;glyphOrientationHorizontal&quot;,&quot;glyphOrientationVertical&quot;,&quot;glyphRef&quot;,&quot;gradientTransform&quot;,&quot;gradientUnits&quot;,&quot;hanging&quot;,&quot;horizAdvX&quot;,&quot;horizOriginX&quot;,&quot;href&quot;,&quot;ideographic&quot;,&quot;imageRendering&quot;,&quot;in2&quot;,&quot;in&quot;,&quot;intercept&quot;,&quot;k1&quot;,&quot;k2&quot;,&quot;k3&quot;,&quot;k4&quot;,&quot;k&quot;,&quot;kernelMatrix&quot;,&quot;kernelUnitLength&quot;,&quot;kerning&quot;,&quot;keyPoints&quot;,&quot;keySplines&quot;,&quot;keyTimes&quot;,&quot;lengthAdjust&quot;,&quot;letterSpacing&quot;,&quot;lightingColor&quot;,&quot;limitingConeAngle&quot;,&quot;local&quot;,&quot;markerEnd&quot;,&quot;markerHeight&quot;,&quot;markerMid&quot;,&quot;markerStart&quot;,&quot;markerUnits&quot;,&quot;markerWidth&quot;,&quot;mask&quot;,&quot;maskContentUnits&quot;,&quot;maskUnits&quot;,&quot;mathematical&quot;,&quot;mode&quot;,&quot;numOctaves&quot;,&quot;offset&quot;,&quot;opacity&quot;,&quot;operator&quot;,&quot;order&quot;,&quot;orient&quot;,&quot;orientation&quot;,&quot;origin&quot;,&quot;overflow&quot;,&quot;overlinePosition&quot;,&quot;overlineThickness&quot;,&quot;paintOrder&quot;,&quot;panose1&quot;,&quot;pathLength&quot;,&quot;patternContentUnits&quot;,&quot;patternTransform&quot;,&quot;patternUnits&quot;,&quot;pointerEvents&quot;,&quot;pointsAtX&quot;,&quot;pointsAtY&quot;,&quot;pointsAtZ&quot;,&quot;preserveAlpha&quot;,&quot;preserveAspectRatio&quot;,&quot;primitiveUnits&quot;,&quot;r&quot;,&quot;radius&quot;,&quot;refX&quot;,&quot;refY&quot;,&quot;renderingIntent&quot;,&quot;repeatCount&quot;,&quot;repeatDur&quot;,&quot;requiredExtensions&quot;,&quot;requiredFeatures&quot;,&quot;restart&quot;,&quot;result&quot;,&quot;rotate&quot;,&quot;rx&quot;,&quot;ry&quot;,&quot;seed&quot;,&quot;shapeRendering&quot;,&quot;slope&quot;,&quot;spacing&quot;,&quot;specularConstant&quot;,&quot;specularExponent&quot;,&quot;speed&quot;,&quot;spreadMethod&quot;,&quot;startOffset&quot;,&quot;stdDeviation&quot;,&quot;stemh&quot;,&quot;stemv&quot;,&quot;stitchTiles&quot;,&quot;stopColor&quot;,&quot;stopOpacity&quot;,&quot;strikethroughPosition&quot;,&quot;strikethroughThickness&quot;,&quot;string&quot;,&quot;stroke&quot;,&quot;strokeDasharray&quot;,&quot;strokeDashoffset&quot;,&quot;strokeLinecap&quot;,&quot;strokeLinejoin&quot;,&quot;strokeMiterlimit&quot;,&quot;strokeOpacity&quot;,&quot;strokeWidth&quot;,&quot;surfaceScale&quot;,&quot;systemLanguage&quot;,&quot;tableValues&quot;,&quot;targetX&quot;,&quot;targetY&quot;,&quot;textAnchor&quot;,&quot;textDecoration&quot;,&quot;textLength&quot;,&quot;textRendering&quot;,&quot;to&quot;,&quot;transform&quot;,&quot;u1&quot;,&quot;u2&quot;,&quot;underlinePosition&quot;,&quot;underlineThickness&quot;,&quot;unicode&quot;,&quot;unicodeBidi&quot;,&quot;unicodeRange&quot;,&quot;unitsPerEm&quot;,&quot;vAlphabetic&quot;,&quot;values&quot;,&quot;vectorEffect&quot;,&quot;version&quot;,&quot;vertAdvY&quot;,&quot;vertOriginX&quot;,&quot;vertOriginY&quot;,&quot;vHanging&quot;,&quot;vIdeographic&quot;,&quot;viewTarget&quot;,&quot;visibility&quot;,&quot;vMathematical&quot;,&quot;widths&quot;,&quot;wordSpacing&quot;,&quot;writingMode&quot;,&quot;x1&quot;,&quot;x2&quot;,&quot;x&quot;,&quot;xChannelSelector&quot;,&quot;xHeight&quot;,&quot;xlinkActuate&quot;,&quot;xlinkArcrole&quot;,&quot;xlinkHref&quot;,&quot;xlinkRole&quot;,&quot;xlinkShow&quot;,&quot;xlinkTitle&quot;,&quot;xlinkType&quot;,&quot;xmlBase&quot;,&quot;xmlLang&quot;,&quot;xmlns&quot;,&quot;xmlnsXlink&quot;,&quot;xmlSpace&quot;,&quot;y1&quot;,&quot;y2&quot;,&quot;y&quot;,&quot;yChannelSelector&quot;,&quot;z&quot;,&quot;zoomAndPan&quot;,&quot;ref&quot;,&quot;key&quot;,&quot;angle&quot;],_B=new Set(wB);function G8(e){return typeof e!=&quot;string&quot;?!1:_B.has(e)}function Y8(e){return typeof e==&quot;string&quot;&amp;&amp;e.startsWith(&quot;data-&quot;)}function os(e){if(typeof e!=&quot;object&quot;||e===null)return{};var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&amp;&amp;(G8(t)||Y8(t))&amp;&amp;(r[t]=e[t]);return r}function rd(e){if(e==null)return null;if(F.isValidElement(e)&amp;&amp;typeof e.props==&quot;object&quot;&amp;&amp;e.props!==null){var r=e.props;return os(r)}return typeof e==&quot;object&quot;&amp;&amp;!Array.isArray(e)?os(e):null}function Xn(e){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&amp;&amp;(G8(t)||Y8(t)||a1(t))&amp;&amp;(r[t]=e[t]);return r}function jB(e){return e==null?null:F.isValidElement(e)?Xn(e.props):typeof e==&quot;object&quot;&amp;&amp;!Array.isArray(e)?Xn(e):null}var SB=[&quot;children&quot;,&quot;width&quot;,&quot;height&quot;,&quot;viewBox&quot;,&quot;className&quot;,&quot;style&quot;,&quot;title&quot;,&quot;desc&quot;];function gb(){return gb=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},gb.apply(null,arguments)}function kB(e,r){if(e==null)return{};var t,n,l=NB(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(l[t]=e[t])}return l}function NB(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var o1=F.forwardRef((e,r)=&gt;{var{children:t,width:n,height:l,viewBox:i,className:a,style:u,title:o,desc:s}=e,c=kB(e,SB),f=i||{width:n,height:l,x:0,y:0},h=ar(&quot;recharts-surface&quot;,a);return F.createElement(&quot;svg&quot;,gb({},Xn(c),{className:h,width:n,height:l,style:u,viewBox:&quot;&quot;.concat(f.x,&quot; &quot;).concat(f.y,&quot; &quot;).concat(f.width,&quot; &quot;).concat(f.height),ref:r}),F.createElement(&quot;title&quot;,null,o),F.createElement(&quot;desc&quot;,null,s),t)}),CB=[&quot;children&quot;,&quot;className&quot;];function vb(){return vb=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},vb.apply(null,arguments)}function EB(e,r){if(e==null)return{};var t,n,l=AB(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(l[t]=e[t])}return l}function AB(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var Fi=F.forwardRef((e,r)=&gt;{var{children:t,className:n}=e,l=EB(e,CB),i=ar(&quot;recharts-layer&quot;,n);return F.createElement(&quot;g&quot;,vb({className:i},Xn(l),{ref:r}),t)}),Z8=F.createContext(null),MB=()=&gt;F.useContext(Z8);function gr(e){return function(){return e}}const Q8=Math.cos,zh=Math.sin,hs=Math.sqrt,$h=Math.PI,Wm=2*$h,yb=Math.PI,bb=2*yb,zo=1e-6,OB=bb-zo;function J8(e){this._+=e[0];for(let r=1,t=e.length;r&lt;t;++r)this._+=arguments[r]+e[r]}function PB(e){let r=Math.floor(e);if(!(r&gt;=0))throw new Error(`invalid digits: ${e}`);if(r&gt;15)return J8;const t=10**r;return function(n){this._+=n[0];for(let l=1,i=n.length;l&lt;i;++l)this._+=Math.round(arguments[l]*t)/t+n[l]}}class TB{constructor(r){this._x0=this._y0=this._x1=this._y1=null,this._=&quot;&quot;,this._append=r==null?J8:PB(r)}moveTo(r,t){this._append`M${this._x0=this._x1=+r},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&amp;&amp;(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(r,t){this._append`L${this._x1=+r},${this._y1=+t}`}quadraticCurveTo(r,t,n,l){this._append`Q${+r},${+t},${this._x1=+n},${this._y1=+l}`}bezierCurveTo(r,t,n,l,i,a){this._append`C${+r},${+t},${+n},${+l},${this._x1=+i},${this._y1=+a}`}arcTo(r,t,n,l,i){if(r=+r,t=+t,n=+n,l=+l,i=+i,i&lt;0)throw new Error(`negative radius: ${i}`);let a=this._x1,u=this._y1,o=n-r,s=l-t,c=a-r,f=u-t,h=c*c+f*f;if(this._x1===null)this._append`M${this._x1=r},${this._y1=t}`;else if(h&gt;zo)if(!(Math.abs(f*o-s*c)&gt;zo)||!i)this._append`L${this._x1=r},${this._y1=t}`;else{let m=n-a,p=l-u,v=o*o+s*s,g=m*m+p*p,b=Math.sqrt(v),x=Math.sqrt(h),_=i*Math.tan((yb-Math.acos((v+h-g)/(2*b*x)))/2),C=_/x,O=_/b;Math.abs(C-1)&gt;zo&amp;&amp;this._append`L${r+C*c},${t+C*f}`,this._append`A${i},${i},0,0,${+(f*m&gt;c*p)},${this._x1=r+O*o},${this._y1=t+O*s}`}}arc(r,t,n,l,i,a){if(r=+r,t=+t,n=+n,a=!!a,n&lt;0)throw new Error(`negative radius: ${n}`);let u=n*Math.cos(l),o=n*Math.sin(l),s=r+u,c=t+o,f=1^a,h=a?l-i:i-l;this._x1===null?this._append`M${s},${c}`:(Math.abs(this._x1-s)&gt;zo||Math.abs(this._y1-c)&gt;zo)&amp;&amp;this._append`L${s},${c}`,n&amp;&amp;(h&lt;0&amp;&amp;(h=h%bb+bb),h&gt;OB?this._append`A${n},${n},0,1,${f},${r-u},${t-o}A${n},${n},0,1,${f},${this._x1=s},${this._y1=c}`:h&gt;zo&amp;&amp;this._append`A${n},${n},0,${+(h&gt;=yb)},${f},${this._x1=r+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(r,t,n,l){this._append`M${this._x0=this._x1=+r},${this._y0=this._y1=+t}h${n=+n}v${+l}h${-n}Z`}toString(){return this._}}function l1(e){let r=3;return e.digits=function(t){if(!arguments.length)return r;if(t==null)r=null;else{const n=Math.floor(t);if(!(n&gt;=0))throw new RangeError(`invalid digits: ${t}`);r=n}return e},()=&gt;new TB(r)}function c1(e){return typeof e==&quot;object&quot;&amp;&amp;&quot;length&quot;in e?e:Array.from(e)}function eC(e){this._context=e}eC.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&amp;&amp;this._point===1)&amp;&amp;this._context.closePath(),this._line=1-this._line},point:function(e,r){switch(e=+e,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 1:this._point=2;default:this._context.lineTo(e,r);break}}};function Km(e){return new eC(e)}function tC(e){return e[0]}function rC(e){return e[1]}function nC(e,r){var t=gr(!0),n=null,l=Km,i=null,a=l1(u);e=typeof e==&quot;function&quot;?e:e===void 0?tC:gr(e),r=typeof r==&quot;function&quot;?r:r===void 0?rC:gr(r);function u(o){var s,c=(o=c1(o)).length,f,h=!1,m;for(n==null&amp;&amp;(i=l(m=a())),s=0;s&lt;=c;++s)!(s&lt;c&amp;&amp;t(f=o[s],s,o))===h&amp;&amp;((h=!h)?i.lineStart():i.lineEnd()),h&amp;&amp;i.point(+e(f,s,o),+r(f,s,o));if(m)return i=null,m+&quot;&quot;||null}return u.x=function(o){return arguments.length?(e=typeof o==&quot;function&quot;?o:gr(+o),u):e},u.y=function(o){return arguments.length?(r=typeof o==&quot;function&quot;?o:gr(+o),u):r},u.defined=function(o){return arguments.length?(t=typeof o==&quot;function&quot;?o:gr(!!o),u):t},u.curve=function(o){return arguments.length?(l=o,n!=null&amp;&amp;(i=l(n)),u):l},u.context=function(o){return arguments.length?(o==null?n=i=null:i=l(n=o),u):n},u}function Xf(e,r,t){var n=null,l=gr(!0),i=null,a=Km,u=null,o=l1(s);e=typeof e==&quot;function&quot;?e:e===void 0?tC:gr(+e),r=typeof r==&quot;function&quot;?r:gr(r===void 0?0:+r),t=typeof t==&quot;function&quot;?t:t===void 0?rC:gr(+t);function s(f){var h,m,p,v=(f=c1(f)).length,g,b=!1,x,_=new Array(v),C=new Array(v);for(i==null&amp;&amp;(u=a(x=o())),h=0;h&lt;=v;++h){if(!(h&lt;v&amp;&amp;l(g=f[h],h,f))===b)if(b=!b)m=h,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),p=h-1;p&gt;=m;--p)u.point(_[p],C[p]);u.lineEnd(),u.areaEnd()}b&amp;&amp;(_[h]=+e(g,h,f),C[h]=+r(g,h,f),u.point(n?+n(g,h,f):_[h],t?+t(g,h,f):C[h]))}if(x)return u=null,x+&quot;&quot;||null}function c(){return nC().defined(l).curve(a).context(i)}return s.x=function(f){return arguments.length?(e=typeof f==&quot;function&quot;?f:gr(+f),n=null,s):e},s.x0=function(f){return arguments.length?(e=typeof f==&quot;function&quot;?f:gr(+f),s):e},s.x1=function(f){return arguments.length?(n=f==null?null:typeof f==&quot;function&quot;?f:gr(+f),s):n},s.y=function(f){return arguments.length?(r=typeof f==&quot;function&quot;?f:gr(+f),t=null,s):r},s.y0=function(f){return arguments.length?(r=typeof f==&quot;function&quot;?f:gr(+f),s):r},s.y1=function(f){return arguments.length?(t=f==null?null:typeof f==&quot;function&quot;?f:gr(+f),s):t},s.lineX0=s.lineY0=function(){return c().x(e).y(r)},s.lineY1=function(){return c().x(e).y(t)},s.lineX1=function(){return c().x(n).y(r)},s.defined=function(f){return arguments.length?(l=typeof f==&quot;function&quot;?f:gr(!!f),s):l},s.curve=function(f){return arguments.length?(a=f,i!=null&amp;&amp;(u=a(i)),s):a},s.context=function(f){return arguments.length?(f==null?i=u=null:u=a(i=f),s):i},s}class iC{constructor(r,t){this._context=r,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&amp;&amp;this._point===1)&amp;&amp;this._context.closePath(),this._line=1-this._line}point(r,t){switch(r=+r,t=+t,this._point){case 0:{this._point=1,this._line?this._context.lineTo(r,t):this._context.moveTo(r,t);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+r)/2,this._y0,this._x0,t,r,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,r,this._y0,r,t);break}}this._x0=r,this._y0=t}}function IB(e){return new iC(e,!0)}function RB(e){return new iC(e,!1)}const u1={draw(e,r){const t=hs(r/$h);e.moveTo(t,0),e.arc(0,0,t,0,Wm)}},DB={draw(e,r){const t=hs(r/5)/2;e.moveTo(-3*t,-t),e.lineTo(-t,-t),e.lineTo(-t,-3*t),e.lineTo(t,-3*t),e.lineTo(t,-t),e.lineTo(3*t,-t),e.lineTo(3*t,t),e.lineTo(t,t),e.lineTo(t,3*t),e.lineTo(-t,3*t),e.lineTo(-t,t),e.lineTo(-3*t,t),e.closePath()}},sC=hs(1/3),LB=sC*2,FB={draw(e,r){const t=hs(r/LB),n=t*sC;e.moveTo(0,-t),e.lineTo(n,0),e.lineTo(0,t),e.lineTo(-n,0),e.closePath()}},BB={draw(e,r){const t=hs(r),n=-t/2;e.rect(n,n,t,t)}},zB=.8908130915292852,aC=zh($h/10)/zh(7*$h/10),$B=zh(Wm/10)*aC,UB=-Q8(Wm/10)*aC,VB={draw(e,r){const t=hs(r*zB),n=$B*t,l=UB*t;e.moveTo(0,-t),e.lineTo(n,l);for(let i=1;i&lt;5;++i){const a=Wm*i/5,u=Q8(a),o=zh(a);e.lineTo(o*t,-u*t),e.lineTo(u*n-o*l,o*n+u*l)}e.closePath()}},Kg=hs(3),qB={draw(e,r){const t=-hs(r/(Kg*3));e.moveTo(0,t*2),e.lineTo(-Kg*t,-t),e.lineTo(Kg*t,-t),e.closePath()}},Ai=-.5,Mi=hs(3)/2,xb=1/hs(12),HB=(xb/2+1)*3,WB={draw(e,r){const t=hs(r/HB),n=t/2,l=t*xb,i=n,a=t*xb+t,u=-i,o=a;e.moveTo(n,l),e.lineTo(i,a),e.lineTo(u,o),e.lineTo(Ai*n-Mi*l,Mi*n+Ai*l),e.lineTo(Ai*i-Mi*a,Mi*i+Ai*a),e.lineTo(Ai*u-Mi*o,Mi*u+Ai*o),e.lineTo(Ai*n+Mi*l,Ai*l-Mi*n),e.lineTo(Ai*i+Mi*a,Ai*a-Mi*i),e.lineTo(Ai*u+Mi*o,Ai*o-Mi*u),e.closePath()}};function KB(e,r){let t=null,n=l1(l);e=typeof e==&quot;function&quot;?e:gr(e||u1),r=typeof r==&quot;function&quot;?r:gr(r===void 0?64:+r);function l(){let i;if(t||(t=i=n()),e.apply(this,arguments).draw(t,+r.apply(this,arguments)),i)return t=null,i+&quot;&quot;||null}return l.type=function(i){return arguments.length?(e=typeof i==&quot;function&quot;?i:gr(i),l):e},l.size=function(i){return arguments.length?(r=typeof i==&quot;function&quot;?i:gr(+i),l):r},l.context=function(i){return arguments.length?(t=i??null,l):t},l}function Uh(){}function Vh(e,r,t){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+r)/6,(e._y0+4*e._y1+t)/6)}function oC(e){this._context=e}oC.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Vh(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&amp;&amp;this._point===1)&amp;&amp;this._context.closePath(),this._line=1-this._line},point:function(e,r){switch(e=+e,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Vh(this,e,r);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r}};function XB(e){return new oC(e)}function lC(e){this._context=e}lC.prototype={areaStart:Uh,areaEnd:Uh,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,r){switch(e=+e,r=+r,this._point){case 0:this._point=1,this._x2=e,this._y2=r;break;case 1:this._point=2,this._x3=e,this._y3=r;break;case 2:this._point=3,this._x4=e,this._y4=r,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+r)/6);break;default:Vh(this,e,r);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r}};function GB(e){return new lC(e)}function cC(e){this._context=e}cC.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&amp;&amp;this._point===3)&amp;&amp;this._context.closePath(),this._line=1-this._line},point:function(e,r){switch(e=+e,r=+r,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var t=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+r)/6;this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 3:this._point=4;default:Vh(this,e,r);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r}};function YB(e){return new cC(e)}function uC(e){this._context=e}uC.prototype={areaStart:Uh,areaEnd:Uh,lineStart:function(){this._point=0},lineEnd:function(){this._point&amp;&amp;this._context.closePath()},point:function(e,r){e=+e,r=+r,this._point?this._context.lineTo(e,r):(this._point=1,this._context.moveTo(e,r))}};function ZB(e){return new uC(e)}function T4(e){return e&lt;0?-1:1}function I4(e,r,t){var n=e._x1-e._x0,l=r-e._x1,i=(e._y1-e._y0)/(n||l&lt;0&amp;&amp;-0),a=(t-e._y1)/(l||n&lt;0&amp;&amp;-0),u=(i*l+a*n)/(n+l);return(T4(i)+T4(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(u))||0}function R4(e,r){var t=e._x1-e._x0;return t?(3*(e._y1-e._y0)/t-r)/2:r}function Xg(e,r,t){var n=e._x0,l=e._y0,i=e._x1,a=e._y1,u=(i-n)/3;e._context.bezierCurveTo(n+u,l+u*r,i-u,a-u*t,i,a)}function qh(e){this._context=e}qh.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Xg(this,this._t0,R4(this,this._t0));break}(this._line||this._line!==0&amp;&amp;this._point===1)&amp;&amp;this._context.closePath(),this._line=1-this._line},point:function(e,r){var t=NaN;if(e=+e,r=+r,!(e===this._x1&amp;&amp;r===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 1:this._point=2;break;case 2:this._point=3,Xg(this,R4(this,t=I4(this,e,r)),t);break;default:Xg(this,this._t0,t=I4(this,e,r));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r,this._t0=t}}};function dC(e){this._context=new fC(e)}(dC.prototype=Object.create(qh.prototype)).point=function(e,r){qh.prototype.point.call(this,r,e)};function fC(e){this._context=e}fC.prototype={moveTo:function(e,r){this._context.moveTo(r,e)},closePath:function(){this._context.closePath()},lineTo:function(e,r){this._context.lineTo(r,e)},bezierCurveTo:function(e,r,t,n,l,i){this._context.bezierCurveTo(r,e,n,t,i,l)}};function QB(e){return new qh(e)}function JB(e){return new dC(e)}function hC(e){this._context=e}hC.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,r=this._y,t=e.length;if(t)if(this._line?this._context.lineTo(e[0],r[0]):this._context.moveTo(e[0],r[0]),t===2)this._context.lineTo(e[1],r[1]);else for(var n=D4(e),l=D4(r),i=0,a=1;a&lt;t;++i,++a)this._context.bezierCurveTo(n[0][i],l[0][i],n[1][i],l[1][i],e[a],r[a]);(this._line||this._line!==0&amp;&amp;t===1)&amp;&amp;this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,r){this._x.push(+e),this._y.push(+r)}};function D4(e){var r,t=e.length-1,n,l=new Array(t),i=new Array(t),a=new Array(t);for(l[0]=0,i[0]=2,a[0]=e[0]+2*e[1],r=1;r&lt;t-1;++r)l[r]=1,i[r]=4,a[r]=4*e[r]+2*e[r+1];for(l[t-1]=2,i[t-1]=7,a[t-1]=8*e[t-1]+e[t],r=1;r&lt;t;++r)n=l[r]/i[r-1],i[r]-=n,a[r]-=n*a[r-1];for(l[t-1]=a[t-1]/i[t-1],r=t-2;r&gt;=0;--r)l[r]=(a[r]-l[r+1])/i[r];for(i[t-1]=(e[t]+l[t-1])/2,r=0;r&lt;t-1;++r)i[r]=2*e[r+1]-l[r+1];return[l,i]}function ez(e){return new hC(e)}function Xm(e,r){this._context=e,this._t=r}Xm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0&lt;this._t&amp;&amp;this._t&lt;1&amp;&amp;this._point===2&amp;&amp;this._context.lineTo(this._x,this._y),(this._line||this._line!==0&amp;&amp;this._point===1)&amp;&amp;this._context.closePath(),this._line&gt;=0&amp;&amp;(this._t=1-this._t,this._line=1-this._line)},point:function(e,r){switch(e=+e,r=+r,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 1:this._point=2;default:{if(this._t&lt;=0)this._context.lineTo(this._x,r),this._context.lineTo(e,r);else{var t=this._x*(1-this._t)+e*this._t;this._context.lineTo(t,this._y),this._context.lineTo(t,r)}break}}this._x=e,this._y=r}};function tz(e){return new Xm(e,.5)}function rz(e){return new Xm(e,0)}function nz(e){return new Xm(e,1)}function rl(e,r){if((a=e.length)&gt;1)for(var t=1,n,l,i=e[r[0]],a,u=i.length;t&lt;a;++t)for(l=i,i=e[r[t]],n=0;n&lt;u;++n)i[n][1]+=i[n][0]=isNaN(l[n][1])?l[n][0]:l[n][1]}function wb(e){for(var r=e.length,t=new Array(r);--r&gt;=0;)t[r]=r;return t}function iz(e,r){return e[r]}function sz(e){const r=[];return r.key=e,r}function az(){var e=gr([]),r=wb,t=rl,n=iz;function l(i){var a=Array.from(e.apply(this,arguments),sz),u,o=a.length,s=-1,c;for(const f of i)for(u=0,++s;u&lt;o;++u)(a[u][s]=[0,+n(f,a[u].key,s,i)]).data=f;for(u=0,c=c1(r(a));u&lt;o;++u)a[c[u]].index=u;return t(a,c),a}return l.keys=function(i){return arguments.length?(e=typeof i==&quot;function&quot;?i:gr(Array.from(i)),l):e},l.value=function(i){return arguments.length?(n=typeof i==&quot;function&quot;?i:gr(+i),l):n},l.order=function(i){return arguments.length?(r=i==null?wb:typeof i==&quot;function&quot;?i:gr(Array.from(i)),l):r},l.offset=function(i){return arguments.length?(t=i??rl,l):t},l}function oz(e,r){if((n=e.length)&gt;0){for(var t,n,l=0,i=e[0].length,a;l&lt;i;++l){for(a=t=0;t&lt;n;++t)a+=e[t][l][1]||0;if(a)for(t=0;t&lt;n;++t)e[t][l][1]/=a}rl(e,r)}}function lz(e,r){if((l=e.length)&gt;0){for(var t=0,n=e[r[0]],l,i=n.length;t&lt;i;++t){for(var a=0,u=0;a&lt;l;++a)u+=e[a][t][1]||0;n[t][1]+=n[t][0]=-u/2}rl(e,r)}}function cz(e,r){if(!(!((a=e.length)&gt;0)||!((i=(l=e[r[0]]).length)&gt;0))){for(var t=0,n=1,l,i,a;n&lt;i;++n){for(var u=0,o=0,s=0;u&lt;a;++u){for(var c=e[r[u]],f=c[n][1]||0,h=c[n-1][1]||0,m=(f-h)/2,p=0;p&lt;u;++p){var v=e[r[p]],g=v[n][1]||0,b=v[n-1][1]||0;m+=g-b}o+=f,s+=m*f}l[n-1][1]+=l[n-1][0]=t,o&amp;&amp;(t-=s/o)}l[n-1][1]+=l[n-1][0]=t,rl(e,r)}}var Gg={},Yg={},L4;function uz(){return L4||(L4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return t===&quot;__proto__&quot;}e.isUnsafeProperty=r})(Yg)),Yg}var Zg={},F4;function mC(){return F4||(F4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){switch(typeof t){case&quot;number&quot;:case&quot;symbol&quot;:return!1;case&quot;string&quot;:return t.includes(&quot;.&quot;)||t.includes(&quot;[&quot;)||t.includes(&quot;]&quot;)}}e.isDeepKey=r})(Zg)),Zg}var Qg={},B4;function d1(){return B4||(B4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return typeof t==&quot;string&quot;||typeof t==&quot;symbol&quot;?t:Object.is(t?.valueOf?.(),-0)?&quot;-0&quot;:String(t)}e.toKey=r})(Qg)),Qg}var Jg={},ev={},z4;function dz(){return z4||(z4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){if(t==null)return&quot;&quot;;if(typeof t==&quot;string&quot;)return t;if(Array.isArray(t))return t.map(r).join(&quot;,&quot;);const n=String(t);return n===&quot;0&quot;&amp;&amp;Object.is(Number(t),-0)?&quot;-0&quot;:n}e.toString=r})(ev)),ev}var $4;function f1(){return $4||($4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=dz(),t=d1();function n(l){if(Array.isArray(l))return l.map(t.toKey);if(typeof l==&quot;symbol&quot;)return[l];l=r.toString(l);const i=[],a=l.length;if(a===0)return i;let u=0,o=&quot;&quot;,s=&quot;&quot;,c=!1;for(l.charCodeAt(0)===46&amp;&amp;(i.push(&quot;&quot;),u++);u&lt;a;){const f=l[u];s?f===&quot;\\&quot;&amp;&amp;u+1&lt;a?(u++,o+=l[u]):f===s?s=&quot;&quot;:o+=f:c?f===&#039;&quot;&#039;||f===&quot;&#039;&quot;?s=f:f===&quot;]&quot;?(c=!1,i.push(o),o=&quot;&quot;):o+=f:f===&quot;[&quot;?(c=!0,o&amp;&amp;(i.push(o),o=&quot;&quot;)):f===&quot;.&quot;?o&amp;&amp;(i.push(o),o=&quot;&quot;):o+=f,u++}return o&amp;&amp;i.push(o),i}e.toPath=n})(Jg)),Jg}var U4;function h1(){return U4||(U4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=uz(),t=mC(),n=d1(),l=f1();function i(u,o,s){if(u==null)return s;switch(typeof o){case&quot;string&quot;:{if(r.isUnsafeProperty(o))return s;const c=u[o];return c===void 0?t.isDeepKey(o)?i(u,l.toPath(o),s):s:c}case&quot;number&quot;:case&quot;symbol&quot;:{typeof o==&quot;number&quot;&amp;&amp;(o=n.toKey(o));const c=u[o];return c===void 0?s:c}default:{if(Array.isArray(o))return a(u,o,s);if(Object.is(o?.valueOf(),-0)?o=&quot;-0&quot;:o=String(o),r.isUnsafeProperty(o))return s;const c=u[o];return c===void 0?s:c}}}function a(u,o,s){if(o.length===0)return s;let c=u;for(let f=0;f&lt;o.length;f++){if(c==null||r.isUnsafeProperty(o[f]))return s;c=c[o[f]]}return c===void 0?s:c}e.get=i})(Gg)),Gg}var tv,V4;function fz(){return V4||(V4=1,tv=h1().get),tv}var hz=fz();const nc=ds(hz);var mz=4;function Ka(e){var r=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:mz,t=10**r,n=Math.round(e*t)/t;return Object.is(n,-0)?0:n}function Dr(e){for(var r=arguments.length,t=new Array(r&gt;1?r-1:0),n=1;n&lt;r;n++)t[n-1]=arguments[n];return e.reduce((l,i,a)=&gt;{var u=t[a-1];return typeof u==&quot;string&quot;?l+u+i:u!==void 0?l+Ka(u)+i:l+i},&quot;&quot;)}var ii=e=&gt;e===0?0:e&gt;0?1:-1,ls=e=&gt;typeof e==&quot;number&quot;&amp;&amp;e!=+e,ea=e=&gt;typeof e==&quot;string&quot;&amp;&amp;e.indexOf(&quot;%&quot;)===e.length-1,ht=e=&gt;(typeof e==&quot;number&quot;||e instanceof Number)&amp;&amp;!ls(e),Es=e=&gt;ht(e)||typeof e==&quot;string&quot;,pz=0,Du=e=&gt;{var r=++pz;return&quot;&quot;.concat(e||&quot;&quot;).concat(r)},cs=function(r,t){var n=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:0,l=arguments.length&gt;3&amp;&amp;arguments[3]!==void 0?arguments[3]:!1;if(!ht(r)&amp;&amp;typeof r!=&quot;string&quot;)return n;var i;if(ea(r)){if(t==null)return n;var a=r.indexOf(&quot;%&quot;);i=t*parseFloat(r.slice(0,a))/100}else i=+r;return ls(i)&amp;&amp;(i=n),l&amp;&amp;t!=null&amp;&amp;i&gt;t&amp;&amp;(i=t),i},pC=e=&gt;{if(!Array.isArray(e))return!1;for(var r=e.length,t={},n=0;n&lt;r;n++)if(!t[String(e[n])])t[String(e[n])]=!0;else return!0;return!1};function Lr(e,r,t){return ht(e)&amp;&amp;ht(r)?Ka(e+t*(r-e)):r}function gC(e,r,t){if(!(!e||!e.length))return e.find(n=&gt;n&amp;&amp;(typeof r==&quot;function&quot;?r(n):nc(n,r))===t)}var Nr=e=&gt;e===null||typeof e&gt;&quot;u&quot;,nd=e=&gt;Nr(e)?e:&quot;&quot;.concat(e.charAt(0).toUpperCase()).concat(e.slice(1));function gz(e){return e!=null}function id(){}var vz=[&quot;type&quot;,&quot;size&quot;,&quot;sizeType&quot;];function _b(){return _b=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},_b.apply(null,arguments)}function q4(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function H4(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?q4(Object(t),!0).forEach(function(n){yz(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):q4(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function yz(e,r,t){return(r=bz(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function bz(e){var r=xz(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function xz(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function wz(e,r){if(e==null)return{};var t,n,l=_z(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(l[t]=e[t])}return l}function _z(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var vC={symbolCircle:u1,symbolCross:DB,symbolDiamond:FB,symbolSquare:BB,symbolStar:VB,symbolTriangle:qB,symbolWye:WB},jz=Math.PI/180,Sz=e=&gt;{var r=&quot;symbol&quot;.concat(nd(e));return vC[r]||u1},kz=(e,r,t)=&gt;{if(r===&quot;area&quot;)return e;switch(t){case&quot;cross&quot;:return 5*e*e/9;case&quot;diamond&quot;:return .5*e*e/Math.sqrt(3);case&quot;square&quot;:return e*e;case&quot;star&quot;:{var n=18*jz;return 1.25*e*e*(Math.tan(n)-Math.tan(n*2)*Math.tan(n)**2)}case&quot;triangle&quot;:return Math.sqrt(3)*e*e/4;case&quot;wye&quot;:return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},Nz=(e,r)=&gt;{vC[&quot;symbol&quot;.concat(nd(e))]=r},m1=e=&gt;{var{type:r=&quot;circle&quot;,size:t=64,sizeType:n=&quot;area&quot;}=e,l=wz(e,vz),i=H4(H4({},l),{},{type:r,size:t,sizeType:n}),a=&quot;circle&quot;;typeof r==&quot;string&quot;&amp;&amp;(a=r);var u=()=&gt;{var h=Sz(a),m=KB().type(h).size(kz(t,n,a)),p=m();if(p!==null)return p},{className:o,cx:s,cy:c}=i,f=Xn(i);return ht(s)&amp;&amp;ht(c)&amp;&amp;ht(t)?F.createElement(&quot;path&quot;,_b({},f,{className:ar(&quot;recharts-symbols&quot;,o),transform:&quot;translate(&quot;.concat(s,&quot;, &quot;).concat(c,&quot;)&quot;),d:u()})):null};m1.registerSymbol=Nz;var yC=e=&gt;&quot;radius&quot;in e&amp;&amp;&quot;startAngle&quot;in e&amp;&amp;&quot;endAngle&quot;in e,p1=(e,r)=&gt;{if(!e||typeof e==&quot;function&quot;||typeof e==&quot;boolean&quot;)return null;var t=e;if(F.isValidElement(e)&amp;&amp;(t=e.props),typeof t!=&quot;object&quot;&amp;&amp;typeof t!=&quot;function&quot;)return null;var n={};return Object.keys(t).forEach(l=&gt;{a1(l)&amp;&amp;(n[l]=(i=&gt;t[l](t,i)))}),n},Cz=(e,r,t)=&gt;n=&gt;(e(r,t,n),null),Gm=(e,r,t)=&gt;{if(e===null||typeof e!=&quot;object&quot;&amp;&amp;typeof e!=&quot;function&quot;)return null;var n=null;return Object.keys(e).forEach(l=&gt;{var i=e[l];a1(l)&amp;&amp;typeof i==&quot;function&quot;&amp;&amp;(n||(n={}),n[l]=Cz(i,r,t))}),n};function W4(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Ez(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?W4(Object(t),!0).forEach(function(n){Az(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):W4(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Az(e,r,t){return(r=Mz(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Mz(e){var r=Oz(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Oz(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function Nn(e,r){var t=Ez({},e),n=r,l=Object.keys(r),i=l.reduce((a,u)=&gt;(a[u]===void 0&amp;&amp;n[u]!==void 0&amp;&amp;(a[u]=n[u]),a),t);return i}function Hh(){return Hh=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Hh.apply(null,arguments)}function K4(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Pz(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?K4(Object(t),!0).forEach(function(n){Tz(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):K4(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Tz(e,r,t){return(r=Iz(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Iz(e){var r=Rz(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Rz(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var Ti=32,Dz={align:&quot;center&quot;,iconSize:14,inactiveColor:&quot;#ccc&quot;,layout:&quot;horizontal&quot;,verticalAlign:&quot;middle&quot;};function Lz(e){var{data:r,iconType:t,inactiveColor:n}=e,l=Ti/2,i=Ti/6,a=Ti/3,u=r.inactive?n:r.color,o=t??r.type;if(o===&quot;none&quot;)return null;if(o===&quot;plainline&quot;){var s;return F.createElement(&quot;line&quot;,{strokeWidth:4,fill:&quot;none&quot;,stroke:u,strokeDasharray:(s=r.payload)===null||s===void 0?void 0:s.strokeDasharray,x1:0,y1:l,x2:Ti,y2:l,className:&quot;recharts-legend-icon&quot;})}if(o===&quot;line&quot;)return F.createElement(&quot;path&quot;,{strokeWidth:4,fill:&quot;none&quot;,stroke:u,d:&quot;M0,&quot;.concat(l,&quot;h&quot;).concat(a,`
            A`).concat(i,&quot;,&quot;).concat(i,&quot;,0,1,1,&quot;).concat(2*a,&quot;,&quot;).concat(l,`
            H`).concat(Ti,&quot;M&quot;).concat(2*a,&quot;,&quot;).concat(l,`
            A`).concat(i,&quot;,&quot;).concat(i,&quot;,0,1,1,&quot;).concat(a,&quot;,&quot;).concat(l),className:&quot;recharts-legend-icon&quot;});if(o===&quot;rect&quot;)return F.createElement(&quot;path&quot;,{stroke:&quot;none&quot;,fill:u,d:&quot;M0,&quot;.concat(Ti/8,&quot;h&quot;).concat(Ti,&quot;v&quot;).concat(Ti*3/4,&quot;h&quot;).concat(-Ti,&quot;z&quot;),className:&quot;recharts-legend-icon&quot;});if(F.isValidElement(r.legendIcon)){var c=Pz({},r);return delete c.legendIcon,F.cloneElement(r.legendIcon,c)}return F.createElement(m1,{fill:u,cx:l,cy:l,size:Ti,sizeType:&quot;diameter&quot;,type:o})}function Fz(e){var{payload:r,iconSize:t,layout:n,formatter:l,inactiveColor:i,iconType:a}=e,u={x:0,y:0,width:Ti,height:Ti},o={display:n===&quot;horizontal&quot;?&quot;inline-block&quot;:&quot;block&quot;,marginRight:10},s={display:&quot;inline-block&quot;,verticalAlign:&quot;middle&quot;,marginRight:4};return r.map((c,f)=&gt;{var h=c.formatter||l,m=ar({&quot;recharts-legend-item&quot;:!0,[&quot;legend-item-&quot;.concat(f)]:!0,inactive:c.inactive});if(c.type===&quot;none&quot;)return null;var p=c.inactive?i:c.color,v=h?h(c.value,c,f):c.value;return F.createElement(&quot;li&quot;,Hh({className:m,style:o,key:&quot;legend-item-&quot;.concat(f)},Gm(e,c,f)),F.createElement(o1,{width:t,height:t,viewBox:u,style:s,&quot;aria-label&quot;:&quot;&quot;.concat(v,&quot; legend icon&quot;)},F.createElement(Lz,{data:c,iconType:a,inactiveColor:i})),F.createElement(&quot;span&quot;,{className:&quot;recharts-legend-item-text&quot;,style:{color:p}},v))})}var Bz=e=&gt;{var r=Nn(e,Dz),{payload:t,layout:n,align:l}=r;if(!t||!t.length)return null;var i={padding:0,margin:0,textAlign:n===&quot;horizontal&quot;?l:&quot;left&quot;};return F.createElement(&quot;ul&quot;,{className:&quot;recharts-default-legend&quot;,style:i},F.createElement(Fz,Hh({},r,{payload:t})))},rv={},nv={},X4;function zz(){return X4||(X4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t,n){const l=new Map;for(let i=0;i&lt;t.length;i++){const a=t[i],u=n(a,i,t);l.has(u)||l.set(u,a)}return Array.from(l.values())}e.uniqBy=r})(nv)),nv}var iv={},G4;function $z(){return G4||(G4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t,n){return function(...l){return t.apply(this,l.slice(0,n))}}e.ary=r})(iv)),iv}var sv={},Y4;function bC(){return Y4||(Y4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return t}e.identity=r})(sv)),sv}var av={},ov={},lv={},Z4;function Uz(){return Z4||(Z4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return Number.isSafeInteger(t)&amp;&amp;t&gt;=0}e.isLength=r})(lv)),lv}var Q4;function g1(){return Q4||(Q4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=Uz();function t(n){return n!=null&amp;&amp;typeof n!=&quot;function&quot;&amp;&amp;r.isLength(n.length)}e.isArrayLike=t})(ov)),ov}var cv={},J4;function Vz(){return J4||(J4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return typeof t==&quot;object&quot;&amp;&amp;t!==null}e.isObjectLike=r})(cv)),cv}var e5;function qz(){return e5||(e5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=g1(),t=Vz();function n(l){return t.isObjectLike(l)&amp;&amp;r.isArrayLike(l)}e.isArrayLikeObject=n})(av)),av}var uv={},dv={},t5;function Hz(){return t5||(t5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=h1();function t(n){return function(l){return r.get(l,n)}}e.property=t})(dv)),dv}var fv={},hv={},mv={},pv={},r5;function xC(){return r5||(r5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return t!==null&amp;&amp;(typeof t==&quot;object&quot;||typeof t==&quot;function&quot;)}e.isObject=r})(pv)),pv}var gv={},n5;function wC(){return n5||(n5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return t==null||typeof t!=&quot;object&quot;&amp;&amp;typeof t!=&quot;function&quot;}e.isPrimitive=r})(gv)),gv}var vv={},i5;function _C(){return i5||(i5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t,n){return t===n||Number.isNaN(t)&amp;&amp;Number.isNaN(n)}e.isEqualsSameValueZero=r})(vv)),vv}var s5;function Wz(){return s5||(s5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=xC(),t=wC(),n=_C();function l(c,f,h){return typeof h!=&quot;function&quot;?l(c,f,()=&gt;{}):i(c,f,function m(p,v,g,b,x,_){const C=h(p,v,g,b,x,_);return C!==void 0?!!C:i(p,v,m,_)},new Map)}function i(c,f,h,m){if(f===c)return!0;switch(typeof f){case&quot;object&quot;:return a(c,f,h,m);case&quot;function&quot;:return Object.keys(f).length&gt;0?i(c,{...f},h,m):n.isEqualsSameValueZero(c,f);default:return r.isObject(c)?typeof f==&quot;string&quot;?f===&quot;&quot;:!0:n.isEqualsSameValueZero(c,f)}}function a(c,f,h,m){if(f==null)return!0;if(Array.isArray(f))return o(c,f,h,m);if(f instanceof Map)return u(c,f,h,m);if(f instanceof Set)return s(c,f,h,m);const p=Object.keys(f);if(c==null||t.isPrimitive(c))return p.length===0;if(p.length===0)return!0;if(m?.has(f))return m.get(f)===c;m?.set(f,c);try{for(let v=0;v&lt;p.length;v++){const g=p[v];if(!t.isPrimitive(c)&amp;&amp;!(g in c)||f[g]===void 0&amp;&amp;c[g]!==void 0||f[g]===null&amp;&amp;c[g]!==null||!h(c[g],f[g],g,c,f,m))return!1}return!0}finally{m?.delete(f)}}function u(c,f,h,m){if(f.size===0)return!0;if(!(c instanceof Map))return!1;for(const[p,v]of f.entries()){const g=c.get(p);if(h(g,v,p,c,f,m)===!1)return!1}return!0}function o(c,f,h,m){if(f.length===0)return!0;if(!Array.isArray(c))return!1;const p=new Set;for(let v=0;v&lt;f.length;v++){const g=f[v];let b=!1;for(let x=0;x&lt;c.length;x++){if(p.has(x))continue;const _=c[x];let C=!1;if(h(_,g,v,c,f,m)&amp;&amp;(C=!0),C){p.add(x),b=!0;break}}if(!b)return!1}return!0}function s(c,f,h,m){return f.size===0?!0:c instanceof Set?o([...c],[...f],h,m):!1}e.isMatchWith=l,e.isSetMatch=s})(mv)),mv}var a5;function jC(){return a5||(a5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=Wz();function t(n,l){return r.isMatchWith(n,l,()=&gt;{})}e.isMatch=t})(hv)),hv}var yv={},bv={},xv={},o5;function Kz(){return o5||(o5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return Object.getOwnPropertySymbols(t).filter(n=&gt;Object.prototype.propertyIsEnumerable.call(t,n))}e.getSymbols=r})(xv)),xv}var wv={},l5;function v1(){return l5||(l5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return t==null?t===void 0?&quot;[object Undefined]&quot;:&quot;[object Null]&quot;:Object.prototype.toString.call(t)}e.getTag=r})(wv)),wv}var _v={},c5;function SC(){return c5||(c5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=&quot;[object RegExp]&quot;,t=&quot;[object String]&quot;,n=&quot;[object Number]&quot;,l=&quot;[object Boolean]&quot;,i=&quot;[object Arguments]&quot;,a=&quot;[object Symbol]&quot;,u=&quot;[object Date]&quot;,o=&quot;[object Map]&quot;,s=&quot;[object Set]&quot;,c=&quot;[object Array]&quot;,f=&quot;[object Function]&quot;,h=&quot;[object ArrayBuffer]&quot;,m=&quot;[object Object]&quot;,p=&quot;[object Error]&quot;,v=&quot;[object DataView]&quot;,g=&quot;[object Uint8Array]&quot;,b=&quot;[object Uint8ClampedArray]&quot;,x=&quot;[object Uint16Array]&quot;,_=&quot;[object Uint32Array]&quot;,C=&quot;[object BigUint64Array]&quot;,O=&quot;[object Int8Array]&quot;,R=&quot;[object Int16Array]&quot;,H=&quot;[object Int32Array]&quot;,L=&quot;[object BigInt64Array]&quot;,q=&quot;[object Float32Array]&quot;,W=&quot;[object Float64Array]&quot;;e.argumentsTag=i,e.arrayBufferTag=h,e.arrayTag=c,e.bigInt64ArrayTag=L,e.bigUint64ArrayTag=C,e.booleanTag=l,e.dataViewTag=v,e.dateTag=u,e.errorTag=p,e.float32ArrayTag=q,e.float64ArrayTag=W,e.functionTag=f,e.int16ArrayTag=R,e.int32ArrayTag=H,e.int8ArrayTag=O,e.mapTag=o,e.numberTag=n,e.objectTag=m,e.regexpTag=r,e.setTag=s,e.stringTag=t,e.symbolTag=a,e.uint16ArrayTag=x,e.uint32ArrayTag=_,e.uint8ArrayTag=g,e.uint8ClampedArrayTag=b})(_v)),_v}var jv={},u5;function Xz(){return u5||(u5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return ArrayBuffer.isView(t)&amp;&amp;!(t instanceof DataView)}e.isTypedArray=r})(jv)),jv}var d5;function kC(){return d5||(d5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=Kz(),t=v1(),n=SC(),l=wC(),i=Xz();function a(c,f){return u(c,void 0,c,new Map,f)}function u(c,f,h,m=new Map,p=void 0){const v=p?.(c,f,h,m);if(v!==void 0)return v;if(l.isPrimitive(c))return c;if(m.has(c))return m.get(c);if(Array.isArray(c)){const g=new Array(c.length);m.set(c,g);for(let b=0;b&lt;c.length;b++)g[b]=u(c[b],b,h,m,p);return Object.hasOwn(c,&quot;index&quot;)&amp;&amp;(g.index=c.index),Object.hasOwn(c,&quot;input&quot;)&amp;&amp;(g.input=c.input),g}if(c instanceof Date)return new Date(c.getTime());if(c instanceof RegExp){const g=new RegExp(c.source,c.flags);return g.lastIndex=c.lastIndex,g}if(c instanceof Map){const g=new Map;m.set(c,g);for(const[b,x]of c)g.set(b,u(x,b,h,m,p));return g}if(c instanceof Set){const g=new Set;m.set(c,g);for(const b of c)g.add(u(b,void 0,h,m,p));return g}if(typeof Buffer&lt;&quot;u&quot;&amp;&amp;Buffer.isBuffer(c))return c.subarray();if(i.isTypedArray(c)){const g=new(Object.getPrototypeOf(c)).constructor(c.length);m.set(c,g);for(let b=0;b&lt;c.length;b++)g[b]=u(c[b],b,h,m,p);return g}if(c instanceof ArrayBuffer||typeof SharedArrayBuffer&lt;&quot;u&quot;&amp;&amp;c instanceof SharedArrayBuffer)return c.slice(0);if(c instanceof DataView){const g=new DataView(c.buffer.slice(0),c.byteOffset,c.byteLength);return m.set(c,g),o(g,c,h,m,p),g}if(typeof File&lt;&quot;u&quot;&amp;&amp;c instanceof File){const g=new File([c],c.name,{type:c.type});return m.set(c,g),o(g,c,h,m,p),g}if(typeof Blob&lt;&quot;u&quot;&amp;&amp;c instanceof Blob){const g=new Blob([c],{type:c.type});return m.set(c,g),o(g,c,h,m,p),g}if(c instanceof Error){const g=new c.constructor;return m.set(c,g),g.message=c.message,g.name=c.name,g.stack=c.stack,g.cause=c.cause,o(g,c,h,m,p),g}if(c instanceof Boolean){const g=new Boolean(c.valueOf());return m.set(c,g),o(g,c,h,m,p),g}if(c instanceof Number){const g=new Number(c.valueOf());return m.set(c,g),o(g,c,h,m,p),g}if(c instanceof String){const g=new String(c.valueOf());return m.set(c,g),o(g,c,h,m,p),g}if(typeof c==&quot;object&quot;&amp;&amp;s(c)){const g=Object.create(Object.getPrototypeOf(c));return m.set(c,g),o(g,c,h,m,p),g}return c}function o(c,f,h=c,m,p){const v=[...Object.keys(f),...r.getSymbols(f)];for(let g=0;g&lt;v.length;g++){const b=v[g],x=Object.getOwnPropertyDescriptor(c,b);(x==null||x.writable)&amp;&amp;(c[b]=u(f[b],b,h,m,p))}}function s(c){switch(t.getTag(c)){case n.argumentsTag:case n.arrayTag:case n.arrayBufferTag:case n.dataViewTag:case n.booleanTag:case n.dateTag:case n.float32ArrayTag:case n.float64ArrayTag:case n.int8ArrayTag:case n.int16ArrayTag:case n.int32ArrayTag:case n.mapTag:case n.numberTag:case n.objectTag:case n.regexpTag:case n.setTag:case n.stringTag:case n.symbolTag:case n.uint8ArrayTag:case n.uint8ClampedArrayTag:case n.uint16ArrayTag:case n.uint32ArrayTag:return!0;default:return!1}}e.cloneDeepWith=a,e.cloneDeepWithImpl=u,e.copyProperties=o})(bv)),bv}var f5;function Gz(){return f5||(f5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=kC();function t(n){return r.cloneDeepWithImpl(n,void 0,n,new Map,void 0)}e.cloneDeep=t})(yv)),yv}var h5;function Yz(){return h5||(h5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=jC(),t=Gz();function n(l){return l=t.cloneDeep(l),i=&gt;r.isMatch(i,l)}e.matches=n})(fv)),fv}var Sv={},kv={},Nv={},m5;function Zz(){return m5||(m5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=kC(),t=v1(),n=SC();function l(i,a){return r.cloneDeepWith(i,(u,o,s,c)=&gt;{const f=a?.(u,o,s,c);if(f!==void 0)return f;if(typeof i==&quot;object&quot;){if(t.getTag(i)===n.objectTag&amp;&amp;typeof i.constructor!=&quot;function&quot;){const h={};return c.set(i,h),r.copyProperties(h,i,s,c),h}switch(Object.prototype.toString.call(i)){case n.numberTag:case n.stringTag:case n.booleanTag:{const h=new i.constructor(i?.valueOf());return r.copyProperties(h,i),h}case n.argumentsTag:{const h={};return r.copyProperties(h,i),h.length=i.length,h[Symbol.iterator]=i[Symbol.iterator],h}default:return}}})}e.cloneDeepWith=l})(Nv)),Nv}var p5;function Qz(){return p5||(p5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=Zz();function t(n){return r.cloneDeepWith(n)}e.cloneDeep=t})(kv)),kv}var Cv={},Ev={},g5;function NC(){return g5||(g5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=/^(?:0|[1-9]\d*)$/;function t(n,l=Number.MAX_SAFE_INTEGER){switch(typeof n){case&quot;number&quot;:return Number.isInteger(n)&amp;&amp;n&gt;=0&amp;&amp;n&lt;l;case&quot;symbol&quot;:return!1;case&quot;string&quot;:return r.test(n)}}e.isIndex=t})(Ev)),Ev}var Av={},v5;function Jz(){return v5||(v5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=v1();function t(n){return n!==null&amp;&amp;typeof n==&quot;object&quot;&amp;&amp;r.getTag(n)===&quot;[object Arguments]&quot;}e.isArguments=t})(Av)),Av}var y5;function e$(){return y5||(y5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=mC(),t=NC(),n=Jz(),l=f1();function i(a,u){let o;if(Array.isArray(u)?o=u:typeof u==&quot;string&quot;&amp;&amp;r.isDeepKey(u)&amp;&amp;a?.[u]==null?o=l.toPath(u):o=[u],o.length===0)return!1;let s=a;for(let c=0;c&lt;o.length;c++){const f=o[c];if((s==null||!Object.hasOwn(s,f))&amp;&amp;!((Array.isArray(s)||n.isArguments(s))&amp;&amp;t.isIndex(f)&amp;&amp;f&lt;s.length))return!1;s=s[f]}return!0}e.has=i})(Cv)),Cv}var b5;function t$(){return b5||(b5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=jC(),t=d1(),n=Qz(),l=h1(),i=e$();function a(u,o){switch(typeof u){case&quot;object&quot;:{Object.is(u?.valueOf(),-0)&amp;&amp;(u=&quot;-0&quot;);break}case&quot;number&quot;:{u=t.toKey(u);break}}return o=n.cloneDeep(o),function(s){const c=l.get(s,u);return c===void 0?i.has(s,u):o===void 0?c===void 0:r.isMatch(c,o)}}e.matchesProperty=a})(Sv)),Sv}var x5;function r$(){return x5||(x5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=bC(),t=Hz(),n=Yz(),l=t$();function i(a){if(a==null)return r.identity;switch(typeof a){case&quot;function&quot;:return a;case&quot;object&quot;:return Array.isArray(a)&amp;&amp;a.length===2?l.matchesProperty(a[0],a[1]):n.matches(a);case&quot;string&quot;:case&quot;symbol&quot;:case&quot;number&quot;:return t.property(a)}}e.iteratee=i})(uv)),uv}var w5;function n$(){return w5||(w5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=zz(),t=$z(),n=bC(),l=qz(),i=r$();function a(u,o=n.identity){return l.isArrayLikeObject(u)?r.uniqBy(Array.from(u),t.ary(i.iteratee(o),1)):[]}e.uniqBy=a})(rv)),rv}var Mv,_5;function i$(){return _5||(_5=1,Mv=n$().uniqBy),Mv}var s$=i$();const j5=ds(s$);function CC(e,r,t){return r===!0?j5(e,t):typeof r==&quot;function&quot;?j5(e,r):e}var Ov={exports:{}},Pv={},Tv={exports:{}},Iv={};var S5;function a$(){if(S5)return Iv;S5=1;var e=dc();function r(f,h){return f===h&amp;&amp;(f!==0||1/f===1/h)||f!==f&amp;&amp;h!==h}var t=typeof Object.is==&quot;function&quot;?Object.is:r,n=e.useState,l=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue;function u(f,h){var m=h(),p=n({inst:{value:m,getSnapshot:h}}),v=p[0].inst,g=p[1];return i(function(){v.value=m,v.getSnapshot=h,o(v)&amp;&amp;g({inst:v})},[f,m,h]),l(function(){return o(v)&amp;&amp;g({inst:v}),f(function(){o(v)&amp;&amp;g({inst:v})})},[f]),a(m),m}function o(f){var h=f.getSnapshot;f=f.value;try{var m=h();return!t(f,m)}catch{return!0}}function s(f,h){return h()}var c=typeof window&gt;&quot;u&quot;||typeof window.document&gt;&quot;u&quot;||typeof window.document.createElement&gt;&quot;u&quot;?s:u;return Iv.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:c,Iv}var k5;function o$(){return k5||(k5=1,Tv.exports=a$()),Tv.exports}var N5;function l$(){if(N5)return Pv;N5=1;var e=dc(),r=o$();function t(s,c){return s===c&amp;&amp;(s!==0||1/s===1/c)||s!==s&amp;&amp;c!==c}var n=typeof Object.is==&quot;function&quot;?Object.is:t,l=r.useSyncExternalStore,i=e.useRef,a=e.useEffect,u=e.useMemo,o=e.useDebugValue;return Pv.useSyncExternalStoreWithSelector=function(s,c,f,h,m){var p=i(null);if(p.current===null){var v={hasValue:!1,value:null};p.current=v}else v=p.current;p=u(function(){function b(R){if(!x){if(x=!0,_=R,R=h(R),m!==void 0&amp;&amp;v.hasValue){var H=v.value;if(m(H,R))return C=H}return C=R}if(H=C,n(_,R))return H;var L=h(R);return m!==void 0&amp;&amp;m(H,L)?(_=R,H):(_=R,C=L)}var x=!1,_,C,O=f===void 0?null:f;return[function(){return b(c())},O===null?void 0:function(){return b(O())}]},[c,f,h,m]);var g=l(s,p[0],p[1]);return a(function(){v.hasValue=!0,v.value=g},[g]),o(g),g},Pv}var C5;function c$(){return C5||(C5=1,Ov.exports=l$()),Ov.exports}var u$=c$(),y1=F.createContext(null),d$=e=&gt;e,Pr=()=&gt;{var e=F.useContext(y1);return e?e.store.dispatch:d$},bh=()=&gt;{},f$=()=&gt;bh,h$=(e,r)=&gt;e===r;function wt(e){var r=F.useContext(y1);return u$.useSyncExternalStoreWithSelector(r?r.subscription.addNestedSub:f$,r?r.store.getState:bh,r?r.store.getState:bh,r?e:bh,h$)}function m$(e,r=`expected a function, instead received ${typeof e}`){if(typeof e!=&quot;function&quot;)throw new TypeError(r)}function p$(e,r=`expected an object, instead received ${typeof e}`){if(typeof e!=&quot;object&quot;)throw new TypeError(r)}function g$(e,r=&quot;expected all items to be functions, instead received the following types: &quot;){if(!e.every(t=&gt;typeof t==&quot;function&quot;)){const t=e.map(n=&gt;typeof n==&quot;function&quot;?`function ${n.name||&quot;unnamed&quot;}()`:typeof n).join(&quot;, &quot;);throw new TypeError(`${r}[${t}]`)}}var E5=e=&gt;Array.isArray(e)?e:[e];function v$(e){const r=Array.isArray(e[0])?e[0]:e;return g$(r,&quot;createSelector expects all input-selectors to be functions, but received the following types: &quot;),r}function y$(e,r){const t=[],{length:n}=e;for(let l=0;l&lt;n;l++)t.push(e[l].apply(null,r));return t}var b$=class{constructor(e){this.value=e}deref(){return this.value}},x$=typeof WeakRef&lt;&quot;u&quot;?WeakRef:b$,w$=0,A5=1;function Gf(){return{s:w$,v:void 0,o:null,p:null}}function EC(e,r={}){let t=Gf();const{resultEqualityCheck:n}=r;let l,i=0;function a(){let u=t;const{length:o}=arguments;for(let f=0,h=o;f&lt;h;f++){const m=arguments[f];if(typeof m==&quot;function&quot;||typeof m==&quot;object&quot;&amp;&amp;m!==null){let p=u.o;p===null&amp;&amp;(u.o=p=new WeakMap);const v=p.get(m);v===void 0?(u=Gf(),p.set(m,u)):u=v}else{let p=u.p;p===null&amp;&amp;(u.p=p=new Map);const v=p.get(m);v===void 0?(u=Gf(),p.set(m,u)):u=v}}const s=u;let c;if(u.s===A5)c=u.v;else if(c=e.apply(null,arguments),i++,n){const f=l?.deref?.()??l;f!=null&amp;&amp;n(f,c)&amp;&amp;(c=f,i!==0&amp;&amp;i--),l=typeof c==&quot;object&quot;&amp;&amp;c!==null||typeof c==&quot;function&quot;?new x$(c):c}return s.s=A5,s.v=c,c}return a.clearCache=()=&gt;{t=Gf(),a.resetResultsCount()},a.resultsCount=()=&gt;i,a.resetResultsCount=()=&gt;{i=0},a}function _$(e,...r){const t=typeof e==&quot;function&quot;?{memoize:e,memoizeOptions:r}:e,n=(...l)=&gt;{let i=0,a=0,u,o={},s=l.pop();typeof s==&quot;object&quot;&amp;&amp;(o=s,s=l.pop()),m$(s,`createSelector expects an output function after the inputs, but received: [${typeof s}]`);const c={...t,...o},{memoize:f,memoizeOptions:h=[],argsMemoize:m=EC,argsMemoizeOptions:p=[]}=c,v=E5(h),g=E5(p),b=v$(l),x=f(function(){return i++,s.apply(null,arguments)},...v),_=m(function(){a++;const O=y$(b,arguments);return u=x.apply(null,O),u},...g);return Object.assign(_,{resultFunc:s,memoizedResultFunc:x,dependencies:b,dependencyRecomputations:()=&gt;a,resetDependencyRecomputations:()=&gt;{a=0},lastResult:()=&gt;u,recomputations:()=&gt;i,resetRecomputations:()=&gt;{i=0},memoize:f,argsMemoize:m})};return Object.assign(n,{withTypes:()=&gt;n}),n}var Oe=_$(EC),j$=Object.assign((e,r=Oe)=&gt;{p$(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);const t=Object.keys(e),n=t.map(i=&gt;e[i]);return r(n,(...i)=&gt;i.reduce((a,u,o)=&gt;(a[t[o]]=u,a),{}))},{withTypes:()=&gt;j$}),Rv={},Dv={},Lv={},M5;function S$(){return M5||(M5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(n){return typeof n==&quot;symbol&quot;?1:n===null?2:n===void 0?3:n!==n?4:0}const t=(n,l,i)=&gt;{if(n!==l){const a=r(n),u=r(l);if(a===u&amp;&amp;a===0){if(n&lt;l)return i===&quot;desc&quot;?1:-1;if(n&gt;l)return i===&quot;desc&quot;?-1:1}return i===&quot;desc&quot;?u-a:a-u}return 0};e.compareValues=t})(Lv)),Lv}var Fv={},Bv={},O5;function AC(){return O5||(O5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return typeof t==&quot;symbol&quot;||t instanceof Symbol}e.isSymbol=r})(Bv)),Bv}var P5;function k$(){return P5||(P5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=AC(),t=/\.|\[(?:[^[\]]*|([&quot;&#039;])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function l(i,a){return Array.isArray(i)?!1:typeof i==&quot;number&quot;||typeof i==&quot;boolean&quot;||i==null||r.isSymbol(i)?!0:typeof i==&quot;string&quot;&amp;&amp;(n.test(i)||!t.test(i))||a!=null&amp;&amp;Object.hasOwn(a,i)}e.isKey=l})(Fv)),Fv}var T5;function N$(){return T5||(T5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=S$(),t=k$(),n=f1();function l(i,a,u,o){if(i==null)return[];u=o?void 0:u,Array.isArray(i)||(i=Object.values(i)),Array.isArray(a)||(a=a==null?[null]:[a]),a.length===0&amp;&amp;(a=[null]),Array.isArray(u)||(u=u==null?[]:[u]),u=u.map(m=&gt;String(m));const s=(m,p)=&gt;{let v=m;for(let g=0;g&lt;p.length&amp;&amp;v!=null;++g)v=v[p[g]];return v},c=(m,p)=&gt;p==null||m==null?p:typeof m==&quot;object&quot;&amp;&amp;&quot;key&quot;in m?Object.hasOwn(p,m.key)?p[m.key]:s(p,m.path):typeof m==&quot;function&quot;?m(p):Array.isArray(m)?s(p,m):typeof p==&quot;object&quot;?p[m]:p,f=a.map(m=&gt;(Array.isArray(m)&amp;&amp;m.length===1&amp;&amp;(m=m[0]),m==null||typeof m==&quot;function&quot;||Array.isArray(m)||t.isKey(m)?m:{key:m,path:n.toPath(m)}));return i.map(m=&gt;({original:m,criteria:f.map(p=&gt;c(p,m))})).slice().sort((m,p)=&gt;{for(let v=0;v&lt;f.length;v++){const g=r.compareValues(m.criteria[v],p.criteria[v],u[v]);if(g!==0)return g}return 0}).map(m=&gt;m.original)}e.orderBy=l})(Dv)),Dv}var zv={},I5;function C$(){return I5||(I5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t,n=1){const l=[],i=Math.floor(n),a=(u,o)=&gt;{for(let s=0;s&lt;u.length;s++){const c=u[s];Array.isArray(c)&amp;&amp;o&lt;i?a(c,o+1):l.push(c)}};return a(t,0),l}e.flatten=r})(zv)),zv}var $v={},R5;function MC(){return R5||(R5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=NC(),t=g1(),n=xC(),l=_C();function i(a,u,o){return n.isObject(o)&amp;&amp;(typeof u==&quot;number&quot;&amp;&amp;t.isArrayLike(o)&amp;&amp;r.isIndex(u)&amp;&amp;u&lt;o.length||typeof u==&quot;string&quot;&amp;&amp;u in o)?l.isEqualsSameValueZero(o[u],a):!1}e.isIterateeCall=i})($v)),$v}var D5;function E$(){return D5||(D5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=N$(),t=C$(),n=MC();function l(i,...a){const u=a.length;return u&gt;1&amp;&amp;n.isIterateeCall(i,a[0],a[1])?a=[]:u&gt;2&amp;&amp;n.isIterateeCall(a[0],a[1],a[2])&amp;&amp;(a=[a[0]]),r.orderBy(i,t.flatten(a),[&quot;asc&quot;])}e.sortBy=l})(Rv)),Rv}var Uv,L5;function A$(){return L5||(L5=1,Uv=E$().sortBy),Uv}var M$=A$();const Ym=ds(M$);var OC=e=&gt;e.legend.settings,O$=e=&gt;e.legend.size,P$=e=&gt;e.legend.payload,T$=Oe([P$,OC],(e,r)=&gt;{var{itemSorter:t}=r,n=e.flat(1);return t?Ym(n,t):n});function I$(){return wt(T$)}var Yf=1;function PC(){var e=arguments.length&gt;0&amp;&amp;arguments[0]!==void 0?arguments[0]:[],[r,t]=F.useState({height:0,left:0,top:0,width:0}),n=F.useCallback(l=&gt;{if(l!=null){var i=l.getBoundingClientRect(),a={height:i.height,left:i.left,top:i.top,width:i.width};(Math.abs(a.height-r.height)&gt;Yf||Math.abs(a.left-r.left)&gt;Yf||Math.abs(a.top-r.top)&gt;Yf||Math.abs(a.width-r.width)&gt;Yf)&amp;&amp;t({height:a.height,left:a.left,top:a.top,width:a.width})}},[r.width,r.height,r.top,r.left,...e]);return[r,n]}function wn(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var R$=typeof Symbol==&quot;function&quot;&amp;&amp;Symbol.observable||&quot;@@observable&quot;,F5=R$,Vv=()=&gt;Math.random().toString(36).substring(7).split(&quot;&quot;).join(&quot;.&quot;),D$={INIT:`@@redux/INIT${Vv()}`,REPLACE:`@@redux/REPLACE${Vv()}`,PROBE_UNKNOWN_ACTION:()=&gt;`@@redux/PROBE_UNKNOWN_ACTION${Vv()}`},Wh=D$;function b1(e){if(typeof e!=&quot;object&quot;||e===null)return!1;let r=e;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r||Object.getPrototypeOf(e)===null}function TC(e,r,t){if(typeof e!=&quot;function&quot;)throw new Error(wn(2));if(typeof r==&quot;function&quot;&amp;&amp;typeof t==&quot;function&quot;||typeof t==&quot;function&quot;&amp;&amp;typeof arguments[3]==&quot;function&quot;)throw new Error(wn(0));if(typeof r==&quot;function&quot;&amp;&amp;typeof t&gt;&quot;u&quot;&amp;&amp;(t=r,r=void 0),typeof t&lt;&quot;u&quot;){if(typeof t!=&quot;function&quot;)throw new Error(wn(1));return t(TC)(e,r)}let n=e,l=r,i=new Map,a=i,u=0,o=!1;function s(){a===i&amp;&amp;(a=new Map,i.forEach((g,b)=&gt;{a.set(b,g)}))}function c(){if(o)throw new Error(wn(3));return l}function f(g){if(typeof g!=&quot;function&quot;)throw new Error(wn(4));if(o)throw new Error(wn(5));let b=!0;s();const x=u++;return a.set(x,g),function(){if(b){if(o)throw new Error(wn(6));b=!1,s(),a.delete(x),i=null}}}function h(g){if(!b1(g))throw new Error(wn(7));if(typeof g.type&gt;&quot;u&quot;)throw new Error(wn(8));if(typeof g.type!=&quot;string&quot;)throw new Error(wn(17));if(o)throw new Error(wn(9));try{o=!0,l=n(l,g)}finally{o=!1}return(i=a).forEach(x=&gt;{x()}),g}function m(g){if(typeof g!=&quot;function&quot;)throw new Error(wn(10));n=g,h({type:Wh.REPLACE})}function p(){const g=f;return{subscribe(b){if(typeof b!=&quot;object&quot;||b===null)throw new Error(wn(11));function x(){const C=b;C.next&amp;&amp;C.next(c())}return x(),{unsubscribe:g(x)}},[F5](){return this}}}return h({type:Wh.INIT}),{dispatch:h,subscribe:f,getState:c,replaceReducer:m,[F5]:p}}function L$(e){Object.keys(e).forEach(r=&gt;{const t=e[r];if(typeof t(void 0,{type:Wh.INIT})&gt;&quot;u&quot;)throw new Error(wn(12));if(typeof t(void 0,{type:Wh.PROBE_UNKNOWN_ACTION()})&gt;&quot;u&quot;)throw new Error(wn(13))})}function IC(e){const r=Object.keys(e),t={};for(let i=0;i&lt;r.length;i++){const a=r[i];typeof e[a]==&quot;function&quot;&amp;&amp;(t[a]=e[a])}const n=Object.keys(t);let l;try{L$(t)}catch(i){l=i}return function(a={},u){if(l)throw l;let o=!1;const s={};for(let c=0;c&lt;n.length;c++){const f=n[c],h=t[f],m=a[f],p=h(m,u);if(typeof p&gt;&quot;u&quot;)throw u&amp;&amp;u.type,new Error(wn(14));s[f]=p,o=o||p!==m}return o=o||n.length!==Object.keys(a).length,o?s:a}}function Kh(...e){return e.length===0?r=&gt;r:e.length===1?e[0]:e.reduce((r,t)=&gt;(...n)=&gt;r(t(...n)))}function F$(...e){return r=&gt;(t,n)=&gt;{const l=r(t,n);let i=()=&gt;{throw new Error(wn(15))};const a={getState:l.getState,dispatch:(o,...s)=&gt;i(o,...s)},u=e.map(o=&gt;o(a));return i=Kh(...u)(l.dispatch),{...l,dispatch:i}}}function RC(e){return b1(e)&amp;&amp;&quot;type&quot;in e&amp;&amp;typeof e.type==&quot;string&quot;}var DC=Symbol.for(&quot;immer-nothing&quot;),B5=Symbol.for(&quot;immer-draftable&quot;),Gn=Symbol.for(&quot;immer-state&quot;);function ns(e,...r){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var gi=Object,ic=gi.getPrototypeOf,Xh=&quot;constructor&quot;,Zm=&quot;prototype&quot;,jb=&quot;configurable&quot;,Gh=&quot;enumerable&quot;,xh=&quot;writable&quot;,Lu=&quot;value&quot;,ta=e=&gt;!!e&amp;&amp;!!e[Gn];function us(e){return e?LC(e)||Jm(e)||!!e[B5]||!!e[Xh]?.[B5]||ep(e)||tp(e):!1}var B$=gi[Zm][Xh].toString(),z5=new WeakMap;function LC(e){if(!e||!x1(e))return!1;const r=ic(e);if(r===null||r===gi[Zm])return!0;const t=gi.hasOwnProperty.call(r,Xh)&amp;&amp;r[Xh];if(t===Object)return!0;if(!ql(t))return!1;let n=z5.get(t);return n===void 0&amp;&amp;(n=Function.toString.call(t),z5.set(t,n)),n===B$}function Qm(e,r,t=!0){sd(e)===0?(t?Reflect.ownKeys(e):gi.keys(e)).forEach(l=&gt;{r(l,e[l],e)}):e.forEach((n,l)=&gt;r(l,n,e))}function sd(e){const r=e[Gn];return r?r.type_:Jm(e)?1:ep(e)?2:tp(e)?3:0}var $5=(e,r,t=sd(e))=&gt;t===2?e.has(r):gi[Zm].hasOwnProperty.call(e,r),Sb=(e,r,t=sd(e))=&gt;t===2?e.get(r):e[r],Yh=(e,r,t,n=sd(e))=&gt;{n===2?e.set(r,t):n===3?e.add(t):e[r]=t};function z$(e,r){return e===r?e!==0||1/e===1/r:e!==e&amp;&amp;r!==r}var Jm=Array.isArray,ep=e=&gt;e instanceof Map,tp=e=&gt;e instanceof Set,x1=e=&gt;typeof e==&quot;object&quot;,ql=e=&gt;typeof e==&quot;function&quot;,qv=e=&gt;typeof e==&quot;boolean&quot;;function $$(e){const r=+e;return Number.isInteger(r)&amp;&amp;String(r)===e}var qs=e=&gt;e.copy_||e.base_,w1=e=&gt;e.modified_?e.copy_:e.base_;function kb(e,r){if(ep(e))return new Map(e);if(tp(e))return new Set(e);if(Jm(e))return Array[Zm].slice.call(e);const t=LC(e);if(r===!0||r===&quot;class_only&quot;&amp;&amp;!t){const n=gi.getOwnPropertyDescriptors(e);delete n[Gn];let l=Reflect.ownKeys(n);for(let i=0;i&lt;l.length;i++){const a=l[i],u=n[a];u[xh]===!1&amp;&amp;(u[xh]=!0,u[jb]=!0),(u.get||u.set)&amp;&amp;(n[a]={[jb]:!0,[xh]:!0,[Gh]:u[Gh],[Lu]:e[a]})}return gi.create(ic(e),n)}else{const n=ic(e);if(n!==null&amp;&amp;t)return{...e};const l=gi.create(n);return gi.assign(l,e)}}function _1(e,r=!1){return rp(e)||ta(e)||!us(e)||(sd(e)&gt;1&amp;&amp;gi.defineProperties(e,{set:Zf,add:Zf,clear:Zf,delete:Zf}),gi.freeze(e),r&amp;&amp;Qm(e,(t,n)=&gt;{_1(n,!0)},!1)),e}function U$(){ns(2)}var Zf={[Lu]:U$};function rp(e){return e===null||!x1(e)?!0:gi.isFrozen(e)}var Zh=&quot;MapSet&quot;,Nb=&quot;Patches&quot;,U5=&quot;ArrayMethods&quot;,FC={};function nl(e){const r=FC[e];return r||ns(0,e),r}var V5=e=&gt;!!FC[e],Fu,BC=()=&gt;Fu,V$=(e,r)=&gt;({drafts_:[],parent_:e,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:V5(Zh)?nl(Zh):void 0,arrayMethodsPlugin_:V5(U5)?nl(U5):void 0});function q5(e,r){r&amp;&amp;(e.patchPlugin_=nl(Nb),e.patches_=[],e.inversePatches_=[],e.patchListener_=r)}function Cb(e){Eb(e),e.drafts_.forEach(q$),e.drafts_=null}function Eb(e){e===Fu&amp;&amp;(Fu=e.parent_)}var H5=e=&gt;Fu=V$(Fu,e);function q$(e){const r=e[Gn];r.type_===0||r.type_===1?r.revoke_():r.revoked_=!0}function W5(e,r){r.unfinalizedDrafts_=r.drafts_.length;const t=r.drafts_[0];if(e!==void 0&amp;&amp;e!==t){t[Gn].modified_&amp;&amp;(Cb(r),ns(4)),us(e)&amp;&amp;(e=K5(r,e));const{patchPlugin_:l}=r;l&amp;&amp;l.generateReplacementPatches_(t[Gn].base_,e,r)}else e=K5(r,t);return H$(r,e,!0),Cb(r),r.patches_&amp;&amp;r.patchListener_(r.patches_,r.inversePatches_),e!==DC?e:void 0}function K5(e,r){if(rp(r))return r;const t=r[Gn];if(!t)return Qh(r,e.handledSet_,e);if(!np(t,e))return r;if(!t.modified_)return t.base_;if(!t.finalized_){const{callbacks_:n}=t;if(n)for(;n.length&gt;0;)n.pop()(e);UC(t,e)}return t.copy_}function H$(e,r,t=!1){!e.parent_&amp;&amp;e.immer_.autoFreeze_&amp;&amp;e.canAutoFreeze_&amp;&amp;_1(r,t)}function zC(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var np=(e,r)=&gt;e.scope_===r,W$=[];function $C(e,r,t,n){const l=qs(e),i=e.type_;if(n!==void 0&amp;&amp;Sb(l,n,i)===r){Yh(l,n,t,i);return}if(!e.draftLocations_){const u=e.draftLocations_=new Map;Qm(l,(o,s)=&gt;{if(ta(s)){const c=u.get(s)||[];c.push(o),u.set(s,c)}})}const a=e.draftLocations_.get(r)??W$;for(const u of a)Yh(l,u,t,i)}function K$(e,r,t){e.callbacks_.push(function(l){const i=r;if(!i||!np(i,l))return;l.mapSetPlugin_?.fixSetContents(i);const a=w1(i);$C(e,i.draft_??i,a,t),UC(i,l)})}function UC(e,r){if(e.modified_&amp;&amp;!e.finalized_&amp;&amp;(e.type_===3||e.type_===1&amp;&amp;e.allIndicesReassigned_||(e.assigned_?.size??0)&gt;0)){const{patchPlugin_:n}=r;if(n){const l=n.getPath(e);l&amp;&amp;n.generatePatches_(e,l,r)}zC(e)}}function X$(e,r,t){const{scope_:n}=e;if(ta(t)){const l=t[Gn];np(l,n)&amp;&amp;l.callbacks_.push(function(){wh(e);const a=w1(l);$C(e,t,a,r)})}else us(t)&amp;&amp;e.callbacks_.push(function(){const i=qs(e);e.type_===3?i.has(t)&amp;&amp;Qh(t,n.handledSet_,n):Sb(i,r,e.type_)===t&amp;&amp;n.drafts_.length&gt;1&amp;&amp;(e.assigned_.get(r)??!1)===!0&amp;&amp;e.copy_&amp;&amp;Qh(Sb(e.copy_,r,e.type_),n.handledSet_,n)})}function Qh(e,r,t){return!t.immer_.autoFreeze_&amp;&amp;t.unfinalizedDrafts_&lt;1||ta(e)||r.has(e)||!us(e)||rp(e)||(r.add(e),Qm(e,(n,l)=&gt;{if(ta(l)){const i=l[Gn];if(np(i,t)){const a=w1(i);Yh(e,n,a,e.type_),zC(i)}}else us(l)&amp;&amp;Qh(l,r,t)})),e}function G$(e,r){const t=Jm(e),n={type_:t?1:0,scope_:r?r.scope_:BC(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:r,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let l=n,i=Jh;t&amp;&amp;(l=[n],i=Bu);const{revoke:a,proxy:u}=Proxy.revocable(l,i);return n.draft_=u,n.revoke_=a,[u,n]}var Jh={get(e,r){if(r===Gn)return e;let t=e.scope_.arrayMethodsPlugin_;const n=e.type_===1&amp;&amp;typeof r==&quot;string&quot;;if(n&amp;&amp;t?.isArrayOperationMethod(r))return t.createMethodInterceptor(e,r);const l=qs(e);if(!$5(l,r,e.type_))return Y$(e,l,r);const i=l[r];if(e.finalized_||!us(i)||n&amp;&amp;e.operationMethod&amp;&amp;t?.isMutatingArrayMethod(e.operationMethod)&amp;&amp;$$(r))return i;if(i===Hv(e.base_,r)){wh(e);const a=e.type_===1?+r:r,u=Mb(e.scope_,i,e,a);return e.copy_[a]=u}return i},has(e,r){return r in qs(e)},ownKeys(e){return Reflect.ownKeys(qs(e))},set(e,r,t){const n=VC(qs(e),r);if(n?.set)return n.set.call(e.draft_,t),!0;if(!e.modified_){const l=Hv(qs(e),r),i=l?.[Gn];if(i&amp;&amp;i.base_===t)return e.copy_[r]=t,e.assigned_.set(r,!1),!0;if(z$(t,l)&amp;&amp;(t!==void 0||$5(e.base_,r,e.type_)))return!0;wh(e),Ab(e)}return e.copy_[r]===t&amp;&amp;(t!==void 0||r in e.copy_)||Number.isNaN(t)&amp;&amp;Number.isNaN(e.copy_[r])||(e.copy_[r]=t,e.assigned_.set(r,!0),X$(e,r,t)),!0},deleteProperty(e,r){return wh(e),Hv(e.base_,r)!==void 0||r in e.base_?(e.assigned_.set(r,!1),Ab(e)):e.assigned_.delete(r),e.copy_&amp;&amp;delete e.copy_[r],!0},getOwnPropertyDescriptor(e,r){const t=qs(e),n=Reflect.getOwnPropertyDescriptor(t,r);return n&amp;&amp;{[xh]:!0,[jb]:e.type_!==1||r!==&quot;length&quot;,[Gh]:n[Gh],[Lu]:t[r]}},defineProperty(){ns(11)},getPrototypeOf(e){return ic(e.base_)},setPrototypeOf(){ns(12)}},Bu={};for(let e in Jh){let r=Jh[e];Bu[e]=function(){const t=arguments;return t[0]=t[0][0],r.apply(this,t)}}Bu.deleteProperty=function(e,r){return Bu.set.call(this,e,r,void 0)};Bu.set=function(e,r,t){return Jh.set.call(this,e[0],r,t,e[0])};function Hv(e,r){const t=e[Gn];return(t?qs(t):e)[r]}function Y$(e,r,t){const n=VC(r,t);return n?Lu in n?n[Lu]:n.get?.call(e.draft_):void 0}function VC(e,r){if(!(r in e))return;let t=ic(e);for(;t;){const n=Object.getOwnPropertyDescriptor(t,r);if(n)return n;t=ic(t)}}function Ab(e){e.modified_||(e.modified_=!0,e.parent_&amp;&amp;Ab(e.parent_))}function wh(e){e.copy_||(e.assigned_=new Map,e.copy_=kb(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Z$=class{constructor(r){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,n,l)=&gt;{if(ql(t)&amp;&amp;!ql(n)){const a=n;n=t;const u=this;return function(s=a,...c){return u.produce(s,f=&gt;n.call(this,f,...c))}}ql(n)||ns(6),l!==void 0&amp;&amp;!ql(l)&amp;&amp;ns(7);let i;if(us(t)){const a=H5(this),u=Mb(a,t,void 0);let o=!0;try{i=n(u),o=!1}finally{o?Cb(a):Eb(a)}return q5(a,l),W5(i,a)}else if(!t||!x1(t)){if(i=n(t),i===void 0&amp;&amp;(i=t),i===DC&amp;&amp;(i=void 0),this.autoFreeze_&amp;&amp;_1(i,!0),l){const a=[],u=[];nl(Nb).generateReplacementPatches_(t,i,{patches_:a,inversePatches_:u}),l(a,u)}return i}else ns(1,t)},this.produceWithPatches=(t,n)=&gt;{if(ql(t))return(u,...o)=&gt;this.produceWithPatches(u,s=&gt;t(s,...o));let l,i;return[this.produce(t,n,(u,o)=&gt;{l=u,i=o}),l,i]},qv(r?.autoFreeze)&amp;&amp;this.setAutoFreeze(r.autoFreeze),qv(r?.useStrictShallowCopy)&amp;&amp;this.setUseStrictShallowCopy(r.useStrictShallowCopy),qv(r?.useStrictIteration)&amp;&amp;this.setUseStrictIteration(r.useStrictIteration)}createDraft(r){us(r)||ns(8),ta(r)&amp;&amp;(r=as(r));const t=H5(this),n=Mb(t,r,void 0);return n[Gn].isManual_=!0,Eb(t),n}finishDraft(r,t){const n=r&amp;&amp;r[Gn];(!n||!n.isManual_)&amp;&amp;ns(9);const{scope_:l}=n;return q5(l,t),W5(void 0,l)}setAutoFreeze(r){this.autoFreeze_=r}setUseStrictShallowCopy(r){this.useStrictShallowCopy_=r}setUseStrictIteration(r){this.useStrictIteration_=r}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(r,t){let n;for(n=t.length-1;n&gt;=0;n--){const i=t[n];if(i.path.length===0&amp;&amp;i.op===&quot;replace&quot;){r=i.value;break}}n&gt;-1&amp;&amp;(t=t.slice(n+1));const l=nl(Nb).applyPatches_;return ta(r)?l(r,t):this.produce(r,i=&gt;l(i,t))}};function Mb(e,r,t,n){const[l,i]=ep(r)?nl(Zh).proxyMap_(r,t):tp(r)?nl(Zh).proxySet_(r,t):G$(r,t);return(t?.scope_??BC()).drafts_.push(l),i.callbacks_=t?.callbacks_??[],i.key_=n,t&amp;&amp;n!==void 0?K$(t,i,n):i.callbacks_.push(function(o){o.mapSetPlugin_?.fixSetContents(i);const{patchPlugin_:s}=o;i.modified_&amp;&amp;s&amp;&amp;s.generatePatches_(i,[],o)}),l}function as(e){return ta(e)||ns(10,e),qC(e)}function qC(e){if(!us(e)||rp(e))return e;const r=e[Gn];let t,n=!0;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,t=kb(e,r.scope_.immer_.useStrictShallowCopy_),n=r.scope_.immer_.shouldUseStrictIteration()}else t=kb(e,!0);return Qm(t,(l,i)=&gt;{Yh(t,l,qC(i))},n),r&amp;&amp;(r.finalized_=!1),t}var Q$=new Z$,HC=Q$.produce;function WC(e){return({dispatch:t,getState:n})=&gt;l=&gt;i=&gt;typeof i==&quot;function&quot;?i(t,n,e):l(i)}var J$=WC(),eU=WC,tU=typeof window&lt;&quot;u&quot;&amp;&amp;window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]==&quot;object&quot;?Kh:Kh.apply(null,arguments)};function Bi(e,r){function t(...n){if(r){let l=r(...n);if(!l)throw new Error(vi(0));return{type:e,payload:l.payload,...&quot;meta&quot;in l&amp;&amp;{meta:l.meta},...&quot;error&quot;in l&amp;&amp;{error:l.error}}}return{type:e,payload:n[0]}}return t.toString=()=&gt;`${e}`,t.type=e,t.match=n=&gt;RC(n)&amp;&amp;n.type===e,t}var KC=class bu extends Array{constructor(...r){super(...r),Object.setPrototypeOf(this,bu.prototype)}static get[Symbol.species](){return bu}concat(...r){return super.concat.apply(this,r)}prepend(...r){return r.length===1&amp;&amp;Array.isArray(r[0])?new bu(...r[0].concat(this)):new bu(...r.concat(this))}};function X5(e){return us(e)?HC(e,()=&gt;{}):e}function Qf(e,r,t){return e.has(r)?e.get(r):e.set(r,t(r)).get(r)}function rU(e){return typeof e==&quot;boolean&quot;}var nU=()=&gt;function(r){const{thunk:t=!0,immutableCheck:n=!0,serializableCheck:l=!0,actionCreatorCheck:i=!0}=r??{};let a=new KC;return t&amp;&amp;(rU(t)?a.push(J$):a.push(eU(t.extraArgument))),a},XC=&quot;RTK_autoBatch&quot;,Sr=()=&gt;e=&gt;({payload:e,meta:{[XC]:!0}}),G5=e=&gt;r=&gt;{setTimeout(r,e)},GC=(e={type:&quot;raf&quot;})=&gt;r=&gt;(...t)=&gt;{const n=r(...t);let l=!0,i=!1,a=!1;const u=new Set,o=e.type===&quot;tick&quot;?queueMicrotask:e.type===&quot;raf&quot;?typeof window&lt;&quot;u&quot;&amp;&amp;window.requestAnimationFrame?window.requestAnimationFrame:G5(10):e.type===&quot;callback&quot;?e.queueNotification:G5(e.timeout),s=()=&gt;{a=!1,i&amp;&amp;(i=!1,u.forEach(c=&gt;c()))};return Object.assign({},n,{subscribe(c){const f=()=&gt;l&amp;&amp;c(),h=n.subscribe(f);return u.add(c),()=&gt;{h(),u.delete(c)}},dispatch(c){try{return l=!c?.meta?.[XC],i=!l,i&amp;&amp;(a||(a=!0,o(s))),n.dispatch(c)}finally{l=!0}}})},iU=e=&gt;function(t){const{autoBatch:n=!0}=t??{};let l=new KC(e);return n&amp;&amp;l.push(GC(typeof n==&quot;object&quot;?n:void 0)),l};function sU(e){const r=nU(),{reducer:t=void 0,middleware:n,devTools:l=!0,preloadedState:i=void 0,enhancers:a=void 0}=e||{};let u;if(typeof t==&quot;function&quot;)u=t;else if(b1(t))u=IC(t);else throw new Error(vi(1));let o;typeof n==&quot;function&quot;?o=n(r):o=r();let s=Kh;l&amp;&amp;(s=tU({trace:!1,...typeof l==&quot;object&quot;&amp;&amp;l}));const c=F$(...o),f=iU(c);let h=typeof a==&quot;function&quot;?a(f):f();const m=s(...h);return TC(u,i,m)}function YC(e){const r={},t=[];let n;const l={addCase(i,a){const u=typeof i==&quot;string&quot;?i:i.type;if(!u)throw new Error(vi(28));if(u in r)throw new Error(vi(29));return r[u]=a,l},addAsyncThunk(i,a){return a.pending&amp;&amp;(r[i.pending.type]=a.pending),a.rejected&amp;&amp;(r[i.rejected.type]=a.rejected),a.fulfilled&amp;&amp;(r[i.fulfilled.type]=a.fulfilled),a.settled&amp;&amp;t.push({matcher:i.settled,reducer:a.settled}),l},addMatcher(i,a){return t.push({matcher:i,reducer:a}),l},addDefaultCase(i){return n=i,l}};return e(l),[r,t,n]}function aU(e){return typeof e==&quot;function&quot;}function oU(e,r){let[t,n,l]=YC(r),i;if(aU(e))i=()=&gt;X5(e());else{const u=X5(e);i=()=&gt;u}function a(u=i(),o){let s=[t[o.type],...n.filter(({matcher:c})=&gt;c(o)).map(({reducer:c})=&gt;c)];return s.filter(c=&gt;!!c).length===0&amp;&amp;(s=[l]),s.reduce((c,f)=&gt;{if(f)if(ta(c)){const m=f(c,o);return m===void 0?c:m}else{if(us(c))return HC(c,h=&gt;f(h,o));{const h=f(c,o);if(h===void 0){if(c===null)return c;throw Error(&quot;A case reducer on a non-draftable value must not return undefined&quot;)}return h}}return c},u)}return a.getInitialState=i,a}var lU=&quot;ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW&quot;,cU=(e=21)=&gt;{let r=&quot;&quot;,t=e;for(;t--;)r+=lU[Math.random()*64|0];return r},uU=Symbol.for(&quot;rtk-slice-createasyncthunk&quot;);function dU(e,r){return`${e}/${r}`}function fU({creators:e}={}){const r=e?.asyncThunk?.[uU];return function(n){const{name:l,reducerPath:i=l}=n;if(!l)throw new Error(vi(11));const a=(typeof n.reducers==&quot;function&quot;?n.reducers(mU()):n.reducers)||{},u=Object.keys(a),o={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},s={addCase(_,C){const O=typeof _==&quot;string&quot;?_:_.type;if(!O)throw new Error(vi(12));if(O in o.sliceCaseReducersByType)throw new Error(vi(13));return o.sliceCaseReducersByType[O]=C,s},addMatcher(_,C){return o.sliceMatchers.push({matcher:_,reducer:C}),s},exposeAction(_,C){return o.actionCreators[_]=C,s},exposeCaseReducer(_,C){return o.sliceCaseReducersByName[_]=C,s}};u.forEach(_=&gt;{const C=a[_],O={reducerName:_,type:dU(l,_),createNotation:typeof n.reducers==&quot;function&quot;};gU(C)?yU(O,C,s,r):pU(O,C,s)});function c(){const[_={},C=[],O=void 0]=typeof n.extraReducers==&quot;function&quot;?YC(n.extraReducers):[n.extraReducers],R={..._,...o.sliceCaseReducersByType};return oU(n.initialState,H=&gt;{for(let L in R)H.addCase(L,R[L]);for(let L of o.sliceMatchers)H.addMatcher(L.matcher,L.reducer);for(let L of C)H.addMatcher(L.matcher,L.reducer);O&amp;&amp;H.addDefaultCase(O)})}const f=_=&gt;_,h=new Map,m=new WeakMap;let p;function v(_,C){return p||(p=c()),p(_,C)}function g(){return p||(p=c()),p.getInitialState()}function b(_,C=!1){function O(H){let L=H[_];return typeof L&gt;&quot;u&quot;&amp;&amp;C&amp;&amp;(L=Qf(m,O,g)),L}function R(H=f){const L=Qf(h,C,()=&gt;new WeakMap);return Qf(L,H,()=&gt;{const q={};for(const[W,K]of Object.entries(n.selectors??{}))q[W]=hU(K,H,()=&gt;Qf(m,H,g),C);return q})}return{reducerPath:_,getSelectors:R,get selectors(){return R(O)},selectSlice:O}}const x={name:l,reducer:v,actions:o.actionCreators,caseReducers:o.sliceCaseReducersByName,getInitialState:g,...b(i),injectInto(_,{reducerPath:C,...O}={}){const R=C??i;return _.inject({reducerPath:R,reducer:v},O),{...x,...b(R,!0)}}};return x}}function hU(e,r,t,n){function l(i,...a){let u=r(i);return typeof u&gt;&quot;u&quot;&amp;&amp;n&amp;&amp;(u=t()),e(u,...a)}return l.unwrapped=e,l}var oi=fU();function mU(){function e(r,t){return{_reducerDefinitionType:&quot;asyncThunk&quot;,payloadCreator:r,...t}}return e.withTypes=()=&gt;e,{reducer(r){return Object.assign({[r.name](...t){return r(...t)}}[r.name],{_reducerDefinitionType:&quot;reducer&quot;})},preparedReducer(r,t){return{_reducerDefinitionType:&quot;reducerWithPrepare&quot;,prepare:r,reducer:t}},asyncThunk:e}}function pU({type:e,reducerName:r,createNotation:t},n,l){let i,a;if(&quot;reducer&quot;in n){if(t&amp;&amp;!vU(n))throw new Error(vi(17));i=n.reducer,a=n.prepare}else i=n;l.addCase(e,i).exposeCaseReducer(r,i).exposeAction(r,a?Bi(e,a):Bi(e))}function gU(e){return e._reducerDefinitionType===&quot;asyncThunk&quot;}function vU(e){return e._reducerDefinitionType===&quot;reducerWithPrepare&quot;}function yU({type:e,reducerName:r},t,n,l){if(!l)throw new Error(vi(18));const{payloadCreator:i,fulfilled:a,pending:u,rejected:o,settled:s,options:c}=t,f=l(e,i,c);n.exposeAction(r,f),a&amp;&amp;n.addCase(f.fulfilled,a),u&amp;&amp;n.addCase(f.pending,u),o&amp;&amp;n.addCase(f.rejected,o),s&amp;&amp;n.addMatcher(f.settled,s),n.exposeCaseReducer(r,{fulfilled:a||Jf,pending:u||Jf,rejected:o||Jf,settled:s||Jf})}function Jf(){}var bU=&quot;task&quot;,ZC=&quot;listener&quot;,QC=&quot;completed&quot;,j1=&quot;cancelled&quot;,xU=`task-${j1}`,wU=`task-${QC}`,Ob=`${ZC}-${j1}`,_U=`${ZC}-${QC}`,ip=class{constructor(e){this.code=e,this.message=`${bU} ${j1} (reason: ${e})`}name=&quot;TaskAbortError&quot;;message},S1=(e,r)=&gt;{if(typeof e!=&quot;function&quot;)throw new TypeError(vi(32))},em=()=&gt;{},JC=(e,r=em)=&gt;(e.catch(r),e),e7=(e,r)=&gt;(e.addEventListener(&quot;abort&quot;,r,{once:!0}),()=&gt;e.removeEventListener(&quot;abort&quot;,r)),Qo=e=&gt;{if(e.aborted)throw new ip(e.reason)};function t7(e,r){let t=em;return new Promise((n,l)=&gt;{const i=()=&gt;l(new ip(e.reason));if(e.aborted){i();return}t=e7(e,i),r.finally(()=&gt;t()).then(n,l)}).finally(()=&gt;{t=em})}var jU=async(e,r)=&gt;{try{return await Promise.resolve(),{status:&quot;ok&quot;,value:await e()}}catch(t){return{status:t instanceof ip?&quot;cancelled&quot;:&quot;rejected&quot;,error:t}}finally{r?.()}},tm=e=&gt;r=&gt;JC(t7(e,r).then(t=&gt;(Qo(e),t))),r7=e=&gt;{const r=tm(e);return t=&gt;r(new Promise(n=&gt;setTimeout(n,t)))},{assign:Ql}=Object,Y5={},sp=&quot;listenerMiddleware&quot;,SU=(e,r)=&gt;{const t=n=&gt;e7(e,()=&gt;n.abort(e.reason));return(n,l)=&gt;{S1(n);const i=new AbortController;t(i);const a=jU(async()=&gt;{Qo(e),Qo(i.signal);const u=await n({pause:tm(i.signal),delay:r7(i.signal),signal:i.signal});return Qo(i.signal),u},()=&gt;i.abort(wU));return l?.autoJoin&amp;&amp;r.push(a.catch(em)),{result:tm(e)(a),cancel(){i.abort(xU)}}}},kU=(e,r)=&gt;{const t=async(n,l)=&gt;{Qo(r);let i=()=&gt;{};const u=[new Promise((o,s)=&gt;{let c=e({predicate:n,effect:(f,h)=&gt;{h.unsubscribe(),o([f,h.getState(),h.getOriginalState()])}});i=()=&gt;{c(),s()}})];l!=null&amp;&amp;u.push(new Promise(o=&gt;setTimeout(o,l,null)));try{const o=await t7(r,Promise.race(u));return Qo(r),o}finally{i()}};return(n,l)=&gt;JC(t(n,l))},n7=e=&gt;{let{type:r,actionCreator:t,matcher:n,predicate:l,effect:i}=e;if(r)l=Bi(r).match;else if(t)r=t.type,l=t.match;else if(n)l=n;else if(!l)throw new Error(vi(21));return S1(i),{predicate:l,type:r,effect:i}},i7=Ql(e=&gt;{const{type:r,predicate:t,effect:n}=n7(e);return{id:cU(),effect:n,type:r,predicate:t,pending:new Set,unsubscribe:()=&gt;{throw new Error(vi(22))}}},{withTypes:()=&gt;i7}),Z5=(e,r)=&gt;{const{type:t,effect:n,predicate:l}=n7(r);return Array.from(e.values()).find(i=&gt;(typeof t==&quot;string&quot;?i.type===t:i.predicate===l)&amp;&amp;i.effect===n)},Pb=e=&gt;{e.pending.forEach(r=&gt;{r.abort(Ob)})},NU=(e,r)=&gt;()=&gt;{for(const t of r.keys())Pb(t);e.clear()},Q5=(e,r,t)=&gt;{try{e(r,t)}catch(n){setTimeout(()=&gt;{throw n},0)}},s7=Ql(Bi(`${sp}/add`),{withTypes:()=&gt;s7}),CU=Bi(`${sp}/removeAll`),a7=Ql(Bi(`${sp}/remove`),{withTypes:()=&gt;a7}),EU=(...e)=&gt;{console.error(`${sp}/error`,...e)},ad=(e={})=&gt;{const r=new Map,t=new Map,n=m=&gt;{const p=t.get(m)??0;t.set(m,p+1)},l=m=&gt;{const p=t.get(m)??1;p===1?t.delete(m):t.set(m,p-1)},{extra:i,onError:a=EU}=e;S1(a);const u=m=&gt;(m.unsubscribe=()=&gt;r.delete(m.id),r.set(m.id,m),p=&gt;{m.unsubscribe(),p?.cancelActive&amp;&amp;Pb(m)}),o=m=&gt;{const p=Z5(r,m)??i7(m);return u(p)};Ql(o,{withTypes:()=&gt;o});const s=m=&gt;{const p=Z5(r,m);return p&amp;&amp;(p.unsubscribe(),m.cancelActive&amp;&amp;Pb(p)),!!p};Ql(s,{withTypes:()=&gt;s});const c=async(m,p,v,g)=&gt;{const b=new AbortController,x=kU(o,b.signal),_=[];try{m.pending.add(b),n(m),await Promise.resolve(m.effect(p,Ql({},v,{getOriginalState:g,condition:(C,O)=&gt;x(C,O).then(Boolean),take:x,delay:r7(b.signal),pause:tm(b.signal),extra:i,signal:b.signal,fork:SU(b.signal,_),unsubscribe:m.unsubscribe,subscribe:()=&gt;{r.set(m.id,m)},cancelActiveListeners:()=&gt;{m.pending.forEach((C,O,R)=&gt;{C!==b&amp;&amp;(C.abort(Ob),R.delete(C))})},cancel:()=&gt;{b.abort(Ob),m.pending.delete(b)},throwIfCancelled:()=&gt;{Qo(b.signal)}})))}catch(C){C instanceof ip||Q5(a,C,{raisedBy:&quot;effect&quot;})}finally{await Promise.all(_),b.abort(_U),l(m),m.pending.delete(b)}},f=NU(r,t);return{middleware:m=&gt;p=&gt;v=&gt;{if(!RC(v))return p(v);if(s7.match(v))return o(v.payload);if(CU.match(v)){f();return}if(a7.match(v))return s(v.payload);let g=m.getState();const b=()=&gt;{if(g===Y5)throw new Error(vi(23));return g};let x;try{if(x=p(v),r.size&gt;0){const _=m.getState(),C=Array.from(r.values());for(const O of C){let R=!1;try{R=O.predicate(v,_,g)}catch(H){R=!1,Q5(a,H,{raisedBy:&quot;predicate&quot;})}R&amp;&amp;c(O,v,m,b)}}}finally{g=Y5}return x},startListening:o,stopListening:s,clearListeners:f}};function vi(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var AU={layoutType:&quot;horizontal&quot;,width:0,height:0,margin:{top:5,right:5,bottom:5,left:5},scale:1},o7=oi({name:&quot;chartLayout&quot;,initialState:AU,reducers:{setLayout(e,r){e.layoutType=r.payload},setChartSize(e,r){e.width=r.payload.width,e.height=r.payload.height},setMargin(e,r){var t,n,l,i;e.margin.top=(t=r.payload.top)!==null&amp;&amp;t!==void 0?t:0,e.margin.right=(n=r.payload.right)!==null&amp;&amp;n!==void 0?n:0,e.margin.bottom=(l=r.payload.bottom)!==null&amp;&amp;l!==void 0?l:0,e.margin.left=(i=r.payload.left)!==null&amp;&amp;i!==void 0?i:0},setScale(e,r){e.scale=r.payload}}}),{setMargin:MU,setLayout:OU,setChartSize:PU,setScale:TU}=o7.actions,IU=o7.reducer;function l7(e,r,t){return Array.isArray(e)&amp;&amp;e&amp;&amp;r+t!==0?e.slice(r,t+1):e}function Or(e){return Number.isFinite(e)}function As(e){return typeof e==&quot;number&quot;&amp;&amp;e&gt;0&amp;&amp;Number.isFinite(e)}function J5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Gl(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?J5(Object(t),!0).forEach(function(n){RU(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):J5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function RU(e,r,t){return(r=DU(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function DU(e){var r=LU(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function LU(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function Kr(e,r,t){return Nr(e)||Nr(r)?t:Es(r)?nc(e,r,t):typeof r==&quot;function&quot;?r(e):t}var FU=(e,r,t)=&gt;{if(r&amp;&amp;t){var{width:n,height:l}=t,{align:i,verticalAlign:a,layout:u}=r;if((u===&quot;vertical&quot;||u===&quot;horizontal&quot;&amp;&amp;a===&quot;middle&quot;)&amp;&amp;i!==&quot;center&quot;&amp;&amp;ht(e[i]))return Gl(Gl({},e),{},{[i]:e[i]+(n||0)});if((u===&quot;horizontal&quot;||u===&quot;vertical&quot;&amp;&amp;i===&quot;center&quot;)&amp;&amp;a!==&quot;middle&quot;&amp;&amp;ht(e[a]))return Gl(Gl({},e),{},{[a]:e[a]+(l||0)})}return e},oo=(e,r)=&gt;e===&quot;horizontal&quot;&amp;&amp;r===&quot;xAxis&quot;||e===&quot;vertical&quot;&amp;&amp;r===&quot;yAxis&quot;||e===&quot;centric&quot;&amp;&amp;r===&quot;angleAxis&quot;||e===&quot;radial&quot;&amp;&amp;r===&quot;radiusAxis&quot;,c7=(e,r,t,n)=&gt;{if(n)return e.map(u=&gt;u.coordinate);var l,i,a=e.map(u=&gt;(u.coordinate===r&amp;&amp;(l=!0),u.coordinate===t&amp;&amp;(i=!0),u.coordinate));return l||a.push(r),i||a.push(t),a},u7=(e,r,t)=&gt;{if(!e)return null;var{duplicateDomain:n,type:l,range:i,scale:a,realScaleType:u,isCategorical:o,categoricalDomain:s,tickCount:c,ticks:f,niceTicks:h,axisType:m}=e;if(!a)return null;var p=u===&quot;scaleBand&quot;&amp;&amp;a.bandwidth?a.bandwidth()/2:2,v=l===&quot;category&quot;&amp;&amp;a.bandwidth?a.bandwidth()/p:0;if(v=m===&quot;angleAxis&quot;&amp;&amp;i&amp;&amp;i.length&gt;=2?ii(i[0]-i[1])*2*v:v,f||h){var g=(f||h||[]).map((b,x)=&gt;{var _=n?n.indexOf(b):b;return{coordinate:a(_)+v,value:b,offset:v,index:x}});return g.filter(b=&gt;!ls(b.coordinate))}return o&amp;&amp;s?s.map((b,x)=&gt;({coordinate:a(b)+v,value:b,index:x,offset:v})):a.ticks&amp;&amp;c!=null?a.ticks(c).map((b,x)=&gt;({coordinate:a(b)+v,value:b,offset:v,index:x})):a.domain().map((b,x)=&gt;({coordinate:a(b)+v,value:n?n[b]:b,index:x,offset:v}))},ej=1e-4,BU=e=&gt;{var r=e.domain();if(!(!r||r.length&lt;=2)){var t=r.length,n=e.range(),l=Math.min(n[0],n[1])-ej,i=Math.max(n[0],n[1])+ej,a=e(r[0]),u=e(r[t-1]);(a&lt;l||a&gt;i||u&lt;l||u&gt;i)&amp;&amp;e.domain([r[0],r[t-1]])}},zU=(e,r)=&gt;{if(!r||r.length!==2||!ht(r[0])||!ht(r[1]))return e;var t=Math.min(r[0],r[1]),n=Math.max(r[0],r[1]),l=[e[0],e[1]];return(!ht(e[0])||e[0]&lt;t)&amp;&amp;(l[0]=t),(!ht(e[1])||e[1]&gt;n)&amp;&amp;(l[1]=n),l[0]&gt;n&amp;&amp;(l[0]=n),l[1]&lt;t&amp;&amp;(l[1]=t),l},$U=e=&gt;{var r,t=e.length;if(!(t&lt;=0)){var n=(r=e[0])===null||r===void 0?void 0:r.length;if(!(n==null||n&lt;=0))for(var l=0;l&lt;n;++l)for(var i=0,a=0,u=0;u&lt;t;++u){var o=e[u],s=o?.[l];if(s!=null){var c=s[1],f=s[0],h=ls(c)?f:c;h&gt;=0?(s[0]=i,s[1]=i+h,i=c):(s[0]=a,s[1]=a+h,a=c)}}}},UU=e=&gt;{var r,t=e.length;if(!(t&lt;=0)){var n=(r=e[0])===null||r===void 0?void 0:r.length;if(!(n==null||n&lt;=0))for(var l=0;l&lt;n;++l)for(var i=0,a=0;a&lt;t;++a){var u=e[a],o=u?.[l];if(o!=null){var s=ls(o[1])?o[0]:o[1];s&gt;=0?(o[0]=i,o[1]=i+s,i=o[1]):(o[0]=0,o[1]=0)}}}},VU={sign:$U,expand:oz,none:rl,silhouette:lz,wiggle:cz,positive:UU},qU=(e,r,t)=&gt;{var n,l=(n=VU[t])!==null&amp;&amp;n!==void 0?n:rl,i=az().keys(r).value((u,o)=&gt;Number(Kr(u,o,0))).order(wb).offset(l),a=i(e);return a.forEach((u,o)=&gt;{u.forEach((s,c)=&gt;{var f=Kr(e[c],r[o],0);Array.isArray(f)&amp;&amp;f.length===2&amp;&amp;ht(f[0])&amp;&amp;ht(f[1])&amp;&amp;(s[0]=f[0],s[1]=f[1])})}),a};function HU(e){return e==null?void 0:String(e)}function tj(e){var{axis:r,ticks:t,bandSize:n,entry:l,index:i,dataKey:a}=e;if(r.type===&quot;category&quot;){if(!r.allowDuplicatedCategory&amp;&amp;r.dataKey&amp;&amp;!Nr(l[r.dataKey])){var u=gC(t,&quot;value&quot;,l[r.dataKey]);if(u)return u.coordinate+n/2}return t[i]?t[i].coordinate+n/2:null}var o=Kr(l,Nr(a)?r.dataKey:a);return Nr(o)?null:r.scale(o)}var rj=e=&gt;{var{axis:r,ticks:t,offset:n,bandSize:l,entry:i,index:a}=e;if(r.type===&quot;category&quot;)return t[a]?t[a].coordinate+n:null;var u=Kr(i,r.dataKey,r.scale.domain()[a]);return Nr(u)?null:r.scale(u)-l/2+n},WU=e=&gt;{var{numericAxis:r}=e,t=r.scale.domain();if(r.type===&quot;number&quot;){var n=Math.min(t[0],t[1]),l=Math.max(t[0],t[1]);return n&lt;=0&amp;&amp;l&gt;=0?0:l&lt;0?l:n}return t[0]},KU=e=&gt;{var r=e.flat(2).filter(ht);return[Math.min(...r),Math.max(...r)]},XU=e=&gt;[e[0]===1/0?0:e[0],e[1]===-1/0?0:e[1]],GU=(e,r,t)=&gt;{if(e!=null)return XU(Object.keys(e).reduce((n,l)=&gt;{var i=e[l];if(!i)return n;var{stackedData:a}=i,u=a.reduce((o,s)=&gt;{var c=l7(s,r,t),f=KU(c);return!Or(f[0])||!Or(f[1])?o:[Math.min(o[0],f[0]),Math.max(o[1],f[1])]},[1/0,-1/0]);return[Math.min(u[0],n[0]),Math.max(u[1],n[1])]},[1/0,-1/0]))},nj=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,ij=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,sc=(e,r,t)=&gt;{if(e&amp;&amp;e.scale&amp;&amp;e.scale.bandwidth){var n=e.scale.bandwidth();if(!t||n&gt;0)return n}if(e&amp;&amp;r&amp;&amp;r.length&gt;=2){for(var l=Ym(r,c=&gt;c.coordinate),i=1/0,a=1,u=l.length;a&lt;u;a++){var o=l[a],s=l[a-1];i=Math.min((o?.coordinate||0)-(s?.coordinate||0),i)}return i===1/0?0:i}return t?void 0:0};function sj(e){var{tooltipEntrySettings:r,dataKey:t,payload:n,value:l,name:i}=e;return Gl(Gl({},r),{},{dataKey:t,payload:n,value:l,name:i})}function ap(e,r){if(e)return String(e);if(typeof r==&quot;string&quot;)return r}var YU=(e,r)=&gt;{if(r===&quot;horizontal&quot;)return e.chartX;if(r===&quot;vertical&quot;)return e.chartY},ZU=(e,r)=&gt;r===&quot;centric&quot;?e.angle:e.radius,la=e=&gt;e.layout.width,ca=e=&gt;e.layout.height,QU=e=&gt;e.layout.scale,d7=e=&gt;e.layout.margin,op=Oe(e=&gt;e.cartesianAxis.xAxis,e=&gt;Object.values(e)),lp=Oe(e=&gt;e.cartesianAxis.yAxis,e=&gt;Object.values(e)),JU=&quot;data-recharts-item-index&quot;,eV=&quot;data-recharts-item-id&quot;,od=60;function aj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function eh(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?aj(Object(t),!0).forEach(function(n){tV(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):aj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function tV(e,r,t){return(r=rV(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function rV(e){var r=nV(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function nV(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var iV=e=&gt;e.brush.height;function sV(e){var r=lp(e);return r.reduce((t,n)=&gt;{if(n.orientation===&quot;left&quot;&amp;&amp;!n.mirror&amp;&amp;!n.hide){var l=typeof n.width==&quot;number&quot;?n.width:od;return t+l}return t},0)}function aV(e){var r=lp(e);return r.reduce((t,n)=&gt;{if(n.orientation===&quot;right&quot;&amp;&amp;!n.mirror&amp;&amp;!n.hide){var l=typeof n.width==&quot;number&quot;?n.width:od;return t+l}return t},0)}function oV(e){var r=op(e);return r.reduce((t,n)=&gt;n.orientation===&quot;top&quot;&amp;&amp;!n.mirror&amp;&amp;!n.hide?t+n.height:t,0)}function lV(e){var r=op(e);return r.reduce((t,n)=&gt;n.orientation===&quot;bottom&quot;&amp;&amp;!n.mirror&amp;&amp;!n.hide?t+n.height:t,0)}var hn=Oe([la,ca,d7,iV,sV,aV,oV,lV,OC,O$],(e,r,t,n,l,i,a,u,o,s)=&gt;{var c={left:(t.left||0)+l,right:(t.right||0)+i},f={top:(t.top||0)+a,bottom:(t.bottom||0)+u},h=eh(eh({},f),c),m=h.bottom;h.bottom+=n,h=FU(h,o,s);var p=e-h.left-h.right,v=r-h.top-h.bottom;return eh(eh({brushBottom:m},h),{},{width:Math.max(p,0),height:Math.max(v,0)})}),cV=Oe(hn,e=&gt;({x:e.left,y:e.top,width:e.width,height:e.height})),k1=Oe(la,ca,(e,r)=&gt;({x:0,y:0,width:e,height:r})),uV=F.createContext(null),Ln=()=&gt;F.useContext(uV)!=null,cp=e=&gt;e.brush,up=Oe([cp,hn,d7],(e,r,t)=&gt;({height:e.height,x:ht(e.x)?e.x:r.left,y:ht(e.y)?e.y:r.top+r.height+r.brushBottom-(t?.bottom||0),width:ht(e.width)?e.width:r.width})),Wv={},Kv={},Xv={},oj;function dV(){return oj||(oj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t,n,{signal:l,edges:i}={}){let a,u=null;const o=i!=null&amp;&amp;i.includes(&quot;leading&quot;),s=i==null||i.includes(&quot;trailing&quot;),c=()=&gt;{u!==null&amp;&amp;(t.apply(a,u),a=void 0,u=null)},f=()=&gt;{s&amp;&amp;c(),v()};let h=null;const m=()=&gt;{h!=null&amp;&amp;clearTimeout(h),h=setTimeout(()=&gt;{h=null,f()},n)},p=()=&gt;{h!==null&amp;&amp;(clearTimeout(h),h=null)},v=()=&gt;{p(),a=void 0,u=null},g=()=&gt;{c()},b=function(...x){if(l?.aborted)return;a=this,u=x;const _=h==null;m(),o&amp;&amp;_&amp;&amp;c()};return b.schedule=m,b.cancel=v,b.flush=g,l?.addEventListener(&quot;abort&quot;,v,{once:!0}),b}e.debounce=r})(Xv)),Xv}var lj;function fV(){return lj||(lj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=dV();function t(n,l=0,i={}){typeof i!=&quot;object&quot;&amp;&amp;(i={});const{leading:a=!1,trailing:u=!0,maxWait:o}=i,s=Array(2);a&amp;&amp;(s[0]=&quot;leading&quot;),u&amp;&amp;(s[1]=&quot;trailing&quot;);let c,f=null;const h=r.debounce(function(...v){c=n.apply(this,v),f=null},l,{edges:s}),m=function(...v){return o!=null&amp;&amp;(f===null&amp;&amp;(f=Date.now()),Date.now()-f&gt;=o)?(c=n.apply(this,v),f=Date.now(),h.cancel(),h.schedule(),c):(h.apply(this,v),c)},p=()=&gt;(h.flush(),c);return m.cancel=h.cancel,m.flush=p,m}e.debounce=t})(Kv)),Kv}var cj;function hV(){return cj||(cj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=fV();function t(n,l=0,i={}){const{leading:a=!0,trailing:u=!0}=i;return r.debounce(n,l,{leading:a,maxWait:l,trailing:u})}e.throttle=t})(Wv)),Wv}var Gv,uj;function mV(){return uj||(uj=1,Gv=hV().throttle),Gv}var pV=mV();const gV=ds(pV);var rm=function(r,t){for(var n=arguments.length,l=new Array(n&gt;2?n-2:0),i=2;i&lt;n;i++)l[i-2]=arguments[i];if(typeof console&lt;&quot;u&quot;&amp;&amp;console.warn&amp;&amp;(t===void 0&amp;&amp;console.warn(&quot;LogUtils requires an error message argument&quot;),!r))if(t===void 0)console.warn(&quot;Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.&quot;);else{var a=0;console.warn(t.replace(/%s/g,()=&gt;l[a++]))}},f7=(e,r,t)=&gt;{var{width:n=&quot;100%&quot;,height:l=&quot;100%&quot;,aspect:i,maxHeight:a}=t,u=ea(n)?e:Number(n),o=ea(l)?r:Number(l);return i&amp;&amp;i&gt;0&amp;&amp;(u?o=u/i:o&amp;&amp;(u=o*i),a&amp;&amp;o!=null&amp;&amp;o&gt;a&amp;&amp;(o=a)),{calculatedWidth:u,calculatedHeight:o}},vV={width:0,height:0,overflow:&quot;visible&quot;},yV={width:0,overflowX:&quot;visible&quot;},bV={height:0,overflowY:&quot;visible&quot;},xV={},wV=e=&gt;{var{width:r,height:t}=e,n=ea(r),l=ea(t);return n&amp;&amp;l?vV:n?yV:l?bV:xV};function _V(e){var{width:r,height:t,aspect:n}=e,l=r,i=t;return l===void 0&amp;&amp;i===void 0?(l=&quot;100%&quot;,i=&quot;100%&quot;):l===void 0?l=n&amp;&amp;n&gt;0?void 0:&quot;100%&quot;:i===void 0&amp;&amp;(i=n&amp;&amp;n&gt;0?void 0:&quot;100%&quot;),{width:l,height:i}}function Tb(){return Tb=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Tb.apply(null,arguments)}function dj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function fj(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?dj(Object(t),!0).forEach(function(n){jV(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):dj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function jV(e,r,t){return(r=SV(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function SV(e){var r=kV(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function kV(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var h7=F.createContext({width:-1,height:-1});function NV(e){return As(e.width)&amp;&amp;As(e.height)}function m7(e){var{children:r,width:t,height:n}=e,l=F.useMemo(()=&gt;({width:t,height:n}),[t,n]);return NV(l)?F.createElement(h7.Provider,{value:l},r):null}var N1=()=&gt;F.useContext(h7),CV=F.forwardRef((e,r)=&gt;{var{aspect:t,initialDimension:n={width:-1,height:-1},width:l,height:i,minWidth:a=0,minHeight:u,maxHeight:o,children:s,debounce:c=0,id:f,className:h,onResize:m,style:p={}}=e,v=F.useRef(null),g=F.useRef();g.current=m,F.useImperativeHandle(r,()=&gt;v.current);var[b,x]=F.useState({containerWidth:n.width,containerHeight:n.height}),_=F.useCallback((L,q)=&gt;{x(W=&gt;{var K=Math.round(L),U=Math.round(q);return W.containerWidth===K&amp;&amp;W.containerHeight===U?W:{containerWidth:K,containerHeight:U}})},[]);F.useEffect(()=&gt;{if(v.current==null||typeof ResizeObserver&gt;&quot;u&quot;)return id;var L=U=&gt;{var P,{width:D,height:E}=U[0].contentRect;_(D,E),(P=g.current)===null||P===void 0||P.call(g,D,E)};c&gt;0&amp;&amp;(L=gV(L,c,{trailing:!0,leading:!1}));var q=new ResizeObserver(L),{width:W,height:K}=v.current.getBoundingClientRect();return _(W,K),q.observe(v.current),()=&gt;{q.disconnect()}},[_,c]);var{containerWidth:C,containerHeight:O}=b;rm(!t||t&gt;0,&quot;The aspect(%s) must be greater than zero.&quot;,t);var{calculatedWidth:R,calculatedHeight:H}=f7(C,O,{width:l,height:i,aspect:t,maxHeight:o});return rm(R!=null&amp;&amp;R&gt;0||H!=null&amp;&amp;H&gt;0,`The width(%s) and height(%s) of chart should be greater than 0,
       please check the style of container, or the props width(%s) and height(%s),
       or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the
       height and width.`,R,H,l,i,a,u,t),F.createElement(&quot;div&quot;,{id:f?&quot;&quot;.concat(f):void 0,className:ar(&quot;recharts-responsive-container&quot;,h),style:fj(fj({},p),{},{width:l,height:i,minWidth:a,minHeight:u,maxHeight:o}),ref:v},F.createElement(&quot;div&quot;,{style:wV({width:l,height:i})},F.createElement(m7,{width:R,height:H},s)))}),Yv=F.forwardRef((e,r)=&gt;{var t=N1();if(As(t.width)&amp;&amp;As(t.height))return e.children;var{width:n,height:l}=_V({width:e.width,height:e.height,aspect:e.aspect}),{calculatedWidth:i,calculatedHeight:a}=f7(void 0,void 0,{width:n,height:l,aspect:e.aspect,maxHeight:e.maxHeight});return ht(i)&amp;&amp;ht(a)?F.createElement(m7,{width:i,height:a},e.children):F.createElement(CV,Tb({},e,{width:n,height:l,ref:r}))});function p7(e){if(e)return{x:e.x,y:e.y,upperWidth:&quot;upperWidth&quot;in e?e.upperWidth:e.width,lowerWidth:&quot;lowerWidth&quot;in e?e.lowerWidth:e.width,width:e.width,height:e.height}}var dp=()=&gt;{var e,r=Ln(),t=wt(cV),n=wt(up),l=(e=wt(cp))===null||e===void 0?void 0:e.padding;return!r||!n||!l?t:{width:n.width-l.left-l.right,height:n.height-l.top-l.bottom,x:l.left,y:l.top}},EV={top:0,bottom:0,left:0,right:0,width:0,height:0,brushBottom:0},g7=()=&gt;{var e;return(e=wt(hn))!==null&amp;&amp;e!==void 0?e:EV},C1=()=&gt;wt(la),E1=()=&gt;wt(ca),AV=()=&gt;wt(e=&gt;e.layout.margin),rr=e=&gt;e.layout.layoutType,vc=()=&gt;wt(rr),MV=()=&gt;{var e=vc();return e!==void 0},fp=e=&gt;{var r=Pr(),t=Ln(),{width:n,height:l}=e,i=N1(),a=n,u=l;return i&amp;&amp;(a=i.width&gt;0?i.width:n,u=i.height&gt;0?i.height:l),F.useEffect(()=&gt;{!t&amp;&amp;As(a)&amp;&amp;As(u)&amp;&amp;r(PU({width:a,height:u}))},[r,t,a,u]),null},v7=Symbol.for(&quot;immer-nothing&quot;),hj=Symbol.for(&quot;immer-draftable&quot;),yi=Symbol.for(&quot;immer-state&quot;);function is(e,...r){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var zu=Object.getPrototypeOf;function ac(e){return!!e&amp;&amp;!!e[yi]}function il(e){return e?y7(e)||Array.isArray(e)||!!e[hj]||!!e.constructor?.[hj]||ld(e)||mp(e):!1}var OV=Object.prototype.constructor.toString(),mj=new WeakMap;function y7(e){if(!e||typeof e!=&quot;object&quot;)return!1;const r=Object.getPrototypeOf(e);if(r===null||r===Object.prototype)return!0;const t=Object.hasOwnProperty.call(r,&quot;constructor&quot;)&amp;&amp;r.constructor;if(t===Object)return!0;if(typeof t!=&quot;function&quot;)return!1;let n=mj.get(t);return n===void 0&amp;&amp;(n=Function.toString.call(t),mj.set(t,n)),n===OV}function nm(e,r,t=!0){hp(e)===0?(t?Reflect.ownKeys(e):Object.keys(e)).forEach(l=&gt;{r(l,e[l],e)}):e.forEach((n,l)=&gt;r(l,n,e))}function hp(e){const r=e[yi];return r?r.type_:Array.isArray(e)?1:ld(e)?2:mp(e)?3:0}function Ib(e,r){return hp(e)===2?e.has(r):Object.prototype.hasOwnProperty.call(e,r)}function b7(e,r,t){const n=hp(e);n===2?e.set(r,t):n===3?e.add(t):e[r]=t}function PV(e,r){return e===r?e!==0||1/e===1/r:e!==e&amp;&amp;r!==r}function ld(e){return e instanceof Map}function mp(e){return e instanceof Set}function $o(e){return e.copy_||e.base_}function Rb(e,r){if(ld(e))return new Map(e);if(mp(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const t=y7(e);if(r===!0||r===&quot;class_only&quot;&amp;&amp;!t){const n=Object.getOwnPropertyDescriptors(e);delete n[yi];let l=Reflect.ownKeys(n);for(let i=0;i&lt;l.length;i++){const a=l[i],u=n[a];u.writable===!1&amp;&amp;(u.writable=!0,u.configurable=!0),(u.get||u.set)&amp;&amp;(n[a]={configurable:!0,writable:!0,enumerable:u.enumerable,value:e[a]})}return Object.create(zu(e),n)}else{const n=zu(e);if(n!==null&amp;&amp;t)return{...e};const l=Object.create(n);return Object.assign(l,e)}}function A1(e,r=!1){return pp(e)||ac(e)||!il(e)||(hp(e)&gt;1&amp;&amp;Object.defineProperties(e,{set:th,add:th,clear:th,delete:th}),Object.freeze(e),r&amp;&amp;Object.values(e).forEach(t=&gt;A1(t,!0))),e}function TV(){is(2)}var th={value:TV};function pp(e){return e===null||typeof e!=&quot;object&quot;?!0:Object.isFrozen(e)}var IV={};function sl(e){const r=IV[e];return r||is(0,e),r}var $u;function x7(){return $u}function RV(e,r){return{drafts_:[],parent_:e,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function pj(e,r){r&amp;&amp;(sl(&quot;Patches&quot;),e.patches_=[],e.inversePatches_=[],e.patchListener_=r)}function Db(e){Lb(e),e.drafts_.forEach(DV),e.drafts_=null}function Lb(e){e===$u&amp;&amp;($u=e.parent_)}function gj(e){return $u=RV($u,e)}function DV(e){const r=e[yi];r.type_===0||r.type_===1?r.revoke_():r.revoked_=!0}function vj(e,r){r.unfinalizedDrafts_=r.drafts_.length;const t=r.drafts_[0];return e!==void 0&amp;&amp;e!==t?(t[yi].modified_&amp;&amp;(Db(r),is(4)),il(e)&amp;&amp;(e=im(r,e),r.parent_||sm(r,e)),r.patches_&amp;&amp;sl(&quot;Patches&quot;).generateReplacementPatches_(t[yi].base_,e,r.patches_,r.inversePatches_)):e=im(r,t,[]),Db(r),r.patches_&amp;&amp;r.patchListener_(r.patches_,r.inversePatches_),e!==v7?e:void 0}function im(e,r,t){if(pp(r))return r;const n=e.immer_.shouldUseStrictIteration(),l=r[yi];if(!l)return nm(r,(i,a)=&gt;yj(e,l,r,i,a,t),n),r;if(l.scope_!==e)return r;if(!l.modified_)return sm(e,l.base_,!0),l.base_;if(!l.finalized_){l.finalized_=!0,l.scope_.unfinalizedDrafts_--;const i=l.copy_;let a=i,u=!1;l.type_===3&amp;&amp;(a=new Set(i),i.clear(),u=!0),nm(a,(o,s)=&gt;yj(e,l,i,o,s,t,u),n),sm(e,i,!1),t&amp;&amp;e.patches_&amp;&amp;sl(&quot;Patches&quot;).generatePatches_(l,t,e.patches_,e.inversePatches_)}return l.copy_}function yj(e,r,t,n,l,i,a){if(l==null||typeof l!=&quot;object&quot;&amp;&amp;!a)return;const u=pp(l);if(!(u&amp;&amp;!a)){if(ac(l)){const o=i&amp;&amp;r&amp;&amp;r.type_!==3&amp;&amp;!Ib(r.assigned_,n)?i.concat(n):void 0,s=im(e,l,o);if(b7(t,n,s),ac(s))e.canAutoFreeze_=!1;else return}else a&amp;&amp;t.add(l);if(il(l)&amp;&amp;!u){if(!e.immer_.autoFreeze_&amp;&amp;e.unfinalizedDrafts_&lt;1||r&amp;&amp;r.base_&amp;&amp;r.base_[n]===l&amp;&amp;u)return;im(e,l),(!r||!r.scope_.parent_)&amp;&amp;typeof n!=&quot;symbol&quot;&amp;&amp;(ld(t)?t.has(n):Object.prototype.propertyIsEnumerable.call(t,n))&amp;&amp;sm(e,l)}}}function sm(e,r,t=!1){!e.parent_&amp;&amp;e.immer_.autoFreeze_&amp;&amp;e.canAutoFreeze_&amp;&amp;A1(r,t)}function LV(e,r){const t=Array.isArray(e),n={type_:t?1:0,scope_:r?r.scope_:x7(),modified_:!1,finalized_:!1,assigned_:{},parent_:r,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let l=n,i=M1;t&amp;&amp;(l=[n],i=Uu);const{revoke:a,proxy:u}=Proxy.revocable(l,i);return n.draft_=u,n.revoke_=a,u}var M1={get(e,r){if(r===yi)return e;const t=$o(e);if(!Ib(t,r))return FV(e,t,r);const n=t[r];return e.finalized_||!il(n)?n:n===Zv(e.base_,r)?(Qv(e),e.copy_[r]=Bb(n,e)):n},has(e,r){return r in $o(e)},ownKeys(e){return Reflect.ownKeys($o(e))},set(e,r,t){const n=w7($o(e),r);if(n?.set)return n.set.call(e.draft_,t),!0;if(!e.modified_){const l=Zv($o(e),r),i=l?.[yi];if(i&amp;&amp;i.base_===t)return e.copy_[r]=t,e.assigned_[r]=!1,!0;if(PV(t,l)&amp;&amp;(t!==void 0||Ib(e.base_,r)))return!0;Qv(e),Fb(e)}return e.copy_[r]===t&amp;&amp;(t!==void 0||r in e.copy_)||Number.isNaN(t)&amp;&amp;Number.isNaN(e.copy_[r])||(e.copy_[r]=t,e.assigned_[r]=!0),!0},deleteProperty(e,r){return Zv(e.base_,r)!==void 0||r in e.base_?(e.assigned_[r]=!1,Qv(e),Fb(e)):delete e.assigned_[r],e.copy_&amp;&amp;delete e.copy_[r],!0},getOwnPropertyDescriptor(e,r){const t=$o(e),n=Reflect.getOwnPropertyDescriptor(t,r);return n&amp;&amp;{writable:!0,configurable:e.type_!==1||r!==&quot;length&quot;,enumerable:n.enumerable,value:t[r]}},defineProperty(){is(11)},getPrototypeOf(e){return zu(e.base_)},setPrototypeOf(){is(12)}},Uu={};nm(M1,(e,r)=&gt;{Uu[e]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}});Uu.deleteProperty=function(e,r){return Uu.set.call(this,e,r,void 0)};Uu.set=function(e,r,t){return M1.set.call(this,e[0],r,t,e[0])};function Zv(e,r){const t=e[yi];return(t?$o(t):e)[r]}function FV(e,r,t){const n=w7(r,t);return n?&quot;value&quot;in n?n.value:n.get?.call(e.draft_):void 0}function w7(e,r){if(!(r in e))return;let t=zu(e);for(;t;){const n=Object.getOwnPropertyDescriptor(t,r);if(n)return n;t=zu(t)}}function Fb(e){e.modified_||(e.modified_=!0,e.parent_&amp;&amp;Fb(e.parent_))}function Qv(e){e.copy_||(e.copy_=Rb(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var BV=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(r,t,n)=&gt;{if(typeof r==&quot;function&quot;&amp;&amp;typeof t!=&quot;function&quot;){const i=t;t=r;const a=this;return function(o=i,...s){return a.produce(o,c=&gt;t.call(this,c,...s))}}typeof t!=&quot;function&quot;&amp;&amp;is(6),n!==void 0&amp;&amp;typeof n!=&quot;function&quot;&amp;&amp;is(7);let l;if(il(r)){const i=gj(this),a=Bb(r,void 0);let u=!0;try{l=t(a),u=!1}finally{u?Db(i):Lb(i)}return pj(i,n),vj(l,i)}else if(!r||typeof r!=&quot;object&quot;){if(l=t(r),l===void 0&amp;&amp;(l=r),l===v7&amp;&amp;(l=void 0),this.autoFreeze_&amp;&amp;A1(l,!0),n){const i=[],a=[];sl(&quot;Patches&quot;).generateReplacementPatches_(r,l,i,a),n(i,a)}return l}else is(1,r)},this.produceWithPatches=(r,t)=&gt;{if(typeof r==&quot;function&quot;)return(a,...u)=&gt;this.produceWithPatches(a,o=&gt;r(o,...u));let n,l;return[this.produce(r,t,(a,u)=&gt;{n=a,l=u}),n,l]},typeof e?.autoFreeze==&quot;boolean&quot;&amp;&amp;this.setAutoFreeze(e.autoFreeze),typeof e?.useStrictShallowCopy==&quot;boolean&quot;&amp;&amp;this.setUseStrictShallowCopy(e.useStrictShallowCopy),typeof e?.useStrictIteration==&quot;boolean&quot;&amp;&amp;this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){il(e)||is(8),ac(e)&amp;&amp;(e=zV(e));const r=gj(this),t=Bb(e,void 0);return t[yi].isManual_=!0,Lb(r),t}finishDraft(e,r){const t=e&amp;&amp;e[yi];(!t||!t.isManual_)&amp;&amp;is(9);const{scope_:n}=t;return pj(n,r),vj(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,r){let t;for(t=r.length-1;t&gt;=0;t--){const l=r[t];if(l.path.length===0&amp;&amp;l.op===&quot;replace&quot;){e=l.value;break}}t&gt;-1&amp;&amp;(r=r.slice(t+1));const n=sl(&quot;Patches&quot;).applyPatches_;return ac(e)?n(e,r):this.produce(e,l=&gt;n(l,r))}};function Bb(e,r){const t=ld(e)?sl(&quot;MapSet&quot;).proxyMap_(e,r):mp(e)?sl(&quot;MapSet&quot;).proxySet_(e,r):LV(e,r);return(r?r.scope_:x7()).drafts_.push(t),t}function zV(e){return ac(e)||is(10,e),_7(e)}function _7(e){if(!il(e)||pp(e))return e;const r=e[yi];let t,n=!0;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,t=Rb(e,r.scope_.immer_.useStrictShallowCopy_),n=r.scope_.immer_.shouldUseStrictIteration()}else t=Rb(e,!0);return nm(t,(l,i)=&gt;{b7(t,l,_7(i))},n),r&amp;&amp;(r.finalized_=!1),t}var $V=new BV;$V.produce;var UV={settings:{layout:&quot;horizontal&quot;,align:&quot;center&quot;,verticalAlign:&quot;middle&quot;,itemSorter:&quot;value&quot;},size:{width:0,height:0},payload:[]},j7=oi({name:&quot;legend&quot;,initialState:UV,reducers:{setLegendSize(e,r){e.size.width=r.payload.width,e.size.height=r.payload.height},setLegendSettings(e,r){e.settings.align=r.payload.align,e.settings.layout=r.payload.layout,e.settings.verticalAlign=r.payload.verticalAlign,e.settings.itemSorter=r.payload.itemSorter},addLegendPayload:{reducer(e,r){e.payload.push(r.payload)},prepare:Sr()},replaceLegendPayload:{reducer(e,r){var{prev:t,next:n}=r.payload,l=as(e).payload.indexOf(t);l&gt;-1&amp;&amp;(e.payload[l]=n)},prepare:Sr()},removeLegendPayload:{reducer(e,r){var t=as(e).payload.indexOf(r.payload);t&gt;-1&amp;&amp;e.payload.splice(t,1)},prepare:Sr()}}}),{setLegendSize:bj,setLegendSettings:VV,addLegendPayload:qV,replaceLegendPayload:HV,removeLegendPayload:WV}=j7.actions,KV=j7.reducer,XV=[&quot;contextPayload&quot;];function zb(){return zb=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},zb.apply(null,arguments)}function xj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function oc(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?xj(Object(t),!0).forEach(function(n){GV(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):xj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function GV(e,r,t){return(r=YV(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function YV(e){var r=ZV(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function ZV(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function QV(e,r){if(e==null)return{};var t,n,l=JV(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(l[t]=e[t])}return l}function JV(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function eq(e){return e.value}function tq(e){var{contextPayload:r}=e,t=QV(e,XV),n=CC(r,e.payloadUniqBy,eq),l=oc(oc({},t),{},{payload:n});return F.isValidElement(e.content)?F.cloneElement(e.content,l):typeof e.content==&quot;function&quot;?F.createElement(e.content,l):F.createElement(Bz,l)}function rq(e,r,t,n,l,i){var{layout:a,align:u,verticalAlign:o}=r,s,c;return(!e||(e.left===void 0||e.left===null)&amp;&amp;(e.right===void 0||e.right===null))&amp;&amp;(u===&quot;center&quot;&amp;&amp;a===&quot;vertical&quot;?s={left:((n||0)-i.width)/2}:s=u===&quot;right&quot;?{right:t&amp;&amp;t.right||0}:{left:t&amp;&amp;t.left||0}),(!e||(e.top===void 0||e.top===null)&amp;&amp;(e.bottom===void 0||e.bottom===null))&amp;&amp;(o===&quot;middle&quot;?c={top:((l||0)-i.height)/2}:c=o===&quot;bottom&quot;?{bottom:t&amp;&amp;t.bottom||0}:{top:t&amp;&amp;t.top||0}),oc(oc({},s),c)}function nq(e){var r=Pr();return F.useEffect(()=&gt;{r(VV(e))},[r,e]),null}function iq(e){var r=Pr();return F.useEffect(()=&gt;(r(bj(e)),()=&gt;{r(bj({width:0,height:0}))}),[r,e]),null}function sq(e,r,t,n){return e===&quot;vertical&quot;&amp;&amp;ht(r)?{height:r}:e===&quot;horizontal&quot;?{width:t||n}:null}var aq={align:&quot;center&quot;,iconSize:14,itemSorter:&quot;value&quot;,layout:&quot;horizontal&quot;,verticalAlign:&quot;bottom&quot;};function _h(e){var r=Nn(e,aq),t=I$(),n=MB(),l=AV(),{width:i,height:a,wrapperStyle:u,portal:o}=r,[s,c]=PC([t]),f=C1(),h=E1();if(f==null||h==null)return null;var m=f-(l?.left||0)-(l?.right||0),p=sq(r.layout,a,i,m),v=o?u:oc(oc({position:&quot;absolute&quot;,width:p?.width||i||&quot;auto&quot;,height:p?.height||a||&quot;auto&quot;},rq(u,r,l,f,h,s)),u),g=o??n;if(g==null||t==null)return null;var b=F.createElement(&quot;div&quot;,{className:&quot;recharts-legend-wrapper&quot;,style:v,ref:c},F.createElement(nq,{layout:r.layout,align:r.align,verticalAlign:r.verticalAlign,itemSorter:r.itemSorter}),!o&amp;&amp;F.createElement(iq,{width:s.width,height:s.height}),F.createElement(tq,zb({},r,p,{margin:l,chartWidth:f,chartHeight:h,contextPayload:t})));return Rm.createPortal(b,g)}_h.displayName=&quot;Legend&quot;;function $b(){return $b=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},$b.apply(null,arguments)}function wj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Jv(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?wj(Object(t),!0).forEach(function(n){oq(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):wj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function oq(e,r,t){return(r=lq(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function lq(e){var r=cq(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function cq(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function uq(e){return Array.isArray(e)&amp;&amp;Es(e[0])&amp;&amp;Es(e[1])?e.join(&quot; ~ &quot;):e}var dq=e=&gt;{var{separator:r=&quot; : &quot;,contentStyle:t={},itemStyle:n={},labelStyle:l={},payload:i,formatter:a,itemSorter:u,wrapperClassName:o,labelClassName:s,label:c,labelFormatter:f,accessibilityLayer:h=!1}=e,m=()=&gt;{if(i&amp;&amp;i.length){var O={padding:0,margin:0},R=(u?Ym(i,u):i).map((H,L)=&gt;{if(H.type===&quot;none&quot;)return null;var q=H.formatter||a||uq,{value:W,name:K}=H,U=W,P=K;if(q){var D=q(W,K,H,L,i);if(Array.isArray(D))[U,P]=D;else if(D!=null)U=D;else return null}var E=Jv({display:&quot;block&quot;,paddingTop:4,paddingBottom:4,color:H.color||&quot;#000&quot;},n);return F.createElement(&quot;li&quot;,{className:&quot;recharts-tooltip-item&quot;,key:&quot;tooltip-item-&quot;.concat(L),style:E},Es(P)?F.createElement(&quot;span&quot;,{className:&quot;recharts-tooltip-item-name&quot;},P):null,Es(P)?F.createElement(&quot;span&quot;,{className:&quot;recharts-tooltip-item-separator&quot;},r):null,F.createElement(&quot;span&quot;,{className:&quot;recharts-tooltip-item-value&quot;},U),F.createElement(&quot;span&quot;,{className:&quot;recharts-tooltip-item-unit&quot;},H.unit||&quot;&quot;))});return F.createElement(&quot;ul&quot;,{className:&quot;recharts-tooltip-item-list&quot;,style:O},R)}return null},p=Jv({margin:0,padding:10,backgroundColor:&quot;#fff&quot;,border:&quot;1px solid #ccc&quot;,whiteSpace:&quot;nowrap&quot;},t),v=Jv({margin:0},l),g=!Nr(c),b=g?c:&quot;&quot;,x=ar(&quot;recharts-default-tooltip&quot;,o),_=ar(&quot;recharts-tooltip-label&quot;,s);g&amp;&amp;f&amp;&amp;i!==void 0&amp;&amp;i!==null&amp;&amp;(b=f(c,i));var C=h?{role:&quot;status&quot;,&quot;aria-live&quot;:&quot;assertive&quot;}:{};return F.createElement(&quot;div&quot;,$b({className:x,style:p},C),F.createElement(&quot;p&quot;,{className:_,style:v},F.isValidElement(b)?b:&quot;&quot;.concat(b)),m())},ou=&quot;recharts-tooltip-wrapper&quot;,fq={visibility:&quot;hidden&quot;};function hq(e){var{coordinate:r,translateX:t,translateY:n}=e;return ar(ou,{[&quot;&quot;.concat(ou,&quot;-right&quot;)]:ht(t)&amp;&amp;r&amp;&amp;ht(r.x)&amp;&amp;t&gt;=r.x,[&quot;&quot;.concat(ou,&quot;-left&quot;)]:ht(t)&amp;&amp;r&amp;&amp;ht(r.x)&amp;&amp;t&lt;r.x,[&quot;&quot;.concat(ou,&quot;-bottom&quot;)]:ht(n)&amp;&amp;r&amp;&amp;ht(r.y)&amp;&amp;n&gt;=r.y,[&quot;&quot;.concat(ou,&quot;-top&quot;)]:ht(n)&amp;&amp;r&amp;&amp;ht(r.y)&amp;&amp;n&lt;r.y})}function _j(e){var{allowEscapeViewBox:r,coordinate:t,key:n,offsetTopLeft:l,position:i,reverseDirection:a,tooltipDimension:u,viewBox:o,viewBoxDimension:s}=e;if(i&amp;&amp;ht(i[n]))return i[n];var c=t[n]-u-(l&gt;0?l:0),f=t[n]+l;if(r[n])return a[n]?c:f;var h=o[n];if(h==null)return 0;if(a[n]){var m=c,p=h;return m&lt;p?Math.max(f,h):Math.max(c,h)}if(s==null)return 0;var v=f+u,g=h+s;return v&gt;g?Math.max(c,h):Math.max(f,h)}function mq(e){var{translateX:r,translateY:t,useTranslate3d:n}=e;return{transform:n?&quot;translate3d(&quot;.concat(r,&quot;px, &quot;).concat(t,&quot;px, 0)&quot;):&quot;translate(&quot;.concat(r,&quot;px, &quot;).concat(t,&quot;px)&quot;)}}function pq(e){var{allowEscapeViewBox:r,coordinate:t,offsetTopLeft:n,position:l,reverseDirection:i,tooltipBox:a,useTranslate3d:u,viewBox:o}=e,s,c,f;return a.height&gt;0&amp;&amp;a.width&gt;0&amp;&amp;t?(c=_j({allowEscapeViewBox:r,coordinate:t,key:&quot;x&quot;,offsetTopLeft:n,position:l,reverseDirection:i,tooltipDimension:a.width,viewBox:o,viewBoxDimension:o.width}),f=_j({allowEscapeViewBox:r,coordinate:t,key:&quot;y&quot;,offsetTopLeft:n,position:l,reverseDirection:i,tooltipDimension:a.height,viewBox:o,viewBoxDimension:o.height}),s=mq({translateX:c,translateY:f,useTranslate3d:u})):s=fq,{cssProperties:s,cssClasses:hq({translateX:c,translateY:f,coordinate:t})}}function jj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function rh(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?jj(Object(t),!0).forEach(function(n){Ub(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):jj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Ub(e,r,t){return(r=gq(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function gq(e){var r=vq(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function vq(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}class yq extends F.PureComponent{constructor(){super(...arguments),Ub(this,&quot;state&quot;,{dismissed:!1,dismissedAtCoordinate:{x:0,y:0}}),Ub(this,&quot;handleKeyDown&quot;,r=&gt;{if(r.key===&quot;Escape&quot;){var t,n,l,i;this.setState({dismissed:!0,dismissedAtCoordinate:{x:(t=(n=this.props.coordinate)===null||n===void 0?void 0:n.x)!==null&amp;&amp;t!==void 0?t:0,y:(l=(i=this.props.coordinate)===null||i===void 0?void 0:i.y)!==null&amp;&amp;l!==void 0?l:0}})}})}componentDidMount(){document.addEventListener(&quot;keydown&quot;,this.handleKeyDown)}componentWillUnmount(){document.removeEventListener(&quot;keydown&quot;,this.handleKeyDown)}componentDidUpdate(){var r,t;this.state.dismissed&amp;&amp;(((r=this.props.coordinate)===null||r===void 0?void 0:r.x)!==this.state.dismissedAtCoordinate.x||((t=this.props.coordinate)===null||t===void 0?void 0:t.y)!==this.state.dismissedAtCoordinate.y)&amp;&amp;(this.state.dismissed=!1)}render(){var{active:r,allowEscapeViewBox:t,animationDuration:n,animationEasing:l,children:i,coordinate:a,hasPayload:u,isAnimationActive:o,offset:s,position:c,reverseDirection:f,useTranslate3d:h,viewBox:m,wrapperStyle:p,lastBoundingBox:v,innerRef:g,hasPortalFromProps:b}=this.props,{cssClasses:x,cssProperties:_}=pq({allowEscapeViewBox:t,coordinate:a,offsetTopLeft:s,position:c,reverseDirection:f,tooltipBox:{height:v.height,width:v.width},useTranslate3d:h,viewBox:m}),C=b?{}:rh(rh({transition:o&amp;&amp;r?&quot;transform &quot;.concat(n,&quot;ms &quot;).concat(l):void 0},_),{},{pointerEvents:&quot;none&quot;,visibility:!this.state.dismissed&amp;&amp;r&amp;&amp;u?&quot;visible&quot;:&quot;hidden&quot;,position:&quot;absolute&quot;,top:0,left:0}),O=rh(rh({},C),{},{visibility:!this.state.dismissed&amp;&amp;r&amp;&amp;u?&quot;visible&quot;:&quot;hidden&quot;},p);return F.createElement(&quot;div&quot;,{xmlns:&quot;http://www.w3.org/1999/xhtml&quot;,tabIndex:-1,className:x,style:O,ref:g},i)}}var S7=()=&gt;{var e;return(e=wt(r=&gt;r.rootProps.accessibilityLayer))!==null&amp;&amp;e!==void 0?e:!0};function Vb(){return Vb=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Vb.apply(null,arguments)}function Sj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function kj(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Sj(Object(t),!0).forEach(function(n){bq(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Sj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function bq(e,r,t){return(r=xq(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function xq(e){var r=wq(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function wq(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var Nj={curveBasisClosed:GB,curveBasisOpen:YB,curveBasis:XB,curveBumpX:IB,curveBumpY:RB,curveLinearClosed:ZB,curveLinear:Km,curveMonotoneX:QB,curveMonotoneY:JB,curveNatural:ez,curveStep:tz,curveStepAfter:nz,curveStepBefore:rz},am=e=&gt;Or(e.x)&amp;&amp;Or(e.y),Cj=e=&gt;e.base!=null&amp;&amp;am(e.base)&amp;&amp;am(e),lu=e=&gt;e.x,cu=e=&gt;e.y,_q=(e,r)=&gt;{if(typeof e==&quot;function&quot;)return e;var t=&quot;curve&quot;.concat(nd(e));return(t===&quot;curveMonotone&quot;||t===&quot;curveBump&quot;)&amp;&amp;r?Nj[&quot;&quot;.concat(t).concat(r===&quot;vertical&quot;?&quot;Y&quot;:&quot;X&quot;)]:Nj[t]||Km},jq=e=&gt;{var{type:r=&quot;linear&quot;,points:t=[],baseLine:n,layout:l,connectNulls:i=!1}=e,a=_q(r,l),u=i?t.filter(am):t,o;if(Array.isArray(n)){var s=t.map((m,p)=&gt;kj(kj({},m),{},{base:n[p]}));l===&quot;vertical&quot;?o=Xf().y(cu).x1(lu).x0(m=&gt;m.base.x):o=Xf().x(lu).y1(cu).y0(m=&gt;m.base.y);var c=o.defined(Cj).curve(a),f=i?s.filter(Cj):s;return c(f)}l===&quot;vertical&quot;&amp;&amp;ht(n)?o=Xf().y(cu).x1(lu).x0(n):ht(n)?o=Xf().x(lu).y1(cu).y0(n):o=nC().x(lu).y(cu);var h=o.defined(am).curve(a);return h(u)},k7=e=&gt;{var{className:r,points:t,path:n,pathRef:l}=e,i=vc();if((!t||!t.length)&amp;&amp;!n)return null;var a={type:e.type,points:e.points,baseLine:e.baseLine,layout:e.layout||i,connectNulls:e.connectNulls},u=t&amp;&amp;t.length?jq(a):n;return F.createElement(&quot;path&quot;,Vb({},os(e),p1(e),{className:ar(&quot;recharts-curve&quot;,r),d:u===null?void 0:u,ref:l}))},Sq=[&quot;x&quot;,&quot;y&quot;,&quot;top&quot;,&quot;left&quot;,&quot;width&quot;,&quot;height&quot;,&quot;className&quot;];function qb(){return qb=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},qb.apply(null,arguments)}function Ej(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function kq(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Ej(Object(t),!0).forEach(function(n){Nq(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ej(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Nq(e,r,t){return(r=Cq(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Cq(e){var r=Eq(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Eq(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function Aq(e,r){if(e==null)return{};var t,n,l=Mq(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(l[t]=e[t])}return l}function Mq(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var Oq=(e,r,t,n,l,i)=&gt;&quot;M&quot;.concat(e,&quot;,&quot;).concat(l,&quot;v&quot;).concat(n,&quot;M&quot;).concat(i,&quot;,&quot;).concat(r,&quot;h&quot;).concat(t),Pq=e=&gt;{var{x:r=0,y:t=0,top:n=0,left:l=0,width:i=0,height:a=0,className:u}=e,o=Aq(e,Sq),s=kq({x:r,y:t,top:n,left:l,width:i,height:a},o);return!ht(r)||!ht(t)||!ht(i)||!ht(a)||!ht(n)||!ht(l)?null:F.createElement(&quot;path&quot;,qb({},Xn(s),{className:ar(&quot;recharts-cross&quot;,u),d:Oq(r,t,i,a,n,l)}))};function Tq(e,r,t,n){var l=n/2;return{stroke:&quot;none&quot;,fill:&quot;#ccc&quot;,x:e===&quot;horizontal&quot;?r.x-l:t.left+.5,y:e===&quot;horizontal&quot;?t.top+.5:r.y-l,width:e===&quot;horizontal&quot;?n:t.width-1,height:e===&quot;horizontal&quot;?t.height-1:n}}function Aj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Mj(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Aj(Object(t),!0).forEach(function(n){Iq(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Aj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Iq(e,r,t){return(r=Rq(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Rq(e){var r=Dq(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Dq(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var Lq=e=&gt;e.replace(/([A-Z])/g,r=&gt;&quot;-&quot;.concat(r.toLowerCase())),N7=(e,r,t)=&gt;e.map(n=&gt;&quot;&quot;.concat(Lq(n),&quot; &quot;).concat(r,&quot;ms &quot;).concat(t)).join(&quot;,&quot;),Fq=(e,r)=&gt;[Object.keys(e),Object.keys(r)].reduce((t,n)=&gt;t.filter(l=&gt;n.includes(l))),Vu=(e,r)=&gt;Object.keys(r).reduce((t,n)=&gt;Mj(Mj({},t),{},{[n]:e(n,r[n])}),{});function Oj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Qr(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Oj(Object(t),!0).forEach(function(n){Bq(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Oj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Bq(e,r,t){return(r=zq(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function zq(e){var r=$q(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function $q(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var om=(e,r,t)=&gt;e+(r-e)*t,Hb=e=&gt;{var{from:r,to:t}=e;return r!==t},C7=(e,r,t)=&gt;{var n=Vu((l,i)=&gt;{if(Hb(i)){var[a,u]=e(i.from,i.to,i.velocity);return Qr(Qr({},i),{},{from:a,velocity:u})}return i},r);return t&lt;1?Vu((l,i)=&gt;Hb(i)&amp;&amp;n[l]!=null?Qr(Qr({},i),{},{velocity:om(i.velocity,n[l].velocity,t),from:om(i.from,n[l].from,t)}):i,r):C7(e,n,t-1)};function Uq(e,r,t,n,l,i){var a,u=n.reduce((h,m)=&gt;Qr(Qr({},h),{},{[m]:{from:e[m],velocity:0,to:r[m]}}),{}),o=()=&gt;Vu((h,m)=&gt;m.from,u),s=()=&gt;!Object.values(u).filter(Hb).length,c=null,f=h=&gt;{a||(a=h);var m=h-a,p=m/t.dt;u=C7(t,u,p),l(Qr(Qr(Qr({},e),r),o())),a=h,s()||(c=i.setTimeout(f))};return()=&gt;(c=i.setTimeout(f),()=&gt;{var h;(h=c)===null||h===void 0||h()})}function Vq(e,r,t,n,l,i,a){var u=null,o=l.reduce((f,h)=&gt;{var m=e[h],p=r[h];return m==null||p==null?f:Qr(Qr({},f),{},{[h]:[m,p]})},{}),s,c=f=&gt;{s||(s=f);var h=(f-s)/n,m=Vu((v,g)=&gt;om(...g,t(h)),o);if(i(Qr(Qr(Qr({},e),r),m)),h&lt;1)u=a.setTimeout(c);else{var p=Vu((v,g)=&gt;om(...g,t(1)),o);i(Qr(Qr(Qr({},e),r),p))}};return()=&gt;(u=a.setTimeout(c),()=&gt;{var f;(f=u)===null||f===void 0||f()})}const qq=(e,r,t,n,l,i)=&gt;{var a=Fq(e,r);return t==null?()=&gt;(l(Qr(Qr({},e),r)),()=&gt;{}):t.isStepper===!0?Uq(e,r,t,a,l,i):Vq(e,r,t,n,a,l,i)};var lm=1e-4,E7=(e,r)=&gt;[0,3*e,3*r-6*e,3*e-3*r+1],A7=(e,r)=&gt;e.map((t,n)=&gt;t*r**n).reduce((t,n)=&gt;t+n),Pj=(e,r)=&gt;t=&gt;{var n=E7(e,r);return A7(n,t)},Hq=(e,r)=&gt;t=&gt;{var n=E7(e,r),l=[...n.map((i,a)=&gt;i*a).slice(1),0];return A7(l,t)},Wq=e=&gt;{var r,t=e.split(&quot;(&quot;);if(t.length!==2||t[0]!==&quot;cubic-bezier&quot;)return null;var n=(r=t[1])===null||r===void 0||(r=r.split(&quot;)&quot;)[0])===null||r===void 0?void 0:r.split(&quot;,&quot;);if(n==null||n.length!==4)return null;var l=n.map(i=&gt;parseFloat(i));return[l[0],l[1],l[2],l[3]]},Kq=function(){for(var r=arguments.length,t=new Array(r),n=0;n&lt;r;n++)t[n]=arguments[n];if(t.length===1)switch(t[0]){case&quot;linear&quot;:return[0,0,1,1];case&quot;ease&quot;:return[.25,.1,.25,1];case&quot;ease-in&quot;:return[.42,0,1,1];case&quot;ease-out&quot;:return[.42,0,.58,1];case&quot;ease-in-out&quot;:return[0,0,.58,1];default:{var l=Wq(t[0]);if(l)return l}}return t.length===4?t:[0,0,1,1]},Xq=(e,r,t,n)=&gt;{var l=Pj(e,t),i=Pj(r,n),a=Hq(e,t),u=s=&gt;s&gt;1?1:s&lt;0?0:s,o=s=&gt;{for(var c=s&gt;1?1:s,f=c,h=0;h&lt;8;++h){var m=l(f)-c,p=a(f);if(Math.abs(m-c)&lt;lm||p&lt;lm)return i(f);f=u(f-m/p)}return i(f)};return o.isStepper=!1,o},Tj=function(){return Xq(...Kq(...arguments))},Gq=function(){var r=arguments.length&gt;0&amp;&amp;arguments[0]!==void 0?arguments[0]:{},{stiff:t=100,damping:n=8,dt:l=17}=r,i=(a,u,o)=&gt;{var s=-(a-u)*t,c=o*n,f=o+(s-c)*l/1e3,h=o*l/1e3+a;return Math.abs(h-u)&lt;lm&amp;&amp;Math.abs(f)&lt;lm?[u,0]:[h,f]};return i.isStepper=!0,i.dt=l,i},Yq=e=&gt;{if(typeof e==&quot;string&quot;)switch(e){case&quot;ease&quot;:case&quot;ease-in-out&quot;:case&quot;ease-out&quot;:case&quot;ease-in&quot;:case&quot;linear&quot;:return Tj(e);case&quot;spring&quot;:return Gq();default:if(e.split(&quot;(&quot;)[0]===&quot;cubic-bezier&quot;)return Tj(e)}return typeof e==&quot;function&quot;?e:null};function Zq(e){var r,t=()=&gt;null,n=!1,l=null,i=a=&gt;{if(!n){if(Array.isArray(a)){if(!a.length)return;var u=a,[o,...s]=u;if(typeof o==&quot;number&quot;){l=e.setTimeout(i.bind(null,s),o);return}i(o),l=e.setTimeout(i.bind(null,s));return}typeof a==&quot;string&quot;&amp;&amp;(r=a,t(r)),typeof a==&quot;object&quot;&amp;&amp;(r=a,t(r)),typeof a==&quot;function&quot;&amp;&amp;a()}};return{stop:()=&gt;{n=!0},start:a=&gt;{n=!1,l&amp;&amp;(l(),l=null),i(a)},subscribe:a=&gt;(t=a,()=&gt;{t=()=&gt;null}),getTimeoutController:()=&gt;e}}class Qq{setTimeout(r){var t=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:0,n=performance.now(),l=null,i=a=&gt;{a-n&gt;=t?r(a):typeof requestAnimationFrame==&quot;function&quot;&amp;&amp;(l=requestAnimationFrame(i))};return l=requestAnimationFrame(i),()=&gt;{l!=null&amp;&amp;cancelAnimationFrame(l)}}}function Jq(){return Zq(new Qq)}var eH=F.createContext(Jq);function tH(e,r){var t=F.useContext(eH);return F.useMemo(()=&gt;r??t(e),[e,r,t])}var rH=()=&gt;!(typeof window&lt;&quot;u&quot;&amp;&amp;window.document&amp;&amp;window.document.createElement&amp;&amp;window.setTimeout),gp={isSsr:rH()},nH={begin:0,duration:1e3,easing:&quot;ease&quot;,isActive:!0,canBegin:!0,onAnimationEnd:()=&gt;{},onAnimationStart:()=&gt;{}},Ij={t:0},ey={t:1};function vp(e){var r=Nn(e,nH),{isActive:t,canBegin:n,duration:l,easing:i,begin:a,onAnimationEnd:u,onAnimationStart:o,children:s}=r,c=t===&quot;auto&quot;?!gp.isSsr:t,f=tH(r.animationId,r.animationManager),[h,m]=F.useState(c?Ij:ey),p=F.useRef(null);return F.useEffect(()=&gt;{c||m(ey)},[c]),F.useEffect(()=&gt;{if(!c||!n)return id;var v=qq(Ij,ey,Yq(i),l,m,f.getTimeoutController()),g=()=&gt;{p.current=v()};return f.start([o,a,g,l,u]),()=&gt;{f.stop(),p.current&amp;&amp;p.current(),u()}},[c,n,l,i,a,o,u,f]),s(h.t)}function yp(e){var r=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:&quot;animation-&quot;,t=F.useRef(Du(r)),n=F.useRef(e);return n.current!==e&amp;&amp;(t.current=Du(r),n.current=e),t.current}var iH=[&quot;radius&quot;],sH=[&quot;radius&quot;],Rj,Dj,Lj,Fj,Bj,zj,$j,Uj,Vj,qj;function Hj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Wj(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Hj(Object(t),!0).forEach(function(n){aH(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Hj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function aH(e,r,t){return(r=oH(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function oH(e){var r=lH(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function lH(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function cm(){return cm=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},cm.apply(null,arguments)}function Kj(e,r){if(e==null)return{};var t,n,l=cH(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(l[t]=e[t])}return l}function cH(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function _s(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var Xj=(e,r,t,n,l)=&gt;{var i=Ka(t),a=Ka(n),u=Math.min(Math.abs(i)/2,Math.abs(a)/2),o=a&gt;=0?1:-1,s=i&gt;=0?1:-1,c=a&gt;=0&amp;&amp;i&gt;=0||a&lt;0&amp;&amp;i&lt;0?1:0,f;if(u&gt;0&amp;&amp;l instanceof Array){for(var h=[0,0,0,0],m=0,p=4;m&lt;p;m++)h[m]=l[m]&gt;u?u:l[m];f=Dr(Rj||(Rj=_s([&quot;M&quot;,&quot;,&quot;,&quot;&quot;])),e,r+o*h[0]),h[0]&gt;0&amp;&amp;(f+=Dr(Dj||(Dj=_s([&quot;A &quot;,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,&quot;&quot;])),h[0],h[0],c,e+s*h[0],r)),f+=Dr(Lj||(Lj=_s([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t-s*h[1],r),h[1]&gt;0&amp;&amp;(f+=Dr(Fj||(Fj=_s([&quot;A &quot;,&quot;,&quot;,&quot;,0,0,&quot;,`,
        `,&quot;,&quot;,&quot;&quot;])),h[1],h[1],c,e+t,r+o*h[1])),f+=Dr(Bj||(Bj=_s([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t,r+n-o*h[2]),h[2]&gt;0&amp;&amp;(f+=Dr(zj||(zj=_s([&quot;A &quot;,&quot;,&quot;,&quot;,0,0,&quot;,`,
        `,&quot;,&quot;,&quot;&quot;])),h[2],h[2],c,e+t-s*h[2],r+n)),f+=Dr($j||($j=_s([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+s*h[3],r+n),h[3]&gt;0&amp;&amp;(f+=Dr(Uj||(Uj=_s([&quot;A &quot;,&quot;,&quot;,&quot;,0,0,&quot;,`,
        `,&quot;,&quot;,&quot;&quot;])),h[3],h[3],c,e,r+n-o*h[3])),f+=&quot;Z&quot;}else if(u&gt;0&amp;&amp;l===+l&amp;&amp;l&gt;0){var v=Math.min(u,l);f=Dr(Vj||(Vj=_s([&quot;M &quot;,&quot;,&quot;,`
            A `,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,`
            L `,&quot;,&quot;,`
            A `,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,`
            L `,&quot;,&quot;,`
            A `,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,`
            L `,&quot;,&quot;,`
            A `,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,&quot; Z&quot;])),e,r+o*v,v,v,c,e+s*v,r,e+t-s*v,r,v,v,c,e+t,r+o*v,e+t,r+n-o*v,v,v,c,e+t-s*v,r+n,e+s*v,r+n,v,v,c,e,r+n-o*v)}else f=Dr(qj||(qj=_s([&quot;M &quot;,&quot;,&quot;,&quot; h &quot;,&quot; v &quot;,&quot; h &quot;,&quot; Z&quot;])),e,r,t,n,-t);return f},Gj={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:&quot;ease&quot;},M7=e=&gt;{var r=Nn(e,Gj),t=F.useRef(null),[n,l]=F.useState(-1);F.useEffect(()=&gt;{if(t.current&amp;&amp;t.current.getTotalLength)try{var k=t.current.getTotalLength();k&amp;&amp;l(k)}catch{}},[]);var{x:i,y:a,width:u,height:o,radius:s,className:c}=r,{animationEasing:f,animationDuration:h,animationBegin:m,isAnimationActive:p,isUpdateAnimationActive:v}=r,g=F.useRef(u),b=F.useRef(o),x=F.useRef(i),_=F.useRef(a),C=F.useMemo(()=&gt;({x:i,y:a,width:u,height:o,radius:s}),[i,a,u,o,s]),O=yp(C,&quot;rectangle-&quot;);if(i!==+i||a!==+a||u!==+u||o!==+o||u===0||o===0)return null;var R=ar(&quot;recharts-rectangle&quot;,c);if(!v){var H=Xn(r),{radius:L}=H,q=Kj(H,iH);return F.createElement(&quot;path&quot;,cm({},q,{x:Ka(i),y:Ka(a),width:Ka(u),height:Ka(o),radius:typeof s==&quot;number&quot;?s:void 0,className:R,d:Xj(i,a,u,o,s)}))}var W=g.current,K=b.current,U=x.current,P=_.current,D=&quot;0px &quot;.concat(n===-1?1:n,&quot;px&quot;),E=&quot;&quot;.concat(n,&quot;px 0px&quot;),j=N7([&quot;strokeDasharray&quot;],h,typeof f==&quot;string&quot;?f:Gj.animationEasing);return F.createElement(vp,{animationId:O,key:O,canBegin:n&gt;0,duration:h,easing:f,isActive:v,begin:m},k=&gt;{var S=Lr(W,u,k),N=Lr(K,o,k),M=Lr(U,i,k),I=Lr(P,a,k);t.current&amp;&amp;(g.current=S,b.current=N,x.current=M,_.current=I);var B;p?k&gt;0?B={transition:j,strokeDasharray:E}:B={strokeDasharray:D}:B={strokeDasharray:E};var Y=Xn(r),{radius:Z}=Y,ie=Kj(Y,sH);return F.createElement(&quot;path&quot;,cm({},ie,{radius:typeof s==&quot;number&quot;?s:void 0,className:R,d:Xj(M,I,S,N,s),ref:t,style:Wj(Wj({},B),r.style)}))})};function Yj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Zj(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Yj(Object(t),!0).forEach(function(n){uH(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Yj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function uH(e,r,t){return(r=dH(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function dH(e){var r=fH(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function fH(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var um=Math.PI/180,hH=e=&gt;e*180/Math.PI,kn=(e,r,t,n)=&gt;({x:e+Math.cos(-um*n)*t,y:r+Math.sin(-um*n)*t}),mH=function(r,t){var n=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(r-(n.left||0)-(n.right||0)),Math.abs(t-(n.top||0)-(n.bottom||0)))/2},pH=(e,r)=&gt;{var{x:t,y:n}=e,{x:l,y:i}=r;return Math.sqrt((t-l)**2+(n-i)**2)},gH=(e,r)=&gt;{var{x:t,y:n}=e,{cx:l,cy:i}=r,a=pH({x:t,y:n},{x:l,y:i});if(a&lt;=0)return{radius:a,angle:0};var u=(t-l)/a,o=Math.acos(u);return n&gt;i&amp;&amp;(o=2*Math.PI-o),{radius:a,angle:hH(o),angleInRadian:o}},vH=e=&gt;{var{startAngle:r,endAngle:t}=e,n=Math.floor(r/360),l=Math.floor(t/360),i=Math.min(n,l);return{startAngle:r-i*360,endAngle:t-i*360}},yH=(e,r)=&gt;{var{startAngle:t,endAngle:n}=r,l=Math.floor(t/360),i=Math.floor(n/360),a=Math.min(l,i);return e+a*360},bH=(e,r)=&gt;{var{chartX:t,chartY:n}=e,{radius:l,angle:i}=gH({x:t,y:n},r),{innerRadius:a,outerRadius:u}=r;if(l&lt;a||l&gt;u||l===0)return null;var{startAngle:o,endAngle:s}=vH(r),c=i,f;if(o&lt;=s){for(;c&gt;s;)c-=360;for(;c&lt;o;)c+=360;f=c&gt;=o&amp;&amp;c&lt;=s}else{for(;c&gt;o;)c-=360;for(;c&lt;s;)c+=360;f=c&gt;=s&amp;&amp;c&lt;=o}return f?Zj(Zj({},r),{},{radius:l,angle:yH(c,r)}):null};function O7(e){var{cx:r,cy:t,radius:n,startAngle:l,endAngle:i}=e,a=kn(r,t,n,l),u=kn(r,t,n,i);return{points:[a,u],cx:r,cy:t,radius:n,startAngle:l,endAngle:i}}var Qj,Jj,e6,t6,r6,n6,i6;function Wb(){return Wb=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Wb.apply(null,arguments)}function Ko(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var xH=(e,r)=&gt;{var t=ii(r-e),n=Math.min(Math.abs(r-e),359.999);return t*n},nh=e=&gt;{var{cx:r,cy:t,radius:n,angle:l,sign:i,isExternal:a,cornerRadius:u,cornerIsExternal:o}=e,s=u*(a?1:-1)+n,c=Math.asin(u/s)/um,f=o?l:l+i*c,h=kn(r,t,s,f),m=kn(r,t,n,f),p=o?l-i*c:l,v=kn(r,t,s*Math.cos(c*um),p);return{center:h,circleTangency:m,lineTangency:v,theta:c}},P7=e=&gt;{var{cx:r,cy:t,innerRadius:n,outerRadius:l,startAngle:i,endAngle:a}=e,u=xH(i,a),o=i+u,s=kn(r,t,l,i),c=kn(r,t,l,o),f=Dr(Qj||(Qj=Ko([&quot;M &quot;,&quot;,&quot;,`
    A `,&quot;,&quot;,`,0,
    `,&quot;,&quot;,`,
    `,&quot;,&quot;,`
  `])),s.x,s.y,l,l,+(Math.abs(u)&gt;180),+(i&gt;o),c.x,c.y);if(n&gt;0){var h=kn(r,t,n,i),m=kn(r,t,n,o);f+=Dr(Jj||(Jj=Ko([&quot;L &quot;,&quot;,&quot;,`
            A `,&quot;,&quot;,`,0,
            `,&quot;,&quot;,`,
            `,&quot;,&quot;,&quot; Z&quot;])),m.x,m.y,n,n,+(Math.abs(u)&gt;180),+(i&lt;=o),h.x,h.y)}else f+=Dr(e6||(e6=Ko([&quot;L &quot;,&quot;,&quot;,&quot; Z&quot;])),r,t);return f},wH=e=&gt;{var{cx:r,cy:t,innerRadius:n,outerRadius:l,cornerRadius:i,forceCornerRadius:a,cornerIsExternal:u,startAngle:o,endAngle:s}=e,c=ii(s-o),{circleTangency:f,lineTangency:h,theta:m}=nh({cx:r,cy:t,radius:l,angle:o,sign:c,cornerRadius:i,cornerIsExternal:u}),{circleTangency:p,lineTangency:v,theta:g}=nh({cx:r,cy:t,radius:l,angle:s,sign:-c,cornerRadius:i,cornerIsExternal:u}),b=u?Math.abs(o-s):Math.abs(o-s)-m-g;if(b&lt;0)return a?Dr(t6||(t6=Ko([&quot;M &quot;,&quot;,&quot;,`
        a`,&quot;,&quot;,&quot;,0,0,1,&quot;,`,0
        a`,&quot;,&quot;,&quot;,0,0,1,&quot;,`,0
      `])),h.x,h.y,i,i,i*2,i,i,-i*2):P7({cx:r,cy:t,innerRadius:n,outerRadius:l,startAngle:o,endAngle:s});var x=Dr(r6||(r6=Ko([&quot;M &quot;,&quot;,&quot;,`
    A`,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,`
    A`,&quot;,&quot;,&quot;,0,&quot;,&quot;,&quot;,&quot;,&quot;,&quot;,&quot;,`
    A`,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,`
  `])),h.x,h.y,i,i,+(c&lt;0),f.x,f.y,l,l,+(b&gt;180),+(c&lt;0),p.x,p.y,i,i,+(c&lt;0),v.x,v.y);if(n&gt;0){var{circleTangency:_,lineTangency:C,theta:O}=nh({cx:r,cy:t,radius:n,angle:o,sign:c,isExternal:!0,cornerRadius:i,cornerIsExternal:u}),{circleTangency:R,lineTangency:H,theta:L}=nh({cx:r,cy:t,radius:n,angle:s,sign:-c,isExternal:!0,cornerRadius:i,cornerIsExternal:u}),q=u?Math.abs(o-s):Math.abs(o-s)-O-L;if(q&lt;0&amp;&amp;i===0)return&quot;&quot;.concat(x,&quot;L&quot;).concat(r,&quot;,&quot;).concat(t,&quot;Z&quot;);x+=Dr(n6||(n6=Ko([&quot;L&quot;,&quot;,&quot;,`
      A`,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,`
      A`,&quot;,&quot;,&quot;,0,&quot;,&quot;,&quot;,&quot;,&quot;,&quot;,&quot;,`
      A`,&quot;,&quot;,&quot;,0,0,&quot;,&quot;,&quot;,&quot;,&quot;,&quot;Z&quot;])),H.x,H.y,i,i,+(c&lt;0),R.x,R.y,n,n,+(q&gt;180),+(c&gt;0),_.x,_.y,i,i,+(c&lt;0),C.x,C.y)}else x+=Dr(i6||(i6=Ko([&quot;L&quot;,&quot;,&quot;,&quot;Z&quot;])),r,t);return x},_H={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},T7=e=&gt;{var r=Nn(e,_H),{cx:t,cy:n,innerRadius:l,outerRadius:i,cornerRadius:a,forceCornerRadius:u,cornerIsExternal:o,startAngle:s,endAngle:c,className:f}=r;if(i&lt;l||s===c)return null;var h=ar(&quot;recharts-sector&quot;,f),m=i-l,p=cs(a,m,0,!0),v;return p&gt;0&amp;&amp;Math.abs(s-c)&lt;360?v=wH({cx:t,cy:n,innerRadius:l,outerRadius:i,cornerRadius:Math.min(p,m/2),forceCornerRadius:u,cornerIsExternal:o,startAngle:s,endAngle:c}):v=P7({cx:t,cy:n,innerRadius:l,outerRadius:i,startAngle:s,endAngle:c}),F.createElement(&quot;path&quot;,Wb({},Xn(r),{className:h,d:v}))};function jH(e,r,t){if(e===&quot;horizontal&quot;)return[{x:r.x,y:t.top},{x:r.x,y:t.top+t.height}];if(e===&quot;vertical&quot;)return[{x:t.left,y:r.y},{x:t.left+t.width,y:r.y}];if(yC(r)){if(e===&quot;centric&quot;){var{cx:n,cy:l,innerRadius:i,outerRadius:a,angle:u}=r,o=kn(n,l,i,u),s=kn(n,l,a,u);return[{x:o.x,y:o.y},{x:s.x,y:s.y}]}return O7(r)}}var ty={},ry={},ny={},s6;function SH(){return s6||(s6=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=AC();function t(n){return r.isSymbol(n)?NaN:Number(n)}e.toNumber=t})(ny)),ny}var a6;function kH(){return a6||(a6=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=SH();function t(n){return n?(n=r.toNumber(n),n===1/0||n===-1/0?(n&lt;0?-1:1)*Number.MAX_VALUE:n===n?n:0):n===0?n:0}e.toFinite=t})(ry)),ry}var o6;function NH(){return o6||(o6=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=MC(),t=kH();function n(l,i,a){a&amp;&amp;typeof a!=&quot;number&quot;&amp;&amp;r.isIterateeCall(l,i,a)&amp;&amp;(i=a=void 0),l=t.toFinite(l),i===void 0?(i=l,l=0):i=t.toFinite(i),a=a===void 0?l&lt;i?1:-1:t.toFinite(a);const u=Math.max(Math.ceil((i-l)/(a||1)),0),o=new Array(u);for(let s=0;s&lt;u;s++)o[s]=l,l+=a;return o}e.range=n})(ty)),ty}var iy,l6;function CH(){return l6||(l6=1,iy=NH().range),iy}var EH=CH();const I7=ds(EH);function Za(e,r){return e==null||r==null?NaN:e&lt;r?-1:e&gt;r?1:e&gt;=r?0:NaN}function AH(e,r){return e==null||r==null?NaN:r&lt;e?-1:r&gt;e?1:r&gt;=e?0:NaN}function O1(e){let r,t,n;e.length!==2?(r=Za,t=(u,o)=&gt;Za(e(u),o),n=(u,o)=&gt;e(u)-o):(r=e===Za||e===AH?e:MH,t=e,n=e);function l(u,o,s=0,c=u.length){if(s&lt;c){if(r(o,o)!==0)return c;do{const f=s+c&gt;&gt;&gt;1;t(u[f],o)&lt;0?s=f+1:c=f}while(s&lt;c)}return s}function i(u,o,s=0,c=u.length){if(s&lt;c){if(r(o,o)!==0)return c;do{const f=s+c&gt;&gt;&gt;1;t(u[f],o)&lt;=0?s=f+1:c=f}while(s&lt;c)}return s}function a(u,o,s=0,c=u.length){const f=l(u,o,s,c-1);return f&gt;s&amp;&amp;n(u[f-1],o)&gt;-n(u[f],o)?f-1:f}return{left:l,center:a,right:i}}function MH(){return 0}function R7(e){return e===null?NaN:+e}function*OH(e,r){for(let t of e)t!=null&amp;&amp;(t=+t)&gt;=t&amp;&amp;(yield t)}const PH=O1(Za),cd=PH.right;O1(R7).center;class c6 extends Map{constructor(r,t=RH){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),r!=null)for(const[n,l]of r)this.set(n,l)}get(r){return super.get(u6(this,r))}has(r){return super.has(u6(this,r))}set(r,t){return super.set(TH(this,r),t)}delete(r){return super.delete(IH(this,r))}}function u6({_intern:e,_key:r},t){const n=r(t);return e.has(n)?e.get(n):t}function TH({_intern:e,_key:r},t){const n=r(t);return e.has(n)?e.get(n):(e.set(n,t),t)}function IH({_intern:e,_key:r},t){const n=r(t);return e.has(n)&amp;&amp;(t=e.get(n),e.delete(n)),t}function RH(e){return e!==null&amp;&amp;typeof e==&quot;object&quot;?e.valueOf():e}function DH(e=Za){if(e===Za)return D7;if(typeof e!=&quot;function&quot;)throw new TypeError(&quot;compare is not a function&quot;);return(r,t)=&gt;{const n=e(r,t);return n||n===0?n:(e(t,t)===0)-(e(r,r)===0)}}function D7(e,r){return(e==null||!(e&gt;=e))-(r==null||!(r&gt;=r))||(e&lt;r?-1:e&gt;r?1:0)}const LH=Math.sqrt(50),FH=Math.sqrt(10),BH=Math.sqrt(2);function dm(e,r,t){const n=(r-e)/Math.max(0,t),l=Math.floor(Math.log10(n)),i=n/Math.pow(10,l),a=i&gt;=LH?10:i&gt;=FH?5:i&gt;=BH?2:1;let u,o,s;return l&lt;0?(s=Math.pow(10,-l)/a,u=Math.round(e*s),o=Math.round(r*s),u/s&lt;e&amp;&amp;++u,o/s&gt;r&amp;&amp;--o,s=-s):(s=Math.pow(10,l)*a,u=Math.round(e/s),o=Math.round(r/s),u*s&lt;e&amp;&amp;++u,o*s&gt;r&amp;&amp;--o),o&lt;u&amp;&amp;.5&lt;=t&amp;&amp;t&lt;2?dm(e,r,t*2):[u,o,s]}function Kb(e,r,t){if(r=+r,e=+e,t=+t,!(t&gt;0))return[];if(e===r)return[e];const n=r&lt;e,[l,i,a]=n?dm(r,e,t):dm(e,r,t);if(!(i&gt;=l))return[];const u=i-l+1,o=new Array(u);if(n)if(a&lt;0)for(let s=0;s&lt;u;++s)o[s]=(i-s)/-a;else for(let s=0;s&lt;u;++s)o[s]=(i-s)*a;else if(a&lt;0)for(let s=0;s&lt;u;++s)o[s]=(l+s)/-a;else for(let s=0;s&lt;u;++s)o[s]=(l+s)*a;return o}function Xb(e,r,t){return r=+r,e=+e,t=+t,dm(e,r,t)[2]}function Gb(e,r,t){r=+r,e=+e,t=+t;const n=r&lt;e,l=n?Xb(r,e,t):Xb(e,r,t);return(n?-1:1)*(l&lt;0?1/-l:l)}function d6(e,r){let t;for(const n of e)n!=null&amp;&amp;(t&lt;n||t===void 0&amp;&amp;n&gt;=n)&amp;&amp;(t=n);return t}function f6(e,r){let t;for(const n of e)n!=null&amp;&amp;(t&gt;n||t===void 0&amp;&amp;n&gt;=n)&amp;&amp;(t=n);return t}function L7(e,r,t=0,n=1/0,l){if(r=Math.floor(r),t=Math.floor(Math.max(0,t)),n=Math.floor(Math.min(e.length-1,n)),!(t&lt;=r&amp;&amp;r&lt;=n))return e;for(l=l===void 0?D7:DH(l);n&gt;t;){if(n-t&gt;600){const o=n-t+1,s=r-t+1,c=Math.log(o),f=.5*Math.exp(2*c/3),h=.5*Math.sqrt(c*f*(o-f)/o)*(s-o/2&lt;0?-1:1),m=Math.max(t,Math.floor(r-s*f/o+h)),p=Math.min(n,Math.floor(r+(o-s)*f/o+h));L7(e,r,m,p,l)}const i=e[r];let a=t,u=n;for(uu(e,t,r),l(e[n],i)&gt;0&amp;&amp;uu(e,t,n);a&lt;u;){for(uu(e,a,u),++a,--u;l(e[a],i)&lt;0;)++a;for(;l(e[u],i)&gt;0;)--u}l(e[t],i)===0?uu(e,t,u):(++u,uu(e,u,n)),u&lt;=r&amp;&amp;(t=u+1),r&lt;=u&amp;&amp;(n=u-1)}return e}function uu(e,r,t){const n=e[r];e[r]=e[t],e[t]=n}function zH(e,r,t){if(e=Float64Array.from(OH(e)),!(!(n=e.length)||isNaN(r=+r))){if(r&lt;=0||n&lt;2)return f6(e);if(r&gt;=1)return d6(e);var n,l=(n-1)*r,i=Math.floor(l),a=d6(L7(e,i).subarray(0,i+1)),u=f6(e.subarray(i+1));return a+(u-a)*(l-i)}}function $H(e,r,t=R7){if(!(!(n=e.length)||isNaN(r=+r))){if(r&lt;=0||n&lt;2)return+t(e[0],0,e);if(r&gt;=1)return+t(e[n-1],n-1,e);var n,l=(n-1)*r,i=Math.floor(l),a=+t(e[i],i,e),u=+t(e[i+1],i+1,e);return a+(u-a)*(l-i)}}function UH(e,r,t){e=+e,r=+r,t=(l=arguments.length)&lt;2?(r=e,e=0,1):l&lt;3?1:+t;for(var n=-1,l=Math.max(0,Math.ceil((r-e)/t))|0,i=new Array(l);++n&lt;l;)i[n]=e+n*t;return i}function $i(e,r){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(r).domain(e);break}return this}function ua(e,r){switch(arguments.length){case 0:break;case 1:{typeof e==&quot;function&quot;?this.interpolator(e):this.range(e);break}default:{this.domain(e),typeof r==&quot;function&quot;?this.interpolator(r):this.range(r);break}}return this}const Yb=Symbol(&quot;implicit&quot;);function P1(){var e=new c6,r=[],t=[],n=Yb;function l(i){let a=e.get(i);if(a===void 0){if(n!==Yb)return n;e.set(i,a=r.push(i)-1)}return t[a%t.length]}return l.domain=function(i){if(!arguments.length)return r.slice();r=[],e=new c6;for(const a of i)e.has(a)||e.set(a,r.push(a)-1);return l},l.range=function(i){return arguments.length?(t=Array.from(i),l):t.slice()},l.unknown=function(i){return arguments.length?(n=i,l):n},l.copy=function(){return P1(r,t).unknown(n)},$i.apply(l,arguments),l}function T1(){var e=P1().unknown(void 0),r=e.domain,t=e.range,n=0,l=1,i,a,u=!1,o=0,s=0,c=.5;delete e.unknown;function f(){var h=r().length,m=l&lt;n,p=m?l:n,v=m?n:l;i=(v-p)/Math.max(1,h-o+s*2),u&amp;&amp;(i=Math.floor(i)),p+=(v-p-i*(h-o))*c,a=i*(1-o),u&amp;&amp;(p=Math.round(p),a=Math.round(a));var g=UH(h).map(function(b){return p+i*b});return t(m?g.reverse():g)}return e.domain=function(h){return arguments.length?(r(h),f()):r()},e.range=function(h){return arguments.length?([n,l]=h,n=+n,l=+l,f()):[n,l]},e.rangeRound=function(h){return[n,l]=h,n=+n,l=+l,u=!0,f()},e.bandwidth=function(){return a},e.step=function(){return i},e.round=function(h){return arguments.length?(u=!!h,f()):u},e.padding=function(h){return arguments.length?(o=Math.min(1,s=+h),f()):o},e.paddingInner=function(h){return arguments.length?(o=Math.min(1,h),f()):o},e.paddingOuter=function(h){return arguments.length?(s=+h,f()):s},e.align=function(h){return arguments.length?(c=Math.max(0,Math.min(1,h)),f()):c},e.copy=function(){return T1(r(),[n,l]).round(u).paddingInner(o).paddingOuter(s).align(c)},$i.apply(f(),arguments)}function F7(e){var r=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return F7(r())},e}function VH(){return F7(T1.apply(null,arguments).paddingInner(1))}function I1(e,r,t){e.prototype=r.prototype=t,t.constructor=e}function B7(e,r){var t=Object.create(e.prototype);for(var n in r)t[n]=r[n];return t}function ud(){}var qu=.7,fm=1/qu,Jl=&quot;\\s*([+-]?\\d+)\\s*&quot;,Hu=&quot;\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*&quot;,Ns=&quot;\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*&quot;,qH=/^#([0-9a-f]{3,8})$/,HH=new RegExp(`^rgb\\(${Jl},${Jl},${Jl}\\)$`),WH=new RegExp(`^rgb\\(${Ns},${Ns},${Ns}\\)$`),KH=new RegExp(`^rgba\\(${Jl},${Jl},${Jl},${Hu}\\)$`),XH=new RegExp(`^rgba\\(${Ns},${Ns},${Ns},${Hu}\\)$`),GH=new RegExp(`^hsl\\(${Hu},${Ns},${Ns}\\)$`),YH=new RegExp(`^hsla\\(${Hu},${Ns},${Ns},${Hu}\\)$`),h6={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};I1(ud,Wu,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:m6,formatHex:m6,formatHex8:ZH,formatHsl:QH,formatRgb:p6,toString:p6});function m6(){return this.rgb().formatHex()}function ZH(){return this.rgb().formatHex8()}function QH(){return z7(this).formatHsl()}function p6(){return this.rgb().formatRgb()}function Wu(e){var r,t;return e=(e+&quot;&quot;).trim().toLowerCase(),(r=qH.exec(e))?(t=r[1].length,r=parseInt(r[1],16),t===6?g6(r):t===3?new si(r&gt;&gt;8&amp;15|r&gt;&gt;4&amp;240,r&gt;&gt;4&amp;15|r&amp;240,(r&amp;15)&lt;&lt;4|r&amp;15,1):t===8?ih(r&gt;&gt;24&amp;255,r&gt;&gt;16&amp;255,r&gt;&gt;8&amp;255,(r&amp;255)/255):t===4?ih(r&gt;&gt;12&amp;15|r&gt;&gt;8&amp;240,r&gt;&gt;8&amp;15|r&gt;&gt;4&amp;240,r&gt;&gt;4&amp;15|r&amp;240,((r&amp;15)&lt;&lt;4|r&amp;15)/255):null):(r=HH.exec(e))?new si(r[1],r[2],r[3],1):(r=WH.exec(e))?new si(r[1]*255/100,r[2]*255/100,r[3]*255/100,1):(r=KH.exec(e))?ih(r[1],r[2],r[3],r[4]):(r=XH.exec(e))?ih(r[1]*255/100,r[2]*255/100,r[3]*255/100,r[4]):(r=GH.exec(e))?b6(r[1],r[2]/100,r[3]/100,1):(r=YH.exec(e))?b6(r[1],r[2]/100,r[3]/100,r[4]):h6.hasOwnProperty(e)?g6(h6[e]):e===&quot;transparent&quot;?new si(NaN,NaN,NaN,0):null}function g6(e){return new si(e&gt;&gt;16&amp;255,e&gt;&gt;8&amp;255,e&amp;255,1)}function ih(e,r,t,n){return n&lt;=0&amp;&amp;(e=r=t=NaN),new si(e,r,t,n)}function JH(e){return e instanceof ud||(e=Wu(e)),e?(e=e.rgb(),new si(e.r,e.g,e.b,e.opacity)):new si}function Zb(e,r,t,n){return arguments.length===1?JH(e):new si(e,r,t,n??1)}function si(e,r,t,n){this.r=+e,this.g=+r,this.b=+t,this.opacity=+n}I1(si,Zb,B7(ud,{brighter(e){return e=e==null?fm:Math.pow(fm,e),new si(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?qu:Math.pow(qu,e),new si(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new si(Jo(this.r),Jo(this.g),Jo(this.b),hm(this.opacity))},displayable(){return-.5&lt;=this.r&amp;&amp;this.r&lt;255.5&amp;&amp;-.5&lt;=this.g&amp;&amp;this.g&lt;255.5&amp;&amp;-.5&lt;=this.b&amp;&amp;this.b&lt;255.5&amp;&amp;0&lt;=this.opacity&amp;&amp;this.opacity&lt;=1},hex:v6,formatHex:v6,formatHex8:eW,formatRgb:y6,toString:y6}));function v6(){return`#${Xo(this.r)}${Xo(this.g)}${Xo(this.b)}`}function eW(){return`#${Xo(this.r)}${Xo(this.g)}${Xo(this.b)}${Xo((isNaN(this.opacity)?1:this.opacity)*255)}`}function y6(){const e=hm(this.opacity);return`${e===1?&quot;rgb(&quot;:&quot;rgba(&quot;}${Jo(this.r)}, ${Jo(this.g)}, ${Jo(this.b)}${e===1?&quot;)&quot;:`, ${e})`}`}function hm(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Jo(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Xo(e){return e=Jo(e),(e&lt;16?&quot;0&quot;:&quot;&quot;)+e.toString(16)}function b6(e,r,t,n){return n&lt;=0?e=r=t=NaN:t&lt;=0||t&gt;=1?e=r=NaN:r&lt;=0&amp;&amp;(e=NaN),new ss(e,r,t,n)}function z7(e){if(e instanceof ss)return new ss(e.h,e.s,e.l,e.opacity);if(e instanceof ud||(e=Wu(e)),!e)return new ss;if(e instanceof ss)return e;e=e.rgb();var r=e.r/255,t=e.g/255,n=e.b/255,l=Math.min(r,t,n),i=Math.max(r,t,n),a=NaN,u=i-l,o=(i+l)/2;return u?(r===i?a=(t-n)/u+(t&lt;n)*6:t===i?a=(n-r)/u+2:a=(r-t)/u+4,u/=o&lt;.5?i+l:2-i-l,a*=60):u=o&gt;0&amp;&amp;o&lt;1?0:a,new ss(a,u,o,e.opacity)}function tW(e,r,t,n){return arguments.length===1?z7(e):new ss(e,r,t,n??1)}function ss(e,r,t,n){this.h=+e,this.s=+r,this.l=+t,this.opacity=+n}I1(ss,tW,B7(ud,{brighter(e){return e=e==null?fm:Math.pow(fm,e),new ss(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?qu:Math.pow(qu,e),new ss(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h&lt;0)*360,r=isNaN(e)||isNaN(this.s)?0:this.s,t=this.l,n=t+(t&lt;.5?t:1-t)*r,l=2*t-n;return new si(sy(e&gt;=240?e-240:e+120,l,n),sy(e,l,n),sy(e&lt;120?e+240:e-120,l,n),this.opacity)},clamp(){return new ss(x6(this.h),sh(this.s),sh(this.l),hm(this.opacity))},displayable(){return(0&lt;=this.s&amp;&amp;this.s&lt;=1||isNaN(this.s))&amp;&amp;0&lt;=this.l&amp;&amp;this.l&lt;=1&amp;&amp;0&lt;=this.opacity&amp;&amp;this.opacity&lt;=1},formatHsl(){const e=hm(this.opacity);return`${e===1?&quot;hsl(&quot;:&quot;hsla(&quot;}${x6(this.h)}, ${sh(this.s)*100}%, ${sh(this.l)*100}%${e===1?&quot;)&quot;:`, ${e})`}`}}));function x6(e){return e=(e||0)%360,e&lt;0?e+360:e}function sh(e){return Math.max(0,Math.min(1,e||0))}function sy(e,r,t){return(e&lt;60?r+(t-r)*e/60:e&lt;180?t:e&lt;240?r+(t-r)*(240-e)/60:r)*255}const R1=e=&gt;()=&gt;e;function rW(e,r){return function(t){return e+t*r}}function nW(e,r,t){return e=Math.pow(e,t),r=Math.pow(r,t)-e,t=1/t,function(n){return Math.pow(e+n*r,t)}}function iW(e){return(e=+e)==1?$7:function(r,t){return t-r?nW(r,t,e):R1(isNaN(r)?t:r)}}function $7(e,r){var t=r-e;return t?rW(e,t):R1(isNaN(e)?r:e)}const w6=(function e(r){var t=iW(r);function n(l,i){var a=t((l=Zb(l)).r,(i=Zb(i)).r),u=t(l.g,i.g),o=t(l.b,i.b),s=$7(l.opacity,i.opacity);return function(c){return l.r=a(c),l.g=u(c),l.b=o(c),l.opacity=s(c),l+&quot;&quot;}}return n.gamma=e,n})(1);function sW(e,r){r||(r=[]);var t=e?Math.min(r.length,e.length):0,n=r.slice(),l;return function(i){for(l=0;l&lt;t;++l)n[l]=e[l]*(1-i)+r[l]*i;return n}}function aW(e){return ArrayBuffer.isView(e)&amp;&amp;!(e instanceof DataView)}function oW(e,r){var t=r?r.length:0,n=e?Math.min(t,e.length):0,l=new Array(n),i=new Array(t),a;for(a=0;a&lt;n;++a)l[a]=yc(e[a],r[a]);for(;a&lt;t;++a)i[a]=r[a];return function(u){for(a=0;a&lt;n;++a)i[a]=l[a](u);return i}}function lW(e,r){var t=new Date;return e=+e,r=+r,function(n){return t.setTime(e*(1-n)+r*n),t}}function mm(e,r){return e=+e,r=+r,function(t){return e*(1-t)+r*t}}function cW(e,r){var t={},n={},l;(e===null||typeof e!=&quot;object&quot;)&amp;&amp;(e={}),(r===null||typeof r!=&quot;object&quot;)&amp;&amp;(r={});for(l in r)l in e?t[l]=yc(e[l],r[l]):n[l]=r[l];return function(i){for(l in t)n[l]=t[l](i);return n}}var Qb=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ay=new RegExp(Qb.source,&quot;g&quot;);function uW(e){return function(){return e}}function dW(e){return function(r){return e(r)+&quot;&quot;}}function fW(e,r){var t=Qb.lastIndex=ay.lastIndex=0,n,l,i,a=-1,u=[],o=[];for(e=e+&quot;&quot;,r=r+&quot;&quot;;(n=Qb.exec(e))&amp;&amp;(l=ay.exec(r));)(i=l.index)&gt;t&amp;&amp;(i=r.slice(t,i),u[a]?u[a]+=i:u[++a]=i),(n=n[0])===(l=l[0])?u[a]?u[a]+=l:u[++a]=l:(u[++a]=null,o.push({i:a,x:mm(n,l)})),t=ay.lastIndex;return t&lt;r.length&amp;&amp;(i=r.slice(t),u[a]?u[a]+=i:u[++a]=i),u.length&lt;2?o[0]?dW(o[0].x):uW(r):(r=o.length,function(s){for(var c=0,f;c&lt;r;++c)u[(f=o[c]).i]=f.x(s);return u.join(&quot;&quot;)})}function yc(e,r){var t=typeof r,n;return r==null||t===&quot;boolean&quot;?R1(r):(t===&quot;number&quot;?mm:t===&quot;string&quot;?(n=Wu(r))?(r=n,w6):fW:r instanceof Wu?w6:r instanceof Date?lW:aW(r)?sW:Array.isArray(r)?oW:typeof r.valueOf!=&quot;function&quot;&amp;&amp;typeof r.toString!=&quot;function&quot;||isNaN(r)?cW:mm)(e,r)}function D1(e,r){return e=+e,r=+r,function(t){return Math.round(e*(1-t)+r*t)}}function hW(e,r){r===void 0&amp;&amp;(r=e,e=yc);for(var t=0,n=r.length-1,l=r[0],i=new Array(n&lt;0?0:n);t&lt;n;)i[t]=e(l,l=r[++t]);return function(a){var u=Math.max(0,Math.min(n-1,Math.floor(a*=n)));return i[u](a-u)}}function mW(e){return function(){return e}}function pm(e){return+e}var _6=[0,1];function Kn(e){return e}function Jb(e,r){return(r-=e=+e)?function(t){return(t-e)/r}:mW(isNaN(r)?NaN:.5)}function pW(e,r){var t;return e&gt;r&amp;&amp;(t=e,e=r,r=t),function(n){return Math.max(e,Math.min(r,n))}}function gW(e,r,t){var n=e[0],l=e[1],i=r[0],a=r[1];return l&lt;n?(n=Jb(l,n),i=t(a,i)):(n=Jb(n,l),i=t(i,a)),function(u){return i(n(u))}}function vW(e,r,t){var n=Math.min(e.length,r.length)-1,l=new Array(n),i=new Array(n),a=-1;for(e[n]&lt;e[0]&amp;&amp;(e=e.slice().reverse(),r=r.slice().reverse());++a&lt;n;)l[a]=Jb(e[a],e[a+1]),i[a]=t(r[a],r[a+1]);return function(u){var o=cd(e,u,1,n)-1;return i[o](l[o](u))}}function dd(e,r){return r.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function bp(){var e=_6,r=_6,t=yc,n,l,i,a=Kn,u,o,s;function c(){var h=Math.min(e.length,r.length);return a!==Kn&amp;&amp;(a=pW(e[0],e[h-1])),u=h&gt;2?vW:gW,o=s=null,f}function f(h){return h==null||isNaN(h=+h)?i:(o||(o=u(e.map(n),r,t)))(n(a(h)))}return f.invert=function(h){return a(l((s||(s=u(r,e.map(n),mm)))(h)))},f.domain=function(h){return arguments.length?(e=Array.from(h,pm),c()):e.slice()},f.range=function(h){return arguments.length?(r=Array.from(h),c()):r.slice()},f.rangeRound=function(h){return r=Array.from(h),t=D1,c()},f.clamp=function(h){return arguments.length?(a=h?!0:Kn,c()):a!==Kn},f.interpolate=function(h){return arguments.length?(t=h,c()):t},f.unknown=function(h){return arguments.length?(i=h,f):i},function(h,m){return n=h,l=m,c()}}function L1(){return bp()(Kn,Kn)}function yW(e){return Math.abs(e=Math.round(e))&gt;=1e21?e.toLocaleString(&quot;en&quot;).replace(/,/g,&quot;&quot;):e.toString(10)}function gm(e,r){if(!isFinite(e)||e===0)return null;var t=(e=r?e.toExponential(r-1):e.toExponential()).indexOf(&quot;e&quot;),n=e.slice(0,t);return[n.length&gt;1?n[0]+n.slice(2):n,+e.slice(t+1)]}function lc(e){return e=gm(Math.abs(e)),e?e[1]:NaN}function bW(e,r){return function(t,n){for(var l=t.length,i=[],a=0,u=e[0],o=0;l&gt;0&amp;&amp;u&gt;0&amp;&amp;(o+u+1&gt;n&amp;&amp;(u=Math.max(1,n-o)),i.push(t.substring(l-=u,l+u)),!((o+=u+1)&gt;n));)u=e[a=(a+1)%e.length];return i.reverse().join(r)}}function xW(e){return function(r){return r.replace(/[0-9]/g,function(t){return e[+t]})}}var wW=/^(?:(.)?([&lt;&gt;=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ku(e){if(!(r=wW.exec(e)))throw new Error(&quot;invalid format: &quot;+e);var r;return new F1({fill:r[1],align:r[2],sign:r[3],symbol:r[4],zero:r[5],width:r[6],comma:r[7],precision:r[8]&amp;&amp;r[8].slice(1),trim:r[9],type:r[10]})}Ku.prototype=F1.prototype;function F1(e){this.fill=e.fill===void 0?&quot; &quot;:e.fill+&quot;&quot;,this.align=e.align===void 0?&quot;&gt;&quot;:e.align+&quot;&quot;,this.sign=e.sign===void 0?&quot;-&quot;:e.sign+&quot;&quot;,this.symbol=e.symbol===void 0?&quot;&quot;:e.symbol+&quot;&quot;,this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?&quot;&quot;:e.type+&quot;&quot;}F1.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?&quot;0&quot;:&quot;&quot;)+(this.width===void 0?&quot;&quot;:Math.max(1,this.width|0))+(this.comma?&quot;,&quot;:&quot;&quot;)+(this.precision===void 0?&quot;&quot;:&quot;.&quot;+Math.max(0,this.precision|0))+(this.trim?&quot;~&quot;:&quot;&quot;)+this.type};function _W(e){e:for(var r=e.length,t=1,n=-1,l;t&lt;r;++t)switch(e[t]){case&quot;.&quot;:n=l=t;break;case&quot;0&quot;:n===0&amp;&amp;(n=t),l=t;break;default:if(!+e[t])break e;n&gt;0&amp;&amp;(n=0);break}return n&gt;0?e.slice(0,n)+e.slice(l+1):e}var vm;function jW(e,r){var t=gm(e,r);if(!t)return vm=void 0,e.toPrecision(r);var n=t[0],l=t[1],i=l-(vm=Math.max(-8,Math.min(8,Math.floor(l/3)))*3)+1,a=n.length;return i===a?n:i&gt;a?n+new Array(i-a+1).join(&quot;0&quot;):i&gt;0?n.slice(0,i)+&quot;.&quot;+n.slice(i):&quot;0.&quot;+new Array(1-i).join(&quot;0&quot;)+gm(e,Math.max(0,r+i-1))[0]}function j6(e,r){var t=gm(e,r);if(!t)return e+&quot;&quot;;var n=t[0],l=t[1];return l&lt;0?&quot;0.&quot;+new Array(-l).join(&quot;0&quot;)+n:n.length&gt;l+1?n.slice(0,l+1)+&quot;.&quot;+n.slice(l+1):n+new Array(l-n.length+2).join(&quot;0&quot;)}const S6={&quot;%&quot;:(e,r)=&gt;(e*100).toFixed(r),b:e=&gt;Math.round(e).toString(2),c:e=&gt;e+&quot;&quot;,d:yW,e:(e,r)=&gt;e.toExponential(r),f:(e,r)=&gt;e.toFixed(r),g:(e,r)=&gt;e.toPrecision(r),o:e=&gt;Math.round(e).toString(8),p:(e,r)=&gt;j6(e*100,r),r:j6,s:jW,X:e=&gt;Math.round(e).toString(16).toUpperCase(),x:e=&gt;Math.round(e).toString(16)};function k6(e){return e}var N6=Array.prototype.map,C6=[&quot;y&quot;,&quot;z&quot;,&quot;a&quot;,&quot;f&quot;,&quot;p&quot;,&quot;n&quot;,&quot;µ&quot;,&quot;m&quot;,&quot;&quot;,&quot;k&quot;,&quot;M&quot;,&quot;G&quot;,&quot;T&quot;,&quot;P&quot;,&quot;E&quot;,&quot;Z&quot;,&quot;Y&quot;];function SW(e){var r=e.grouping===void 0||e.thousands===void 0?k6:bW(N6.call(e.grouping,Number),e.thousands+&quot;&quot;),t=e.currency===void 0?&quot;&quot;:e.currency[0]+&quot;&quot;,n=e.currency===void 0?&quot;&quot;:e.currency[1]+&quot;&quot;,l=e.decimal===void 0?&quot;.&quot;:e.decimal+&quot;&quot;,i=e.numerals===void 0?k6:xW(N6.call(e.numerals,String)),a=e.percent===void 0?&quot;%&quot;:e.percent+&quot;&quot;,u=e.minus===void 0?&quot;−&quot;:e.minus+&quot;&quot;,o=e.nan===void 0?&quot;NaN&quot;:e.nan+&quot;&quot;;function s(f,h){f=Ku(f);var m=f.fill,p=f.align,v=f.sign,g=f.symbol,b=f.zero,x=f.width,_=f.comma,C=f.precision,O=f.trim,R=f.type;R===&quot;n&quot;?(_=!0,R=&quot;g&quot;):S6[R]||(C===void 0&amp;&amp;(C=12),O=!0,R=&quot;g&quot;),(b||m===&quot;0&quot;&amp;&amp;p===&quot;=&quot;)&amp;&amp;(b=!0,m=&quot;0&quot;,p=&quot;=&quot;);var H=(h&amp;&amp;h.prefix!==void 0?h.prefix:&quot;&quot;)+(g===&quot;$&quot;?t:g===&quot;#&quot;&amp;&amp;/[boxX]/.test(R)?&quot;0&quot;+R.toLowerCase():&quot;&quot;),L=(g===&quot;$&quot;?n:/[%p]/.test(R)?a:&quot;&quot;)+(h&amp;&amp;h.suffix!==void 0?h.suffix:&quot;&quot;),q=S6[R],W=/[defgprs%]/.test(R);C=C===void 0?6:/[gprs]/.test(R)?Math.max(1,Math.min(21,C)):Math.max(0,Math.min(20,C));function K(U){var P=H,D=L,E,j,k;if(R===&quot;c&quot;)D=q(U)+D,U=&quot;&quot;;else{U=+U;var S=U&lt;0||1/U&lt;0;if(U=isNaN(U)?o:q(Math.abs(U),C),O&amp;&amp;(U=_W(U)),S&amp;&amp;+U==0&amp;&amp;v!==&quot;+&quot;&amp;&amp;(S=!1),P=(S?v===&quot;(&quot;?v:u:v===&quot;-&quot;||v===&quot;(&quot;?&quot;&quot;:v)+P,D=(R===&quot;s&quot;&amp;&amp;!isNaN(U)&amp;&amp;vm!==void 0?C6[8+vm/3]:&quot;&quot;)+D+(S&amp;&amp;v===&quot;(&quot;?&quot;)&quot;:&quot;&quot;),W){for(E=-1,j=U.length;++E&lt;j;)if(k=U.charCodeAt(E),48&gt;k||k&gt;57){D=(k===46?l+U.slice(E+1):U.slice(E))+D,U=U.slice(0,E);break}}}_&amp;&amp;!b&amp;&amp;(U=r(U,1/0));var N=P.length+U.length+D.length,M=N&lt;x?new Array(x-N+1).join(m):&quot;&quot;;switch(_&amp;&amp;b&amp;&amp;(U=r(M+U,M.length?x-D.length:1/0),M=&quot;&quot;),p){case&quot;&lt;&quot;:U=P+U+D+M;break;case&quot;=&quot;:U=P+M+U+D;break;case&quot;^&quot;:U=M.slice(0,N=M.length&gt;&gt;1)+P+U+D+M.slice(N);break;default:U=M+P+U+D;break}return i(U)}return K.toString=function(){return f+&quot;&quot;},K}function c(f,h){var m=Math.max(-8,Math.min(8,Math.floor(lc(h)/3)))*3,p=Math.pow(10,-m),v=s((f=Ku(f),f.type=&quot;f&quot;,f),{suffix:C6[8+m/3]});return function(g){return v(p*g)}}return{format:s,formatPrefix:c}}var ah,B1,U7;kW({thousands:&quot;,&quot;,grouping:[3],currency:[&quot;$&quot;,&quot;&quot;]});function kW(e){return ah=SW(e),B1=ah.format,U7=ah.formatPrefix,ah}function NW(e){return Math.max(0,-lc(Math.abs(e)))}function CW(e,r){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(lc(r)/3)))*3-lc(Math.abs(e)))}function EW(e,r){return e=Math.abs(e),r=Math.abs(r)-e,Math.max(0,lc(r)-lc(e))+1}function V7(e,r,t,n){var l=Gb(e,r,t),i;switch(n=Ku(n??&quot;,f&quot;),n.type){case&quot;s&quot;:{var a=Math.max(Math.abs(e),Math.abs(r));return n.precision==null&amp;&amp;!isNaN(i=CW(l,a))&amp;&amp;(n.precision=i),U7(n,a)}case&quot;&quot;:case&quot;e&quot;:case&quot;g&quot;:case&quot;p&quot;:case&quot;r&quot;:{n.precision==null&amp;&amp;!isNaN(i=EW(l,Math.max(Math.abs(e),Math.abs(r))))&amp;&amp;(n.precision=i-(n.type===&quot;e&quot;));break}case&quot;f&quot;:case&quot;%&quot;:{n.precision==null&amp;&amp;!isNaN(i=NW(l))&amp;&amp;(n.precision=i-(n.type===&quot;%&quot;)*2);break}}return B1(n)}function lo(e){var r=e.domain;return e.ticks=function(t){var n=r();return Kb(n[0],n[n.length-1],t??10)},e.tickFormat=function(t,n){var l=r();return V7(l[0],l[l.length-1],t??10,n)},e.nice=function(t){t==null&amp;&amp;(t=10);var n=r(),l=0,i=n.length-1,a=n[l],u=n[i],o,s,c=10;for(u&lt;a&amp;&amp;(s=a,a=u,u=s,s=l,l=i,i=s);c-- &gt;0;){if(s=Xb(a,u,t),s===o)return n[l]=a,n[i]=u,r(n);if(s&gt;0)a=Math.floor(a/s)*s,u=Math.ceil(u/s)*s;else if(s&lt;0)a=Math.ceil(a*s)/s,u=Math.floor(u*s)/s;else break;o=s}return e},e}function q7(){var e=L1();return e.copy=function(){return dd(e,q7())},$i.apply(e,arguments),lo(e)}function H7(e){var r;function t(n){return n==null||isNaN(n=+n)?r:n}return t.invert=t,t.domain=t.range=function(n){return arguments.length?(e=Array.from(n,pm),t):e.slice()},t.unknown=function(n){return arguments.length?(r=n,t):r},t.copy=function(){return H7(e).unknown(r)},e=arguments.length?Array.from(e,pm):[0,1],lo(t)}function W7(e,r){e=e.slice();var t=0,n=e.length-1,l=e[t],i=e[n],a;return i&lt;l&amp;&amp;(a=t,t=n,n=a,a=l,l=i,i=a),e[t]=r.floor(l),e[n]=r.ceil(i),e}function E6(e){return Math.log(e)}function A6(e){return Math.exp(e)}function AW(e){return-Math.log(-e)}function MW(e){return-Math.exp(-e)}function OW(e){return isFinite(e)?+(&quot;1e&quot;+e):e&lt;0?0:e}function PW(e){return e===10?OW:e===Math.E?Math.exp:r=&gt;Math.pow(e,r)}function TW(e){return e===Math.E?Math.log:e===10&amp;&amp;Math.log10||e===2&amp;&amp;Math.log2||(e=Math.log(e),r=&gt;Math.log(r)/e)}function M6(e){return(r,t)=&gt;-e(-r,t)}function z1(e){const r=e(E6,A6),t=r.domain;let n=10,l,i;function a(){return l=TW(n),i=PW(n),t()[0]&lt;0?(l=M6(l),i=M6(i),e(AW,MW)):e(E6,A6),r}return r.base=function(u){return arguments.length?(n=+u,a()):n},r.domain=function(u){return arguments.length?(t(u),a()):t()},r.ticks=u=&gt;{const o=t();let s=o[0],c=o[o.length-1];const f=c&lt;s;f&amp;&amp;([s,c]=[c,s]);let h=l(s),m=l(c),p,v;const g=u==null?10:+u;let b=[];if(!(n%1)&amp;&amp;m-h&lt;g){if(h=Math.floor(h),m=Math.ceil(m),s&gt;0){for(;h&lt;=m;++h)for(p=1;p&lt;n;++p)if(v=h&lt;0?p/i(-h):p*i(h),!(v&lt;s)){if(v&gt;c)break;b.push(v)}}else for(;h&lt;=m;++h)for(p=n-1;p&gt;=1;--p)if(v=h&gt;0?p/i(-h):p*i(h),!(v&lt;s)){if(v&gt;c)break;b.push(v)}b.length*2&lt;g&amp;&amp;(b=Kb(s,c,g))}else b=Kb(h,m,Math.min(m-h,g)).map(i);return f?b.reverse():b},r.tickFormat=(u,o)=&gt;{if(u==null&amp;&amp;(u=10),o==null&amp;&amp;(o=n===10?&quot;s&quot;:&quot;,&quot;),typeof o!=&quot;function&quot;&amp;&amp;(!(n%1)&amp;&amp;(o=Ku(o)).precision==null&amp;&amp;(o.trim=!0),o=B1(o)),u===1/0)return o;const s=Math.max(1,n*u/r.ticks().length);return c=&gt;{let f=c/i(Math.round(l(c)));return f*n&lt;n-.5&amp;&amp;(f*=n),f&lt;=s?o(c):&quot;&quot;}},r.nice=()=&gt;t(W7(t(),{floor:u=&gt;i(Math.floor(l(u))),ceil:u=&gt;i(Math.ceil(l(u)))})),r}function K7(){const e=z1(bp()).domain([1,10]);return e.copy=()=&gt;dd(e,K7()).base(e.base()),$i.apply(e,arguments),e}function O6(e){return function(r){return Math.sign(r)*Math.log1p(Math.abs(r/e))}}function P6(e){return function(r){return Math.sign(r)*Math.expm1(Math.abs(r))*e}}function $1(e){var r=1,t=e(O6(r),P6(r));return t.constant=function(n){return arguments.length?e(O6(r=+n),P6(r)):r},lo(t)}function X7(){var e=$1(bp());return e.copy=function(){return dd(e,X7()).constant(e.constant())},$i.apply(e,arguments)}function T6(e){return function(r){return r&lt;0?-Math.pow(-r,e):Math.pow(r,e)}}function IW(e){return e&lt;0?-Math.sqrt(-e):Math.sqrt(e)}function RW(e){return e&lt;0?-e*e:e*e}function U1(e){var r=e(Kn,Kn),t=1;function n(){return t===1?e(Kn,Kn):t===.5?e(IW,RW):e(T6(t),T6(1/t))}return r.exponent=function(l){return arguments.length?(t=+l,n()):t},lo(r)}function V1(){var e=U1(bp());return e.copy=function(){return dd(e,V1()).exponent(e.exponent())},$i.apply(e,arguments),e}function DW(){return V1.apply(null,arguments).exponent(.5)}function I6(e){return Math.sign(e)*e*e}function LW(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function G7(){var e=L1(),r=[0,1],t=!1,n;function l(i){var a=LW(e(i));return isNaN(a)?n:t?Math.round(a):a}return l.invert=function(i){return e.invert(I6(i))},l.domain=function(i){return arguments.length?(e.domain(i),l):e.domain()},l.range=function(i){return arguments.length?(e.range((r=Array.from(i,pm)).map(I6)),l):r.slice()},l.rangeRound=function(i){return l.range(i).round(!0)},l.round=function(i){return arguments.length?(t=!!i,l):t},l.clamp=function(i){return arguments.length?(e.clamp(i),l):e.clamp()},l.unknown=function(i){return arguments.length?(n=i,l):n},l.copy=function(){return G7(e.domain(),r).round(t).clamp(e.clamp()).unknown(n)},$i.apply(l,arguments),lo(l)}function Y7(){var e=[],r=[],t=[],n;function l(){var a=0,u=Math.max(1,r.length);for(t=new Array(u-1);++a&lt;u;)t[a-1]=$H(e,a/u);return i}function i(a){return a==null||isNaN(a=+a)?n:r[cd(t,a)]}return i.invertExtent=function(a){var u=r.indexOf(a);return u&lt;0?[NaN,NaN]:[u&gt;0?t[u-1]:e[0],u&lt;t.length?t[u]:e[e.length-1]]},i.domain=function(a){if(!arguments.length)return e.slice();e=[];for(let u of a)u!=null&amp;&amp;!isNaN(u=+u)&amp;&amp;e.push(u);return e.sort(Za),l()},i.range=function(a){return arguments.length?(r=Array.from(a),l()):r.slice()},i.unknown=function(a){return arguments.length?(n=a,i):n},i.quantiles=function(){return t.slice()},i.copy=function(){return Y7().domain(e).range(r).unknown(n)},$i.apply(i,arguments)}function Z7(){var e=0,r=1,t=1,n=[.5],l=[0,1],i;function a(o){return o!=null&amp;&amp;o&lt;=o?l[cd(n,o,0,t)]:i}function u(){var o=-1;for(n=new Array(t);++o&lt;t;)n[o]=((o+1)*r-(o-t)*e)/(t+1);return a}return a.domain=function(o){return arguments.length?([e,r]=o,e=+e,r=+r,u()):[e,r]},a.range=function(o){return arguments.length?(t=(l=Array.from(o)).length-1,u()):l.slice()},a.invertExtent=function(o){var s=l.indexOf(o);return s&lt;0?[NaN,NaN]:s&lt;1?[e,n[0]]:s&gt;=t?[n[t-1],r]:[n[s-1],n[s]]},a.unknown=function(o){return arguments.length&amp;&amp;(i=o),a},a.thresholds=function(){return n.slice()},a.copy=function(){return Z7().domain([e,r]).range(l).unknown(i)},$i.apply(lo(a),arguments)}function Q7(){var e=[.5],r=[0,1],t,n=1;function l(i){return i!=null&amp;&amp;i&lt;=i?r[cd(e,i,0,n)]:t}return l.domain=function(i){return arguments.length?(e=Array.from(i),n=Math.min(e.length,r.length-1),l):e.slice()},l.range=function(i){return arguments.length?(r=Array.from(i),n=Math.min(e.length,r.length-1),l):r.slice()},l.invertExtent=function(i){var a=r.indexOf(i);return[e[a-1],e[a]]},l.unknown=function(i){return arguments.length?(t=i,l):t},l.copy=function(){return Q7().domain(e).range(r).unknown(t)},$i.apply(l,arguments)}const oy=new Date,ly=new Date;function Jr(e,r,t,n){function l(i){return e(i=arguments.length===0?new Date:new Date(+i)),i}return l.floor=i=&gt;(e(i=new Date(+i)),i),l.ceil=i=&gt;(e(i=new Date(i-1)),r(i,1),e(i),i),l.round=i=&gt;{const a=l(i),u=l.ceil(i);return i-a&lt;u-i?a:u},l.offset=(i,a)=&gt;(r(i=new Date(+i),a==null?1:Math.floor(a)),i),l.range=(i,a,u)=&gt;{const o=[];if(i=l.ceil(i),u=u==null?1:Math.floor(u),!(i&lt;a)||!(u&gt;0))return o;let s;do o.push(s=new Date(+i)),r(i,u),e(i);while(s&lt;i&amp;&amp;i&lt;a);return o},l.filter=i=&gt;Jr(a=&gt;{if(a&gt;=a)for(;e(a),!i(a);)a.setTime(a-1)},(a,u)=&gt;{if(a&gt;=a)if(u&lt;0)for(;++u&lt;=0;)for(;r(a,-1),!i(a););else for(;--u&gt;=0;)for(;r(a,1),!i(a););}),t&amp;&amp;(l.count=(i,a)=&gt;(oy.setTime(+i),ly.setTime(+a),e(oy),e(ly),Math.floor(t(oy,ly))),l.every=i=&gt;(i=Math.floor(i),!isFinite(i)||!(i&gt;0)?null:i&gt;1?l.filter(n?a=&gt;n(a)%i===0:a=&gt;l.count(0,a)%i===0):l)),l}const ym=Jr(()=&gt;{},(e,r)=&gt;{e.setTime(+e+r)},(e,r)=&gt;r-e);ym.every=e=&gt;(e=Math.floor(e),!isFinite(e)||!(e&gt;0)?null:e&gt;1?Jr(r=&gt;{r.setTime(Math.floor(r/e)*e)},(r,t)=&gt;{r.setTime(+r+t*e)},(r,t)=&gt;(t-r)/e):ym);ym.range;const Ks=1e3,Di=Ks*60,Xs=Di*60,ra=Xs*24,q1=ra*7,R6=ra*30,cy=ra*365,Go=Jr(e=&gt;{e.setTime(e-e.getMilliseconds())},(e,r)=&gt;{e.setTime(+e+r*Ks)},(e,r)=&gt;(r-e)/Ks,e=&gt;e.getUTCSeconds());Go.range;const H1=Jr(e=&gt;{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ks)},(e,r)=&gt;{e.setTime(+e+r*Di)},(e,r)=&gt;(r-e)/Di,e=&gt;e.getMinutes());H1.range;const W1=Jr(e=&gt;{e.setUTCSeconds(0,0)},(e,r)=&gt;{e.setTime(+e+r*Di)},(e,r)=&gt;(r-e)/Di,e=&gt;e.getUTCMinutes());W1.range;const K1=Jr(e=&gt;{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Ks-e.getMinutes()*Di)},(e,r)=&gt;{e.setTime(+e+r*Xs)},(e,r)=&gt;(r-e)/Xs,e=&gt;e.getHours());K1.range;const X1=Jr(e=&gt;{e.setUTCMinutes(0,0,0)},(e,r)=&gt;{e.setTime(+e+r*Xs)},(e,r)=&gt;(r-e)/Xs,e=&gt;e.getUTCHours());X1.range;const fd=Jr(e=&gt;e.setHours(0,0,0,0),(e,r)=&gt;e.setDate(e.getDate()+r),(e,r)=&gt;(r-e-(r.getTimezoneOffset()-e.getTimezoneOffset())*Di)/ra,e=&gt;e.getDate()-1);fd.range;const xp=Jr(e=&gt;{e.setUTCHours(0,0,0,0)},(e,r)=&gt;{e.setUTCDate(e.getUTCDate()+r)},(e,r)=&gt;(r-e)/ra,e=&gt;e.getUTCDate()-1);xp.range;const J7=Jr(e=&gt;{e.setUTCHours(0,0,0,0)},(e,r)=&gt;{e.setUTCDate(e.getUTCDate()+r)},(e,r)=&gt;(r-e)/ra,e=&gt;Math.floor(e/ra));J7.range;function ul(e){return Jr(r=&gt;{r.setDate(r.getDate()-(r.getDay()+7-e)%7),r.setHours(0,0,0,0)},(r,t)=&gt;{r.setDate(r.getDate()+t*7)},(r,t)=&gt;(t-r-(t.getTimezoneOffset()-r.getTimezoneOffset())*Di)/q1)}const wp=ul(0),bm=ul(1),FW=ul(2),BW=ul(3),cc=ul(4),zW=ul(5),$W=ul(6);wp.range;bm.range;FW.range;BW.range;cc.range;zW.range;$W.range;function dl(e){return Jr(r=&gt;{r.setUTCDate(r.getUTCDate()-(r.getUTCDay()+7-e)%7),r.setUTCHours(0,0,0,0)},(r,t)=&gt;{r.setUTCDate(r.getUTCDate()+t*7)},(r,t)=&gt;(t-r)/q1)}const _p=dl(0),xm=dl(1),UW=dl(2),VW=dl(3),uc=dl(4),qW=dl(5),HW=dl(6);_p.range;xm.range;UW.range;VW.range;uc.range;qW.range;HW.range;const G1=Jr(e=&gt;{e.setDate(1),e.setHours(0,0,0,0)},(e,r)=&gt;{e.setMonth(e.getMonth()+r)},(e,r)=&gt;r.getMonth()-e.getMonth()+(r.getFullYear()-e.getFullYear())*12,e=&gt;e.getMonth());G1.range;const Y1=Jr(e=&gt;{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,r)=&gt;{e.setUTCMonth(e.getUTCMonth()+r)},(e,r)=&gt;r.getUTCMonth()-e.getUTCMonth()+(r.getUTCFullYear()-e.getUTCFullYear())*12,e=&gt;e.getUTCMonth());Y1.range;const na=Jr(e=&gt;{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=&gt;{e.setFullYear(e.getFullYear()+r)},(e,r)=&gt;r.getFullYear()-e.getFullYear(),e=&gt;e.getFullYear());na.every=e=&gt;!isFinite(e=Math.floor(e))||!(e&gt;0)?null:Jr(r=&gt;{r.setFullYear(Math.floor(r.getFullYear()/e)*e),r.setMonth(0,1),r.setHours(0,0,0,0)},(r,t)=&gt;{r.setFullYear(r.getFullYear()+t*e)});na.range;const ia=Jr(e=&gt;{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=&gt;{e.setUTCFullYear(e.getUTCFullYear()+r)},(e,r)=&gt;r.getUTCFullYear()-e.getUTCFullYear(),e=&gt;e.getUTCFullYear());ia.every=e=&gt;!isFinite(e=Math.floor(e))||!(e&gt;0)?null:Jr(r=&gt;{r.setUTCFullYear(Math.floor(r.getUTCFullYear()/e)*e),r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0)},(r,t)=&gt;{r.setUTCFullYear(r.getUTCFullYear()+t*e)});ia.range;function eE(e,r,t,n,l,i){const a=[[Go,1,Ks],[Go,5,5*Ks],[Go,15,15*Ks],[Go,30,30*Ks],[i,1,Di],[i,5,5*Di],[i,15,15*Di],[i,30,30*Di],[l,1,Xs],[l,3,3*Xs],[l,6,6*Xs],[l,12,12*Xs],[n,1,ra],[n,2,2*ra],[t,1,q1],[r,1,R6],[r,3,3*R6],[e,1,cy]];function u(s,c,f){const h=c&lt;s;h&amp;&amp;([s,c]=[c,s]);const m=f&amp;&amp;typeof f.range==&quot;function&quot;?f:o(s,c,f),p=m?m.range(s,+c+1):[];return h?p.reverse():p}function o(s,c,f){const h=Math.abs(c-s)/f,m=O1(([,,g])=&gt;g).right(a,h);if(m===a.length)return e.every(Gb(s/cy,c/cy,f));if(m===0)return ym.every(Math.max(Gb(s,c,f),1));const[p,v]=a[h/a[m-1][2]&lt;a[m][2]/h?m-1:m];return p.every(v)}return[u,o]}const[WW,KW]=eE(ia,Y1,_p,J7,X1,W1),[XW,GW]=eE(na,G1,wp,fd,K1,H1);function uy(e){if(0&lt;=e.y&amp;&amp;e.y&lt;100){var r=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return r.setFullYear(e.y),r}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function dy(e){if(0&lt;=e.y&amp;&amp;e.y&lt;100){var r=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return r.setUTCFullYear(e.y),r}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function du(e,r,t){return{y:e,m:r,d:t,H:0,M:0,S:0,L:0}}function YW(e){var r=e.dateTime,t=e.date,n=e.time,l=e.periods,i=e.days,a=e.shortDays,u=e.months,o=e.shortMonths,s=fu(l),c=hu(l),f=fu(i),h=hu(i),m=fu(a),p=hu(a),v=fu(u),g=hu(u),b=fu(o),x=hu(o),_={a:k,A:S,b:N,B:M,c:null,d:$6,e:$6,f:bK,g:AK,G:OK,H:gK,I:vK,j:yK,L:tE,m:xK,M:wK,p:I,q:B,Q:q6,s:H6,S:_K,u:jK,U:SK,V:kK,w:NK,W:CK,x:null,X:null,y:EK,Y:MK,Z:PK,&quot;%&quot;:V6},C={a:Y,A:Z,b:ie,B:$,c:null,d:U6,e:U6,f:DK,g:WK,G:XK,H:TK,I:IK,j:RK,L:nE,m:LK,M:FK,p:ee,q:z,Q:q6,s:H6,S:BK,u:zK,U:$K,V:UK,w:VK,W:qK,x:null,X:null,y:HK,Y:KK,Z:GK,&quot;%&quot;:V6},O={a:W,A:K,b:U,B:P,c:D,d:B6,e:B6,f:fK,g:F6,G:L6,H:z6,I:z6,j:lK,L:dK,m:oK,M:cK,p:q,q:aK,Q:mK,s:pK,S:uK,u:tK,U:rK,V:nK,w:eK,W:iK,x:E,X:j,y:F6,Y:L6,Z:sK,&quot;%&quot;:hK};_.x=R(t,_),_.X=R(n,_),_.c=R(r,_),C.x=R(t,C),C.X=R(n,C),C.c=R(r,C);function R(T,X){return function(re){var ne=[],Q=-1,te=0,de=T.length,oe,se,fe;for(re instanceof Date||(re=new Date(+re));++Q&lt;de;)T.charCodeAt(Q)===37&amp;&amp;(ne.push(T.slice(te,Q)),(se=D6[oe=T.charAt(++Q)])!=null?oe=T.charAt(++Q):se=oe===&quot;e&quot;?&quot; &quot;:&quot;0&quot;,(fe=X[oe])&amp;&amp;(oe=fe(re,se)),ne.push(oe),te=Q+1);return ne.push(T.slice(te,Q)),ne.join(&quot;&quot;)}}function H(T,X){return function(re){var ne=du(1900,void 0,1),Q=L(ne,T,re+=&quot;&quot;,0),te,de;if(Q!=re.length)return null;if(&quot;Q&quot;in ne)return new Date(ne.Q);if(&quot;s&quot;in ne)return new Date(ne.s*1e3+(&quot;L&quot;in ne?ne.L:0));if(X&amp;&amp;!(&quot;Z&quot;in ne)&amp;&amp;(ne.Z=0),&quot;p&quot;in ne&amp;&amp;(ne.H=ne.H%12+ne.p*12),ne.m===void 0&amp;&amp;(ne.m=&quot;q&quot;in ne?ne.q:0),&quot;V&quot;in ne){if(ne.V&lt;1||ne.V&gt;53)return null;&quot;w&quot;in ne||(ne.w=1),&quot;Z&quot;in ne?(te=dy(du(ne.y,0,1)),de=te.getUTCDay(),te=de&gt;4||de===0?xm.ceil(te):xm(te),te=xp.offset(te,(ne.V-1)*7),ne.y=te.getUTCFullYear(),ne.m=te.getUTCMonth(),ne.d=te.getUTCDate()+(ne.w+6)%7):(te=uy(du(ne.y,0,1)),de=te.getDay(),te=de&gt;4||de===0?bm.ceil(te):bm(te),te=fd.offset(te,(ne.V-1)*7),ne.y=te.getFullYear(),ne.m=te.getMonth(),ne.d=te.getDate()+(ne.w+6)%7)}else(&quot;W&quot;in ne||&quot;U&quot;in ne)&amp;&amp;(&quot;w&quot;in ne||(ne.w=&quot;u&quot;in ne?ne.u%7:&quot;W&quot;in ne?1:0),de=&quot;Z&quot;in ne?dy(du(ne.y,0,1)).getUTCDay():uy(du(ne.y,0,1)).getDay(),ne.m=0,ne.d=&quot;W&quot;in ne?(ne.w+6)%7+ne.W*7-(de+5)%7:ne.w+ne.U*7-(de+6)%7);return&quot;Z&quot;in ne?(ne.H+=ne.Z/100|0,ne.M+=ne.Z%100,dy(ne)):uy(ne)}}function L(T,X,re,ne){for(var Q=0,te=X.length,de=re.length,oe,se;Q&lt;te;){if(ne&gt;=de)return-1;if(oe=X.charCodeAt(Q++),oe===37){if(oe=X.charAt(Q++),se=O[oe in D6?X.charAt(Q++):oe],!se||(ne=se(T,re,ne))&lt;0)return-1}else if(oe!=re.charCodeAt(ne++))return-1}return ne}function q(T,X,re){var ne=s.exec(X.slice(re));return ne?(T.p=c.get(ne[0].toLowerCase()),re+ne[0].length):-1}function W(T,X,re){var ne=m.exec(X.slice(re));return ne?(T.w=p.get(ne[0].toLowerCase()),re+ne[0].length):-1}function K(T,X,re){var ne=f.exec(X.slice(re));return ne?(T.w=h.get(ne[0].toLowerCase()),re+ne[0].length):-1}function U(T,X,re){var ne=b.exec(X.slice(re));return ne?(T.m=x.get(ne[0].toLowerCase()),re+ne[0].length):-1}function P(T,X,re){var ne=v.exec(X.slice(re));return ne?(T.m=g.get(ne[0].toLowerCase()),re+ne[0].length):-1}function D(T,X,re){return L(T,r,X,re)}function E(T,X,re){return L(T,t,X,re)}function j(T,X,re){return L(T,n,X,re)}function k(T){return a[T.getDay()]}function S(T){return i[T.getDay()]}function N(T){return o[T.getMonth()]}function M(T){return u[T.getMonth()]}function I(T){return l[+(T.getHours()&gt;=12)]}function B(T){return 1+~~(T.getMonth()/3)}function Y(T){return a[T.getUTCDay()]}function Z(T){return i[T.getUTCDay()]}function ie(T){return o[T.getUTCMonth()]}function $(T){return u[T.getUTCMonth()]}function ee(T){return l[+(T.getUTCHours()&gt;=12)]}function z(T){return 1+~~(T.getUTCMonth()/3)}return{format:function(T){var X=R(T+=&quot;&quot;,_);return X.toString=function(){return T},X},parse:function(T){var X=H(T+=&quot;&quot;,!1);return X.toString=function(){return T},X},utcFormat:function(T){var X=R(T+=&quot;&quot;,C);return X.toString=function(){return T},X},utcParse:function(T){var X=H(T+=&quot;&quot;,!0);return X.toString=function(){return T},X}}}var D6={&quot;-&quot;:&quot;&quot;,_:&quot; &quot;,0:&quot;0&quot;},mn=/^\s*\d+/,ZW=/^%/,QW=/[\\^$*+?|[\]().{}]/g;function tr(e,r,t){var n=e&lt;0?&quot;-&quot;:&quot;&quot;,l=(n?-e:e)+&quot;&quot;,i=l.length;return n+(i&lt;t?new Array(t-i+1).join(r)+l:l)}function JW(e){return e.replace(QW,&quot;\\$&amp;&quot;)}function fu(e){return new RegExp(&quot;^(?:&quot;+e.map(JW).join(&quot;|&quot;)+&quot;)&quot;,&quot;i&quot;)}function hu(e){return new Map(e.map((r,t)=&gt;[r.toLowerCase(),t]))}function eK(e,r,t){var n=mn.exec(r.slice(t,t+1));return n?(e.w=+n[0],t+n[0].length):-1}function tK(e,r,t){var n=mn.exec(r.slice(t,t+1));return n?(e.u=+n[0],t+n[0].length):-1}function rK(e,r,t){var n=mn.exec(r.slice(t,t+2));return n?(e.U=+n[0],t+n[0].length):-1}function nK(e,r,t){var n=mn.exec(r.slice(t,t+2));return n?(e.V=+n[0],t+n[0].length):-1}function iK(e,r,t){var n=mn.exec(r.slice(t,t+2));return n?(e.W=+n[0],t+n[0].length):-1}function L6(e,r,t){var n=mn.exec(r.slice(t,t+4));return n?(e.y=+n[0],t+n[0].length):-1}function F6(e,r,t){var n=mn.exec(r.slice(t,t+2));return n?(e.y=+n[0]+(+n[0]&gt;68?1900:2e3),t+n[0].length):-1}function sK(e,r,t){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(r.slice(t,t+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||&quot;00&quot;)),t+n[0].length):-1}function aK(e,r,t){var n=mn.exec(r.slice(t,t+1));return n?(e.q=n[0]*3-3,t+n[0].length):-1}function oK(e,r,t){var n=mn.exec(r.slice(t,t+2));return n?(e.m=n[0]-1,t+n[0].length):-1}function B6(e,r,t){var n=mn.exec(r.slice(t,t+2));return n?(e.d=+n[0],t+n[0].length):-1}function lK(e,r,t){var n=mn.exec(r.slice(t,t+3));return n?(e.m=0,e.d=+n[0],t+n[0].length):-1}function z6(e,r,t){var n=mn.exec(r.slice(t,t+2));return n?(e.H=+n[0],t+n[0].length):-1}function cK(e,r,t){var n=mn.exec(r.slice(t,t+2));return n?(e.M=+n[0],t+n[0].length):-1}function uK(e,r,t){var n=mn.exec(r.slice(t,t+2));return n?(e.S=+n[0],t+n[0].length):-1}function dK(e,r,t){var n=mn.exec(r.slice(t,t+3));return n?(e.L=+n[0],t+n[0].length):-1}function fK(e,r,t){var n=mn.exec(r.slice(t,t+6));return n?(e.L=Math.floor(n[0]/1e3),t+n[0].length):-1}function hK(e,r,t){var n=ZW.exec(r.slice(t,t+1));return n?t+n[0].length:-1}function mK(e,r,t){var n=mn.exec(r.slice(t));return n?(e.Q=+n[0],t+n[0].length):-1}function pK(e,r,t){var n=mn.exec(r.slice(t));return n?(e.s=+n[0],t+n[0].length):-1}function $6(e,r){return tr(e.getDate(),r,2)}function gK(e,r){return tr(e.getHours(),r,2)}function vK(e,r){return tr(e.getHours()%12||12,r,2)}function yK(e,r){return tr(1+fd.count(na(e),e),r,3)}function tE(e,r){return tr(e.getMilliseconds(),r,3)}function bK(e,r){return tE(e,r)+&quot;000&quot;}function xK(e,r){return tr(e.getMonth()+1,r,2)}function wK(e,r){return tr(e.getMinutes(),r,2)}function _K(e,r){return tr(e.getSeconds(),r,2)}function jK(e){var r=e.getDay();return r===0?7:r}function SK(e,r){return tr(wp.count(na(e)-1,e),r,2)}function rE(e){var r=e.getDay();return r&gt;=4||r===0?cc(e):cc.ceil(e)}function kK(e,r){return e=rE(e),tr(cc.count(na(e),e)+(na(e).getDay()===4),r,2)}function NK(e){return e.getDay()}function CK(e,r){return tr(bm.count(na(e)-1,e),r,2)}function EK(e,r){return tr(e.getFullYear()%100,r,2)}function AK(e,r){return e=rE(e),tr(e.getFullYear()%100,r,2)}function MK(e,r){return tr(e.getFullYear()%1e4,r,4)}function OK(e,r){var t=e.getDay();return e=t&gt;=4||t===0?cc(e):cc.ceil(e),tr(e.getFullYear()%1e4,r,4)}function PK(e){var r=e.getTimezoneOffset();return(r&gt;0?&quot;-&quot;:(r*=-1,&quot;+&quot;))+tr(r/60|0,&quot;0&quot;,2)+tr(r%60,&quot;0&quot;,2)}function U6(e,r){return tr(e.getUTCDate(),r,2)}function TK(e,r){return tr(e.getUTCHours(),r,2)}function IK(e,r){return tr(e.getUTCHours()%12||12,r,2)}function RK(e,r){return tr(1+xp.count(ia(e),e),r,3)}function nE(e,r){return tr(e.getUTCMilliseconds(),r,3)}function DK(e,r){return nE(e,r)+&quot;000&quot;}function LK(e,r){return tr(e.getUTCMonth()+1,r,2)}function FK(e,r){return tr(e.getUTCMinutes(),r,2)}function BK(e,r){return tr(e.getUTCSeconds(),r,2)}function zK(e){var r=e.getUTCDay();return r===0?7:r}function $K(e,r){return tr(_p.count(ia(e)-1,e),r,2)}function iE(e){var r=e.getUTCDay();return r&gt;=4||r===0?uc(e):uc.ceil(e)}function UK(e,r){return e=iE(e),tr(uc.count(ia(e),e)+(ia(e).getUTCDay()===4),r,2)}function VK(e){return e.getUTCDay()}function qK(e,r){return tr(xm.count(ia(e)-1,e),r,2)}function HK(e,r){return tr(e.getUTCFullYear()%100,r,2)}function WK(e,r){return e=iE(e),tr(e.getUTCFullYear()%100,r,2)}function KK(e,r){return tr(e.getUTCFullYear()%1e4,r,4)}function XK(e,r){var t=e.getUTCDay();return e=t&gt;=4||t===0?uc(e):uc.ceil(e),tr(e.getUTCFullYear()%1e4,r,4)}function GK(){return&quot;+0000&quot;}function V6(){return&quot;%&quot;}function q6(e){return+e}function H6(e){return Math.floor(+e/1e3)}var zl,sE,aE;YK({dateTime:&quot;%x, %X&quot;,date:&quot;%-m/%-d/%Y&quot;,time:&quot;%-I:%M:%S %p&quot;,periods:[&quot;AM&quot;,&quot;PM&quot;],days:[&quot;Sunday&quot;,&quot;Monday&quot;,&quot;Tuesday&quot;,&quot;Wednesday&quot;,&quot;Thursday&quot;,&quot;Friday&quot;,&quot;Saturday&quot;],shortDays:[&quot;Sun&quot;,&quot;Mon&quot;,&quot;Tue&quot;,&quot;Wed&quot;,&quot;Thu&quot;,&quot;Fri&quot;,&quot;Sat&quot;],months:[&quot;January&quot;,&quot;February&quot;,&quot;March&quot;,&quot;April&quot;,&quot;May&quot;,&quot;June&quot;,&quot;July&quot;,&quot;August&quot;,&quot;September&quot;,&quot;October&quot;,&quot;November&quot;,&quot;December&quot;],shortMonths:[&quot;Jan&quot;,&quot;Feb&quot;,&quot;Mar&quot;,&quot;Apr&quot;,&quot;May&quot;,&quot;Jun&quot;,&quot;Jul&quot;,&quot;Aug&quot;,&quot;Sep&quot;,&quot;Oct&quot;,&quot;Nov&quot;,&quot;Dec&quot;]});function YK(e){return zl=YW(e),sE=zl.format,zl.parse,aE=zl.utcFormat,zl.utcParse,zl}function ZK(e){return new Date(e)}function QK(e){return e instanceof Date?+e:+new Date(+e)}function Z1(e,r,t,n,l,i,a,u,o,s){var c=L1(),f=c.invert,h=c.domain,m=s(&quot;.%L&quot;),p=s(&quot;:%S&quot;),v=s(&quot;%I:%M&quot;),g=s(&quot;%I %p&quot;),b=s(&quot;%a %d&quot;),x=s(&quot;%b %d&quot;),_=s(&quot;%B&quot;),C=s(&quot;%Y&quot;);function O(R){return(o(R)&lt;R?m:u(R)&lt;R?p:a(R)&lt;R?v:i(R)&lt;R?g:n(R)&lt;R?l(R)&lt;R?b:x:t(R)&lt;R?_:C)(R)}return c.invert=function(R){return new Date(f(R))},c.domain=function(R){return arguments.length?h(Array.from(R,QK)):h().map(ZK)},c.ticks=function(R){var H=h();return e(H[0],H[H.length-1],R??10)},c.tickFormat=function(R,H){return H==null?O:s(H)},c.nice=function(R){var H=h();return(!R||typeof R.range!=&quot;function&quot;)&amp;&amp;(R=r(H[0],H[H.length-1],R??10)),R?h(W7(H,R)):c},c.copy=function(){return dd(c,Z1(e,r,t,n,l,i,a,u,o,s))},c}function JK(){return $i.apply(Z1(XW,GW,na,G1,wp,fd,K1,H1,Go,sE).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function eX(){return $i.apply(Z1(WW,KW,ia,Y1,_p,xp,X1,W1,Go,aE).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function jp(){var e=0,r=1,t,n,l,i,a=Kn,u=!1,o;function s(f){return f==null||isNaN(f=+f)?o:a(l===0?.5:(f=(i(f)-t)*l,u?Math.max(0,Math.min(1,f)):f))}s.domain=function(f){return arguments.length?([e,r]=f,t=i(e=+e),n=i(r=+r),l=t===n?0:1/(n-t),s):[e,r]},s.clamp=function(f){return arguments.length?(u=!!f,s):u},s.interpolator=function(f){return arguments.length?(a=f,s):a};function c(f){return function(h){var m,p;return arguments.length?([m,p]=h,a=f(m,p),s):[a(0),a(1)]}}return s.range=c(yc),s.rangeRound=c(D1),s.unknown=function(f){return arguments.length?(o=f,s):o},function(f){return i=f,t=f(e),n=f(r),l=t===n?0:1/(n-t),s}}function co(e,r){return r.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function oE(){var e=lo(jp()(Kn));return e.copy=function(){return co(e,oE())},ua.apply(e,arguments)}function lE(){var e=z1(jp()).domain([1,10]);return e.copy=function(){return co(e,lE()).base(e.base())},ua.apply(e,arguments)}function cE(){var e=$1(jp());return e.copy=function(){return co(e,cE()).constant(e.constant())},ua.apply(e,arguments)}function Q1(){var e=U1(jp());return e.copy=function(){return co(e,Q1()).exponent(e.exponent())},ua.apply(e,arguments)}function tX(){return Q1.apply(null,arguments).exponent(.5)}function uE(){var e=[],r=Kn;function t(n){if(n!=null&amp;&amp;!isNaN(n=+n))return r((cd(e,n,1)-1)/(e.length-1))}return t.domain=function(n){if(!arguments.length)return e.slice();e=[];for(let l of n)l!=null&amp;&amp;!isNaN(l=+l)&amp;&amp;e.push(l);return e.sort(Za),t},t.interpolator=function(n){return arguments.length?(r=n,t):r},t.range=function(){return e.map((n,l)=&gt;r(l/(e.length-1)))},t.quantiles=function(n){return Array.from({length:n+1},(l,i)=&gt;zH(e,i/n))},t.copy=function(){return uE(r).domain(e)},ua.apply(t,arguments)}function Sp(){var e=0,r=.5,t=1,n=1,l,i,a,u,o,s=Kn,c,f=!1,h;function m(v){return isNaN(v=+v)?h:(v=.5+((v=+c(v))-i)*(n*v&lt;n*i?u:o),s(f?Math.max(0,Math.min(1,v)):v))}m.domain=function(v){return arguments.length?([e,r,t]=v,l=c(e=+e),i=c(r=+r),a=c(t=+t),u=l===i?0:.5/(i-l),o=i===a?0:.5/(a-i),n=i&lt;l?-1:1,m):[e,r,t]},m.clamp=function(v){return arguments.length?(f=!!v,m):f},m.interpolator=function(v){return arguments.length?(s=v,m):s};function p(v){return function(g){var b,x,_;return arguments.length?([b,x,_]=g,s=hW(v,[b,x,_]),m):[s(0),s(.5),s(1)]}}return m.range=p(yc),m.rangeRound=p(D1),m.unknown=function(v){return arguments.length?(h=v,m):h},function(v){return c=v,l=v(e),i=v(r),a=v(t),u=l===i?0:.5/(i-l),o=i===a?0:.5/(a-i),n=i&lt;l?-1:1,m}}function dE(){var e=lo(Sp()(Kn));return e.copy=function(){return co(e,dE())},ua.apply(e,arguments)}function fE(){var e=z1(Sp()).domain([.1,1,10]);return e.copy=function(){return co(e,fE()).base(e.base())},ua.apply(e,arguments)}function hE(){var e=$1(Sp());return e.copy=function(){return co(e,hE()).constant(e.constant())},ua.apply(e,arguments)}function J1(){var e=U1(Sp());return e.copy=function(){return co(e,J1()).exponent(e.exponent())},ua.apply(e,arguments)}function rX(){return J1.apply(null,arguments).exponent(.5)}const xu=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:T1,scaleDiverging:dE,scaleDivergingLog:fE,scaleDivergingPow:J1,scaleDivergingSqrt:rX,scaleDivergingSymlog:hE,scaleIdentity:H7,scaleImplicit:Yb,scaleLinear:q7,scaleLog:K7,scaleOrdinal:P1,scalePoint:VH,scalePow:V1,scaleQuantile:Y7,scaleQuantize:Z7,scaleRadial:G7,scaleSequential:oE,scaleSequentialLog:lE,scaleSequentialPow:Q1,scaleSequentialQuantile:uE,scaleSequentialSqrt:tX,scaleSequentialSymlog:cE,scaleSqrt:DW,scaleSymlog:X7,scaleThreshold:Q7,scaleTime:JK,scaleUtc:eX,tickFormat:V7},Symbol.toStringTag,{value:&quot;Module&quot;}));var da=e=&gt;e.chartData,mE=Oe([da],e=&gt;{var r=e.chartData!=null?e.chartData.length-1:0;return{chartData:e.chartData,computedData:e.computedData,dataEndIndex:r,dataStartIndex:0}}),e2=(e,r,t,n)=&gt;n?mE(e):da(e),nX=(e,r,t)=&gt;t?mE(e):da(e);function ro(e){if(Array.isArray(e)&amp;&amp;e.length===2){var[r,t]=e;if(Or(r)&amp;&amp;Or(t))return!0}return!1}function W6(e,r,t){return t?e:[Math.min(e[0],r[0]),Math.max(e[1],r[1])]}function pE(e,r){if(r&amp;&amp;typeof e!=&quot;function&quot;&amp;&amp;Array.isArray(e)&amp;&amp;e.length===2){var[t,n]=e,l,i;if(Or(t))l=t;else if(typeof t==&quot;function&quot;)return;if(Or(n))i=n;else if(typeof n==&quot;function&quot;)return;var a=[l,i];if(ro(a))return a}}function iX(e,r,t){if(!(!t&amp;&amp;r==null)){if(typeof e==&quot;function&quot;&amp;&amp;r!=null)try{var n=e(r,t);if(ro(n))return W6(n,r,t)}catch{}if(Array.isArray(e)&amp;&amp;e.length===2){var[l,i]=e,a,u;if(l===&quot;auto&quot;)r!=null&amp;&amp;(a=Math.min(...r));else if(ht(l))a=l;else if(typeof l==&quot;function&quot;)try{r!=null&amp;&amp;(a=l(r?.[0]))}catch{}else if(typeof l==&quot;string&quot;&amp;&amp;nj.test(l)){var o=nj.exec(l);if(o==null||o[1]==null||r==null)a=void 0;else{var s=+o[1];a=r[0]-s}}else a=r?.[0];if(i===&quot;auto&quot;)r!=null&amp;&amp;(u=Math.max(...r));else if(ht(i))u=i;else if(typeof i==&quot;function&quot;)try{r!=null&amp;&amp;(u=i(r?.[1]))}catch{}else if(typeof i==&quot;string&quot;&amp;&amp;ij.test(i)){var c=ij.exec(i);if(c==null||c[1]==null||r==null)u=void 0;else{var f=+c[1];u=r[1]+f}}else u=r?.[1];var h=[a,u];if(ro(h))return r==null?h:W6(h,r,t)}}}var bc=1e9,sX={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:&quot;2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286&quot;},r2,kr=!0,zi=&quot;[DecimalError] &quot;,el=zi+&quot;Invalid argument: &quot;,t2=zi+&quot;Exponent out of range: &quot;,xc=Math.floor,Uo=Math.pow,aX=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,mi,dn=1e7,xr=7,gE=9007199254740991,wm=xc(gE/xr),ot={};ot.absoluteValue=ot.abs=function(){var e=new this.constructor(this);return e.s&amp;&amp;(e.s=1),e};ot.comparedTo=ot.cmp=function(e){var r,t,n,l,i=this;if(e=new i.constructor(e),i.s!==e.s)return i.s||-e.s;if(i.e!==e.e)return i.e&gt;e.e^i.s&lt;0?1:-1;for(n=i.d.length,l=e.d.length,r=0,t=n&lt;l?n:l;r&lt;t;++r)if(i.d[r]!==e.d[r])return i.d[r]&gt;e.d[r]^i.s&lt;0?1:-1;return n===l?0:n&gt;l^i.s&lt;0?1:-1};ot.decimalPlaces=ot.dp=function(){var e=this,r=e.d.length-1,t=(r-e.e)*xr;if(r=e.d[r],r)for(;r%10==0;r/=10)t--;return t&lt;0?0:t};ot.dividedBy=ot.div=function(e){return Ys(this,new this.constructor(e))};ot.dividedToIntegerBy=ot.idiv=function(e){var r=this,t=r.constructor;return fr(Ys(r,new t(e),0,1),t.precision)};ot.equals=ot.eq=function(e){return!this.cmp(e)};ot.exponent=function(){return Xr(this)};ot.greaterThan=ot.gt=function(e){return this.cmp(e)&gt;0};ot.greaterThanOrEqualTo=ot.gte=function(e){return this.cmp(e)&gt;=0};ot.isInteger=ot.isint=function(){return this.e&gt;this.d.length-2};ot.isNegative=ot.isneg=function(){return this.s&lt;0};ot.isPositive=ot.ispos=function(){return this.s&gt;0};ot.isZero=function(){return this.s===0};ot.lessThan=ot.lt=function(e){return this.cmp(e)&lt;0};ot.lessThanOrEqualTo=ot.lte=function(e){return this.cmp(e)&lt;1};ot.logarithm=ot.log=function(e){var r,t=this,n=t.constructor,l=n.precision,i=l+5;if(e===void 0)e=new n(10);else if(e=new n(e),e.s&lt;1||e.eq(mi))throw Error(zi+&quot;NaN&quot;);if(t.s&lt;1)throw Error(zi+(t.s?&quot;NaN&quot;:&quot;-Infinity&quot;));return t.eq(mi)?new n(0):(kr=!1,r=Ys(Xu(t,i),Xu(e,i),i),kr=!0,fr(r,l))};ot.minus=ot.sub=function(e){var r=this;return e=new r.constructor(e),r.s==e.s?bE(r,e):vE(r,(e.s=-e.s,e))};ot.modulo=ot.mod=function(e){var r,t=this,n=t.constructor,l=n.precision;if(e=new n(e),!e.s)throw Error(zi+&quot;NaN&quot;);return t.s?(kr=!1,r=Ys(t,e,0,1).times(e),kr=!0,t.minus(r)):fr(new n(t),l)};ot.naturalExponential=ot.exp=function(){return yE(this)};ot.naturalLogarithm=ot.ln=function(){return Xu(this)};ot.negated=ot.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};ot.plus=ot.add=function(e){var r=this;return e=new r.constructor(e),r.s==e.s?vE(r,e):bE(r,(e.s=-e.s,e))};ot.precision=ot.sd=function(e){var r,t,n,l=this;if(e!==void 0&amp;&amp;e!==!!e&amp;&amp;e!==1&amp;&amp;e!==0)throw Error(el+e);if(r=Xr(l)+1,n=l.d.length-1,t=n*xr+1,n=l.d[n],n){for(;n%10==0;n/=10)t--;for(n=l.d[0];n&gt;=10;n/=10)t++}return e&amp;&amp;r&gt;t?r:t};ot.squareRoot=ot.sqrt=function(){var e,r,t,n,l,i,a,u=this,o=u.constructor;if(u.s&lt;1){if(!u.s)return new o(0);throw Error(zi+&quot;NaN&quot;)}for(e=Xr(u),kr=!1,l=Math.sqrt(+u),l==0||l==1/0?(r=Ss(u.d),(r.length+e)%2==0&amp;&amp;(r+=&quot;0&quot;),l=Math.sqrt(r),e=xc((e+1)/2)-(e&lt;0||e%2),l==1/0?r=&quot;5e&quot;+e:(r=l.toExponential(),r=r.slice(0,r.indexOf(&quot;e&quot;)+1)+e),n=new o(r)):n=new o(l.toString()),t=o.precision,l=a=t+3;;)if(i=n,n=i.plus(Ys(u,i,a+2)).times(.5),Ss(i.d).slice(0,a)===(r=Ss(n.d)).slice(0,a)){if(r=r.slice(a-3,a+1),l==a&amp;&amp;r==&quot;4999&quot;){if(fr(i,t+1,0),i.times(i).eq(u)){n=i;break}}else if(r!=&quot;9999&quot;)break;a+=4}return kr=!0,fr(n,t)};ot.times=ot.mul=function(e){var r,t,n,l,i,a,u,o,s,c=this,f=c.constructor,h=c.d,m=(e=new f(e)).d;if(!c.s||!e.s)return new f(0);for(e.s*=c.s,t=c.e+e.e,o=h.length,s=m.length,o&lt;s&amp;&amp;(i=h,h=m,m=i,a=o,o=s,s=a),i=[],a=o+s,n=a;n--;)i.push(0);for(n=s;--n&gt;=0;){for(r=0,l=o+n;l&gt;n;)u=i[l]+m[n]*h[l-n-1]+r,i[l--]=u%dn|0,r=u/dn|0;i[l]=(i[l]+r)%dn|0}for(;!i[--a];)i.pop();return r?++t:i.shift(),e.d=i,e.e=t,kr?fr(e,f.precision):e};ot.toDecimalPlaces=ot.todp=function(e,r){var t=this,n=t.constructor;return t=new n(t),e===void 0?t:(Ms(e,0,bc),r===void 0?r=n.rounding:Ms(r,0,8),fr(t,e+Xr(t)+1,r))};ot.toExponential=function(e,r){var t,n=this,l=n.constructor;return e===void 0?t=al(n,!0):(Ms(e,0,bc),r===void 0?r=l.rounding:Ms(r,0,8),n=fr(new l(n),e+1,r),t=al(n,!0,e+1)),t};ot.toFixed=function(e,r){var t,n,l=this,i=l.constructor;return e===void 0?al(l):(Ms(e,0,bc),r===void 0?r=i.rounding:Ms(r,0,8),n=fr(new i(l),e+Xr(l)+1,r),t=al(n.abs(),!1,e+Xr(n)+1),l.isneg()&amp;&amp;!l.isZero()?&quot;-&quot;+t:t)};ot.toInteger=ot.toint=function(){var e=this,r=e.constructor;return fr(new r(e),Xr(e)+1,r.rounding)};ot.toNumber=function(){return+this};ot.toPower=ot.pow=function(e){var r,t,n,l,i,a,u=this,o=u.constructor,s=12,c=+(e=new o(e));if(!e.s)return new o(mi);if(u=new o(u),!u.s){if(e.s&lt;1)throw Error(zi+&quot;Infinity&quot;);return u}if(u.eq(mi))return u;if(n=o.precision,e.eq(mi))return fr(u,n);if(r=e.e,t=e.d.length-1,a=r&gt;=t,i=u.s,a){if((t=c&lt;0?-c:c)&lt;=gE){for(l=new o(mi),r=Math.ceil(n/xr+4),kr=!1;t%2&amp;&amp;(l=l.times(u),X6(l.d,r)),t=xc(t/2),t!==0;)u=u.times(u),X6(u.d,r);return kr=!0,e.s&lt;0?new o(mi).div(l):fr(l,n)}}else if(i&lt;0)throw Error(zi+&quot;NaN&quot;);return i=i&lt;0&amp;&amp;e.d[Math.max(r,t)]&amp;1?-1:1,u.s=1,kr=!1,l=e.times(Xu(u,n+s)),kr=!0,l=yE(l),l.s=i,l};ot.toPrecision=function(e,r){var t,n,l=this,i=l.constructor;return e===void 0?(t=Xr(l),n=al(l,t&lt;=i.toExpNeg||t&gt;=i.toExpPos)):(Ms(e,1,bc),r===void 0?r=i.rounding:Ms(r,0,8),l=fr(new i(l),e,r),t=Xr(l),n=al(l,e&lt;=t||t&lt;=i.toExpNeg,e)),n};ot.toSignificantDigits=ot.tosd=function(e,r){var t=this,n=t.constructor;return e===void 0?(e=n.precision,r=n.rounding):(Ms(e,1,bc),r===void 0?r=n.rounding:Ms(r,0,8)),fr(new n(t),e,r)};ot.toString=ot.valueOf=ot.val=ot.toJSON=ot[Symbol.for(&quot;nodejs.util.inspect.custom&quot;)]=function(){var e=this,r=Xr(e),t=e.constructor;return al(e,r&lt;=t.toExpNeg||r&gt;=t.toExpPos)};function vE(e,r){var t,n,l,i,a,u,o,s,c=e.constructor,f=c.precision;if(!e.s||!r.s)return r.s||(r=new c(e)),kr?fr(r,f):r;if(o=e.d,s=r.d,a=e.e,l=r.e,o=o.slice(),i=a-l,i){for(i&lt;0?(n=o,i=-i,u=s.length):(n=s,l=a,u=o.length),a=Math.ceil(f/xr),u=a&gt;u?a+1:u+1,i&gt;u&amp;&amp;(i=u,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for(u=o.length,i=s.length,u-i&lt;0&amp;&amp;(i=u,n=s,s=o,o=n),t=0;i;)t=(o[--i]=o[i]+s[i]+t)/dn|0,o[i]%=dn;for(t&amp;&amp;(o.unshift(t),++l),u=o.length;o[--u]==0;)o.pop();return r.d=o,r.e=l,kr?fr(r,f):r}function Ms(e,r,t){if(e!==~~e||e&lt;r||e&gt;t)throw Error(el+e)}function Ss(e){var r,t,n,l=e.length-1,i=&quot;&quot;,a=e[0];if(l&gt;0){for(i+=a,r=1;r&lt;l;r++)n=e[r]+&quot;&quot;,t=xr-n.length,t&amp;&amp;(i+=za(t)),i+=n;a=e[r],n=a+&quot;&quot;,t=xr-n.length,t&amp;&amp;(i+=za(t))}else if(a===0)return&quot;0&quot;;for(;a%10===0;)a/=10;return i+a}var Ys=(function(){function e(n,l){var i,a=0,u=n.length;for(n=n.slice();u--;)i=n[u]*l+a,n[u]=i%dn|0,a=i/dn|0;return a&amp;&amp;n.unshift(a),n}function r(n,l,i,a){var u,o;if(i!=a)o=i&gt;a?1:-1;else for(u=o=0;u&lt;i;u++)if(n[u]!=l[u]){o=n[u]&gt;l[u]?1:-1;break}return o}function t(n,l,i){for(var a=0;i--;)n[i]-=a,a=n[i]&lt;l[i]?1:0,n[i]=a*dn+n[i]-l[i];for(;!n[0]&amp;&amp;n.length&gt;1;)n.shift()}return function(n,l,i,a){var u,o,s,c,f,h,m,p,v,g,b,x,_,C,O,R,H,L,q=n.constructor,W=n.s==l.s?1:-1,K=n.d,U=l.d;if(!n.s)return new q(n);if(!l.s)throw Error(zi+&quot;Division by zero&quot;);for(o=n.e-l.e,H=U.length,O=K.length,m=new q(W),p=m.d=[],s=0;U[s]==(K[s]||0);)++s;if(U[s]&gt;(K[s]||0)&amp;&amp;--o,i==null?x=i=q.precision:a?x=i+(Xr(n)-Xr(l))+1:x=i,x&lt;0)return new q(0);if(x=x/xr+2|0,s=0,H==1)for(c=0,U=U[0],x++;(s&lt;O||c)&amp;&amp;x--;s++)_=c*dn+(K[s]||0),p[s]=_/U|0,c=_%U|0;else{for(c=dn/(U[0]+1)|0,c&gt;1&amp;&amp;(U=e(U,c),K=e(K,c),H=U.length,O=K.length),C=H,v=K.slice(0,H),g=v.length;g&lt;H;)v[g++]=0;L=U.slice(),L.unshift(0),R=U[0],U[1]&gt;=dn/2&amp;&amp;++R;do c=0,u=r(U,v,H,g),u&lt;0?(b=v[0],H!=g&amp;&amp;(b=b*dn+(v[1]||0)),c=b/R|0,c&gt;1?(c&gt;=dn&amp;&amp;(c=dn-1),f=e(U,c),h=f.length,g=v.length,u=r(f,v,h,g),u==1&amp;&amp;(c--,t(f,H&lt;h?L:U,h))):(c==0&amp;&amp;(u=c=1),f=U.slice()),h=f.length,h&lt;g&amp;&amp;f.unshift(0),t(v,f,g),u==-1&amp;&amp;(g=v.length,u=r(U,v,H,g),u&lt;1&amp;&amp;(c++,t(v,H&lt;g?L:U,g))),g=v.length):u===0&amp;&amp;(c++,v=[0]),p[s++]=c,u&amp;&amp;v[0]?v[g++]=K[C]||0:(v=[K[C]],g=1);while((C++&lt;O||v[0]!==void 0)&amp;&amp;x--)}return p[0]||p.shift(),m.e=o,fr(m,a?i+Xr(m)+1:i)}})();function yE(e,r){var t,n,l,i,a,u,o=0,s=0,c=e.constructor,f=c.precision;if(Xr(e)&gt;16)throw Error(t2+Xr(e));if(!e.s)return new c(mi);for(kr=!1,u=f,a=new c(.03125);e.abs().gte(.1);)e=e.times(a),s+=5;for(n=Math.log(Uo(2,s))/Math.LN10*2+5|0,u+=n,t=l=i=new c(mi),c.precision=u;;){if(l=fr(l.times(e),u),t=t.times(++o),a=i.plus(Ys(l,t,u)),Ss(a.d).slice(0,u)===Ss(i.d).slice(0,u)){for(;s--;)i=fr(i.times(i),u);return c.precision=f,r==null?(kr=!0,fr(i,f)):i}i=a}}function Xr(e){for(var r=e.e*xr,t=e.d[0];t&gt;=10;t/=10)r++;return r}function fy(e,r,t){if(r&gt;e.LN10.sd())throw kr=!0,t&amp;&amp;(e.precision=t),Error(zi+&quot;LN10 precision limit exceeded&quot;);return fr(new e(e.LN10),r)}function za(e){for(var r=&quot;&quot;;e--;)r+=&quot;0&quot;;return r}function Xu(e,r){var t,n,l,i,a,u,o,s,c,f=1,h=10,m=e,p=m.d,v=m.constructor,g=v.precision;if(m.s&lt;1)throw Error(zi+(m.s?&quot;NaN&quot;:&quot;-Infinity&quot;));if(m.eq(mi))return new v(0);if(r==null?(kr=!1,s=g):s=r,m.eq(10))return r==null&amp;&amp;(kr=!0),fy(v,s);if(s+=h,v.precision=s,t=Ss(p),n=t.charAt(0),i=Xr(m),Math.abs(i)&lt;15e14){for(;n&lt;7&amp;&amp;n!=1||n==1&amp;&amp;t.charAt(1)&gt;3;)m=m.times(e),t=Ss(m.d),n=t.charAt(0),f++;i=Xr(m),n&gt;1?(m=new v(&quot;0.&quot;+t),i++):m=new v(n+&quot;.&quot;+t.slice(1))}else return o=fy(v,s+2,g).times(i+&quot;&quot;),m=Xu(new v(n+&quot;.&quot;+t.slice(1)),s-h).plus(o),v.precision=g,r==null?(kr=!0,fr(m,g)):m;for(u=a=m=Ys(m.minus(mi),m.plus(mi),s),c=fr(m.times(m),s),l=3;;){if(a=fr(a.times(c),s),o=u.plus(Ys(a,new v(l),s)),Ss(o.d).slice(0,s)===Ss(u.d).slice(0,s))return u=u.times(2),i!==0&amp;&amp;(u=u.plus(fy(v,s+2,g).times(i+&quot;&quot;))),u=Ys(u,new v(f),s),v.precision=g,r==null?(kr=!0,fr(u,g)):u;u=o,l+=2}}function K6(e,r){var t,n,l;for((t=r.indexOf(&quot;.&quot;))&gt;-1&amp;&amp;(r=r.replace(&quot;.&quot;,&quot;&quot;)),(n=r.search(/e/i))&gt;0?(t&lt;0&amp;&amp;(t=n),t+=+r.slice(n+1),r=r.substring(0,n)):t&lt;0&amp;&amp;(t=r.length),n=0;r.charCodeAt(n)===48;)++n;for(l=r.length;r.charCodeAt(l-1)===48;)--l;if(r=r.slice(n,l),r){if(l-=n,t=t-n-1,e.e=xc(t/xr),e.d=[],n=(t+1)%xr,t&lt;0&amp;&amp;(n+=xr),n&lt;l){for(n&amp;&amp;e.d.push(+r.slice(0,n)),l-=xr;n&lt;l;)e.d.push(+r.slice(n,n+=xr));r=r.slice(n),n=xr-r.length}else n-=l;for(;n--;)r+=&quot;0&quot;;if(e.d.push(+r),kr&amp;&amp;(e.e&gt;wm||e.e&lt;-wm))throw Error(t2+t)}else e.s=0,e.e=0,e.d=[0];return e}function fr(e,r,t){var n,l,i,a,u,o,s,c,f=e.d;for(a=1,i=f[0];i&gt;=10;i/=10)a++;if(n=r-a,n&lt;0)n+=xr,l=r,s=f[c=0];else{if(c=Math.ceil((n+1)/xr),i=f.length,c&gt;=i)return e;for(s=i=f[c],a=1;i&gt;=10;i/=10)a++;n%=xr,l=n-xr+a}if(t!==void 0&amp;&amp;(i=Uo(10,a-l-1),u=s/i%10|0,o=r&lt;0||f[c+1]!==void 0||s%i,o=t&lt;4?(u||o)&amp;&amp;(t==0||t==(e.s&lt;0?3:2)):u&gt;5||u==5&amp;&amp;(t==4||o||t==6&amp;&amp;(n&gt;0?l&gt;0?s/Uo(10,a-l):0:f[c-1])%10&amp;1||t==(e.s&lt;0?8:7))),r&lt;1||!f[0])return o?(i=Xr(e),f.length=1,r=r-i-1,f[0]=Uo(10,(xr-r%xr)%xr),e.e=xc(-r/xr)||0):(f.length=1,f[0]=e.e=e.s=0),e;if(n==0?(f.length=c,i=1,c--):(f.length=c+1,i=Uo(10,xr-n),f[c]=l&gt;0?(s/Uo(10,a-l)%Uo(10,l)|0)*i:0),o)for(;;)if(c==0){(f[0]+=i)==dn&amp;&amp;(f[0]=1,++e.e);break}else{if(f[c]+=i,f[c]!=dn)break;f[c--]=0,i=1}for(n=f.length;f[--n]===0;)f.pop();if(kr&amp;&amp;(e.e&gt;wm||e.e&lt;-wm))throw Error(t2+Xr(e));return e}function bE(e,r){var t,n,l,i,a,u,o,s,c,f,h=e.constructor,m=h.precision;if(!e.s||!r.s)return r.s?r.s=-r.s:r=new h(e),kr?fr(r,m):r;if(o=e.d,f=r.d,n=r.e,s=e.e,o=o.slice(),a=s-n,a){for(c=a&lt;0,c?(t=o,a=-a,u=f.length):(t=f,n=s,u=o.length),l=Math.max(Math.ceil(m/xr),u)+2,a&gt;l&amp;&amp;(a=l,t.length=1),t.reverse(),l=a;l--;)t.push(0);t.reverse()}else{for(l=o.length,u=f.length,c=l&lt;u,c&amp;&amp;(u=l),l=0;l&lt;u;l++)if(o[l]!=f[l]){c=o[l]&lt;f[l];break}a=0}for(c&amp;&amp;(t=o,o=f,f=t,r.s=-r.s),u=o.length,l=f.length-u;l&gt;0;--l)o[u++]=0;for(l=f.length;l&gt;a;){if(o[--l]&lt;f[l]){for(i=l;i&amp;&amp;o[--i]===0;)o[i]=dn-1;--o[i],o[l]+=dn}o[l]-=f[l]}for(;o[--u]===0;)o.pop();for(;o[0]===0;o.shift())--n;return o[0]?(r.d=o,r.e=n,kr?fr(r,m):r):new h(0)}function al(e,r,t){var n,l=Xr(e),i=Ss(e.d),a=i.length;return r?(t&amp;&amp;(n=t-a)&gt;0?i=i.charAt(0)+&quot;.&quot;+i.slice(1)+za(n):a&gt;1&amp;&amp;(i=i.charAt(0)+&quot;.&quot;+i.slice(1)),i=i+(l&lt;0?&quot;e&quot;:&quot;e+&quot;)+l):l&lt;0?(i=&quot;0.&quot;+za(-l-1)+i,t&amp;&amp;(n=t-a)&gt;0&amp;&amp;(i+=za(n))):l&gt;=a?(i+=za(l+1-a),t&amp;&amp;(n=t-l-1)&gt;0&amp;&amp;(i=i+&quot;.&quot;+za(n))):((n=l+1)&lt;a&amp;&amp;(i=i.slice(0,n)+&quot;.&quot;+i.slice(n)),t&amp;&amp;(n=t-a)&gt;0&amp;&amp;(l+1===a&amp;&amp;(i+=&quot;.&quot;),i+=za(n))),e.s&lt;0?&quot;-&quot;+i:i}function X6(e,r){if(e.length&gt;r)return e.length=r,!0}function xE(e){var r,t,n;function l(i){var a=this;if(!(a instanceof l))return new l(i);if(a.constructor=l,i instanceof l){a.s=i.s,a.e=i.e,a.d=(i=i.d)?i.slice():i;return}if(typeof i==&quot;number&quot;){if(i*0!==0)throw Error(el+i);if(i&gt;0)a.s=1;else if(i&lt;0)i=-i,a.s=-1;else{a.s=0,a.e=0,a.d=[0];return}if(i===~~i&amp;&amp;i&lt;1e7){a.e=0,a.d=[i];return}return K6(a,i.toString())}else if(typeof i!=&quot;string&quot;)throw Error(el+i);if(i.charCodeAt(0)===45?(i=i.slice(1),a.s=-1):a.s=1,aX.test(i))K6(a,i);else throw Error(el+i)}if(l.prototype=ot,l.ROUND_UP=0,l.ROUND_DOWN=1,l.ROUND_CEIL=2,l.ROUND_FLOOR=3,l.ROUND_HALF_UP=4,l.ROUND_HALF_DOWN=5,l.ROUND_HALF_EVEN=6,l.ROUND_HALF_CEIL=7,l.ROUND_HALF_FLOOR=8,l.clone=xE,l.config=l.set=oX,e===void 0&amp;&amp;(e={}),e)for(n=[&quot;precision&quot;,&quot;rounding&quot;,&quot;toExpNeg&quot;,&quot;toExpPos&quot;,&quot;LN10&quot;],r=0;r&lt;n.length;)e.hasOwnProperty(t=n[r++])||(e[t]=this[t]);return l.config(e),l}function oX(e){if(!e||typeof e!=&quot;object&quot;)throw Error(zi+&quot;Object expected&quot;);var r,t,n,l=[&quot;precision&quot;,1,bc,&quot;rounding&quot;,0,8,&quot;toExpNeg&quot;,-1/0,0,&quot;toExpPos&quot;,0,1/0];for(r=0;r&lt;l.length;r+=3)if((n=e[t=l[r]])!==void 0)if(xc(n)===n&amp;&amp;n&gt;=l[r+1]&amp;&amp;n&lt;=l[r+2])this[t]=n;else throw Error(el+t+&quot;: &quot;+n);if((n=e[t=&quot;LN10&quot;])!==void 0)if(n==Math.LN10)this[t]=new this(n);else throw Error(el+t+&quot;: &quot;+n);return this}var r2=xE(sX);mi=new r2(1);const sr=r2;var lX=e=&gt;e,wE={},_E=e=&gt;e===wE,G6=e=&gt;function r(){return arguments.length===0||arguments.length===1&amp;&amp;_E(arguments.length&lt;=0?void 0:arguments[0])?r:e(...arguments)},jE=(e,r)=&gt;e===1?r:G6(function(){for(var t=arguments.length,n=new Array(t),l=0;l&lt;t;l++)n[l]=arguments[l];var i=n.filter(a=&gt;a!==wE).length;return i&gt;=e?r(...n):jE(e-i,G6(function(){for(var a=arguments.length,u=new Array(a),o=0;o&lt;a;o++)u[o]=arguments[o];var s=n.map(c=&gt;_E(c)?u.shift():c);return r(...s,...u)}))}),cX=e=&gt;jE(e.length,e),ex=(e,r)=&gt;{for(var t=[],n=e;n&lt;r;++n)t[n-e]=n;return t},uX=cX((e,r)=&gt;Array.isArray(r)?r.map(e):Object.keys(r).map(t=&gt;r[t]).map(e)),dX=function(){for(var r=arguments.length,t=new Array(r),n=0;n&lt;r;n++)t[n]=arguments[n];if(!t.length)return lX;var l=t.reverse(),i=l[0],a=l.slice(1);return function(){return a.reduce((u,o)=&gt;o(u),i(...arguments))}};function SE(e){var r;return e===0?r=1:r=Math.floor(new sr(e).abs().log(10).toNumber())+1,r}function kE(e,r,t){for(var n=new sr(e),l=0,i=[];n.lt(r)&amp;&amp;l&lt;1e5;)i.push(n.toNumber()),n=n.add(t),l++;return i}var NE=e=&gt;{var[r,t]=e,[n,l]=[r,t];return r&gt;t&amp;&amp;([n,l]=[t,r]),[n,l]},CE=(e,r,t)=&gt;{if(e.lte(0))return new sr(0);var n=SE(e.toNumber()),l=new sr(10).pow(n),i=e.div(l),a=n!==1?.05:.1,u=new sr(Math.ceil(i.div(a).toNumber())).add(t).mul(a),o=u.mul(l);return r?new sr(o.toNumber()):new sr(Math.ceil(o.toNumber()))},fX=(e,r,t)=&gt;{var n=new sr(1),l=new sr(e);if(!l.isint()&amp;&amp;t){var i=Math.abs(e);i&lt;1?(n=new sr(10).pow(SE(e)-1),l=new sr(Math.floor(l.div(n).toNumber())).mul(n)):i&gt;1&amp;&amp;(l=new sr(Math.floor(e)))}else e===0?l=new sr(Math.floor((r-1)/2)):t||(l=new sr(Math.floor(e)));var a=Math.floor((r-1)/2),u=dX(uX(o=&gt;l.add(new sr(o-a).mul(n)).toNumber()),ex);return u(0,r)},EE=function(r,t,n,l){var i=arguments.length&gt;4&amp;&amp;arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((t-r)/(n-1)))return{step:new sr(0),tickMin:new sr(0),tickMax:new sr(0)};var a=CE(new sr(t).sub(r).div(n-1),l,i),u;r&lt;=0&amp;&amp;t&gt;=0?u=new sr(0):(u=new sr(r).add(t).div(2),u=u.sub(new sr(u).mod(a)));var o=Math.ceil(u.sub(r).div(a).toNumber()),s=Math.ceil(new sr(t).sub(u).div(a).toNumber()),c=o+s+1;return c&gt;n?EE(r,t,n,l,i+1):(c&lt;n&amp;&amp;(s=t&gt;0?s+(n-c):s,o=t&gt;0?o:o+(n-c)),{step:a,tickMin:u.sub(new sr(o).mul(a)),tickMax:u.add(new sr(s).mul(a))})},hX=function(r){var[t,n]=r,l=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:6,i=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:!0,a=Math.max(l,2),[u,o]=NE([t,n]);if(u===-1/0||o===1/0){var s=o===1/0?[u,...ex(0,l-1).map(()=&gt;1/0)]:[...ex(0,l-1).map(()=&gt;-1/0),o];return t&gt;n?s.reverse():s}if(u===o)return fX(u,l,i);var{step:c,tickMin:f,tickMax:h}=EE(u,o,a,i,0),m=kE(f,h.add(new sr(.1).mul(c)),c);return t&gt;n?m.reverse():m},mX=function(r,t){var[n,l]=r,i=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:!0,[a,u]=NE([n,l]);if(a===-1/0||u===1/0)return[n,l];if(a===u)return[a];var o=Math.max(t,2),s=CE(new sr(u).sub(a).div(o-1),i,0),c=[...kE(new sr(a),new sr(u),s),u];return i===!1&amp;&amp;(c=c.map(f=&gt;Math.round(f))),n&gt;l?c.reverse():c},AE=e=&gt;e.rootProps.maxBarSize,pX=e=&gt;e.rootProps.barGap,ME=e=&gt;e.rootProps.barCategoryGap,gX=e=&gt;e.rootProps.barSize,kp=e=&gt;e.rootProps.stackOffset,OE=e=&gt;e.rootProps.reverseStackOrder,n2=e=&gt;e.options.chartName,i2=e=&gt;e.rootProps.syncId,PE=e=&gt;e.rootProps.syncMethod,s2=e=&gt;e.options.eventEmitter,fn={grid:-100,barBackground:-50,area:100,cursorRectangle:200,bar:300,line:400,axis:500,scatter:600,activeBar:1e3,cursorLine:1100,activeDot:1200,label:2e3},Hs={allowDuplicatedCategory:!0,angleAxisId:0,reversed:!1,scale:&quot;auto&quot;,tick:!0,type:&quot;category&quot;},hi={allowDataOverflow:!1,allowDuplicatedCategory:!0,radiusAxisId:0,scale:&quot;auto&quot;,tick:!0,tickCount:5,type:&quot;number&quot;},Np=(e,r)=&gt;{if(!(!e||!r))return e!=null&amp;&amp;e.reversed?[r[1],r[0]]:r},vX={allowDataOverflow:!1,allowDecimals:!1,allowDuplicatedCategory:!1,dataKey:void 0,domain:void 0,id:Hs.angleAxisId,includeHidden:!1,name:void 0,reversed:Hs.reversed,scale:Hs.scale,tick:Hs.tick,tickCount:void 0,ticks:void 0,type:Hs.type,unit:void 0},yX={allowDataOverflow:hi.allowDataOverflow,allowDecimals:!1,allowDuplicatedCategory:hi.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:hi.radiusAxisId,includeHidden:!1,name:void 0,reversed:!1,scale:hi.scale,tick:hi.tick,tickCount:hi.tickCount,ticks:void 0,type:hi.type,unit:void 0},bX={allowDataOverflow:!1,allowDecimals:!1,allowDuplicatedCategory:Hs.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:Hs.angleAxisId,includeHidden:!1,name:void 0,reversed:!1,scale:Hs.scale,tick:Hs.tick,tickCount:void 0,ticks:void 0,type:&quot;number&quot;,unit:void 0},xX={allowDataOverflow:hi.allowDataOverflow,allowDecimals:!1,allowDuplicatedCategory:hi.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:hi.radiusAxisId,includeHidden:!1,name:void 0,reversed:!1,scale:hi.scale,tick:hi.tick,tickCount:hi.tickCount,ticks:void 0,type:&quot;category&quot;,unit:void 0},a2=(e,r)=&gt;e.polarAxis.angleAxis[r]!=null?e.polarAxis.angleAxis[r]:e.layout.layoutType===&quot;radial&quot;?bX:vX,o2=(e,r)=&gt;e.polarAxis.radiusAxis[r]!=null?e.polarAxis.radiusAxis[r]:e.layout.layoutType===&quot;radial&quot;?xX:yX,Cp=e=&gt;e.polarOptions,l2=Oe([la,ca,hn],mH),TE=Oe([Cp,l2],(e,r)=&gt;{if(e!=null)return cs(e.innerRadius,r,0)}),IE=Oe([Cp,l2],(e,r)=&gt;{if(e!=null)return cs(e.outerRadius,r,r*.8)}),wX=e=&gt;{if(e==null)return[0,0];var{startAngle:r,endAngle:t}=e;return[r,t]},RE=Oe([Cp],wX);Oe([a2,RE],Np);var DE=Oe([l2,TE,IE],(e,r,t)=&gt;{if(!(e==null||r==null||t==null))return[r,t]});Oe([o2,DE],Np);var LE=Oe([rr,Cp,TE,IE,la,ca],(e,r,t,n,l,i)=&gt;{if(!(e!==&quot;centric&quot;&amp;&amp;e!==&quot;radial&quot;||r==null||t==null||n==null)){var{cx:a,cy:u,startAngle:o,endAngle:s}=r;return{cx:cs(a,l,l/2),cy:cs(u,i,i/2),innerRadius:t,outerRadius:n,startAngle:o,endAngle:s,clockWise:!1}}}),en=(e,r)=&gt;r,Ep=(e,r,t)=&gt;t;function c2(e){return e?.id}function FE(e,r,t){var{chartData:n=[]}=r,{allowDuplicatedCategory:l,dataKey:i}=t,a=new Map;return e.forEach(u=&gt;{var o,s=(o=u.data)!==null&amp;&amp;o!==void 0?o:n;if(!(s==null||s.length===0)){var c=c2(u);s.forEach((f,h)=&gt;{var m=i==null||l?h:String(Kr(f,i,null)),p=Kr(f,u.dataKey,0),v;a.has(m)?v=a.get(m):v={},Object.assign(v,{[c]:p}),a.set(m,v)})}}),Array.from(a.values())}function Ap(e){return&quot;stackId&quot;in e&amp;&amp;e.stackId!=null&amp;&amp;e.dataKey!=null}var Mp=(e,r)=&gt;e===r?!0:e==null||r==null?!1:e[0]===r[0]&amp;&amp;e[1]===r[1];function Op(e,r){return Array.isArray(e)&amp;&amp;Array.isArray(r)&amp;&amp;e.length===0&amp;&amp;r.length===0?!0:e===r}function _X(e,r){if(e.length===r.length){for(var t=0;t&lt;e.length;t++)if(e[t]!==r[t])return!1;return!0}return!1}var tn=e=&gt;{var r=rr(e);return r===&quot;horizontal&quot;?&quot;xAxis&quot;:r===&quot;vertical&quot;?&quot;yAxis&quot;:r===&quot;centric&quot;?&quot;angleAxis&quot;:&quot;radiusAxis&quot;},wc=e=&gt;e.tooltip.settings.axisId;function Y6(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function _m(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Y6(Object(t),!0).forEach(function(n){jX(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Y6(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function jX(e,r,t){return(r=SX(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function SX(e){var r=kX(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function kX(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var tx=[0,&quot;auto&quot;],cn={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:void 0,height:30,hide:!0,id:0,includeHidden:!1,interval:&quot;preserveEnd&quot;,minTickGap:5,mirror:!1,name:void 0,orientation:&quot;bottom&quot;,padding:{left:0,right:0},reversed:!1,scale:&quot;auto&quot;,tick:!0,tickCount:5,tickFormatter:void 0,ticks:void 0,type:&quot;category&quot;,unit:void 0},BE=(e,r)=&gt;e.cartesianAxis.xAxis[r],fa=(e,r)=&gt;{var t=BE(e,r);return t??cn},un={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:tx,hide:!0,id:0,includeHidden:!1,interval:&quot;preserveEnd&quot;,minTickGap:5,mirror:!1,name:void 0,orientation:&quot;left&quot;,padding:{top:0,bottom:0},reversed:!1,scale:&quot;auto&quot;,tick:!0,tickCount:5,tickFormatter:void 0,ticks:void 0,type:&quot;number&quot;,unit:void 0,width:od},zE=(e,r)=&gt;e.cartesianAxis.yAxis[r],ha=(e,r)=&gt;{var t=zE(e,r);return t??un},NX={domain:[0,&quot;auto&quot;],includeHidden:!1,reversed:!1,allowDataOverflow:!1,allowDuplicatedCategory:!1,dataKey:void 0,id:0,name:&quot;&quot;,range:[64,64],scale:&quot;auto&quot;,type:&quot;number&quot;,unit:&quot;&quot;},u2=(e,r)=&gt;{var t=e.cartesianAxis.zAxis[r];return t??NX},Yn=(e,r,t)=&gt;{switch(r){case&quot;xAxis&quot;:return fa(e,t);case&quot;yAxis&quot;:return ha(e,t);case&quot;zAxis&quot;:return u2(e,t);case&quot;angleAxis&quot;:return a2(e,t);case&quot;radiusAxis&quot;:return o2(e,t);default:throw new Error(&quot;Unexpected axis type: &quot;.concat(r))}},CX=(e,r,t)=&gt;{switch(r){case&quot;xAxis&quot;:return fa(e,t);case&quot;yAxis&quot;:return ha(e,t);default:throw new Error(&quot;Unexpected axis type: &quot;.concat(r))}},hd=(e,r,t)=&gt;{switch(r){case&quot;xAxis&quot;:return fa(e,t);case&quot;yAxis&quot;:return ha(e,t);case&quot;angleAxis&quot;:return a2(e,t);case&quot;radiusAxis&quot;:return o2(e,t);default:throw new Error(&quot;Unexpected axis type: &quot;.concat(r))}},$E=e=&gt;e.graphicalItems.cartesianItems.some(r=&gt;r.type===&quot;bar&quot;)||e.graphicalItems.polarItems.some(r=&gt;r.type===&quot;radialBar&quot;);function UE(e,r){return t=&gt;{switch(e){case&quot;xAxis&quot;:return&quot;xAxisId&quot;in t&amp;&amp;t.xAxisId===r;case&quot;yAxis&quot;:return&quot;yAxisId&quot;in t&amp;&amp;t.yAxisId===r;case&quot;zAxis&quot;:return&quot;zAxisId&quot;in t&amp;&amp;t.zAxisId===r;case&quot;angleAxis&quot;:return&quot;angleAxisId&quot;in t&amp;&amp;t.angleAxisId===r;case&quot;radiusAxis&quot;:return&quot;radiusAxisId&quot;in t&amp;&amp;t.radiusAxisId===r;default:return!1}}}var Pp=e=&gt;e.graphicalItems.cartesianItems,EX=Oe([en,Ep],UE),VE=(e,r,t)=&gt;e.filter(t).filter(n=&gt;r?.includeHidden===!0?!0:!n.hide),md=Oe([Pp,Yn,EX],VE,{memoizeOptions:{resultEqualityCheck:Op}}),qE=Oe([md],e=&gt;e.filter(r=&gt;r.type===&quot;area&quot;||r.type===&quot;bar&quot;).filter(Ap)),HE=e=&gt;e.filter(r=&gt;!(&quot;stackId&quot;in r)||r.stackId===void 0),AX=Oe([md],HE),WE=e=&gt;e.map(r=&gt;r.data).filter(Boolean).flat(1),MX=Oe([md],WE,{memoizeOptions:{resultEqualityCheck:Op}}),KE=(e,r)=&gt;{var{chartData:t=[],dataStartIndex:n,dataEndIndex:l}=r;return e.length&gt;0?e:t.slice(n,l+1)},d2=Oe([MX,e2],KE),XE=(e,r,t)=&gt;r?.dataKey!=null?e.map(n=&gt;({value:Kr(n,r.dataKey)})):t.length&gt;0?t.map(n=&gt;n.dataKey).flatMap(n=&gt;e.map(l=&gt;({value:Kr(l,n)}))):e.map(n=&gt;({value:n})),Tp=Oe([d2,Yn,md],XE);function GE(e,r){switch(e){case&quot;xAxis&quot;:return r.direction===&quot;x&quot;;case&quot;yAxis&quot;:return r.direction===&quot;y&quot;;default:return!1}}function jh(e){if(Es(e)||e instanceof Date){var r=Number(e);if(Or(r))return r}}function Z6(e){if(Array.isArray(e)){var r=[jh(e[0]),jh(e[1])];return ro(r)?r:void 0}var t=jh(e);if(t!=null)return[t,t]}function sa(e){return e.map(jh).filter(gz)}function OX(e,r,t){return!t||typeof r!=&quot;number&quot;||ls(r)?[]:t.length?sa(t.flatMap(n=&gt;{var l=Kr(e,n.dataKey),i,a;if(Array.isArray(l)?[i,a]=l:i=a=l,!(!Or(i)||!Or(a)))return[r-i,r+a]})):[]}var rn=e=&gt;{var r=tn(e),t=wc(e);return hd(e,r,t)},pd=Oe([rn],e=&gt;e?.dataKey),PX=Oe([qE,e2,rn],FE),YE=(e,r,t,n)=&gt;{var l={},i=r.reduce((a,u)=&gt;{if(u.stackId==null)return a;var o=a[u.stackId];return o==null&amp;&amp;(o=[]),o.push(u),a[u.stackId]=o,a},l);return Object.fromEntries(Object.entries(i).map(a=&gt;{var[u,o]=a,s=n?[...o].reverse():o,c=s.map(c2);return[u,{stackedData:qU(e,c,t),graphicalItems:s}]}))},rx=Oe([PX,qE,kp,OE],YE),ZE=(e,r,t,n)=&gt;{var{dataStartIndex:l,dataEndIndex:i}=r;if(n==null&amp;&amp;t!==&quot;zAxis&quot;){var a=GU(e,l,i);if(!(a!=null&amp;&amp;a[0]===0&amp;&amp;a[1]===0))return a}},TX=Oe([Yn],e=&gt;e.allowDataOverflow),f2=e=&gt;{var r;if(e==null||!(&quot;domain&quot;in e))return tx;if(e.domain!=null)return e.domain;if(&quot;ticks&quot;in e&amp;&amp;e.ticks!=null){if(e.type===&quot;number&quot;){var t=sa(e.ticks);return[Math.min(...t),Math.max(...t)]}if(e.type===&quot;category&quot;)return e.ticks.map(String)}return(r=e?.domain)!==null&amp;&amp;r!==void 0?r:tx},QE=Oe([Yn],f2),JE=Oe([QE,TX],pE),IX=Oe([rx,da,en,JE],ZE,{memoizeOptions:{resultEqualityCheck:Mp}}),h2=e=&gt;e.errorBars,RX=(e,r,t)=&gt;e.flatMap(n=&gt;r[n.id]).filter(Boolean).filter(n=&gt;GE(t,n)),jm=function(){for(var r=arguments.length,t=new Array(r),n=0;n&lt;r;n++)t[n]=arguments[n];var l=t.filter(Boolean);if(l.length!==0){var i=l.flat(),a=Math.min(...i),u=Math.max(...i);return[a,u]}},e9=(e,r,t,n,l)=&gt;{var i,a;if(t.length&gt;0&amp;&amp;e.forEach(u=&gt;{t.forEach(o=&gt;{var s,c,f=(s=n[o.id])===null||s===void 0?void 0:s.filter(b=&gt;GE(l,b)),h=Kr(u,(c=r.dataKey)!==null&amp;&amp;c!==void 0?c:o.dataKey),m=OX(u,h,f);if(m.length&gt;=2){var p=Math.min(...m),v=Math.max(...m);(i==null||p&lt;i)&amp;&amp;(i=p),(a==null||v&gt;a)&amp;&amp;(a=v)}var g=Z6(h);g!=null&amp;&amp;(i=i==null?g[0]:Math.min(i,g[0]),a=a==null?g[1]:Math.max(a,g[1]))})}),r?.dataKey!=null&amp;&amp;e.forEach(u=&gt;{var o=Z6(Kr(u,r.dataKey));o!=null&amp;&amp;(i=i==null?o[0]:Math.min(i,o[0]),a=a==null?o[1]:Math.max(a,o[1]))}),Or(i)&amp;&amp;Or(a))return[i,a]},DX=Oe([d2,Yn,AX,h2,en],e9,{memoizeOptions:{resultEqualityCheck:Mp}});function LX(e){var{value:r}=e;if(Es(r)||r instanceof Date)return r}var FX=(e,r,t)=&gt;{var n=e.map(LX).filter(l=&gt;l!=null);return t&amp;&amp;(r.dataKey==null||r.allowDuplicatedCategory&amp;&amp;pC(n))?I7(0,e.length):r.allowDuplicatedCategory?n:Array.from(new Set(n))},t9=e=&gt;e.referenceElements.dots,_c=(e,r,t)=&gt;e.filter(n=&gt;n.ifOverflow===&quot;extendDomain&quot;).filter(n=&gt;r===&quot;xAxis&quot;?n.xAxisId===t:n.yAxisId===t),BX=Oe([t9,en,Ep],_c),r9=e=&gt;e.referenceElements.areas,zX=Oe([r9,en,Ep],_c),n9=e=&gt;e.referenceElements.lines,$X=Oe([n9,en,Ep],_c),i9=(e,r)=&gt;{if(e!=null){var t=sa(e.map(n=&gt;r===&quot;xAxis&quot;?n.x:n.y));if(t.length!==0)return[Math.min(...t),Math.max(...t)]}},UX=Oe(BX,en,i9),s9=(e,r)=&gt;{if(e!=null){var t=sa(e.flatMap(n=&gt;[r===&quot;xAxis&quot;?n.x1:n.y1,r===&quot;xAxis&quot;?n.x2:n.y2]));if(t.length!==0)return[Math.min(...t),Math.max(...t)]}},VX=Oe([zX,en],s9);function qX(e){var r;if(e.x!=null)return sa([e.x]);var t=(r=e.segment)===null||r===void 0?void 0:r.map(n=&gt;n.x);return t==null||t.length===0?[]:sa(t)}function HX(e){var r;if(e.y!=null)return sa([e.y]);var t=(r=e.segment)===null||r===void 0?void 0:r.map(n=&gt;n.y);return t==null||t.length===0?[]:sa(t)}var a9=(e,r)=&gt;{if(e!=null){var t=e.flatMap(n=&gt;r===&quot;xAxis&quot;?qX(n):HX(n));if(t.length!==0)return[Math.min(...t),Math.max(...t)]}},WX=Oe([$X,en],a9),KX=Oe(UX,WX,VX,(e,r,t)=&gt;jm(e,t,r)),o9=(e,r,t,n,l,i,a,u)=&gt;{if(t!=null)return t;var o=a===&quot;vertical&quot;&amp;&amp;u===&quot;xAxis&quot;||a===&quot;horizontal&quot;&amp;&amp;u===&quot;yAxis&quot;,s=o?jm(n,i,l):jm(i,l);return iX(r,s,e.allowDataOverflow)},XX=Oe([Yn,QE,JE,IX,DX,KX,rr,en],o9,{memoizeOptions:{resultEqualityCheck:Mp}}),GX=[0,1],l9=(e,r,t,n,l,i,a)=&gt;{if(!((e==null||t==null||t.length===0)&amp;&amp;a===void 0)){var{dataKey:u,type:o}=e,s=oo(r,i);if(s&amp;&amp;u==null){var c;return I7(0,(c=t?.length)!==null&amp;&amp;c!==void 0?c:0)}return o===&quot;category&quot;?FX(n,e,s):l===&quot;expand&quot;?GX:a}},m2=Oe([Yn,rr,d2,Tp,kp,en,XX],l9),c9=(e,r,t,n,l)=&gt;{if(e!=null){var{scale:i,type:a}=e;if(i===&quot;auto&quot;)return r===&quot;radial&quot;&amp;&amp;l===&quot;radiusAxis&quot;?&quot;band&quot;:r===&quot;radial&quot;&amp;&amp;l===&quot;angleAxis&quot;?&quot;linear&quot;:a===&quot;category&quot;&amp;&amp;n&amp;&amp;(n.indexOf(&quot;LineChart&quot;)&gt;=0||n.indexOf(&quot;AreaChart&quot;)&gt;=0||n.indexOf(&quot;ComposedChart&quot;)&gt;=0&amp;&amp;!t)?&quot;point&quot;:a===&quot;category&quot;?&quot;band&quot;:&quot;linear&quot;;if(typeof i==&quot;string&quot;){var u=&quot;scale&quot;.concat(nd(i));return u in xu?u:&quot;point&quot;}}},gd=Oe([Yn,rr,$E,n2,en],c9);function YX(e){if(e!=null){if(e in xu)return xu[e]();var r=&quot;scale&quot;.concat(nd(e));if(r in xu)return xu[r]()}}function p2(e,r,t,n){if(!(t==null||n==null)){if(typeof e.scale==&quot;function&quot;)return e.scale.copy().domain(t).range(n);var l=YX(r);if(l!=null){var i=l.domain(t).range(n);return BU(i),i}}}var u9=(e,r,t)=&gt;{var n=f2(r);if(!(t!==&quot;auto&quot;&amp;&amp;t!==&quot;linear&quot;)){if(r!=null&amp;&amp;r.tickCount&amp;&amp;Array.isArray(n)&amp;&amp;(n[0]===&quot;auto&quot;||n[1]===&quot;auto&quot;)&amp;&amp;ro(e))return hX(e,r.tickCount,r.allowDecimals);if(r!=null&amp;&amp;r.tickCount&amp;&amp;r.type===&quot;number&quot;&amp;&amp;ro(e))return mX(e,r.tickCount,r.allowDecimals)}},g2=Oe([m2,hd,gd],u9),d9=(e,r,t,n)=&gt;{if(n!==&quot;angleAxis&quot;&amp;&amp;e?.type===&quot;number&quot;&amp;&amp;ro(r)&amp;&amp;Array.isArray(t)&amp;&amp;t.length&gt;0){var l=r[0],i=t[0],a=r[1],u=t[t.length-1];return[Math.min(l,i),Math.max(a,u)]}return r},ZX=Oe([Yn,m2,g2,en],d9),QX=Oe(Tp,Yn,(e,r)=&gt;{if(!(!r||r.type!==&quot;number&quot;)){var t=1/0,n=Array.from(sa(e.map(f=&gt;f.value))).sort((f,h)=&gt;f-h),l=n[0],i=n[n.length-1];if(l==null||i==null)return 1/0;var a=i-l;if(a===0)return 1/0;for(var u=0;u&lt;n.length-1;u++){var o=n[u],s=n[u+1];if(!(o==null||s==null)){var c=s-o;t=Math.min(t,c)}}return t/a}}),f9=Oe(QX,rr,ME,hn,(e,r,t,n,l)=&gt;l,(e,r,t,n,l)=&gt;{if(!Or(e))return 0;var i=r===&quot;vertical&quot;?n.height:n.width;if(l===&quot;gap&quot;)return e*i/2;if(l===&quot;no-gap&quot;){var a=cs(t,e*i),u=e*i/2;return u-a-(u-a)/i*a}return 0}),JX=(e,r,t)=&gt;{var n=fa(e,r);return n==null||typeof n.padding!=&quot;string&quot;?0:f9(e,&quot;xAxis&quot;,r,t,n.padding)},eG=(e,r,t)=&gt;{var n=ha(e,r);return n==null||typeof n.padding!=&quot;string&quot;?0:f9(e,&quot;yAxis&quot;,r,t,n.padding)},tG=Oe(fa,JX,(e,r)=&gt;{var t,n;if(e==null)return{left:0,right:0};var{padding:l}=e;return typeof l==&quot;string&quot;?{left:r,right:r}:{left:((t=l.left)!==null&amp;&amp;t!==void 0?t:0)+r,right:((n=l.right)!==null&amp;&amp;n!==void 0?n:0)+r}}),rG=Oe(ha,eG,(e,r)=&gt;{var t,n;if(e==null)return{top:0,bottom:0};var{padding:l}=e;return typeof l==&quot;string&quot;?{top:r,bottom:r}:{top:((t=l.top)!==null&amp;&amp;t!==void 0?t:0)+r,bottom:((n=l.bottom)!==null&amp;&amp;n!==void 0?n:0)+r}}),nG=Oe([hn,tG,up,cp,(e,r,t)=&gt;t],(e,r,t,n,l)=&gt;{var{padding:i}=n;return l?[i.left,t.width-i.right]:[e.left+r.left,e.left+e.width-r.right]}),iG=Oe([hn,rr,rG,up,cp,(e,r,t)=&gt;t],(e,r,t,n,l,i)=&gt;{var{padding:a}=l;return i?[n.height-a.bottom,a.top]:r===&quot;horizontal&quot;?[e.top+e.height-t.bottom,e.top+t.top]:[e.top+t.top,e.top+e.height-t.bottom]}),vd=(e,r,t,n)=&gt;{var l;switch(r){case&quot;xAxis&quot;:return nG(e,t,n);case&quot;yAxis&quot;:return iG(e,t,n);case&quot;zAxis&quot;:return(l=u2(e,t))===null||l===void 0?void 0:l.range;case&quot;angleAxis&quot;:return RE(e);case&quot;radiusAxis&quot;:return DE(e,t);default:return}},h9=Oe([Yn,vd],Np),Ip=Oe([Yn,gd,ZX,h9],p2);Oe([md,h2,en],RX);function m9(e,r){return e.id&lt;r.id?-1:e.id&gt;r.id?1:0}var Rp=(e,r)=&gt;r,Dp=(e,r,t)=&gt;t,sG=Oe(op,Rp,Dp,(e,r,t)=&gt;e.filter(n=&gt;n.orientation===r).filter(n=&gt;n.mirror===t).sort(m9)),aG=Oe(lp,Rp,Dp,(e,r,t)=&gt;e.filter(n=&gt;n.orientation===r).filter(n=&gt;n.mirror===t).sort(m9)),p9=(e,r)=&gt;({width:e.width,height:r.height}),oG=(e,r)=&gt;{var t=typeof r.width==&quot;number&quot;?r.width:od;return{width:t,height:e.height}},g9=Oe(hn,fa,p9),lG=(e,r,t)=&gt;{switch(r){case&quot;top&quot;:return e.top;case&quot;bottom&quot;:return t-e.bottom;default:return 0}},cG=(e,r,t)=&gt;{switch(r){case&quot;left&quot;:return e.left;case&quot;right&quot;:return t-e.right;default:return 0}},uG=Oe(ca,hn,sG,Rp,Dp,(e,r,t,n,l)=&gt;{var i={},a;return t.forEach(u=&gt;{var o=p9(r,u);a==null&amp;&amp;(a=lG(r,n,e));var s=n===&quot;top&quot;&amp;&amp;!l||n===&quot;bottom&quot;&amp;&amp;l;i[u.id]=a-Number(s)*o.height,a+=(s?-1:1)*o.height}),i}),dG=Oe(la,hn,aG,Rp,Dp,(e,r,t,n,l)=&gt;{var i={},a;return t.forEach(u=&gt;{var o=oG(r,u);a==null&amp;&amp;(a=cG(r,n,e));var s=n===&quot;left&quot;&amp;&amp;!l||n===&quot;right&quot;&amp;&amp;l;i[u.id]=a-Number(s)*o.width,a+=(s?-1:1)*o.width}),i}),fG=(e,r)=&gt;{var t=fa(e,r);if(t!=null)return uG(e,t.orientation,t.mirror)},hG=Oe([hn,fa,fG,(e,r)=&gt;r],(e,r,t,n)=&gt;{if(r!=null){var l=t?.[n];return l==null?{x:e.left,y:0}:{x:e.left,y:l}}}),mG=(e,r)=&gt;{var t=ha(e,r);if(t!=null)return dG(e,t.orientation,t.mirror)},pG=Oe([hn,ha,mG,(e,r)=&gt;r],(e,r,t,n)=&gt;{if(r!=null){var l=t?.[n];return l==null?{x:0,y:e.top}:{x:l,y:e.top}}}),v9=Oe(hn,ha,(e,r)=&gt;{var t=typeof r.width==&quot;number&quot;?r.width:od;return{width:t,height:e.height}}),Q6=(e,r,t)=&gt;{switch(r){case&quot;xAxis&quot;:return g9(e,t).width;case&quot;yAxis&quot;:return v9(e,t).height;default:return}},y9=(e,r,t,n)=&gt;{if(t!=null){var{allowDuplicatedCategory:l,type:i,dataKey:a}=t,u=oo(e,n),o=r.map(s=&gt;s.value);if(a&amp;&amp;u&amp;&amp;i===&quot;category&quot;&amp;&amp;l&amp;&amp;pC(o))return o}},v2=Oe([rr,Tp,Yn,en],y9),b9=(e,r,t,n)=&gt;{if(!(t==null||t.dataKey==null)){var{type:l,scale:i}=t,a=oo(e,n);if(a&amp;&amp;(l===&quot;number&quot;||i!==&quot;auto&quot;))return r.map(u=&gt;u.value)}},y2=Oe([rr,Tp,hd,en],b9),J6=Oe([rr,CX,gd,Ip,v2,y2,vd,g2,en],(e,r,t,n,l,i,a,u,o)=&gt;{if(r!=null){var s=oo(e,o);return{angle:r.angle,interval:r.interval,minTickGap:r.minTickGap,orientation:r.orientation,tick:r.tick,tickCount:r.tickCount,tickFormatter:r.tickFormatter,ticks:r.ticks,type:r.type,unit:r.unit,axisType:o,categoricalDomain:i,duplicateDomain:l,isCategorical:s,niceTicks:u,range:a,realScaleType:t,scale:n}}}),gG=(e,r,t,n,l,i,a,u,o)=&gt;{if(!(r==null||n==null)){var s=oo(e,o),{type:c,ticks:f,tickCount:h}=r,m=t===&quot;scaleBand&quot;&amp;&amp;typeof n.bandwidth==&quot;function&quot;?n.bandwidth()/2:2,p=c===&quot;category&quot;&amp;&amp;n.bandwidth?n.bandwidth()/m:0;p=o===&quot;angleAxis&quot;&amp;&amp;i!=null&amp;&amp;i.length&gt;=2?ii(i[0]-i[1])*2*p:p;var v=f||l;if(v){var g=v.map((b,x)=&gt;{var _=a?a.indexOf(b):b;return{index:x,coordinate:n(_)+p,value:b,offset:p}});return g.filter(b=&gt;Or(b.coordinate))}return s&amp;&amp;u?u.map((b,x)=&gt;({coordinate:n(b)+p,value:b,index:x,offset:p})).filter(b=&gt;Or(b.coordinate)):n.ticks?n.ticks(h).map(b=&gt;({coordinate:n(b)+p,value:b,offset:p})):n.domain().map((b,x)=&gt;({coordinate:n(b)+p,value:a?a[b]:b,index:x,offset:p}))}},x9=Oe([rr,hd,gd,Ip,g2,vd,v2,y2,en],gG),vG=(e,r,t,n,l,i,a)=&gt;{if(!(r==null||t==null||n==null||n[0]===n[1])){var u=oo(e,a),{tickCount:o}=r,s=0;return s=a===&quot;angleAxis&quot;&amp;&amp;n?.length&gt;=2?ii(n[0]-n[1])*2*s:s,u&amp;&amp;i?i.map((c,f)=&gt;({coordinate:t(c)+s,value:c,index:f,offset:s})):t.ticks?t.ticks(o).map(c=&gt;({coordinate:t(c)+s,value:c,offset:s})):t.domain().map((c,f)=&gt;({coordinate:t(c)+s,value:l?l[c]:c,index:f,offset:s}))}},no=Oe([rr,hd,Ip,vd,v2,y2,en],vG),io=Oe(Yn,Ip,(e,r)=&gt;{if(!(e==null||r==null))return _m(_m({},e),{},{scale:r})}),yG=Oe([Yn,gd,m2,h9],p2);Oe((e,r,t)=&gt;u2(e,t),yG,(e,r)=&gt;{if(!(e==null||r==null))return _m(_m({},e),{},{scale:r})});var bG=Oe([rr,op,lp],(e,r,t)=&gt;{switch(e){case&quot;horizontal&quot;:return r.some(n=&gt;n.reversed)?&quot;right-to-left&quot;:&quot;left-to-right&quot;;case&quot;vertical&quot;:return t.some(n=&gt;n.reversed)?&quot;bottom-to-top&quot;:&quot;top-to-bottom&quot;;case&quot;centric&quot;:case&quot;radial&quot;:return&quot;left-to-right&quot;;default:return}}),w9=e=&gt;e.options.defaultTooltipEventType,_9=e=&gt;e.options.validateTooltipEventTypes;function j9(e,r,t){if(e==null)return r;var n=e?&quot;axis&quot;:&quot;item&quot;;return t==null?r:t.includes(n)?n:r}function b2(e,r){var t=w9(e),n=_9(e);return j9(r,t,n)}function xG(e){return wt(r=&gt;b2(r,e))}var S9=(e,r)=&gt;{var t,n=Number(r);if(!(ls(n)||r==null))return n&gt;=0?e==null||(t=e[n])===null||t===void 0?void 0:t.value:void 0},wG=e=&gt;e.tooltip.settings,Va={active:!1,index:null,dataKey:void 0,graphicalItemId:void 0,coordinate:void 0},_G={itemInteraction:{click:Va,hover:Va},axisInteraction:{click:Va,hover:Va},keyboardInteraction:Va,syncInteraction:{active:!1,index:null,dataKey:void 0,label:void 0,coordinate:void 0,sourceViewBox:void 0,graphicalItemId:void 0},tooltipItemPayloads:[],settings:{shared:void 0,trigger:&quot;hover&quot;,axisId:0,active:!1,defaultIndex:void 0}},k9=oi({name:&quot;tooltip&quot;,initialState:_G,reducers:{addTooltipEntrySettings:{reducer(e,r){e.tooltipItemPayloads.push(r.payload)},prepare:Sr()},replaceTooltipEntrySettings:{reducer(e,r){var{prev:t,next:n}=r.payload,l=as(e).tooltipItemPayloads.indexOf(t);l&gt;-1&amp;&amp;(e.tooltipItemPayloads[l]=n)},prepare:Sr()},removeTooltipEntrySettings:{reducer(e,r){var t=as(e).tooltipItemPayloads.indexOf(r.payload);t&gt;-1&amp;&amp;e.tooltipItemPayloads.splice(t,1)},prepare:Sr()},setTooltipSettingsState(e,r){e.settings=r.payload},setActiveMouseOverItemIndex(e,r){e.syncInteraction.active=!1,e.keyboardInteraction.active=!1,e.itemInteraction.hover.active=!0,e.itemInteraction.hover.index=r.payload.activeIndex,e.itemInteraction.hover.dataKey=r.payload.activeDataKey,e.itemInteraction.hover.graphicalItemId=r.payload.activeGraphicalItemId,e.itemInteraction.hover.coordinate=r.payload.activeCoordinate},mouseLeaveChart(e){e.itemInteraction.hover.active=!1,e.axisInteraction.hover.active=!1},mouseLeaveItem(e){e.itemInteraction.hover.active=!1},setActiveClickItemIndex(e,r){e.syncInteraction.active=!1,e.itemInteraction.click.active=!0,e.keyboardInteraction.active=!1,e.itemInteraction.click.index=r.payload.activeIndex,e.itemInteraction.click.dataKey=r.payload.activeDataKey,e.itemInteraction.click.graphicalItemId=r.payload.activeGraphicalItemId,e.itemInteraction.click.coordinate=r.payload.activeCoordinate},setMouseOverAxisIndex(e,r){e.syncInteraction.active=!1,e.axisInteraction.hover.active=!0,e.keyboardInteraction.active=!1,e.axisInteraction.hover.index=r.payload.activeIndex,e.axisInteraction.hover.dataKey=r.payload.activeDataKey,e.axisInteraction.hover.coordinate=r.payload.activeCoordinate},setMouseClickAxisIndex(e,r){e.syncInteraction.active=!1,e.keyboardInteraction.active=!1,e.axisInteraction.click.active=!0,e.axisInteraction.click.index=r.payload.activeIndex,e.axisInteraction.click.dataKey=r.payload.activeDataKey,e.axisInteraction.click.coordinate=r.payload.activeCoordinate},setSyncInteraction(e,r){e.syncInteraction=r.payload},setKeyboardInteraction(e,r){e.keyboardInteraction.active=r.payload.active,e.keyboardInteraction.index=r.payload.activeIndex,e.keyboardInteraction.coordinate=r.payload.activeCoordinate}}}),{addTooltipEntrySettings:jG,replaceTooltipEntrySettings:SG,removeTooltipEntrySettings:kG,setTooltipSettingsState:NG,setActiveMouseOverItemIndex:N9,mouseLeaveItem:CG,mouseLeaveChart:C9,setActiveClickItemIndex:EG,setMouseOverAxisIndex:E9,setMouseClickAxisIndex:AG,setSyncInteraction:nx,setKeyboardInteraction:ix}=k9.actions,MG=k9.reducer;function eS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function oh(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?eS(Object(t),!0).forEach(function(n){OG(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):eS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function OG(e,r,t){return(r=PG(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function PG(e){var r=TG(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function TG(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function IG(e,r,t){return r===&quot;axis&quot;?t===&quot;click&quot;?e.axisInteraction.click:e.axisInteraction.hover:t===&quot;click&quot;?e.itemInteraction.click:e.itemInteraction.hover}function RG(e){return e.index!=null}var A9=(e,r,t,n)=&gt;{if(r==null)return Va;var l=IG(e,r,t);if(l==null)return Va;if(l.active)return l;if(e.keyboardInteraction.active)return e.keyboardInteraction;if(e.syncInteraction.active&amp;&amp;e.syncInteraction.index!=null)return e.syncInteraction;var i=e.settings.active===!0;if(RG(l)){if(i)return oh(oh({},l),{},{active:!0})}else if(n!=null)return{active:!0,coordinate:void 0,dataKey:void 0,index:n,graphicalItemId:void 0};return oh(oh({},Va),{},{coordinate:l.coordinate})};function DG(e){if(typeof e==&quot;number&quot;)return Number.isFinite(e)?e:void 0;if(e instanceof Date){var r=e.valueOf();return Number.isFinite(r)?r:void 0}var t=Number(e);return Number.isFinite(t)?t:void 0}function LG(e,r){var t=DG(e),n=r[0],l=r[1];if(t===void 0)return!1;var i=Math.min(n,l),a=Math.max(n,l);return t&gt;=i&amp;&amp;t&lt;=a}function FG(e,r,t){if(t==null||r==null)return!0;var n=Kr(e,r);return n==null||!ro(t)?!0:LG(n,t)}var x2=(e,r,t,n)=&gt;{var l=e?.index;if(l==null)return null;var i=Number(l);if(!Or(i))return l;var a=0,u=1/0;r.length&gt;0&amp;&amp;(u=r.length-1);var o=Math.max(a,Math.min(i,u)),s=r[o];return s==null||FG(s,t,n)?String(o):null},M9=(e,r,t,n,l,i,a,u)=&gt;{if(!(i==null||u==null)){var o=a[0],s=o==null?void 0:u(o.positions,i);if(s!=null)return s;var c=l?.[Number(i)];if(c)return t===&quot;horizontal&quot;?{x:c.coordinate,y:(n.top+r)/2}:{x:(n.left+e)/2,y:c.coordinate}}},O9=(e,r,t,n)=&gt;{if(r===&quot;axis&quot;)return e.tooltipItemPayloads;if(e.tooltipItemPayloads.length===0)return[];var l;if(t===&quot;hover&quot;?l=e.itemInteraction.hover.graphicalItemId:l=e.itemInteraction.click.graphicalItemId,l==null&amp;&amp;n!=null){var i=e.tooltipItemPayloads[0];return i!=null?[i]:[]}return e.tooltipItemPayloads.filter(a=&gt;{var u;return((u=a.settings)===null||u===void 0?void 0:u.graphicalItemId)===l})},yd=e=&gt;e.options.tooltipPayloadSearcher,jc=e=&gt;e.tooltip;function tS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function rS(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?tS(Object(t),!0).forEach(function(n){BG(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):tS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function BG(e,r,t){return(r=zG(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function zG(e){var r=$G(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function $G(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function UG(e,r){return e??r}var P9=(e,r,t,n,l,i,a)=&gt;{if(!(r==null||i==null)){var{chartData:u,computedData:o,dataStartIndex:s,dataEndIndex:c}=t,f=[];return e.reduce((h,m)=&gt;{var p,{dataDefinedOnItem:v,settings:g}=m,b=UG(v,u),x=Array.isArray(b)?l7(b,s,c):b,_=(p=g?.dataKey)!==null&amp;&amp;p!==void 0?p:n,C=g?.nameKey,O;if(n&amp;&amp;Array.isArray(x)&amp;&amp;!Array.isArray(x[0])&amp;&amp;a===&quot;axis&quot;?O=gC(x,n,l):O=i(x,r,o,C),Array.isArray(O))O.forEach(H=&gt;{var L=rS(rS({},g),{},{name:H.name,unit:H.unit,color:void 0,fill:void 0});h.push(sj({tooltipEntrySettings:L,dataKey:H.dataKey,payload:H.payload,value:Kr(H.payload,H.dataKey),name:H.name}))});else{var R;h.push(sj({tooltipEntrySettings:g,dataKey:_,payload:O,value:Kr(O,_),name:(R=Kr(O,C))!==null&amp;&amp;R!==void 0?R:g?.name}))}return h},f)}},w2=Oe([rn,rr,$E,n2,tn],c9),VG=Oe([e=&gt;e.graphicalItems.cartesianItems,e=&gt;e.graphicalItems.polarItems],(e,r)=&gt;[...e,...r]),qG=Oe([tn,wc],UE),Sc=Oe([VG,rn,qG],VE,{memoizeOptions:{resultEqualityCheck:Op}}),HG=Oe([Sc],e=&gt;e.filter(Ap)),WG=Oe([Sc],WE,{memoizeOptions:{resultEqualityCheck:Op}}),kc=Oe([WG,da],KE),KG=Oe([HG,da,rn],FE),_2=Oe([kc,rn,Sc],XE),T9=Oe([rn],f2),XG=Oe([rn],e=&gt;e.allowDataOverflow),I9=Oe([T9,XG],pE),GG=Oe([Sc],e=&gt;e.filter(Ap)),YG=Oe([KG,GG,kp,OE],YE),ZG=Oe([YG,da,tn,I9],ZE),QG=Oe([Sc],HE),JG=Oe([kc,rn,QG,h2,tn],e9,{memoizeOptions:{resultEqualityCheck:Mp}}),eY=Oe([t9,tn,wc],_c),tY=Oe([eY,tn],i9),rY=Oe([r9,tn,wc],_c),nY=Oe([rY,tn],s9),iY=Oe([n9,tn,wc],_c),sY=Oe([iY,tn],a9),aY=Oe([tY,sY,nY],jm),oY=Oe([rn,T9,I9,ZG,JG,aY,rr,tn],o9),bd=Oe([rn,rr,kc,_2,kp,tn,oY],l9),lY=Oe([bd,rn,w2],u9),cY=Oe([rn,bd,lY,tn],d9),R9=e=&gt;{var r=tn(e),t=wc(e),n=!1;return vd(e,r,t,n)},D9=Oe([rn,R9],Np),L9=Oe([rn,w2,cY,D9],p2),uY=Oe([rr,_2,rn,tn],y9),dY=Oe([rr,_2,rn,tn],b9),fY=(e,r,t,n,l,i,a,u)=&gt;{if(r){var{type:o}=r,s=oo(e,u);if(n){var c=t===&quot;scaleBand&quot;&amp;&amp;n.bandwidth?n.bandwidth()/2:2,f=o===&quot;category&quot;&amp;&amp;n.bandwidth?n.bandwidth()/c:0;return f=u===&quot;angleAxis&quot;&amp;&amp;l!=null&amp;&amp;l?.length&gt;=2?ii(l[0]-l[1])*2*f:f,s&amp;&amp;a?a.map((h,m)=&gt;({coordinate:n(h)+f,value:h,index:m,offset:f})):n.domain().map((h,m)=&gt;({coordinate:n(h)+f,value:i?i[h]:h,index:m,offset:f}))}}},ma=Oe([rr,rn,w2,L9,R9,uY,dY,tn],fY),j2=Oe([w9,_9,wG],(e,r,t)=&gt;j9(t.shared,e,r)),F9=e=&gt;e.tooltip.settings.trigger,S2=e=&gt;e.tooltip.settings.defaultIndex,xd=Oe([jc,j2,F9,S2],A9),ol=Oe([xd,kc,pd,bd],x2),B9=Oe([ma,ol],S9),z9=Oe([xd],e=&gt;{if(e)return e.dataKey});Oe([xd],e=&gt;{if(e)return e.graphicalItemId});var $9=Oe([jc,j2,F9,S2],O9),hY=Oe([la,ca,rr,hn,ma,S2,$9,yd],M9),mY=Oe([xd,hY],(e,r)=&gt;e!=null&amp;&amp;e.coordinate?e.coordinate:r),pY=Oe([xd],e=&gt;{var r;return(r=e?.active)!==null&amp;&amp;r!==void 0?r:!1}),gY=Oe([$9,ol,da,pd,B9,yd,j2],P9),vY=Oe([gY],e=&gt;{if(e!=null){var r=e.map(t=&gt;t.payload).filter(t=&gt;t!=null);return Array.from(new Set(r))}});function nS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function iS(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?nS(Object(t),!0).forEach(function(n){yY(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):nS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function yY(e,r,t){return(r=bY(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function bY(e){var r=xY(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function xY(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var wY=()=&gt;wt(rn),_Y=()=&gt;{var e=wY(),r=wt(ma),t=wt(L9);return sc(!e||!t?void 0:iS(iS({},e),{},{scale:t}),r)};function sS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function $l(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?sS(Object(t),!0).forEach(function(n){jY(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):sS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function jY(e,r,t){return(r=SY(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function SY(e){var r=kY(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function kY(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var NY=(e,r,t,n)=&gt;{var l=r.find(i=&gt;i&amp;&amp;i.index===t);if(l){if(e===&quot;horizontal&quot;)return{x:l.coordinate,y:n.chartY};if(e===&quot;vertical&quot;)return{x:n.chartX,y:l.coordinate}}return{x:0,y:0}},CY=(e,r,t,n)=&gt;{var l=r.find(s=&gt;s&amp;&amp;s.index===t);if(l){if(e===&quot;centric&quot;){var i=l.coordinate,{radius:a}=n;return $l($l($l({},n),kn(n.cx,n.cy,a,i)),{},{angle:i,radius:a})}var u=l.coordinate,{angle:o}=n;return $l($l($l({},n),kn(n.cx,n.cy,u,o)),{},{angle:o,radius:u})}return{angle:0,clockWise:!1,cx:0,cy:0,endAngle:0,innerRadius:0,outerRadius:0,radius:0,startAngle:0,x:0,y:0}};function EY(e,r){var{chartX:t,chartY:n}=e;return t&gt;=r.left&amp;&amp;t&lt;=r.left+r.width&amp;&amp;n&gt;=r.top&amp;&amp;n&lt;=r.top+r.height}var U9=(e,r,t,n,l)=&gt;{var i,a=(i=r?.length)!==null&amp;&amp;i!==void 0?i:0;if(a&lt;=1||e==null)return 0;if(n===&quot;angleAxis&quot;&amp;&amp;l!=null&amp;&amp;Math.abs(Math.abs(l[1]-l[0])-360)&lt;=1e-6)for(var u=0;u&lt;a;u++){var o,s,c,f,h,m=u&gt;0?(o=t[u-1])===null||o===void 0?void 0:o.coordinate:(s=t[a-1])===null||s===void 0?void 0:s.coordinate,p=(c=t[u])===null||c===void 0?void 0:c.coordinate,v=u&gt;=a-1?(f=t[0])===null||f===void 0?void 0:f.coordinate:(h=t[u+1])===null||h===void 0?void 0:h.coordinate,g=void 0;if(!(m==null||p==null||v==null))if(ii(p-m)!==ii(v-p)){var b=[];if(ii(v-p)===ii(l[1]-l[0])){g=v;var x=p+l[1]-l[0];b[0]=Math.min(x,(x+m)/2),b[1]=Math.max(x,(x+m)/2)}else{g=m;var _=v+l[1]-l[0];b[0]=Math.min(p,(_+p)/2),b[1]=Math.max(p,(_+p)/2)}var C=[Math.min(p,(g+p)/2),Math.max(p,(g+p)/2)];if(e&gt;C[0]&amp;&amp;e&lt;=C[1]||e&gt;=b[0]&amp;&amp;e&lt;=b[1]){var O;return(O=t[u])===null||O===void 0?void 0:O.index}}else{var R=Math.min(m,v),H=Math.max(m,v);if(e&gt;(R+p)/2&amp;&amp;e&lt;=(H+p)/2){var L;return(L=t[u])===null||L===void 0?void 0:L.index}}}else if(r)for(var q=0;q&lt;a;q++){var W=r[q];if(W!=null){var K=r[q+1],U=r[q-1];if(q===0&amp;&amp;K!=null&amp;&amp;e&lt;=(W.coordinate+K.coordinate)/2||q===a-1&amp;&amp;U!=null&amp;&amp;e&gt;(W.coordinate+U.coordinate)/2||q&gt;0&amp;&amp;q&lt;a-1&amp;&amp;U!=null&amp;&amp;K!=null&amp;&amp;e&gt;(W.coordinate+U.coordinate)/2&amp;&amp;e&lt;=(W.coordinate+K.coordinate)/2)return W.index}}return-1},AY=()=&gt;wt(n2),k2=(e,r)=&gt;r,V9=(e,r,t)=&gt;t,N2=(e,r,t,n)=&gt;n,MY=Oe(ma,e=&gt;Ym(e,r=&gt;r.coordinate)),C2=Oe([jc,k2,V9,N2],A9),E2=Oe([C2,kc,pd,bd],x2),OY=(e,r,t)=&gt;{if(r!=null){var n=jc(e);return r===&quot;axis&quot;?t===&quot;hover&quot;?n.axisInteraction.hover.dataKey:n.axisInteraction.click.dataKey:t===&quot;hover&quot;?n.itemInteraction.hover.dataKey:n.itemInteraction.click.dataKey}},q9=Oe([jc,k2,V9,N2],O9),Sm=Oe([la,ca,rr,hn,ma,N2,q9,yd],M9),PY=Oe([C2,Sm],(e,r)=&gt;{var t;return(t=e.coordinate)!==null&amp;&amp;t!==void 0?t:r}),H9=Oe([ma,E2],S9),TY=Oe([q9,E2,da,pd,H9,yd,k2],P9),IY=Oe([C2,E2],(e,r)=&gt;({isActive:e.active&amp;&amp;r!=null,activeIndex:r})),RY=(e,r,t,n,l,i,a)=&gt;{if(!(!e||!t||!n||!l)&amp;&amp;EY(e,a)){var u=YU(e,r),o=U9(u,i,l,t,n),s=NY(r,l,o,e);return{activeIndex:String(o),activeCoordinate:s}}},DY=(e,r,t,n,l,i,a)=&gt;{if(!(!e||!n||!l||!i||!t)){var u=bH(e,t);if(u){var o=ZU(u,r),s=U9(o,a,i,n,l),c=CY(r,i,s,u);return{activeIndex:String(s),activeCoordinate:c}}}},LY=(e,r,t,n,l,i,a,u)=&gt;{if(!(!e||!r||!n||!l||!i))return r===&quot;horizontal&quot;||r===&quot;vertical&quot;?RY(e,r,n,l,i,a,u):DY(e,r,t,n,l,i,a)},FY=Oe(e=&gt;e.zIndex.zIndexMap,(e,r)=&gt;r,(e,r,t)=&gt;t,(e,r,t)=&gt;{if(r!=null){var n=e[r];if(n!=null)return t?n.panoramaElement:n.element}}),BY=Oe(e=&gt;e.zIndex.zIndexMap,e=&gt;{var r=Object.keys(e).map(n=&gt;parseInt(n,10)).concat(Object.values(fn)),t=Array.from(new Set(r));return t.sort((n,l)=&gt;n-l)},{memoizeOptions:{resultEqualityCheck:_X}});function aS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function oS(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?aS(Object(t),!0).forEach(function(n){zY(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):aS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function zY(e,r,t){return(r=$Y(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function $Y(e){var r=UY(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function UY(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var VY={},qY={zIndexMap:Object.values(fn).reduce((e,r)=&gt;oS(oS({},e),{},{[r]:{element:void 0,panoramaElement:void 0,consumers:0}}),VY)},HY=new Set(Object.values(fn));function WY(e){return HY.has(e)}var W9=oi({name:&quot;zIndex&quot;,initialState:qY,reducers:{registerZIndexPortal:{reducer:(e,r)=&gt;{var{zIndex:t}=r.payload;e.zIndexMap[t]?e.zIndexMap[t].consumers+=1:e.zIndexMap[t]={consumers:1,element:void 0,panoramaElement:void 0}},prepare:Sr()},unregisterZIndexPortal:{reducer:(e,r)=&gt;{var{zIndex:t}=r.payload;e.zIndexMap[t]&amp;&amp;(e.zIndexMap[t].consumers-=1,e.zIndexMap[t].consumers&lt;=0&amp;&amp;!WY(t)&amp;&amp;delete e.zIndexMap[t])},prepare:Sr()},registerZIndexPortalElement:{reducer:(e,r)=&gt;{var{zIndex:t,element:n,isPanorama:l}=r.payload;e.zIndexMap[t]?l?e.zIndexMap[t].panoramaElement=n:e.zIndexMap[t].element=n:e.zIndexMap[t]={consumers:0,element:l?void 0:n,panoramaElement:l?n:void 0}},prepare:Sr()},unregisterZIndexPortalElement:{reducer:(e,r)=&gt;{var{zIndex:t}=r.payload;e.zIndexMap[t]&amp;&amp;(r.payload.isPanorama?e.zIndexMap[t].panoramaElement=void 0:e.zIndexMap[t].element=void 0)},prepare:Sr()}}}),{registerZIndexPortal:KY,unregisterZIndexPortal:XY,registerZIndexPortalElement:GY,unregisterZIndexPortalElement:YY}=W9.actions,ZY=W9.reducer;function Ui(e){var{zIndex:r,children:t}=e,n=MV(),l=n&amp;&amp;r!==void 0&amp;&amp;r!==0,i=Ln(),a=Pr();F.useLayoutEffect(()=&gt;l?(a(KY({zIndex:r})),()=&gt;{a(XY({zIndex:r}))}):id,[a,r,l]);var u=wt(o=&gt;FY(o,r,i));return l?u?Rm.createPortal(t,u):null:t}function sx(){return sx=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},sx.apply(null,arguments)}function lS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function lh(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?lS(Object(t),!0).forEach(function(n){QY(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):lS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function QY(e,r,t){return(r=JY(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function JY(e){var r=eZ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function eZ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function tZ(e){var{cursor:r,cursorComp:t,cursorProps:n}=e;return F.isValidElement(r)?F.cloneElement(r,n):F.createElement(t,n)}function rZ(e){var r,{coordinate:t,payload:n,index:l,offset:i,tooltipAxisBandSize:a,layout:u,cursor:o,tooltipEventType:s,chartName:c}=e,f=t,h=n,m=l;if(!o||!f||c!==&quot;ScatterChart&quot;&amp;&amp;s!==&quot;axis&quot;)return null;var p,v,g;if(c===&quot;ScatterChart&quot;)p=f,v=Pq,g=fn.cursorLine;else if(c===&quot;BarChart&quot;)p=Tq(u,f,i,a),v=M7,g=fn.cursorRectangle;else if(u===&quot;radial&quot;&amp;&amp;yC(f)){var{cx:b,cy:x,radius:_,startAngle:C,endAngle:O}=O7(f);p={cx:b,cy:x,startAngle:C,endAngle:O,innerRadius:_,outerRadius:_},v=T7,g=fn.cursorLine}else p={points:jH(u,f,i)},v=k7,g=fn.cursorLine;var R=typeof o==&quot;object&quot;&amp;&amp;&quot;className&quot;in o?o.className:void 0,H=lh(lh(lh(lh({stroke:&quot;#ccc&quot;,pointerEvents:&quot;none&quot;},i),p),rd(o)),{},{payload:h,payloadIndex:m,className:ar(&quot;recharts-tooltip-cursor&quot;,R)});return F.createElement(Ui,{zIndex:(r=e.zIndex)!==null&amp;&amp;r!==void 0?r:g},F.createElement(tZ,{cursor:o,cursorComp:v,cursorProps:H}))}function nZ(e){var r=_Y(),t=g7(),n=vc(),l=AY();return r==null||t==null||n==null||l==null?null:F.createElement(rZ,sx({},e,{offset:t,layout:n,tooltipAxisBandSize:r,chartName:l}))}var K9=F.createContext(null),iZ=()=&gt;F.useContext(K9),hy={exports:{}},cS;function sZ(){return cS||(cS=1,(function(e){var r=Object.prototype.hasOwnProperty,t=&quot;~&quot;;function n(){}Object.create&amp;&amp;(n.prototype=Object.create(null),new n().__proto__||(t=!1));function l(o,s,c){this.fn=o,this.context=s,this.once=c||!1}function i(o,s,c,f,h){if(typeof c!=&quot;function&quot;)throw new TypeError(&quot;The listener must be a function&quot;);var m=new l(c,f||o,h),p=t?t+s:s;return o._events[p]?o._events[p].fn?o._events[p]=[o._events[p],m]:o._events[p].push(m):(o._events[p]=m,o._eventsCount++),o}function a(o,s){--o._eventsCount===0?o._events=new n:delete o._events[s]}function u(){this._events=new n,this._eventsCount=0}u.prototype.eventNames=function(){var s=[],c,f;if(this._eventsCount===0)return s;for(f in c=this._events)r.call(c,f)&amp;&amp;s.push(t?f.slice(1):f);return Object.getOwnPropertySymbols?s.concat(Object.getOwnPropertySymbols(c)):s},u.prototype.listeners=function(s){var c=t?t+s:s,f=this._events[c];if(!f)return[];if(f.fn)return[f.fn];for(var h=0,m=f.length,p=new Array(m);h&lt;m;h++)p[h]=f[h].fn;return p},u.prototype.listenerCount=function(s){var c=t?t+s:s,f=this._events[c];return f?f.fn?1:f.length:0},u.prototype.emit=function(s,c,f,h,m,p){var v=t?t+s:s;if(!this._events[v])return!1;var g=this._events[v],b=arguments.length,x,_;if(g.fn){switch(g.once&amp;&amp;this.removeListener(s,g.fn,void 0,!0),b){case 1:return g.fn.call(g.context),!0;case 2:return g.fn.call(g.context,c),!0;case 3:return g.fn.call(g.context,c,f),!0;case 4:return g.fn.call(g.context,c,f,h),!0;case 5:return g.fn.call(g.context,c,f,h,m),!0;case 6:return g.fn.call(g.context,c,f,h,m,p),!0}for(_=1,x=new Array(b-1);_&lt;b;_++)x[_-1]=arguments[_];g.fn.apply(g.context,x)}else{var C=g.length,O;for(_=0;_&lt;C;_++)switch(g[_].once&amp;&amp;this.removeListener(s,g[_].fn,void 0,!0),b){case 1:g[_].fn.call(g[_].context);break;case 2:g[_].fn.call(g[_].context,c);break;case 3:g[_].fn.call(g[_].context,c,f);break;case 4:g[_].fn.call(g[_].context,c,f,h);break;default:if(!x)for(O=1,x=new Array(b-1);O&lt;b;O++)x[O-1]=arguments[O];g[_].fn.apply(g[_].context,x)}}return!0},u.prototype.on=function(s,c,f){return i(this,s,c,f,!1)},u.prototype.once=function(s,c,f){return i(this,s,c,f,!0)},u.prototype.removeListener=function(s,c,f,h){var m=t?t+s:s;if(!this._events[m])return this;if(!c)return a(this,m),this;var p=this._events[m];if(p.fn)p.fn===c&amp;&amp;(!h||p.once)&amp;&amp;(!f||p.context===f)&amp;&amp;a(this,m);else{for(var v=0,g=[],b=p.length;v&lt;b;v++)(p[v].fn!==c||h&amp;&amp;!p[v].once||f&amp;&amp;p[v].context!==f)&amp;&amp;g.push(p[v]);g.length?this._events[m]=g.length===1?g[0]:g:a(this,m)}return this},u.prototype.removeAllListeners=function(s){var c;return s?(c=t?t+s:s,this._events[c]&amp;&amp;a(this,c)):(this._events=new n,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=t,u.EventEmitter=u,e.exports=u})(hy)),hy.exports}var aZ=sZ();const oZ=ds(aZ);var Gu=new oZ,ax=&quot;recharts.syncEvent.tooltip&quot;,uS=&quot;recharts.syncEvent.brush&quot;;function X9(e,r){if(r){var t=Number.parseInt(r,10);if(!ls(t))return e?.[t]}}var lZ={chartName:&quot;&quot;,tooltipPayloadSearcher:void 0,eventEmitter:void 0,defaultTooltipEventType:&quot;axis&quot;},G9=oi({name:&quot;options&quot;,initialState:lZ,reducers:{createEventEmitter:e=&gt;{e.eventEmitter==null&amp;&amp;(e.eventEmitter=Symbol(&quot;rechartsEventEmitter&quot;))}}}),cZ=G9.reducer,{createEventEmitter:uZ}=G9.actions;function dZ(e){return e.tooltip.syncInteraction}var fZ={chartData:void 0,computedData:void 0,dataStartIndex:0,dataEndIndex:0},Y9=oi({name:&quot;chartData&quot;,initialState:fZ,reducers:{setChartData(e,r){if(e.chartData=r.payload,r.payload==null){e.dataStartIndex=0,e.dataEndIndex=0;return}r.payload.length&gt;0&amp;&amp;e.dataEndIndex!==r.payload.length-1&amp;&amp;(e.dataEndIndex=r.payload.length-1)},setComputedData(e,r){e.computedData=r.payload},setDataStartEndIndexes(e,r){var{startIndex:t,endIndex:n}=r.payload;t!=null&amp;&amp;(e.dataStartIndex=t),n!=null&amp;&amp;(e.dataEndIndex=n)}}}),{setChartData:dS,setDataStartEndIndexes:hZ,setComputedData:Kie}=Y9.actions,mZ=Y9.reducer,pZ=[&quot;x&quot;,&quot;y&quot;];function fS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Ul(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?fS(Object(t),!0).forEach(function(n){gZ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):fS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function gZ(e,r,t){return(r=vZ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function vZ(e){var r=yZ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function yZ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function bZ(e,r){if(e==null)return{};var t,n,l=xZ(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(l[t]=e[t])}return l}function xZ(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function wZ(){var e=wt(i2),r=wt(s2),t=Pr(),n=wt(PE),l=wt(ma),i=vc(),a=dp(),u=wt(o=&gt;o.rootProps.className);F.useEffect(()=&gt;{if(e==null)return id;var o=(s,c,f)=&gt;{if(r!==f&amp;&amp;e===s){if(n===&quot;index&quot;){var h;if(a&amp;&amp;c!==null&amp;&amp;c!==void 0&amp;&amp;(h=c.payload)!==null&amp;&amp;h!==void 0&amp;&amp;h.coordinate&amp;&amp;c.payload.sourceViewBox){var m=c.payload.coordinate,{x:p,y:v}=m,g=bZ(m,pZ),{x:b,y:x,width:_,height:C}=c.payload.sourceViewBox,O=Ul(Ul({},g),{},{x:a.x+(_?(p-b)/_:0)*a.width,y:a.y+(C?(v-x)/C:0)*a.height});t(Ul(Ul({},c),{},{payload:Ul(Ul({},c.payload),{},{coordinate:O})}))}else t(c);return}if(l!=null){var R;if(typeof n==&quot;function&quot;){var H={activeTooltipIndex:c.payload.index==null?void 0:Number(c.payload.index),isTooltipActive:c.payload.active,activeIndex:c.payload.index==null?void 0:Number(c.payload.index),activeLabel:c.payload.label,activeDataKey:c.payload.dataKey,activeCoordinate:c.payload.coordinate},L=n(l,H);R=l[L]}else n===&quot;value&quot;&amp;&amp;(R=l.find(j=&gt;String(j.value)===c.payload.label));var{coordinate:q}=c.payload;if(R==null||c.payload.active===!1||q==null||a==null){t(nx({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:void 0,graphicalItemId:void 0}));return}var{x:W,y:K}=q,U=Math.min(W,a.x+a.width),P=Math.min(K,a.y+a.height),D={x:i===&quot;horizontal&quot;?R.coordinate:U,y:i===&quot;horizontal&quot;?P:R.coordinate},E=nx({active:c.payload.active,coordinate:D,dataKey:c.payload.dataKey,index:String(R.index),label:c.payload.label,sourceViewBox:c.payload.sourceViewBox,graphicalItemId:c.payload.graphicalItemId});t(E)}}};return Gu.on(ax,o),()=&gt;{Gu.off(ax,o)}},[u,t,r,e,n,l,i,a])}function _Z(){var e=wt(i2),r=wt(s2),t=Pr();F.useEffect(()=&gt;{if(e==null)return id;var n=(l,i,a)=&gt;{r!==a&amp;&amp;e===l&amp;&amp;t(hZ(i))};return Gu.on(uS,n),()=&gt;{Gu.off(uS,n)}},[t,r,e])}function jZ(){var e=Pr();F.useEffect(()=&gt;{e(uZ())},[e]),wZ(),_Z()}function SZ(e,r,t,n,l,i){var a=wt(m=&gt;OY(m,e,r)),u=wt(s2),o=wt(i2),s=wt(PE),c=wt(dZ),f=c?.active,h=dp();F.useEffect(()=&gt;{if(!f&amp;&amp;o!=null&amp;&amp;u!=null){var m=nx({active:i,coordinate:t,dataKey:a,index:l,label:typeof n==&quot;number&quot;?String(n):n,sourceViewBox:h,graphicalItemId:void 0});Gu.emit(ax,o,m,u)}},[f,t,a,l,n,u,o,s,i,h])}function hS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function mS(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?hS(Object(t),!0).forEach(function(n){kZ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):hS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function kZ(e,r,t){return(r=NZ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function NZ(e){var r=CZ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function CZ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function EZ(e){return e.dataKey}function AZ(e,r){return F.isValidElement(e)?F.cloneElement(e,r):typeof e==&quot;function&quot;?F.createElement(e,r):F.createElement(dq,r)}var pS=[],MZ={allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:&quot;ease&quot;,axisId:0,contentStyle:{},cursor:!0,filterNull:!0,includeHidden:!1,isAnimationActive:&quot;auto&quot;,itemSorter:&quot;name&quot;,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:&quot; : &quot;,trigger:&quot;hover&quot;,useTranslate3d:!1,wrapperStyle:{}};function my(e){var r,t,n=Nn(e,MZ),{active:l,allowEscapeViewBox:i,animationDuration:a,animationEasing:u,content:o,filterNull:s,isAnimationActive:c,offset:f,payloadUniqBy:h,position:m,reverseDirection:p,useTranslate3d:v,wrapperStyle:g,cursor:b,shared:x,trigger:_,defaultIndex:C,portal:O,axisId:R}=n,H=Pr(),L=typeof C==&quot;number&quot;?String(C):C;F.useEffect(()=&gt;{H(NG({shared:x,trigger:_,axisId:R,active:l,defaultIndex:L}))},[H,x,_,R,l,L]);var q=dp(),W=S7(),K=xG(x),{activeIndex:U,isActive:P}=(r=wt(ee=&gt;IY(ee,K,_,L)))!==null&amp;&amp;r!==void 0?r:{},D=wt(ee=&gt;TY(ee,K,_,L)),E=wt(ee=&gt;H9(ee,K,_,L)),j=wt(ee=&gt;PY(ee,K,_,L)),k=D,S=iZ(),N=(t=l??P)!==null&amp;&amp;t!==void 0?t:!1,[M,I]=PC([k,N]),B=K===&quot;axis&quot;?E:void 0;SZ(K,_,j,B,U,N);var Y=O??S;if(Y==null||q==null||K==null)return null;var Z=k??pS;N||(Z=pS),s&amp;&amp;Z.length&amp;&amp;(Z=CC(Z.filter(ee=&gt;ee.value!=null&amp;&amp;(ee.hide!==!0||n.includeHidden)),h,EZ));var ie=Z.length&gt;0,$=F.createElement(yq,{allowEscapeViewBox:i,animationDuration:a,animationEasing:u,isAnimationActive:c,active:N,coordinate:j,hasPayload:ie,offset:f,position:m,reverseDirection:p,useTranslate3d:v,viewBox:q,wrapperStyle:g,lastBoundingBox:M,innerRef:I,hasPortalFromProps:!!O},AZ(o,mS(mS({},n),{},{payload:Z,label:B,active:N,activeIndex:U,coordinate:j,accessibilityLayer:W})));return F.createElement(F.Fragment,null,Rm.createPortal($,Y),N&amp;&amp;F.createElement(nZ,{cursor:b,tooltipEventType:K,coordinate:j,payload:Z,index:U}))}var Z9=e=&gt;null;Z9.displayName=&quot;Cell&quot;;function OZ(e,r,t){return(r=PZ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function PZ(e){var r=TZ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function TZ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}class IZ{constructor(r){OZ(this,&quot;cache&quot;,new Map),this.maxSize=r}get(r){var t=this.cache.get(r);return t!==void 0&amp;&amp;(this.cache.delete(r),this.cache.set(r,t)),t}set(r,t){if(this.cache.has(r))this.cache.delete(r);else if(this.cache.size&gt;=this.maxSize){var n=this.cache.keys().next().value;n!=null&amp;&amp;this.cache.delete(n)}this.cache.set(r,t)}clear(){this.cache.clear()}size(){return this.cache.size}}function gS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function RZ(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?gS(Object(t),!0).forEach(function(n){DZ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):gS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function DZ(e,r,t){return(r=LZ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function LZ(e){var r=FZ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function FZ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var BZ={cacheSize:2e3,enableCache:!0},Q9=RZ({},BZ),vS=new IZ(Q9.cacheSize),zZ={position:&quot;absolute&quot;,top:&quot;-20000px&quot;,left:0,padding:0,margin:0,border:&quot;none&quot;,whiteSpace:&quot;pre&quot;},yS=&quot;recharts_measurement_span&quot;;function $Z(e,r){var t=r.fontSize||&quot;&quot;,n=r.fontFamily||&quot;&quot;,l=r.fontWeight||&quot;&quot;,i=r.fontStyle||&quot;&quot;,a=r.letterSpacing||&quot;&quot;,u=r.textTransform||&quot;&quot;;return&quot;&quot;.concat(e,&quot;|&quot;).concat(t,&quot;|&quot;).concat(n,&quot;|&quot;).concat(l,&quot;|&quot;).concat(i,&quot;|&quot;).concat(a,&quot;|&quot;).concat(u)}var bS=(e,r)=&gt;{try{var t=document.getElementById(yS);t||(t=document.createElement(&quot;span&quot;),t.setAttribute(&quot;id&quot;,yS),t.setAttribute(&quot;aria-hidden&quot;,&quot;true&quot;),document.body.appendChild(t)),Object.assign(t.style,zZ,r),t.textContent=&quot;&quot;.concat(e);var n=t.getBoundingClientRect();return{width:n.width,height:n.height}}catch{return{width:0,height:0}}},ku=function(r){var t=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{};if(r==null||gp.isSsr)return{width:0,height:0};if(!Q9.enableCache)return bS(r,t);var n=$Z(r,t),l=vS.get(n);if(l)return l;var i=bS(r,t);return vS.set(n,i),i},J9;function UZ(e,r,t){return(r=VZ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function VZ(e){var r=qZ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function qZ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var xS=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,wS=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,HZ=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,WZ=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,KZ={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},XZ=[&quot;cm&quot;,&quot;mm&quot;,&quot;pt&quot;,&quot;pc&quot;,&quot;in&quot;,&quot;Q&quot;,&quot;px&quot;];function GZ(e){return XZ.includes(e)}var Yl=&quot;NaN&quot;;function YZ(e,r){return e*KZ[r]}class jn{static parse(r){var t,[,n,l]=(t=WZ.exec(r))!==null&amp;&amp;t!==void 0?t:[];return n==null?jn.NaN:new jn(parseFloat(n),l??&quot;&quot;)}constructor(r,t){this.num=r,this.unit=t,this.num=r,this.unit=t,ls(r)&amp;&amp;(this.unit=&quot;&quot;),t!==&quot;&quot;&amp;&amp;!HZ.test(t)&amp;&amp;(this.num=NaN,this.unit=&quot;&quot;),GZ(t)&amp;&amp;(this.num=YZ(r,t),this.unit=&quot;px&quot;)}add(r){return this.unit!==r.unit?new jn(NaN,&quot;&quot;):new jn(this.num+r.num,this.unit)}subtract(r){return this.unit!==r.unit?new jn(NaN,&quot;&quot;):new jn(this.num-r.num,this.unit)}multiply(r){return this.unit!==&quot;&quot;&amp;&amp;r.unit!==&quot;&quot;&amp;&amp;this.unit!==r.unit?new jn(NaN,&quot;&quot;):new jn(this.num*r.num,this.unit||r.unit)}divide(r){return this.unit!==&quot;&quot;&amp;&amp;r.unit!==&quot;&quot;&amp;&amp;this.unit!==r.unit?new jn(NaN,&quot;&quot;):new jn(this.num/r.num,this.unit||r.unit)}toString(){return&quot;&quot;.concat(this.num).concat(this.unit)}isNaN(){return ls(this.num)}}J9=jn;UZ(jn,&quot;NaN&quot;,new J9(NaN,&quot;&quot;));function eA(e){if(e==null||e.includes(Yl))return Yl;for(var r=e;r.includes(&quot;*&quot;)||r.includes(&quot;/&quot;);){var t,[,n,l,i]=(t=xS.exec(r))!==null&amp;&amp;t!==void 0?t:[],a=jn.parse(n??&quot;&quot;),u=jn.parse(i??&quot;&quot;),o=l===&quot;*&quot;?a.multiply(u):a.divide(u);if(o.isNaN())return Yl;r=r.replace(xS,o.toString())}for(;r.includes(&quot;+&quot;)||/.-\d+(?:\.\d+)?/.test(r);){var s,[,c,f,h]=(s=wS.exec(r))!==null&amp;&amp;s!==void 0?s:[],m=jn.parse(c??&quot;&quot;),p=jn.parse(h??&quot;&quot;),v=f===&quot;+&quot;?m.add(p):m.subtract(p);if(v.isNaN())return Yl;r=r.replace(wS,v.toString())}return r}var _S=/\(([^()]*)\)/;function ZZ(e){for(var r=e,t;(t=_S.exec(r))!=null;){var[,n]=t;r=r.replace(_S,eA(n))}return r}function QZ(e){var r=e.replace(/\s+/g,&quot;&quot;);return r=ZZ(r),r=eA(r),r}function JZ(e){try{return QZ(e)}catch{return Yl}}function py(e){var r=JZ(e.slice(5,-1));return r===Yl?&quot;&quot;:r}var eQ=[&quot;x&quot;,&quot;y&quot;,&quot;lineHeight&quot;,&quot;capHeight&quot;,&quot;fill&quot;,&quot;scaleToFit&quot;,&quot;textAnchor&quot;,&quot;verticalAnchor&quot;],tQ=[&quot;dx&quot;,&quot;dy&quot;,&quot;angle&quot;,&quot;className&quot;,&quot;breakAll&quot;];function ox(){return ox=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},ox.apply(null,arguments)}function jS(e,r){if(e==null)return{};var t,n,l=rQ(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(l[t]=e[t])}return l}function rQ(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var tA=/[ \f\n\r\t\v\u2028\u2029]+/,rA=e=&gt;{var{children:r,breakAll:t,style:n}=e;try{var l=[];Nr(r)||(t?l=r.toString().split(&quot;&quot;):l=r.toString().split(tA));var i=l.map(u=&gt;({word:u,width:ku(u,n).width})),a=t?0:ku(&quot; &quot;,n).width;return{wordsWithComputedWidth:i,spaceWidth:a}}catch{return null}};function nQ(e){return e===&quot;start&quot;||e===&quot;middle&quot;||e===&quot;end&quot;||e===&quot;inherit&quot;}var nA=(e,r,t,n)=&gt;e.reduce((l,i)=&gt;{var{word:a,width:u}=i,o=l[l.length-1];if(o&amp;&amp;u!=null&amp;&amp;(r==null||n||o.width+u+t&lt;Number(r)))o.words.push(a),o.width+=u+t;else{var s={words:[a],width:u};l.push(s)}return l},[]),iA=e=&gt;e.reduce((r,t)=&gt;r.width&gt;t.width?r:t),iQ=&quot;…&quot;,SS=(e,r,t,n,l,i,a,u)=&gt;{var o=e.slice(0,r),s=rA({breakAll:t,style:n,children:o+iQ});if(!s)return[!1,[]];var c=nA(s.wordsWithComputedWidth,i,a,u),f=c.length&gt;l||iA(c).width&gt;Number(i);return[f,c]},sQ=(e,r,t,n,l)=&gt;{var{maxLines:i,children:a,style:u,breakAll:o}=e,s=ht(i),c=String(a),f=nA(r,n,t,l);if(!s||l)return f;var h=f.length&gt;i||iA(f).width&gt;Number(n);if(!h)return f;for(var m=0,p=c.length-1,v=0,g;m&lt;=p&amp;&amp;v&lt;=c.length-1;){var b=Math.floor((m+p)/2),x=b-1,[_,C]=SS(c,x,o,u,i,n,t,l),[O]=SS(c,b,o,u,i,n,t,l);if(!_&amp;&amp;!O&amp;&amp;(m=b+1),_&amp;&amp;O&amp;&amp;(p=b-1),!_&amp;&amp;O){g=C;break}v++}return g||f},kS=e=&gt;{var r=Nr(e)?[]:e.toString().split(tA);return[{words:r,width:void 0}]},aQ=e=&gt;{var{width:r,scaleToFit:t,children:n,style:l,breakAll:i,maxLines:a}=e;if((r||t)&amp;&amp;!gp.isSsr){var u,o,s=rA({breakAll:i,children:n,style:l});if(s){var{wordsWithComputedWidth:c,spaceWidth:f}=s;u=c,o=f}else return kS(n);return sQ({breakAll:i,children:n,maxLines:a,style:l},u,o,r,!!t)}return kS(n)},sA=&quot;#808080&quot;,oQ={angle:0,breakAll:!1,capHeight:&quot;0.71em&quot;,fill:sA,lineHeight:&quot;1em&quot;,scaleToFit:!1,textAnchor:&quot;start&quot;,verticalAnchor:&quot;end&quot;,x:0,y:0},A2=F.forwardRef((e,r)=&gt;{var t=Nn(e,oQ),{x:n,y:l,lineHeight:i,capHeight:a,fill:u,scaleToFit:o,textAnchor:s,verticalAnchor:c}=t,f=jS(t,eQ),h=F.useMemo(()=&gt;aQ({breakAll:f.breakAll,children:f.children,maxLines:f.maxLines,scaleToFit:o,style:f.style,width:f.width}),[f.breakAll,f.children,f.maxLines,o,f.style,f.width]),{dx:m,dy:p,angle:v,className:g,breakAll:b}=f,x=jS(f,tQ);if(!Es(n)||!Es(l)||h.length===0)return null;var _=Number(n)+(ht(m)?m:0),C=Number(l)+(ht(p)?p:0);if(!Or(_)||!Or(C))return null;var O;switch(c){case&quot;start&quot;:O=py(&quot;calc(&quot;.concat(a,&quot;)&quot;));break;case&quot;middle&quot;:O=py(&quot;calc(&quot;.concat((h.length-1)/2,&quot; * -&quot;).concat(i,&quot; + (&quot;).concat(a,&quot; / 2))&quot;));break;default:O=py(&quot;calc(&quot;.concat(h.length-1,&quot; * -&quot;).concat(i,&quot;)&quot;));break}var R=[];if(o){var H=h[0].width,{width:L}=f;R.push(&quot;scale(&quot;.concat(ht(L)&amp;&amp;ht(H)?L/H:1,&quot;)&quot;))}return v&amp;&amp;R.push(&quot;rotate(&quot;.concat(v,&quot;, &quot;).concat(_,&quot;, &quot;).concat(C,&quot;)&quot;)),R.length&amp;&amp;(x.transform=R.join(&quot; &quot;)),F.createElement(&quot;text&quot;,ox({},Xn(x),{ref:r,x:_,y:C,className:ar(&quot;recharts-text&quot;,g),textAnchor:s,fill:u.includes(&quot;url&quot;)?sA:u}),h.map((q,W)=&gt;{var K=q.words.join(b?&quot;&quot;:&quot; &quot;);return F.createElement(&quot;tspan&quot;,{x:_,dy:W===0?O:i,key:&quot;&quot;.concat(K,&quot;-&quot;).concat(W)},K)}))});A2.displayName=&quot;Text&quot;;var lQ=[&quot;labelRef&quot;],cQ=[&quot;content&quot;];function NS(e,r){if(e==null)return{};var t,n,l=uQ(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(l[t]=e[t])}return l}function uQ(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function CS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function $r(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?CS(Object(t),!0).forEach(function(n){dQ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):CS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function dQ(e,r,t){return(r=fQ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function fQ(e){var r=hQ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function hQ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function Ws(){return Ws=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Ws.apply(null,arguments)}var aA=F.createContext(null),mQ=e=&gt;{var{x:r,y:t,upperWidth:n,lowerWidth:l,width:i,height:a,children:u}=e,o=F.useMemo(()=&gt;({x:r,y:t,upperWidth:n,lowerWidth:l,width:i,height:a}),[r,t,n,l,i,a]);return F.createElement(aA.Provider,{value:o},u)},oA=()=&gt;{var e=F.useContext(aA),r=dp();return e||p7(r)},pQ=F.createContext(null),gQ=()=&gt;{var e=F.useContext(pQ),r=wt(LE);return e||r},vQ=e=&gt;{var{value:r,formatter:t}=e,n=Nr(e.children)?r:e.children;return typeof t==&quot;function&quot;?t(n):n},M2=e=&gt;e!=null&amp;&amp;typeof e==&quot;function&quot;,yQ=(e,r)=&gt;{var t=ii(r-e),n=Math.min(Math.abs(r-e),360);return t*n},bQ=(e,r,t,n,l)=&gt;{var{offset:i,className:a}=e,{cx:u,cy:o,innerRadius:s,outerRadius:c,startAngle:f,endAngle:h,clockWise:m}=l,p=(s+c)/2,v=yQ(f,h),g=v&gt;=0?1:-1,b,x;switch(r){case&quot;insideStart&quot;:b=f+g*i,x=m;break;case&quot;insideEnd&quot;:b=h-g*i,x=!m;break;case&quot;end&quot;:b=h+g*i,x=m;break;default:throw new Error(&quot;Unsupported position &quot;.concat(r))}x=v&lt;=0?x:!x;var _=kn(u,o,p,b),C=kn(u,o,p,b+(x?1:-1)*359),O=&quot;M&quot;.concat(_.x,&quot;,&quot;).concat(_.y,`
    A`).concat(p,&quot;,&quot;).concat(p,&quot;,0,1,&quot;).concat(x?0:1,`,
    `).concat(C.x,&quot;,&quot;).concat(C.y),R=Nr(e.id)?Du(&quot;recharts-radial-line-&quot;):e.id;return F.createElement(&quot;text&quot;,Ws({},n,{dominantBaseline:&quot;central&quot;,className:ar(&quot;recharts-radial-bar-label&quot;,a)}),F.createElement(&quot;defs&quot;,null,F.createElement(&quot;path&quot;,{id:R,d:O})),F.createElement(&quot;textPath&quot;,{xlinkHref:&quot;#&quot;.concat(R)},t))},xQ=(e,r,t)=&gt;{var{cx:n,cy:l,innerRadius:i,outerRadius:a,startAngle:u,endAngle:o}=e,s=(u+o)/2;if(t===&quot;outside&quot;){var{x:c,y:f}=kn(n,l,a+r,s);return{x:c,y:f,textAnchor:c&gt;=n?&quot;start&quot;:&quot;end&quot;,verticalAnchor:&quot;middle&quot;}}if(t===&quot;center&quot;)return{x:n,y:l,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;middle&quot;};if(t===&quot;centerTop&quot;)return{x:n,y:l,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;start&quot;};if(t===&quot;centerBottom&quot;)return{x:n,y:l,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;end&quot;};var h=(i+a)/2,{x:m,y:p}=kn(n,l,h,s);return{x:m,y:p,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;middle&quot;}},lx=e=&gt;&quot;cx&quot;in e&amp;&amp;ht(e.cx),wQ=(e,r)=&gt;{var{parentViewBox:t,offset:n,position:l}=e,i;t!=null&amp;&amp;!lx(t)&amp;&amp;(i=t);var{x:a,y:u,upperWidth:o,lowerWidth:s,height:c}=r,f=a,h=a+(o-s)/2,m=(f+h)/2,p=(o+s)/2,v=f+o/2,g=c&gt;=0?1:-1,b=g*n,x=g&gt;0?&quot;end&quot;:&quot;start&quot;,_=g&gt;0?&quot;start&quot;:&quot;end&quot;,C=o&gt;=0?1:-1,O=C*n,R=C&gt;0?&quot;end&quot;:&quot;start&quot;,H=C&gt;0?&quot;start&quot;:&quot;end&quot;;if(l===&quot;top&quot;){var L={x:f+o/2,y:u-b,textAnchor:&quot;middle&quot;,verticalAnchor:x};return $r($r({},L),i?{height:Math.max(u-i.y,0),width:o}:{})}if(l===&quot;bottom&quot;){var q={x:h+s/2,y:u+c+b,textAnchor:&quot;middle&quot;,verticalAnchor:_};return $r($r({},q),i?{height:Math.max(i.y+i.height-(u+c),0),width:s}:{})}if(l===&quot;left&quot;){var W={x:m-O,y:u+c/2,textAnchor:R,verticalAnchor:&quot;middle&quot;};return $r($r({},W),i?{width:Math.max(W.x-i.x,0),height:c}:{})}if(l===&quot;right&quot;){var K={x:m+p+O,y:u+c/2,textAnchor:H,verticalAnchor:&quot;middle&quot;};return $r($r({},K),i?{width:Math.max(i.x+i.width-K.x,0),height:c}:{})}var U=i?{width:p,height:c}:{};return l===&quot;insideLeft&quot;?$r({x:m+O,y:u+c/2,textAnchor:H,verticalAnchor:&quot;middle&quot;},U):l===&quot;insideRight&quot;?$r({x:m+p-O,y:u+c/2,textAnchor:R,verticalAnchor:&quot;middle&quot;},U):l===&quot;insideTop&quot;?$r({x:f+o/2,y:u+b,textAnchor:&quot;middle&quot;,verticalAnchor:_},U):l===&quot;insideBottom&quot;?$r({x:h+s/2,y:u+c-b,textAnchor:&quot;middle&quot;,verticalAnchor:x},U):l===&quot;insideTopLeft&quot;?$r({x:f+O,y:u+b,textAnchor:H,verticalAnchor:_},U):l===&quot;insideTopRight&quot;?$r({x:f+o-O,y:u+b,textAnchor:R,verticalAnchor:_},U):l===&quot;insideBottomLeft&quot;?$r({x:h+O,y:u+c-b,textAnchor:H,verticalAnchor:x},U):l===&quot;insideBottomRight&quot;?$r({x:h+s-O,y:u+c-b,textAnchor:R,verticalAnchor:x},U):l&amp;&amp;typeof l==&quot;object&quot;&amp;&amp;(ht(l.x)||ea(l.x))&amp;&amp;(ht(l.y)||ea(l.y))?$r({x:a+cs(l.x,p),y:u+cs(l.y,c),textAnchor:&quot;end&quot;,verticalAnchor:&quot;end&quot;},U):$r({x:v,y:u+c/2,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;middle&quot;},U)},_Q={angle:0,offset:5,zIndex:fn.label,position:&quot;middle&quot;,textBreakAll:!1};function $a(e){var r=Nn(e,_Q),{viewBox:t,position:n,value:l,children:i,content:a,className:u=&quot;&quot;,textBreakAll:o,labelRef:s}=r,c=gQ(),f=oA(),h=n===&quot;center&quot;?f:c??f,m,p,v;if(t==null?m=h:lx(t)?m=t:m=p7(t),!m||Nr(l)&amp;&amp;Nr(i)&amp;&amp;!F.isValidElement(a)&amp;&amp;typeof a!=&quot;function&quot;)return null;var g=$r($r({},r),{},{viewBox:m});if(F.isValidElement(a)){var{labelRef:b}=g,x=NS(g,lQ);return F.cloneElement(a,x)}if(typeof a==&quot;function&quot;){var{content:_}=g,C=NS(g,cQ);if(p=F.createElement(a,C),F.isValidElement(p))return p}else p=vQ(r);var O=Xn(r);if(lx(m)){if(n===&quot;insideStart&quot;||n===&quot;insideEnd&quot;||n===&quot;end&quot;)return bQ(r,n,p,O,m);v=xQ(m,r.offset,r.position)}else v=wQ(r,m);return F.createElement(Ui,{zIndex:r.zIndex},F.createElement(A2,Ws({ref:s,className:ar(&quot;recharts-label&quot;,u)},O,v,{textAnchor:nQ(O.textAnchor)?O.textAnchor:v.textAnchor,breakAll:o}),p))}$a.displayName=&quot;Label&quot;;var jQ=(e,r,t)=&gt;{if(!e)return null;var n={viewBox:r,labelRef:t};return e===!0?F.createElement($a,Ws({key:&quot;label-implicit&quot;},n)):Es(e)?F.createElement($a,Ws({key:&quot;label-implicit&quot;,value:e},n)):F.isValidElement(e)?e.type===$a?F.cloneElement(e,$r({key:&quot;label-implicit&quot;},n)):F.createElement($a,Ws({key:&quot;label-implicit&quot;,content:e},n)):M2(e)?F.createElement($a,Ws({key:&quot;label-implicit&quot;,content:e},n)):e&amp;&amp;typeof e==&quot;object&quot;?F.createElement($a,Ws({},e,{key:&quot;label-implicit&quot;},n)):null};function SQ(e){var{label:r,labelRef:t}=e,n=oA();return jQ(r,n,t)||null}var gy={},vy={},ES;function kQ(){return ES||(ES=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return t[t.length-1]}e.last=r})(vy)),vy}var yy={},AS;function NQ(){return AS||(AS=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return Array.isArray(t)?t:Array.from(t)}e.toArray=r})(yy)),yy}var MS;function CQ(){return MS||(MS=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=kQ(),t=NQ(),n=g1();function l(i){if(n.isArrayLike(i))return r.last(t.toArray(i))}e.last=l})(gy)),gy}var by,OS;function EQ(){return OS||(OS=1,by=CQ().last),by}var AQ=EQ();const MQ=ds(AQ);var OQ=[&quot;valueAccessor&quot;],PQ=[&quot;dataKey&quot;,&quot;clockWise&quot;,&quot;id&quot;,&quot;textBreakAll&quot;,&quot;zIndex&quot;];function km(){return km=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},km.apply(null,arguments)}function PS(e,r){if(e==null)return{};var t,n,l=TQ(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(l[t]=e[t])}return l}function TQ(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var IQ=e=&gt;Array.isArray(e.value)?MQ(e.value):e.value,lA=F.createContext(void 0),cA=lA.Provider,uA=F.createContext(void 0);uA.Provider;function RQ(){return F.useContext(lA)}function DQ(){return F.useContext(uA)}function Sh(e){var{valueAccessor:r=IQ}=e,t=PS(e,OQ),{dataKey:n,clockWise:l,id:i,textBreakAll:a,zIndex:u}=t,o=PS(t,PQ),s=RQ(),c=DQ(),f=s||c;return!f||!f.length?null:F.createElement(Ui,{zIndex:u??fn.label},F.createElement(Fi,{className:&quot;recharts-label-list&quot;},f.map((h,m)=&gt;{var p,v=Nr(n)?r(h,m):Kr(h&amp;&amp;h.payload,n),g=Nr(i)?{}:{id:&quot;&quot;.concat(i,&quot;-&quot;).concat(m)};return F.createElement($a,km({key:&quot;label-&quot;.concat(m)},Xn(h),o,g,{fill:(p=t.fill)!==null&amp;&amp;p!==void 0?p:h.fill,parentViewBox:h.parentViewBox,value:v,textBreakAll:a,viewBox:h.viewBox,index:m,zIndex:0}))})))}Sh.displayName=&quot;LabelList&quot;;function dA(e){var{label:r}=e;return r?r===!0?F.createElement(Sh,{key:&quot;labelList-implicit&quot;}):F.isValidElement(r)||M2(r)?F.createElement(Sh,{key:&quot;labelList-implicit&quot;,content:r}):typeof r==&quot;object&quot;?F.createElement(Sh,km({key:&quot;labelList-implicit&quot;},r,{type:String(r.type)})):null:null}function cx(){return cx=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},cx.apply(null,arguments)}var fA=e=&gt;{var{cx:r,cy:t,r:n,className:l}=e,i=ar(&quot;recharts-dot&quot;,l);return ht(r)&amp;&amp;ht(t)&amp;&amp;ht(n)?F.createElement(&quot;circle&quot;,cx({},os(e),p1(e),{className:i,cx:r,cy:t,r:n})):null},LQ={radiusAxis:{},angleAxis:{}},hA=oi({name:&quot;polarAxis&quot;,initialState:LQ,reducers:{addRadiusAxis(e,r){e.radiusAxis[r.payload.id]=r.payload},removeRadiusAxis(e,r){delete e.radiusAxis[r.payload.id]},addAngleAxis(e,r){e.angleAxis[r.payload.id]=r.payload},removeAngleAxis(e,r){delete e.angleAxis[r.payload.id]}}}),{addRadiusAxis:Xie,removeRadiusAxis:Gie,addAngleAxis:Yie,removeAngleAxis:Zie}=hA.actions,FQ=hA.reducer,xy={exports:{}},lr={};var TS;function BQ(){if(TS)return lr;TS=1;var e=Symbol.for(&quot;react.transitional.element&quot;),r=Symbol.for(&quot;react.portal&quot;),t=Symbol.for(&quot;react.fragment&quot;),n=Symbol.for(&quot;react.strict_mode&quot;),l=Symbol.for(&quot;react.profiler&quot;),i=Symbol.for(&quot;react.consumer&quot;),a=Symbol.for(&quot;react.context&quot;),u=Symbol.for(&quot;react.forward_ref&quot;),o=Symbol.for(&quot;react.suspense&quot;),s=Symbol.for(&quot;react.suspense_list&quot;),c=Symbol.for(&quot;react.memo&quot;),f=Symbol.for(&quot;react.lazy&quot;),h=Symbol.for(&quot;react.view_transition&quot;),m=Symbol.for(&quot;react.client.reference&quot;);function p(v){if(typeof v==&quot;object&quot;&amp;&amp;v!==null){var g=v.$$typeof;switch(g){case e:switch(v=v.type,v){case t:case l:case n:case o:case s:case h:return v;default:switch(v=v&amp;&amp;v.$$typeof,v){case a:case u:case f:case c:return v;case i:return v;default:return g}}case r:return g}}}return lr.ContextConsumer=i,lr.ContextProvider=a,lr.Element=e,lr.ForwardRef=u,lr.Fragment=t,lr.Lazy=f,lr.Memo=c,lr.Portal=r,lr.Profiler=l,lr.StrictMode=n,lr.Suspense=o,lr.SuspenseList=s,lr.isContextConsumer=function(v){return p(v)===i},lr.isContextProvider=function(v){return p(v)===a},lr.isElement=function(v){return typeof v==&quot;object&quot;&amp;&amp;v!==null&amp;&amp;v.$$typeof===e},lr.isForwardRef=function(v){return p(v)===u},lr.isFragment=function(v){return p(v)===t},lr.isLazy=function(v){return p(v)===f},lr.isMemo=function(v){return p(v)===c},lr.isPortal=function(v){return p(v)===r},lr.isProfiler=function(v){return p(v)===l},lr.isStrictMode=function(v){return p(v)===n},lr.isSuspense=function(v){return p(v)===o},lr.isSuspenseList=function(v){return p(v)===s},lr.isValidElementType=function(v){return typeof v==&quot;string&quot;||typeof v==&quot;function&quot;||v===t||v===l||v===n||v===o||v===s||typeof v==&quot;object&quot;&amp;&amp;v!==null&amp;&amp;(v.$$typeof===f||v.$$typeof===c||v.$$typeof===a||v.$$typeof===i||v.$$typeof===u||v.$$typeof===m||v.getModuleId!==void 0)},lr.typeOf=p,lr}var IS;function zQ(){return IS||(IS=1,xy.exports=BQ()),xy.exports}var $Q=zQ(),RS=e=&gt;typeof e==&quot;string&quot;?e:e?e.displayName||e.name||&quot;Component&quot;:&quot;&quot;,DS=null,wy=null,mA=e=&gt;{if(e===DS&amp;&amp;Array.isArray(wy))return wy;var r=[];return F.Children.forEach(e,t=&gt;{Nr(t)||($Q.isFragment(t)?r=r.concat(mA(t.props.children)):r.push(t))}),wy=r,DS=e,r};function UQ(e,r){var t=[],n=[];return Array.isArray(r)?n=r.map(l=&gt;RS(l)):n=[RS(r)],mA(e).forEach(l=&gt;{var i=nc(l,&quot;type.displayName&quot;)||nc(l,&quot;type.name&quot;);i&amp;&amp;n.indexOf(i)!==-1&amp;&amp;t.push(l)}),t}var pA=e=&gt;e&amp;&amp;typeof e==&quot;object&quot;&amp;&amp;&quot;clipDot&quot;in e?!!e.clipDot:!0,_y={},LS;function VQ(){return LS||(LS=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){if(typeof t!=&quot;object&quot;||t==null)return!1;if(Object.getPrototypeOf(t)===null)return!0;if(Object.prototype.toString.call(t)!==&quot;[object Object]&quot;){const l=t[Symbol.toStringTag];return l==null||!Object.getOwnPropertyDescriptor(t,Symbol.toStringTag)?.writable?!1:t.toString()===`[object ${l}]`}let n=t;for(;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(t)===n}e.isPlainObject=r})(_y)),_y}var jy,FS;function qQ(){return FS||(FS=1,jy=VQ().isPlainObject),jy}var HQ=qQ();const WQ=ds(HQ);var BS,zS,$S,US,VS;function qS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function HS(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?qS(Object(t),!0).forEach(function(n){KQ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):qS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function KQ(e,r,t){return(r=XQ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function XQ(e){var r=GQ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function GQ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function Nm(){return Nm=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Nm.apply(null,arguments)}function mu(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var WS=(e,r,t,n,l)=&gt;{var i=t-n,a;return a=Dr(BS||(BS=mu([&quot;M &quot;,&quot;,&quot;,&quot;&quot;])),e,r),a+=Dr(zS||(zS=mu([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t,r),a+=Dr($S||($S=mu([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t-i/2,r+l),a+=Dr(US||(US=mu([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t-i/2-n,r+l),a+=Dr(VS||(VS=mu([&quot;L &quot;,&quot;,&quot;,&quot; Z&quot;])),e,r),a},YQ={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:&quot;ease&quot;},ZQ=e=&gt;{var r=Nn(e,YQ),{x:t,y:n,upperWidth:l,lowerWidth:i,height:a,className:u}=r,{animationEasing:o,animationDuration:s,animationBegin:c,isUpdateAnimationActive:f}=r,h=F.useRef(null),[m,p]=F.useState(-1),v=F.useRef(l),g=F.useRef(i),b=F.useRef(a),x=F.useRef(t),_=F.useRef(n),C=yp(e,&quot;trapezoid-&quot;);if(F.useEffect(()=&gt;{if(h.current&amp;&amp;h.current.getTotalLength)try{var D=h.current.getTotalLength();D&amp;&amp;p(D)}catch{}},[]),t!==+t||n!==+n||l!==+l||i!==+i||a!==+a||l===0&amp;&amp;i===0||a===0)return null;var O=ar(&quot;recharts-trapezoid&quot;,u);if(!f)return F.createElement(&quot;g&quot;,null,F.createElement(&quot;path&quot;,Nm({},Xn(r),{className:O,d:WS(t,n,l,i,a)})));var R=v.current,H=g.current,L=b.current,q=x.current,W=_.current,K=&quot;0px &quot;.concat(m===-1?1:m,&quot;px&quot;),U=&quot;&quot;.concat(m,&quot;px 0px&quot;),P=N7([&quot;strokeDasharray&quot;],s,o);return F.createElement(vp,{animationId:C,key:C,canBegin:m&gt;0,duration:s,easing:o,isActive:f,begin:c},D=&gt;{var E=Lr(R,l,D),j=Lr(H,i,D),k=Lr(L,a,D),S=Lr(q,t,D),N=Lr(W,n,D);h.current&amp;&amp;(v.current=E,g.current=j,b.current=k,x.current=S,_.current=N);var M=D&gt;0?{transition:P,strokeDasharray:U}:{strokeDasharray:K};return F.createElement(&quot;path&quot;,Nm({},Xn(r),{className:O,d:WS(S,N,E,j,k),ref:h,style:HS(HS({},M),r.style)}))})},QQ=[&quot;option&quot;,&quot;shapeType&quot;,&quot;activeClassName&quot;];function JQ(e,r){if(e==null)return{};var t,n,l=eJ(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(l[t]=e[t])}return l}function eJ(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function KS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Cm(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?KS(Object(t),!0).forEach(function(n){tJ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):KS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function tJ(e,r,t){return(r=rJ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function rJ(e){var r=nJ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function nJ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function iJ(e,r){return Cm(Cm({},r),e)}function sJ(e,r){return e===&quot;symbols&quot;}function XS(e){var{shapeType:r,elementProps:t}=e;switch(r){case&quot;rectangle&quot;:return F.createElement(M7,t);case&quot;trapezoid&quot;:return F.createElement(ZQ,t);case&quot;sector&quot;:return F.createElement(T7,t);case&quot;symbols&quot;:if(sJ(r))return F.createElement(m1,t);break;case&quot;curve&quot;:return F.createElement(k7,t);default:return null}}function aJ(e){return F.isValidElement(e)?e.props:e}function gA(e){var{option:r,shapeType:t,activeClassName:n=&quot;recharts-active-shape&quot;}=e,l=JQ(e,QQ),i;if(F.isValidElement(r))i=F.cloneElement(r,Cm(Cm({},l),aJ(r)));else if(typeof r==&quot;function&quot;)i=r(l,l.index);else if(WQ(r)&amp;&amp;typeof r!=&quot;boolean&quot;){var a=iJ(r,l);i=F.createElement(XS,{shapeType:t,elementProps:a})}else{var u=l;i=F.createElement(XS,{shapeType:t,elementProps:u})}return l.isActive?F.createElement(Fi,{className:n},i):i}var vA=(e,r,t)=&gt;{var n=Pr();return(l,i)=&gt;a=&gt;{e?.(l,i,a),n(N9({activeIndex:String(i),activeDataKey:r,activeCoordinate:l.tooltipPosition,activeGraphicalItemId:t}))}},yA=e=&gt;{var r=Pr();return(t,n)=&gt;l=&gt;{e?.(t,n,l),r(CG())}},bA=(e,r,t)=&gt;{var n=Pr();return(l,i)=&gt;a=&gt;{e?.(l,i,a),n(EG({activeIndex:String(i),activeDataKey:r,activeCoordinate:l.tooltipPosition,activeGraphicalItemId:t}))}};function xA(e){var{tooltipEntrySettings:r}=e,t=Pr(),n=Ln(),l=F.useRef(null);return F.useLayoutEffect(()=&gt;{n||(l.current===null?t(jG(r)):l.current!==r&amp;&amp;t(SG({prev:l.current,next:r})),l.current=r)},[r,t,n]),F.useLayoutEffect(()=&gt;()=&gt;{l.current&amp;&amp;(t(kG(l.current)),l.current=null)},[t]),null}function wA(e){var{legendPayload:r}=e,t=Pr(),n=Ln(),l=F.useRef(null);return F.useLayoutEffect(()=&gt;{n||(l.current===null?t(qV(r)):l.current!==r&amp;&amp;t(HV({prev:l.current,next:r})),l.current=r)},[t,n,r]),F.useLayoutEffect(()=&gt;()=&gt;{l.current&amp;&amp;(t(WV(l.current)),l.current=null)},[t]),null}var Sy,oJ=()=&gt;{var[e]=F.useState(()=&gt;Du(&quot;uid-&quot;));return e},lJ=(Sy=Fk.useId)!==null&amp;&amp;Sy!==void 0?Sy:oJ;function cJ(e,r){var t=lJ();return r||(e?&quot;&quot;.concat(e,&quot;-&quot;).concat(t):t)}var uJ=F.createContext(void 0),_A=e=&gt;{var{id:r,type:t,children:n}=e,l=cJ(&quot;recharts-&quot;.concat(t),r);return F.createElement(uJ.Provider,{value:l},n(l))},dJ={cartesianItems:[],polarItems:[]},jA=oi({name:&quot;graphicalItems&quot;,initialState:dJ,reducers:{addCartesianGraphicalItem:{reducer(e,r){e.cartesianItems.push(r.payload)},prepare:Sr()},replaceCartesianGraphicalItem:{reducer(e,r){var{prev:t,next:n}=r.payload,l=as(e).cartesianItems.indexOf(t);l&gt;-1&amp;&amp;(e.cartesianItems[l]=n)},prepare:Sr()},removeCartesianGraphicalItem:{reducer(e,r){var t=as(e).cartesianItems.indexOf(r.payload);t&gt;-1&amp;&amp;e.cartesianItems.splice(t,1)},prepare:Sr()},addPolarGraphicalItem:{reducer(e,r){e.polarItems.push(r.payload)},prepare:Sr()},removePolarGraphicalItem:{reducer(e,r){var t=as(e).polarItems.indexOf(r.payload);t&gt;-1&amp;&amp;e.polarItems.splice(t,1)},prepare:Sr()}}}),{addCartesianGraphicalItem:fJ,replaceCartesianGraphicalItem:hJ,removeCartesianGraphicalItem:mJ,addPolarGraphicalItem:Qie,removePolarGraphicalItem:Jie}=jA.actions,pJ=jA.reducer,gJ=e=&gt;{var r=Pr(),t=F.useRef(null);return F.useLayoutEffect(()=&gt;{t.current===null?r(fJ(e)):t.current!==e&amp;&amp;r(hJ({prev:t.current,next:e})),t.current=e},[r,e]),F.useLayoutEffect(()=&gt;()=&gt;{t.current&amp;&amp;(r(mJ(t.current)),t.current=null)},[r]),null},SA=F.memo(gJ),vJ=[&quot;points&quot;];function GS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function ky(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?GS(Object(t),!0).forEach(function(n){yJ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):GS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function yJ(e,r,t){return(r=bJ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function bJ(e){var r=xJ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function xJ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function Em(){return Em=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Em.apply(null,arguments)}function wJ(e,r){if(e==null)return{};var t,n,l=_J(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(l[t]=e[t])}return l}function _J(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function jJ(e){var{option:r,dotProps:t,className:n}=e;if(F.isValidElement(r))return F.cloneElement(r,t);if(typeof r==&quot;function&quot;)return r(t);var l=ar(n,typeof r!=&quot;boolean&quot;?r.className:&quot;&quot;),i=t??{},{points:a}=i,u=wJ(i,vJ);return F.createElement(fA,Em({},u,{className:l}))}function SJ(e,r){return e==null?!1:r?!0:e.length===1}function kJ(e){var{points:r,dot:t,className:n,dotClassName:l,dataKey:i,baseProps:a,needClip:u,clipPathId:o,zIndex:s=fn.scatter}=e;if(!SJ(r,t))return null;var c=pA(t),f=jB(t),h=r.map((p,v)=&gt;{var g,b,x=ky(ky(ky({r:3},a),f),{},{index:v,cx:(g=p.x)!==null&amp;&amp;g!==void 0?g:void 0,cy:(b=p.y)!==null&amp;&amp;b!==void 0?b:void 0,dataKey:i,value:p.value,payload:p.payload,points:r});return F.createElement(jJ,{key:&quot;dot-&quot;.concat(v),option:t,dotProps:x,className:l})}),m={};return u&amp;&amp;o!=null&amp;&amp;(m.clipPath=&quot;url(#clipPath-&quot;.concat(c?&quot;&quot;:&quot;dots-&quot;).concat(o,&quot;)&quot;)),F.createElement(Ui,{zIndex:s},F.createElement(Fi,Em({className:n},m),h))}function YS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function ZS(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?YS(Object(t),!0).forEach(function(n){NJ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):YS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function NJ(e,r,t){return(r=CJ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function CJ(e){var r=EJ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function EJ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var kA=0,AJ={xAxis:{},yAxis:{},zAxis:{}},NA=oi({name:&quot;cartesianAxis&quot;,initialState:AJ,reducers:{addXAxis:{reducer(e,r){e.xAxis[r.payload.id]=r.payload},prepare:Sr()},replaceXAxis:{reducer(e,r){var{prev:t,next:n}=r.payload;e.xAxis[t.id]!==void 0&amp;&amp;(t.id!==n.id&amp;&amp;delete e.xAxis[t.id],e.xAxis[n.id]=n)},prepare:Sr()},removeXAxis:{reducer(e,r){delete e.xAxis[r.payload.id]},prepare:Sr()},addYAxis:{reducer(e,r){e.yAxis[r.payload.id]=r.payload},prepare:Sr()},replaceYAxis:{reducer(e,r){var{prev:t,next:n}=r.payload;e.yAxis[t.id]!==void 0&amp;&amp;(t.id!==n.id&amp;&amp;delete e.yAxis[t.id],e.yAxis[n.id]=n)},prepare:Sr()},removeYAxis:{reducer(e,r){delete e.yAxis[r.payload.id]},prepare:Sr()},addZAxis:{reducer(e,r){e.zAxis[r.payload.id]=r.payload},prepare:Sr()},replaceZAxis:{reducer(e,r){var{prev:t,next:n}=r.payload;e.zAxis[t.id]!==void 0&amp;&amp;(t.id!==n.id&amp;&amp;delete e.zAxis[t.id],e.zAxis[n.id]=n)},prepare:Sr()},removeZAxis:{reducer(e,r){delete e.zAxis[r.payload.id]},prepare:Sr()},updateYAxisWidth(e,r){var{id:t,width:n}=r.payload,l=e.yAxis[t];if(l){var i=l.widthHistory||[];if(i.length===3&amp;&amp;i[0]===i[2]&amp;&amp;n===i[1]&amp;&amp;n!==l.width&amp;&amp;Math.abs(n-i[0])&lt;=1)return;var a=[...i,n].slice(-3);e.yAxis[t]=ZS(ZS({},e.yAxis[t]),{},{width:n,widthHistory:a})}}}}),{addXAxis:MJ,replaceXAxis:OJ,removeXAxis:PJ,addYAxis:TJ,replaceYAxis:IJ,removeYAxis:RJ,addZAxis:ese,replaceZAxis:tse,removeZAxis:rse,updateYAxisWidth:DJ}=NA.actions,LJ=NA.reducer,FJ=Oe([hn],e=&gt;({top:e.top,bottom:e.bottom,left:e.left,right:e.right})),BJ=Oe([FJ,la,ca],(e,r,t)=&gt;{if(!(!e||r==null||t==null))return{x:e.left,y:e.top,width:Math.max(0,r-e.left-e.right),height:Math.max(0,t-e.top-e.bottom)}}),O2=()=&gt;wt(BJ),zJ=()=&gt;wt(vY);function QS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Ny(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?QS(Object(t),!0).forEach(function(n){$J(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):QS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function $J(e,r,t){return(r=UJ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function UJ(e){var r=VJ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function VJ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var qJ=e=&gt;{var{point:r,childIndex:t,mainColor:n,activeDot:l,dataKey:i,clipPath:a}=e;if(l===!1||r.x==null||r.y==null)return null;var u={index:t,dataKey:i,cx:r.x,cy:r.y,r:4,fill:n??&quot;none&quot;,strokeWidth:2,stroke:&quot;#fff&quot;,payload:r.payload,value:r.value},o=Ny(Ny(Ny({},u),rd(l)),p1(l)),s;return F.isValidElement(l)?s=F.cloneElement(l,o):typeof l==&quot;function&quot;?s=l(o):s=F.createElement(fA,o),F.createElement(Fi,{className:&quot;recharts-active-dot&quot;,clipPath:a},s)};function HJ(e){var{points:r,mainColor:t,activeDot:n,itemDataKey:l,clipPath:i,zIndex:a=fn.activeDot}=e,u=wt(ol),o=zJ();if(r==null||o==null)return null;var s=r.find(c=&gt;o.includes(c.payload));return Nr(s)?null:F.createElement(Ui,{zIndex:a},F.createElement(qJ,{point:s,childIndex:Number(u),mainColor:t,dataKey:l,activeDot:n,clipPath:i}))}var JS=(e,r,t)=&gt;{var n=t??e;if(!Nr(n))return cs(n,r,0)},WJ=(e,r,t)=&gt;{var n={},l=e.filter(Ap),i=e.filter(s=&gt;s.stackId==null),a=l.reduce((s,c)=&gt;(s[c.stackId]||(s[c.stackId]=[]),s[c.stackId].push(c),s),n),u=Object.entries(a).map(s=&gt;{var[c,f]=s,h=f.map(p=&gt;p.dataKey),m=JS(r,t,f[0].barSize);return{stackId:c,dataKeys:h,barSize:m}}),o=i.map(s=&gt;{var c=[s.dataKey].filter(h=&gt;h!=null),f=JS(r,t,s.barSize);return{stackId:void 0,dataKeys:c,barSize:f}});return[...u,...o]};function ek(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function ch(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ek(Object(t),!0).forEach(function(n){KJ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ek(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function KJ(e,r,t){return(r=XJ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function XJ(e){var r=GJ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function GJ(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function YJ(e,r,t,n,l){var i=n.length;if(!(i&lt;1)){var a=cs(e,t,0,!0),u,o=[];if(Or(n[0].barSize)){var s=!1,c=t/i,f=n.reduce((b,x)=&gt;b+(x.barSize||0),0);f+=(i-1)*a,f&gt;=t&amp;&amp;(f-=(i-1)*a,a=0),f&gt;=t&amp;&amp;c&gt;0&amp;&amp;(s=!0,c*=.9,f=i*c);var h=(t-f)/2&gt;&gt;0,m={offset:h-a,size:0};u=n.reduce((b,x)=&gt;{var _,C={stackId:x.stackId,dataKeys:x.dataKeys,position:{offset:m.offset+m.size+a,size:s?c:(_=x.barSize)!==null&amp;&amp;_!==void 0?_:0}},O=[...b,C];return m=O[O.length-1].position,O},o)}else{var p=cs(r,t,0,!0);t-2*p-(i-1)*a&lt;=0&amp;&amp;(a=0);var v=(t-2*p-(i-1)*a)/i;v&gt;1&amp;&amp;(v&gt;&gt;=0);var g=Or(l)?Math.min(v,l):v;u=n.reduce((b,x,_)=&gt;[...b,{stackId:x.stackId,dataKeys:x.dataKeys,position:{offset:p+(v+a)*_+(v-g)/2,size:g}}],o)}return u}}var ZJ=(e,r,t,n,l,i,a)=&gt;{var u=Nr(a)?r:a,o=YJ(t,n,l!==i?l:i,e,u);return l!==i&amp;&amp;o!=null&amp;&amp;(o=o.map(s=&gt;ch(ch({},s),{},{position:ch(ch({},s.position),{},{offset:s.position.offset-l/2})}))),o},QJ=(e,r)=&gt;{var t=c2(r);if(!(!e||t==null||r==null)){var{stackId:n}=r;if(n!=null){var l=e[n];if(l){var{stackedData:i}=l;if(i)return i.find(a=&gt;a.key===t)}}}};function JJ(e,r){return e&amp;&amp;typeof e==&quot;object&quot;&amp;&amp;&quot;zIndex&quot;in e&amp;&amp;typeof e.zIndex==&quot;number&quot;&amp;&amp;Or(e.zIndex)?e.zIndex:r}var eee=e=&gt;{var{chartData:r}=e,t=Pr(),n=Ln();return F.useEffect(()=&gt;n?()=&gt;{}:(t(dS(r)),()=&gt;{t(dS(void 0))}),[r,t,n]),null},tk={x:0,y:0,width:0,height:0,padding:{top:0,right:0,bottom:0,left:0}},CA=oi({name:&quot;brush&quot;,initialState:tk,reducers:{setBrushSettings(e,r){return r.payload==null?tk:r.payload}}}),{setBrushSettings:nse}=CA.actions,tee=CA.reducer;function ree(e,r,t){return(r=nee(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function nee(e){var r=iee(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function iee(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}class P2{static create(r){return new P2(r)}constructor(r){this.scale=r}get domain(){return this.scale.domain}get range(){return this.scale.range}get rangeMin(){return this.range()[0]}get rangeMax(){return this.range()[1]}get bandwidth(){return this.scale.bandwidth}apply(r){var{bandAware:t,position:n}=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{};if(r!==void 0){if(n)switch(n){case&quot;start&quot;:return this.scale(r);case&quot;middle&quot;:{var l=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+l}case&quot;end&quot;:{var i=this.bandwidth?this.bandwidth():0;return this.scale(r)+i}default:return this.scale(r)}if(t){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+a}return this.scale(r)}}isInRange(r){var t=this.range(),n=t[0],l=t[t.length-1];return n&lt;=l?r&gt;=n&amp;&amp;r&lt;=l:r&gt;=l&amp;&amp;r&lt;=n}}ree(P2,&quot;EPS&quot;,1e-4);function see(e){return(e%180+180)%180}var aee=function(r){var{width:t,height:n}=r,l=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:0,i=see(l),a=i*Math.PI/180,u=Math.atan(n/t),o=a&gt;u&amp;&amp;a&lt;Math.PI-u?n/Math.sin(a):t/Math.cos(a);return Math.abs(o)},oee={dots:[],areas:[],lines:[]},EA=oi({name:&quot;referenceElements&quot;,initialState:oee,reducers:{addDot:(e,r)=&gt;{e.dots.push(r.payload)},removeDot:(e,r)=&gt;{var t=as(e).dots.findIndex(n=&gt;n===r.payload);t!==-1&amp;&amp;e.dots.splice(t,1)},addArea:(e,r)=&gt;{e.areas.push(r.payload)},removeArea:(e,r)=&gt;{var t=as(e).areas.findIndex(n=&gt;n===r.payload);t!==-1&amp;&amp;e.areas.splice(t,1)},addLine:(e,r)=&gt;{e.lines.push(r.payload)},removeLine:(e,r)=&gt;{var t=as(e).lines.findIndex(n=&gt;n===r.payload);t!==-1&amp;&amp;e.lines.splice(t,1)}}}),{addDot:ise,removeDot:sse,addArea:ase,removeArea:ose,addLine:lse,removeLine:cse}=EA.actions,lee=EA.reducer,cee=F.createContext(void 0),uee=e=&gt;{var{children:r}=e,[t]=F.useState(&quot;&quot;.concat(Du(&quot;recharts&quot;),&quot;-clip&quot;)),n=O2();if(n==null)return null;var{x:l,y:i,width:a,height:u}=n;return F.createElement(cee.Provider,{value:t},F.createElement(&quot;defs&quot;,null,F.createElement(&quot;clipPath&quot;,{id:t},F.createElement(&quot;rect&quot;,{x:l,y:i,height:u,width:a}))),r)};function AA(e,r){if(r&lt;1)return[];if(r===1)return e;for(var t=[],n=0;n&lt;e.length;n+=r){var l=e[n];l!==void 0&amp;&amp;t.push(l)}return t}function dee(e,r,t){var n={width:e.width+r.width,height:e.height+r.height};return aee(n,t)}function fee(e,r,t){var n=t===&quot;width&quot;,{x:l,y:i,width:a,height:u}=e;return r===1?{start:n?l:i,end:n?l+a:i+u}:{start:n?l+a:i+u,end:n?l:i}}function Yu(e,r,t,n,l){if(e*r&lt;e*n||e*r&gt;e*l)return!1;var i=t();return e*(r-e*i/2-n)&gt;=0&amp;&amp;e*(r+e*i/2-l)&lt;=0}function hee(e,r){return AA(e,r+1)}function mee(e,r,t,n,l){for(var i=(n||[]).slice(),{start:a,end:u}=r,o=0,s=1,c=a,f=function(){var p=n?.[o];if(p===void 0)return{v:AA(n,s)};var v=o,g,b=()=&gt;(g===void 0&amp;&amp;(g=t(p,v)),g),x=p.coordinate,_=o===0||Yu(e,x,b,c,u);_||(o=0,c=a,s+=1),_&amp;&amp;(c=x+e*(b()/2+l),o+=s)},h;s&lt;=i.length;)if(h=f(),h)return h.v;return[]}function pee(e,r,t,n,l){var i=(n||[]).slice(),a=i.length;if(a===0)return[];for(var{start:u,end:o}=r,s=1;s&lt;=a;s++){for(var c=(a-1)%s,f=u,h=!0,m=function(){var x=n[p],_=p,C,O=()=&gt;(C===void 0&amp;&amp;(C=t(x,_)),C),R=x.coordinate,H=p===c||Yu(e,R,O,f,o);if(!H)return h=!1,1;H&amp;&amp;(f=R+e*(O()/2+l))},p=c;p&lt;a&amp;&amp;!m();p+=s);if(h){for(var v=[],g=c;g&lt;a;g+=s)v.push(n[g]);return v}}return[]}function rk(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function In(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?rk(Object(t),!0).forEach(function(n){gee(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):rk(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function gee(e,r,t){return(r=vee(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function vee(e){var r=yee(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function yee(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function bee(e,r,t,n,l){for(var i=(n||[]).slice(),a=i.length,{start:u}=r,{end:o}=r,s=function(h){var m=i[h],p,v=()=&gt;(p===void 0&amp;&amp;(p=t(m,h)),p);if(h===a-1){var g=e*(m.coordinate+e*v()/2-o);i[h]=m=In(In({},m),{},{tickCoord:g&gt;0?m.coordinate-g*e:m.coordinate})}else i[h]=m=In(In({},m),{},{tickCoord:m.coordinate});if(m.tickCoord!=null){var b=Yu(e,m.tickCoord,v,u,o);b&amp;&amp;(o=m.tickCoord-e*(v()/2+l),i[h]=In(In({},m),{},{isShow:!0}))}},c=a-1;c&gt;=0;c--)s(c);return i}function xee(e,r,t,n,l,i){var a=(n||[]).slice(),u=a.length,{start:o,end:s}=r;if(i){var c=n[u-1],f=t(c,u-1),h=e*(c.coordinate+e*f/2-s);if(a[u-1]=c=In(In({},c),{},{tickCoord:h&gt;0?c.coordinate-h*e:c.coordinate}),c.tickCoord!=null){var m=Yu(e,c.tickCoord,()=&gt;f,o,s);m&amp;&amp;(s=c.tickCoord-e*(f/2+l),a[u-1]=In(In({},c),{},{isShow:!0}))}}for(var p=i?u-1:u,v=function(x){var _=a[x],C,O=()=&gt;(C===void 0&amp;&amp;(C=t(_,x)),C);if(x===0){var R=e*(_.coordinate-e*O()/2-o);a[x]=_=In(In({},_),{},{tickCoord:R&lt;0?_.coordinate-R*e:_.coordinate})}else a[x]=_=In(In({},_),{},{tickCoord:_.coordinate});if(_.tickCoord!=null){var H=Yu(e,_.tickCoord,O,o,s);H&amp;&amp;(o=_.tickCoord+e*(O()/2+l),a[x]=In(In({},_),{},{isShow:!0}))}},g=0;g&lt;p;g++)v(g);return a}function T2(e,r,t){var{tick:n,ticks:l,viewBox:i,minTickGap:a,orientation:u,interval:o,tickFormatter:s,unit:c,angle:f}=e;if(!l||!l.length||!n)return[];if(ht(o)||gp.isSsr){var h;return(h=hee(l,ht(o)?o:0))!==null&amp;&amp;h!==void 0?h:[]}var m=[],p=u===&quot;top&quot;||u===&quot;bottom&quot;?&quot;width&quot;:&quot;height&quot;,v=c&amp;&amp;p===&quot;width&quot;?ku(c,{fontSize:r,letterSpacing:t}):{width:0,height:0},g=(_,C)=&gt;{var O=typeof s==&quot;function&quot;?s(_.value,C):_.value;return p===&quot;width&quot;?dee(ku(O,{fontSize:r,letterSpacing:t}),v,f):ku(O,{fontSize:r,letterSpacing:t})[p]},b=l.length&gt;=2?ii(l[1].coordinate-l[0].coordinate):1,x=fee(i,b,p);return o===&quot;equidistantPreserveStart&quot;?mee(b,x,g,l,a):o===&quot;equidistantPreserveEnd&quot;?pee(b,x,g,l,a):(o===&quot;preserveStart&quot;||o===&quot;preserveStartEnd&quot;?m=xee(b,x,g,l,a,o===&quot;preserveStartEnd&quot;):m=bee(b,x,g,l,a),m.filter(_=&gt;_.isShow))}var wee=e=&gt;{var{ticks:r,label:t,labelGapWithTick:n=5,tickSize:l=0,tickMargin:i=0}=e,a=0;if(r){Array.from(r).forEach(c=&gt;{if(c){var f=c.getBoundingClientRect();f.width&gt;a&amp;&amp;(a=f.width)}});var u=t?t.getBoundingClientRect().width:0,o=l+i,s=a+o+u+(t?n:0);return Math.round(s)}return 0},_ee=[&quot;axisLine&quot;,&quot;width&quot;,&quot;height&quot;,&quot;className&quot;,&quot;hide&quot;,&quot;ticks&quot;,&quot;axisType&quot;];function jee(e,r){if(e==null)return{};var t,n,l=See(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(l[t]=e[t])}return l}function See(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function ll(){return ll=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},ll.apply(null,arguments)}function nk(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Wr(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?nk(Object(t),!0).forEach(function(n){kee(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):nk(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function kee(e,r,t){return(r=Nee(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Nee(e){var r=Cee(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Cee(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}var Zs={x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:&quot;bottom&quot;,ticks:[],stroke:&quot;#666&quot;,tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:&quot;preserveEnd&quot;,zIndex:fn.axis};function Eee(e){var{x:r,y:t,width:n,height:l,orientation:i,mirror:a,axisLine:u,otherSvgProps:o}=e;if(!u)return null;var s=Wr(Wr(Wr({},o),os(u)),{},{fill:&quot;none&quot;});if(i===&quot;top&quot;||i===&quot;bottom&quot;){var c=+(i===&quot;top&quot;&amp;&amp;!a||i===&quot;bottom&quot;&amp;&amp;a);s=Wr(Wr({},s),{},{x1:r,y1:t+c*l,x2:r+n,y2:t+c*l})}else{var f=+(i===&quot;left&quot;&amp;&amp;!a||i===&quot;right&quot;&amp;&amp;a);s=Wr(Wr({},s),{},{x1:r+f*n,y1:t,x2:r+f*n,y2:t+l})}return F.createElement(&quot;line&quot;,ll({},s,{className:ar(&quot;recharts-cartesian-axis-line&quot;,nc(u,&quot;className&quot;))}))}function Aee(e,r,t,n,l,i,a,u,o){var s,c,f,h,m,p,v=u?-1:1,g=e.tickSize||a,b=ht(e.tickCoord)?e.tickCoord:e.coordinate;switch(i){case&quot;top&quot;:s=c=e.coordinate,h=t+ +!u*l,f=h-v*g,p=f-v*o,m=b;break;case&quot;left&quot;:f=h=e.coordinate,c=r+ +!u*n,s=c-v*g,m=s-v*o,p=b;break;case&quot;right&quot;:f=h=e.coordinate,c=r+ +u*n,s=c+v*g,m=s+v*o,p=b;break;default:s=c=e.coordinate,h=t+ +u*l,f=h+v*g,p=f+v*o,m=b;break}return{line:{x1:s,y1:f,x2:c,y2:h},tick:{x:m,y:p}}}function Mee(e,r){switch(e){case&quot;left&quot;:return r?&quot;start&quot;:&quot;end&quot;;case&quot;right&quot;:return r?&quot;end&quot;:&quot;start&quot;;default:return&quot;middle&quot;}}function Oee(e,r){switch(e){case&quot;left&quot;:case&quot;right&quot;:return&quot;middle&quot;;case&quot;top&quot;:return r?&quot;start&quot;:&quot;end&quot;;default:return r?&quot;end&quot;:&quot;start&quot;}}function Pee(e){var{option:r,tickProps:t,value:n}=e,l,i=ar(t.className,&quot;recharts-cartesian-axis-tick-value&quot;);if(F.isValidElement(r))l=F.cloneElement(r,Wr(Wr({},t),{},{className:i}));else if(typeof r==&quot;function&quot;)l=r(Wr(Wr({},t),{},{className:i}));else{var a=&quot;recharts-cartesian-axis-tick-value&quot;;typeof r!=&quot;boolean&quot;&amp;&amp;(a=ar(a,r?.className)),l=F.createElement(A2,ll({},t,{className:a}),n)}return l}var Tee=F.forwardRef((e,r)=&gt;{var{ticks:t=[],tick:n,tickLine:l,stroke:i,tickFormatter:a,unit:u,padding:o,tickTextProps:s,orientation:c,mirror:f,x:h,y:m,width:p,height:v,tickSize:g,tickMargin:b,fontSize:x,letterSpacing:_,getTicksConfig:C,events:O,axisType:R}=e,H=T2(Wr(Wr({},C),{},{ticks:t}),x,_),L=Mee(c,f),q=Oee(c,f),W=os(C),K=rd(n),U={};typeof l==&quot;object&quot;&amp;&amp;(U=l);var P=Wr(Wr({},W),{},{fill:&quot;none&quot;},U),D=H.map(k=&gt;Wr({entry:k},Aee(k,h,m,p,v,c,g,f,b))),E=D.map(k=&gt;{var{entry:S,line:N}=k;return F.createElement(Fi,{className:&quot;recharts-cartesian-axis-tick&quot;,key:&quot;tick-&quot;.concat(S.value,&quot;-&quot;).concat(S.coordinate,&quot;-&quot;).concat(S.tickCoord)},l&amp;&amp;F.createElement(&quot;line&quot;,ll({},P,N,{className:ar(&quot;recharts-cartesian-axis-tick-line&quot;,nc(l,&quot;className&quot;))})))}),j=D.map((k,S)=&gt;{var{entry:N,tick:M}=k,I=Wr(Wr(Wr(Wr({textAnchor:L,verticalAnchor:q},W),{},{stroke:&quot;none&quot;,fill:i},K),M),{},{index:S,payload:N,visibleTicksCount:H.length,tickFormatter:a,padding:o},s);return F.createElement(Fi,ll({className:&quot;recharts-cartesian-axis-tick-label&quot;,key:&quot;tick-label-&quot;.concat(N.value,&quot;-&quot;).concat(N.coordinate,&quot;-&quot;).concat(N.tickCoord)},Gm(O,N,S)),n&amp;&amp;F.createElement(Pee,{option:n,tickProps:I,value:&quot;&quot;.concat(typeof a==&quot;function&quot;?a(N.value,S):N.value).concat(u||&quot;&quot;)}))});return F.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-axis-ticks recharts-&quot;.concat(R,&quot;-ticks&quot;)},j.length&gt;0&amp;&amp;F.createElement(Ui,{zIndex:fn.label},F.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-axis-tick-labels recharts-&quot;.concat(R,&quot;-tick-labels&quot;),ref:r},j)),E.length&gt;0&amp;&amp;F.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-axis-tick-lines recharts-&quot;.concat(R,&quot;-tick-lines&quot;)},E))}),Iee=F.forwardRef((e,r)=&gt;{var{axisLine:t,width:n,height:l,className:i,hide:a,ticks:u,axisType:o}=e,s=jee(e,_ee),[c,f]=F.useState(&quot;&quot;),[h,m]=F.useState(&quot;&quot;),p=F.useRef(null);F.useImperativeHandle(r,()=&gt;({getCalculatedWidth:()=&gt;{var g;return wee({ticks:p.current,label:(g=e.labelRef)===null||g===void 0?void 0:g.current,labelGapWithTick:5,tickSize:e.tickSize,tickMargin:e.tickMargin})}}));var v=F.useCallback(g=&gt;{if(g){var b=g.getElementsByClassName(&quot;recharts-cartesian-axis-tick-value&quot;);p.current=b;var x=b[0];if(x){var _=window.getComputedStyle(x),C=_.fontSize,O=_.letterSpacing;(C!==c||O!==h)&amp;&amp;(f(C),m(O))}}},[c,h]);return a||n!=null&amp;&amp;n&lt;=0||l!=null&amp;&amp;l&lt;=0?null:F.createElement(Ui,{zIndex:e.zIndex},F.createElement(Fi,{className:ar(&quot;recharts-cartesian-axis&quot;,i)},F.createElement(Eee,{x:e.x,y:e.y,width:n,height:l,orientation:e.orientation,mirror:e.mirror,axisLine:t,otherSvgProps:os(e)}),F.createElement(Tee,{ref:v,axisType:o,events:s,fontSize:c,getTicksConfig:e,height:e.height,letterSpacing:h,mirror:e.mirror,orientation:e.orientation,padding:e.padding,stroke:e.stroke,tick:e.tick,tickFormatter:e.tickFormatter,tickLine:e.tickLine,tickMargin:e.tickMargin,tickSize:e.tickSize,tickTextProps:e.tickTextProps,ticks:u,unit:e.unit,width:e.width,x:e.x,y:e.y}),F.createElement(mQ,{x:e.x,y:e.y,width:e.width,height:e.height,lowerWidth:e.width,upperWidth:e.width},F.createElement(SQ,{label:e.label,labelRef:e.labelRef}),e.children)))}),I2=F.forwardRef((e,r)=&gt;{var t=Nn(e,Zs);return F.createElement(Iee,ll({},t,{ref:r}))});I2.displayName=&quot;CartesianAxis&quot;;var Ree=[&quot;x1&quot;,&quot;y1&quot;,&quot;x2&quot;,&quot;y2&quot;,&quot;key&quot;],Dee=[&quot;offset&quot;],Lee=[&quot;xAxisId&quot;,&quot;yAxisId&quot;],Fee=[&quot;xAxisId&quot;,&quot;yAxisId&quot;];function ik(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Rn(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ik(Object(t),!0).forEach(function(n){Bee(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ik(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Bee(e,r,t){return(r=zee(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function zee(e){var r=$ee(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function $ee(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function Yo(){return Yo=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Yo.apply(null,arguments)}function Am(e,r){if(e==null)return{};var t,n,l=Uee(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(l[t]=e[t])}return l}function Uee(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var Vee=e=&gt;{var{fill:r}=e;if(!r||r===&quot;none&quot;)return null;var{fillOpacity:t,x:n,y:l,width:i,height:a,ry:u}=e;return F.createElement(&quot;rect&quot;,{x:n,y:l,ry:u,width:i,height:a,stroke:&quot;none&quot;,fill:r,fillOpacity:t,className:&quot;recharts-cartesian-grid-bg&quot;})};function MA(e){var{option:r,lineItemProps:t}=e,n;if(F.isValidElement(r))n=F.cloneElement(r,t);else if(typeof r==&quot;function&quot;)n=r(t);else{var l,{x1:i,y1:a,x2:u,y2:o,key:s}=t,c=Am(t,Ree),f=(l=os(c))!==null&amp;&amp;l!==void 0?l:{},{offset:h}=f,m=Am(f,Dee);n=F.createElement(&quot;line&quot;,Yo({},m,{x1:i,y1:a,x2:u,y2:o,fill:&quot;none&quot;,key:s}))}return n}function qee(e){var{x:r,width:t,horizontal:n=!0,horizontalPoints:l}=e;if(!n||!l||!l.length)return null;var{xAxisId:i,yAxisId:a}=e,u=Am(e,Lee),o=l.map((s,c)=&gt;{var f=Rn(Rn({},u),{},{x1:r,y1:s,x2:r+t,y2:s,key:&quot;line-&quot;.concat(c),index:c});return F.createElement(MA,{key:&quot;line-&quot;.concat(c),option:n,lineItemProps:f})});return F.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-grid-horizontal&quot;},o)}function Hee(e){var{y:r,height:t,vertical:n=!0,verticalPoints:l}=e;if(!n||!l||!l.length)return null;var{xAxisId:i,yAxisId:a}=e,u=Am(e,Fee),o=l.map((s,c)=&gt;{var f=Rn(Rn({},u),{},{x1:s,y1:r,x2:s,y2:r+t,key:&quot;line-&quot;.concat(c),index:c});return F.createElement(MA,{option:n,lineItemProps:f,key:&quot;line-&quot;.concat(c)})});return F.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-grid-vertical&quot;},o)}function Wee(e){var{horizontalFill:r,fillOpacity:t,x:n,y:l,width:i,height:a,horizontalPoints:u,horizontal:o=!0}=e;if(!o||!r||!r.length||u==null)return null;var s=u.map(f=&gt;Math.round(f+l-l)).sort((f,h)=&gt;f-h);l!==s[0]&amp;&amp;s.unshift(0);var c=s.map((f,h)=&gt;{var m=!s[h+1],p=m?l+a-f:s[h+1]-f;if(p&lt;=0)return null;var v=h%r.length;return F.createElement(&quot;rect&quot;,{key:&quot;react-&quot;.concat(h),y:f,x:n,height:p,width:i,stroke:&quot;none&quot;,fill:r[v],fillOpacity:t,className:&quot;recharts-cartesian-grid-bg&quot;})});return F.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-gridstripes-horizontal&quot;},c)}function Kee(e){var{vertical:r=!0,verticalFill:t,fillOpacity:n,x:l,y:i,width:a,height:u,verticalPoints:o}=e;if(!r||!t||!t.length)return null;var s=o.map(f=&gt;Math.round(f+l-l)).sort((f,h)=&gt;f-h);l!==s[0]&amp;&amp;s.unshift(0);var c=s.map((f,h)=&gt;{var m=!s[h+1],p=m?l+a-f:s[h+1]-f;if(p&lt;=0)return null;var v=h%t.length;return F.createElement(&quot;rect&quot;,{key:&quot;react-&quot;.concat(h),x:f,y:i,width:p,height:u,stroke:&quot;none&quot;,fill:t[v],fillOpacity:n,className:&quot;recharts-cartesian-grid-bg&quot;})});return F.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-gridstripes-vertical&quot;},c)}var Xee=(e,r)=&gt;{var{xAxis:t,width:n,height:l,offset:i}=e;return c7(T2(Rn(Rn(Rn({},Zs),t),{},{ticks:u7(t),viewBox:{x:0,y:0,width:n,height:l}})),i.left,i.left+i.width,r)},Gee=(e,r)=&gt;{var{yAxis:t,width:n,height:l,offset:i}=e;return c7(T2(Rn(Rn(Rn({},Zs),t),{},{ticks:u7(t),viewBox:{x:0,y:0,width:n,height:l}})),i.top,i.top+i.height,r)},Yee={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:&quot;#ccc&quot;,fill:&quot;none&quot;,verticalFill:[],horizontalFill:[],xAxisId:0,yAxisId:0,syncWithTicks:!1,zIndex:fn.grid};function kh(e){var r=C1(),t=E1(),n=g7(),l=Rn(Rn({},Nn(e,Yee)),{},{x:ht(e.x)?e.x:n.left,y:ht(e.y)?e.y:n.top,width:ht(e.width)?e.width:n.width,height:ht(e.height)?e.height:n.height}),{xAxisId:i,yAxisId:a,x:u,y:o,width:s,height:c,syncWithTicks:f,horizontalValues:h,verticalValues:m}=l,p=Ln(),v=wt(q=&gt;J6(q,&quot;xAxis&quot;,i,p)),g=wt(q=&gt;J6(q,&quot;yAxis&quot;,a,p));if(!As(s)||!As(c)||!ht(u)||!ht(o))return null;var b=l.verticalCoordinatesGenerator||Xee,x=l.horizontalCoordinatesGenerator||Gee,{horizontalPoints:_,verticalPoints:C}=l;if((!_||!_.length)&amp;&amp;typeof x==&quot;function&quot;){var O=h&amp;&amp;h.length,R=x({yAxis:g?Rn(Rn({},g),{},{ticks:O?h:g.ticks}):void 0,width:r??s,height:t??c,offset:n},O?!0:f);rm(Array.isArray(R),&quot;horizontalCoordinatesGenerator should return Array but instead it returned [&quot;.concat(typeof R,&quot;]&quot;)),Array.isArray(R)&amp;&amp;(_=R)}if((!C||!C.length)&amp;&amp;typeof b==&quot;function&quot;){var H=m&amp;&amp;m.length,L=b({xAxis:v?Rn(Rn({},v),{},{ticks:H?m:v.ticks}):void 0,width:r??s,height:t??c,offset:n},H?!0:f);rm(Array.isArray(L),&quot;verticalCoordinatesGenerator should return Array but instead it returned [&quot;.concat(typeof L,&quot;]&quot;)),Array.isArray(L)&amp;&amp;(C=L)}return F.createElement(Ui,{zIndex:l.zIndex},F.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-grid&quot;},F.createElement(Vee,{fill:l.fill,fillOpacity:l.fillOpacity,x:l.x,y:l.y,width:l.width,height:l.height,ry:l.ry}),F.createElement(Wee,Yo({},l,{horizontalPoints:_})),F.createElement(Kee,Yo({},l,{verticalPoints:C})),F.createElement(qee,Yo({},l,{offset:n,horizontalPoints:_,xAxis:v,yAxis:g})),F.createElement(Hee,Yo({},l,{offset:n,verticalPoints:C,xAxis:v,yAxis:g}))))}kh.displayName=&quot;CartesianGrid&quot;;var Zee={},OA=oi({name:&quot;errorBars&quot;,initialState:Zee,reducers:{addErrorBar:(e,r)=&gt;{var{itemId:t,errorBar:n}=r.payload;e[t]||(e[t]=[]),e[t].push(n)},replaceErrorBar:(e,r)=&gt;{var{itemId:t,prev:n,next:l}=r.payload;e[t]&amp;&amp;(e[t]=e[t].map(i=&gt;i.dataKey===n.dataKey&amp;&amp;i.direction===n.direction?l:i))},removeErrorBar:(e,r)=&gt;{var{itemId:t,errorBar:n}=r.payload;e[t]&amp;&amp;(e[t]=e[t].filter(l=&gt;l.dataKey!==n.dataKey||l.direction!==n.direction))}}}),{addErrorBar:use,replaceErrorBar:dse,removeErrorBar:fse}=OA.actions,Qee=OA.reducer,Jee=[&quot;children&quot;];function ete(e,r){if(e==null)return{};var t,n,l=tte(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(l[t]=e[t])}return l}function tte(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var rte={data:[],xAxisId:&quot;xAxis-0&quot;,yAxisId:&quot;yAxis-0&quot;,dataPointFormatter:()=&gt;({x:0,y:0,value:0}),errorBarOffset:0},nte=F.createContext(rte);function PA(e){var{children:r}=e,t=ete(e,Jee);return F.createElement(nte.Provider,{value:t},r)}function R2(e,r){var t,n,l=wt(s=&gt;fa(s,e)),i=wt(s=&gt;ha(s,r)),a=(t=l?.allowDataOverflow)!==null&amp;&amp;t!==void 0?t:cn.allowDataOverflow,u=(n=i?.allowDataOverflow)!==null&amp;&amp;n!==void 0?n:un.allowDataOverflow,o=a||u;return{needClip:o,needClipX:a,needClipY:u}}function TA(e){var{xAxisId:r,yAxisId:t,clipPathId:n}=e,l=O2(),{needClipX:i,needClipY:a,needClip:u}=R2(r,t);if(!u||!l)return null;var{x:o,y:s,width:c,height:f}=l;return F.createElement(&quot;clipPath&quot;,{id:&quot;clipPath-&quot;.concat(n)},F.createElement(&quot;rect&quot;,{x:i?o:o-c/2,y:a?s:s-f/2,width:i?c:c*2,height:a?f:f*2}))}var IA=(e,r,t,n)=&gt;io(e,&quot;xAxis&quot;,r,n),RA=(e,r,t,n)=&gt;no(e,&quot;xAxis&quot;,r,n),DA=(e,r,t,n)=&gt;io(e,&quot;yAxis&quot;,t,n),LA=(e,r,t,n)=&gt;no(e,&quot;yAxis&quot;,t,n),ite=Oe([rr,IA,DA,RA,LA],(e,r,t,n,l)=&gt;oo(e,&quot;xAxis&quot;)?sc(r,n,!1):sc(t,l,!1)),ste=(e,r,t,n,l)=&gt;l;function ate(e){return e.type===&quot;line&quot;}var ote=Oe([Pp,ste],(e,r)=&gt;e.filter(ate).find(t=&gt;t.id===r)),lte=Oe([rr,IA,DA,RA,LA,ote,ite,e2],(e,r,t,n,l,i,a,u)=&gt;{var{chartData:o,dataStartIndex:s,dataEndIndex:c}=u;if(!(i==null||r==null||t==null||n==null||l==null||n.length===0||l.length===0||a==null||e!==&quot;horizontal&quot;&amp;&amp;e!==&quot;vertical&quot;)){var{dataKey:f,data:h}=i,m;if(h!=null&amp;&amp;h.length&gt;0?m=h:m=o?.slice(s,c+1),m!=null)return Gte({layout:e,xAxis:r,yAxis:t,xAxisTicks:n,yAxisTicks:l,dataKey:f,bandSize:a,displayedData:m})}});function cte(e){var r=rd(e),t=3,n=2;if(r!=null){var{r:l,strokeWidth:i}=r,a=Number(l),u=Number(i);return(Number.isNaN(a)||a&lt;0)&amp;&amp;(a=t),(Number.isNaN(u)||u&lt;0)&amp;&amp;(u=n),{r:a,strokeWidth:u}}return{r:t,strokeWidth:n}}var Cy={exports:{}},Ey={};var sk;function ute(){if(sk)return Ey;sk=1;var e=dc();function r(o,s){return o===s&amp;&amp;(o!==0||1/o===1/s)||o!==o&amp;&amp;s!==s}var t=typeof Object.is==&quot;function&quot;?Object.is:r,n=e.useSyncExternalStore,l=e.useRef,i=e.useEffect,a=e.useMemo,u=e.useDebugValue;return Ey.useSyncExternalStoreWithSelector=function(o,s,c,f,h){var m=l(null);if(m.current===null){var p={hasValue:!1,value:null};m.current=p}else p=m.current;m=a(function(){function g(O){if(!b){if(b=!0,x=O,O=f(O),h!==void 0&amp;&amp;p.hasValue){var R=p.value;if(h(R,O))return _=R}return _=O}if(R=_,t(x,O))return R;var H=f(O);return h!==void 0&amp;&amp;h(R,H)?(x=O,R):(x=O,_=H)}var b=!1,x,_,C=c===void 0?null:c;return[function(){return g(s())},C===null?void 0:function(){return g(C())}]},[s,c,f,h]);var v=n(o,m[0],m[1]);return i(function(){p.hasValue=!0,p.value=v},[v]),u(v),v},Ey}var ak;function dte(){return ak||(ak=1,Cy.exports=ute()),Cy.exports}dte();function fte(e){e()}function hte(){let e=null,r=null;return{clear(){e=null,r=null},notify(){fte(()=&gt;{let t=e;for(;t;)t.callback(),t=t.next})},get(){const t=[];let n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(t){let n=!0;const l=r={callback:t,next:null,prev:r};return l.prev?l.prev.next=l:e=l,function(){!n||e===null||(n=!1,l.next?l.next.prev=l.prev:r=l.prev,l.prev?l.prev.next=l.next:e=l.next)}}}}var ok={notify(){},get:()=&gt;[]};function mte(e,r){let t,n=ok,l=0,i=!1;function a(v){c();const g=n.subscribe(v);let b=!1;return()=&gt;{b||(b=!0,g(),f())}}function u(){n.notify()}function o(){p.onStateChange&amp;&amp;p.onStateChange()}function s(){return i}function c(){l++,t||(t=e.subscribe(o),n=hte())}function f(){l--,t&amp;&amp;l===0&amp;&amp;(t(),t=void 0,n.clear(),n=ok)}function h(){i||(i=!0,c())}function m(){i&amp;&amp;(i=!1,f())}const p={addNestedSub:a,notifyNestedSubs:u,handleChangeWrapper:o,isSubscribed:s,trySubscribe:h,tryUnsubscribe:m,getListeners:()=&gt;n};return p}var pte=()=&gt;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;,gte=pte(),vte=()=&gt;typeof navigator&lt;&quot;u&quot;&amp;&amp;navigator.product===&quot;ReactNative&quot;,yte=vte(),bte=()=&gt;gte||yte?F.useLayoutEffect:F.useEffect,xte=bte();function lk(e,r){return e===r?e!==0||r!==0||1/e===1/r:e!==e&amp;&amp;r!==r}function wte(e,r){if(lk(e,r))return!0;if(typeof e!=&quot;object&quot;||e===null||typeof r!=&quot;object&quot;||r===null)return!1;const t=Object.keys(e),n=Object.keys(r);if(t.length!==n.length)return!1;for(let l=0;l&lt;t.length;l++)if(!Object.prototype.hasOwnProperty.call(r,t[l])||!lk(e[t[l]],r[t[l]]))return!1;return!0}var _te=Symbol.for(&quot;react-redux-context&quot;),jte=typeof globalThis&lt;&quot;u&quot;?globalThis:{};function Ste(){if(!F.createContext)return{};const e=jte[_te]??=new Map;let r=e.get(F.createContext);return r||(r=F.createContext(null),e.set(F.createContext,r)),r}var kte=Ste();function Nte(e){const{children:r,context:t,serverState:n,store:l}=e,i=F.useMemo(()=&gt;{const o=mte(l);return{store:l,subscription:o,getServerState:n?()=&gt;n:void 0}},[l,n]),a=F.useMemo(()=&gt;l.getState(),[l]);xte(()=&gt;{const{subscription:o}=i;return o.onStateChange=o.notifyNestedSubs,o.trySubscribe(),a!==l.getState()&amp;&amp;o.notifyNestedSubs(),()=&gt;{o.tryUnsubscribe(),o.onStateChange=void 0}},[i,a]);const u=t||kte;return F.createElement(u.Provider,{value:i},r)}var Cte=Nte,Ete=new Set([&quot;axisLine&quot;,&quot;tickLine&quot;,&quot;activeBar&quot;,&quot;activeDot&quot;,&quot;activeLabel&quot;,&quot;activeShape&quot;,&quot;allowEscapeViewBox&quot;,&quot;background&quot;,&quot;cursor&quot;,&quot;dot&quot;,&quot;label&quot;,&quot;line&quot;,&quot;margin&quot;,&quot;padding&quot;,&quot;position&quot;,&quot;shape&quot;,&quot;style&quot;,&quot;tick&quot;,&quot;wrapperStyle&quot;,&quot;radius&quot;]);function Ate(e,r){return e==null&amp;&amp;r==null?!0:typeof e==&quot;number&quot;&amp;&amp;typeof r==&quot;number&quot;?e===r||e!==e&amp;&amp;r!==r:e===r}function Lp(e,r){var t=new Set([...Object.keys(e),...Object.keys(r)]);for(var n of t)if(Ete.has(n)){if(e[n]==null&amp;&amp;r[n]==null)continue;if(!wte(e[n],r[n]))return!1}else if(!Ate(e[n],r[n]))return!1;return!0}var Mte=[&quot;id&quot;],Ote=[&quot;type&quot;,&quot;layout&quot;,&quot;connectNulls&quot;,&quot;needClip&quot;,&quot;shape&quot;],Pte=[&quot;activeDot&quot;,&quot;animateNewValues&quot;,&quot;animationBegin&quot;,&quot;animationDuration&quot;,&quot;animationEasing&quot;,&quot;connectNulls&quot;,&quot;dot&quot;,&quot;hide&quot;,&quot;isAnimationActive&quot;,&quot;label&quot;,&quot;legendType&quot;,&quot;xAxisId&quot;,&quot;yAxisId&quot;,&quot;id&quot;];function Zu(){return Zu=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Zu.apply(null,arguments)}function ck(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function js(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?ck(Object(t),!0).forEach(function(n){Tte(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ck(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Tte(e,r,t){return(r=Ite(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Ite(e){var r=Rte(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Rte(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function D2(e,r){if(e==null)return{};var t,n,l=Dte(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(l[t]=e[t])}return l}function Dte(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var Lte=e=&gt;{var{dataKey:r,name:t,stroke:n,legendType:l,hide:i}=e;return[{inactive:i,dataKey:r,type:l,color:n,value:ap(t,r),payload:e}]},Fte=F.memo(e=&gt;{var{dataKey:r,data:t,stroke:n,strokeWidth:l,fill:i,name:a,hide:u,unit:o,tooltipType:s,id:c}=e,f={dataDefinedOnItem:t,positions:void 0,settings:{stroke:n,strokeWidth:l,fill:i,dataKey:r,nameKey:void 0,name:ap(a,r),hide:u,type:s,color:n,unit:o,graphicalItemId:c}};return F.createElement(xA,{tooltipEntrySettings:f})}),FA=(e,r)=&gt;&quot;&quot;.concat(r,&quot;px &quot;).concat(e-r,&quot;px&quot;);function Bte(e,r){for(var t=e.length%2!==0?[...e,0]:e,n=[],l=0;l&lt;r;++l)n=[...n,...t];return n}var zte=(e,r,t)=&gt;{var n=t.reduce((f,h)=&gt;f+h);if(!n)return FA(r,e);for(var l=Math.floor(e/n),i=e%n,a=r-e,u=[],o=0,s=0;o&lt;t.length;s+=t[o],++o)if(s+t[o]&gt;i){u=[...t.slice(0,o),i-s];break}var c=u.length%2===0?[0,a]:[a];return[...Bte(t,l),...u,...c].map(f=&gt;&quot;&quot;.concat(f,&quot;px&quot;)).join(&quot;, &quot;)};function $te(e){var{clipPathId:r,points:t,props:n}=e,{dot:l,dataKey:i,needClip:a}=n,{id:u}=n,o=D2(n,Mte),s=os(o);return F.createElement(kJ,{points:t,dot:l,className:&quot;recharts-line-dots&quot;,dotClassName:&quot;recharts-line-dot&quot;,dataKey:i,baseProps:s,needClip:a,clipPathId:r})}function Ute(e){var{showLabels:r,children:t,points:n}=e,l=F.useMemo(()=&gt;n?.map(i=&gt;{var a,u,o={x:(a=i.x)!==null&amp;&amp;a!==void 0?a:0,y:(u=i.y)!==null&amp;&amp;u!==void 0?u:0,width:0,lowerWidth:0,upperWidth:0,height:0};return js(js({},o),{},{value:i.value,payload:i.payload,viewBox:o,parentViewBox:void 0,fill:void 0})}),[n]);return F.createElement(cA,{value:r?l:void 0},t)}function uk(e){var{clipPathId:r,pathRef:t,points:n,strokeDasharray:l,props:i}=e,{type:a,layout:u,connectNulls:o,needClip:s,shape:c}=i,f=D2(i,Ote),h=js(js({},Xn(f)),{},{fill:&quot;none&quot;,className:&quot;recharts-line-curve&quot;,clipPath:s?&quot;url(#clipPath-&quot;.concat(r,&quot;)&quot;):void 0,points:n,type:a,layout:u,connectNulls:o,strokeDasharray:l??i.strokeDasharray});return F.createElement(F.Fragment,null,n?.length&gt;1&amp;&amp;F.createElement(gA,Zu({shapeType:&quot;curve&quot;,option:c},h,{pathRef:t})),F.createElement($te,{points:n,clipPathId:r,props:i}))}function Vte(e){try{return e&amp;&amp;e.getTotalLength&amp;&amp;e.getTotalLength()||0}catch{return 0}}function qte(e){var{clipPathId:r,props:t,pathRef:n,previousPointsRef:l,longestAnimatedLengthRef:i}=e,{points:a,strokeDasharray:u,isAnimationActive:o,animationBegin:s,animationDuration:c,animationEasing:f,animateNewValues:h,width:m,height:p,onAnimationEnd:v,onAnimationStart:g}=t,b=l.current,x=yp(a,&quot;recharts-line-&quot;),_=F.useRef(x),[C,O]=F.useState(!1),R=!C,H=F.useCallback(()=&gt;{typeof v==&quot;function&quot;&amp;&amp;v(),O(!1)},[v]),L=F.useCallback(()=&gt;{typeof g==&quot;function&quot;&amp;&amp;g(),O(!0)},[g]),q=Vte(n.current),W=F.useRef(0);_.current!==x&amp;&amp;(W.current=i.current,_.current=x);var K=W.current;return F.createElement(Ute,{points:a,showLabels:R},t.children,F.createElement(vp,{animationId:x,begin:s,duration:c,isActive:o,easing:f,onAnimationEnd:H,onAnimationStart:L,key:x},U=&gt;{var P=Lr(K,q+K,U),D=Math.min(P,q),E;if(o)if(u){var j=&quot;&quot;.concat(u).split(/[,\s]+/gim).map(N=&gt;parseFloat(N));E=zte(D,q,j)}else E=FA(q,D);else E=u==null?void 0:String(u);if(U&gt;0&amp;&amp;q&gt;0&amp;&amp;(l.current=a,i.current=Math.max(i.current,D)),b){var k=b.length/a.length,S=U===1?a:a.map((N,M)=&gt;{var I=Math.floor(M*k);if(b[I]){var B=b[I];return js(js({},N),{},{x:Lr(B.x,N.x,U),y:Lr(B.y,N.y,U)})}return h?js(js({},N),{},{x:Lr(m*2,N.x,U),y:Lr(p/2,N.y,U)}):js(js({},N),{},{x:N.x,y:N.y})});return l.current=S,F.createElement(uk,{props:t,points:S,clipPathId:r,pathRef:n,strokeDasharray:E})}return F.createElement(uk,{props:t,points:a,clipPathId:r,pathRef:n,strokeDasharray:E})}),F.createElement(dA,{label:t.label}))}function Hte(e){var{clipPathId:r,props:t}=e,n=F.useRef(null),l=F.useRef(0),i=F.useRef(null);return F.createElement(qte,{props:t,clipPathId:r,previousPointsRef:n,longestAnimatedLengthRef:l,pathRef:i})}var Wte=(e,r)=&gt;{var t,n;return{x:(t=e.x)!==null&amp;&amp;t!==void 0?t:void 0,y:(n=e.y)!==null&amp;&amp;n!==void 0?n:void 0,value:e.value,errorVal:Kr(e.payload,r)}};class Kte extends F.Component{render(){var{hide:r,dot:t,points:n,className:l,xAxisId:i,yAxisId:a,top:u,left:o,width:s,height:c,id:f,needClip:h,zIndex:m}=this.props;if(r)return null;var p=ar(&quot;recharts-line&quot;,l),v=f,{r:g,strokeWidth:b}=cte(t),x=pA(t),_=g*2+b,C=h?&quot;url(#clipPath-&quot;.concat(x?&quot;&quot;:&quot;dots-&quot;).concat(v,&quot;)&quot;):void 0;return F.createElement(Ui,{zIndex:m},F.createElement(Fi,{className:p},h&amp;&amp;F.createElement(&quot;defs&quot;,null,F.createElement(TA,{clipPathId:v,xAxisId:i,yAxisId:a}),!x&amp;&amp;F.createElement(&quot;clipPath&quot;,{id:&quot;clipPath-dots-&quot;.concat(v)},F.createElement(&quot;rect&quot;,{x:o-_/2,y:u-_/2,width:s+_,height:c+_}))),F.createElement(PA,{xAxisId:i,yAxisId:a,data:n,dataPointFormatter:Wte,errorBarOffset:0},F.createElement(Hte,{props:this.props,clipPathId:v}))),F.createElement(HJ,{activeDot:this.props.activeDot,points:n,mainColor:this.props.stroke,itemDataKey:this.props.dataKey,clipPath:C}))}}var BA={activeDot:!0,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:&quot;ease&quot;,connectNulls:!1,dot:!0,fill:&quot;#fff&quot;,hide:!1,isAnimationActive:&quot;auto&quot;,label:!1,legendType:&quot;line&quot;,stroke:&quot;#3182bd&quot;,strokeWidth:1,xAxisId:0,yAxisId:0,zIndex:fn.line,type:&quot;linear&quot;};function Xte(e){var r=Nn(e,BA),{activeDot:t,animateNewValues:n,animationBegin:l,animationDuration:i,animationEasing:a,connectNulls:u,dot:o,hide:s,isAnimationActive:c,label:f,legendType:h,xAxisId:m,yAxisId:p,id:v}=r,g=D2(r,Pte),{needClip:b}=R2(m,p),x=O2(),_=vc(),C=Ln(),O=wt(W=&gt;lte(W,m,p,C,v));if(_!==&quot;horizontal&quot;&amp;&amp;_!==&quot;vertical&quot;||O==null||x==null)return null;var{height:R,width:H,x:L,y:q}=x;return F.createElement(Kte,Zu({},g,{id:v,connectNulls:u,dot:o,activeDot:t,animateNewValues:n,animationBegin:l,animationDuration:i,animationEasing:a,isAnimationActive:c,hide:s,label:f,legendType:h,xAxisId:m,yAxisId:p,points:O,layout:_,height:R,width:H,left:L,top:q,needClip:b}))}function Gte(e){var{layout:r,xAxis:t,yAxis:n,xAxisTicks:l,yAxisTicks:i,dataKey:a,bandSize:u,displayedData:o}=e;return o.map((s,c)=&gt;{var f=Kr(s,a);if(r===&quot;horizontal&quot;){var h=tj({axis:t,ticks:l,bandSize:u,entry:s,index:c}),m=Nr(f)?null:n.scale(f);return{x:h,y:m,value:f,payload:s}}var p=Nr(f)?null:t.scale(f),v=tj({axis:n,ticks:i,bandSize:u,entry:s,index:c});return p==null||v==null?null:{x:p,y:v,value:f,payload:s}}).filter(Boolean)}function Yte(e){var r=Nn(e,BA),t=Ln();return F.createElement(_A,{id:r.id,type:&quot;line&quot;},n=&gt;F.createElement(F.Fragment,null,F.createElement(wA,{legendPayload:Lte(r)}),F.createElement(Fte,{dataKey:r.dataKey,data:r.data,stroke:r.stroke,strokeWidth:r.strokeWidth,fill:r.fill,name:r.name,hide:r.hide,unit:r.unit,tooltipType:r.tooltipType,id:n}),F.createElement(SA,{type:&quot;line&quot;,id:n,data:r.data,xAxisId:r.xAxisId,yAxisId:r.yAxisId,zAxisId:0,dataKey:r.dataKey,hide:r.hide,isPanorama:t}),F.createElement(Xte,Zu({},r,{id:n}))))}var zA=F.memo(Yte,Lp);zA.displayName=&quot;Line&quot;;function fl(e,r){var t,n;return(t=(n=e.graphicalItems.cartesianItems.find(l=&gt;l.id===r))===null||n===void 0?void 0:n.xAxisId)!==null&amp;&amp;t!==void 0?t:kA}function hl(e,r){var t,n;return(t=(n=e.graphicalItems.cartesianItems.find(l=&gt;l.id===r))===null||n===void 0?void 0:n.yAxisId)!==null&amp;&amp;t!==void 0?t:kA}var Zte=&quot;Invariant failed&quot;;function Qte(e,r){throw new Error(Zte)}function ux(){return ux=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},ux.apply(null,arguments)}function Mm(e){return F.createElement(gA,ux({shapeType:&quot;rectangle&quot;,activeClassName:&quot;recharts-active-bar&quot;},e))}var Jte=function(r){var t=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:0;return(n,l)=&gt;{if(ht(r))return r;var i=ht(n)||Nr(n);return i?r(n,l):(i||Qte(),t)}},ere=(e,r,t)=&gt;t,tre=(e,r)=&gt;r,wd=Oe([Pp,tre],(e,r)=&gt;e.filter(t=&gt;t.type===&quot;bar&quot;).find(t=&gt;t.id===r)),rre=Oe([wd],e=&gt;e?.maxBarSize),nre=(e,r,t,n)=&gt;n,ire=Oe([rr,Pp,fl,hl,ere],(e,r,t,n,l)=&gt;r.filter(i=&gt;e===&quot;horizontal&quot;?i.xAxisId===t:i.yAxisId===n).filter(i=&gt;i.isPanorama===l).filter(i=&gt;i.hide===!1).filter(i=&gt;i.type===&quot;bar&quot;)),sre=(e,r,t)=&gt;{var n=rr(e),l=fl(e,r),i=hl(e,r);if(!(l==null||i==null))return n===&quot;horizontal&quot;?rx(e,&quot;yAxis&quot;,i,t):rx(e,&quot;xAxis&quot;,l,t)},are=(e,r)=&gt;{var t=rr(e),n=fl(e,r),l=hl(e,r);if(!(n==null||l==null))return t===&quot;horizontal&quot;?Q6(e,&quot;xAxis&quot;,n):Q6(e,&quot;yAxis&quot;,l)},ore=Oe([ire,gX,are],WJ),lre=(e,r,t)=&gt;{var n,l,i=wd(e,r);if(i!=null){var a=fl(e,r),u=hl(e,r);if(!(a==null||u==null)){var o=rr(e),s=AE(e),{maxBarSize:c}=i,f=Nr(c)?s:c,h,m;return o===&quot;horizontal&quot;?(h=io(e,&quot;xAxis&quot;,a,t),m=no(e,&quot;xAxis&quot;,a,t)):(h=io(e,&quot;yAxis&quot;,u,t),m=no(e,&quot;yAxis&quot;,u,t)),(n=(l=sc(h,m,!0))!==null&amp;&amp;l!==void 0?l:f)!==null&amp;&amp;n!==void 0?n:0}}},$A=(e,r,t)=&gt;{var n=rr(e),l=fl(e,r),i=hl(e,r);if(!(l==null||i==null)){var a,u;return n===&quot;horizontal&quot;?(a=io(e,&quot;xAxis&quot;,l,t),u=no(e,&quot;xAxis&quot;,l,t)):(a=io(e,&quot;yAxis&quot;,i,t),u=no(e,&quot;yAxis&quot;,i,t)),sc(a,u)}},cre=Oe([ore,AE,pX,ME,lre,$A,rre],ZJ),ure=(e,r,t)=&gt;{var n=fl(e,r);if(n!=null)return io(e,&quot;xAxis&quot;,n,t)},dre=(e,r,t)=&gt;{var n=hl(e,r);if(n!=null)return io(e,&quot;yAxis&quot;,n,t)},fre=(e,r,t)=&gt;{var n=fl(e,r);if(n!=null)return no(e,&quot;xAxis&quot;,n,t)},hre=(e,r,t)=&gt;{var n=hl(e,r);if(n!=null)return no(e,&quot;yAxis&quot;,n,t)},mre=Oe([cre,wd],(e,r)=&gt;{if(!(e==null||r==null)){var t=e.find(n=&gt;n.stackId===r.stackId&amp;&amp;r.dataKey!=null&amp;&amp;n.dataKeys.includes(r.dataKey));if(t!=null)return t.position}}),pre=Oe([sre,wd],QJ),gre=Oe([hn,k1,ure,dre,fre,hre,mre,rr,nX,$A,pre,wd,nre],(e,r,t,n,l,i,a,u,o,s,c,f,h)=&gt;{var{chartData:m,dataStartIndex:p,dataEndIndex:v}=o;if(!(f==null||a==null||r==null||u!==&quot;horizontal&quot;&amp;&amp;u!==&quot;vertical&quot;||t==null||n==null||l==null||i==null||s==null)){var{data:g}=f,b;if(g!=null&amp;&amp;g.length&gt;0?b=g:b=m?.slice(p,v+1),b!=null)return Hre({layout:u,barSettings:f,pos:a,parentViewBox:r,bandSize:s,xAxis:t,yAxis:n,xAxisTicks:l,yAxisTicks:i,stackedData:c,displayedData:b,offset:e,cells:h,dataStartIndex:p})}}),vre=[&quot;index&quot;];function dx(){return dx=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},dx.apply(null,arguments)}function yre(e,r){if(e==null)return{};var t,n,l=bre(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(l[t]=e[t])}return l}function bre(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var UA=F.createContext(void 0),xre=e=&gt;{var r=F.useContext(UA);if(r!=null)return r.stackId;if(e!=null)return HU(e)},wre=(e,r)=&gt;&quot;recharts-bar-stack-clip-path-&quot;.concat(e,&quot;-&quot;).concat(r),_re=e=&gt;{var r=F.useContext(UA);if(r!=null){var{stackId:t}=r;return&quot;url(#&quot;.concat(wre(t,e),&quot;)&quot;)}},jre=e=&gt;{var{index:r}=e,t=yre(e,vre),n=_re(r);return F.createElement(Fi,dx({className:&quot;recharts-bar-stack-layer&quot;,clipPath:n},t))},Sre=[&quot;onMouseEnter&quot;,&quot;onMouseLeave&quot;,&quot;onClick&quot;],kre=[&quot;value&quot;,&quot;background&quot;,&quot;tooltipPosition&quot;],Nre=[&quot;id&quot;],Cre=[&quot;onMouseEnter&quot;,&quot;onClick&quot;,&quot;onMouseLeave&quot;];function aa(){return aa=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},aa.apply(null,arguments)}function dk(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Vn(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?dk(Object(t),!0).forEach(function(n){Ere(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):dk(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Ere(e,r,t){return(r=Are(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Are(e){var r=Mre(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Mre(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function Om(e,r){if(e==null)return{};var t,n,l=Ore(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(l[t]=e[t])}return l}function Ore(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var Pre=e=&gt;{var{dataKey:r,name:t,fill:n,legendType:l,hide:i}=e;return[{inactive:i,dataKey:r,type:l,color:n,value:ap(t,r),payload:e}]},Tre=F.memo(e=&gt;{var{dataKey:r,stroke:t,strokeWidth:n,fill:l,name:i,hide:a,unit:u,tooltipType:o,id:s}=e,c={dataDefinedOnItem:void 0,positions:void 0,settings:{stroke:t,strokeWidth:n,fill:l,dataKey:r,nameKey:void 0,name:ap(i,r),hide:a,type:o,color:l,unit:u,graphicalItemId:s}};return F.createElement(xA,{tooltipEntrySettings:c})});function Ire(e){var r=wt(ol),{data:t,dataKey:n,background:l,allOtherBarProps:i}=e,{onMouseEnter:a,onMouseLeave:u,onClick:o}=i,s=Om(i,Sre),c=vA(a,n,i.id),f=yA(u),h=bA(o,n,i.id);if(!l||t==null)return null;var m=rd(l);return F.createElement(Ui,{zIndex:JJ(l,fn.barBackground)},t.map((p,v)=&gt;{var{value:g,background:b,tooltipPosition:x}=p,_=Om(p,kre);if(!b)return null;var C=c(p,v),O=f(p,v),R=h(p,v),H=Vn(Vn(Vn(Vn(Vn({option:l,isActive:String(v)===r},_),{},{fill:&quot;#eee&quot;},b),m),Gm(s,p,v)),{},{onMouseEnter:C,onMouseLeave:O,onClick:R,dataKey:n,index:v,className:&quot;recharts-bar-background-rectangle&quot;});return F.createElement(Mm,aa({key:&quot;background-bar-&quot;.concat(v)},H))}))}function Rre(e){var{showLabels:r,children:t,rects:n}=e,l=n?.map(i=&gt;{var a={x:i.x,y:i.y,width:i.width,lowerWidth:i.width,upperWidth:i.width,height:i.height};return Vn(Vn({},a),{},{value:i.value,payload:i.payload,parentViewBox:i.parentViewBox,viewBox:a,fill:i.fill})});return F.createElement(cA,{value:r?l:void 0},t)}function Dre(e){var{shape:r,activeBar:t,baseProps:n,entry:l,index:i,dataKey:a}=e,u=wt(ol),o=wt(z9),s=t&amp;&amp;String(i)===u&amp;&amp;(o==null||a===o),c=s?t:r;return s?F.createElement(Ui,{zIndex:fn.activeBar},F.createElement(Mm,aa({},n,{name:String(n.name)},l,{isActive:s,option:c,index:i,dataKey:a}))):F.createElement(Mm,aa({},n,{name:String(n.name)},l,{isActive:s,option:c,index:i,dataKey:a}))}function Lre(e){var{shape:r,baseProps:t,entry:n,index:l,dataKey:i}=e;return F.createElement(Mm,aa({},t,{name:String(t.name)},n,{isActive:!1,option:r,index:l,dataKey:i}))}function Fre(e){var r,{data:t,props:n}=e,l=(r=os(n))!==null&amp;&amp;r!==void 0?r:{},{id:i}=l,a=Om(l,Nre),{shape:u,dataKey:o,activeBar:s}=n,{onMouseEnter:c,onClick:f,onMouseLeave:h}=n,m=Om(n,Cre),p=vA(c,o,i),v=yA(h),g=bA(f,o,i);return t?F.createElement(F.Fragment,null,t.map((b,x)=&gt;F.createElement(jre,aa({index:x,key:&quot;rectangle-&quot;.concat(b?.x,&quot;-&quot;).concat(b?.y,&quot;-&quot;).concat(b?.value,&quot;-&quot;).concat(x),className:&quot;recharts-bar-rectangle&quot;},Gm(m,b,x),{onMouseEnter:p(b,x),onMouseLeave:v(b,x),onClick:g(b,x)}),s?F.createElement(Dre,{shape:u,activeBar:s,baseProps:a,entry:b,index:x,dataKey:o}):F.createElement(Lre,{shape:u,baseProps:a,entry:b,index:x,dataKey:o})))):null}function Bre(e){var{props:r,previousRectanglesRef:t}=e,{data:n,layout:l,isAnimationActive:i,animationBegin:a,animationDuration:u,animationEasing:o,onAnimationEnd:s,onAnimationStart:c}=r,f=t.current,h=yp(r,&quot;recharts-bar-&quot;),[m,p]=F.useState(!1),v=!m,g=F.useCallback(()=&gt;{typeof s==&quot;function&quot;&amp;&amp;s(),p(!1)},[s]),b=F.useCallback(()=&gt;{typeof c==&quot;function&quot;&amp;&amp;c(),p(!0)},[c]);return F.createElement(Rre,{showLabels:v,rects:n},F.createElement(vp,{animationId:h,begin:a,duration:u,isActive:i,easing:o,onAnimationEnd:g,onAnimationStart:b,key:h},x=&gt;{var _=x===1?n:n?.map((C,O)=&gt;{var R=f&amp;&amp;f[O];if(R)return Vn(Vn({},C),{},{x:Lr(R.x,C.x,x),y:Lr(R.y,C.y,x),width:Lr(R.width,C.width,x),height:Lr(R.height,C.height,x)});if(l===&quot;horizontal&quot;){var H=Lr(0,C.height,x),L=Lr(C.stackedBarStart,C.y,x);return Vn(Vn({},C),{},{y:L,height:H})}var q=Lr(0,C.width,x),W=Lr(C.stackedBarStart,C.x,x);return Vn(Vn({},C),{},{width:q,x:W})});return x&gt;0&amp;&amp;(t.current=_??null),_==null?null:F.createElement(Fi,null,F.createElement(Fre,{props:r,data:_}))}),F.createElement(dA,{label:r.label}),r.children)}function zre(e){var r=F.useRef(null);return F.createElement(Bre,{previousRectanglesRef:r,props:e})}var VA=0,$re=(e,r)=&gt;{var t=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:t,errorVal:Kr(e,r)}};class Ure extends F.PureComponent{render(){var{hide:r,data:t,dataKey:n,className:l,xAxisId:i,yAxisId:a,needClip:u,background:o,id:s}=this.props;if(r||t==null)return null;var c=ar(&quot;recharts-bar&quot;,l),f=s;return F.createElement(Fi,{className:c,id:s},u&amp;&amp;F.createElement(&quot;defs&quot;,null,F.createElement(TA,{clipPathId:f,xAxisId:i,yAxisId:a})),F.createElement(Fi,{className:&quot;recharts-bar-rectangles&quot;,clipPath:u?&quot;url(#clipPath-&quot;.concat(f,&quot;)&quot;):void 0},F.createElement(Ire,{data:t,dataKey:n,background:o,allOtherBarProps:this.props}),F.createElement(zre,this.props)))}}var Vre={activeBar:!1,animationBegin:0,animationDuration:400,animationEasing:&quot;ease&quot;,background:!1,hide:!1,isAnimationActive:&quot;auto&quot;,label:!1,legendType:&quot;rect&quot;,minPointSize:VA,xAxisId:0,yAxisId:0,zIndex:fn.bar};function qre(e){var{xAxisId:r,yAxisId:t,hide:n,legendType:l,minPointSize:i,activeBar:a,animationBegin:u,animationDuration:o,animationEasing:s,isAnimationActive:c}=e,{needClip:f}=R2(r,t),h=vc(),m=Ln(),p=UQ(e.children,Z9),v=wt(x=&gt;gre(x,e.id,m,p));if(h!==&quot;vertical&quot;&amp;&amp;h!==&quot;horizontal&quot;)return null;var g,b=v?.[0];return b==null||b.height==null||b.width==null?g=0:g=h===&quot;vertical&quot;?b.height/2:b.width/2,F.createElement(PA,{xAxisId:r,yAxisId:t,data:v,dataPointFormatter:$re,errorBarOffset:g},F.createElement(Ure,aa({},e,{layout:h,needClip:f,data:v,xAxisId:r,yAxisId:t,hide:n,legendType:l,minPointSize:i,activeBar:a,animationBegin:u,animationDuration:o,animationEasing:s,isAnimationActive:c})))}function Hre(e){var{layout:r,barSettings:{dataKey:t,minPointSize:n},pos:l,bandSize:i,xAxis:a,yAxis:u,xAxisTicks:o,yAxisTicks:s,stackedData:c,displayedData:f,offset:h,cells:m,parentViewBox:p,dataStartIndex:v}=e,g=r===&quot;horizontal&quot;?u:a,b=c?g.scale.domain():null,x=WU({numericAxis:g}),_=g.scale(x);return f.map((C,O)=&gt;{var R,H,L,q,W,K;if(c){var U=c[O+v];if(U==null)return null;R=zU(U,b)}else R=Kr(C,t),Array.isArray(R)||(R=[x,R]);var P=Jte(n,VA)(R[1],O);if(r===&quot;horizontal&quot;){var D,[E,j]=[u.scale(R[0]),u.scale(R[1])];H=rj({axis:a,ticks:o,bandSize:i,offset:l.offset,entry:C,index:O}),L=(D=j??E)!==null&amp;&amp;D!==void 0?D:void 0,q=l.size;var k=E-j;if(W=ls(k)?0:k,K={x:H,y:h.top,width:q,height:h.height},Math.abs(P)&gt;0&amp;&amp;Math.abs(W)&lt;Math.abs(P)){var S=ii(W||P)*(Math.abs(P)-Math.abs(W));L-=S,W+=S}}else{var[N,M]=[a.scale(R[0]),a.scale(R[1])];if(H=N,L=rj({axis:u,ticks:s,bandSize:i,offset:l.offset,entry:C,index:O}),q=M-N,W=l.size,K={x:h.left,y:L,width:h.width,height:W},Math.abs(P)&gt;0&amp;&amp;Math.abs(q)&lt;Math.abs(P)){var I=ii(q||P)*(Math.abs(P)-Math.abs(q));q+=I}}if(H==null||L==null||q==null||W==null)return null;var B=Vn(Vn({},C),{},{stackedBarStart:_,x:H,y:L,width:q,height:W,value:c?R:R[1],payload:C,background:K,tooltipPosition:{x:H+q/2,y:L+W/2},parentViewBox:p},m&amp;&amp;m[O]&amp;&amp;m[O].props);return B}).filter(Boolean)}function Wre(e){var r=Nn(e,Vre),t=xre(r.stackId),n=Ln();return F.createElement(_A,{id:r.id,type:&quot;bar&quot;},l=&gt;F.createElement(F.Fragment,null,F.createElement(wA,{legendPayload:Pre(r)}),F.createElement(Tre,{dataKey:r.dataKey,stroke:r.stroke,strokeWidth:r.strokeWidth,fill:r.fill,name:r.name,hide:r.hide,unit:r.unit,tooltipType:r.tooltipType,id:l}),F.createElement(SA,{type:&quot;bar&quot;,id:l,data:void 0,xAxisId:r.xAxisId,yAxisId:r.yAxisId,zAxisId:0,dataKey:r.dataKey,stackId:t,hide:r.hide,barSize:r.barSize,minPointSize:r.minPointSize,maxBarSize:r.maxBarSize,isPanorama:n}),F.createElement(Ui,{zIndex:r.zIndex},F.createElement(qre,aa({},r,{id:l})))))}var fx=F.memo(Wre,Lp);fx.displayName=&quot;Bar&quot;;var Kre=[&quot;domain&quot;,&quot;range&quot;],Xre=[&quot;domain&quot;,&quot;range&quot;];function fk(e,r){if(e==null)return{};var t,n,l=Gre(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(l[t]=e[t])}return l}function Gre(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function hk(e,r){return e===r?!0:Array.isArray(e)&amp;&amp;e.length===2&amp;&amp;Array.isArray(r)&amp;&amp;r.length===2?e[0]===r[0]&amp;&amp;e[1]===r[1]:!1}function qA(e,r){if(e===r)return!0;var{domain:t,range:n}=e,l=fk(e,Kre),{domain:i,range:a}=r,u=fk(r,Xre);return!hk(t,i)||!hk(n,a)?!1:Lp(l,u)}var Yre=[&quot;dangerouslySetInnerHTML&quot;,&quot;ticks&quot;,&quot;scale&quot;],Zre=[&quot;id&quot;,&quot;scale&quot;];function hx(){return hx=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},hx.apply(null,arguments)}function mk(e,r){if(e==null)return{};var t,n,l=Qre(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(l[t]=e[t])}return l}function Qre(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function Jre(e){var r=Pr(),t=F.useRef(null);return F.useLayoutEffect(()=&gt;{t.current===null?r(MJ(e)):t.current!==e&amp;&amp;r(OJ({prev:t.current,next:e})),t.current=e},[e,r]),F.useLayoutEffect(()=&gt;()=&gt;{t.current&amp;&amp;(r(PJ(t.current)),t.current=null)},[r]),null}var ene=e=&gt;{var{xAxisId:r,className:t}=e,n=wt(k1),l=Ln(),i=&quot;xAxis&quot;,a=wt(b=&gt;x9(b,i,r,l)),u=wt(b=&gt;g9(b,r)),o=wt(b=&gt;hG(b,r)),s=wt(b=&gt;BE(b,r));if(u==null||o==null||s==null)return null;var{dangerouslySetInnerHTML:c,ticks:f,scale:h}=e,m=mk(e,Yre),{id:p,scale:v}=s,g=mk(s,Zre);return F.createElement(I2,hx({},m,g,{x:o.x,y:o.y,width:u.width,height:u.height,className:ar(&quot;recharts-&quot;.concat(i,&quot; &quot;).concat(i),t),viewBox:n,ticks:a,axisType:i}))},tne={allowDataOverflow:cn.allowDataOverflow,allowDecimals:cn.allowDecimals,allowDuplicatedCategory:cn.allowDuplicatedCategory,angle:cn.angle,axisLine:Zs.axisLine,height:cn.height,hide:!1,includeHidden:cn.includeHidden,interval:cn.interval,minTickGap:cn.minTickGap,mirror:cn.mirror,orientation:cn.orientation,padding:cn.padding,reversed:cn.reversed,scale:cn.scale,tick:cn.tick,tickCount:cn.tickCount,tickLine:Zs.tickLine,tickSize:Zs.tickSize,type:cn.type,xAxisId:0},rne=e=&gt;{var r=Nn(e,tne);return F.createElement(F.Fragment,null,F.createElement(Jre,{allowDataOverflow:r.allowDataOverflow,allowDecimals:r.allowDecimals,allowDuplicatedCategory:r.allowDuplicatedCategory,angle:r.angle,dataKey:r.dataKey,domain:r.domain,height:r.height,hide:r.hide,id:r.xAxisId,includeHidden:r.includeHidden,interval:r.interval,minTickGap:r.minTickGap,mirror:r.mirror,name:r.name,orientation:r.orientation,padding:r.padding,reversed:r.reversed,scale:r.scale,tick:r.tick,tickCount:r.tickCount,tickFormatter:r.tickFormatter,ticks:r.ticks,type:r.type,unit:r.unit}),F.createElement(ene,r))},Nh=F.memo(rne,qA);Nh.displayName=&quot;XAxis&quot;;var nne=[&quot;dangerouslySetInnerHTML&quot;,&quot;ticks&quot;,&quot;scale&quot;],ine=[&quot;id&quot;,&quot;scale&quot;];function mx(){return mx=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},mx.apply(null,arguments)}function pk(e,r){if(e==null)return{};var t,n,l=sne(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(l[t]=e[t])}return l}function sne(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function ane(e){var r=Pr(),t=F.useRef(null);return F.useLayoutEffect(()=&gt;{t.current===null?r(TJ(e)):t.current!==e&amp;&amp;r(IJ({prev:t.current,next:e})),t.current=e},[e,r]),F.useLayoutEffect(()=&gt;()=&gt;{t.current&amp;&amp;(r(RJ(t.current)),t.current=null)},[r]),null}var one=e=&gt;{var{yAxisId:r,className:t,width:n,label:l}=e,i=F.useRef(null),a=F.useRef(null),u=wt(k1),o=Ln(),s=Pr(),c=&quot;yAxis&quot;,f=wt(R=&gt;v9(R,r)),h=wt(R=&gt;pG(R,r)),m=wt(R=&gt;x9(R,c,r,o)),p=wt(R=&gt;zE(R,r));if(F.useLayoutEffect(()=&gt;{if(!(n!==&quot;auto&quot;||!f||M2(l)||F.isValidElement(l)||p==null)){var R=i.current;if(R){var H=R.getCalculatedWidth();Math.round(f.width)!==Math.round(H)&amp;&amp;s(DJ({id:r,width:H}))}}},[m,f,s,l,r,n,p]),f==null||h==null||p==null)return null;var{dangerouslySetInnerHTML:v,ticks:g,scale:b}=e,x=pk(e,nne),{id:_,scale:C}=p,O=pk(p,ine);return F.createElement(I2,mx({},x,O,{ref:i,labelRef:a,x:h.x,y:h.y,tickTextProps:n===&quot;auto&quot;?{width:void 0}:{width:n},width:f.width,height:f.height,className:ar(&quot;recharts-&quot;.concat(c,&quot; &quot;).concat(c),t),viewBox:u,ticks:m,axisType:c}))},lne={allowDataOverflow:un.allowDataOverflow,allowDecimals:un.allowDecimals,allowDuplicatedCategory:un.allowDuplicatedCategory,angle:un.angle,axisLine:Zs.axisLine,hide:!1,includeHidden:un.includeHidden,interval:un.interval,minTickGap:un.minTickGap,mirror:un.mirror,orientation:un.orientation,padding:un.padding,reversed:un.reversed,scale:un.scale,tick:un.tick,tickCount:un.tickCount,tickLine:Zs.tickLine,tickSize:Zs.tickSize,type:un.type,width:un.width,yAxisId:0},cne=e=&gt;{var r=Nn(e,lne);return F.createElement(F.Fragment,null,F.createElement(ane,{interval:r.interval,id:r.yAxisId,scale:r.scale,type:r.type,domain:r.domain,allowDataOverflow:r.allowDataOverflow,dataKey:r.dataKey,allowDuplicatedCategory:r.allowDuplicatedCategory,allowDecimals:r.allowDecimals,tickCount:r.tickCount,padding:r.padding,includeHidden:r.includeHidden,reversed:r.reversed,ticks:r.ticks,width:r.width,orientation:r.orientation,mirror:r.mirror,hide:r.hide,unit:r.unit,name:r.name,angle:r.angle,minTickGap:r.minTickGap,tick:r.tick,tickFormatter:r.tickFormatter}),F.createElement(one,r))},Ch=F.memo(cne,qA);Ch.displayName=&quot;YAxis&quot;;var une=(e,r)=&gt;r,L2=Oe([une,rr,LE,tn,D9,ma,MY,hn],LY),F2=e=&gt;{var r=e.currentTarget.getBoundingClientRect(),t=r.width/e.currentTarget.offsetWidth,n=r.height/e.currentTarget.offsetHeight;return{chartX:Math.round((e.clientX-r.left)/t),chartY:Math.round((e.clientY-r.top)/n)}},HA=Bi(&quot;mouseClick&quot;),WA=ad();WA.startListening({actionCreator:HA,effect:(e,r)=&gt;{var t=e.payload,n=L2(r.getState(),F2(t));n?.activeIndex!=null&amp;&amp;r.dispatch(AG({activeIndex:n.activeIndex,activeDataKey:void 0,activeCoordinate:n.activeCoordinate}))}});var px=Bi(&quot;mouseMove&quot;),KA=ad(),uh=null;KA.startListening({actionCreator:px,effect:(e,r)=&gt;{var t=e.payload;uh!==null&amp;&amp;cancelAnimationFrame(uh);var n=F2(t);uh=requestAnimationFrame(()=&gt;{var l=r.getState(),i=b2(l,l.tooltip.settings.shared);if(i===&quot;axis&quot;){var a=L2(l,n);a?.activeIndex!=null?r.dispatch(E9({activeIndex:a.activeIndex,activeDataKey:void 0,activeCoordinate:a.activeCoordinate})):r.dispatch(C9())}uh=null})}});function dne(e,r){return r instanceof HTMLElement?&quot;HTMLElement &lt;&quot;.concat(r.tagName,&#039; class=&quot;&#039;).concat(r.className,&#039;&quot;&gt;&#039;):r===window?&quot;global.window&quot;:e===&quot;children&quot;&amp;&amp;typeof r==&quot;object&quot;&amp;&amp;r!==null?&quot;&lt;&lt;CHILDREN&gt;&gt;&quot;:r}var gk={accessibilityLayer:!0,barCategoryGap:&quot;10%&quot;,barGap:4,barSize:void 0,className:void 0,maxBarSize:void 0,stackOffset:&quot;none&quot;,syncId:void 0,syncMethod:&quot;index&quot;,baseValue:void 0,reverseStackOrder:!1},XA=oi({name:&quot;rootProps&quot;,initialState:gk,reducers:{updateOptions:(e,r)=&gt;{var t;e.accessibilityLayer=r.payload.accessibilityLayer,e.barCategoryGap=r.payload.barCategoryGap,e.barGap=(t=r.payload.barGap)!==null&amp;&amp;t!==void 0?t:gk.barGap,e.barSize=r.payload.barSize,e.maxBarSize=r.payload.maxBarSize,e.stackOffset=r.payload.stackOffset,e.syncId=r.payload.syncId,e.syncMethod=r.payload.syncMethod,e.className=r.payload.className,e.baseValue=r.payload.baseValue,e.reverseStackOrder=r.payload.reverseStackOrder}}}),fne=XA.reducer,{updateOptions:hne}=XA.actions,GA=oi({name:&quot;polarOptions&quot;,initialState:null,reducers:{updatePolarOptions:(e,r)=&gt;r.payload}}),{updatePolarOptions:hse}=GA.actions,mne=GA.reducer,YA=Bi(&quot;keyDown&quot;),ZA=Bi(&quot;focus&quot;),B2=ad();B2.startListening({actionCreator:YA,effect:(e,r)=&gt;{var t=r.getState(),n=t.rootProps.accessibilityLayer!==!1;if(n){var{keyboardInteraction:l}=t.tooltip,i=e.payload;if(!(i!==&quot;ArrowRight&quot;&amp;&amp;i!==&quot;ArrowLeft&quot;&amp;&amp;i!==&quot;Enter&quot;)){var a=x2(l,kc(t),pd(t),bd(t)),u=a==null?-1:Number(a);if(!(!Number.isFinite(u)||u&lt;0)){var o=ma(t);if(i===&quot;Enter&quot;){var s=Sm(t,&quot;axis&quot;,&quot;hover&quot;,String(l.index));r.dispatch(ix({active:!l.active,activeIndex:l.index,activeCoordinate:s}));return}var c=bG(t),f=c===&quot;left-to-right&quot;?1:-1,h=i===&quot;ArrowRight&quot;?1:-1,m=u+h*f;if(!(o==null||m&gt;=o.length||m&lt;0)){var p=Sm(t,&quot;axis&quot;,&quot;hover&quot;,String(m));r.dispatch(ix({active:!0,activeIndex:m.toString(),activeCoordinate:p}))}}}}}});B2.startListening({actionCreator:ZA,effect:(e,r)=&gt;{var t=r.getState(),n=t.rootProps.accessibilityLayer!==!1;if(n){var{keyboardInteraction:l}=t.tooltip;if(!l.active&amp;&amp;l.index==null){var i=&quot;0&quot;,a=Sm(t,&quot;axis&quot;,&quot;hover&quot;,String(i));r.dispatch(ix({active:!0,activeIndex:i,activeCoordinate:a}))}}}});var Oi=Bi(&quot;externalEvent&quot;),QA=ad(),Ay=new Map;QA.startListening({actionCreator:Oi,effect:(e,r)=&gt;{var{handler:t,reactEvent:n}=e.payload;if(t!=null){n.persist();var l=n.type,i=Ay.get(l);i!==void 0&amp;&amp;cancelAnimationFrame(i);var a=requestAnimationFrame(()=&gt;{try{var u=r.getState(),o={activeCoordinate:mY(u),activeDataKey:z9(u),activeIndex:ol(u),activeLabel:B9(u),activeTooltipIndex:ol(u),isTooltipActive:pY(u)};t(o,n)}finally{Ay.delete(l)}});Ay.set(l,a)}}});var pne=Oe([jc],e=&gt;e.tooltipItemPayloads),gne=Oe([pne,yd,(e,r)=&gt;r,(e,r,t)=&gt;t],(e,r,t,n)=&gt;{var l=e.find(u=&gt;u.settings.graphicalItemId===n);if(l!=null){var{positions:i}=l;if(i!=null){var a=r(i,t);return a}}}),JA=Bi(&quot;touchMove&quot;),eM=ad();eM.startListening({actionCreator:JA,effect:(e,r)=&gt;{var t=e.payload;if(!(t.touches==null||t.touches.length===0)){var n=r.getState(),l=b2(n,n.tooltip.settings.shared);if(l===&quot;axis&quot;){var i=t.touches[0];if(i==null)return;var a=L2(n,F2({clientX:i.clientX,clientY:i.clientY,currentTarget:t.currentTarget}));a?.activeIndex!=null&amp;&amp;r.dispatch(E9({activeIndex:a.activeIndex,activeDataKey:void 0,activeCoordinate:a.activeCoordinate}))}else if(l===&quot;item&quot;){var u,o=t.touches[0];if(document.elementFromPoint==null||o==null)return;var s=document.elementFromPoint(o.clientX,o.clientY);if(!s||!s.getAttribute)return;var c=s.getAttribute(JU),f=(u=s.getAttribute(eV))!==null&amp;&amp;u!==void 0?u:void 0,h=Sc(n).find(v=&gt;v.id===f);if(c==null||h==null||f==null)return;var{dataKey:m}=h,p=gne(n,c,f);r.dispatch(N9({activeDataKey:m,activeIndex:c,activeCoordinate:p,activeGraphicalItemId:f}))}}}});var vne=IC({brush:tee,cartesianAxis:LJ,chartData:mZ,errorBars:Qee,graphicalItems:pJ,layout:IU,legend:KV,options:cZ,polarAxis:FQ,polarOptions:mne,referenceElements:lee,rootProps:fne,tooltip:MG,zIndex:ZY}),yne=function(r){var t=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:&quot;Chart&quot;;return sU({reducer:vne,preloadedState:r,middleware:n=&gt;{var l;return n({serializableCheck:!1,immutableCheck:![&quot;commonjs&quot;,&quot;es6&quot;,&quot;production&quot;].includes((l=&quot;es6&quot;)!==null&amp;&amp;l!==void 0?l:&quot;&quot;)}).concat([WA.middleware,KA.middleware,B2.middleware,QA.middleware,eM.middleware])},enhancers:n=&gt;{var l=n;return typeof n==&quot;function&quot;&amp;&amp;(l=n()),l.concat(GC({type:&quot;raf&quot;}))},devTools:{serialize:{replacer:dne},name:&quot;recharts-&quot;.concat(t)}})};function bne(e){var{preloadedState:r,children:t,reduxStoreName:n}=e,l=Ln(),i=F.useRef(null);if(l)return t;i.current==null&amp;&amp;(i.current=yne(r,n));var a=y1;return F.createElement(Cte,{context:a,store:i.current},t)}function xne(e){var{layout:r,margin:t}=e,n=Pr(),l=Ln();return F.useEffect(()=&gt;{l||(n(OU(r)),n(MU(t)))},[n,l,r,t]),null}var wne=F.memo(xne,Lp);function _ne(e){var r=Pr();return F.useEffect(()=&gt;{r(hne(e))},[r,e]),null}function vk(e){var{zIndex:r,isPanorama:t}=e,n=F.useRef(null),l=Pr();return F.useLayoutEffect(()=&gt;(n.current&amp;&amp;l(GY({zIndex:r,element:n.current,isPanorama:t})),()=&gt;{l(YY({zIndex:r,isPanorama:t}))}),[l,r,t]),F.createElement(&quot;g&quot;,{tabIndex:-1,ref:n})}function yk(e){var{children:r,isPanorama:t}=e,n=wt(BY);if(!n||n.length===0)return r;var l=n.filter(a=&gt;a&lt;0),i=n.filter(a=&gt;a&gt;0);return F.createElement(F.Fragment,null,l.map(a=&gt;F.createElement(vk,{key:a,zIndex:a,isPanorama:t})),r,i.map(a=&gt;F.createElement(vk,{key:a,zIndex:a,isPanorama:t})))}var jne=[&quot;children&quot;];function Sne(e,r){if(e==null)return{};var t,n,l=kne(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(l[t]=e[t])}return l}function kne(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function Pm(){return Pm=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Pm.apply(null,arguments)}var Nne={width:&quot;100%&quot;,height:&quot;100%&quot;,display:&quot;block&quot;},Cne=F.forwardRef((e,r)=&gt;{var t=C1(),n=E1(),l=S7();if(!As(t)||!As(n))return null;var{children:i,otherAttributes:a,title:u,desc:o}=e,s,c;return a!=null&amp;&amp;(typeof a.tabIndex==&quot;number&quot;?s=a.tabIndex:s=l?0:void 0,typeof a.role==&quot;string&quot;?c=a.role:c=l?&quot;application&quot;:void 0),F.createElement(o1,Pm({},a,{title:u,desc:o,role:c,tabIndex:s,width:t,height:n,style:Nne,ref:r}),i)}),Ene=e=&gt;{var{children:r}=e,t=wt(up);if(!t)return null;var{width:n,height:l,y:i,x:a}=t;return F.createElement(o1,{width:n,height:l,x:a,y:i},r)},bk=F.forwardRef((e,r)=&gt;{var{children:t}=e,n=Sne(e,jne),l=Ln();return l?F.createElement(Ene,null,F.createElement(yk,{isPanorama:!0},t)):F.createElement(Cne,Pm({ref:r},n),F.createElement(yk,{isPanorama:!1},t))});function Ane(){var e=Pr(),[r,t]=F.useState(null),n=wt(QU);return F.useEffect(()=&gt;{if(r!=null){var l=r.getBoundingClientRect(),i=l.width/r.offsetWidth;Or(i)&amp;&amp;i!==n&amp;&amp;e(TU(i))}},[r,e,n]),t}function xk(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),t.push.apply(t,n)}return t}function Mne(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?xk(Object(t),!0).forEach(function(n){One(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):xk(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function One(e,r,t){return(r=Pne(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Pne(e){var r=Tne(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Tne(e,r){if(typeof e!=&quot;object&quot;||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,r);if(typeof n!=&quot;object&quot;)return n;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(r===&quot;string&quot;?String:Number)(e)}function cl(){return cl=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},cl.apply(null,arguments)}var Ine=()=&gt;(jZ(),null);function Tm(e){if(typeof e==&quot;number&quot;)return e;if(typeof e==&quot;string&quot;){var r=parseFloat(e);if(!Number.isNaN(r))return r}return 0}var Rne=F.forwardRef((e,r)=&gt;{var t,n,l=F.useRef(null),[i,a]=F.useState({containerWidth:Tm((t=e.style)===null||t===void 0?void 0:t.width),containerHeight:Tm((n=e.style)===null||n===void 0?void 0:n.height)}),u=F.useCallback((s,c)=&gt;{a(f=&gt;{var h=Math.round(s),m=Math.round(c);return f.containerWidth===h&amp;&amp;f.containerHeight===m?f:{containerWidth:h,containerHeight:m}})},[]),o=F.useCallback(s=&gt;{if(typeof r==&quot;function&quot;&amp;&amp;r(s),s!=null&amp;&amp;typeof ResizeObserver&lt;&quot;u&quot;){var{width:c,height:f}=s.getBoundingClientRect();u(c,f);var h=p=&gt;{var{width:v,height:g}=p[0].contentRect;u(v,g)},m=new ResizeObserver(h);m.observe(s),l.current=m}},[r,u]);return F.useEffect(()=&gt;()=&gt;{var s=l.current;s?.disconnect()},[u]),F.createElement(F.Fragment,null,F.createElement(fp,{width:i.containerWidth,height:i.containerHeight}),F.createElement(&quot;div&quot;,cl({ref:o},e)))}),Dne=F.forwardRef((e,r)=&gt;{var{width:t,height:n}=e,[l,i]=F.useState({containerWidth:Tm(t),containerHeight:Tm(n)}),a=F.useCallback((o,s)=&gt;{i(c=&gt;{var f=Math.round(o),h=Math.round(s);return c.containerWidth===f&amp;&amp;c.containerHeight===h?c:{containerWidth:f,containerHeight:h}})},[]),u=F.useCallback(o=&gt;{if(typeof r==&quot;function&quot;&amp;&amp;r(o),o!=null){var{width:s,height:c}=o.getBoundingClientRect();a(s,c)}},[r,a]);return F.createElement(F.Fragment,null,F.createElement(fp,{width:l.containerWidth,height:l.containerHeight}),F.createElement(&quot;div&quot;,cl({ref:u},e)))}),Lne=F.forwardRef((e,r)=&gt;{var{width:t,height:n}=e;return F.createElement(F.Fragment,null,F.createElement(fp,{width:t,height:n}),F.createElement(&quot;div&quot;,cl({ref:r},e)))}),Fne=F.forwardRef((e,r)=&gt;{var{width:t,height:n}=e;return ea(t)||ea(n)?F.createElement(Dne,cl({},e,{ref:r})):F.createElement(Lne,cl({},e,{ref:r}))});function Bne(e){return e===!0?Rne:Fne}var zne=F.forwardRef((e,r)=&gt;{var{children:t,className:n,height:l,onClick:i,onContextMenu:a,onDoubleClick:u,onMouseDown:o,onMouseEnter:s,onMouseLeave:c,onMouseMove:f,onMouseUp:h,onTouchEnd:m,onTouchMove:p,onTouchStart:v,style:g,width:b,responsive:x,dispatchTouchEvents:_=!0}=e,C=F.useRef(null),O=Pr(),[R,H]=F.useState(null),[L,q]=F.useState(null),W=Ane(),K=N1(),U=K?.width&gt;0?K.width:b,P=K?.height&gt;0?K.height:l,D=F.useCallback(T=&gt;{W(T),typeof r==&quot;function&quot;&amp;&amp;r(T),H(T),q(T),T!=null&amp;&amp;(C.current=T)},[W,r,H,q]),E=F.useCallback(T=&gt;{O(HA(T)),O(Oi({handler:i,reactEvent:T}))},[O,i]),j=F.useCallback(T=&gt;{O(px(T)),O(Oi({handler:s,reactEvent:T}))},[O,s]),k=F.useCallback(T=&gt;{O(C9()),O(Oi({handler:c,reactEvent:T}))},[O,c]),S=F.useCallback(T=&gt;{O(px(T)),O(Oi({handler:f,reactEvent:T}))},[O,f]),N=F.useCallback(()=&gt;{O(ZA())},[O]),M=F.useCallback(T=&gt;{O(YA(T.key))},[O]),I=F.useCallback(T=&gt;{O(Oi({handler:a,reactEvent:T}))},[O,a]),B=F.useCallback(T=&gt;{O(Oi({handler:u,reactEvent:T}))},[O,u]),Y=F.useCallback(T=&gt;{O(Oi({handler:o,reactEvent:T}))},[O,o]),Z=F.useCallback(T=&gt;{O(Oi({handler:h,reactEvent:T}))},[O,h]),ie=F.useCallback(T=&gt;{O(Oi({handler:v,reactEvent:T}))},[O,v]),$=F.useCallback(T=&gt;{_&amp;&amp;O(JA(T)),O(Oi({handler:p,reactEvent:T}))},[O,_,p]),ee=F.useCallback(T=&gt;{O(Oi({handler:m,reactEvent:T}))},[O,m]),z=Bne(x);return F.createElement(K9.Provider,{value:R},F.createElement(Z8.Provider,{value:L},F.createElement(z,{width:U??g?.width,height:P??g?.height,className:ar(&quot;recharts-wrapper&quot;,n),style:Mne({position:&quot;relative&quot;,cursor:&quot;default&quot;,width:U,height:P},g),onClick:E,onContextMenu:I,onDoubleClick:B,onFocus:N,onKeyDown:M,onMouseDown:Y,onMouseEnter:j,onMouseLeave:k,onMouseMove:S,onMouseUp:Z,onTouchEnd:ee,onTouchMove:$,onTouchStart:ie,ref:D},F.createElement(Ine,null),t)))}),$ne=[&quot;width&quot;,&quot;height&quot;,&quot;responsive&quot;,&quot;children&quot;,&quot;className&quot;,&quot;style&quot;,&quot;compact&quot;,&quot;title&quot;,&quot;desc&quot;];function Une(e,r){if(e==null)return{};var t,n,l=Vne(e,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n&lt;i.length;n++)t=i[n],r.indexOf(t)===-1&amp;&amp;{}.propertyIsEnumerable.call(e,t)&amp;&amp;(l[t]=e[t])}return l}function Vne(e,r){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(r.indexOf(n)!==-1)continue;t[n]=e[n]}return t}var qne=F.forwardRef((e,r)=&gt;{var{width:t,height:n,responsive:l,children:i,className:a,style:u,compact:o,title:s,desc:c}=e,f=Une(e,$ne),h=os(f);return o?F.createElement(F.Fragment,null,F.createElement(fp,{width:t,height:n}),F.createElement(bk,{otherAttributes:h,title:s,desc:c},i)):F.createElement(zne,{className:a,style:u,width:t,height:n,responsive:l??!1,onClick:e.onClick,onMouseLeave:e.onMouseLeave,onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseDown:e.onMouseDown,onMouseUp:e.onMouseUp,onContextMenu:e.onContextMenu,onDoubleClick:e.onDoubleClick,onTouchStart:e.onTouchStart,onTouchMove:e.onTouchMove,onTouchEnd:e.onTouchEnd},F.createElement(bk,{otherAttributes:h,title:s,desc:c,ref:r},F.createElement(uee,null,i)))});function gx(){return gx=Object.assign?Object.assign.bind():function(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},gx.apply(null,arguments)}var Hne={top:5,right:5,bottom:5,left:5},Wne={accessibilityLayer:!0,barCategoryGap:&quot;10%&quot;,barGap:4,layout:&quot;horizontal&quot;,margin:Hne,responsive:!1,reverseStackOrder:!1,stackOffset:&quot;none&quot;,syncMethod:&quot;index&quot;},tM=F.forwardRef(function(r,t){var n,l=Nn(r.categoricalChartProps,Wne),{chartName:i,defaultTooltipEventType:a,validateTooltipEventTypes:u,tooltipPayloadSearcher:o,categoricalChartProps:s}=r,c={chartName:i,defaultTooltipEventType:a,validateTooltipEventTypes:u,tooltipPayloadSearcher:o,eventEmitter:void 0};return F.createElement(bne,{preloadedState:{options:c},reduxStoreName:(n=s.id)!==null&amp;&amp;n!==void 0?n:i},F.createElement(eee,{chartData:s.data}),F.createElement(wne,{layout:l.layout,margin:l.margin}),F.createElement(_ne,{baseValue:l.baseValue,accessibilityLayer:l.accessibilityLayer,barCategoryGap:l.barCategoryGap,maxBarSize:l.maxBarSize,stackOffset:l.stackOffset,barGap:l.barGap,barSize:l.barSize,syncId:l.syncId,syncMethod:l.syncMethod,className:l.className,reverseStackOrder:l.reverseStackOrder}),F.createElement(qne,gx({},l,{ref:t})))}),Kne=[&quot;axis&quot;],Xne=F.forwardRef((e,r)=&gt;F.createElement(tM,{chartName:&quot;LineChart&quot;,defaultTooltipEventType:&quot;axis&quot;,validateTooltipEventTypes:Kne,tooltipPayloadSearcher:X9,categoricalChartProps:e,ref:r})),Gne=[&quot;axis&quot;,&quot;item&quot;],wk=F.forwardRef((e,r)=&gt;F.createElement(tM,{chartName:&quot;BarChart&quot;,defaultTooltipEventType:&quot;axis&quot;,validateTooltipEventTypes:Gne,tooltipPayloadSearcher:X9,categoricalChartProps:e,ref:r}));const Yne=2,_k=1;function Zne({stats:e,loading:r}){if(r)return d.jsx(&quot;div&quot;,{className:&quot;grid grid-cols-1 lg:grid-cols-2 gap-4&quot;,children:[1,2].map(f=&gt;d.jsx(Wn,{className:&quot;animate-pulse&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;h-[220px] bg-gray-200 rounded&quot;})},f))});if(!e)return d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 py-4 text-center&quot;,children:&quot;Aucune statistique disponible pour les graphiques.&quot;});const t=(e.timeline||[]).map(f=&gt;({date:new Date(f.date).toLocaleDateString(&quot;fr-FR&quot;,{day:&quot;2-digit&quot;,month:&quot;2-digit&quot;}),count:f.count})),n=Object.entries(e.by_status||{}).filter(([,f])=&gt;f&gt;0).map(([f,h])=&gt;({status:s1(f).label,count:h})),l=(e.by_plan||[]).slice(0,5).map(f=&gt;({name:f.pricing_plan_code||f.pricing_plan_name||&quot;-&quot;,count:f.count})),i=t.reduce((f,h)=&gt;f+h.count,0),a=n.reduce((f,h)=&gt;f+h.count,0),u=t.length&gt;=Yne&amp;&amp;i&gt;=_k,o=n.length&gt;=1&amp;&amp;a&gt;=_k,s=l.length&gt;=1&amp;&amp;l.some(f=&gt;f.count&gt;0);return!u&amp;&amp;!o&amp;&amp;!s?d.jsx(&quot;div&quot;,{className:&quot;rounded-lg border border-dashed border-gray-200 bg-gray-50/80 px-4 py-8 text-center&quot;,children:d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600&quot;,children:&quot;Pas assez de données pour afficher les graphiques. Les statistiques apparaîtront lorsque plus d&#039;inscriptions seront enregistrées.&quot;})}):d.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 lg:grid-cols-2 gap-4&quot;,children:[u?d.jsxs(Wn,{children:[d.jsx(&quot;h3&quot;,{className:&quot;text-base font-semibold text-ink-900 mb-3&quot;,children:&quot;Évolution dans le temps&quot;}),d.jsx(Yv,{width:&quot;100%&quot;,height:220,children:d.jsxs(Xne,{data:t,children:[d.jsx(kh,{strokeDasharray:&quot;3 3&quot;}),d.jsx(Nh,{dataKey:&quot;date&quot;,tick:{fontSize:11}}),d.jsx(Ch,{tick:{fontSize:11}}),d.jsx(my,{}),d.jsx(_h,{}),d.jsx(zA,{type:&quot;monotone&quot;,dataKey:&quot;count&quot;,stroke:&quot;#0B4A6F&quot;,strokeWidth:2,name:&quot;Inscriptions&quot;})]})})]}):null,o?d.jsxs(Wn,{children:[d.jsx(&quot;h3&quot;,{className:&quot;text-base font-semibold text-ink-900 mb-3&quot;,children:&quot;Répartition par statut&quot;}),d.jsx(Yv,{width:&quot;100%&quot;,height:220,children:d.jsxs(wk,{data:n,children:[d.jsx(kh,{strokeDasharray:&quot;3 3&quot;}),d.jsx(Nh,{dataKey:&quot;status&quot;,tick:{fontSize:10},interval:0,angle:-25,textAnchor:&quot;end&quot;,height:60}),d.jsx(Ch,{tick:{fontSize:11}}),d.jsx(my,{}),d.jsx(_h,{}),d.jsx(fx,{dataKey:&quot;count&quot;,fill:&quot;#0B4A6F&quot;,name:&quot;Nombre&quot;})]})})]}):null]}),s?d.jsxs(Wn,{children:[d.jsx(&quot;h3&quot;,{className:&quot;text-base font-semibold text-ink-900 mb-3&quot;,children:&quot;Répartition par formule&quot;}),d.jsx(Yv,{width:&quot;100%&quot;,height:220,children:d.jsxs(wk,{data:l,children:[d.jsx(kh,{strokeDasharray:&quot;3 3&quot;}),d.jsx(Nh,{dataKey:&quot;name&quot;,tick:{fontSize:11}}),d.jsx(Ch,{tick:{fontSize:11}}),d.jsx(my,{}),d.jsx(_h,{}),d.jsx(fx,{dataKey:&quot;count&quot;,fill:&quot;#1F6F8B&quot;,name:&quot;Nombre&quot;})]})})]}):null]})}const jk=[&quot;total&quot;,&quot;draft&quot;,&quot;submitted&quot;,&quot;pending_payment&quot;,&quot;paid&quot;];function Qne({counts:e,loading:r,activeSingleStatus:t,onKpiClick:n}){return r?d.jsx(&quot;div&quot;,{className:&quot;flex min-w-0 flex-wrap gap-1.5&quot;,children:jk.map(l=&gt;d.jsx(&quot;div&quot;,{className:&quot;h-12 min-w-0 flex-[1_1_5rem] max-w-[9rem] animate-pulse rounded-lg bg-gray-200 sm:h-14 sm:flex-[1_1_5.5rem]&quot;,&quot;aria-hidden&quot;:!0},l))}):d.jsx(&quot;div&quot;,{className:&quot;flex min-w-0 flex-wrap gap-1.5&quot;,role:&quot;group&quot;,&quot;aria-label&quot;:&quot;Indicateurs par statut&quot;,children:jk.map(l=&gt;{const i=l===&quot;total&quot;,a=i?Object.values(e).reduce((s,c)=&gt;s+c,0):e[l]??0,u=i?&quot;Total&quot;:s1(l).label,o=i?t===null:t===l;return d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;n(l),className:`min-w-0 max-w-[9rem] flex-[1_1_5rem] rounded-lg border px-2 py-1.5 text-left transition-colors sm:max-w-[10rem] sm:flex-[1_1_5.5rem] sm:px-2.5 sm:py-2 ${o?&quot;border-brand-700 bg-brand-50 ring-1 ring-brand-700/20&quot;:&quot;border-gray-200 bg-white hover:bg-gray-50&quot;}`,children:[d.jsx(&quot;div&quot;,{className:&quot;line-clamp-2 text-[9px] font-medium uppercase leading-tight tracking-wide text-ink-500 sm:text-[10px]&quot;,children:u}),d.jsx(&quot;div&quot;,{className:&quot;text-base font-semibold tabular-nums sm:text-lg&quot;,children:a})]},l)})})}function dh(e){throw new Error(&#039;Could not dynamically require &quot;&#039;+e+&#039;&quot;. Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.&#039;)}var My={exports:{}};var Sk;function Jne(){return Sk||(Sk=1,(function(e,r){(function(t){e.exports=t()})((function(){return(function t(n,l,i){function a(s,c){if(!l[s]){if(!n[s]){var f=typeof dh==&quot;function&quot;&amp;&amp;dh;if(!c&amp;&amp;f)return f(s,!0);if(u)return u(s,!0);var h=new Error(&quot;Cannot find module &#039;&quot;+s+&quot;&#039;&quot;);throw h.code=&quot;MODULE_NOT_FOUND&quot;,h}var m=l[s]={exports:{}};n[s][0].call(m.exports,(function(p){return a(n[s][1][p]||p)}),m,m.exports,t,n,l,i)}return l[s].exports}for(var u=typeof dh==&quot;function&quot;&amp;&amp;dh,o=0;o&lt;i.length;o++)a(i[o]);return a})({1:[function(t,n,l){const i=t(&quot;fs&quot;),a=t(&quot;fast-csv&quot;),u=t(&quot;dayjs/plugin/customParseFormat&quot;),o=t(&quot;dayjs/plugin/utc&quot;),s=t(&quot;dayjs&quot;).extend(u).extend(o),c=t(&quot;../utils/stream-buf&quot;),{fs:{exists:f}}=t(&quot;../utils/utils&quot;),h={true:!0,false:!1,&quot;#N/A&quot;:{error:&quot;#N/A&quot;},&quot;#REF!&quot;:{error:&quot;#REF!&quot;},&quot;#NAME?&quot;:{error:&quot;#NAME?&quot;},&quot;#DIV/0!&quot;:{error:&quot;#DIV/0!&quot;},&quot;#NULL!&quot;:{error:&quot;#NULL!&quot;},&quot;#VALUE!&quot;:{error:&quot;#VALUE!&quot;},&quot;#NUM!&quot;:{error:&quot;#NUM!&quot;}};n.exports=class{constructor(m){this.workbook=m,this.worksheet=null}async readFile(m,p){if(p=p||{},!await f(m))throw new Error(&quot;File not found: &quot;+m);const v=i.createReadStream(m),g=await this.read(v,p);return v.close(),g}read(m,p){return p=p||{},new Promise((v,g)=&gt;{const b=this.workbook.addWorksheet(p.sheetName),x=p.dateFormats||[&quot;YYYY-MM-DD[T]HH:mm:ssZ&quot;,&quot;YYYY-MM-DD[T]HH:mm:ss&quot;,&quot;MM-DD-YYYY&quot;,&quot;YYYY-MM-DD&quot;],_=p.map||function(O){if(O===&quot;&quot;)return null;const R=Number(O);if(!Number.isNaN(R)&amp;&amp;R!==1/0)return R;const H=x.reduce((q,W)=&gt;{if(q)return q;const K=s(O,W,!0);return K.isValid()?K:null},null);if(H)return new Date(H.valueOf());const L=h[O];return L!==void 0?L:O},C=a.parse(p.parserOptions).on(&quot;data&quot;,O=&gt;{b.addRow(O.map(_))}).on(&quot;end&quot;,()=&gt;{C.emit(&quot;worksheet&quot;,b)});C.on(&quot;worksheet&quot;,v).on(&quot;error&quot;,g),m.pipe(C)})}createInputStream(){throw new Error(&quot;`CSV#createInputStream` is deprecated. You should use `CSV#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md&quot;)}write(m,p){return new Promise((v,g)=&gt;{p=p||{};const b=this.workbook.getWorksheet(p.sheetName||p.sheetId),x=a.format(p.formatterOptions);m.on(&quot;finish&quot;,()=&gt;{v()}),x.on(&quot;error&quot;,g),x.pipe(m);const{dateFormat:_,dateUTC:C}=p,O=p.map||(L=&gt;{if(L){if(L.text||L.hyperlink)return L.hyperlink||L.text||&quot;&quot;;if(L.formula||L.result)return L.result||&quot;&quot;;if(L instanceof Date)return _?C?s.utc(L).format(_):s(L).format(_):C?s.utc(L).format():s(L).format();if(L.error)return L.error;if(typeof L==&quot;object&quot;)return JSON.stringify(L)}return L}),R=p.includeEmptyRows===void 0||p.includeEmptyRows;let H=1;b&amp;&amp;b.eachRow((L,q)=&gt;{if(R)for(;H++&lt;q-1;)x.write([]);const{values:W}=L;W.shift(),x.write(W.map(O)),H=q}),x.end()})}writeFile(m,p){const v={encoding:(p=p||{}).encoding||&quot;utf8&quot;},g=i.createWriteStream(m,v);return this.write(g,p)}async writeBuffer(m){const p=new c;return await this.write(p,m),p.read()}}},{&quot;../utils/stream-buf&quot;:24,&quot;../utils/utils&quot;:27,dayjs:391,&quot;dayjs/plugin/customParseFormat&quot;:392,&quot;dayjs/plugin/utc&quot;:393,&quot;fast-csv&quot;:424,fs:216}],2:[function(t,n,l){const i=t(&quot;../utils/col-cache&quot;);class a{constructor(o,s){let c=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:0;if(this.worksheet=o,s)if(typeof s==&quot;string&quot;){const f=i.decodeAddress(s);this.nativeCol=f.col+c,this.nativeColOff=0,this.nativeRow=f.row+c,this.nativeRowOff=0}else s.nativeCol!==void 0?(this.nativeCol=s.nativeCol||0,this.nativeColOff=s.nativeColOff||0,this.nativeRow=s.nativeRow||0,this.nativeRowOff=s.nativeRowOff||0):s.col!==void 0?(this.col=s.col+c,this.row=s.row+c):(this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0);else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0}static asInstance(o){return o instanceof a||o==null?o:new a(o)}get col(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth}set col(o){this.nativeCol=Math.floor(o),this.nativeColOff=Math.floor((o-this.nativeCol)*this.colWidth)}get row(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight}set row(o){this.nativeRow=Math.floor(o),this.nativeRowOff=Math.floor((o-this.nativeRow)*this.rowHeight)}get colWidth(){return this.worksheet&amp;&amp;this.worksheet.getColumn(this.nativeCol+1)&amp;&amp;this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(1e4*this.worksheet.getColumn(this.nativeCol+1).width):64e4}get rowHeight(){return this.worksheet&amp;&amp;this.worksheet.getRow(this.nativeRow+1)&amp;&amp;this.worksheet.getRow(this.nativeRow+1).height?Math.floor(1e4*this.worksheet.getRow(this.nativeRow+1).height):18e4}get model(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}}set model(o){this.nativeCol=o.nativeCol,this.nativeColOff=o.nativeColOff,this.nativeRow=o.nativeRow,this.nativeRowOff=o.nativeRowOff}}n.exports=a},{&quot;../utils/col-cache&quot;:19}],3:[function(t,n,l){const i=t(&quot;../utils/col-cache&quot;),a=t(&quot;../utils/under-dash&quot;),u=t(&quot;./enums&quot;),{slideFormula:o}=t(&quot;../utils/shared-formula&quot;),s=t(&quot;./note&quot;);class c{constructor(m,p,v){if(!m||!p)throw new Error(&quot;A Cell needs a Row&quot;);this._row=m,this._column=p,i.validateAddress(v),this._address=v,this._value=f.create(c.Types.Null,this),this.style=this._mergeStyle(m.style,p.style,{}),this._mergeCount=0}get worksheet(){return this._row.worksheet}get workbook(){return this._row.worksheet.workbook}destroy(){delete this.style,delete this._value,delete this._row,delete this._column,delete this._address}get numFmt(){return this.style.numFmt}set numFmt(m){this.style.numFmt=m}get font(){return this.style.font}set font(m){this.style.font=m}get alignment(){return this.style.alignment}set alignment(m){this.style.alignment=m}get border(){return this.style.border}set border(m){this.style.border=m}get fill(){return this.style.fill}set fill(m){this.style.fill=m}get protection(){return this.style.protection}set protection(m){this.style.protection=m}_mergeStyle(m,p,v){const g=m&amp;&amp;m.numFmt||p&amp;&amp;p.numFmt;g&amp;&amp;(v.numFmt=g);const b=m&amp;&amp;m.font||p&amp;&amp;p.font;b&amp;&amp;(v.font=b);const x=m&amp;&amp;m.alignment||p&amp;&amp;p.alignment;x&amp;&amp;(v.alignment=x);const _=m&amp;&amp;m.border||p&amp;&amp;p.border;_&amp;&amp;(v.border=_);const C=m&amp;&amp;m.fill||p&amp;&amp;p.fill;C&amp;&amp;(v.fill=C);const O=m&amp;&amp;m.protection||p&amp;&amp;p.protection;return O&amp;&amp;(v.protection=O),v}get address(){return this._address}get row(){return this._row.number}get col(){return this._column.number}get $col$row(){return`$${this._column.letter}$${this.row}`}get type(){return this._value.type}get effectiveType(){return this._value.effectiveType}toCsvString(){return this._value.toCsvString()}addMergeRef(){this._mergeCount++}releaseMergeRef(){this._mergeCount--}get isMerged(){return this._mergeCount&gt;0||this.type===c.Types.Merge}merge(m,p){this._value.release(),this._value=f.create(c.Types.Merge,this,m),p||(this.style=m.style)}unmerge(){this.type===c.Types.Merge&amp;&amp;(this._value.release(),this._value=f.create(c.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{}))}isMergedTo(m){return this._value.type===c.Types.Merge&amp;&amp;this._value.isMergedTo(m)}get master(){return this.type===c.Types.Merge?this._value.master:this}get isHyperlink(){return this._value.type===c.Types.Hyperlink}get hyperlink(){return this._value.hyperlink}get value(){return this._value.value}set value(m){this.type!==c.Types.Merge?(this._value.release(),this._value=f.create(f.getType(m),this,m)):this._value.master.value=m}get note(){return this._comment&amp;&amp;this._comment.note}set note(m){this._comment=new s(m)}get text(){return this._value.toString()}get html(){return a.escapeHtml(this.text)}toString(){return this.text}_upgradeToHyperlink(m){this.type===c.Types.String&amp;&amp;(this._value=f.create(c.Types.Hyperlink,this,{text:this._value.value,hyperlink:m}))}get formula(){return this._value.formula}get result(){return this._value.result}get formulaType(){return this._value.formulaType}get fullAddress(){const{worksheet:m}=this._row;return{sheetName:m.name,address:this.address,row:this.row,col:this.col}}get name(){return this.names[0]}set name(m){this.names=[m]}get names(){return this.workbook.definedNames.getNamesEx(this.fullAddress)}set names(m){const{definedNames:p}=this.workbook;p.removeAllNames(this.fullAddress),m.forEach(v=&gt;{p.addEx(this.fullAddress,v)})}addName(m){this.workbook.definedNames.addEx(this.fullAddress,m)}removeName(m){this.workbook.definedNames.removeEx(this.fullAddress,m)}removeAllNames(){this.workbook.definedNames.removeAllNames(this.fullAddress)}get _dataValidations(){return this.worksheet.dataValidations}get dataValidation(){return this._dataValidations.find(this.address)}set dataValidation(m){this._dataValidations.add(this.address,m)}get model(){const{model:m}=this._value;return m.style=this.style,this._comment&amp;&amp;(m.comment=this._comment.model),m}set model(m){this._value.release(),this._value=f.create(m.type,this),this._value.model=m,m.comment&amp;&amp;m.comment.type===&quot;note&quot;&amp;&amp;(this._comment=s.fromModel(m.comment)),m.style?this.style=m.style:this.style={}}}c.Types=u.ValueType;const f={getType:h=&gt;h==null?c.Types.Null:h instanceof String||typeof h==&quot;string&quot;?c.Types.String:typeof h==&quot;number&quot;?c.Types.Number:typeof h==&quot;boolean&quot;?c.Types.Boolean:h instanceof Date?c.Types.Date:h.text&amp;&amp;h.hyperlink?c.Types.Hyperlink:h.formula||h.sharedFormula?c.Types.Formula:h.richText?c.Types.RichText:h.sharedString?c.Types.SharedString:h.error?c.Types.Error:c.Types.JSON,types:[{t:c.Types.Null,f:class{constructor(h){this.model={address:h.address,type:c.Types.Null}}get value(){return null}set value(h){}get type(){return c.Types.Null}get effectiveType(){return c.Types.Null}get address(){return this.model.address}set address(h){this.model.address=h}toCsvString(){return&quot;&quot;}release(){}toString(){return&quot;&quot;}}},{t:c.Types.Number,f:class{constructor(h,m){this.model={address:h.address,type:c.Types.Number,value:m}}get value(){return this.model.value}set value(h){this.model.value=h}get type(){return c.Types.Number}get effectiveType(){return c.Types.Number}get address(){return this.model.address}set address(h){this.model.address=h}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}},{t:c.Types.String,f:class{constructor(h,m){this.model={address:h.address,type:c.Types.String,value:m}}get value(){return this.model.value}set value(h){this.model.value=h}get type(){return c.Types.String}get effectiveType(){return c.Types.String}get address(){return this.model.address}set address(h){this.model.address=h}toCsvString(){return`&quot;${this.model.value.replace(/&quot;/g,&#039;&quot;&quot;&#039;)}&quot;`}release(){}toString(){return this.model.value}}},{t:c.Types.Date,f:class{constructor(h,m){this.model={address:h.address,type:c.Types.Date,value:m}}get value(){return this.model.value}set value(h){this.model.value=h}get type(){return c.Types.Date}get effectiveType(){return c.Types.Date}get address(){return this.model.address}set address(h){this.model.address=h}toCsvString(){return this.model.value.toISOString()}release(){}toString(){return this.model.value.toString()}}},{t:c.Types.Hyperlink,f:class{constructor(h,m){this.model={address:h.address,type:c.Types.Hyperlink,text:m?m.text:void 0,hyperlink:m?m.hyperlink:void 0},m&amp;&amp;m.tooltip&amp;&amp;(this.model.tooltip=m.tooltip)}get value(){const h={text:this.model.text,hyperlink:this.model.hyperlink};return this.model.tooltip&amp;&amp;(h.tooltip=this.model.tooltip),h}set value(h){this.model={text:h.text,hyperlink:h.hyperlink},h.tooltip&amp;&amp;(this.model.tooltip=h.tooltip)}get text(){return this.model.text}set text(h){this.model.text=h}get hyperlink(){return this.model.hyperlink}set hyperlink(h){this.model.hyperlink=h}get type(){return c.Types.Hyperlink}get effectiveType(){return c.Types.Hyperlink}get address(){return this.model.address}set address(h){this.model.address=h}toCsvString(){return this.model.hyperlink}release(){}toString(){return this.model.text}}},{t:c.Types.Formula,f:class{constructor(h,m){this.cell=h,this.model={address:h.address,type:c.Types.Formula,shareType:m?m.shareType:void 0,ref:m?m.ref:void 0,formula:m?m.formula:void 0,sharedFormula:m?m.sharedFormula:void 0,result:m?m.result:void 0}}_copyModel(h){const m={},p=v=&gt;{const g=h[v];g&amp;&amp;(m[v]=g)};return p(&quot;formula&quot;),p(&quot;result&quot;),p(&quot;ref&quot;),p(&quot;shareType&quot;),p(&quot;sharedFormula&quot;),m}get value(){return this._copyModel(this.model)}set value(h){this.model=this._copyModel(h)}validate(h){switch(f.getType(h)){case c.Types.Null:case c.Types.String:case c.Types.Number:case c.Types.Date:break;case c.Types.Hyperlink:case c.Types.Formula:default:throw new Error(&quot;Cannot process that type of result value&quot;)}}get dependencies(){return{ranges:this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),cells:this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,&quot;&quot;).match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g)}}get formula(){return this.model.formula||this._getTranslatedFormula()}set formula(h){this.model.formula=h}get formulaType(){return this.model.formula?u.FormulaType.Master:this.model.sharedFormula?u.FormulaType.Shared:u.FormulaType.None}get result(){return this.model.result}set result(h){this.model.result=h}get type(){return c.Types.Formula}get effectiveType(){const h=this.model.result;return h==null?u.ValueType.Null:h instanceof String||typeof h==&quot;string&quot;?u.ValueType.String:typeof h==&quot;number&quot;?u.ValueType.Number:h instanceof Date?u.ValueType.Date:h.text&amp;&amp;h.hyperlink?u.ValueType.Hyperlink:h.formula?u.ValueType.Formula:u.ValueType.Null}get address(){return this.model.address}set address(h){this.model.address=h}_getTranslatedFormula(){if(!this._translatedFormula&amp;&amp;this.model.sharedFormula){const{worksheet:h}=this.cell,m=h.findCell(this.model.sharedFormula);this._translatedFormula=m&amp;&amp;o(m.formula,m.address,this.model.address)}return this._translatedFormula}toCsvString(){return&quot;&quot;+(this.model.result||&quot;&quot;)}release(){}toString(){return this.model.result?this.model.result.toString():&quot;&quot;}}},{t:c.Types.Merge,f:class{constructor(h,m){this.model={address:h.address,type:c.Types.Merge,master:m?m.address:void 0},this._master=m,m&amp;&amp;m.addMergeRef()}get value(){return this._master.value}set value(h){h instanceof c?(this._master&amp;&amp;this._master.releaseMergeRef(),h.addMergeRef(),this._master=h):this._master.value=h}isMergedTo(h){return h===this._master}get master(){return this._master}get type(){return c.Types.Merge}get effectiveType(){return this._master.effectiveType}get address(){return this.model.address}set address(h){this.model.address=h}toCsvString(){return&quot;&quot;}release(){this._master.releaseMergeRef()}toString(){return this.value.toString()}}},{t:c.Types.JSON,f:class{constructor(h,m){this.model={address:h.address,type:c.Types.String,value:JSON.stringify(m),rawValue:m}}get value(){return this.model.rawValue}set value(h){this.model.rawValue=h,this.model.value=JSON.stringify(h)}get type(){return c.Types.String}get effectiveType(){return c.Types.String}get address(){return this.model.address}set address(h){this.model.address=h}toCsvString(){return this.model.value}release(){}toString(){return this.model.value}}},{t:c.Types.SharedString,f:class{constructor(h,m){this.model={address:h.address,type:c.Types.SharedString,value:m}}get value(){return this.model.value}set value(h){this.model.value=h}get type(){return c.Types.SharedString}get effectiveType(){return c.Types.SharedString}get address(){return this.model.address}set address(h){this.model.address=h}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}},{t:c.Types.RichText,f:class{constructor(h,m){this.model={address:h.address,type:c.Types.String,value:m}}get value(){return this.model.value}set value(h){this.model.value=h}toString(){return this.model.value.richText.map(h=&gt;h.text).join(&quot;&quot;)}get type(){return c.Types.RichText}get effectiveType(){return c.Types.RichText}get address(){return this.model.address}set address(h){this.model.address=h}toCsvString(){return`&quot;${this.text.replace(/&quot;/g,&#039;&quot;&quot;&#039;)}&quot;`}release(){}}},{t:c.Types.Boolean,f:class{constructor(h,m){this.model={address:h.address,type:c.Types.Boolean,value:m}}get value(){return this.model.value}set value(h){this.model.value=h}get type(){return c.Types.Boolean}get effectiveType(){return c.Types.Boolean}get address(){return this.model.address}set address(h){this.model.address=h}toCsvString(){return this.model.value?1:0}release(){}toString(){return this.model.value.toString()}}},{t:c.Types.Error,f:class{constructor(h,m){this.model={address:h.address,type:c.Types.Error,value:m}}get value(){return this.model.value}set value(h){this.model.value=h}get type(){return c.Types.Error}get effectiveType(){return c.Types.Error}get address(){return this.model.address}set address(h){this.model.address=h}toCsvString(){return this.toString()}release(){}toString(){return this.model.value.error.toString()}}}].reduce((h,m)=&gt;(h[m.t]=m.f,h),[]),create(h,m,p){const v=this.types[h];if(!v)throw new Error(&quot;Could not create Value of type &quot;+h);return new v(m,p)}};n.exports=c},{&quot;../utils/col-cache&quot;:19,&quot;../utils/shared-formula&quot;:23,&quot;../utils/under-dash&quot;:26,&quot;./enums&quot;:7,&quot;./note&quot;:9}],4:[function(t,n,l){const i=t(&quot;../utils/under-dash&quot;),a=t(&quot;./enums&quot;),u=t(&quot;../utils/col-cache&quot;);class o{constructor(c,f,h){this._worksheet=c,this._number=f,h!==!1&amp;&amp;(this.defn=h)}get number(){return this._number}get worksheet(){return this._worksheet}get letter(){return u.n2l(this._number)}get isCustomWidth(){return this.width!==void 0&amp;&amp;this.width!==9}get defn(){return{header:this._header,key:this.key,width:this.width,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel}}set defn(c){c?(this.key=c.key,this.width=c.width!==void 0?c.width:9,this.outlineLevel=c.outlineLevel,c.style?this.style=c.style:this.style={},this.header=c.header,this._hidden=!!c.hidden):(delete this._header,delete this._key,delete this.width,this.style={},this.outlineLevel=0)}get headers(){return this._header&amp;&amp;this._header instanceof Array?this._header:[this._header]}get header(){return this._header}set header(c){c!==void 0?(this._header=c,this.headers.forEach((f,h)=&gt;{this._worksheet.getCell(h+1,this.number).value=f})):this._header=void 0}get key(){return this._key}set key(c){(this._key&amp;&amp;this._worksheet.getColumnKey(this._key))===this&amp;&amp;this._worksheet.deleteColumnKey(this._key),this._key=c,c&amp;&amp;this._worksheet.setColumnKey(this._key,this)}get hidden(){return!!this._hidden}set hidden(c){this._hidden=c}get outlineLevel(){return this._outlineLevel||0}set outlineLevel(c){this._outlineLevel=c}get collapsed(){return!!(this._outlineLevel&amp;&amp;this._outlineLevel&gt;=this._worksheet.properties.outlineLevelCol)}toString(){return JSON.stringify({key:this.key,width:this.width,headers:this.headers.length?this.headers:void 0})}equivalentTo(c){return this.width===c.width&amp;&amp;this.hidden===c.hidden&amp;&amp;this.outlineLevel===c.outlineLevel&amp;&amp;i.isEqual(this.style,c.style)}get isDefault(){if(this.isCustomWidth||this.hidden||this.outlineLevel)return!1;const c=this.style;return!c||!(c.font||c.numFmt||c.alignment||c.border||c.fill||c.protection)}get headerCount(){return this.headers.length}eachCell(c,f){const h=this.number;f||(f=c,c=null),this._worksheet.eachRow(c,(m,p)=&gt;{f(m.getCell(h),p)})}get values(){const c=[];return this.eachCell((f,h)=&gt;{f&amp;&amp;f.type!==a.ValueType.Null&amp;&amp;(c[h]=f.value)}),c}set values(c){if(!c)return;const f=this.number;let h=0;c.hasOwnProperty(&quot;0&quot;)&amp;&amp;(h=1),c.forEach((m,p)=&gt;{this._worksheet.getCell(p+h,f).value=m})}_applyStyle(c,f){return this.style[c]=f,this.eachCell(h=&gt;{h[c]=f}),f}get numFmt(){return this.style.numFmt}set numFmt(c){this._applyStyle(&quot;numFmt&quot;,c)}get font(){return this.style.font}set font(c){this._applyStyle(&quot;font&quot;,c)}get alignment(){return this.style.alignment}set alignment(c){this._applyStyle(&quot;alignment&quot;,c)}get protection(){return this.style.protection}set protection(c){this._applyStyle(&quot;protection&quot;,c)}get border(){return this.style.border}set border(c){this._applyStyle(&quot;border&quot;,c)}get fill(){return this.style.fill}set fill(c){this._applyStyle(&quot;fill&quot;,c)}static toModel(c){const f=[];let h=null;return c&amp;&amp;c.forEach((m,p)=&gt;{m.isDefault?h&amp;&amp;(h=null):h&amp;&amp;m.equivalentTo(h)?h.max=p+1:(h={min:p+1,max:p+1,width:m.width!==void 0?m.width:9,style:m.style,isCustomWidth:m.isCustomWidth,hidden:m.hidden,outlineLevel:m.outlineLevel,collapsed:m.collapsed},f.push(h))}),f.length?f:void 0}static fromModel(c,f){const h=[];let m=1,p=0;for(f=(f=f||[]).sort((function(v,g){return v.min-g.min}));p&lt;f.length;){const v=f[p++];for(;m&lt;v.min;)h.push(new o(c,m++));for(;m&lt;=v.max;)h.push(new o(c,m++,v))}return h.length?h:null}}n.exports=o},{&quot;../utils/col-cache&quot;:19,&quot;../utils/under-dash&quot;:26,&quot;./enums&quot;:7}],5:[function(t,n,l){n.exports=class{constructor(i){this.model=i||{}}add(i,a){return this.model[i]=a}find(i){return this.model[i]}remove(i){this.model[i]=void 0}}},{}],6:[function(t,n,l){const i=t(&quot;../utils/under-dash&quot;),a=t(&quot;../utils/col-cache&quot;),u=t(&quot;../utils/cell-matrix&quot;),o=t(&quot;./range&quot;),s=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/;n.exports=class{constructor(){this.matrixMap={}}getMatrix(c){return this.matrixMap[c]||(this.matrixMap[c]=new u)}add(c,f){const h=a.decodeEx(c);this.addEx(h,f)}addEx(c,f){const h=this.getMatrix(f);if(c.top)for(let m=c.left;m&lt;=c.right;m++)for(let p=c.top;p&lt;=c.bottom;p++){const v={sheetName:c.sheetName,address:a.n2l(m)+p,row:p,col:m};h.addCellEx(v)}else h.addCellEx(c)}remove(c,f){const h=a.decodeEx(c);this.removeEx(h,f)}removeEx(c,f){this.getMatrix(f).removeCellEx(c)}removeAllNames(c){i.each(this.matrixMap,f=&gt;{f.removeCellEx(c)})}forEach(c){i.each(this.matrixMap,(f,h)=&gt;{f.forEach(m=&gt;{c(h,m)})})}getNames(c){return this.getNamesEx(a.decodeEx(c))}getNamesEx(c){return i.map(this.matrixMap,(f,h)=&gt;f.findCellEx(c)&amp;&amp;h).filter(Boolean)}_explore(c,f){f.mark=!1;const{sheetName:h}=f,m=new o(f.row,f.col,f.row,f.col,h);let p,v;function g(x,_){const C=c.findCellAt(h,x,f.col);return!(!C||!C.mark)&amp;&amp;(m[_]=x,C.mark=!1,!0)}for(v=f.row-1;g(v,&quot;top&quot;);v--);for(v=f.row+1;g(v,&quot;bottom&quot;);v++);function b(x,_){const C=[];for(v=m.top;v&lt;=m.bottom;v++){const O=c.findCellAt(h,v,x);if(!O||!O.mark)return!1;C.push(O)}m[_]=x;for(let O=0;O&lt;C.length;O++)C[O].mark=!1;return!0}for(p=f.col-1;b(p,&quot;left&quot;);p--);for(p=f.col+1;b(p,&quot;right&quot;);p++);return m}getRanges(c,f){return(f=f||this.matrixMap[c])?(f.forEach(h=&gt;{h.mark=!0}),{name:c,ranges:f.map(h=&gt;h.mark&amp;&amp;this._explore(f,h)).filter(Boolean).map(h=&gt;h.$shortRange)}):{name:c,ranges:[]}}normaliseMatrix(c,f){c.forEachInSheet(f,(h,m,p)=&gt;{h&amp;&amp;(h.row===m&amp;&amp;h.col===p||(h.row=m,h.col=p,h.address=a.n2l(p)+m))})}spliceRows(c,f,h,m){i.each(this.matrixMap,p=&gt;{p.spliceRows(c,f,h,m),this.normaliseMatrix(p,c)})}spliceColumns(c,f,h,m){i.each(this.matrixMap,p=&gt;{p.spliceColumns(c,f,h,m),this.normaliseMatrix(p,c)})}get model(){return i.map(this.matrixMap,(c,f)=&gt;this.getRanges(f,c)).filter(c=&gt;c.ranges.length)}set model(c){const f=this.matrixMap={};c.forEach(h=&gt;{const m=f[h.name]=new u;h.ranges.forEach(p=&gt;{s.test(p.split(&quot;!&quot;).pop()||&quot;&quot;)&amp;&amp;m.addCell(p)})})}}},{&quot;../utils/cell-matrix&quot;:18,&quot;../utils/col-cache&quot;:19,&quot;../utils/under-dash&quot;:26,&quot;./range&quot;:10}],7:[function(t,n,l){n.exports={ValueType:{Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10},FormulaType:{None:0,Master:1,Shared:2},RelationshipType:{None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},DocumentType:{Xlsx:1},ReadingOrder:{LeftToRight:1,RightToLeft:2},ErrorValue:{NotApplicable:&quot;#N/A&quot;,Ref:&quot;#REF!&quot;,Name:&quot;#NAME?&quot;,DivZero:&quot;#DIV/0!&quot;,Null:&quot;#NULL!&quot;,Value:&quot;#VALUE!&quot;,Num:&quot;#NUM!&quot;}}},{}],8:[function(t,n,l){const i=t(&quot;../utils/col-cache&quot;),a=t(&quot;./anchor&quot;);n.exports=class{constructor(u,o){this.worksheet=u,this.model=o}get model(){switch(this.type){case&quot;background&quot;:return{type:this.type,imageId:this.imageId};case&quot;image&quot;:return{type:this.type,imageId:this.imageId,hyperlinks:this.range.hyperlinks,range:{tl:this.range.tl.model,br:this.range.br&amp;&amp;this.range.br.model,ext:this.range.ext,editAs:this.range.editAs}};default:throw new Error(&quot;Invalid Image Type&quot;)}}set model(u){let{type:o,imageId:s,range:c,hyperlinks:f}=u;if(this.type=o,this.imageId=s,o===&quot;image&quot;)if(typeof c==&quot;string&quot;){const h=i.decode(c);this.range={tl:new a(this.worksheet,{col:h.left,row:h.top},-1),br:new a(this.worksheet,{col:h.right,row:h.bottom},0),editAs:&quot;oneCell&quot;}}else this.range={tl:new a(this.worksheet,c.tl,0),br:c.br&amp;&amp;new a(this.worksheet,c.br,0),ext:c.ext,editAs:c.editAs,hyperlinks:f||c.hyperlinks}}}},{&quot;../utils/col-cache&quot;:19,&quot;./anchor&quot;:2}],9:[function(t,n,l){const i=t(&quot;../utils/under-dash&quot;);class a{constructor(o){this.note=o}get model(){let o=null;return typeof this.note===&quot;string&quot;?o={type:&quot;note&quot;,note:{texts:[{text:this.note}]}}:o={type:&quot;note&quot;,note:this.note},i.deepMerge({},a.DEFAULT_CONFIGS,o)}set model(o){const{note:s}=o,{texts:c}=s;c.length===1&amp;&amp;Object.keys(c[0]).length===1?this.note=c[0].text:this.note=s}static fromModel(o){const s=new a;return s.model=o,s}}a.DEFAULT_CONFIGS={note:{margins:{insetmode:&quot;auto&quot;,inset:[.13,.13,.25,.25]},protection:{locked:&quot;True&quot;,lockText:&quot;True&quot;},editAs:&quot;absolute&quot;}},n.exports=a},{&quot;../utils/under-dash&quot;:26}],10:[function(t,n,l){const i=t(&quot;../utils/col-cache&quot;);class a{constructor(){this.decode(arguments)}setTLBR(o,s,c,f,h){if(arguments.length&lt;4){const m=i.decodeAddress(o),p=i.decodeAddress(s);this.model={top:Math.min(m.row,p.row),left:Math.min(m.col,p.col),bottom:Math.max(m.row,p.row),right:Math.max(m.col,p.col),sheetName:c},this.setTLBR(m.row,m.col,p.row,p.col,h)}else this.model={top:Math.min(o,c),left:Math.min(s,f),bottom:Math.max(o,c),right:Math.max(s,f),sheetName:h}}decode(o){switch(o.length){case 5:this.setTLBR(o[0],o[1],o[2],o[3],o[4]);break;case 4:this.setTLBR(o[0],o[1],o[2],o[3]);break;case 3:this.setTLBR(o[0],o[1],o[2]);break;case 2:this.setTLBR(o[0],o[1]);break;case 1:{const s=o[0];if(s instanceof a)this.model={top:s.model.top,left:s.model.left,bottom:s.model.bottom,right:s.model.right,sheetName:s.sheetName};else if(s instanceof Array)this.decode(s);else if(s.top&amp;&amp;s.left&amp;&amp;s.bottom&amp;&amp;s.right)this.model={top:s.top,left:s.left,bottom:s.bottom,right:s.right,sheetName:s.sheetName};else{const c=i.decodeEx(s);c.top?this.model={top:c.top,left:c.left,bottom:c.bottom,right:c.right,sheetName:c.sheetName}:this.model={top:c.row,left:c.col,bottom:c.row,right:c.col,sheetName:c.sheetName}}break}case 0:this.model={top:0,left:0,bottom:0,right:0};break;default:throw new Error(&quot;Invalid number of arguments to _getDimensions() - &quot;+o.length)}}get top(){return this.model.top||1}set top(o){this.model.top=o}get left(){return this.model.left||1}set left(o){this.model.left=o}get bottom(){return this.model.bottom||1}set bottom(o){this.model.bottom=o}get right(){return this.model.right||1}set right(o){this.model.right=o}get sheetName(){return this.model.sheetName}set sheetName(o){this.model.sheetName=o}get _serialisedSheetName(){const{sheetName:o}=this.model;return o?/^[a-zA-Z0-9]*$/.test(o)?o+&quot;!&quot;:`&#039;${o}&#039;!`:&quot;&quot;}expand(o,s,c,f){(!this.model.top||o&lt;this.top)&amp;&amp;(this.top=o),(!this.model.left||s&lt;this.left)&amp;&amp;(this.left=s),(!this.model.bottom||c&gt;this.bottom)&amp;&amp;(this.bottom=c),(!this.model.right||f&gt;this.right)&amp;&amp;(this.right=f)}expandRow(o){if(o){const{dimensions:s,number:c}=o;s&amp;&amp;this.expand(c,s.min,c,s.max)}}expandToAddress(o){const s=i.decodeEx(o);this.expand(s.row,s.col,s.row,s.col)}get tl(){return i.n2l(this.left)+this.top}get $t$l(){return`$${i.n2l(this.left)}$${this.top}`}get br(){return i.n2l(this.right)+this.bottom}get $b$r(){return`$${i.n2l(this.right)}$${this.bottom}`}get range(){return`${this._serialisedSheetName+this.tl}:${this.br}`}get $range(){return`${this._serialisedSheetName+this.$t$l}:${this.$b$r}`}get shortRange(){return this.count&gt;1?this.range:this._serialisedSheetName+this.tl}get $shortRange(){return this.count&gt;1?this.$range:this._serialisedSheetName+this.$t$l}get count(){return(1+this.bottom-this.top)*(1+this.right-this.left)}toString(){return this.range}intersects(o){return(!o.sheetName||!this.sheetName||o.sheetName===this.sheetName)&amp;&amp;!(o.bottom&lt;this.top)&amp;&amp;!(o.top&gt;this.bottom)&amp;&amp;!(o.right&lt;this.left)&amp;&amp;!(o.left&gt;this.right)}contains(o){const s=i.decodeEx(o);return this.containsEx(s)}containsEx(o){return(!o.sheetName||!this.sheetName||o.sheetName===this.sheetName)&amp;&amp;o.row&gt;=this.top&amp;&amp;o.row&lt;=this.bottom&amp;&amp;o.col&gt;=this.left&amp;&amp;o.col&lt;=this.right}forEachAddress(o){for(let s=this.left;s&lt;=this.right;s++)for(let c=this.top;c&lt;=this.bottom;c++)o(i.encodeAddress(c,s),c,s)}}n.exports=a},{&quot;../utils/col-cache&quot;:19}],11:[function(t,n,l){const i=t(&quot;../utils/under-dash&quot;),a=t(&quot;./enums&quot;),u=t(&quot;../utils/col-cache&quot;),o=t(&quot;./cell&quot;);n.exports=class{constructor(s,c){this._worksheet=s,this._number=c,this._cells=[],this.style={},this.outlineLevel=0}get number(){return this._number}get worksheet(){return this._worksheet}commit(){this._worksheet._commitRow(this)}destroy(){delete this._worksheet,delete this._cells,delete this.style}findCell(s){return this._cells[s-1]}getCellEx(s){let c=this._cells[s.col-1];if(!c){const f=this._worksheet.getColumn(s.col);c=new o(this,f,s.address),this._cells[s.col-1]=c}return c}getCell(s){if(typeof s==&quot;string&quot;){const c=this._worksheet.getColumnKey(s);s=c?c.number:u.l2n(s)}return this._cells[s-1]||this.getCellEx({address:u.encodeAddress(this._number,s),row:this._number,col:s})}splice(s,c){const f=s+c;for(var h=arguments.length,m=new Array(h&gt;2?h-2:0),p=2;p&lt;h;p++)m[p-2]=arguments[p];const v=m.length-c,g=this._cells.length;let b,x,_;if(v&lt;0)for(b=s+m.length;b&lt;=g;b++)_=this._cells[b-1],x=this._cells[b-v-1],x?(_=this.getCell(b),_.value=x.value,_.style=x.style,_._comment=x._comment):_&amp;&amp;(_.value=null,_.style={},_._comment=void 0);else if(v&gt;0)for(b=g;b&gt;=f;b--)x=this._cells[b-1],x?(_=this.getCell(b+v),_.value=x.value,_.style=x.style,_._comment=x._comment):this._cells[b+v-1]=void 0;for(b=0;b&lt;m.length;b++)_=this.getCell(s+b),_.value=m[b],_.style={},_._comment=void 0}eachCell(s,c){if(c||(c=s,s=null),s&amp;&amp;s.includeEmpty){const f=this._cells.length;for(let h=1;h&lt;=f;h++)c(this.getCell(h),h)}else this._cells.forEach((f,h)=&gt;{f&amp;&amp;f.type!==a.ValueType.Null&amp;&amp;c(f,h+1)})}addPageBreak(s,c){const f=this._worksheet,h=Math.max(0,s-1)||0,m=Math.max(0,c-1)||16838,p={id:this._number,max:m,man:1};h&amp;&amp;(p.min=h),f.rowBreaks.push(p)}get values(){const s=[];return this._cells.forEach(c=&gt;{c&amp;&amp;c.type!==a.ValueType.Null&amp;&amp;(s[c.col]=c.value)}),s}set values(s){if(this._cells=[],s)if(s instanceof Array){let c=0;s.hasOwnProperty(&quot;0&quot;)&amp;&amp;(c=1),s.forEach((f,h)=&gt;{f!==void 0&amp;&amp;(this.getCellEx({address:u.encodeAddress(this._number,h+c),row:this._number,col:h+c}).value=f)})}else this._worksheet.eachColumnKey((c,f)=&gt;{s[f]!==void 0&amp;&amp;(this.getCellEx({address:u.encodeAddress(this._number,c.number),row:this._number,col:c.number}).value=s[f])})}get hasValues(){return i.some(this._cells,s=&gt;s&amp;&amp;s.type!==a.ValueType.Null)}get cellCount(){return this._cells.length}get actualCellCount(){let s=0;return this.eachCell(()=&gt;{s++}),s}get dimensions(){let s=0,c=0;return this._cells.forEach(f=&gt;{f&amp;&amp;f.type!==a.ValueType.Null&amp;&amp;((!s||s&gt;f.col)&amp;&amp;(s=f.col),c&lt;f.col&amp;&amp;(c=f.col))}),s&gt;0?{min:s,max:c}:null}_applyStyle(s,c){return this.style[s]=c,this._cells.forEach(f=&gt;{f&amp;&amp;(f[s]=c)}),c}get numFmt(){return this.style.numFmt}set numFmt(s){this._applyStyle(&quot;numFmt&quot;,s)}get font(){return this.style.font}set font(s){this._applyStyle(&quot;font&quot;,s)}get alignment(){return this.style.alignment}set alignment(s){this._applyStyle(&quot;alignment&quot;,s)}get protection(){return this.style.protection}set protection(s){this._applyStyle(&quot;protection&quot;,s)}get border(){return this.style.border}set border(s){this._applyStyle(&quot;border&quot;,s)}get fill(){return this.style.fill}set fill(s){this._applyStyle(&quot;fill&quot;,s)}get hidden(){return!!this._hidden}set hidden(s){this._hidden=s}get outlineLevel(){return this._outlineLevel||0}set outlineLevel(s){this._outlineLevel=s}get collapsed(){return!!(this._outlineLevel&amp;&amp;this._outlineLevel&gt;=this._worksheet.properties.outlineLevelRow)}get model(){const s=[];let c=0,f=0;return this._cells.forEach(h=&gt;{if(h){const m=h.model;m&amp;&amp;((!c||c&gt;h.col)&amp;&amp;(c=h.col),f&lt;h.col&amp;&amp;(f=h.col),s.push(m))}}),this.height||s.length?{cells:s,number:this.number,min:c,max:f,height:this.height,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel,collapsed:this.collapsed}:null}set model(s){if(s.number!==this._number)throw new Error(&quot;Invalid row number in model&quot;);let c;this._cells=[],s.cells.forEach(f=&gt;{switch(f.type){case o.Types.Merge:break;default:{let h;if(f.address)h=u.decodeAddress(f.address);else if(c){const{row:m}=c,p=c.col+1;h={row:m,col:p,address:u.encodeAddress(m,p),$col$row:`$${u.n2l(p)}$${m}`}}c=h,this.getCellEx(h).model=f;break}}}),s.height?this.height=s.height:delete this.height,this.hidden=s.hidden,this.outlineLevel=s.outlineLevel||0,this.style=s.style&amp;&amp;JSON.parse(JSON.stringify(s.style))||{}}}},{&quot;../utils/col-cache&quot;:19,&quot;../utils/under-dash&quot;:26,&quot;./cell&quot;:3,&quot;./enums&quot;:7}],12:[function(t,n,l){const i=t(&quot;../utils/col-cache&quot;);class a{constructor(o,s,c){this.table=o,this.column=s,this.index=c}_set(o,s){this.table.cacheState(),this.column[o]=s}get name(){return this.column.name}set name(o){this._set(&quot;name&quot;,o)}get filterButton(){return this.column.filterButton}set filterButton(o){this.column.filterButton=o}get style(){return this.column.style}set style(o){this.column.style=o}get totalsRowLabel(){return this.column.totalsRowLabel}set totalsRowLabel(o){this._set(&quot;totalsRowLabel&quot;,o)}get totalsRowFunction(){return this.column.totalsRowFunction}set totalsRowFunction(o){this._set(&quot;totalsRowFunction&quot;,o)}get totalsRowResult(){return this.column.totalsRowResult}set totalsRowResult(o){this._set(&quot;totalsRowResult&quot;,o)}get totalsRowFormula(){return this.column.totalsRowFormula}set totalsRowFormula(o){this._set(&quot;totalsRowFormula&quot;,o)}}n.exports=class{constructor(u,o){this.worksheet=u,o&amp;&amp;(this.table=o,this.validate(),this.store())}getFormula(u){switch(u.totalsRowFunction){case&quot;none&quot;:return null;case&quot;average&quot;:return`SUBTOTAL(101,${this.table.name}[${u.name}])`;case&quot;countNums&quot;:return`SUBTOTAL(102,${this.table.name}[${u.name}])`;case&quot;count&quot;:return`SUBTOTAL(103,${this.table.name}[${u.name}])`;case&quot;max&quot;:return`SUBTOTAL(104,${this.table.name}[${u.name}])`;case&quot;min&quot;:return`SUBTOTAL(105,${this.table.name}[${u.name}])`;case&quot;stdDev&quot;:return`SUBTOTAL(106,${this.table.name}[${u.name}])`;case&quot;var&quot;:return`SUBTOTAL(107,${this.table.name}[${u.name}])`;case&quot;sum&quot;:return`SUBTOTAL(109,${this.table.name}[${u.name}])`;case&quot;custom&quot;:return u.totalsRowFormula;default:throw new Error(&quot;Invalid Totals Row Function: &quot;+u.totalsRowFunction)}}get width(){return this.table.columns.length}get height(){return this.table.rows.length}get filterHeight(){return this.height+(this.table.headerRow?1:0)}get tableHeight(){return this.filterHeight+(this.table.totalsRow?1:0)}validate(){const{table:u}=this,o=(v,g,b)=&gt;{v[g]===void 0&amp;&amp;(v[g]=b)};o(u,&quot;headerRow&quot;,!0),o(u,&quot;totalsRow&quot;,!1),o(u,&quot;style&quot;,{}),o(u.style,&quot;theme&quot;,&quot;TableStyleMedium2&quot;),o(u.style,&quot;showFirstColumn&quot;,!1),o(u.style,&quot;showLastColumn&quot;,!1),o(u.style,&quot;showRowStripes&quot;,!1),o(u.style,&quot;showColumnStripes&quot;,!1);const s=(v,g)=&gt;{if(!v)throw new Error(g)};s(u.ref,&quot;Table must have ref&quot;),s(u.columns,&quot;Table must have column definitions&quot;),s(u.rows,&quot;Table must have row definitions&quot;),u.tl=i.decodeAddress(u.ref);const{row:c,col:f}=u.tl;s(c&gt;0,&quot;Table must be on valid row&quot;),s(f&gt;0,&quot;Table must be on valid col&quot;);const{width:h,filterHeight:m,tableHeight:p}=this;u.autoFilterRef=i.encode(c,f,c+m-1,f+h-1),u.tableRef=i.encode(c,f,c+p-1,f+h-1),u.columns.forEach((v,g)=&gt;{s(v.name,`Column ${g} must have a name`),g===0?o(v,&quot;totalsRowLabel&quot;,&quot;Total&quot;):(o(v,&quot;totalsRowFunction&quot;,&quot;none&quot;),v.totalsRowFormula=this.getFormula(v))})}store(){const u=(m,p)=&gt;{p&amp;&amp;Object.keys(p).forEach(v=&gt;{m[v]=p[v]})},{worksheet:o,table:s}=this,{row:c,col:f}=s.tl;let h=0;if(s.headerRow){const m=o.getRow(c+h++);s.columns.forEach((p,v)=&gt;{const{style:g,name:b}=p,x=m.getCell(f+v);x.value=b,u(x,g)})}if(s.rows.forEach(m=&gt;{const p=o.getRow(c+h++);m.forEach((v,g)=&gt;{const b=p.getCell(f+g);b.value=v,u(b,s.columns[g].style)})}),s.totalsRow){const m=o.getRow(c+h++);s.columns.forEach((p,v)=&gt;{const g=m.getCell(f+v);if(v===0)g.value=p.totalsRowLabel;else{const b=this.getFormula(p);g.value=b?{formula:p.totalsRowFormula,result:p.totalsRowResult}:null}u(g,p.style)})}}load(u){const{table:o}=this,{row:s,col:c}=o.tl;let f=0;if(o.headerRow){const h=u.getRow(s+f++);o.columns.forEach((m,p)=&gt;{h.getCell(c+p).value=m.name})}if(o.rows.forEach(h=&gt;{const m=u.getRow(s+f++);h.forEach((p,v)=&gt;{m.getCell(c+v).value=p})}),o.totalsRow){const h=u.getRow(s+f++);o.columns.forEach((m,p)=&gt;{const v=h.getCell(c+p);p===0?v.value=m.totalsRowLabel:this.getFormula(m)&amp;&amp;(v.value={formula:m.totalsRowFormula,result:m.totalsRowResult})})}}get model(){return this.table}set model(u){this.table=u}cacheState(){this._cache||(this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight})}commit(){if(!this._cache)return;this.validate();const u=i.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(let o=0;o&lt;this._cache.tableHeight;o++){const s=this.worksheet.getRow(u.row+o);for(let c=0;c&lt;this._cache.width;c++)s.getCell(u.col+c).value=null}else{for(let o=this.tableHeight;o&lt;this._cache.tableHeight;o++){const s=this.worksheet.getRow(u.row+o);for(let c=0;c&lt;this._cache.width;c++)s.getCell(u.col+c).value=null}for(let o=0;o&lt;this.tableHeight;o++){const s=this.worksheet.getRow(u.row+o);for(let c=this.width;c&lt;this._cache.width;c++)s.getCell(u.col+c).value=null}}this.store()}addRow(u,o){this.cacheState(),o===void 0?this.table.rows.push(u):this.table.rows.splice(o,0,u)}removeRows(u){let o=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.rows.splice(u,o)}getColumn(u){const o=this.table.columns[u];return new a(this,o,u)}addColumn(u,o,s){this.cacheState(),s===void 0?(this.table.columns.push(u),this.table.rows.forEach((c,f)=&gt;{c.push(o[f])})):(this.table.columns.splice(s,0,u),this.table.rows.forEach((c,f)=&gt;{c.splice(s,0,o[f])}))}removeColumns(u){let o=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.columns.splice(u,o),this.table.rows.forEach(s=&gt;{s.splice(u,o)})}_assign(u,o,s){this.cacheState(),u[o]=s}get ref(){return this.table.ref}set ref(u){this._assign(this.table,&quot;ref&quot;,u)}get name(){return this.table.name}set name(u){this.table.name=u}get displayName(){return this.table.displyName||this.table.name}set displayNamename(u){this.table.displayName=u}get headerRow(){return this.table.headerRow}set headerRow(u){this._assign(this.table,&quot;headerRow&quot;,u)}get totalsRow(){return this.table.totalsRow}set totalsRow(u){this._assign(this.table,&quot;totalsRow&quot;,u)}get theme(){return this.table.style.name}set theme(u){this.table.style.name=u}get showFirstColumn(){return this.table.style.showFirstColumn}set showFirstColumn(u){this.table.style.showFirstColumn=u}get showLastColumn(){return this.table.style.showLastColumn}set showLastColumn(u){this.table.style.showLastColumn=u}get showRowStripes(){return this.table.style.showRowStripes}set showRowStripes(u){this.table.style.showRowStripes=u}get showColumnStripes(){return this.table.style.showColumnStripes}set showColumnStripes(u){this.table.style.showColumnStripes=u}}},{&quot;../utils/col-cache&quot;:19}],13:[function(t,n,l){const i=t(&quot;./worksheet&quot;),a=t(&quot;./defined-names&quot;),u=t(&quot;../xlsx/xlsx&quot;),o=t(&quot;../csv/csv&quot;);n.exports=class{constructor(){this.category=&quot;&quot;,this.company=&quot;&quot;,this.created=new Date,this.description=&quot;&quot;,this.keywords=&quot;&quot;,this.manager=&quot;&quot;,this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject=&quot;&quot;,this.title=&quot;&quot;,this.views=[],this.media=[],this._definedNames=new a}get xlsx(){return this._xlsx||(this._xlsx=new u(this)),this._xlsx}get csv(){return this._csv||(this._csv=new o(this)),this._csv}get nextId(){for(let s=1;s&lt;this._worksheets.length;s++)if(!this._worksheets[s])return s;return this._worksheets.length||1}addWorksheet(s,c){const f=this.nextId;c&amp;&amp;(typeof c==&quot;string&quot;?(console.trace(&#039;tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { argb: &quot;rbg value&quot; } }&#039;),c={properties:{tabColor:{argb:c}}}):(c.argb||c.theme||c.indexed)&amp;&amp;(console.trace(&quot;tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { ... } }&quot;),c={properties:{tabColor:c}}));const h=this._worksheets.reduce((v,g)=&gt;(g&amp;&amp;g.orderNo)&gt;v?g.orderNo:v,0),m=Object.assign({},c,{id:f,name:s,orderNo:h+1,workbook:this}),p=new i(m);return this._worksheets[f]=p,p}removeWorksheetEx(s){delete this._worksheets[s.id]}removeWorksheet(s){const c=this.getWorksheet(s);c&amp;&amp;c.destroy()}getWorksheet(s){return s===void 0?this._worksheets.find(Boolean):typeof s==&quot;number&quot;?this._worksheets[s]:typeof s==&quot;string&quot;?this._worksheets.find(c=&gt;c&amp;&amp;c.name===s):void 0}get worksheets(){return this._worksheets.slice(1).sort((s,c)=&gt;s.orderNo-c.orderNo).filter(Boolean)}eachSheet(s){this.worksheets.forEach(c=&gt;{s(c,c.id)})}get definedNames(){return this._definedNames}clearThemes(){this._themes=void 0}addImage(s){const c=this.media.length;return this.media.push(Object.assign({},s,{type:&quot;image&quot;})),c}getImage(s){return this.media[s]}get model(){return{creator:this.creator||&quot;Unknown&quot;,lastModifiedBy:this.lastModifiedBy||&quot;Unknown&quot;,lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,worksheets:this.worksheets.map(s=&gt;s.model),sheets:this.worksheets.map(s=&gt;s.model).filter(Boolean),definedNames:this._definedNames.model,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,calcProperties:this.calcProperties}}set model(s){this.creator=s.creator,this.lastModifiedBy=s.lastModifiedBy,this.lastPrinted=s.lastPrinted,this.created=s.created,this.modified=s.modified,this.company=s.company,this.manager=s.manager,this.title=s.title,this.subject=s.subject,this.keywords=s.keywords,this.category=s.category,this.description=s.description,this.language=s.language,this.revision=s.revision,this.contentStatus=s.contentStatus,this.properties=s.properties,this.calcProperties=s.calcProperties,this._worksheets=[],s.worksheets.forEach(c=&gt;{const{id:f,name:h,state:m}=c,p=s.sheets&amp;&amp;s.sheets.findIndex(v=&gt;v.id===f);(this._worksheets[f]=new i({id:f,name:h,orderNo:p,state:m,workbook:this})).model=c}),this._definedNames.model=s.definedNames,this.views=s.views,this._themes=s.themes,this.media=s.media||[]}}},{&quot;../csv/csv&quot;:1,&quot;../xlsx/xlsx&quot;:144,&quot;./defined-names&quot;:6,&quot;./worksheet&quot;:14}],14:[function(t,n,l){const i=t(&quot;../utils/under-dash&quot;),a=t(&quot;../utils/col-cache&quot;),u=t(&quot;./range&quot;),o=t(&quot;./row&quot;),s=t(&quot;./column&quot;),c=t(&quot;./enums&quot;),f=t(&quot;./image&quot;),h=t(&quot;./table&quot;),m=t(&quot;./data-validations&quot;),p=t(&quot;../utils/encryptor&quot;),{copyStyle:v}=t(&quot;../utils/copy-style&quot;);n.exports=class{constructor(g){g=g||{},this._workbook=g.workbook,this.id=g.id,this.orderNo=g.orderNo,this.name=g.name,this.state=g.state||&quot;visible&quot;,this._rows=[],this._columns=null,this._keys={},this._merges={},this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},g.properties),this.pageSetup=Object.assign({},{margins:{left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},orientation:&quot;portrait&quot;,horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!(!g.pageSetup||!g.pageSetup.fitToWidth&amp;&amp;!g.pageSetup.fitToHeight||g.pageSetup.scale),pageOrder:&quot;downThenOver&quot;,blackAndWhite:!1,draft:!1,cellComments:&quot;None&quot;,errors:&quot;displayed&quot;,scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},g.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},g.headerFooter),this.dataValidations=new m,this.views=g.views||[],this.autoFilter=g.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}get name(){return this._name}set name(g){if(g===void 0&amp;&amp;(g=&quot;sheet&quot;+this.id),this._name!==g){if(typeof g!=&quot;string&quot;)throw new Error(&quot;The name has to be a string.&quot;);if(g===&quot;&quot;)throw new Error(&quot;The name can&#039;t be empty.&quot;);if(g===&quot;History&quot;)throw new Error(&#039;The name &quot;History&quot; is protected. Please use a different name.&#039;);if(/[*?:/\\[\]]/.test(g))throw new Error(`Worksheet name ${g} cannot include any of the following characters: * ? : \\ / [ ]`);if(/(^&#039;)|(&#039;$)/.test(g))throw new Error(&quot;The first or last character of worksheet name cannot be a single quotation mark: &quot;+g);if(g&amp;&amp;g.length&gt;31&amp;&amp;(console.warn(`Worksheet name ${g} exceeds 31 chars. This will be truncated`),g=g.substring(0,31)),this._workbook._worksheets.find(b=&gt;b&amp;&amp;b.name.toLowerCase()===g.toLowerCase()))throw new Error(&quot;Worksheet name already exists: &quot;+g);this._name=g}}get workbook(){return this._workbook}destroy(){this._workbook.removeWorksheetEx(this)}get dimensions(){const g=new u;return this._rows.forEach(b=&gt;{if(b){const x=b.dimensions;x&amp;&amp;g.expand(b.number,x.min,b.number,x.max)}}),g}get columns(){return this._columns}set columns(g){this._headerRowCount=g.reduce((_,C)=&gt;{const O=(C.header?1:C.headers&amp;&amp;C.headers.length)||0;return Math.max(_,O)},0);let b=1;const x=this._columns=[];g.forEach(_=&gt;{const C=new s(this,b++,!1);x.push(C),C.defn=_})}getColumnKey(g){return this._keys[g]}setColumnKey(g,b){this._keys[g]=b}deleteColumnKey(g){delete this._keys[g]}eachColumnKey(g){i.each(this._keys,g)}getColumn(g){if(typeof g==&quot;string&quot;){const b=this._keys[g];if(b)return b;g=a.l2n(g)}if(this._columns||(this._columns=[]),g&gt;this._columns.length){let b=this._columns.length+1;for(;b&lt;=g;)this._columns.push(new s(this,b++))}return this._columns[g-1]}spliceColumns(g,b){const x=this._rows.length;for(var _=arguments.length,C=new Array(_&gt;2?_-2:0),O=2;O&lt;_;O++)C[O-2]=arguments[O];if(C.length&gt;0)for(let q=0;q&lt;x;q++){const W=[g,b];C.forEach(U=&gt;{W.push(U[q]||null)});const K=this.getRow(q+1);K.splice.apply(K,W)}else this._rows.forEach(q=&gt;{q&amp;&amp;q.splice(g,b)});const R=C.length-b,H=g+b,L=this._columns.length;if(R&lt;0)for(let q=g+C.length;q&lt;=L;q++)this.getColumn(q).defn=this.getColumn(q-R).defn;else if(R&gt;0)for(let q=L;q&gt;=H;q--)this.getColumn(q+R).defn=this.getColumn(q).defn;for(let q=g;q&lt;g+C.length;q++)this.getColumn(q).defn=null;this.workbook.definedNames.spliceColumns(this.name,g,b,C.length)}get lastColumn(){return this.getColumn(this.columnCount)}get columnCount(){let g=0;return this.eachRow(b=&gt;{g=Math.max(g,b.cellCount)}),g}get actualColumnCount(){const g=[];let b=0;return this.eachRow(x=&gt;{x.eachCell(_=&gt;{let{col:C}=_;g[C]||(g[C]=!0,b++)})}),b}_commitRow(){}get _lastRowNumber(){const g=this._rows;let b=g.length;for(;b&gt;0&amp;&amp;g[b-1]===void 0;)b--;return b}get _nextRow(){return this._lastRowNumber+1}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1]}findRow(g){return this._rows[g-1]}findRows(g,b){return this._rows.slice(g-1,g-1+b)}get rowCount(){return this._lastRowNumber}get actualRowCount(){let g=0;return this.eachRow(()=&gt;{g++}),g}getRow(g){let b=this._rows[g-1];return b||(b=this._rows[g-1]=new o(this,g)),b}getRows(g,b){if(b&lt;1)return;const x=[];for(let _=g;_&lt;g+b;_++)x.push(this.getRow(_));return x}addRow(g){let b=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:&quot;n&quot;;const x=this._nextRow,_=this.getRow(x);return _.values=g,this._setStyleOption(x,b[0]===&quot;i&quot;?b:&quot;n&quot;),_}addRows(g){let b=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:&quot;n&quot;;const x=[];return g.forEach(_=&gt;{x.push(this.addRow(_,b))}),x}insertRow(g,b){let x=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:&quot;n&quot;;return this.spliceRows(g,0,b),this._setStyleOption(g,x),this.getRow(g)}insertRows(g,b){let x=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:&quot;n&quot;;if(this.spliceRows(g,0,...b),x!==&quot;n&quot;)for(let _=0;_&lt;b.length;_++)x[0]===&quot;o&quot;&amp;&amp;this.findRow(b.length+g+_)!==void 0?this._copyStyle(b.length+g+_,g+_,x[1]===&quot;+&quot;):x[0]===&quot;i&quot;&amp;&amp;this.findRow(g-1)!==void 0&amp;&amp;this._copyStyle(g-1,g+_,x[1]===&quot;+&quot;);return this.getRows(g,b.length)}_setStyleOption(g){let b=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:&quot;n&quot;;b[0]===&quot;o&quot;&amp;&amp;this.findRow(g+1)!==void 0?this._copyStyle(g+1,g,b[1]===&quot;+&quot;):b[0]===&quot;i&quot;&amp;&amp;this.findRow(g-1)!==void 0&amp;&amp;this._copyStyle(g-1,g,b[1]===&quot;+&quot;)}_copyStyle(g,b){let x=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];const _=this.getRow(g),C=this.getRow(b);C.style=v(_.style),_.eachCell({includeEmpty:x},(O,R)=&gt;{C.getCell(R).style=v(O.style)}),C.height=_.height}duplicateRow(g,b){let x=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];const _=this._rows[g-1],C=new Array(b).fill(_.values);this.spliceRows(g+1,x?0:b,...C);for(let O=0;O&lt;b;O++){const R=this._rows[g+O];R.style=_.style,R.height=_.height,_.eachCell({includeEmpty:!0},(H,L)=&gt;{R.getCell(L).style=H.style})}}spliceRows(g,b){const x=g+b;for(var _=arguments.length,C=new Array(_&gt;2?_-2:0),O=2;O&lt;_;O++)C[O-2]=arguments[O];const R=C.length,H=R-b,L=this._rows.length;let q,W;if(H&lt;0)for(g===L&amp;&amp;(this._rows[L-1]=void 0),q=x;q&lt;=L;q++)if(W=this._rows[q-1],W){const K=this.getRow(q+H);K.values=W.values,K.style=W.style,K.height=W.height,W.eachCell({includeEmpty:!0},(U,P)=&gt;{K.getCell(P).style=U.style}),this._rows[q-1]=void 0}else this._rows[q+H-1]=void 0;else if(H&gt;0)for(q=L;q&gt;=x;q--)if(W=this._rows[q-1],W){const K=this.getRow(q+H);K.values=W.values,K.style=W.style,K.height=W.height,W.eachCell({includeEmpty:!0},(U,P)=&gt;{if(K.getCell(P).style=U.style,U._value.constructor.name===&quot;MergeValue&quot;){const D=this.getRow(U._row._number+R).getCell(P),E=U._value._master,j=this.getRow(E._row._number+R).getCell(E._column._number);D.merge(j)}})}else this._rows[q+H-1]=void 0;for(q=0;q&lt;R;q++){const K=this.getRow(g+q);K.style={},K.values=C[q]}this.workbook.definedNames.spliceRows(this.name,g,b,R)}eachRow(g,b){if(b||(b=g,g=void 0),g&amp;&amp;g.includeEmpty){const x=this._rows.length;for(let _=1;_&lt;=x;_++)b(this.getRow(_),_)}else this._rows.forEach(x=&gt;{x&amp;&amp;x.hasValues&amp;&amp;b(x,x.number)})}getSheetValues(){const g=[];return this._rows.forEach(b=&gt;{b&amp;&amp;(g[b.number]=b.values)}),g}findCell(g,b){const x=a.getAddress(g,b),_=this._rows[x.row-1];return _?_.findCell(x.col):void 0}getCell(g,b){const x=a.getAddress(g,b);return this.getRow(x.row).getCellEx(x)}mergeCells(){for(var g=arguments.length,b=new Array(g),x=0;x&lt;g;x++)b[x]=arguments[x];const _=new u(b);this._mergeCellsInternal(_)}mergeCellsWithoutStyle(){for(var g=arguments.length,b=new Array(g),x=0;x&lt;g;x++)b[x]=arguments[x];const _=new u(b);this._mergeCellsInternal(_,!0)}_mergeCellsInternal(g,b){i.each(this._merges,_=&gt;{if(_.intersects(g))throw new Error(&quot;Cannot merge already merged cells&quot;)});const x=this.getCell(g.top,g.left);for(let _=g.top;_&lt;=g.bottom;_++)for(let C=g.left;C&lt;=g.right;C++)(_&gt;g.top||C&gt;g.left)&amp;&amp;this.getCell(_,C).merge(x,b);this._merges[x.address]=g}_unMergeMaster(g){const b=this._merges[g.address];if(b){for(let x=b.top;x&lt;=b.bottom;x++)for(let _=b.left;_&lt;=b.right;_++)this.getCell(x,_).unmerge();delete this._merges[g.address]}}get hasMerges(){return i.some(this._merges,Boolean)}unMergeCells(){for(var g=arguments.length,b=new Array(g),x=0;x&lt;g;x++)b[x]=arguments[x];const _=new u(b);for(let C=_.top;C&lt;=_.bottom;C++)for(let O=_.left;O&lt;=_.right;O++){const R=this.findCell(C,O);R&amp;&amp;(R.type===c.ValueType.Merge?this._unMergeMaster(R.master):this._merges[R.address]&amp;&amp;this._unMergeMaster(R))}}fillFormula(g,b,x){let _=arguments.length&gt;3&amp;&amp;arguments[3]!==void 0?arguments[3]:&quot;shared&quot;;const C=a.decode(g),{top:O,left:R,bottom:H,right:L}=C,q=L-R+1,W=a.encodeAddress(O,R),K=_===&quot;shared&quot;;let U;U=typeof x==&quot;function&quot;?x:Array.isArray(x)?Array.isArray(x[0])?(D,E)=&gt;x[D-O][E-R]:(D,E)=&gt;x[(D-O)*q+(E-R)]:()=&gt;{};let P=!0;for(let D=O;D&lt;=H;D++)for(let E=R;E&lt;=L;E++)P?(this.getCell(D,E).value={shareType:_,formula:b,ref:g,result:U(D,E)},P=!1):this.getCell(D,E).value=K?{sharedFormula:W,result:U(D,E)}:U(D,E)}addImage(g,b){const x={type:&quot;image&quot;,imageId:g,range:b};this._media.push(new f(this,x))}getImages(){return this._media.filter(g=&gt;g.type===&quot;image&quot;)}addBackgroundImage(g){const b={type:&quot;background&quot;,imageId:g};this._media.push(new f(this,b))}getBackgroundImageId(){const g=this._media.find(b=&gt;b.type===&quot;background&quot;);return g&amp;&amp;g.imageId}protect(g,b){return new Promise(x=&gt;{this.sheetProtection={sheet:!0},b&amp;&amp;&quot;spinCount&quot;in b&amp;&amp;(b.spinCount=Number.isFinite(b.spinCount)?Math.round(Math.max(0,b.spinCount)):1e5),g&amp;&amp;(this.sheetProtection.algorithmName=&quot;SHA-512&quot;,this.sheetProtection.saltValue=p.randomBytes(16).toString(&quot;base64&quot;),this.sheetProtection.spinCount=b&amp;&amp;&quot;spinCount&quot;in b?b.spinCount:1e5,this.sheetProtection.hashValue=p.convertPasswordToHash(g,&quot;SHA512&quot;,this.sheetProtection.saltValue,this.sheetProtection.spinCount)),b&amp;&amp;(this.sheetProtection=Object.assign(this.sheetProtection,b),!g&amp;&amp;&quot;spinCount&quot;in b&amp;&amp;delete this.sheetProtection.spinCount),x()})}unprotect(){this.sheetProtection=null}addTable(g){const b=new h(this,g);return this.tables[g.name]=b,b}getTable(g){return this.tables[g]}removeTable(g){delete this.tables[g]}getTables(){return Object.values(this.tables)}addConditionalFormatting(g){this.conditionalFormattings.push(g)}removeConditionalFormatting(g){typeof g==&quot;number&quot;?this.conditionalFormattings.splice(g,1):this.conditionalFormattings=g instanceof Function?this.conditionalFormattings.filter(g):[]}get tabColor(){return console.trace(&quot;worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor&quot;),this.properties.tabColor}set tabColor(g){console.trace(&quot;worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor&quot;),this.properties.tabColor=g}get model(){const g={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map(_=&gt;_.model),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map(_=&gt;_.model),conditionalFormattings:this.conditionalFormattings};g.cols=s.toModel(this.columns);const b=g.rows=[],x=g.dimensions=new u;return this._rows.forEach(_=&gt;{const C=_&amp;&amp;_.model;C&amp;&amp;(x.expand(C.number,C.min,C.number,C.max),b.push(C))}),g.merges=[],i.each(this._merges,_=&gt;{g.merges.push(_.range)}),g}_parseRows(g){this._rows=[],g.rows.forEach(b=&gt;{const x=new o(this,b.number);this._rows[x.number-1]=x,x.model=b})}_parseMergeCells(g){i.each(g.mergeCells,b=&gt;{this.mergeCellsWithoutStyle(b)})}set model(g){this.name=g.name,this._columns=s.fromModel(this,g.cols),this._parseRows(g),this._parseMergeCells(g),this.dataValidations=new m(g.dataValidations),this.properties=g.properties,this.pageSetup=g.pageSetup,this.headerFooter=g.headerFooter,this.views=g.views,this.autoFilter=g.autoFilter,this._media=g.media.map(b=&gt;new f(this,b)),this.sheetProtection=g.sheetProtection,this.tables=g.tables.reduce((b,x)=&gt;{const _=new h;return _.model=x,b[x.name]=_,b},{}),this.conditionalFormattings=g.conditionalFormattings}}},{&quot;../utils/col-cache&quot;:19,&quot;../utils/copy-style&quot;:20,&quot;../utils/encryptor&quot;:21,&quot;../utils/under-dash&quot;:26,&quot;./column&quot;:4,&quot;./data-validations&quot;:5,&quot;./enums&quot;:7,&quot;./image&quot;:8,&quot;./range&quot;:10,&quot;./row&quot;:11,&quot;./table&quot;:12}],15:[function(t,n,l){t(&quot;core-js/modules/es.promise&quot;),t(&quot;core-js/modules/es.promise.finally&quot;),t(&quot;core-js/modules/es.object.assign&quot;),t(&quot;core-js/modules/es.object.keys&quot;),t(&quot;core-js/modules/es.object.values&quot;),t(&quot;core-js/modules/es.symbol&quot;),t(&quot;core-js/modules/es.symbol.async-iterator&quot;),t(&quot;core-js/modules/es.array.iterator&quot;),t(&quot;core-js/modules/es.array.includes&quot;),t(&quot;core-js/modules/es.array.find-index&quot;),t(&quot;core-js/modules/es.array.find&quot;),t(&quot;core-js/modules/es.string.from-code-point&quot;),t(&quot;core-js/modules/es.string.includes&quot;),t(&quot;core-js/modules/es.number.is-nan&quot;),t(&quot;regenerator-runtime/runtime&quot;);const i={Workbook:t(&quot;./doc/workbook&quot;)},a=t(&quot;./doc/enums&quot;);Object.keys(a).forEach(u=&gt;{i[u]=a[u]}),n.exports=i},{&quot;./doc/enums&quot;:7,&quot;./doc/workbook&quot;:13,&quot;core-js/modules/es.array.find&quot;:359,&quot;core-js/modules/es.array.find-index&quot;:358,&quot;core-js/modules/es.array.includes&quot;:360,&quot;core-js/modules/es.array.iterator&quot;:361,&quot;core-js/modules/es.number.is-nan&quot;:363,&quot;core-js/modules/es.object.assign&quot;:364,&quot;core-js/modules/es.object.keys&quot;:366,&quot;core-js/modules/es.object.values&quot;:367,&quot;core-js/modules/es.promise&quot;:372,&quot;core-js/modules/es.promise.finally&quot;:371,&quot;core-js/modules/es.string.from-code-point&quot;:376,&quot;core-js/modules/es.string.includes&quot;:377,&quot;core-js/modules/es.symbol&quot;:381,&quot;core-js/modules/es.symbol.async-iterator&quot;:378,&quot;regenerator-runtime/runtime&quot;:492}],16:[function(t,n,l){const i=typeof TextDecoder&gt;&quot;u&quot;?null:new TextDecoder(&quot;utf-8&quot;);l.bufferToString=function(a){return typeof a==&quot;string&quot;?a:i?i.decode(a):a.toString()}},{}],17:[function(t,n,l){const i=typeof TextEncoder&gt;&quot;u&quot;?null:new TextEncoder(&quot;utf-8&quot;),{Buffer:a}=t(&quot;buffer&quot;);l.stringToBuffer=function(u){return typeof u!=&quot;string&quot;?u:i?a.from(i.encode(u).buffer):a.from(u)}},{buffer:220}],18:[function(t,n,l){const i=t(&quot;./under-dash&quot;),a=t(&quot;./col-cache&quot;);n.exports=class{constructor(u){this.template=u,this.sheets={}}addCell(u){this.addCellEx(a.decodeEx(u))}getCell(u){return this.findCellEx(a.decodeEx(u),!0)}findCell(u){return this.findCellEx(a.decodeEx(u),!1)}findCellAt(u,o,s){const c=this.sheets[u],f=c&amp;&amp;c[o];return f&amp;&amp;f[s]}addCellEx(u){if(u.top)for(let o=u.top;o&lt;=u.bottom;o++)for(let s=u.left;s&lt;=u.right;s++)this.getCellAt(u.sheetName,o,s);else this.findCellEx(u,!0)}getCellEx(u){return this.findCellEx(u,!0)}findCellEx(u,o){const s=this.findSheet(u,o),c=this.findSheetRow(s,u,o);return this.findRowCell(c,u,o)}getCellAt(u,o,s){const c=this.sheets[u]||(this.sheets[u]=[]),f=c[o]||(c[o]=[]);return f[s]||(f[s]={sheetName:u,address:a.n2l(s)+o,row:o,col:s})}removeCellEx(u){const o=this.findSheet(u);if(!o)return;const s=this.findSheetRow(o,u);s&amp;&amp;delete s[u.col]}forEachInSheet(u,o){const s=this.sheets[u];s&amp;&amp;s.forEach((c,f)=&gt;{c&amp;&amp;c.forEach((h,m)=&gt;{h&amp;&amp;o(h,f,m)})})}forEach(u){i.each(this.sheets,(o,s)=&gt;{this.forEachInSheet(s,u)})}map(u){const o=[];return this.forEach(s=&gt;{o.push(u(s))}),o}findSheet(u,o){const s=u.sheetName;return this.sheets[s]?this.sheets[s]:o?this.sheets[s]=[]:void 0}findSheetRow(u,o,s){const{row:c}=o;return u&amp;&amp;u[c]?u[c]:s?u[c]=[]:void 0}findRowCell(u,o,s){const{col:c}=o;return u&amp;&amp;u[c]?u[c]:s?u[c]=this.template?Object.assign(o,JSON.parse(JSON.stringify(this.template))):o:void 0}spliceRows(u,o,s,c){const f=this.sheets[u];if(f){const h=[];for(let m=0;m&lt;c;m++)h.push([]);f.splice(o,s,...h)}}spliceColumns(u,o,s,c){const f=this.sheets[u];if(f){const h=[];for(let m=0;m&lt;c;m++)h.push(null);i.each(f,m=&gt;{m.splice(o,s,...h)})}}}},{&quot;./col-cache&quot;:19,&quot;./under-dash&quot;:26}],19:[function(t,n,l){const i=/^[A-Z]+\d+$/,a={_dictionary:[&quot;A&quot;,&quot;B&quot;,&quot;C&quot;,&quot;D&quot;,&quot;E&quot;,&quot;F&quot;,&quot;G&quot;,&quot;H&quot;,&quot;I&quot;,&quot;J&quot;,&quot;K&quot;,&quot;L&quot;,&quot;M&quot;,&quot;N&quot;,&quot;O&quot;,&quot;P&quot;,&quot;Q&quot;,&quot;R&quot;,&quot;S&quot;,&quot;T&quot;,&quot;U&quot;,&quot;V&quot;,&quot;W&quot;,&quot;X&quot;,&quot;Y&quot;,&quot;Z&quot;],_l2nFill:0,_l2n:{},_n2l:[],_level:u=&gt;u&lt;=26?1:u&lt;=676?2:3,_fill(u){let o,s,c,f,h,m=1;if(u&gt;=4)throw new Error(&quot;Out of bounds. Excel supports columns from 1 to 16384&quot;);if(this._l2nFill&lt;1&amp;&amp;u&gt;=1){for(;m&lt;=26;)o=this._dictionary[m-1],this._n2l[m]=o,this._l2n[o]=m,m++;this._l2nFill=1}if(this._l2nFill&lt;2&amp;&amp;u&gt;=2){for(m=27;m&lt;=702;)s=m-27,c=s%26,f=Math.floor(s/26),o=this._dictionary[f]+this._dictionary[c],this._n2l[m]=o,this._l2n[o]=m,m++;this._l2nFill=2}if(this._l2nFill&lt;3&amp;&amp;u&gt;=3){for(m=703;m&lt;=16384;)s=m-703,c=s%26,f=Math.floor(s/26)%26,h=Math.floor(s/676),o=this._dictionary[h]+this._dictionary[f]+this._dictionary[c],this._n2l[m]=o,this._l2n[o]=m,m++;this._l2nFill=3}},l2n(u){if(this._l2n[u]||this._fill(u.length),!this._l2n[u])throw new Error(&quot;Out of bounds. Invalid column letter: &quot;+u);return this._l2n[u]},n2l(u){if(u&lt;1||u&gt;16384)throw new Error(u+&quot; is out of bounds. Excel supports columns from 1 to 16384&quot;);return this._n2l[u]||this._fill(this._level(u)),this._n2l[u]},_hash:{},validateAddress(u){if(!i.test(u))throw new Error(&quot;Invalid Address: &quot;+u);return!0},decodeAddress(u){const o=u.length&lt;5&amp;&amp;this._hash[u];if(o)return o;let s=!1,c=&quot;&quot;,f=0,h=!1,m=&quot;&quot;,p=0;for(let g,b=0;b&lt;u.length;b++)if(g=u.charCodeAt(b),!h&amp;&amp;g&gt;=65&amp;&amp;g&lt;=90)s=!0,c+=u[b],f=26*f+g-64;else if(g&gt;=48&amp;&amp;g&lt;=57)h=!0,m+=u[b],p=10*p+g-48;else if(h&amp;&amp;s&amp;&amp;g!==36)break;if(s){if(f&gt;16384)throw new Error(&quot;Out of bounds. Invalid column letter: &quot;+c)}else f=void 0;h||(p=void 0);const v={address:u=c+m,col:f,row:p,$col$row:`$${c}$${m}`};return f&lt;=100&amp;&amp;p&lt;=100&amp;&amp;(this._hash[u]=v,this._hash[v.$col$row]=v),v},getAddress(u,o){if(o){const s=this.n2l(o)+u;return this.decodeAddress(s)}return this.decodeAddress(u)},decode(u){const o=u.split(&quot;:&quot;);if(o.length===2){const s=this.decodeAddress(o[0]),c=this.decodeAddress(o[1]),f={top:Math.min(s.row,c.row),left:Math.min(s.col,c.col),bottom:Math.max(s.row,c.row),right:Math.max(s.col,c.col)};return f.tl=this.n2l(f.left)+f.top,f.br=this.n2l(f.right)+f.bottom,f.dimensions=`${f.tl}:${f.br}`,f}return this.decodeAddress(u)},decodeEx(u){const o=u.match(/(?:(?:(?:&#039;((?:[^&#039;]|&#039;&#039;)*)&#039;)|([^&#039;^ !]*))!)?(.*)/),s=o[1]||o[2],c=o[3],f=c.split(&quot;:&quot;);if(f.length&gt;1){let m=this.decodeAddress(f[0]),p=this.decodeAddress(f[1]);const v=Math.min(m.row,p.row),g=Math.min(m.col,p.col),b=Math.max(m.row,p.row),x=Math.max(m.col,p.col);return m=this.n2l(g)+v,p=this.n2l(x)+b,{top:v,left:g,bottom:b,right:x,sheetName:s,tl:{address:m,col:g,row:v,$col$row:`$${this.n2l(g)}$${v}`,sheetName:s},br:{address:p,col:x,row:b,$col$row:`$${this.n2l(x)}$${b}`,sheetName:s},dimensions:`${m}:${p}`}}if(c.startsWith(&quot;#&quot;))return s?{sheetName:s,error:c}:{error:c};const h=this.decodeAddress(c);return s?{sheetName:s,...h}:h},encodeAddress:(u,o)=&gt;a.n2l(o)+u,encode(){switch(arguments.length){case 2:return a.encodeAddress(arguments[0],arguments[1]);case 4:return`${a.encodeAddress(arguments[0],arguments[1])}:${a.encodeAddress(arguments[2],arguments[3])}`;default:throw new Error(&quot;Can only encode with 2 or 4 arguments&quot;)}},inRange(u,o){const[s,c,,f,h]=u,[m,p]=o;return m&gt;=s&amp;&amp;m&lt;=f&amp;&amp;p&gt;=c&amp;&amp;p&lt;=h}};n.exports=a},{}],20:[function(t,n,l){const i=(u,o)=&gt;({...u,...o.reduce((s,c)=&gt;(u[c]&amp;&amp;(s[c]={...u[c]}),s),{})}),a=function(u,o,s){let c=arguments.length&gt;3&amp;&amp;arguments[3]!==void 0?arguments[3]:[];u[s]&amp;&amp;(o[s]=i(u[s],c))};l.copyStyle=u=&gt;{if(!u)return u;if(o=u,Object.keys(o).length===0)return{};var o;const s={...u};return a(u,s,&quot;font&quot;,[&quot;color&quot;]),a(u,s,&quot;alignment&quot;),a(u,s,&quot;protection&quot;),u.border&amp;&amp;(a(u,s,&quot;border&quot;),a(u.border,s.border,&quot;top&quot;,[&quot;color&quot;]),a(u.border,s.border,&quot;left&quot;,[&quot;color&quot;]),a(u.border,s.border,&quot;bottom&quot;,[&quot;color&quot;]),a(u.border,s.border,&quot;right&quot;,[&quot;color&quot;]),a(u.border,s.border,&quot;diagonal&quot;,[&quot;color&quot;])),u.fill&amp;&amp;(a(u,s,&quot;fill&quot;,[&quot;fgColor&quot;,&quot;bgColor&quot;,&quot;center&quot;]),u.fill.stops&amp;&amp;(s.fill.stops=u.fill.stops.map(c=&gt;i(c,[&quot;color&quot;])))),s}},{}],21:[function(t,n,l){(function(i){(function(){const a=t(&quot;crypto&quot;),u={hash(o){const s=a.createHash(o);for(var c=arguments.length,f=new Array(c&gt;1?c-1:0),h=1;h&lt;c;h++)f[h-1]=arguments[h];return s.update(i.concat(f)),s.digest()},convertPasswordToHash(o,s,c,f){if(s=s.toLowerCase(),a.getHashes().indexOf(s)&lt;0)throw new Error(`Hash algorithm &#039;${s}&#039; not supported!`);const h=i.from(o,&quot;utf16le&quot;);let m=this.hash(s,i.from(c,&quot;base64&quot;),h);for(let p=0;p&lt;f;p++){const v=i.alloc(4);v.writeUInt32LE(p,0),m=this.hash(s,m,v)}return m.toString(&quot;base64&quot;)},randomBytes:o=&gt;a.randomBytes(o)};n.exports=u}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{buffer:220,crypto:390}],22:[function(t,n,l){const{SaxesParser:i}=t(&quot;saxes&quot;),{PassThrough:a}=t(&quot;readable-stream&quot;),{bufferToString:u}=t(&quot;./browser-buffer-decode&quot;);n.exports=async function*(o){o.pipe&amp;&amp;!o[Symbol.asyncIterator]&amp;&amp;(o=o.pipe(new a));const s=new i;let c;s.on(&quot;error&quot;,h=&gt;{c=h});let f=[];s.on(&quot;opentag&quot;,h=&gt;f.push({eventType:&quot;opentag&quot;,value:h})),s.on(&quot;text&quot;,h=&gt;f.push({eventType:&quot;text&quot;,value:h})),s.on(&quot;closetag&quot;,h=&gt;f.push({eventType:&quot;closetag&quot;,value:h}));for await(const h of o){if(s.write(u(h)),c)throw c;yield f,f=[]}}},{&quot;./browser-buffer-decode&quot;:16,&quot;readable-stream&quot;:491,saxes:496}],23:[function(t,n,l){const i=t(&quot;./col-cache&quot;),a=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,u=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;n.exports={slideFormula:function(o,s,c){const f=i.decode(s),h=i.decode(c);return o.replace(a,(m,p,v,g,b)=&gt;{if(b)return m;const x=u.exec(g);if(x){const _=x[1],C=x[2].toUpperCase(),O=x[3],R=x[4];if(C.length&gt;3||C.length===3&amp;&amp;C&gt;&quot;XFD&quot;)return m;let H=i.l2n(C),L=parseInt(R,10);return _||(H+=h.col-f.col),O||(L+=h.row-f.row),(p||&quot;&quot;)+(_||&quot;&quot;)+i.n2l(H)+(O||&quot;&quot;)+L}return m})}}},{&quot;./col-cache&quot;:19}],24:[function(t,n,l){(function(i,a){(function(){const u=t(&quot;readable-stream&quot;),o=t(&quot;./utils&quot;),s=t(&quot;./string-buf&quot;);class c{constructor(g,b){this._data=g,this._encoding=b}get length(){return this.toBuffer().length}copy(g,b,x,_){return this.toBuffer().copy(g,b,x,_)}toBuffer(){return this._buffer||(this._buffer=a.from(this._data,this._encoding)),this._buffer}}class f{constructor(g){this._data=g}get length(){return this._data.length}copy(g,b,x,_){return this._data._buf.copy(g,b,x,_)}toBuffer(){return this._data.toBuffer()}}class h{constructor(g){this._data=g}get length(){return this._data.length}copy(g,b,x,_){this._data.copy(g,b,x,_)}toBuffer(){return this._data}}class m{constructor(g){this.size=g,this.buffer=a.alloc(g),this.iRead=0,this.iWrite=0}toBuffer(){if(this.iRead===0&amp;&amp;this.iWrite===this.size)return this.buffer;const g=a.alloc(this.iWrite-this.iRead);return this.buffer.copy(g,0,this.iRead,this.iWrite),g}get length(){return this.iWrite-this.iRead}get eod(){return this.iRead===this.iWrite}get full(){return this.iWrite===this.size}read(g){let b;return g===0?null:g===void 0||g&gt;=this.length?(b=this.toBuffer(),this.iRead=this.iWrite,b):(b=a.alloc(g),this.buffer.copy(b,0,this.iRead,g),this.iRead+=g,b)}write(g,b,x){const _=Math.min(x,this.size-this.iWrite);return g.copy(this.buffer,this.iWrite,b,b+_),this.iWrite+=_,_}}const p=function(v){v=v||{},this.bufSize=v.bufSize||1048576,this.buffers=[],this.batch=v.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};o.inherits(p,u.Duplex,{toBuffer(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return a.concat(this.buffers.map(v=&gt;v.toBuffer()))}},_getWritableBuffer(){if(this.buffers.length){const g=this.buffers[this.buffers.length-1];if(!g.full)return g}const v=new m(this.bufSize);return this.buffers.push(v),v},async _pipe(v){await Promise.all(this.pipes.map((function(g){return new Promise(b=&gt;{g.write(v.toBuffer(),()=&gt;{b()})})})))},_writeToBuffers(v){let g=0;const b=v.length;for(;g&lt;b;)g+=this._getWritableBuffer().write(v,g,b-g)},async write(v,g,b){let x;if(g instanceof Function&amp;&amp;(b=g,g=&quot;utf8&quot;),b=b||o.nop,v instanceof s)x=new f(v);else if(v instanceof a)x=new h(v);else{if(!(typeof v==&quot;string&quot;||v instanceof String||v instanceof ArrayBuffer))throw new Error(&quot;Chunk must be one of type String, Buffer or StringBuf.&quot;);x=new c(v,g)}if(this.pipes.length)if(this.batch)for(this._writeToBuffers(x);!this.corked&amp;&amp;this.buffers.length&gt;1;)this._pipe(this.buffers.shift());else this.corked?(this._writeToBuffers(x),i.nextTick(b)):(await this._pipe(x),b());else this.paused||this.emit(&quot;data&quot;,x.toBuffer()),this._writeToBuffers(x),this.emit(&quot;readable&quot;);return!0},cork(){this.corked=!0},_flush(){if(this.pipes.length)for(;this.buffers.length;)this._pipe(this.buffers.shift())},uncork(){this.corked=!1,this._flush()},end(v,g,b){const x=_=&gt;{_?b(_):(this._flush(),this.pipes.forEach(C=&gt;{C.end()}),this.emit(&quot;finish&quot;))};v?this.write(v,g,x):x()},read(v){let g;if(v){for(g=[];v&amp;&amp;this.buffers.length&amp;&amp;!this.buffers[0].eod;){const b=this.buffers[0],x=b.read(v);v-=x.length,g.push(x),b.eod&amp;&amp;b.full&amp;&amp;this.buffers.shift()}return a.concat(g)}return g=this.buffers.map(b=&gt;b.toBuffer()).filter(Boolean),this.buffers=[],a.concat(g)},setEncoding(v){this.encoding=v},pause(){this.paused=!0},resume(){this.paused=!1},isPaused(){return!!this.paused},pipe(v){this.pipes.push(v),!this.paused&amp;&amp;this.buffers.length&amp;&amp;this.end()},unpipe(v){this.pipes=this.pipes.filter(g=&gt;g!==v)},unshift(){throw new Error(&quot;Not Implemented&quot;)},wrap(){throw new Error(&quot;Not Implemented&quot;)}}),n.exports=p}).call(this)}).call(this,t(&quot;_process&quot;),t(&quot;buffer&quot;).Buffer)},{&quot;./string-buf&quot;:25,&quot;./utils&quot;:27,_process:467,buffer:220,&quot;readable-stream&quot;:491}],25:[function(t,n,l){(function(i){(function(){n.exports=class{constructor(a){this._buf=i.alloc(a&amp;&amp;a.size||16384),this._encoding=a&amp;&amp;a.encoding||&quot;utf8&quot;,this._inPos=0,this._buffer=void 0}get length(){return this._inPos}get capacity(){return this._buf.length}get buffer(){return this._buf}toBuffer(){return this._buffer||(this._buffer=i.alloc(this.length),this._buf.copy(this._buffer,0,0,this.length)),this._buffer}reset(a){a=a||0,this._buffer=void 0,this._inPos=a}_grow(a){let u=2*this._buf.length;for(;u&lt;a;)u*=2;const o=i.alloc(u);this._buf.copy(o,0),this._buf=o}addText(a){this._buffer=void 0;let u=this._inPos+this._buf.write(a,this._inPos,this._encoding);for(;u&gt;=this._buf.length-4;)this._grow(this._inPos+a.length),u=this._inPos+this._buf.write(a,this._inPos,this._encoding);this._inPos=u}addStringBuf(a){a.length&amp;&amp;(this._buffer=void 0,this.length+a.length&gt;this.capacity&amp;&amp;this._grow(this.length+a.length),a._buf.copy(this._buf,this._inPos,0,a.length),this._inPos+=a.length)}}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{buffer:220}],26:[function(t,n,l){const{toString:i}=Object.prototype,a=/[&quot;&amp;&lt;&gt;]/,u={each:function(o,s){o&amp;&amp;(Array.isArray(o)?o.forEach(s):Object.keys(o).forEach(c=&gt;{s(o[c],c)}))},some:function(o,s){return!!o&amp;&amp;(Array.isArray(o)?o.some(s):Object.keys(o).some(c=&gt;s(o[c],c)))},every:function(o,s){return!o||(Array.isArray(o)?o.every(s):Object.keys(o).every(c=&gt;s(o[c],c)))},map:function(o,s){return o?Array.isArray(o)?o.map(s):Object.keys(o).map(c=&gt;s(o[c],c)):[]},keyBy:(o,s)=&gt;o.reduce((c,f)=&gt;(c[f[s]]=f,c),{}),isEqual:function(o,s){const c=typeof o,f=typeof s,h=Array.isArray(o),m=Array.isArray(s);let p;if(c!==f)return!1;switch(typeof o){case&quot;object&quot;:if(h||m)return!(!h||!m)&amp;&amp;o.length===s.length&amp;&amp;o.every((v,g)=&gt;{const b=s[g];return u.isEqual(v,b)});if(o===null||s===null)return o===s;if(p=Object.keys(o),Object.keys(s).length!==p.length)return!1;for(const v of p)if(!s.hasOwnProperty(v))return!1;return u.every(o,(v,g)=&gt;{const b=s[g];return u.isEqual(v,b)});default:return o===s}},escapeHtml(o){const s=a.exec(o);if(!s)return o;let c=&quot;&quot;,f=&quot;&quot;,h=0,m=s.index;for(;m&lt;o.length;m++){switch(o.charAt(m)){case&#039;&quot;&#039;:f=&quot;&amp;quot;&quot;;break;case&quot;&amp;&quot;:f=&quot;&amp;amp;&quot;;break;case&quot;&#039;&quot;:f=&quot;&amp;apos;&quot;;break;case&quot;&lt;&quot;:f=&quot;&amp;lt;&quot;;break;case&quot;&gt;&quot;:f=&quot;&amp;gt;&quot;;break;default:continue}h!==m&amp;&amp;(c+=o.substring(h,m)),h=m+1,c+=f}return h!==m?c+o.substring(h,m):c},strcmp:(o,s)=&gt;o&lt;s?-1:o&gt;s?1:0,isUndefined:o=&gt;i.call(o)===&quot;[object Undefined]&quot;,isObject:o=&gt;i.call(o)===&quot;[object Object]&quot;,deepMerge(){const o=arguments[0]||{},{length:s}=arguments;let c,f,h;function m(p,v){c=o[v],h=Array.isArray(p),u.isObject(p)||h?(h?(h=!1,f=c&amp;&amp;Array.isArray(c)?c:[]):f=c&amp;&amp;u.isObject(c)?c:{},o[v]=u.deepMerge(f,p)):u.isUndefined(p)||(o[v]=p)}for(let p=0;p&lt;s;p++)u.each(arguments[p],m);return o}};n.exports=u},{}],27:[function(t,n,l){(function(i,a){(function(){const u=t(&quot;fs&quot;),o=/[&lt;&gt;&amp;&#039;&quot;\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,s={nop(){},promiseImmediate:c=&gt;new Promise(f=&gt;{i.setImmediate?a(()=&gt;{f(c)}):setTimeout(()=&gt;{f(c)},1)}),inherits:function(c,f,h,m){c.super_=f,m||(m=h,h=null),h&amp;&amp;Object.keys(h).forEach(v=&gt;{Object.defineProperty(c,v,Object.getOwnPropertyDescriptor(h,v))});const p={constructor:{value:c,enumerable:!1,writable:!1,configurable:!0}};m&amp;&amp;Object.keys(m).forEach(v=&gt;{p[v]=Object.getOwnPropertyDescriptor(m,v)}),c.prototype=Object.create(f.prototype,p)},dateToExcel:(c,f)=&gt;25569+c.getTime()/864e5-(f?1462:0),excelToDate(c,f){const h=Math.round(24*(c-25569+(f?1462:0))*3600*1e3);return new Date(h)},parsePath(c){const f=c.lastIndexOf(&quot;/&quot;);return{path:c.substring(0,f),name:c.substring(f+1)}},getRelsPath(c){const f=s.parsePath(c);return`${f.path}/_rels/${f.name}.rels`},xmlEncode(c){const f=o.exec(c);if(!f)return c;let h=&quot;&quot;,m=&quot;&quot;,p=0,v=f.index;for(;v&lt;c.length;v++){const g=c.charCodeAt(v);switch(g){case 34:m=&quot;&amp;quot;&quot;;break;case 38:m=&quot;&amp;amp;&quot;;break;case 39:m=&quot;&amp;apos;&quot;;break;case 60:m=&quot;&amp;lt;&quot;;break;case 62:m=&quot;&amp;gt;&quot;;break;case 127:m=&quot;&quot;;break;default:if(g&lt;=31&amp;&amp;(g&lt;=8||g&gt;=11&amp;&amp;g!==13)){m=&quot;&quot;;break}continue}p!==v&amp;&amp;(h+=c.substring(p,v)),p=v+1,m&amp;&amp;(h+=m)}return p!==v?h+c.substring(p,v):h},xmlDecode:c=&gt;c.replace(/&amp;([a-z]*);/g,f=&gt;{switch(f){case&quot;&amp;lt;&quot;:return&quot;&lt;&quot;;case&quot;&amp;gt;&quot;:return&quot;&gt;&quot;;case&quot;&amp;amp;&quot;:return&quot;&amp;&quot;;case&quot;&amp;apos;&quot;:return&quot;&#039;&quot;;case&quot;&amp;quot;&quot;:return&#039;&quot;&#039;;default:return f}}),validInt(c){const f=parseInt(c,10);return Number.isNaN(f)?0:f},isDateFmt(c){return c?(c=(c=c.replace(/\[[^\]]*]/g,&quot;&quot;)).replace(/&quot;[^&quot;]*&quot;/g,&quot;&quot;)).match(/[ymdhMsb]+/)!==null:!1},fs:{exists:c=&gt;new Promise(f=&gt;{u.access(c,u.constants.F_OK,h=&gt;{f(!h)})})},toIsoDateString:c=&gt;c.toIsoString().subsstr(0,10),parseBoolean:c=&gt;c===!0||c===&quot;true&quot;||c===1||c===&quot;1&quot;};n.exports=s}).call(this)}).call(this,typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{},t(&quot;timers&quot;).setImmediate)},{fs:216,timers:523}],28:[function(t,n,l){const i=t(&quot;./under-dash&quot;),a=t(&quot;./utils&quot;);function u(c,f,h){c.push(` ${f}=&quot;${a.xmlEncode(h.toString())}&quot;`)}function o(c,f){if(f){const h=[];i.each(f,(m,p)=&gt;{m!==void 0&amp;&amp;u(h,p,m)}),c.push(h.join(&quot;&quot;))}}class s{constructor(){this._xml=[],this._stack=[],this._rollbacks=[]}get tos(){return this._stack.length?this._stack[this._stack.length-1]:void 0}get cursor(){return this._xml.length}openXml(f){const h=this._xml;h.push(&quot;&lt;?xml&quot;),o(h,f),h.push(`?&gt;
`)}openNode(f,h){const m=this.tos,p=this._xml;m&amp;&amp;this.open&amp;&amp;p.push(&quot;&gt;&quot;),this._stack.push(f),p.push(&quot;&lt;&quot;),p.push(f),o(p,h),this.leaf=!0,this.open=!0}addAttribute(f,h){if(!this.open)throw new Error(&quot;Cannot write attributes to node if it is not open&quot;);h!==void 0&amp;&amp;u(this._xml,f,h)}addAttributes(f){if(!this.open)throw new Error(&quot;Cannot write attributes to node if it is not open&quot;);o(this._xml,f)}writeText(f){const h=this._xml;this.open&amp;&amp;(h.push(&quot;&gt;&quot;),this.open=!1),this.leaf=!1,h.push(a.xmlEncode(f.toString()))}writeXml(f){this.open&amp;&amp;(this._xml.push(&quot;&gt;&quot;),this.open=!1),this.leaf=!1,this._xml.push(f)}closeNode(){const f=this._stack.pop(),h=this._xml;this.leaf?h.push(&quot;/&gt;&quot;):(h.push(&quot;&lt;/&quot;),h.push(f),h.push(&quot;&gt;&quot;)),this.open=!1,this.leaf=!1}leafNode(f,h,m){this.openNode(f,h),m!==void 0&amp;&amp;this.writeText(m),this.closeNode()}closeAll(){for(;this._stack.length;)this.closeNode()}addRollback(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}commit(){this._rollbacks.pop()}rollback(){const f=this._rollbacks.pop();this._xml.length&gt;f.xml&amp;&amp;this._xml.splice(f.xml,this._xml.length-f.xml),this._stack.length&gt;f.stack&amp;&amp;this._stack.splice(f.stack,this._stack.length-f.stack),this.leaf=f.leaf,this.open=f.open}get xml(){return this.closeAll(),this._xml.join(&quot;&quot;)}}s.StdDocAttributes={version:&quot;1.0&quot;,encoding:&quot;UTF-8&quot;,standalone:&quot;yes&quot;},n.exports=s},{&quot;./under-dash&quot;:26,&quot;./utils&quot;:27}],29:[function(t,n,l){(function(i){(function(){const a=t(&quot;events&quot;),u=t(&quot;jszip&quot;),o=t(&quot;./stream-buf&quot;),{stringToBuffer:s}=t(&quot;./browser-buffer-encode&quot;);class c extends a.EventEmitter{constructor(h){super(),this.options=Object.assign({type:&quot;nodebuffer&quot;,compression:&quot;DEFLATE&quot;},h),this.zip=new u,this.stream=new o}append(h,m){m.hasOwnProperty(&quot;base64&quot;)&amp;&amp;m.base64?this.zip.file(m.name,h,{base64:!0}):(i.browser&amp;&amp;typeof h==&quot;string&quot;&amp;&amp;(h=s(h)),this.zip.file(m.name,h))}async finalize(){const h=await this.zip.generateAsync(this.options);this.stream.end(h),this.emit(&quot;finish&quot;)}read(h){return this.stream.read(h)}setEncoding(h){return this.stream.setEncoding(h)}pause(){return this.stream.pause()}resume(){return this.stream.resume()}isPaused(){return this.stream.isPaused()}pipe(h,m){return this.stream.pipe(h,m)}unpipe(h){return this.stream.unpipe(h)}unshift(h){return this.stream.unshift(h)}wrap(h){return this.stream.wrap(h)}}n.exports={ZipWriter:c}}).call(this)}).call(this,t(&quot;_process&quot;))},{&quot;./browser-buffer-encode&quot;:17,&quot;./stream-buf&quot;:24,_process:467,events:422,jszip:441}],30:[function(t,n,l){n.exports={0:{f:&quot;General&quot;},1:{f:&quot;0&quot;},2:{f:&quot;0.00&quot;},3:{f:&quot;#,##0&quot;},4:{f:&quot;#,##0.00&quot;},9:{f:&quot;0%&quot;},10:{f:&quot;0.00%&quot;},11:{f:&quot;0.00E+00&quot;},12:{f:&quot;# ?/?&quot;},13:{f:&quot;# ??/??&quot;},14:{f:&quot;mm-dd-yy&quot;},15:{f:&quot;d-mmm-yy&quot;},16:{f:&quot;d-mmm&quot;},17:{f:&quot;mmm-yy&quot;},18:{f:&quot;h:mm AM/PM&quot;},19:{f:&quot;h:mm:ss AM/PM&quot;},20:{f:&quot;h:mm&quot;},21:{f:&quot;h:mm:ss&quot;},22:{f:&#039;m/d/yy &quot;h&quot;:mm&#039;},27:{&quot;zh-tw&quot;:&quot;[$-404]e/m/d&quot;,&quot;zh-cn&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ja-jp&quot;:&quot;[$-411]ge.m.d&quot;,&quot;ko-kr&quot;:&#039;yyyy&quot;年&quot; mm&quot;月&quot; dd&quot;日&quot;&#039;},28:{&quot;zh-tw&quot;:&#039;[$-404]e&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;zh-cn&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ja-jp&quot;:&#039;[$-411]ggge&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;mm-dd&quot;},29:{&quot;zh-tw&quot;:&#039;[$-404]e&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;zh-cn&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ja-jp&quot;:&#039;[$-411]ggge&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;mm-dd&quot;},30:{&quot;zh-tw&quot;:&quot;m/d/yy &quot;,&quot;zh-cn&quot;:&quot;m-d-yy&quot;,&quot;ja-jp&quot;:&quot;m/d/yy&quot;,&quot;ko-kr&quot;:&quot;mm-dd-yy&quot;},31:{&quot;zh-tw&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;zh-cn&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ja-jp&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&#039;yyyy&quot;년&quot; mm&quot;월&quot; dd&quot;일&quot;&#039;},32:{&quot;zh-tw&quot;:&#039;hh&quot;時&quot;mm&quot;分&quot;&#039;,&quot;zh-cn&quot;:&#039;h&quot;时&quot;mm&quot;分&quot;&#039;,&quot;ja-jp&quot;:&#039;h&quot;時&quot;mm&quot;分&quot;&#039;,&quot;ko-kr&quot;:&#039;h&quot;시&quot; mm&quot;분&quot;&#039;},33:{&quot;zh-tw&quot;:&#039;hh&quot;時&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;zh-cn&quot;:&#039;h&quot;时&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;ja-jp&quot;:&#039;h&quot;時&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;ko-kr&quot;:&#039;h&quot;시&quot; mm&quot;분&quot; ss&quot;초&quot;&#039;},34:{&quot;zh-tw&quot;:&#039;上午/下午 hh&quot;時&quot;mm&quot;分&quot;&#039;,&quot;zh-cn&quot;:&#039;上午/下午 h&quot;时&quot;mm&quot;分&quot;&#039;,&quot;ja-jp&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ko-kr&quot;:&quot;yyyy-mm-dd&quot;},35:{&quot;zh-tw&quot;:&#039;上午/下午 hh&quot;時&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;zh-cn&quot;:&#039;上午/下午 h&quot;时&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;ja-jp&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;yyyy-mm-dd&quot;},36:{&quot;zh-tw&quot;:&quot;[$-404]e/m/d&quot;,&quot;zh-cn&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ja-jp&quot;:&quot;[$-411]ge.m.d&quot;,&quot;ko-kr&quot;:&#039;yyyy&quot;年&quot; mm&quot;月&quot; dd&quot;日&quot;&#039;},37:{f:&quot;#,##0 ;(#,##0)&quot;},38:{f:&quot;#,##0 ;[Red](#,##0)&quot;},39:{f:&quot;#,##0.00 ;(#,##0.00)&quot;},40:{f:&quot;#,##0.00 ;[Red](#,##0.00)&quot;},45:{f:&quot;mm:ss&quot;},46:{f:&quot;[h]:mm:ss&quot;},47:{f:&quot;mmss.0&quot;},48:{f:&quot;##0.0E+0&quot;},49:{f:&quot;@&quot;},50:{&quot;zh-tw&quot;:&quot;[$-404]e/m/d&quot;,&quot;zh-cn&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ja-jp&quot;:&quot;[$-411]ge.m.d&quot;,&quot;ko-kr&quot;:&#039;yyyy&quot;年&quot; mm&quot;月&quot; dd&quot;日&quot;&#039;},51:{&quot;zh-tw&quot;:&#039;[$-404]e&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;zh-cn&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ja-jp&quot;:&#039;[$-411]ggge&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;mm-dd&quot;},52:{&quot;zh-tw&quot;:&#039;上午/下午 hh&quot;時&quot;mm&quot;分&quot;&#039;,&quot;zh-cn&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ja-jp&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ko-kr&quot;:&quot;yyyy-mm-dd&quot;},53:{&quot;zh-tw&quot;:&#039;上午/下午 hh&quot;時&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;zh-cn&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ja-jp&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;yyyy-mm-dd&quot;},54:{&quot;zh-tw&quot;:&#039;[$-404]e&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;zh-cn&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ja-jp&quot;:&#039;[$-411]ggge&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;mm-dd&quot;},55:{&quot;zh-tw&quot;:&#039;上午/下午 hh&quot;時&quot;mm&quot;分&quot;&#039;,&quot;zh-cn&quot;:&#039;上午/下午 h&quot;时&quot;mm&quot;分&quot;&#039;,&quot;ja-jp&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ko-kr&quot;:&quot;yyyy-mm-dd&quot;},56:{&quot;zh-tw&quot;:&#039;上午/下午 hh&quot;時&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;zh-cn&quot;:&#039;上午/下午 h&quot;时&quot;mm&quot;分&quot;ss&quot;秒&quot;&#039;,&quot;ja-jp&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;yyyy-mm-dd&quot;},57:{&quot;zh-tw&quot;:&quot;[$-404]e/m/d&quot;,&quot;zh-cn&quot;:&#039;yyyy&quot;年&quot;m&quot;月&quot;&#039;,&quot;ja-jp&quot;:&quot;[$-411]ge.m.d&quot;,&quot;ko-kr&quot;:&#039;yyyy&quot;年&quot; mm&quot;月&quot; dd&quot;日&quot;&#039;},58:{&quot;zh-tw&quot;:&#039;[$-404]e&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;zh-cn&quot;:&#039;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ja-jp&quot;:&#039;[$-411]ggge&quot;年&quot;m&quot;月&quot;d&quot;日&quot;&#039;,&quot;ko-kr&quot;:&quot;mm-dd&quot;},59:{&quot;th-th&quot;:&quot;t0&quot;},60:{&quot;th-th&quot;:&quot;t0.00&quot;},61:{&quot;th-th&quot;:&quot;t#,##0&quot;},62:{&quot;th-th&quot;:&quot;t#,##0.00&quot;},67:{&quot;th-th&quot;:&quot;t0%&quot;},68:{&quot;th-th&quot;:&quot;t0.00%&quot;},69:{&quot;th-th&quot;:&quot;t# ?/?&quot;},70:{&quot;th-th&quot;:&quot;t# ??/??&quot;},81:{&quot;th-th&quot;:&quot;d/m/bb&quot;}}},{}],31:[function(t,n,l){n.exports={OfficeDocument:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument&quot;,Worksheet:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet&quot;,CalcChain:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain&quot;,SharedStrings:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings&quot;,Styles:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles&quot;,Theme:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme&quot;,Hyperlink:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink&quot;,Image:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/image&quot;,CoreProperties:&quot;http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties&quot;,ExtenderProperties:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties&quot;,Comments:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments&quot;,VmlDrawing:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing&quot;,Table:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/table&quot;}},{}],32:[function(t,n,l){const i=t(&quot;../../utils/parse-sax&quot;),a=t(&quot;../../utils/xml-stream&quot;);class u{prepare(){}render(){}parseOpen(s){}parseText(s){}parseClose(s){}reconcile(s,c){}reset(){this.model=null,this.map&amp;&amp;Object.values(this.map).forEach(s=&gt;{s instanceof u?s.reset():s.xform&amp;&amp;s.xform.reset()})}mergeModel(s){this.model=Object.assign(this.model||{},s)}async parse(s){for await(const c of s)for(const{eventType:f,value:h}of c)if(f===&quot;opentag&quot;)this.parseOpen(h);else if(f===&quot;text&quot;)this.parseText(h);else if(f===&quot;closetag&quot;&amp;&amp;!this.parseClose(h.name))return this.model;return this.model}async parseStream(s){return this.parse(i(s))}get xml(){return this.toXml(this.model)}toXml(s){const c=new a;return this.render(c,s),c.xml}static toAttribute(s,c){let f=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];if(s===void 0){if(f)return c}else if(f||s!==c)return s.toString()}static toStringAttribute(s,c){let f=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];return u.toAttribute(s,c,f)}static toStringValue(s,c){return s===void 0?c:s}static toBoolAttribute(s,c){let f=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];if(s===void 0){if(f)return c}else if(f||s!==c)return s?&quot;1&quot;:&quot;0&quot;}static toBoolValue(s,c){return s===void 0?c:s===&quot;1&quot;}static toIntAttribute(s,c){let f=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];return u.toAttribute(s,c,f)}static toIntValue(s,c){return s===void 0?c:parseInt(s,10)}static toFloatAttribute(s,c){let f=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];return u.toAttribute(s,c,f)}static toFloatValue(s,c){return s===void 0?c:parseFloat(s)}}n.exports=u},{&quot;../../utils/parse-sax&quot;:22,&quot;../../utils/xml-stream&quot;:28}],33:[function(t,n,l){const i=t(&quot;../base-xform&quot;),a=t(&quot;../../../utils/col-cache&quot;);function u(s){try{return a.decodeEx(s),!0}catch{return!1}}function o(s){const c=[];let f=!1,h=&quot;&quot;;return s.split(&quot;,&quot;).forEach(m=&gt;{if(!m)return;const p=(m.match(/&#039;/g)||[]).length;if(!p)return void(f?h+=m+&quot;,&quot;:u(m)&amp;&amp;c.push(m));const v=p%2==0;!f&amp;&amp;v&amp;&amp;u(m)?c.push(m):f&amp;&amp;!v?(f=!1,u(h+m)&amp;&amp;c.push(h+m),h=&quot;&quot;):(f=!0,h+=m+&quot;,&quot;)}),c}n.exports=class extends i{render(s,c){s.openNode(&quot;definedName&quot;,{name:c.name,localSheetId:c.localSheetId}),s.writeText(c.ranges.join(&quot;,&quot;)),s.closeNode()}parseOpen(s){return s.name===&quot;definedName&quot;?(this._parsedName=s.attributes.name,this._parsedLocalSheetId=s.attributes.localSheetId,this._parsedText=[],!0):!1}parseText(s){this._parsedText.push(s)}parseClose(){return this.model={name:this._parsedName,ranges:o(this._parsedText.join(&quot;&quot;))},this._parsedLocalSheetId!==void 0&amp;&amp;(this.model.localSheetId=parseInt(this._parsedLocalSheetId,10)),!1}}},{&quot;../../../utils/col-cache&quot;:19,&quot;../base-xform&quot;:32}],34:[function(t,n,l){const i=t(&quot;../../../utils/utils&quot;),a=t(&quot;../base-xform&quot;);n.exports=class extends a{render(u,o){u.leafNode(&quot;sheet&quot;,{sheetId:o.id,name:o.name,state:o.state,&quot;r:id&quot;:o.rId})}parseOpen(u){return u.name===&quot;sheet&quot;&amp;&amp;(this.model={name:i.xmlDecode(u.attributes.name),id:parseInt(u.attributes.sheetId,10),state:u.attributes.state,rId:u.attributes[&quot;r:id&quot;]},!0)}parseText(){}parseClose(){return!1}}},{&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32}],35:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{render(a,u){a.leafNode(&quot;calcPr&quot;,{calcId:171027,fullCalcOnLoad:u.fullCalcOnLoad?1:void 0})}parseOpen(a){return a.name===&quot;calcPr&quot;&amp;&amp;(this.model={},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],36:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{render(a,u){a.leafNode(&quot;workbookPr&quot;,{date1904:u.date1904?1:void 0,defaultThemeVersion:164011,filterPrivacy:1})}parseOpen(a){return a.name===&quot;workbookPr&quot;&amp;&amp;(this.model={date1904:a.attributes.date1904===&quot;1&quot;},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],37:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{render(a,u){const o={xWindow:u.x||0,yWindow:u.y||0,windowWidth:u.width||12e3,windowHeight:u.height||24e3,firstSheet:u.firstSheet,activeTab:u.activeTab};u.visibility&amp;&amp;u.visibility!==&quot;visible&quot;&amp;&amp;(o.visibility=u.visibility),a.leafNode(&quot;workbookView&quot;,o)}parseOpen(a){if(a.name===&quot;workbookView&quot;){const u=this.model={},o=function(c,f,h){const m=f!==void 0?u[c]=f:h;m!==void 0&amp;&amp;(u[c]=m)},s=function(c,f,h){const m=f!==void 0?u[c]=parseInt(f,10):h;m!==void 0&amp;&amp;(u[c]=m)};return s(&quot;x&quot;,a.attributes.xWindow,0),s(&quot;y&quot;,a.attributes.yWindow,0),s(&quot;width&quot;,a.attributes.windowWidth,25e3),s(&quot;height&quot;,a.attributes.windowHeight,1e4),o(&quot;visibility&quot;,a.attributes.visibility,&quot;visible&quot;),s(&quot;activeTab&quot;,a.attributes.activeTab,void 0),s(&quot;firstSheet&quot;,a.attributes.firstSheet,void 0),!0}return!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],38:[function(t,n,l){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../../../utils/col-cache&quot;),u=t(&quot;../../../utils/xml-stream&quot;),o=t(&quot;../base-xform&quot;),s=t(&quot;../static-xform&quot;),c=t(&quot;../list-xform&quot;),f=t(&quot;./defined-name-xform&quot;),h=t(&quot;./sheet-xform&quot;),m=t(&quot;./workbook-view-xform&quot;),p=t(&quot;./workbook-properties-xform&quot;),v=t(&quot;./workbook-calc-properties-xform&quot;);class g extends o{constructor(){super(),this.map={fileVersion:g.STATIC_XFORMS.fileVersion,workbookPr:new p,bookViews:new c({tag:&quot;bookViews&quot;,count:!1,childXform:new m}),sheets:new c({tag:&quot;sheets&quot;,count:!1,childXform:new h}),definedNames:new c({tag:&quot;definedNames&quot;,count:!1,childXform:new f}),calcPr:new v}}prepare(x){x.sheets=x.worksheets;const _=[];let C=0;x.sheets.forEach(O=&gt;{if(O.pageSetup&amp;&amp;O.pageSetup.printArea&amp;&amp;O.pageSetup.printArea.split(&quot;&amp;&amp;&quot;).forEach(R=&gt;{const H=R.split(&quot;:&quot;),L={name:&quot;_xlnm.Print_Area&quot;,ranges:[`&#039;${O.name}&#039;!$${H[0]}:$${H[1]}`],localSheetId:C};_.push(L)}),O.pageSetup&amp;&amp;(O.pageSetup.printTitlesRow||O.pageSetup.printTitlesColumn)){const R=[];if(O.pageSetup.printTitlesColumn){const L=O.pageSetup.printTitlesColumn.split(&quot;:&quot;);R.push(`&#039;${O.name}&#039;!$${L[0]}:$${L[1]}`)}if(O.pageSetup.printTitlesRow){const L=O.pageSetup.printTitlesRow.split(&quot;:&quot;);R.push(`&#039;${O.name}&#039;!$${L[0]}:$${L[1]}`)}const H={name:&quot;_xlnm.Print_Titles&quot;,ranges:R,localSheetId:C};_.push(H)}C++}),_.length&amp;&amp;(x.definedNames=x.definedNames.concat(_)),(x.media||[]).forEach((O,R)=&gt;{O.name=O.type+(R+1)})}render(x,_){x.openXml(u.StdDocAttributes),x.openNode(&quot;workbook&quot;,g.WORKBOOK_ATTRIBUTES),this.map.fileVersion.render(x),this.map.workbookPr.render(x,_.properties),this.map.bookViews.render(x,_.views),this.map.sheets.render(x,_.sheets),this.map.definedNames.render(x,_.definedNames),this.map.calcPr.render(x,_.calcProperties),x.closeNode()}parseOpen(x){return this.parser?(this.parser.parseOpen(x),!0):(x.name===&quot;workbook&quot;||(this.parser=this.map[x.name],this.parser&amp;&amp;this.parser.parseOpen(x)),!0)}parseText(x){this.parser&amp;&amp;this.parser.parseText(x)}parseClose(x){return this.parser?(this.parser.parseClose(x)||(this.parser=void 0),!0):x===&quot;workbook&quot;?(this.model={sheets:this.map.sheets.model,properties:this.map.workbookPr.model||{},views:this.map.bookViews.model,calcProperties:{}},this.map.definedNames.model&amp;&amp;(this.model.definedNames=this.map.definedNames.model),!1):!0}reconcile(x){const _=(x.workbookRels||[]).reduce((L,q)=&gt;(L[q.Id]=q,L),{}),C=[];let O,R=0;(x.sheets||[]).forEach(L=&gt;{const q=_[L.rId];q&amp;&amp;(O=x.worksheetHash[&quot;xl/&quot;+q.Target.replace(/^(\s|\/xl\/)+/,&quot;&quot;)],O&amp;&amp;(O.name=L.name,O.id=L.id,O.state=L.state,C[R++]=O))});const H=[];i.each(x.definedNames,L=&gt;{if(L.name===&quot;_xlnm.Print_Area&quot;){if(O=C[L.localSheetId],O){O.pageSetup||(O.pageSetup={});const q=a.decodeEx(L.ranges[0]);O.pageSetup.printArea=O.pageSetup.printArea?`${O.pageSetup.printArea}&amp;&amp;${q.dimensions}`:q.dimensions}}else if(L.name===&quot;_xlnm.Print_Titles&quot;){if(O=C[L.localSheetId],O){O.pageSetup||(O.pageSetup={});const q=L.ranges.join(&quot;,&quot;),W=/\$/g,K=/\$\d+:\$\d+/,U=q.match(K);if(U&amp;&amp;U.length){const E=U[0];O.pageSetup.printTitlesRow=E.replace(W,&quot;&quot;)}const P=/\$[A-Z]+:\$[A-Z]+/,D=q.match(P);if(D&amp;&amp;D.length){const E=D[0];O.pageSetup.printTitlesColumn=E.replace(W,&quot;&quot;)}}}else H.push(L)}),x.definedNames=H,x.media.forEach((L,q)=&gt;{L.index=q})}}g.WORKBOOK_ATTRIBUTES={xmlns:&quot;http://schemas.openxmlformats.org/spreadsheetml/2006/main&quot;,&quot;xmlns:r&quot;:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships&quot;,&quot;xmlns:mc&quot;:&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;,&quot;mc:Ignorable&quot;:&quot;x15&quot;,&quot;xmlns:x15&quot;:&quot;http://schemas.microsoft.com/office/spreadsheetml/2010/11/main&quot;},g.STATIC_XFORMS={fileVersion:new s({tag:&quot;fileVersion&quot;,$:{appName:&quot;xl&quot;,lastEdited:5,lowestEdited:5,rupBuild:9303}})},n.exports=g},{&quot;../../../utils/col-cache&quot;:19,&quot;../../../utils/under-dash&quot;:26,&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;../list-xform&quot;:71,&quot;../static-xform&quot;:120,&quot;./defined-name-xform&quot;:33,&quot;./sheet-xform&quot;:34,&quot;./workbook-calc-properties-xform&quot;:35,&quot;./workbook-properties-xform&quot;:36,&quot;./workbook-view-xform&quot;:37}],39:[function(t,n,l){const i=t(&quot;../strings/rich-text-xform&quot;),a=t(&quot;../../../utils/utils&quot;),u=t(&quot;../base-xform&quot;),o=n.exports=function(s){this.model=s};a.inherits(o,u,{get tag(){return&quot;r&quot;},get richTextXform(){return this._richTextXform||(this._richTextXform=new i),this._richTextXform},render(s,c){c=c||this.model,s.openNode(&quot;comment&quot;,{ref:c.ref,authorId:0}),s.openNode(&quot;text&quot;),c&amp;&amp;c.note&amp;&amp;c.note.texts&amp;&amp;c.note.texts.forEach(f=&gt;{this.richTextXform.render(s,f)}),s.closeNode(),s.closeNode()},parseOpen(s){if(this.parser)return this.parser.parseOpen(s),!0;switch(s.name){case&quot;comment&quot;:return this.model={type:&quot;note&quot;,note:{texts:[]},...s.attributes},!0;case&quot;r&quot;:return this.parser=this.richTextXform,this.parser.parseOpen(s),!0;default:return!1}},parseText(s){this.parser&amp;&amp;this.parser.parseText(s)},parseClose(s){switch(s){case&quot;comment&quot;:return!1;case&quot;r&quot;:return this.model.note.texts.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&amp;&amp;this.parser.parseClose(s),!0}}})},{&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32,&quot;../strings/rich-text-xform&quot;:122}],40:[function(t,n,l){const i=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../../../utils/utils&quot;),u=t(&quot;../base-xform&quot;),o=t(&quot;./comment-xform&quot;),s=n.exports=function(){this.map={comment:new o}};a.inherits(s,u,{COMMENTS_ATTRIBUTES:{xmlns:&quot;http://schemas.openxmlformats.org/spreadsheetml/2006/main&quot;}},{render(c,f){f=f||this.model,c.openXml(i.StdDocAttributes),c.openNode(&quot;comments&quot;,s.COMMENTS_ATTRIBUTES),c.openNode(&quot;authors&quot;),c.leafNode(&quot;author&quot;,null,&quot;Author&quot;),c.closeNode(),c.openNode(&quot;commentList&quot;),f.comments.forEach(h=&gt;{this.map.comment.render(c,h)}),c.closeNode(),c.closeNode()},parseOpen(c){if(this.parser)return this.parser.parseOpen(c),!0;switch(c.name){case&quot;commentList&quot;:return this.model={comments:[]},!0;case&quot;comment&quot;:return this.parser=this.map.comment,this.parser.parseOpen(c),!0;default:return!1}},parseText(c){this.parser&amp;&amp;this.parser.parseText(c)},parseClose(c){switch(c){case&quot;commentList&quot;:return!1;case&quot;comment&quot;:return this.model.comments.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&amp;&amp;this.parser.parseClose(c),!0}}})},{&quot;../../../utils/utils&quot;:27,&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;./comment-xform&quot;:39}],41:[function(t,n,l){const i=t(&quot;../../base-xform&quot;);n.exports=class extends i{constructor(a){super(),this._model=a}get tag(){return this._model&amp;&amp;this._model.tag}render(a,u,o){(u===o[2]||this.tag===&quot;x:SizeWithCells&quot;&amp;&amp;u===o[1])&amp;&amp;a.leafNode(this.tag)}parseOpen(a){return a.name===this.tag?(this.model={},this.model[this.tag]=!0,!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../../base-xform&quot;:32}],42:[function(t,n,l){const i=t(&quot;../../base-xform&quot;);n.exports=class extends i{constructor(a){super(),this._model=a}get tag(){return this._model&amp;&amp;this._model.tag}render(a,u){a.leafNode(this.tag,null,u)}parseOpen(a){return a.name===this.tag?(this.text=&quot;&quot;,!0):!1}parseText(a){this.text=a}parseClose(){return!1}}},{&quot;../../base-xform&quot;:32}],43:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;x:Anchor&quot;}getAnchorRect(a){const u=Math.floor(a.left),o=Math.floor(68*(a.left-u)),s=Math.floor(a.top),c=Math.floor(18*(a.top-s)),f=Math.floor(a.right),h=Math.floor(68*(a.right-f)),m=Math.floor(a.bottom);return[u,o,s,c,f,h,m,Math.floor(18*(a.bottom-m))]}getDefaultRect(a){const u=a.col,o=Math.max(a.row-2,0);return[u,6,o,14,u+2,2,o+4,16]}render(a,u){const o=u.anchor?this.getAnchorRect(u.anchor):this.getDefaultRect(u.refAddress);a.leafNode(&quot;x:Anchor&quot;,null,o.join(&quot;, &quot;))}parseOpen(a){return a.name===this.tag?(this.text=&quot;&quot;,!0):!1}parseText(a){this.text=a}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],44:[function(t,n,l){const i=t(&quot;../base-xform&quot;),a=t(&quot;./vml-anchor-xform&quot;),u=t(&quot;./style/vml-protection-xform&quot;),o=t(&quot;./style/vml-position-xform&quot;),s=[&quot;twoCells&quot;,&quot;oneCells&quot;,&quot;absolute&quot;];n.exports=class extends i{constructor(){super(),this.map={&quot;x:Anchor&quot;:new a,&quot;x:Locked&quot;:new u({tag:&quot;x:Locked&quot;}),&quot;x:LockText&quot;:new u({tag:&quot;x:LockText&quot;}),&quot;x:SizeWithCells&quot;:new o({tag:&quot;x:SizeWithCells&quot;}),&quot;x:MoveWithCells&quot;:new o({tag:&quot;x:MoveWithCells&quot;})}}get tag(){return&quot;x:ClientData&quot;}render(c,f){const{protection:h,editAs:m}=f.note;c.openNode(this.tag,{ObjectType:&quot;Note&quot;}),this.map[&quot;x:MoveWithCells&quot;].render(c,m,s),this.map[&quot;x:SizeWithCells&quot;].render(c,m,s),this.map[&quot;x:Anchor&quot;].render(c,f),this.map[&quot;x:Locked&quot;].render(c,h.locked),c.leafNode(&quot;x:AutoFill&quot;,null,&quot;False&quot;),this.map[&quot;x:LockText&quot;].render(c,h.lockText),c.leafNode(&quot;x:Row&quot;,null,f.refAddress.row-1),c.leafNode(&quot;x:Column&quot;,null,f.refAddress.col-1),c.closeNode()}parseOpen(c){return c.name===this.tag?(this.reset(),this.model={anchor:[],protection:{},editAs:&quot;&quot;}):(this.parser=this.map[c.name],this.parser&amp;&amp;this.parser.parseOpen(c)),!0}parseText(c){this.parser&amp;&amp;this.parser.parseText(c)}parseClose(c){return this.parser?(this.parser.parseClose(c)||(this.parser=void 0),!0):c===this.tag?(this.normalizeModel(),!1):!0}normalizeModel(){const c=Object.assign({},this.map[&quot;x:MoveWithCells&quot;].model,this.map[&quot;x:SizeWithCells&quot;].model),f=Object.keys(c).length;this.model.editAs=s[f],this.model.anchor=this.map[&quot;x:Anchor&quot;].text,this.model.protection.locked=this.map[&quot;x:Locked&quot;].text,this.model.protection.lockText=this.map[&quot;x:LockText&quot;].text}}},{&quot;../base-xform&quot;:32,&quot;./style/vml-position-xform&quot;:41,&quot;./style/vml-protection-xform&quot;:42,&quot;./vml-anchor-xform&quot;:43}],45:[function(t,n,l){const i=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;./vml-shape-xform&quot;);class o extends a{constructor(){super(),this.map={&quot;v:shape&quot;:new u}}get tag(){return&quot;xml&quot;}render(c,f){c.openXml(i.StdDocAttributes),c.openNode(this.tag,o.DRAWING_ATTRIBUTES),c.openNode(&quot;o:shapelayout&quot;,{&quot;v:ext&quot;:&quot;edit&quot;}),c.leafNode(&quot;o:idmap&quot;,{&quot;v:ext&quot;:&quot;edit&quot;,data:1}),c.closeNode(),c.openNode(&quot;v:shapetype&quot;,{id:&quot;_x0000_t202&quot;,coordsize:&quot;21600,21600&quot;,&quot;o:spt&quot;:202,path:&quot;m,l,21600r21600,l21600,xe&quot;}),c.leafNode(&quot;v:stroke&quot;,{joinstyle:&quot;miter&quot;}),c.leafNode(&quot;v:path&quot;,{gradientshapeok:&quot;t&quot;,&quot;o:connecttype&quot;:&quot;rect&quot;}),c.closeNode(),f.comments.forEach((h,m)=&gt;{this.map[&quot;v:shape&quot;].render(c,h,m)}),c.closeNode()}parseOpen(c){return this.parser?(this.parser.parseOpen(c),!0):(c.name===this.tag?(this.reset(),this.model={comments:[]}):(this.parser=this.map[c.name],this.parser&amp;&amp;this.parser.parseOpen(c)),!0)}parseText(c){this.parser&amp;&amp;this.parser.parseText(c)}parseClose(c){return this.parser?(this.parser.parseClose(c)||(this.model.comments.push(this.parser.model),this.parser=void 0),!0):c!==this.tag}reconcile(c,f){c.anchors.forEach(h=&gt;{h.br?this.map[&quot;xdr:twoCellAnchor&quot;].reconcile(h,f):this.map[&quot;xdr:oneCellAnchor&quot;].reconcile(h,f)})}}o.DRAWING_ATTRIBUTES={&quot;xmlns:v&quot;:&quot;urn:schemas-microsoft-com:vml&quot;,&quot;xmlns:o&quot;:&quot;urn:schemas-microsoft-com:office:office&quot;,&quot;xmlns:x&quot;:&quot;urn:schemas-microsoft-com:office:excel&quot;},n.exports=o},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;./vml-shape-xform&quot;:46}],46:[function(t,n,l){const i=t(&quot;../base-xform&quot;),a=t(&quot;./vml-textbox-xform&quot;),u=t(&quot;./vml-client-data-xform&quot;);class o extends i{constructor(){super(),this.map={&quot;v:textbox&quot;:new a,&quot;x:ClientData&quot;:new u}}get tag(){return&quot;v:shape&quot;}render(c,f,h){c.openNode(&quot;v:shape&quot;,o.V_SHAPE_ATTRIBUTES(f,h)),c.leafNode(&quot;v:fill&quot;,{color2:&quot;infoBackground [80]&quot;}),c.leafNode(&quot;v:shadow&quot;,{color:&quot;none [81]&quot;,obscured:&quot;t&quot;}),c.leafNode(&quot;v:path&quot;,{&quot;o:connecttype&quot;:&quot;none&quot;}),this.map[&quot;v:textbox&quot;].render(c,f),this.map[&quot;x:ClientData&quot;].render(c,f),c.closeNode()}parseOpen(c){return this.parser?(this.parser.parseOpen(c),!0):(c.name===this.tag?(this.reset(),this.model={margins:{insetmode:c.attributes[&quot;o:insetmode&quot;]},anchor:&quot;&quot;,editAs:&quot;&quot;,protection:{}}):(this.parser=this.map[c.name],this.parser&amp;&amp;this.parser.parseOpen(c)),!0)}parseText(c){this.parser&amp;&amp;this.parser.parseText(c)}parseClose(c){return this.parser?(this.parser.parseClose(c)||(this.parser=void 0),!0):c===this.tag?(this.model.margins.inset=this.map[&quot;v:textbox&quot;].model&amp;&amp;this.map[&quot;v:textbox&quot;].model.inset,this.model.protection=this.map[&quot;x:ClientData&quot;].model&amp;&amp;this.map[&quot;x:ClientData&quot;].model.protection,this.model.anchor=this.map[&quot;x:ClientData&quot;].model&amp;&amp;this.map[&quot;x:ClientData&quot;].model.anchor,this.model.editAs=this.map[&quot;x:ClientData&quot;].model&amp;&amp;this.map[&quot;x:ClientData&quot;].model.editAs,!1):!0}}o.V_SHAPE_ATTRIBUTES=(s,c)=&gt;({id:&quot;_x0000_s&quot;+(1025+c),type:&quot;#_x0000_t202&quot;,style:&quot;position:absolute; margin-left:105.3pt;margin-top:10.5pt;width:97.8pt;height:59.1pt;z-index:1;visibility:hidden&quot;,fillcolor:&quot;infoBackground [80]&quot;,strokecolor:&quot;none [81]&quot;,&quot;o:insetmode&quot;:s.note.margins&amp;&amp;s.note.margins.insetmode}),n.exports=o},{&quot;../base-xform&quot;:32,&quot;./vml-client-data-xform&quot;:44,&quot;./vml-textbox-xform&quot;:47}],47:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;v:textbox&quot;}conversionUnit(a,u,o){return`${parseFloat(a)*u.toFixed(2)}${o}`}reverseConversionUnit(a){return(a||&quot;&quot;).split(&quot;,&quot;).map(u=&gt;Number(parseFloat(this.conversionUnit(parseFloat(u),.1,&quot;&quot;)).toFixed(2)))}render(a,u){const o={style:&quot;mso-direction-alt:auto&quot;};if(u&amp;&amp;u.note){let{inset:s}=u.note&amp;&amp;u.note.margins;Array.isArray(s)&amp;&amp;(s=s.map(c=&gt;this.conversionUnit(c,10,&quot;mm&quot;)).join(&quot;,&quot;)),s&amp;&amp;(o.inset=s)}a.openNode(&quot;v:textbox&quot;,o),a.leafNode(&quot;div&quot;,{style:&quot;text-align:left&quot;}),a.closeNode()}parseOpen(a){return a.name===this.tag&amp;&amp;(this.model={inset:this.reverseConversionUnit(a.attributes.inset)}),!0}parseText(){}parseClose(a){return a!==this.tag}}},{&quot;../base-xform&quot;:32}],48:[function(t,n,l){const i=t(&quot;./base-xform&quot;);n.exports=class extends i{createNewModel(a){return{}}parseOpen(a){return this.parser=this.parser||this.map[a.name],this.parser?(this.parser.parseOpen(a),!0):a.name===this.tag&amp;&amp;(this.model=this.createNewModel(a),!0)}parseText(a){this.parser&amp;&amp;this.parser.parseText(a)}onParserClose(a,u){this.model[a]=u.model}parseClose(a){return this.parser?(this.parser.parseClose(a)||(this.onParserClose(a,this.parser),this.parser=void 0),!0):a!==this.tag}}},{&quot;./base-xform&quot;:32}],49:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{render(a,u){a.openNode(&quot;HeadingPairs&quot;),a.openNode(&quot;vt:vector&quot;,{size:2,baseType:&quot;variant&quot;}),a.openNode(&quot;vt:variant&quot;),a.leafNode(&quot;vt:lpstr&quot;,void 0,&quot;Worksheets&quot;),a.closeNode(),a.openNode(&quot;vt:variant&quot;),a.leafNode(&quot;vt:i4&quot;,void 0,u.length),a.closeNode(),a.closeNode(),a.closeNode()}parseOpen(a){return a.name===&quot;HeadingPairs&quot;}parseText(){}parseClose(a){return a!==&quot;HeadingPairs&quot;}}},{&quot;../base-xform&quot;:32}],50:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{render(a,u){a.openNode(&quot;TitlesOfParts&quot;),a.openNode(&quot;vt:vector&quot;,{size:u.length,baseType:&quot;lpstr&quot;}),u.forEach(o=&gt;{a.leafNode(&quot;vt:lpstr&quot;,void 0,o.name)}),a.closeNode(),a.closeNode()}parseOpen(a){return a.name===&quot;TitlesOfParts&quot;}parseText(){}parseClose(a){return a!==&quot;TitlesOfParts&quot;}}},{&quot;../base-xform&quot;:32}],51:[function(t,n,l){const i=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;../simple/string-xform&quot;),o=t(&quot;./app-heading-pairs-xform&quot;),s=t(&quot;./app-titles-of-parts-xform&quot;);class c extends a{constructor(){super(),this.map={Company:new u({tag:&quot;Company&quot;}),Manager:new u({tag:&quot;Manager&quot;}),HeadingPairs:new o,TitleOfParts:new s}}render(h,m){h.openXml(i.StdDocAttributes),h.openNode(&quot;Properties&quot;,c.PROPERTY_ATTRIBUTES),h.leafNode(&quot;Application&quot;,void 0,&quot;Microsoft Excel&quot;),h.leafNode(&quot;DocSecurity&quot;,void 0,&quot;0&quot;),h.leafNode(&quot;ScaleCrop&quot;,void 0,&quot;false&quot;),this.map.HeadingPairs.render(h,m.worksheets),this.map.TitleOfParts.render(h,m.worksheets),this.map.Company.render(h,m.company||&quot;&quot;),this.map.Manager.render(h,m.manager),h.leafNode(&quot;LinksUpToDate&quot;,void 0,&quot;false&quot;),h.leafNode(&quot;SharedDoc&quot;,void 0,&quot;false&quot;),h.leafNode(&quot;HyperlinksChanged&quot;,void 0,&quot;false&quot;),h.leafNode(&quot;AppVersion&quot;,void 0,&quot;16.0300&quot;),h.closeNode()}parseOpen(h){return this.parser?(this.parser.parseOpen(h),!0):h.name===&quot;Properties&quot;?!0:(this.parser=this.map[h.name],!!this.parser&amp;&amp;(this.parser.parseOpen(h),!0))}parseText(h){this.parser&amp;&amp;this.parser.parseText(h)}parseClose(h){return this.parser?(this.parser.parseClose(h)||(this.parser=void 0),!0):h===&quot;Properties&quot;?(this.model={worksheets:this.map.TitleOfParts.model,company:this.map.Company.model,manager:this.map.Manager.model},!1):!0}}c.DateFormat=function(f){return f.toISOString().replace(/[.]\d{3,6}/,&quot;&quot;)},c.DateAttrs={&quot;xsi:type&quot;:&quot;dcterms:W3CDTF&quot;},c.PROPERTY_ATTRIBUTES={xmlns:&quot;http://schemas.openxmlformats.org/officeDocument/2006/extended-properties&quot;,&quot;xmlns:vt&quot;:&quot;http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes&quot;},n.exports=c},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;../simple/string-xform&quot;:119,&quot;./app-heading-pairs-xform&quot;:49,&quot;./app-titles-of-parts-xform&quot;:50}],52:[function(t,n,l){const i=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;);class u extends a{render(s,c){s.openXml(i.StdDocAttributes),s.openNode(&quot;Types&quot;,u.PROPERTY_ATTRIBUTES);const f={};(c.media||[]).forEach(h=&gt;{if(h.type===&quot;image&quot;){const m=h.extension;f[m]||(f[m]=!0,s.leafNode(&quot;Default&quot;,{Extension:m,ContentType:&quot;image/&quot;+m}))}}),s.leafNode(&quot;Default&quot;,{Extension:&quot;rels&quot;,ContentType:&quot;application/vnd.openxmlformats-package.relationships+xml&quot;}),s.leafNode(&quot;Default&quot;,{Extension:&quot;xml&quot;,ContentType:&quot;application/xml&quot;}),s.leafNode(&quot;Override&quot;,{PartName:&quot;/xl/workbook.xml&quot;,ContentType:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml&quot;}),c.worksheets.forEach(h=&gt;{const m=`/xl/worksheets/sheet${h.id}.xml`;s.leafNode(&quot;Override&quot;,{PartName:m,ContentType:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml&quot;})}),s.leafNode(&quot;Override&quot;,{PartName:&quot;/xl/theme/theme1.xml&quot;,ContentType:&quot;application/vnd.openxmlformats-officedocument.theme+xml&quot;}),s.leafNode(&quot;Override&quot;,{PartName:&quot;/xl/styles.xml&quot;,ContentType:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml&quot;}),c.sharedStrings&amp;&amp;c.sharedStrings.count&amp;&amp;s.leafNode(&quot;Override&quot;,{PartName:&quot;/xl/sharedStrings.xml&quot;,ContentType:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml&quot;}),c.tables&amp;&amp;c.tables.forEach(h=&gt;{s.leafNode(&quot;Override&quot;,{PartName:&quot;/xl/tables/&quot;+h.target,ContentType:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml&quot;})}),c.drawings&amp;&amp;c.drawings.forEach(h=&gt;{s.leafNode(&quot;Override&quot;,{PartName:`/xl/drawings/${h.name}.xml`,ContentType:&quot;application/vnd.openxmlformats-officedocument.drawing+xml&quot;})}),c.commentRefs&amp;&amp;(s.leafNode(&quot;Default&quot;,{Extension:&quot;vml&quot;,ContentType:&quot;application/vnd.openxmlformats-officedocument.vmlDrawing&quot;}),c.commentRefs.forEach(h=&gt;{let{commentName:m}=h;s.leafNode(&quot;Override&quot;,{PartName:`/xl/${m}.xml`,ContentType:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml&quot;})})),s.leafNode(&quot;Override&quot;,{PartName:&quot;/docProps/core.xml&quot;,ContentType:&quot;application/vnd.openxmlformats-package.core-properties+xml&quot;}),s.leafNode(&quot;Override&quot;,{PartName:&quot;/docProps/app.xml&quot;,ContentType:&quot;application/vnd.openxmlformats-officedocument.extended-properties+xml&quot;}),s.closeNode()}parseOpen(){return!1}parseText(){}parseClose(){return!1}}u.PROPERTY_ATTRIBUTES={xmlns:&quot;http://schemas.openxmlformats.org/package/2006/content-types&quot;},n.exports=u},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32}],53:[function(t,n,l){const i=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;../simple/date-xform&quot;),o=t(&quot;../simple/string-xform&quot;),s=t(&quot;../simple/integer-xform&quot;);class c extends a{constructor(){super(),this.map={&quot;dc:creator&quot;:new o({tag:&quot;dc:creator&quot;}),&quot;dc:title&quot;:new o({tag:&quot;dc:title&quot;}),&quot;dc:subject&quot;:new o({tag:&quot;dc:subject&quot;}),&quot;dc:description&quot;:new o({tag:&quot;dc:description&quot;}),&quot;dc:identifier&quot;:new o({tag:&quot;dc:identifier&quot;}),&quot;dc:language&quot;:new o({tag:&quot;dc:language&quot;}),&quot;cp:keywords&quot;:new o({tag:&quot;cp:keywords&quot;}),&quot;cp:category&quot;:new o({tag:&quot;cp:category&quot;}),&quot;cp:lastModifiedBy&quot;:new o({tag:&quot;cp:lastModifiedBy&quot;}),&quot;cp:lastPrinted&quot;:new u({tag:&quot;cp:lastPrinted&quot;,format:c.DateFormat}),&quot;cp:revision&quot;:new s({tag:&quot;cp:revision&quot;}),&quot;cp:version&quot;:new o({tag:&quot;cp:version&quot;}),&quot;cp:contentStatus&quot;:new o({tag:&quot;cp:contentStatus&quot;}),&quot;cp:contentType&quot;:new o({tag:&quot;cp:contentType&quot;}),&quot;dcterms:created&quot;:new u({tag:&quot;dcterms:created&quot;,attrs:c.DateAttrs,format:c.DateFormat}),&quot;dcterms:modified&quot;:new u({tag:&quot;dcterms:modified&quot;,attrs:c.DateAttrs,format:c.DateFormat})}}render(h,m){h.openXml(i.StdDocAttributes),h.openNode(&quot;cp:coreProperties&quot;,c.CORE_PROPERTY_ATTRIBUTES),this.map[&quot;dc:creator&quot;].render(h,m.creator),this.map[&quot;dc:title&quot;].render(h,m.title),this.map[&quot;dc:subject&quot;].render(h,m.subject),this.map[&quot;dc:description&quot;].render(h,m.description),this.map[&quot;dc:identifier&quot;].render(h,m.identifier),this.map[&quot;dc:language&quot;].render(h,m.language),this.map[&quot;cp:keywords&quot;].render(h,m.keywords),this.map[&quot;cp:category&quot;].render(h,m.category),this.map[&quot;cp:lastModifiedBy&quot;].render(h,m.lastModifiedBy),this.map[&quot;cp:lastPrinted&quot;].render(h,m.lastPrinted),this.map[&quot;cp:revision&quot;].render(h,m.revision),this.map[&quot;cp:version&quot;].render(h,m.version),this.map[&quot;cp:contentStatus&quot;].render(h,m.contentStatus),this.map[&quot;cp:contentType&quot;].render(h,m.contentType),this.map[&quot;dcterms:created&quot;].render(h,m.created),this.map[&quot;dcterms:modified&quot;].render(h,m.modified),h.closeNode()}parseOpen(h){if(this.parser)return this.parser.parseOpen(h),!0;switch(h.name){case&quot;cp:coreProperties&quot;:case&quot;coreProperties&quot;:return!0;default:if(this.parser=this.map[h.name],this.parser)return this.parser.parseOpen(h),!0;throw new Error(&quot;Unexpected xml node in parseOpen: &quot;+JSON.stringify(h))}}parseText(h){this.parser&amp;&amp;this.parser.parseText(h)}parseClose(h){if(this.parser)return this.parser.parseClose(h)||(this.parser=void 0),!0;switch(h){case&quot;cp:coreProperties&quot;:case&quot;coreProperties&quot;:return this.model={creator:this.map[&quot;dc:creator&quot;].model,title:this.map[&quot;dc:title&quot;].model,subject:this.map[&quot;dc:subject&quot;].model,description:this.map[&quot;dc:description&quot;].model,identifier:this.map[&quot;dc:identifier&quot;].model,language:this.map[&quot;dc:language&quot;].model,keywords:this.map[&quot;cp:keywords&quot;].model,category:this.map[&quot;cp:category&quot;].model,lastModifiedBy:this.map[&quot;cp:lastModifiedBy&quot;].model,lastPrinted:this.map[&quot;cp:lastPrinted&quot;].model,revision:this.map[&quot;cp:revision&quot;].model,contentStatus:this.map[&quot;cp:contentStatus&quot;].model,contentType:this.map[&quot;cp:contentType&quot;].model,created:this.map[&quot;dcterms:created&quot;].model,modified:this.map[&quot;dcterms:modified&quot;].model},!1;default:throw new Error(&quot;Unexpected xml node in parseClose: &quot;+h)}}}c.DateFormat=function(f){return f.toISOString().replace(/[.]\d{3}/,&quot;&quot;)},c.DateAttrs={&quot;xsi:type&quot;:&quot;dcterms:W3CDTF&quot;},c.CORE_PROPERTY_ATTRIBUTES={&quot;xmlns:cp&quot;:&quot;http://schemas.openxmlformats.org/package/2006/metadata/core-properties&quot;,&quot;xmlns:dc&quot;:&quot;http://purl.org/dc/elements/1.1/&quot;,&quot;xmlns:dcterms&quot;:&quot;http://purl.org/dc/terms/&quot;,&quot;xmlns:dcmitype&quot;:&quot;http://purl.org/dc/dcmitype/&quot;,&quot;xmlns:xsi&quot;:&quot;http://www.w3.org/2001/XMLSchema-instance&quot;},n.exports=c},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;../simple/date-xform&quot;:117,&quot;../simple/integer-xform&quot;:118,&quot;../simple/string-xform&quot;:119}],54:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{render(a,u){a.leafNode(&quot;Relationship&quot;,u)}parseOpen(a){return a.name===&quot;Relationship&quot;?(this.model=a.attributes,!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],55:[function(t,n,l){const i=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;./relationship-xform&quot;);class o extends a{constructor(){super(),this.map={Relationship:new u}}render(c,f){f=f||this._values,c.openXml(i.StdDocAttributes),c.openNode(&quot;Relationships&quot;,o.RELATIONSHIPS_ATTRIBUTES),f.forEach(h=&gt;{this.map.Relationship.render(c,h)}),c.closeNode()}parseOpen(c){if(this.parser)return this.parser.parseOpen(c),!0;switch(c.name){case&quot;Relationships&quot;:return this.model=[],!0;default:if(this.parser=this.map[c.name],this.parser)return this.parser.parseOpen(c),!0;throw new Error(&quot;Unexpected xml node in parseOpen: &quot;+JSON.stringify(c))}}parseText(c){this.parser&amp;&amp;this.parser.parseText(c)}parseClose(c){if(this.parser)return this.parser.parseClose(c)||(this.model.push(this.parser.model),this.parser=void 0),!0;if(c===&quot;Relationships&quot;)return!1;throw new Error(&quot;Unexpected xml node in parseClose: &quot;+c)}}o.RELATIONSHIPS_ATTRIBUTES={xmlns:&quot;http://schemas.openxmlformats.org/package/2006/relationships&quot;},n.exports=o},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;./relationship-xform&quot;:54}],56:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{parseOpen(a){return this.parser?(this.parser.parseOpen(a),!0):(a.name===this.tag?(this.reset(),this.model={range:{editAs:a.attributes.editAs||&quot;oneCell&quot;}}):(this.parser=this.map[a.name],this.parser&amp;&amp;this.parser.parseOpen(a)),!0)}parseText(a){this.parser&amp;&amp;this.parser.parseText(a)}reconcilePicture(a,u){if(a&amp;&amp;a.rId){const o=u.rels[a.rId].Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(o){const s=o[1],c=u.mediaIndex[s];return u.media[c]}}}}},{&quot;../base-xform&quot;:32}],57:[function(t,n,l){const i=t(&quot;../base-xform&quot;),a=t(&quot;./blip-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={&quot;a:blip&quot;:new a}}get tag(){return&quot;xdr:blipFill&quot;}render(u,o){u.openNode(this.tag),this.map[&quot;a:blip&quot;].render(u,o),u.openNode(&quot;a:stretch&quot;),u.leafNode(&quot;a:fillRect&quot;),u.closeNode(),u.closeNode()}parseOpen(u){return this.parser?(this.parser.parseOpen(u),!0):(u.name===this.tag?this.reset():(this.parser=this.map[u.name],this.parser&amp;&amp;this.parser.parseOpen(u)),!0)}parseText(){}parseClose(u){return this.parser?(this.parser.parseClose(u)||(this.parser=void 0),!0):u===this.tag?(this.model=this.map[&quot;a:blip&quot;].model,!1):!0}}},{&quot;../base-xform&quot;:32,&quot;./blip-xform&quot;:58}],58:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;a:blip&quot;}render(a,u){a.leafNode(this.tag,{&quot;xmlns:r&quot;:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships&quot;,&quot;r:embed&quot;:u.rId,cstate:&quot;print&quot;})}parseOpen(a){return a.name===this.tag&amp;&amp;(this.model={rId:a.attributes[&quot;r:embed&quot;]}),!0}parseText(){}parseClose(a){return a!==this.tag}}},{&quot;../base-xform&quot;:32}],59:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;xdr:cNvPicPr&quot;}render(a){a.openNode(this.tag),a.leafNode(&quot;a:picLocks&quot;,{noChangeAspect:&quot;1&quot;}),a.closeNode()}parseOpen(a){switch(a.name){case this.tag:default:return!0}}parseText(){}parseClose(a){return a!==this.tag}}},{&quot;../base-xform&quot;:32}],60:[function(t,n,l){const i=t(&quot;../base-xform&quot;),a=t(&quot;./hlink-click-xform&quot;),u=t(&quot;./ext-lst-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={&quot;a:hlinkClick&quot;:new a,&quot;a:extLst&quot;:new u}}get tag(){return&quot;xdr:cNvPr&quot;}render(o,s){o.openNode(this.tag,{id:s.index,name:&quot;Picture &quot;+s.index}),this.map[&quot;a:hlinkClick&quot;].render(o,s),this.map[&quot;a:extLst&quot;].render(o,s),o.closeNode()}parseOpen(o){return this.parser?(this.parser.parseOpen(o),!0):(o.name===this.tag?this.reset():(this.parser=this.map[o.name],this.parser&amp;&amp;this.parser.parseOpen(o)),!0)}parseText(){}parseClose(o){return this.parser?(this.parser.parseClose(o)||(this.parser=void 0),!0):o===this.tag?(this.model=this.map[&quot;a:hlinkClick&quot;].model,!1):!0}}},{&quot;../base-xform&quot;:32,&quot;./ext-lst-xform&quot;:63,&quot;./hlink-click-xform&quot;:65}],61:[function(t,n,l){const i=t(&quot;../base-xform&quot;),a=t(&quot;../simple/integer-xform&quot;);n.exports=class extends i{constructor(u){super(),this.tag=u.tag,this.map={&quot;xdr:col&quot;:new a({tag:&quot;xdr:col&quot;,zero:!0}),&quot;xdr:colOff&quot;:new a({tag:&quot;xdr:colOff&quot;,zero:!0}),&quot;xdr:row&quot;:new a({tag:&quot;xdr:row&quot;,zero:!0}),&quot;xdr:rowOff&quot;:new a({tag:&quot;xdr:rowOff&quot;,zero:!0})}}render(u,o){u.openNode(this.tag),this.map[&quot;xdr:col&quot;].render(u,o.nativeCol),this.map[&quot;xdr:colOff&quot;].render(u,o.nativeColOff),this.map[&quot;xdr:row&quot;].render(u,o.nativeRow),this.map[&quot;xdr:rowOff&quot;].render(u,o.nativeRowOff),u.closeNode()}parseOpen(u){return this.parser?(this.parser.parseOpen(u),!0):(u.name===this.tag?this.reset():(this.parser=this.map[u.name],this.parser&amp;&amp;this.parser.parseOpen(u)),!0)}parseText(u){this.parser&amp;&amp;this.parser.parseText(u)}parseClose(u){return this.parser?(this.parser.parseClose(u)||(this.parser=void 0),!0):u===this.tag?(this.model={nativeCol:this.map[&quot;xdr:col&quot;].model,nativeColOff:this.map[&quot;xdr:colOff&quot;].model,nativeRow:this.map[&quot;xdr:row&quot;].model,nativeRowOff:this.map[&quot;xdr:rowOff&quot;].model},!1):!0}}},{&quot;../base-xform&quot;:32,&quot;../simple/integer-xform&quot;:118}],62:[function(t,n,l){const i=t(&quot;../../../utils/col-cache&quot;),a=t(&quot;../../../utils/xml-stream&quot;),u=t(&quot;../base-xform&quot;),o=t(&quot;./two-cell-anchor-xform&quot;),s=t(&quot;./one-cell-anchor-xform&quot;);class c extends u{constructor(){super(),this.map={&quot;xdr:twoCellAnchor&quot;:new o,&quot;xdr:oneCellAnchor&quot;:new s}}prepare(h){h.anchors.forEach((m,p)=&gt;{m.anchorType=(function(v){return(typeof v.range==&quot;string&quot;?i.decode(v.range):v.range).br?&quot;xdr:twoCellAnchor&quot;:&quot;xdr:oneCellAnchor&quot;})(m),this.map[m.anchorType].prepare(m,{index:p})})}get tag(){return&quot;xdr:wsDr&quot;}render(h,m){h.openXml(a.StdDocAttributes),h.openNode(this.tag,c.DRAWING_ATTRIBUTES),m.anchors.forEach(p=&gt;{this.map[p.anchorType].render(h,p)}),h.closeNode()}parseOpen(h){return this.parser?(this.parser.parseOpen(h),!0):(h.name===this.tag?(this.reset(),this.model={anchors:[]}):(this.parser=this.map[h.name],this.parser&amp;&amp;this.parser.parseOpen(h)),!0)}parseText(h){this.parser&amp;&amp;this.parser.parseText(h)}parseClose(h){return this.parser?(this.parser.parseClose(h)||(this.model.anchors.push(this.parser.model),this.parser=void 0),!0):h!==this.tag}reconcile(h,m){h.anchors.forEach(p=&gt;{p.br?this.map[&quot;xdr:twoCellAnchor&quot;].reconcile(p,m):this.map[&quot;xdr:oneCellAnchor&quot;].reconcile(p,m)})}}c.DRAWING_ATTRIBUTES={&quot;xmlns:xdr&quot;:&quot;http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing&quot;,&quot;xmlns:a&quot;:&quot;http://schemas.openxmlformats.org/drawingml/2006/main&quot;},n.exports=c},{&quot;../../../utils/col-cache&quot;:19,&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;./one-cell-anchor-xform&quot;:67,&quot;./two-cell-anchor-xform&quot;:70}],63:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;a:extLst&quot;}render(a){a.openNode(this.tag),a.openNode(&quot;a:ext&quot;,{uri:&quot;{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}&quot;}),a.leafNode(&quot;a16:creationId&quot;,{&quot;xmlns:a16&quot;:&quot;http://schemas.microsoft.com/office/drawing/2014/main&quot;,id:&quot;{00000000-0008-0000-0000-000002000000}&quot;}),a.closeNode(),a.closeNode()}parseOpen(a){switch(a.name){case this.tag:default:return!0}}parseText(){}parseClose(a){return a!==this.tag}}},{&quot;../base-xform&quot;:32}],64:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{constructor(a){super(),this.tag=a.tag,this.map={}}render(a,u){a.openNode(this.tag);const o=Math.floor(9525*u.width),s=Math.floor(9525*u.height);a.addAttribute(&quot;cx&quot;,o),a.addAttribute(&quot;cy&quot;,s),a.closeNode()}parseOpen(a){return a.name===this.tag&amp;&amp;(this.model={width:parseInt(a.attributes.cx||&quot;0&quot;,10)/9525,height:parseInt(a.attributes.cy||&quot;0&quot;,10)/9525},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],65:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;a:hlinkClick&quot;}render(a,u){u.hyperlinks&amp;&amp;u.hyperlinks.rId&amp;&amp;a.leafNode(this.tag,{&quot;xmlns:r&quot;:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships&quot;,&quot;r:id&quot;:u.hyperlinks.rId,tooltip:u.hyperlinks.tooltip})}parseOpen(a){return a.name===this.tag&amp;&amp;(this.model={hyperlinks:{rId:a.attributes[&quot;r:id&quot;],tooltip:a.attributes.tooltip}}),!0}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],66:[function(t,n,l){const i=t(&quot;../base-xform&quot;),a=t(&quot;./c-nv-pr-xform&quot;),u=t(&quot;./c-nv-pic-pr-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={&quot;xdr:cNvPr&quot;:new a,&quot;xdr:cNvPicPr&quot;:new u}}get tag(){return&quot;xdr:nvPicPr&quot;}render(o,s){o.openNode(this.tag),this.map[&quot;xdr:cNvPr&quot;].render(o,s),this.map[&quot;xdr:cNvPicPr&quot;].render(o,s),o.closeNode()}parseOpen(o){return this.parser?(this.parser.parseOpen(o),!0):(o.name===this.tag?this.reset():(this.parser=this.map[o.name],this.parser&amp;&amp;this.parser.parseOpen(o)),!0)}parseText(){}parseClose(o){return this.parser?(this.parser.parseClose(o)||(this.parser=void 0),!0):o===this.tag?(this.model=this.map[&quot;xdr:cNvPr&quot;].model,!1):!0}}},{&quot;../base-xform&quot;:32,&quot;./c-nv-pic-pr-xform&quot;:59,&quot;./c-nv-pr-xform&quot;:60}],67:[function(t,n,l){const i=t(&quot;./base-cell-anchor-xform&quot;),a=t(&quot;../static-xform&quot;),u=t(&quot;./cell-position-xform&quot;),o=t(&quot;./ext-xform&quot;),s=t(&quot;./pic-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={&quot;xdr:from&quot;:new u({tag:&quot;xdr:from&quot;}),&quot;xdr:ext&quot;:new o({tag:&quot;xdr:ext&quot;}),&quot;xdr:pic&quot;:new s,&quot;xdr:clientData&quot;:new a({tag:&quot;xdr:clientData&quot;})}}get tag(){return&quot;xdr:oneCellAnchor&quot;}prepare(c,f){this.map[&quot;xdr:pic&quot;].prepare(c.picture,f)}render(c,f){c.openNode(this.tag,{editAs:f.range.editAs||&quot;oneCell&quot;}),this.map[&quot;xdr:from&quot;].render(c,f.range.tl),this.map[&quot;xdr:ext&quot;].render(c,f.range.ext),this.map[&quot;xdr:pic&quot;].render(c,f.picture),this.map[&quot;xdr:clientData&quot;].render(c,{}),c.closeNode()}parseClose(c){return this.parser?(this.parser.parseClose(c)||(this.parser=void 0),!0):c===this.tag?(this.model.range.tl=this.map[&quot;xdr:from&quot;].model,this.model.range.ext=this.map[&quot;xdr:ext&quot;].model,this.model.picture=this.map[&quot;xdr:pic&quot;].model,!1):!0}reconcile(c,f){c.medium=this.reconcilePicture(c.picture,f)}}},{&quot;../static-xform&quot;:120,&quot;./base-cell-anchor-xform&quot;:56,&quot;./cell-position-xform&quot;:61,&quot;./ext-xform&quot;:64,&quot;./pic-xform&quot;:68}],68:[function(t,n,l){const i=t(&quot;../base-xform&quot;),a=t(&quot;../static-xform&quot;),u=t(&quot;./blip-fill-xform&quot;),o=t(&quot;./nv-pic-pr-xform&quot;),s=t(&quot;./sp-pr&quot;);n.exports=class extends i{constructor(){super(),this.map={&quot;xdr:nvPicPr&quot;:new o,&quot;xdr:blipFill&quot;:new u,&quot;xdr:spPr&quot;:new a(s)}}get tag(){return&quot;xdr:pic&quot;}prepare(c,f){c.index=f.index+1}render(c,f){c.openNode(this.tag),this.map[&quot;xdr:nvPicPr&quot;].render(c,f),this.map[&quot;xdr:blipFill&quot;].render(c,f),this.map[&quot;xdr:spPr&quot;].render(c,f),c.closeNode()}parseOpen(c){return this.parser?(this.parser.parseOpen(c),!0):(c.name===this.tag?this.reset():(this.parser=this.map[c.name],this.parser&amp;&amp;this.parser.parseOpen(c)),!0)}parseText(){}parseClose(c){return this.parser?(this.parser.parseClose(c)||(this.mergeModel(this.parser.model),this.parser=void 0),!0):c!==this.tag}}},{&quot;../base-xform&quot;:32,&quot;../static-xform&quot;:120,&quot;./blip-fill-xform&quot;:57,&quot;./nv-pic-pr-xform&quot;:66,&quot;./sp-pr&quot;:69}],69:[function(t,n,l){n.exports={tag:&quot;xdr:spPr&quot;,c:[{tag:&quot;a:xfrm&quot;,c:[{tag:&quot;a:off&quot;,$:{x:&quot;0&quot;,y:&quot;0&quot;}},{tag:&quot;a:ext&quot;,$:{cx:&quot;0&quot;,cy:&quot;0&quot;}}]},{tag:&quot;a:prstGeom&quot;,$:{prst:&quot;rect&quot;},c:[{tag:&quot;a:avLst&quot;}]}]}},{}],70:[function(t,n,l){const i=t(&quot;./base-cell-anchor-xform&quot;),a=t(&quot;../static-xform&quot;),u=t(&quot;./cell-position-xform&quot;),o=t(&quot;./pic-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={&quot;xdr:from&quot;:new u({tag:&quot;xdr:from&quot;}),&quot;xdr:to&quot;:new u({tag:&quot;xdr:to&quot;}),&quot;xdr:pic&quot;:new o,&quot;xdr:clientData&quot;:new a({tag:&quot;xdr:clientData&quot;})}}get tag(){return&quot;xdr:twoCellAnchor&quot;}prepare(s,c){this.map[&quot;xdr:pic&quot;].prepare(s.picture,c)}render(s,c){s.openNode(this.tag,{editAs:c.range.editAs||&quot;oneCell&quot;}),this.map[&quot;xdr:from&quot;].render(s,c.range.tl),this.map[&quot;xdr:to&quot;].render(s,c.range.br),this.map[&quot;xdr:pic&quot;].render(s,c.picture),this.map[&quot;xdr:clientData&quot;].render(s,{}),s.closeNode()}parseClose(s){return this.parser?(this.parser.parseClose(s)||(this.parser=void 0),!0):s===this.tag?(this.model.range.tl=this.map[&quot;xdr:from&quot;].model,this.model.range.br=this.map[&quot;xdr:to&quot;].model,this.model.picture=this.map[&quot;xdr:pic&quot;].model,!1):!0}reconcile(s,c){s.medium=this.reconcilePicture(s.picture,c)}}},{&quot;../static-xform&quot;:120,&quot;./base-cell-anchor-xform&quot;:56,&quot;./cell-position-xform&quot;:61,&quot;./pic-xform&quot;:68}],71:[function(t,n,l){const i=t(&quot;./base-xform&quot;);n.exports=class extends i{constructor(a){super(),this.tag=a.tag,this.always=!!a.always,this.count=a.count,this.empty=a.empty,this.$count=a.$count||&quot;count&quot;,this.$=a.$,this.childXform=a.childXform,this.maxItems=a.maxItems}prepare(a,u){const{childXform:o}=this;a&amp;&amp;a.forEach((s,c)=&gt;{u.index=c,o.prepare(s,u)})}render(a,u){if(this.always||u&amp;&amp;u.length){a.openNode(this.tag,this.$),this.count&amp;&amp;a.addAttribute(this.$count,u&amp;&amp;u.length||0);const{childXform:o}=this;(u||[]).forEach((s,c)=&gt;{o.render(a,s,c)}),a.closeNode()}else this.empty&amp;&amp;a.leafNode(this.tag)}parseOpen(a){return this.parser?(this.parser.parseOpen(a),!0):a.name===this.tag?(this.model=[],!0):!!this.childXform.parseOpen(a)&amp;&amp;(this.parser=this.childXform,!0)}parseText(a){this.parser&amp;&amp;this.parser.parseText(a)}parseClose(a){if(this.parser){if(!this.parser.parseClose(a)&amp;&amp;(this.model.push(this.parser.model),this.parser=void 0,this.maxItems&amp;&amp;this.model.length&gt;this.maxItems))throw new Error(`Max ${this.childXform.tag} count (${this.maxItems}) exceeded`);return!0}return!1}reconcile(a,u){if(a){const{childXform:o}=this;a.forEach(s=&gt;{o.reconcile(s,u)})}}}},{&quot;./base-xform&quot;:32}],72:[function(t,n,l){const i=t(&quot;../../../utils/col-cache&quot;),a=t(&quot;../base-xform&quot;);n.exports=class extends a{get tag(){return&quot;autoFilter&quot;}render(u,o){if(o)if(typeof o==&quot;string&quot;)u.leafNode(&quot;autoFilter&quot;,{ref:o});else{const s=function(h){return typeof h==&quot;string&quot;?h:i.getAddress(h.row,h.column).address},c=s(o.from),f=s(o.to);c&amp;&amp;f&amp;&amp;u.leafNode(&quot;autoFilter&quot;,{ref:`${c}:${f}`})}}parseOpen(u){u.name===&quot;autoFilter&quot;&amp;&amp;(this.model=u.attributes.ref)}}},{&quot;../../../utils/col-cache&quot;:19,&quot;../base-xform&quot;:32}],73:[function(t,n,l){const i=t(&quot;../../../utils/utils&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;../../../doc/range&quot;),o=t(&quot;../../../doc/enums&quot;),s=t(&quot;../strings/rich-text-xform&quot;);function c(f){if(f==null)return o.ValueType.Null;if(f instanceof String||typeof f==&quot;string&quot;)return o.ValueType.String;if(typeof f==&quot;number&quot;)return o.ValueType.Number;if(typeof f==&quot;boolean&quot;)return o.ValueType.Boolean;if(f instanceof Date)return o.ValueType.Date;if(f.text&amp;&amp;f.hyperlink)return o.ValueType.Hyperlink;if(f.formula)return o.ValueType.Formula;if(f.error)return o.ValueType.Error;throw new Error(&quot;I could not understand type of value&quot;)}n.exports=class extends a{constructor(){super(),this.richTextXForm=new s}get tag(){return&quot;c&quot;}prepare(f,h){const m=h.styles.addStyleModel(f.style||{},(function(p){return p.type===o.ValueType.Formula?c(p.result):p.type})(f));switch(m&amp;&amp;(f.styleId=m),f.comment&amp;&amp;h.comments.push({...f.comment,ref:f.address}),f.type){case o.ValueType.String:case o.ValueType.RichText:h.sharedStrings&amp;&amp;(f.ssId=h.sharedStrings.add(f.value));break;case o.ValueType.Date:h.date1904&amp;&amp;(f.date1904=!0);break;case o.ValueType.Hyperlink:h.sharedStrings&amp;&amp;f.text!==void 0&amp;&amp;f.text!==null&amp;&amp;(f.ssId=h.sharedStrings.add(f.text)),h.hyperlinks.push({address:f.address,target:f.hyperlink,tooltip:f.tooltip});break;case o.ValueType.Merge:h.merges.add(f);break;case o.ValueType.Formula:if(h.date1904&amp;&amp;(f.date1904=!0),f.shareType===&quot;shared&quot;&amp;&amp;(f.si=h.siFormulae++),f.formula)h.formulae[f.address]=f;else if(f.sharedFormula){const p=h.formulae[f.sharedFormula];if(!p)throw new Error(&quot;Shared Formula master must exist above and or left of clone for cell &quot;+f.address);p.si===void 0?(p.shareType=&quot;shared&quot;,p.si=h.siFormulae++,p.range=new u(p.address,f.address)):p.range&amp;&amp;p.range.expandToAddress(f.address),f.si=p.si}}}renderFormula(f,h){let m=null;switch(h.shareType){case&quot;shared&quot;:m={t:&quot;shared&quot;,ref:h.ref||h.range.range,si:h.si};break;case&quot;array&quot;:m={t:&quot;array&quot;,ref:h.ref};break;default:h.si!==void 0&amp;&amp;(m={t:&quot;shared&quot;,si:h.si})}switch(c(h.result)){case o.ValueType.Null:f.leafNode(&quot;f&quot;,m,h.formula);break;case o.ValueType.String:f.addAttribute(&quot;t&quot;,&quot;str&quot;),f.leafNode(&quot;f&quot;,m,h.formula),f.leafNode(&quot;v&quot;,null,h.result);break;case o.ValueType.Number:f.leafNode(&quot;f&quot;,m,h.formula),f.leafNode(&quot;v&quot;,null,h.result);break;case o.ValueType.Boolean:f.addAttribute(&quot;t&quot;,&quot;b&quot;),f.leafNode(&quot;f&quot;,m,h.formula),f.leafNode(&quot;v&quot;,null,h.result?1:0);break;case o.ValueType.Error:f.addAttribute(&quot;t&quot;,&quot;e&quot;),f.leafNode(&quot;f&quot;,m,h.formula),f.leafNode(&quot;v&quot;,null,h.result.error);break;case o.ValueType.Date:f.leafNode(&quot;f&quot;,m,h.formula),f.leafNode(&quot;v&quot;,null,i.dateToExcel(h.result,h.date1904));break;default:throw new Error(&quot;I could not understand type of value&quot;)}}render(f,h){if(h.type!==o.ValueType.Null||h.styleId){switch(f.openNode(&quot;c&quot;),f.addAttribute(&quot;r&quot;,h.address),h.styleId&amp;&amp;f.addAttribute(&quot;s&quot;,h.styleId),h.type){case o.ValueType.Null:break;case o.ValueType.Number:f.leafNode(&quot;v&quot;,null,h.value);break;case o.ValueType.Boolean:f.addAttribute(&quot;t&quot;,&quot;b&quot;),f.leafNode(&quot;v&quot;,null,h.value?&quot;1&quot;:&quot;0&quot;);break;case o.ValueType.Error:f.addAttribute(&quot;t&quot;,&quot;e&quot;),f.leafNode(&quot;v&quot;,null,h.value.error);break;case o.ValueType.String:case o.ValueType.RichText:h.ssId!==void 0?(f.addAttribute(&quot;t&quot;,&quot;s&quot;),f.leafNode(&quot;v&quot;,null,h.ssId)):h.value&amp;&amp;h.value.richText?(f.addAttribute(&quot;t&quot;,&quot;inlineStr&quot;),f.openNode(&quot;is&quot;),h.value.richText.forEach(m=&gt;{this.richTextXForm.render(f,m)}),f.closeNode(&quot;is&quot;)):(f.addAttribute(&quot;t&quot;,&quot;str&quot;),f.leafNode(&quot;v&quot;,null,h.value));break;case o.ValueType.Date:f.leafNode(&quot;v&quot;,null,i.dateToExcel(h.value,h.date1904));break;case o.ValueType.Hyperlink:h.ssId!==void 0?(f.addAttribute(&quot;t&quot;,&quot;s&quot;),f.leafNode(&quot;v&quot;,null,h.ssId)):(f.addAttribute(&quot;t&quot;,&quot;str&quot;),f.leafNode(&quot;v&quot;,null,h.text));break;case o.ValueType.Formula:this.renderFormula(f,h);break;case o.ValueType.Merge:}f.closeNode()}}parseOpen(f){if(this.parser)return this.parser.parseOpen(f),!0;switch(f.name){case&quot;c&quot;:return this.model={address:f.attributes.r},this.t=f.attributes.t,f.attributes.s&amp;&amp;(this.model.styleId=parseInt(f.attributes.s,10)),!0;case&quot;f&quot;:return this.currentNode=&quot;f&quot;,this.model.si=f.attributes.si,this.model.shareType=f.attributes.t,this.model.ref=f.attributes.ref,!0;case&quot;v&quot;:return this.currentNode=&quot;v&quot;,!0;case&quot;t&quot;:return this.currentNode=&quot;t&quot;,!0;case&quot;r&quot;:return this.parser=this.richTextXForm,this.parser.parseOpen(f),!0;default:return!1}}parseText(f){if(this.parser)this.parser.parseText(f);else switch(this.currentNode){case&quot;f&quot;:this.model.formula=this.model.formula?this.model.formula+f:f;break;case&quot;v&quot;:case&quot;t&quot;:this.model.value&amp;&amp;this.model.value.richText?this.model.value.richText.text=this.model.value.richText.text?this.model.value.richText.text+f:f:this.model.value=this.model.value?this.model.value+f:f}}parseClose(f){switch(f){case&quot;c&quot;:{const{model:h}=this;if(h.formula||h.shareType)h.type=o.ValueType.Formula,h.value&amp;&amp;(this.t===&quot;str&quot;?h.result=i.xmlDecode(h.value):this.t===&quot;b&quot;?h.result=parseInt(h.value,10)!==0:this.t===&quot;e&quot;?h.result={error:h.value}:h.result=parseFloat(h.value),h.value=void 0);else if(h.value!==void 0)switch(this.t){case&quot;s&quot;:h.type=o.ValueType.String,h.value=parseInt(h.value,10);break;case&quot;str&quot;:h.type=o.ValueType.String,h.value=i.xmlDecode(h.value);break;case&quot;inlineStr&quot;:h.type=o.ValueType.String;break;case&quot;b&quot;:h.type=o.ValueType.Boolean,h.value=parseInt(h.value,10)!==0;break;case&quot;e&quot;:h.type=o.ValueType.Error,h.value={error:h.value};break;default:h.type=o.ValueType.Number,h.value=parseFloat(h.value)}else h.styleId?h.type=o.ValueType.Null:h.type=o.ValueType.Merge;return!1}case&quot;f&quot;:case&quot;v&quot;:case&quot;is&quot;:return this.currentNode=void 0,!0;case&quot;t&quot;:return this.parser?(this.parser.parseClose(f),!0):(this.currentNode=void 0,!0);case&quot;r&quot;:return this.model.value=this.model.value||{},this.model.value.richText=this.model.value.richText||[],this.model.value.richText.push(this.parser.model),this.parser=void 0,this.currentNode=void 0,!0;default:return!!this.parser&amp;&amp;(this.parser.parseClose(f),!0)}}reconcile(f,h){const m=f.styleId&amp;&amp;h.styles&amp;&amp;h.styles.getStyleModel(f.styleId);switch(m&amp;&amp;(f.style=m),f.styleId!==void 0&amp;&amp;(f.styleId=void 0),f.type){case o.ValueType.String:typeof f.value==&quot;number&quot;&amp;&amp;h.sharedStrings&amp;&amp;(f.value=h.sharedStrings.getString(f.value)),f.value.richText&amp;&amp;(f.type=o.ValueType.RichText);break;case o.ValueType.Number:m&amp;&amp;i.isDateFmt(m.numFmt)&amp;&amp;(f.type=o.ValueType.Date,f.value=i.excelToDate(f.value,h.date1904));break;case o.ValueType.Formula:f.result!==void 0&amp;&amp;m&amp;&amp;i.isDateFmt(m.numFmt)&amp;&amp;(f.result=i.excelToDate(f.result,h.date1904)),f.shareType===&quot;shared&quot;&amp;&amp;(f.ref?h.formulae[f.si]=f.address:(f.sharedFormula=h.formulae[f.si],delete f.shareType),delete f.si)}const p=h.hyperlinkMap[f.address];p&amp;&amp;(f.type===o.ValueType.Formula?(f.text=f.result,f.result=void 0):(f.text=f.value,f.value=void 0),f.type=o.ValueType.Hyperlink,f.hyperlink=p);const v=h.commentsMap&amp;&amp;h.commentsMap[f.address];v&amp;&amp;(f.comment=v)}}},{&quot;../../../doc/enums&quot;:7,&quot;../../../doc/range&quot;:10,&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32,&quot;../strings/rich-text-xform&quot;:122}],74:[function(t,n,l){const i=t(&quot;../../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;x14:cfIcon&quot;}render(a,u){a.leafNode(this.tag,{iconSet:u.iconSet,iconId:u.iconId})}parseOpen(a){let{attributes:u}=a;this.model={iconSet:u.iconSet,iconId:i.toIntValue(u.iconId)}}parseClose(a){return a!==this.tag}}},{&quot;../../base-xform&quot;:32}],75:[function(t,n,l){const{v4:i}=t(&quot;uuid&quot;),a=t(&quot;../../base-xform&quot;),u=t(&quot;../../composite-xform&quot;),o=t(&quot;./databar-ext-xform&quot;),s=t(&quot;./icon-set-ext-xform&quot;),c={&quot;3Triangles&quot;:!0,&quot;3Stars&quot;:!0,&quot;5Boxes&quot;:!0};class f extends u{constructor(){super(),this.map={&quot;x14:dataBar&quot;:this.databarXform=new o,&quot;x14:iconSet&quot;:this.iconSetXform=new s}}get tag(){return&quot;x14:cfRule&quot;}static isExt(m){return m.type===&quot;dataBar&quot;?o.isExt(m):!(m.type!==&quot;iconSet&quot;||!m.custom&amp;&amp;!c[m.iconSet])}prepare(m){f.isExt(m)&amp;&amp;(m.x14Id=`{${i()}}`.toUpperCase())}render(m,p){if(f.isExt(p))switch(p.type){case&quot;dataBar&quot;:this.renderDataBar(m,p);break;case&quot;iconSet&quot;:this.renderIconSet(m,p)}}renderDataBar(m,p){m.openNode(this.tag,{type:&quot;dataBar&quot;,id:p.x14Id}),this.databarXform.render(m,p),m.closeNode()}renderIconSet(m,p){m.openNode(this.tag,{type:&quot;iconSet&quot;,priority:p.priority,id:p.x14Id||`{${i()}}`}),this.iconSetXform.render(m,p),m.closeNode()}createNewModel(m){let{attributes:p}=m;return{type:p.type,x14Id:p.id,priority:a.toIntValue(p.priority)}}onParserClose(m,p){Object.assign(this.model,p.model)}}n.exports=f},{&quot;../../base-xform&quot;:32,&quot;../../composite-xform&quot;:48,&quot;./databar-ext-xform&quot;:79,&quot;./icon-set-ext-xform&quot;:81,uuid:528}],76:[function(t,n,l){const i=t(&quot;../../composite-xform&quot;),a=t(&quot;./f-ext-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={&quot;xm:f&quot;:this.fExtXform=new a}}get tag(){return&quot;x14:cfvo&quot;}render(u,o){u.openNode(this.tag,{type:o.type}),o.value!==void 0&amp;&amp;this.fExtXform.render(u,o.value),u.closeNode()}createNewModel(u){return{type:u.attributes.type}}onParserClose(u,o){u===&quot;xm:f&quot;&amp;&amp;(this.model.value=o.model?parseFloat(o.model):0)}}},{&quot;../../composite-xform&quot;:48,&quot;./f-ext-xform&quot;:80}],77:[function(t,n,l){const i=t(&quot;../../composite-xform&quot;),a=t(&quot;./sqref-ext-xform&quot;),u=t(&quot;./cf-rule-ext-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={&quot;xm:sqref&quot;:this.sqRef=new a,&quot;x14:cfRule&quot;:this.cfRule=new u}}get tag(){return&quot;x14:conditionalFormatting&quot;}prepare(o,s){o.rules.forEach(c=&gt;{this.cfRule.prepare(c,s)})}render(o,s){s.rules.some(u.isExt)&amp;&amp;(o.openNode(this.tag,{&quot;xmlns:xm&quot;:&quot;http://schemas.microsoft.com/office/excel/2006/main&quot;}),s.rules.filter(u.isExt).forEach(c=&gt;this.cfRule.render(o,c)),this.sqRef.render(o,s.ref),o.closeNode())}createNewModel(){return{rules:[]}}onParserClose(o,s){switch(o){case&quot;xm:sqref&quot;:this.model.ref=s.model;break;case&quot;x14:cfRule&quot;:this.model.rules.push(s.model)}}}},{&quot;../../composite-xform&quot;:48,&quot;./cf-rule-ext-xform&quot;:75,&quot;./sqref-ext-xform&quot;:82}],78:[function(t,n,l){const i=t(&quot;../../composite-xform&quot;),a=t(&quot;./cf-rule-ext-xform&quot;),u=t(&quot;./conditional-formatting-ext-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={&quot;x14:conditionalFormatting&quot;:this.cfXform=new u}}get tag(){return&quot;x14:conditionalFormattings&quot;}hasContent(o){return o.hasExtContent===void 0&amp;&amp;(o.hasExtContent=o.some(s=&gt;s.rules.some(a.isExt))),o.hasExtContent}prepare(o,s){o.forEach(c=&gt;{this.cfXform.prepare(c,s)})}render(o,s){this.hasContent(s)&amp;&amp;(o.openNode(this.tag),s.forEach(c=&gt;this.cfXform.render(o,c)),o.closeNode())}createNewModel(){return[]}onParserClose(o,s){this.model.push(s.model)}}},{&quot;../../composite-xform&quot;:48,&quot;./cf-rule-ext-xform&quot;:75,&quot;./conditional-formatting-ext-xform&quot;:77}],79:[function(t,n,l){const i=t(&quot;../../base-xform&quot;),a=t(&quot;../../composite-xform&quot;),u=t(&quot;../../style/color-xform&quot;),o=t(&quot;./cfvo-ext-xform&quot;);n.exports=class extends a{constructor(){super(),this.map={&quot;x14:cfvo&quot;:this.cfvoXform=new o,&quot;x14:borderColor&quot;:this.borderColorXform=new u(&quot;x14:borderColor&quot;),&quot;x14:negativeBorderColor&quot;:this.negativeBorderColorXform=new u(&quot;x14:negativeBorderColor&quot;),&quot;x14:negativeFillColor&quot;:this.negativeFillColorXform=new u(&quot;x14:negativeFillColor&quot;),&quot;x14:axisColor&quot;:this.axisColorXform=new u(&quot;x14:axisColor&quot;)}}static isExt(s){return!s.gradient}get tag(){return&quot;x14:dataBar&quot;}render(s,c){s.openNode(this.tag,{minLength:i.toIntAttribute(c.minLength,0,!0),maxLength:i.toIntAttribute(c.maxLength,100,!0),border:i.toBoolAttribute(c.border,!1),gradient:i.toBoolAttribute(c.gradient,!0),negativeBarColorSameAsPositive:i.toBoolAttribute(c.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:i.toBoolAttribute(c.negativeBarBorderColorSameAsPositive,!0),axisPosition:i.toAttribute(c.axisPosition,&quot;auto&quot;),direction:i.toAttribute(c.direction,&quot;leftToRight&quot;)}),c.cfvo.forEach(f=&gt;{this.cfvoXform.render(s,f)}),this.borderColorXform.render(s,c.borderColor),this.negativeBorderColorXform.render(s,c.negativeBorderColor),this.negativeFillColorXform.render(s,c.negativeFillColor),this.axisColorXform.render(s,c.axisColor),s.closeNode()}createNewModel(s){let{attributes:c}=s;return{cfvo:[],minLength:i.toIntValue(c.minLength,0),maxLength:i.toIntValue(c.maxLength,100),border:i.toBoolValue(c.border,!1),gradient:i.toBoolValue(c.gradient,!0),negativeBarColorSameAsPositive:i.toBoolValue(c.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:i.toBoolValue(c.negativeBarBorderColorSameAsPositive,!0),axisPosition:i.toStringValue(c.axisPosition,&quot;auto&quot;),direction:i.toStringValue(c.direction,&quot;leftToRight&quot;)}}onParserClose(s,c){const[,f]=s.split(&quot;:&quot;);f===&quot;cfvo&quot;?this.model.cfvo.push(c.model):this.model[f]=c.model}}},{&quot;../../base-xform&quot;:32,&quot;../../composite-xform&quot;:48,&quot;../../style/color-xform&quot;:128,&quot;./cfvo-ext-xform&quot;:76}],80:[function(t,n,l){const i=t(&quot;../../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;xm:f&quot;}render(a,u){a.leafNode(this.tag,null,u)}parseOpen(){this.model=&quot;&quot;}parseText(a){this.model+=a}parseClose(a){return a!==this.tag}}},{&quot;../../base-xform&quot;:32}],81:[function(t,n,l){const i=t(&quot;../../base-xform&quot;),a=t(&quot;../../composite-xform&quot;),u=t(&quot;./cfvo-ext-xform&quot;),o=t(&quot;./cf-icon-ext-xform&quot;);n.exports=class extends a{constructor(){super(),this.map={&quot;x14:cfvo&quot;:this.cfvoXform=new u,&quot;x14:cfIcon&quot;:this.cfIconXform=new o}}get tag(){return&quot;x14:iconSet&quot;}render(s,c){s.openNode(this.tag,{iconSet:i.toStringAttribute(c.iconSet),reverse:i.toBoolAttribute(c.reverse,!1),showValue:i.toBoolAttribute(c.showValue,!0),custom:i.toBoolAttribute(c.icons,!1)}),c.cfvo.forEach(f=&gt;{this.cfvoXform.render(s,f)}),c.icons&amp;&amp;c.icons.forEach((f,h)=&gt;{f.iconId=h,this.cfIconXform.render(s,f)}),s.closeNode()}createNewModel(s){let{attributes:c}=s;return{cfvo:[],iconSet:i.toStringValue(c.iconSet,&quot;3TrafficLights&quot;),reverse:i.toBoolValue(c.reverse,!1),showValue:i.toBoolValue(c.showValue,!0)}}onParserClose(s,c){const[,f]=s.split(&quot;:&quot;);switch(f){case&quot;cfvo&quot;:this.model.cfvo.push(c.model);break;case&quot;cfIcon&quot;:this.model.icons||(this.model.icons=[]),this.model.icons.push(c.model);break;default:this.model[f]=c.model}}}},{&quot;../../base-xform&quot;:32,&quot;../../composite-xform&quot;:48,&quot;./cf-icon-ext-xform&quot;:74,&quot;./cfvo-ext-xform&quot;:76}],82:[function(t,n,l){const i=t(&quot;../../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;xm:sqref&quot;}render(a,u){a.leafNode(this.tag,null,u)}parseOpen(){this.model=&quot;&quot;}parseText(a){this.model+=a}parseClose(a){return a!==this.tag}}},{&quot;../../base-xform&quot;:32}],83:[function(t,n,l){const i=t(&quot;../../base-xform&quot;),a=t(&quot;../../composite-xform&quot;),u=t(&quot;../../../../doc/range&quot;),o=t(&quot;./databar-xform&quot;),s=t(&quot;./ext-lst-ref-xform&quot;),c=t(&quot;./formula-xform&quot;),f=t(&quot;./color-scale-xform&quot;),h=t(&quot;./icon-set-xform&quot;),m={&quot;3Triangles&quot;:!0,&quot;3Stars&quot;:!0,&quot;5Boxes&quot;:!0},p=g=&gt;{const{type:b,operator:x}=g;switch(b){case&quot;containsText&quot;:case&quot;containsBlanks&quot;:case&quot;notContainsBlanks&quot;:case&quot;containsErrors&quot;:case&quot;notContainsErrors&quot;:return{type:&quot;containsText&quot;,operator:b};default:return{type:b,operator:x}}};class v extends a{constructor(){super(),this.map={dataBar:this.databarXform=new o,extLst:this.extLstRefXform=new s,formula:this.formulaXform=new c,colorScale:this.colorScaleXform=new f,iconSet:this.iconSetXform=new h}}get tag(){return&quot;cfRule&quot;}static isPrimitive(b){return b.type!==&quot;iconSet&quot;||!b.custom&amp;&amp;!m[b.iconSet]}render(b,x){switch(x.type){case&quot;expression&quot;:this.renderExpression(b,x);break;case&quot;cellIs&quot;:this.renderCellIs(b,x);break;case&quot;top10&quot;:this.renderTop10(b,x);break;case&quot;aboveAverage&quot;:this.renderAboveAverage(b,x);break;case&quot;dataBar&quot;:this.renderDataBar(b,x);break;case&quot;colorScale&quot;:this.renderColorScale(b,x);break;case&quot;iconSet&quot;:this.renderIconSet(b,x);break;case&quot;containsText&quot;:this.renderText(b,x);break;case&quot;timePeriod&quot;:this.renderTimePeriod(b,x)}}renderExpression(b,x){b.openNode(this.tag,{type:&quot;expression&quot;,dxfId:x.dxfId,priority:x.priority}),this.formulaXform.render(b,x.formulae[0]),b.closeNode()}renderCellIs(b,x){b.openNode(this.tag,{type:&quot;cellIs&quot;,dxfId:x.dxfId,priority:x.priority,operator:x.operator}),x.formulae.forEach(_=&gt;{this.formulaXform.render(b,_)}),b.closeNode()}renderTop10(b,x){b.leafNode(this.tag,{type:&quot;top10&quot;,dxfId:x.dxfId,priority:x.priority,percent:i.toBoolAttribute(x.percent,!1),bottom:i.toBoolAttribute(x.bottom,!1),rank:i.toIntValue(x.rank,10,!0)})}renderAboveAverage(b,x){b.leafNode(this.tag,{type:&quot;aboveAverage&quot;,dxfId:x.dxfId,priority:x.priority,aboveAverage:i.toBoolAttribute(x.aboveAverage,!0)})}renderDataBar(b,x){b.openNode(this.tag,{type:&quot;dataBar&quot;,priority:x.priority}),this.databarXform.render(b,x),this.extLstRefXform.render(b,x),b.closeNode()}renderColorScale(b,x){b.openNode(this.tag,{type:&quot;colorScale&quot;,priority:x.priority}),this.colorScaleXform.render(b,x),b.closeNode()}renderIconSet(b,x){v.isPrimitive(x)&amp;&amp;(b.openNode(this.tag,{type:&quot;iconSet&quot;,priority:x.priority}),this.iconSetXform.render(b,x),b.closeNode())}renderText(b,x){b.openNode(this.tag,{type:x.operator,dxfId:x.dxfId,priority:x.priority,operator:i.toStringAttribute(x.operator,&quot;containsText&quot;)});const _=(C=&gt;{if(C.formulae&amp;&amp;C.formulae[0])return C.formulae[0];const O=new u(C.ref),{tl:R}=O;switch(C.operator){case&quot;containsText&quot;:return`NOT(ISERROR(SEARCH(&quot;${C.text}&quot;,${R})))`;case&quot;containsBlanks&quot;:return`LEN(TRIM(${R}))=0`;case&quot;notContainsBlanks&quot;:return`LEN(TRIM(${R}))&gt;0`;case&quot;containsErrors&quot;:return`ISERROR(${R})`;case&quot;notContainsErrors&quot;:return`NOT(ISERROR(${R}))`;default:return}})(x);_&amp;&amp;this.formulaXform.render(b,_),b.closeNode()}renderTimePeriod(b,x){b.openNode(this.tag,{type:&quot;timePeriod&quot;,dxfId:x.dxfId,priority:x.priority,timePeriod:x.timePeriod});const _=(C=&gt;{if(C.formulae&amp;&amp;C.formulae[0])return C.formulae[0];const O=new u(C.ref),{tl:R}=O;switch(C.timePeriod){case&quot;thisWeek&quot;:return`AND(TODAY()-ROUNDDOWN(${R},0)&lt;=WEEKDAY(TODAY())-1,ROUNDDOWN(${R},0)-TODAY()&lt;=7-WEEKDAY(TODAY()))`;case&quot;lastWeek&quot;:return`AND(TODAY()-ROUNDDOWN(${R},0)&gt;=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(${R},0)&lt;(WEEKDAY(TODAY())+7))`;case&quot;nextWeek&quot;:return`AND(ROUNDDOWN(${R},0)-TODAY()&gt;(7-WEEKDAY(TODAY())),ROUNDDOWN(${R},0)-TODAY()&lt;(15-WEEKDAY(TODAY())))`;case&quot;yesterday&quot;:return`FLOOR(${R},1)=TODAY()-1`;case&quot;today&quot;:return`FLOOR(${R},1)=TODAY()`;case&quot;tomorrow&quot;:return`FLOOR(${R},1)=TODAY()+1`;case&quot;last7Days&quot;:return`AND(TODAY()-FLOOR(${R},1)&lt;=6,FLOOR(${R},1)&lt;=TODAY())`;case&quot;lastMonth&quot;:return`AND(MONTH(${R})=MONTH(EDATE(TODAY(),0-1)),YEAR(${R})=YEAR(EDATE(TODAY(),0-1)))`;case&quot;thisMonth&quot;:return`AND(MONTH(${R})=MONTH(TODAY()),YEAR(${R})=YEAR(TODAY()))`;case&quot;nextMonth&quot;:return`AND(MONTH(${R})=MONTH(EDATE(TODAY(),0+1)),YEAR(${R})=YEAR(EDATE(TODAY(),0+1)))`;default:return}})(x);_&amp;&amp;this.formulaXform.render(b,_),b.closeNode()}createNewModel(b){let{attributes:x}=b;return{...p(x),dxfId:i.toIntValue(x.dxfId),priority:i.toIntValue(x.priority),timePeriod:x.timePeriod,percent:i.toBoolValue(x.percent),bottom:i.toBoolValue(x.bottom),rank:i.toIntValue(x.rank),aboveAverage:i.toBoolValue(x.aboveAverage)}}onParserClose(b,x){switch(b){case&quot;dataBar&quot;:case&quot;extLst&quot;:case&quot;colorScale&quot;:case&quot;iconSet&quot;:Object.assign(this.model,x.model);break;case&quot;formula&quot;:this.model.formulae=this.model.formulae||[],this.model.formulae.push(x.model)}}}n.exports=v},{&quot;../../../../doc/range&quot;:10,&quot;../../base-xform&quot;:32,&quot;../../composite-xform&quot;:48,&quot;./color-scale-xform&quot;:85,&quot;./databar-xform&quot;:88,&quot;./ext-lst-ref-xform&quot;:89,&quot;./formula-xform&quot;:90,&quot;./icon-set-xform&quot;:91}],84:[function(t,n,l){const i=t(&quot;../../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;cfvo&quot;}render(a,u){a.leafNode(this.tag,{type:u.type,val:u.value})}parseOpen(a){this.model={type:a.attributes.type,value:i.toFloatValue(a.attributes.val)}}parseClose(a){return a!==this.tag}}},{&quot;../../base-xform&quot;:32}],85:[function(t,n,l){const i=t(&quot;../../composite-xform&quot;),a=t(&quot;../../style/color-xform&quot;),u=t(&quot;./cfvo-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={cfvo:this.cfvoXform=new u,color:this.colorXform=new a}}get tag(){return&quot;colorScale&quot;}render(o,s){o.openNode(this.tag),s.cfvo.forEach(c=&gt;{this.cfvoXform.render(o,c)}),s.color.forEach(c=&gt;{this.colorXform.render(o,c)}),o.closeNode()}createNewModel(o){return{cfvo:[],color:[]}}onParserClose(o,s){this.model[o].push(s.model)}}},{&quot;../../composite-xform&quot;:48,&quot;../../style/color-xform&quot;:128,&quot;./cfvo-xform&quot;:84}],86:[function(t,n,l){const i=t(&quot;../../composite-xform&quot;),a=t(&quot;./cf-rule-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={cfRule:new a}}get tag(){return&quot;conditionalFormatting&quot;}render(u,o){o.rules.some(a.isPrimitive)&amp;&amp;(u.openNode(this.tag,{sqref:o.ref}),o.rules.forEach(s=&gt;{a.isPrimitive(s)&amp;&amp;(s.ref=o.ref,this.map.cfRule.render(u,s))}),u.closeNode())}createNewModel(u){let{attributes:o}=u;return{ref:o.sqref,rules:[]}}onParserClose(u,o){this.model.rules.push(o.model)}}},{&quot;../../composite-xform&quot;:48,&quot;./cf-rule-xform&quot;:83}],87:[function(t,n,l){const i=t(&quot;../../base-xform&quot;),a=t(&quot;./conditional-formatting-xform&quot;);n.exports=class extends i{constructor(){super(),this.cfXform=new a}get tag(){return&quot;conditionalFormatting&quot;}reset(){this.model=[]}prepare(u,o){let s=u.reduce((c,f)=&gt;Math.max(c,...f.rules.map(h=&gt;h.priority||0)),1);u.forEach(c=&gt;{c.rules.forEach(f=&gt;{f.priority||(f.priority=s++),f.style&amp;&amp;(f.dxfId=o.styles.addDxfStyle(f.style))})})}render(u,o){o.forEach(s=&gt;{this.cfXform.render(u,s)})}parseOpen(u){return this.parser?(this.parser.parseOpen(u),!0):u.name===&quot;conditionalFormatting&quot;?(this.parser=this.cfXform,this.parser.parseOpen(u),!0):!1}parseText(u){this.parser&amp;&amp;this.parser.parseText(u)}parseClose(u){return!!this.parser&amp;&amp;(!!this.parser.parseClose(u)||(this.model.push(this.parser.model),this.parser=void 0,!1))}reconcile(u,o){u.forEach(s=&gt;{s.rules.forEach(c=&gt;{c.dxfId!==void 0&amp;&amp;(c.style=o.styles.getDxfStyle(c.dxfId),delete c.dxfId)})})}}},{&quot;../../base-xform&quot;:32,&quot;./conditional-formatting-xform&quot;:86}],88:[function(t,n,l){const i=t(&quot;../../composite-xform&quot;),a=t(&quot;../../style/color-xform&quot;),u=t(&quot;./cfvo-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={cfvo:this.cfvoXform=new u,color:this.colorXform=new a}}get tag(){return&quot;dataBar&quot;}render(o,s){o.openNode(this.tag),s.cfvo.forEach(c=&gt;{this.cfvoXform.render(o,c)}),this.colorXform.render(o,s.color),o.closeNode()}createNewModel(){return{cfvo:[]}}onParserClose(o,s){switch(o){case&quot;cfvo&quot;:this.model.cfvo.push(s.model);break;case&quot;color&quot;:this.model.color=s.model}}}},{&quot;../../composite-xform&quot;:48,&quot;../../style/color-xform&quot;:128,&quot;./cfvo-xform&quot;:84}],89:[function(t,n,l){const i=t(&quot;../../base-xform&quot;),a=t(&quot;../../composite-xform&quot;);class u extends i{get tag(){return&quot;x14:id&quot;}render(c,f){c.leafNode(this.tag,null,f)}parseOpen(){this.model=&quot;&quot;}parseText(c){this.model+=c}parseClose(c){return c!==this.tag}}class o extends a{constructor(){super(),this.map={&quot;x14:id&quot;:this.idXform=new u}}get tag(){return&quot;ext&quot;}render(c,f){c.openNode(this.tag,{uri:&quot;{B025F937-C7B1-47D3-B67F-A62EFF666E3E}&quot;,&quot;xmlns:x14&quot;:&quot;http://schemas.microsoft.com/office/spreadsheetml/2009/9/main&quot;}),this.idXform.render(c,f.x14Id),c.closeNode()}createNewModel(){return{}}onParserClose(c,f){this.model.x14Id=f.model}}n.exports=class extends a{constructor(){super(),this.map={ext:new o}}get tag(){return&quot;extLst&quot;}render(s,c){s.openNode(this.tag),this.map.ext.render(s,c),s.closeNode()}createNewModel(){return{}}onParserClose(s,c){Object.assign(this.model,c.model)}}},{&quot;../../base-xform&quot;:32,&quot;../../composite-xform&quot;:48}],90:[function(t,n,l){const i=t(&quot;../../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;formula&quot;}render(a,u){a.leafNode(this.tag,null,u)}parseOpen(){this.model=&quot;&quot;}parseText(a){this.model+=a}parseClose(a){return a!==this.tag}}},{&quot;../../base-xform&quot;:32}],91:[function(t,n,l){const i=t(&quot;../../base-xform&quot;),a=t(&quot;../../composite-xform&quot;),u=t(&quot;./cfvo-xform&quot;);n.exports=class extends a{constructor(){super(),this.map={cfvo:this.cfvoXform=new u}}get tag(){return&quot;iconSet&quot;}render(o,s){o.openNode(this.tag,{iconSet:i.toStringAttribute(s.iconSet,&quot;3TrafficLights&quot;),reverse:i.toBoolAttribute(s.reverse,!1),showValue:i.toBoolAttribute(s.showValue,!0)}),s.cfvo.forEach(c=&gt;{this.cfvoXform.render(o,c)}),o.closeNode()}createNewModel(o){let{attributes:s}=o;return{iconSet:i.toStringValue(s.iconSet,&quot;3TrafficLights&quot;),reverse:i.toBoolValue(s.reverse),showValue:i.toBoolValue(s.showValue),cfvo:[]}}onParserClose(o,s){this.model[o].push(s.model)}}},{&quot;../../base-xform&quot;:32,&quot;../../composite-xform&quot;:48,&quot;./cfvo-xform&quot;:84}],92:[function(t,n,l){const i=t(&quot;../../../utils/utils&quot;),a=t(&quot;../base-xform&quot;);n.exports=class extends a{get tag(){return&quot;col&quot;}prepare(u,o){const s=o.styles.addStyleModel(u.style||{});s&amp;&amp;(u.styleId=s)}render(u,o){u.openNode(&quot;col&quot;),u.addAttribute(&quot;min&quot;,o.min),u.addAttribute(&quot;max&quot;,o.max),o.width&amp;&amp;u.addAttribute(&quot;width&quot;,o.width),o.styleId&amp;&amp;u.addAttribute(&quot;style&quot;,o.styleId),o.hidden&amp;&amp;u.addAttribute(&quot;hidden&quot;,&quot;1&quot;),o.bestFit&amp;&amp;u.addAttribute(&quot;bestFit&quot;,&quot;1&quot;),o.outlineLevel&amp;&amp;u.addAttribute(&quot;outlineLevel&quot;,o.outlineLevel),o.collapsed&amp;&amp;u.addAttribute(&quot;collapsed&quot;,&quot;1&quot;),u.addAttribute(&quot;customWidth&quot;,&quot;1&quot;),u.closeNode()}parseOpen(u){if(u.name===&quot;col&quot;){const o=this.model={min:parseInt(u.attributes.min||&quot;0&quot;,10),max:parseInt(u.attributes.max||&quot;0&quot;,10),width:u.attributes.width===void 0?void 0:parseFloat(u.attributes.width||&quot;0&quot;)};return u.attributes.style&amp;&amp;(o.styleId=parseInt(u.attributes.style,10)),i.parseBoolean(u.attributes.hidden)&amp;&amp;(o.hidden=!0),i.parseBoolean(u.attributes.bestFit)&amp;&amp;(o.bestFit=!0),u.attributes.outlineLevel&amp;&amp;(o.outlineLevel=parseInt(u.attributes.outlineLevel,10)),i.parseBoolean(u.attributes.collapsed)&amp;&amp;(o.collapsed=!0),!0}return!1}parseText(){}parseClose(){return!1}reconcile(u,o){u.styleId&amp;&amp;(u.style=o.styles.getStyleModel(u.styleId))}}},{&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32}],93:[function(t,n,l){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../../../utils/utils&quot;),u=t(&quot;../../../utils/col-cache&quot;),o=t(&quot;../base-xform&quot;),s=t(&quot;../../../doc/range&quot;);function c(h,m,p,v){const g=m[p];g!==void 0?h[p]=g:v!==void 0&amp;&amp;(h[p]=v)}function f(h,m,p,v){const g=m[p];g!==void 0&amp;&amp;(h[p]=a.parseBoolean(g))}n.exports=class extends o{get tag(){return&quot;dataValidations&quot;}render(h,m){const p=(function(v){const g=i.map(v,(_,C)=&gt;({address:C,dataValidation:_,marked:!1})).sort((_,C)=&gt;i.strcmp(_.address,C.address)),b=i.keyBy(g,&quot;address&quot;),x=(_,C,O)=&gt;{for(let R=0;R&lt;C;R++){const H=u.encodeAddress(_.row+R,O);if(!v[H]||!i.isEqual(v[_.address],v[H]))return!1}return!0};return g.map(_=&gt;{if(!_.marked){const C=u.decodeEx(_.address);if(C.dimensions)return b[C.dimensions].marked=!0,{..._.dataValidation,sqref:_.address};let O=1,R=u.encodeAddress(C.row+O,C.col);for(;v[R]&amp;&amp;i.isEqual(_.dataValidation,v[R]);)O++,R=u.encodeAddress(C.row+O,C.col);let H=1;for(;x(C,O,C.col+H);)H++;for(let L=0;L&lt;O;L++)for(let q=0;q&lt;H;q++)R=u.encodeAddress(C.row+L,C.col+q),b[R].marked=!0;if(O&gt;1||H&gt;1){const L=C.row+(O-1),q=C.col+(H-1);return{..._.dataValidation,sqref:`${_.address}:${u.encodeAddress(L,q)}`}}return{..._.dataValidation,sqref:_.address}}return null}).filter(Boolean)})(m);p.length&amp;&amp;(h.openNode(&quot;dataValidations&quot;,{count:p.length}),p.forEach(v=&gt;{h.openNode(&quot;dataValidation&quot;),v.type!==&quot;any&quot;&amp;&amp;(h.addAttribute(&quot;type&quot;,v.type),v.operator&amp;&amp;v.type!==&quot;list&quot;&amp;&amp;v.operator!==&quot;between&quot;&amp;&amp;h.addAttribute(&quot;operator&quot;,v.operator),v.allowBlank&amp;&amp;h.addAttribute(&quot;allowBlank&quot;,&quot;1&quot;)),v.showInputMessage&amp;&amp;h.addAttribute(&quot;showInputMessage&quot;,&quot;1&quot;),v.promptTitle&amp;&amp;h.addAttribute(&quot;promptTitle&quot;,v.promptTitle),v.prompt&amp;&amp;h.addAttribute(&quot;prompt&quot;,v.prompt),v.showErrorMessage&amp;&amp;h.addAttribute(&quot;showErrorMessage&quot;,&quot;1&quot;),v.errorStyle&amp;&amp;h.addAttribute(&quot;errorStyle&quot;,v.errorStyle),v.errorTitle&amp;&amp;h.addAttribute(&quot;errorTitle&quot;,v.errorTitle),v.error&amp;&amp;h.addAttribute(&quot;error&quot;,v.error),h.addAttribute(&quot;sqref&quot;,v.sqref),(v.formulae||[]).forEach((g,b)=&gt;{h.openNode(&quot;formula&quot;+(b+1)),v.type===&quot;date&quot;?h.writeText(a.dateToExcel(new Date(g))):h.writeText(g),h.closeNode()}),h.closeNode()}),h.closeNode())}parseOpen(h){switch(h.name){case&quot;dataValidations&quot;:return this.model={},!0;case&quot;dataValidation&quot;:{this._address=h.attributes.sqref;const m={type:h.attributes.type||&quot;any&quot;,formulae:[]};switch(h.attributes.type&amp;&amp;f(m,h.attributes,&quot;allowBlank&quot;),f(m,h.attributes,&quot;showInputMessage&quot;),f(m,h.attributes,&quot;showErrorMessage&quot;),m.type){case&quot;any&quot;:case&quot;list&quot;:case&quot;custom&quot;:break;default:c(m,h.attributes,&quot;operator&quot;,&quot;between&quot;)}return c(m,h.attributes,&quot;promptTitle&quot;),c(m,h.attributes,&quot;prompt&quot;),c(m,h.attributes,&quot;errorStyle&quot;),c(m,h.attributes,&quot;errorTitle&quot;),c(m,h.attributes,&quot;error&quot;),this._dataValidation=m,!0}case&quot;formula1&quot;:case&quot;formula2&quot;:return this._formula=[],!0;default:return!1}}parseText(h){this._formula&amp;&amp;this._formula.push(h)}parseClose(h){switch(h){case&quot;dataValidations&quot;:return!1;case&quot;dataValidation&quot;:return this._dataValidation.formulae&amp;&amp;this._dataValidation.formulae.length||(delete this._dataValidation.formulae,delete this._dataValidation.operator),(this._address.split(/\s+/g)||[]).forEach(m=&gt;{m.includes(&quot;:&quot;)?new s(m).forEachAddress(p=&gt;{this.model[p]=this._dataValidation}):this.model[m]=this._dataValidation}),!0;case&quot;formula1&quot;:case&quot;formula2&quot;:{let m=this._formula.join(&quot;&quot;);switch(this._dataValidation.type){case&quot;whole&quot;:case&quot;textLength&quot;:m=parseInt(m,10);break;case&quot;decimal&quot;:m=parseFloat(m);break;case&quot;date&quot;:m=a.excelToDate(parseFloat(m))}return this._dataValidation.formulae.push(m),this._formula=void 0,!0}default:return!0}}}},{&quot;../../../doc/range&quot;:10,&quot;../../../utils/col-cache&quot;:19,&quot;../../../utils/under-dash&quot;:26,&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32}],94:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;dimension&quot;}render(a,u){u&amp;&amp;a.leafNode(&quot;dimension&quot;,{ref:u})}parseOpen(a){return a.name===&quot;dimension&quot;&amp;&amp;(this.model=a.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],95:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;drawing&quot;}render(a,u){u&amp;&amp;a.leafNode(this.tag,{&quot;r:id&quot;:u.rId})}parseOpen(a){return a.name===this.tag?(this.model={rId:a.attributes[&quot;r:id&quot;]},!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],96:[function(t,n,l){const i=t(&quot;../composite-xform&quot;),a=t(&quot;./cf-ext/conditional-formattings-ext-xform&quot;);class u extends i{constructor(){super(),this.map={&quot;x14:conditionalFormattings&quot;:this.conditionalFormattings=new a}}get tag(){return&quot;ext&quot;}hasContent(s){return this.conditionalFormattings.hasContent(s.conditionalFormattings)}prepare(s,c){this.conditionalFormattings.prepare(s.conditionalFormattings,c)}render(s,c){s.openNode(&quot;ext&quot;,{uri:&quot;{78C0D931-6437-407d-A8EE-F0AAD7539E65}&quot;,&quot;xmlns:x14&quot;:&quot;http://schemas.microsoft.com/office/spreadsheetml/2009/9/main&quot;}),this.conditionalFormattings.render(s,c.conditionalFormattings),s.closeNode()}createNewModel(){return{}}onParserClose(s,c){this.model[s]=c.model}}n.exports=class extends i{constructor(){super(),this.map={ext:this.ext=new u}}get tag(){return&quot;extLst&quot;}prepare(o,s){this.ext.prepare(o,s)}hasContent(o){return this.ext.hasContent(o)}render(o,s){this.hasContent(s)&amp;&amp;(o.openNode(&quot;extLst&quot;),this.ext.render(o,s),o.closeNode())}createNewModel(){return{}}onParserClose(o,s){Object.assign(this.model,s.model)}}},{&quot;../composite-xform&quot;:48,&quot;./cf-ext/conditional-formattings-ext-xform&quot;:78}],97:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;headerFooter&quot;}render(a,u){if(u){a.addRollback();let o=!1;a.openNode(&quot;headerFooter&quot;),u.differentFirst&amp;&amp;(a.addAttribute(&quot;differentFirst&quot;,&quot;1&quot;),o=!0),u.differentOddEven&amp;&amp;(a.addAttribute(&quot;differentOddEven&quot;,&quot;1&quot;),o=!0),u.oddHeader&amp;&amp;typeof u.oddHeader==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;oddHeader&quot;,null,u.oddHeader),o=!0),u.oddFooter&amp;&amp;typeof u.oddFooter==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;oddFooter&quot;,null,u.oddFooter),o=!0),u.evenHeader&amp;&amp;typeof u.evenHeader==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;evenHeader&quot;,null,u.evenHeader),o=!0),u.evenFooter&amp;&amp;typeof u.evenFooter==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;evenFooter&quot;,null,u.evenFooter),o=!0),u.firstHeader&amp;&amp;typeof u.firstHeader==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;firstHeader&quot;,null,u.firstHeader),o=!0),u.firstFooter&amp;&amp;typeof u.firstFooter==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;firstFooter&quot;,null,u.firstFooter),o=!0),o?(a.closeNode(),a.commit()):a.rollback()}}parseOpen(a){switch(a.name){case&quot;headerFooter&quot;:return this.model={},a.attributes.differentFirst&amp;&amp;(this.model.differentFirst=parseInt(a.attributes.differentFirst,0)===1),a.attributes.differentOddEven&amp;&amp;(this.model.differentOddEven=parseInt(a.attributes.differentOddEven,0)===1),!0;case&quot;oddHeader&quot;:return this.currentNode=&quot;oddHeader&quot;,!0;case&quot;oddFooter&quot;:return this.currentNode=&quot;oddFooter&quot;,!0;case&quot;evenHeader&quot;:return this.currentNode=&quot;evenHeader&quot;,!0;case&quot;evenFooter&quot;:return this.currentNode=&quot;evenFooter&quot;,!0;case&quot;firstHeader&quot;:return this.currentNode=&quot;firstHeader&quot;,!0;case&quot;firstFooter&quot;:return this.currentNode=&quot;firstFooter&quot;,!0;default:return!1}}parseText(a){switch(this.currentNode){case&quot;oddHeader&quot;:this.model.oddHeader=a;break;case&quot;oddFooter&quot;:this.model.oddFooter=a;break;case&quot;evenHeader&quot;:this.model.evenHeader=a;break;case&quot;evenFooter&quot;:this.model.evenFooter=a;break;case&quot;firstHeader&quot;:this.model.firstHeader=a;break;case&quot;firstFooter&quot;:this.model.firstFooter=a}}parseClose(){switch(this.currentNode){case&quot;oddHeader&quot;:case&quot;oddFooter&quot;:case&quot;evenHeader&quot;:case&quot;evenFooter&quot;:case&quot;firstHeader&quot;:case&quot;firstFooter&quot;:return this.currentNode=void 0,!0;default:return!1}}}},{&quot;../base-xform&quot;:32}],98:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;hyperlink&quot;}render(a,u){this.isInternalLink(u)?a.leafNode(&quot;hyperlink&quot;,{ref:u.address,&quot;r:id&quot;:u.rId,tooltip:u.tooltip,location:u.target}):a.leafNode(&quot;hyperlink&quot;,{ref:u.address,&quot;r:id&quot;:u.rId,tooltip:u.tooltip})}parseOpen(a){return a.name===&quot;hyperlink&quot;&amp;&amp;(this.model={address:a.attributes.ref,rId:a.attributes[&quot;r:id&quot;],tooltip:a.attributes.tooltip},a.attributes.location&amp;&amp;(this.model.target=a.attributes.location),!0)}parseText(){}parseClose(){return!1}isInternalLink(a){return a.target&amp;&amp;/^[^!]+![a-zA-Z]+[\d]+$/.test(a.target)}}},{&quot;../base-xform&quot;:32}],99:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;mergeCell&quot;}render(a,u){a.leafNode(&quot;mergeCell&quot;,{ref:u})}parseOpen(a){return a.name===&quot;mergeCell&quot;&amp;&amp;(this.model=a.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],100:[function(t,n,l){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../../../doc/range&quot;),u=t(&quot;../../../utils/col-cache&quot;),o=t(&quot;../../../doc/enums&quot;);n.exports=class{constructor(){this.merges={}}add(s){if(this.merges[s.master])this.merges[s.master].expandToAddress(s.address);else{const c=`${s.master}:${s.address}`;this.merges[s.master]=new a(c)}}get mergeCells(){return i.map(this.merges,s=&gt;s.range)}reconcile(s,c){i.each(s,f=&gt;{const h=u.decode(f);for(let m=h.top;m&lt;=h.bottom;m++){const p=c[m-1];for(let v=h.left;v&lt;=h.right;v++){const g=p.cells[v-1];g?g.type===o.ValueType.Merge&amp;&amp;(g.master=h.tl):p.cells[v]={type:o.ValueType.Null,address:u.encodeAddress(m,v)}}}})}getMasterAddress(s){const c=this.hash[s];return c&amp;&amp;c.tl}}},{&quot;../../../doc/enums&quot;:7,&quot;../../../doc/range&quot;:10,&quot;../../../utils/col-cache&quot;:19,&quot;../../../utils/under-dash&quot;:26}],101:[function(t,n,l){const i=t(&quot;../base-xform&quot;),a=u=&gt;u!==void 0;n.exports=class extends i{get tag(){return&quot;outlinePr&quot;}render(u,o){return!(!o||!a(o.summaryBelow)&amp;&amp;!a(o.summaryRight))&amp;&amp;(u.leafNode(this.tag,{summaryBelow:a(o.summaryBelow)?Number(o.summaryBelow):void 0,summaryRight:a(o.summaryRight)?Number(o.summaryRight):void 0}),!0)}parseOpen(u){return u.name===this.tag&amp;&amp;(this.model={summaryBelow:a(u.attributes.summaryBelow)?!!Number(u.attributes.summaryBelow):void 0,summaryRight:a(u.attributes.summaryRight)?!!Number(u.attributes.summaryRight):void 0},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],102:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;brk&quot;}render(a,u){a.leafNode(&quot;brk&quot;,u)}parseOpen(a){return a.name===&quot;brk&quot;&amp;&amp;(this.model=a.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],103:[function(t,n,l){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../base-xform&quot;);n.exports=class extends a{get tag(){return&quot;pageMargins&quot;}render(u,o){if(o){const s={left:o.left,right:o.right,top:o.top,bottom:o.bottom,header:o.header,footer:o.footer};i.some(s,c=&gt;c!==void 0)&amp;&amp;u.leafNode(this.tag,s)}}parseOpen(u){return u.name===this.tag?(this.model={left:parseFloat(u.attributes.left||.7),right:parseFloat(u.attributes.right||.7),top:parseFloat(u.attributes.top||.75),bottom:parseFloat(u.attributes.bottom||.75),header:parseFloat(u.attributes.header||.3),footer:parseFloat(u.attributes.footer||.3)},!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../../../utils/under-dash&quot;:26,&quot;../base-xform&quot;:32}],104:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;pageSetUpPr&quot;}render(a,u){return!(!u||!u.fitToPage)&amp;&amp;(a.leafNode(this.tag,{fitToPage:u.fitToPage?&quot;1&quot;:void 0}),!0)}parseOpen(a){return a.name===this.tag&amp;&amp;(this.model={fitToPage:a.attributes.fitToPage===&quot;1&quot;},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],105:[function(t,n,l){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../base-xform&quot;);function u(f){return f?&quot;1&quot;:void 0}function o(f){if(f===&quot;overThenDown&quot;)return f}function s(f){switch(f){case&quot;atEnd&quot;:case&quot;asDisplyed&quot;:return f;default:return}}function c(f){switch(f){case&quot;dash&quot;:case&quot;blank&quot;:case&quot;NA&quot;:return f;default:return}}n.exports=class extends a{get tag(){return&quot;pageSetup&quot;}render(f,h){if(h){const m={paperSize:h.paperSize,orientation:h.orientation,horizontalDpi:h.horizontalDpi,verticalDpi:h.verticalDpi,pageOrder:o(h.pageOrder),blackAndWhite:u(h.blackAndWhite),draft:u(h.draft),cellComments:s(h.cellComments),errors:c(h.errors),scale:h.scale,fitToWidth:h.fitToWidth,fitToHeight:h.fitToHeight,firstPageNumber:h.firstPageNumber,useFirstPageNumber:u(h.firstPageNumber),usePrinterDefaults:u(h.usePrinterDefaults),copies:h.copies};i.some(m,p=&gt;p!==void 0)&amp;&amp;f.leafNode(this.tag,m)}}parseOpen(f){if(f.name===this.tag)return this.model={paperSize:(h=f.attributes.paperSize,h!==void 0?parseInt(h,10):void 0),orientation:f.attributes.orientation||&quot;portrait&quot;,horizontalDpi:parseInt(f.attributes.horizontalDpi||&quot;4294967295&quot;,10),verticalDpi:parseInt(f.attributes.verticalDpi||&quot;4294967295&quot;,10),pageOrder:f.attributes.pageOrder||&quot;downThenOver&quot;,blackAndWhite:f.attributes.blackAndWhite===&quot;1&quot;,draft:f.attributes.draft===&quot;1&quot;,cellComments:f.attributes.cellComments||&quot;None&quot;,errors:f.attributes.errors||&quot;displayed&quot;,scale:parseInt(f.attributes.scale||&quot;100&quot;,10),fitToWidth:parseInt(f.attributes.fitToWidth||&quot;1&quot;,10),fitToHeight:parseInt(f.attributes.fitToHeight||&quot;1&quot;,10),firstPageNumber:parseInt(f.attributes.firstPageNumber||&quot;1&quot;,10),useFirstPageNumber:f.attributes.useFirstPageNumber===&quot;1&quot;,usePrinterDefaults:f.attributes.usePrinterDefaults===&quot;1&quot;,copies:parseInt(f.attributes.copies||&quot;1&quot;,10)},!0;return!1;var h}parseText(){}parseClose(){return!1}}},{&quot;../../../utils/under-dash&quot;:26,&quot;../base-xform&quot;:32}],106:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;picture&quot;}render(a,u){u&amp;&amp;a.leafNode(this.tag,{&quot;r:id&quot;:u.rId})}parseOpen(a){return a.name===this.tag?(this.model={rId:a.attributes[&quot;r:id&quot;]},!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],107:[function(t,n,l){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../base-xform&quot;);function u(o){return o?&quot;1&quot;:void 0}n.exports=class extends a{get tag(){return&quot;printOptions&quot;}render(o,s){if(s){const c={headings:u(s.showRowColHeaders),gridLines:u(s.showGridLines),horizontalCentered:u(s.horizontalCentered),verticalCentered:u(s.verticalCentered)};i.some(c,f=&gt;f!==void 0)&amp;&amp;o.leafNode(this.tag,c)}}parseOpen(o){return o.name===this.tag?(this.model={showRowColHeaders:o.attributes.headings===&quot;1&quot;,showGridLines:o.attributes.gridLines===&quot;1&quot;,horizontalCentered:o.attributes.horizontalCentered===&quot;1&quot;,verticalCentered:o.attributes.verticalCentered===&quot;1&quot;},!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../../../utils/under-dash&quot;:26,&quot;../base-xform&quot;:32}],108:[function(t,n,l){const i=t(&quot;./page-breaks-xform&quot;),a=t(&quot;../list-xform&quot;);n.exports=class extends a{constructor(){super({tag:&quot;rowBreaks&quot;,count:!0,childXform:new i})}render(u,o){if(o&amp;&amp;o.length){u.openNode(this.tag,this.$),this.count&amp;&amp;(u.addAttribute(this.$count,o.length),u.addAttribute(&quot;manualBreakCount&quot;,o.length));const{childXform:s}=this;o.forEach(c=&gt;{s.render(u,c)}),u.closeNode()}else this.empty&amp;&amp;u.leafNode(this.tag)}}},{&quot;../list-xform&quot;:71,&quot;./page-breaks-xform&quot;:102}],109:[function(t,n,l){const i=t(&quot;../base-xform&quot;),a=t(&quot;../../../utils/utils&quot;),u=t(&quot;./cell-xform&quot;);n.exports=class extends i{constructor(o){super(),this.maxItems=o&amp;&amp;o.maxItems,this.map={c:new u}}get tag(){return&quot;row&quot;}prepare(o,s){const c=s.styles.addStyleModel(o.style);c&amp;&amp;(o.styleId=c);const f=this.map.c;o.cells.forEach(h=&gt;{f.prepare(h,s)})}render(o,s,c){o.openNode(&quot;row&quot;),o.addAttribute(&quot;r&quot;,s.number),s.height&amp;&amp;(o.addAttribute(&quot;ht&quot;,s.height),o.addAttribute(&quot;customHeight&quot;,&quot;1&quot;)),s.hidden&amp;&amp;o.addAttribute(&quot;hidden&quot;,&quot;1&quot;),s.min&gt;0&amp;&amp;s.max&gt;0&amp;&amp;s.min&lt;=s.max&amp;&amp;o.addAttribute(&quot;spans&quot;,`${s.min}:${s.max}`),s.styleId&amp;&amp;(o.addAttribute(&quot;s&quot;,s.styleId),o.addAttribute(&quot;customFormat&quot;,&quot;1&quot;)),o.addAttribute(&quot;x14ac:dyDescent&quot;,&quot;0.25&quot;),s.outlineLevel&amp;&amp;o.addAttribute(&quot;outlineLevel&quot;,s.outlineLevel),s.collapsed&amp;&amp;o.addAttribute(&quot;collapsed&quot;,&quot;1&quot;);const f=this.map.c;s.cells.forEach(h=&gt;{f.render(o,h,c)}),o.closeNode()}parseOpen(o){if(this.parser)return this.parser.parseOpen(o),!0;if(o.name===&quot;row&quot;){this.numRowsSeen+=1;const s=o.attributes.spans?o.attributes.spans.split(&quot;:&quot;).map(f=&gt;parseInt(f,10)):[void 0,void 0],c=this.model={number:parseInt(o.attributes.r,10),min:s[0],max:s[1],cells:[]};return o.attributes.s&amp;&amp;(c.styleId=parseInt(o.attributes.s,10)),a.parseBoolean(o.attributes.hidden)&amp;&amp;(c.hidden=!0),a.parseBoolean(o.attributes.bestFit)&amp;&amp;(c.bestFit=!0),o.attributes.ht&amp;&amp;(c.height=parseFloat(o.attributes.ht)),o.attributes.outlineLevel&amp;&amp;(c.outlineLevel=parseInt(o.attributes.outlineLevel,10)),a.parseBoolean(o.attributes.collapsed)&amp;&amp;(c.collapsed=!0),!0}return this.parser=this.map[o.name],!!this.parser&amp;&amp;(this.parser.parseOpen(o),!0)}parseText(o){this.parser&amp;&amp;this.parser.parseText(o)}parseClose(o){if(this.parser){if(!this.parser.parseClose(o)){if(this.model.cells.push(this.parser.model),this.maxItems&amp;&amp;this.model.cells.length&gt;this.maxItems)throw new Error(`Max column count (${this.maxItems}) exceeded`);this.parser=void 0}return!0}return!1}reconcile(o,s){o.style=o.styleId?s.styles.getStyleModel(o.styleId):{},o.styleId!==void 0&amp;&amp;(o.styleId=void 0);const c=this.map.c;o.cells.forEach(f=&gt;{c.reconcile(f,s)})}}},{&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32,&quot;./cell-xform&quot;:73}],110:[function(t,n,l){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../base-xform&quot;);n.exports=class extends a{get tag(){return&quot;sheetFormatPr&quot;}render(u,o){if(o){const s={defaultRowHeight:o.defaultRowHeight,outlineLevelRow:o.outlineLevelRow,outlineLevelCol:o.outlineLevelCol,&quot;x14ac:dyDescent&quot;:o.dyDescent};o.defaultColWidth&amp;&amp;(s.defaultColWidth=o.defaultColWidth),o.defaultRowHeight&amp;&amp;o.defaultRowHeight===15||(s.customHeight=&quot;1&quot;),i.some(s,c=&gt;c!==void 0)&amp;&amp;u.leafNode(&quot;sheetFormatPr&quot;,s)}}parseOpen(u){return u.name===&quot;sheetFormatPr&quot;&amp;&amp;(this.model={defaultRowHeight:parseFloat(u.attributes.defaultRowHeight||&quot;0&quot;),dyDescent:parseFloat(u.attributes[&quot;x14ac:dyDescent&quot;]||&quot;0&quot;),outlineLevelRow:parseInt(u.attributes.outlineLevelRow||&quot;0&quot;,10),outlineLevelCol:parseInt(u.attributes.outlineLevelCol||&quot;0&quot;,10)},u.attributes.defaultColWidth&amp;&amp;(this.model.defaultColWidth=parseFloat(u.attributes.defaultColWidth)),!0)}parseText(){}parseClose(){return!1}}},{&quot;../../../utils/under-dash&quot;:26,&quot;../base-xform&quot;:32}],111:[function(t,n,l){const i=t(&quot;../base-xform&quot;),a=t(&quot;../style/color-xform&quot;),u=t(&quot;./page-setup-properties-xform&quot;),o=t(&quot;./outline-properties-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={tabColor:new a(&quot;tabColor&quot;),pageSetUpPr:new u,outlinePr:new o}}get tag(){return&quot;sheetPr&quot;}render(s,c){if(c){s.addRollback(),s.openNode(&quot;sheetPr&quot;);let f=!1;f=this.map.tabColor.render(s,c.tabColor)||f,f=this.map.pageSetUpPr.render(s,c.pageSetup)||f,f=this.map.outlinePr.render(s,c.outlineProperties)||f,f?(s.closeNode(),s.commit()):s.rollback()}}parseOpen(s){return this.parser?(this.parser.parseOpen(s),!0):s.name===this.tag?(this.reset(),!0):!!this.map[s.name]&amp;&amp;(this.parser=this.map[s.name],this.parser.parseOpen(s),!0)}parseText(s){return!!this.parser&amp;&amp;(this.parser.parseText(s),!0)}parseClose(s){return this.parser?(this.parser.parseClose(s)||(this.parser=void 0),!0):(this.map.tabColor.model||this.map.pageSetUpPr.model||this.map.outlinePr.model?(this.model={},this.map.tabColor.model&amp;&amp;(this.model.tabColor=this.map.tabColor.model),this.map.pageSetUpPr.model&amp;&amp;(this.model.pageSetup=this.map.pageSetUpPr.model),this.map.outlinePr.model&amp;&amp;(this.model.outlineProperties=this.map.outlinePr.model)):this.model=null,!1)}}},{&quot;../base-xform&quot;:32,&quot;../style/color-xform&quot;:128,&quot;./outline-properties-xform&quot;:101,&quot;./page-setup-properties-xform&quot;:104}],112:[function(t,n,l){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../base-xform&quot;);function u(s,c){return s?c:void 0}function o(s,c){return s===c||void 0}n.exports=class extends a{get tag(){return&quot;sheetProtection&quot;}render(s,c){if(c){const f={sheet:u(c.sheet,&quot;1&quot;),selectLockedCells:c.selectLockedCells===!1?&quot;1&quot;:void 0,selectUnlockedCells:c.selectUnlockedCells===!1?&quot;1&quot;:void 0,formatCells:u(c.formatCells,&quot;0&quot;),formatColumns:u(c.formatColumns,&quot;0&quot;),formatRows:u(c.formatRows,&quot;0&quot;),insertColumns:u(c.insertColumns,&quot;0&quot;),insertRows:u(c.insertRows,&quot;0&quot;),insertHyperlinks:u(c.insertHyperlinks,&quot;0&quot;),deleteColumns:u(c.deleteColumns,&quot;0&quot;),deleteRows:u(c.deleteRows,&quot;0&quot;),sort:u(c.sort,&quot;0&quot;),autoFilter:u(c.autoFilter,&quot;0&quot;),pivotTables:u(c.pivotTables,&quot;0&quot;)};c.sheet&amp;&amp;(f.algorithmName=c.algorithmName,f.hashValue=c.hashValue,f.saltValue=c.saltValue,f.spinCount=c.spinCount,f.objects=u(c.objects===!1,&quot;1&quot;),f.scenarios=u(c.scenarios===!1,&quot;1&quot;)),i.some(f,h=&gt;h!==void 0)&amp;&amp;s.leafNode(this.tag,f)}}parseOpen(s){return s.name===this.tag?(this.model={sheet:o(s.attributes.sheet,&quot;1&quot;),objects:s.attributes.objects!==&quot;1&quot;&amp;&amp;void 0,scenarios:s.attributes.scenarios!==&quot;1&quot;&amp;&amp;void 0,selectLockedCells:s.attributes.selectLockedCells!==&quot;1&quot;&amp;&amp;void 0,selectUnlockedCells:s.attributes.selectUnlockedCells!==&quot;1&quot;&amp;&amp;void 0,formatCells:o(s.attributes.formatCells,&quot;0&quot;),formatColumns:o(s.attributes.formatColumns,&quot;0&quot;),formatRows:o(s.attributes.formatRows,&quot;0&quot;),insertColumns:o(s.attributes.insertColumns,&quot;0&quot;),insertRows:o(s.attributes.insertRows,&quot;0&quot;),insertHyperlinks:o(s.attributes.insertHyperlinks,&quot;0&quot;),deleteColumns:o(s.attributes.deleteColumns,&quot;0&quot;),deleteRows:o(s.attributes.deleteRows,&quot;0&quot;),sort:o(s.attributes.sort,&quot;0&quot;),autoFilter:o(s.attributes.autoFilter,&quot;0&quot;),pivotTables:o(s.attributes.pivotTables,&quot;0&quot;)},s.attributes.algorithmName&amp;&amp;(this.model.algorithmName=s.attributes.algorithmName,this.model.hashValue=s.attributes.hashValue,this.model.saltValue=s.attributes.saltValue,this.model.spinCount=parseInt(s.attributes.spinCount,10)),!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../../../utils/under-dash&quot;:26,&quot;../base-xform&quot;:32}],113:[function(t,n,l){const i=t(&quot;../../../utils/col-cache&quot;),a=t(&quot;../base-xform&quot;),u={frozen:&quot;frozen&quot;,frozenSplit:&quot;frozen&quot;,split:&quot;split&quot;};n.exports=class extends a{get tag(){return&quot;sheetView&quot;}prepare(o){switch(o.state){case&quot;frozen&quot;:case&quot;split&quot;:break;default:o.state=&quot;normal&quot;}}render(o,s){o.openNode(&quot;sheetView&quot;,{workbookViewId:s.workbookViewId||0});const c=function(v,g,b){b&amp;&amp;o.addAttribute(v,g)};let f,h,m,p;switch(c(&quot;rightToLeft&quot;,&quot;1&quot;,s.rightToLeft===!0),c(&quot;tabSelected&quot;,&quot;1&quot;,s.tabSelected),c(&quot;showRuler&quot;,&quot;0&quot;,s.showRuler===!1),c(&quot;showRowColHeaders&quot;,&quot;0&quot;,s.showRowColHeaders===!1),c(&quot;showGridLines&quot;,&quot;0&quot;,s.showGridLines===!1),c(&quot;zoomScale&quot;,s.zoomScale,s.zoomScale),c(&quot;zoomScaleNormal&quot;,s.zoomScaleNormal,s.zoomScaleNormal),c(&quot;view&quot;,s.style,s.style),s.state){case&quot;frozen&quot;:h=s.xSplit||0,m=s.ySplit||0,f=s.topLeftCell||i.getAddress(m+1,h+1).address,p=(s.xSplit&amp;&amp;s.ySplit?&quot;bottomRight&quot;:s.xSplit&amp;&amp;&quot;topRight&quot;)||&quot;bottomLeft&quot;,o.leafNode(&quot;pane&quot;,{xSplit:s.xSplit||void 0,ySplit:s.ySplit||void 0,topLeftCell:f,activePane:p,state:&quot;frozen&quot;}),o.leafNode(&quot;selection&quot;,{pane:p,activeCell:s.activeCell,sqref:s.activeCell});break;case&quot;split&quot;:s.activePane===&quot;topLeft&quot;&amp;&amp;(s.activePane=void 0),o.leafNode(&quot;pane&quot;,{xSplit:s.xSplit||void 0,ySplit:s.ySplit||void 0,topLeftCell:s.topLeftCell,activePane:s.activePane}),o.leafNode(&quot;selection&quot;,{pane:s.activePane,activeCell:s.activeCell,sqref:s.activeCell});break;case&quot;normal&quot;:s.activeCell&amp;&amp;o.leafNode(&quot;selection&quot;,{activeCell:s.activeCell,sqref:s.activeCell})}o.closeNode()}parseOpen(o){switch(o.name){case&quot;sheetView&quot;:return this.sheetView={workbookViewId:parseInt(o.attributes.workbookViewId,10),rightToLeft:o.attributes.rightToLeft===&quot;1&quot;,tabSelected:o.attributes.tabSelected===&quot;1&quot;,showRuler:o.attributes.showRuler!==&quot;0&quot;,showRowColHeaders:o.attributes.showRowColHeaders!==&quot;0&quot;,showGridLines:o.attributes.showGridLines!==&quot;0&quot;,zoomScale:parseInt(o.attributes.zoomScale||&quot;100&quot;,10),zoomScaleNormal:parseInt(o.attributes.zoomScaleNormal||&quot;100&quot;,10),style:o.attributes.view},this.pane=void 0,this.selections={},!0;case&quot;pane&quot;:return this.pane={xSplit:parseInt(o.attributes.xSplit||&quot;0&quot;,10),ySplit:parseInt(o.attributes.ySplit||&quot;0&quot;,10),topLeftCell:o.attributes.topLeftCell,activePane:o.attributes.activePane||&quot;topLeft&quot;,state:o.attributes.state},!0;case&quot;selection&quot;:{const s=o.attributes.pane||&quot;topLeft&quot;;return this.selections[s]={pane:s,activeCell:o.attributes.activeCell},!0}default:return!1}}parseText(){}parseClose(o){let s,c;return o===&quot;sheetView&quot;?(this.sheetView&amp;&amp;this.pane?(s=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:u[this.pane.state]||&quot;split&quot;,xSplit:this.pane.xSplit,ySplit:this.pane.ySplit,topLeftCell:this.pane.topLeftCell,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},this.model.state===&quot;split&quot;&amp;&amp;(s.activePane=this.pane.activePane),c=this.selections[this.pane.activePane],c&amp;&amp;c.activeCell&amp;&amp;(s.activeCell=c.activeCell),this.sheetView.style&amp;&amp;(s.style=this.sheetView.style)):(s=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:&quot;normal&quot;,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},c=this.selections.topLeft,c&amp;&amp;c.activeCell&amp;&amp;(s.activeCell=c.activeCell),this.sheetView.style&amp;&amp;(s.style=this.sheetView.style)),!1):!0}reconcile(){}}},{&quot;../../../utils/col-cache&quot;:19,&quot;../base-xform&quot;:32}],114:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;tablePart&quot;}render(a,u){u&amp;&amp;a.leafNode(this.tag,{&quot;r:id&quot;:u.rId})}parseOpen(a){return a.name===this.tag?(this.model={rId:a.attributes[&quot;r:id&quot;]},!0):!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],115:[function(t,n,l){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../../../utils/col-cache&quot;),u=t(&quot;../../../utils/xml-stream&quot;),o=t(&quot;../../rel-type&quot;),s=t(&quot;./merges&quot;),c=t(&quot;../base-xform&quot;),f=t(&quot;../list-xform&quot;),h=t(&quot;./row-xform&quot;),m=t(&quot;./col-xform&quot;),p=t(&quot;./dimension-xform&quot;),v=t(&quot;./hyperlink-xform&quot;),g=t(&quot;./merge-cell-xform&quot;),b=t(&quot;./data-validations-xform&quot;),x=t(&quot;./sheet-properties-xform&quot;),_=t(&quot;./sheet-format-properties-xform&quot;),C=t(&quot;./sheet-view-xform&quot;),O=t(&quot;./sheet-protection-xform&quot;),R=t(&quot;./page-margins-xform&quot;),H=t(&quot;./page-setup-xform&quot;),L=t(&quot;./print-options-xform&quot;),q=t(&quot;./auto-filter-xform&quot;),W=t(&quot;./picture-xform&quot;),K=t(&quot;./drawing-xform&quot;),U=t(&quot;./table-part-xform&quot;),P=t(&quot;./row-breaks-xform&quot;),D=t(&quot;./header-footer-xform&quot;),E=t(&quot;./cf/conditional-formattings-xform&quot;),j=t(&quot;./ext-lst-xform&quot;),k=(N,M)=&gt;{if(!M||!M.length)return N;if(!N||!N.length)return M;const I={},B={};return N.forEach(Y=&gt;{I[Y.ref]=Y,Y.rules.forEach(Z=&gt;{const{x14Id:ie}=Z;ie&amp;&amp;(B[ie]=Z)})}),M.forEach(Y=&gt;{Y.rules.forEach(Z=&gt;{const ie=B[Z.x14Id];ie?(($,ee)=&gt;{Object.keys(ee).forEach(z=&gt;{const T=$[z],X=ee[z];T===void 0&amp;&amp;X!==void 0&amp;&amp;($[z]=X)})})(ie,Z):I[Y.ref]?I[Y.ref].rules.push(Z):N.push({ref:Y.ref,rules:[Z]})})}),N};class S extends c{constructor(M){super();const{maxRows:I,maxCols:B,ignoreNodes:Y}=M||{};this.ignoreNodes=Y||[],this.map={sheetPr:new x,dimension:new p,sheetViews:new f({tag:&quot;sheetViews&quot;,count:!1,childXform:new C}),sheetFormatPr:new _,cols:new f({tag:&quot;cols&quot;,count:!1,childXform:new m}),sheetData:new f({tag:&quot;sheetData&quot;,count:!1,empty:!0,childXform:new h({maxItems:B}),maxItems:I}),autoFilter:new q,mergeCells:new f({tag:&quot;mergeCells&quot;,count:!0,childXform:new g}),rowBreaks:new P,hyperlinks:new f({tag:&quot;hyperlinks&quot;,count:!1,childXform:new v}),pageMargins:new R,dataValidations:new b,pageSetup:new H,headerFooter:new D,printOptions:new L,picture:new W,drawing:new K,sheetProtection:new O,tableParts:new f({tag:&quot;tableParts&quot;,count:!0,childXform:new U}),conditionalFormatting:new E,extLst:new j}}prepare(M,I){I.merges=new s,M.hyperlinks=I.hyperlinks=[],M.comments=I.comments=[],I.formulae={},I.siFormulae=0,this.map.cols.prepare(M.cols,I),this.map.sheetData.prepare(M.rows,I),this.map.conditionalFormatting.prepare(M.conditionalFormattings,I),M.mergeCells=I.merges.mergeCells;const B=M.rels=[];function Y($){return&quot;rId&quot;+($.length+1)}if(M.hyperlinks.forEach($=&gt;{const ee=Y(B);$.rId=ee,B.push({Id:ee,Type:o.Hyperlink,Target:$.target,TargetMode:&quot;External&quot;})}),M.comments.length&gt;0){const $={Id:Y(B),Type:o.Comments,Target:`../comments${M.id}.xml`};B.push($);const ee={Id:Y(B),Type:o.VmlDrawing,Target:`../drawings/vmlDrawing${M.id}.vml`};B.push(ee),M.comments.forEach(z=&gt;{z.refAddress=a.decodeAddress(z.ref)}),I.commentRefs.push({commentName:&quot;comments&quot;+M.id,vmlDrawing:&quot;vmlDrawing&quot;+M.id})}const Z=[];let ie;M.media.forEach($=&gt;{if($.type===&quot;background&quot;){const ee=Y(B);ie=I.media[$.imageId],B.push({Id:ee,Type:o.Image,Target:`../media/${ie.name}.${ie.extension}`}),M.background={rId:ee},M.image=I.media[$.imageId]}else if($.type===&quot;image&quot;){let{drawing:ee}=M;ie=I.media[$.imageId],ee||(ee=M.drawing={rId:Y(B),name:&quot;drawing&quot;+ ++I.drawingsCount,anchors:[],rels:[]},I.drawings.push(ee),B.push({Id:ee.rId,Type:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing&quot;,Target:`../drawings/${ee.name}.xml`}));let z=this.preImageId===$.imageId?Z[$.imageId]:Z[ee.rels.length];z||(z=Y(ee.rels),Z[ee.rels.length]=z,ee.rels.push({Id:z,Type:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/image&quot;,Target:`../media/${ie.name}.${ie.extension}`}));const T={picture:{rId:z},range:$.range};if($.hyperlinks&amp;&amp;$.hyperlinks.hyperlink){const X=Y(ee.rels);Z[ee.rels.length]=X,T.picture.hyperlinks={tooltip:$.hyperlinks.tooltip,rId:X},ee.rels.push({Id:X,Type:o.Hyperlink,Target:$.hyperlinks.hyperlink,TargetMode:&quot;External&quot;})}this.preImageId=$.imageId,ee.anchors.push(T)}}),M.tables.forEach($=&gt;{const ee=Y(B);$.rId=ee,B.push({Id:ee,Type:o.Table,Target:&quot;../tables/&quot;+$.target}),$.columns.forEach(z=&gt;{const{style:T}=z;T&amp;&amp;(z.dxfId=I.styles.addDxfStyle(T))})}),this.map.extLst.prepare(M,I)}render(M,I){M.openXml(u.StdDocAttributes),M.openNode(&quot;worksheet&quot;,S.WORKSHEET_ATTRIBUTES);const B=I.properties?{defaultRowHeight:I.properties.defaultRowHeight,dyDescent:I.properties.dyDescent,outlineLevelCol:I.properties.outlineLevelCol,outlineLevelRow:I.properties.outlineLevelRow}:void 0;I.properties&amp;&amp;I.properties.defaultColWidth&amp;&amp;(B.defaultColWidth=I.properties.defaultColWidth);const Y={outlineProperties:I.properties&amp;&amp;I.properties.outlineProperties,tabColor:I.properties&amp;&amp;I.properties.tabColor,pageSetup:I.pageSetup&amp;&amp;I.pageSetup.fitToPage?{fitToPage:I.pageSetup.fitToPage}:void 0},Z=I.pageSetup&amp;&amp;I.pageSetup.margins,ie={showRowColHeaders:I.pageSetup&amp;&amp;I.pageSetup.showRowColHeaders,showGridLines:I.pageSetup&amp;&amp;I.pageSetup.showGridLines,horizontalCentered:I.pageSetup&amp;&amp;I.pageSetup.horizontalCentered,verticalCentered:I.pageSetup&amp;&amp;I.pageSetup.verticalCentered},$=I.sheetProtection;this.map.sheetPr.render(M,Y),this.map.dimension.render(M,I.dimensions),this.map.sheetViews.render(M,I.views),this.map.sheetFormatPr.render(M,B),this.map.cols.render(M,I.cols),this.map.sheetData.render(M,I.rows),this.map.sheetProtection.render(M,$),this.map.autoFilter.render(M,I.autoFilter),this.map.mergeCells.render(M,I.mergeCells),this.map.conditionalFormatting.render(M,I.conditionalFormattings),this.map.dataValidations.render(M,I.dataValidations),this.map.hyperlinks.render(M,I.hyperlinks),this.map.printOptions.render(M,ie),this.map.pageMargins.render(M,Z),this.map.pageSetup.render(M,I.pageSetup),this.map.headerFooter.render(M,I.headerFooter),this.map.rowBreaks.render(M,I.rowBreaks),this.map.drawing.render(M,I.drawing),this.map.picture.render(M,I.background),this.map.tableParts.render(M,I.tables),this.map.extLst.render(M,I),I.rels&amp;&amp;I.rels.forEach(ee=&gt;{ee.Type===o.VmlDrawing&amp;&amp;M.leafNode(&quot;legacyDrawing&quot;,{&quot;r:id&quot;:ee.Id})}),M.closeNode()}parseOpen(M){return this.parser?(this.parser.parseOpen(M),!0):M.name===&quot;worksheet&quot;?(i.each(this.map,I=&gt;{I.reset()}),!0):(this.map[M.name]&amp;&amp;!this.ignoreNodes.includes(M.name)&amp;&amp;(this.parser=this.map[M.name],this.parser.parseOpen(M)),!0)}parseText(M){this.parser&amp;&amp;this.parser.parseText(M)}parseClose(M){if(this.parser)return this.parser.parseClose(M)||(this.parser=void 0),!0;if(M===&quot;worksheet&quot;){const I=this.map.sheetFormatPr.model||{};this.map.sheetPr.model&amp;&amp;this.map.sheetPr.model.tabColor&amp;&amp;(I.tabColor=this.map.sheetPr.model.tabColor),this.map.sheetPr.model&amp;&amp;this.map.sheetPr.model.outlineProperties&amp;&amp;(I.outlineProperties=this.map.sheetPr.model.outlineProperties);const B={fitToPage:this.map.sheetPr.model&amp;&amp;this.map.sheetPr.model.pageSetup&amp;&amp;this.map.sheetPr.model.pageSetup.fitToPage||!1,margins:this.map.pageMargins.model},Y=Object.assign(B,this.map.pageSetup.model,this.map.printOptions.model),Z=k(this.map.conditionalFormatting.model,this.map.extLst.model&amp;&amp;this.map.extLst.model[&quot;x14:conditionalFormattings&quot;]);return this.model={dimensions:this.map.dimension.model,cols:this.map.cols.model,rows:this.map.sheetData.model,mergeCells:this.map.mergeCells.model,hyperlinks:this.map.hyperlinks.model,dataValidations:this.map.dataValidations.model,properties:I,views:this.map.sheetViews.model,pageSetup:Y,headerFooter:this.map.headerFooter.model,background:this.map.picture.model,drawing:this.map.drawing.model,tables:this.map.tableParts.model,conditionalFormattings:Z},this.map.autoFilter.model&amp;&amp;(this.model.autoFilter=this.map.autoFilter.model),this.map.sheetProtection.model&amp;&amp;(this.model.sheetProtection=this.map.sheetProtection.model),!1}else return!0}reconcile(M,I){const B=(M.relationships||[]).reduce((Z,ie)=&gt;{if(Z[ie.Id]=ie,ie.Type===o.Comments&amp;&amp;(M.comments=I.comments[ie.Target].comments),ie.Type===o.VmlDrawing&amp;&amp;M.comments&amp;&amp;M.comments.length){const $=I.vmlDrawings[ie.Target].comments;M.comments.forEach((ee,z)=&gt;{ee.note=Object.assign({},ee.note,$[z])})}return Z},{});if(I.commentsMap=(M.comments||[]).reduce((Z,ie)=&gt;(ie.ref&amp;&amp;(Z[ie.ref]=ie),Z),{}),I.hyperlinkMap=(M.hyperlinks||[]).reduce((Z,ie)=&gt;(ie.rId&amp;&amp;(Z[ie.address]=B[ie.rId].Target),Z),{}),I.formulae={},M.rows=M.rows&amp;&amp;M.rows.filter(Boolean)||[],M.rows.forEach(Z=&gt;{Z.cells=Z.cells&amp;&amp;Z.cells.filter(Boolean)||[]}),this.map.cols.reconcile(M.cols,I),this.map.sheetData.reconcile(M.rows,I),this.map.conditionalFormatting.reconcile(M.conditionalFormattings,I),M.media=[],M.drawing){const Z=B[M.drawing.rId].Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(Z){const ie=Z[1];I.drawings[ie].anchors.forEach($=&gt;{if($.medium){const ee={type:&quot;image&quot;,imageId:$.medium.index,range:$.range,hyperlinks:$.picture.hyperlinks};M.media.push(ee)}})}}const Y=M.background&amp;&amp;B[M.background.rId];if(Y){const Z=Y.Target.split(&quot;/media/&quot;)[1],ie=I.mediaIndex&amp;&amp;I.mediaIndex[Z];ie!==void 0&amp;&amp;M.media.push({type:&quot;background&quot;,imageId:ie})}M.tables=(M.tables||[]).map(Z=&gt;{const ie=B[Z.rId];return I.tables[ie.Target]}),delete M.relationships,delete M.hyperlinks,delete M.comments}}S.WORKSHEET_ATTRIBUTES={xmlns:&quot;http://schemas.openxmlformats.org/spreadsheetml/2006/main&quot;,&quot;xmlns:r&quot;:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships&quot;,&quot;xmlns:mc&quot;:&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;,&quot;mc:Ignorable&quot;:&quot;x14ac&quot;,&quot;xmlns:x14ac&quot;:&quot;http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac&quot;},n.exports=S},{&quot;../../../utils/col-cache&quot;:19,&quot;../../../utils/under-dash&quot;:26,&quot;../../../utils/xml-stream&quot;:28,&quot;../../rel-type&quot;:31,&quot;../base-xform&quot;:32,&quot;../list-xform&quot;:71,&quot;./auto-filter-xform&quot;:72,&quot;./cf/conditional-formattings-xform&quot;:87,&quot;./col-xform&quot;:92,&quot;./data-validations-xform&quot;:93,&quot;./dimension-xform&quot;:94,&quot;./drawing-xform&quot;:95,&quot;./ext-lst-xform&quot;:96,&quot;./header-footer-xform&quot;:97,&quot;./hyperlink-xform&quot;:98,&quot;./merge-cell-xform&quot;:99,&quot;./merges&quot;:100,&quot;./page-margins-xform&quot;:103,&quot;./page-setup-xform&quot;:105,&quot;./picture-xform&quot;:106,&quot;./print-options-xform&quot;:107,&quot;./row-breaks-xform&quot;:108,&quot;./row-xform&quot;:109,&quot;./sheet-format-properties-xform&quot;:110,&quot;./sheet-properties-xform&quot;:111,&quot;./sheet-protection-xform&quot;:112,&quot;./sheet-view-xform&quot;:113,&quot;./table-part-xform&quot;:114}],116:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{constructor(a){super(),this.tag=a.tag,this.attr=a.attr}render(a,u){u&amp;&amp;(a.openNode(this.tag),a.closeNode())}parseOpen(a){a.name===this.tag&amp;&amp;(this.model=!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],117:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{constructor(a){super(),this.tag=a.tag,this.attr=a.attr,this.attrs=a.attrs,this._format=a.format||function(u){try{return Number.isNaN(u.getTime())?&quot;&quot;:u.toISOString()}catch{return&quot;&quot;}},this._parse=a.parse||function(u){return new Date(u)}}render(a,u){u&amp;&amp;(a.openNode(this.tag),this.attrs&amp;&amp;a.addAttributes(this.attrs),this.attr?a.addAttribute(this.attr,this._format(u)):a.writeText(this._format(u)),a.closeNode())}parseOpen(a){a.name===this.tag&amp;&amp;(this.attr?this.model=this._parse(a.attributes[this.attr]):this.text=[])}parseText(a){this.attr||this.text.push(a)}parseClose(){return this.attr||(this.model=this._parse(this.text.join(&quot;&quot;))),!1}}},{&quot;../base-xform&quot;:32}],118:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{constructor(a){super(),this.tag=a.tag,this.attr=a.attr,this.attrs=a.attrs,this.zero=a.zero}render(a,u){(u||this.zero)&amp;&amp;(a.openNode(this.tag),this.attrs&amp;&amp;a.addAttributes(this.attrs),this.attr?a.addAttribute(this.attr,u):a.writeText(u),a.closeNode())}parseOpen(a){return a.name===this.tag&amp;&amp;(this.attr?this.model=parseInt(a.attributes[this.attr],10):this.text=[],!0)}parseText(a){this.attr||this.text.push(a)}parseClose(){return this.attr||(this.model=parseInt(this.text.join(&quot;&quot;)||0,10)),!1}}},{&quot;../base-xform&quot;:32}],119:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{constructor(a){super(),this.tag=a.tag,this.attr=a.attr,this.attrs=a.attrs}render(a,u){u!==void 0&amp;&amp;(a.openNode(this.tag),this.attrs&amp;&amp;a.addAttributes(this.attrs),this.attr?a.addAttribute(this.attr,u):a.writeText(u),a.closeNode())}parseOpen(a){a.name===this.tag&amp;&amp;(this.attr?this.model=a.attributes[this.attr]:this.text=[])}parseText(a){this.attr||this.text.push(a)}parseClose(){return this.attr||(this.model=this.text.join(&quot;&quot;)),!1}}},{&quot;../base-xform&quot;:32}],120:[function(t,n,l){const i=t(&quot;./base-xform&quot;),a=t(&quot;../../utils/xml-stream&quot;);n.exports=class extends i{constructor(u){super(),this._model=u}render(u){if(!this._xml){const o=new a;(function s(c,f){c.openNode(f.tag,f.$),f.c&amp;&amp;f.c.forEach(h=&gt;{s(c,h)}),f.t&amp;&amp;c.writeText(f.t),c.closeNode()})(o,this._model),this._xml=o.xml}u.writeXml(this._xml)}parseOpen(){return!0}parseText(){}parseClose(u){return u!==this._model.tag}}},{&quot;../../utils/xml-stream&quot;:28,&quot;./base-xform&quot;:32}],121:[function(t,n,l){const i=t(&quot;./text-xform&quot;),a=t(&quot;./rich-text-xform&quot;),u=t(&quot;../base-xform&quot;);n.exports=class extends u{constructor(){super(),this.map={r:new a,t:new i}}get tag(){return&quot;rPh&quot;}render(o,s){if(o.openNode(this.tag,{sb:s.sb||0,eb:s.eb||0}),s&amp;&amp;s.hasOwnProperty(&quot;richText&quot;)&amp;&amp;s.richText){const{r:c}=this.map;s.richText.forEach(f=&gt;{c.render(o,f)})}else s&amp;&amp;this.map.t.render(o,s.text);o.closeNode()}parseOpen(o){const{name:s}=o;return this.parser?(this.parser.parseOpen(o),!0):s===this.tag?(this.model={sb:parseInt(o.attributes.sb,10),eb:parseInt(o.attributes.eb,10)},!0):(this.parser=this.map[s],!!this.parser&amp;&amp;(this.parser.parseOpen(o),!0))}parseText(o){this.parser&amp;&amp;this.parser.parseText(o)}parseClose(o){if(this.parser){if(!this.parser.parseClose(o)){switch(o){case&quot;r&quot;:{let s=this.model.richText;s||(s=this.model.richText=[]),s.push(this.parser.model);break}case&quot;t&quot;:this.model.text=this.parser.model}this.parser=void 0}return!0}return o!==this.tag}}},{&quot;../base-xform&quot;:32,&quot;./rich-text-xform&quot;:122,&quot;./text-xform&quot;:125}],122:[function(t,n,l){const i=t(&quot;./text-xform&quot;),a=t(&quot;../style/font-xform&quot;),u=t(&quot;../base-xform&quot;);class o extends u{constructor(c){super(),this.model=c}get tag(){return&quot;r&quot;}get textXform(){return this._textXform||(this._textXform=new i)}get fontXform(){return this._fontXform||(this._fontXform=new a(o.FONT_OPTIONS))}render(c,f){f=f||this.model,c.openNode(&quot;r&quot;),f.font&amp;&amp;this.fontXform.render(c,f.font),this.textXform.render(c,f.text),c.closeNode()}parseOpen(c){if(this.parser)return this.parser.parseOpen(c),!0;switch(c.name){case&quot;r&quot;:return this.model={},!0;case&quot;t&quot;:return this.parser=this.textXform,this.parser.parseOpen(c),!0;case&quot;rPr&quot;:return this.parser=this.fontXform,this.parser.parseOpen(c),!0;default:return!1}}parseText(c){this.parser&amp;&amp;this.parser.parseText(c)}parseClose(c){switch(c){case&quot;r&quot;:return!1;case&quot;t&quot;:return this.model.text=this.parser.model,this.parser=void 0,!0;case&quot;rPr&quot;:return this.model.font=this.parser.model,this.parser=void 0,!0;default:return this.parser&amp;&amp;this.parser.parseClose(c),!0}}}o.FONT_OPTIONS={tagName:&quot;rPr&quot;,fontNameTag:&quot;rFont&quot;},n.exports=o},{&quot;../base-xform&quot;:32,&quot;../style/font-xform&quot;:131,&quot;./text-xform&quot;:125}],123:[function(t,n,l){const i=t(&quot;./text-xform&quot;),a=t(&quot;./rich-text-xform&quot;),u=t(&quot;./phonetic-text-xform&quot;),o=t(&quot;../base-xform&quot;);n.exports=class extends o{constructor(s){super(),this.model=s,this.map={r:new a,t:new i,rPh:new u}}get tag(){return&quot;si&quot;}render(s,c){s.openNode(this.tag),c&amp;&amp;c.hasOwnProperty(&quot;richText&quot;)&amp;&amp;c.richText?c.richText.length?c.richText.forEach(f=&gt;{this.map.r.render(s,f)}):this.map.t.render(s,&quot;&quot;):c!=null&amp;&amp;this.map.t.render(s,c),s.closeNode()}parseOpen(s){const{name:c}=s;return this.parser?(this.parser.parseOpen(s),!0):c===this.tag?(this.model={},!0):(this.parser=this.map[c],!!this.parser&amp;&amp;(this.parser.parseOpen(s),!0))}parseText(s){this.parser&amp;&amp;this.parser.parseText(s)}parseClose(s){if(this.parser){if(!this.parser.parseClose(s)){switch(s){case&quot;r&quot;:{let c=this.model.richText;c||(c=this.model.richText=[]),c.push(this.parser.model);break}case&quot;t&quot;:this.model=this.parser.model}this.parser=void 0}return!0}return s!==this.tag}}},{&quot;../base-xform&quot;:32,&quot;./phonetic-text-xform&quot;:121,&quot;./rich-text-xform&quot;:122,&quot;./text-xform&quot;:125}],124:[function(t,n,l){const i=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;./shared-string-xform&quot;);n.exports=class extends a{constructor(o){super(),this.model=o||{values:[],count:0},this.hash=Object.create(null),this.rich=Object.create(null)}get sharedStringXform(){return this._sharedStringXform||(this._sharedStringXform=new u)}get values(){return this.model.values}get uniqueCount(){return this.model.values.length}get count(){return this.model.count}getString(o){return this.model.values[o]}add(o){return o.richText?this.addRichText(o):this.addText(o)}addText(o){let s=this.hash[o];return s===void 0&amp;&amp;(s=this.hash[o]=this.model.values.length,this.model.values.push(o)),this.model.count++,s}addRichText(o){const s=this.sharedStringXform.toXml(o);let c=this.rich[s];return c===void 0&amp;&amp;(c=this.rich[s]=this.model.values.length,this.model.values.push(o)),this.model.count++,c}render(o,s){s=s||this._values,o.openXml(i.StdDocAttributes),o.openNode(&quot;sst&quot;,{xmlns:&quot;http://schemas.openxmlformats.org/spreadsheetml/2006/main&quot;,count:s.count,uniqueCount:s.values.length});const c=this.sharedStringXform;s.values.forEach(f=&gt;{c.render(o,f)}),o.closeNode()}parseOpen(o){if(this.parser)return this.parser.parseOpen(o),!0;switch(o.name){case&quot;sst&quot;:return!0;case&quot;si&quot;:return this.parser=this.sharedStringXform,this.parser.parseOpen(o),!0;default:throw new Error(&quot;Unexpected xml node in parseOpen: &quot;+JSON.stringify(o))}}parseText(o){this.parser&amp;&amp;this.parser.parseText(o)}parseClose(o){if(this.parser)return this.parser.parseClose(o)||(this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0),!0;if(o===&quot;sst&quot;)return!1;throw new Error(&quot;Unexpected xml node in parseClose: &quot;+o)}}},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;./shared-string-xform&quot;:123}],125:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;t&quot;}render(a,u){a.openNode(&quot;t&quot;),/^\s|\n|\s$/.test(u)&amp;&amp;a.addAttribute(&quot;xml:space&quot;,&quot;preserve&quot;),a.writeText(u),a.closeNode()}get model(){return this._text.join(&quot;&quot;).replace(/_x([0-9A-F]{4})_/g,(a,u)=&gt;String.fromCharCode(parseInt(u,16)))}parseOpen(a){return a.name===&quot;t&quot;?(this._text=[],!0):!1}parseText(a){this._text.push(a)}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],126:[function(t,n,l){const i=t(&quot;../../../doc/enums&quot;),a=t(&quot;../../../utils/utils&quot;),u=t(&quot;../base-xform&quot;),o={horizontalValues:[&quot;left&quot;,&quot;center&quot;,&quot;right&quot;,&quot;fill&quot;,&quot;centerContinuous&quot;,&quot;distributed&quot;,&quot;justify&quot;].reduce((c,f)=&gt;(c[f]=!0,c),{}),horizontal(c){return this.horizontalValues[c]?c:void 0},verticalValues:[&quot;top&quot;,&quot;middle&quot;,&quot;bottom&quot;,&quot;distributed&quot;,&quot;justify&quot;].reduce((c,f)=&gt;(c[f]=!0,c),{}),vertical(c){return c===&quot;middle&quot;?&quot;center&quot;:this.verticalValues[c]?c:void 0},wrapText:c=&gt;!!c||void 0,shrinkToFit:c=&gt;!!c||void 0,textRotation(c){return c===&quot;vertical&quot;||(c=a.validInt(c))&gt;=-90&amp;&amp;c&lt;=90?c:void 0},indent:c=&gt;(c=a.validInt(c),Math.max(0,c)),readingOrder(c){switch(c){case&quot;ltr&quot;:return i.ReadingOrder.LeftToRight;case&quot;rtl&quot;:return i.ReadingOrder.RightToLeft;default:return}}},s={toXml(c){if(c=o.textRotation(c)){if(c===&quot;vertical&quot;)return 255;const f=Math.round(c);if(f&gt;=0&amp;&amp;f&lt;=90)return f;if(f&lt;0&amp;&amp;f&gt;=-90)return 90-f}},toModel(c){const f=a.validInt(c);if(f!==void 0){if(f===255)return&quot;vertical&quot;;if(f&gt;=0&amp;&amp;f&lt;=90)return f;if(f&gt;90&amp;&amp;f&lt;=180)return 90-f}}};n.exports=class extends u{get tag(){return&quot;alignment&quot;}render(c,f){c.addRollback(),c.openNode(&quot;alignment&quot;);let h=!1;function m(p,v){v&amp;&amp;(c.addAttribute(p,v),h=!0)}m(&quot;horizontal&quot;,o.horizontal(f.horizontal)),m(&quot;vertical&quot;,o.vertical(f.vertical)),m(&quot;wrapText&quot;,!!o.wrapText(f.wrapText)&amp;&amp;&quot;1&quot;),m(&quot;shrinkToFit&quot;,!!o.shrinkToFit(f.shrinkToFit)&amp;&amp;&quot;1&quot;),m(&quot;indent&quot;,o.indent(f.indent)),m(&quot;textRotation&quot;,s.toXml(f.textRotation)),m(&quot;readingOrder&quot;,o.readingOrder(f.readingOrder)),c.closeNode(),h?c.commit():c.rollback()}parseOpen(c){const f={};let h=!1;function m(p,v,g){p&amp;&amp;(f[v]=g,h=!0)}m(c.attributes.horizontal,&quot;horizontal&quot;,c.attributes.horizontal),m(c.attributes.vertical,&quot;vertical&quot;,c.attributes.vertical===&quot;center&quot;?&quot;middle&quot;:c.attributes.vertical),m(c.attributes.wrapText,&quot;wrapText&quot;,a.parseBoolean(c.attributes.wrapText)),m(c.attributes.shrinkToFit,&quot;shrinkToFit&quot;,a.parseBoolean(c.attributes.shrinkToFit)),m(c.attributes.indent,&quot;indent&quot;,parseInt(c.attributes.indent,10)),m(c.attributes.textRotation,&quot;textRotation&quot;,s.toModel(c.attributes.textRotation)),m(c.attributes.readingOrder,&quot;readingOrder&quot;,c.attributes.readingOrder===&quot;2&quot;?&quot;rtl&quot;:&quot;ltr&quot;),this.model=h?f:null}parseText(){}parseClose(){return!1}}},{&quot;../../../doc/enums&quot;:7,&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32}],127:[function(t,n,l){const i=t(&quot;../base-xform&quot;),a=t(&quot;../../../utils/utils&quot;),u=t(&quot;./color-xform&quot;);class o extends i{constructor(c){super(),this.name=c,this.map={color:new u}}get tag(){return this.name}render(c,f,h){const m=f&amp;&amp;f.color||h||this.defaultColor;c.openNode(this.name),f&amp;&amp;f.style&amp;&amp;(c.addAttribute(&quot;style&quot;,f.style),m&amp;&amp;this.map.color.render(c,m)),c.closeNode()}parseOpen(c){if(this.parser)return this.parser.parseOpen(c),!0;switch(c.name){case this.name:{const{style:f}=c.attributes;return this.model=f?{style:f}:void 0,!0}case&quot;color&quot;:return this.parser=this.map.color,this.parser.parseOpen(c),!0;default:return!1}}parseText(c){this.parser&amp;&amp;this.parser.parseText(c)}parseClose(c){return this.parser?(this.parser.parseClose(c)||(this.parser=void 0),!0):(c===this.name&amp;&amp;this.map.color.model&amp;&amp;(this.model||(this.model={}),this.model.color=this.map.color.model),!1)}validStyle(c){return o.validStyleValues[c]}}o.validStyleValues=[&quot;thin&quot;,&quot;dashed&quot;,&quot;dotted&quot;,&quot;dashDot&quot;,&quot;hair&quot;,&quot;dashDotDot&quot;,&quot;slantDashDot&quot;,&quot;mediumDashed&quot;,&quot;mediumDashDotDot&quot;,&quot;mediumDashDot&quot;,&quot;medium&quot;,&quot;double&quot;,&quot;thick&quot;].reduce((s,c)=&gt;(s[c]=!0,s),{}),n.exports=class extends i{constructor(){super(),this.map={top:new o(&quot;top&quot;),left:new o(&quot;left&quot;),bottom:new o(&quot;bottom&quot;),right:new o(&quot;right&quot;),diagonal:new o(&quot;diagonal&quot;)}}render(s,c){const{color:f}=c;function h(m,p){m&amp;&amp;!m.color&amp;&amp;c.color&amp;&amp;(m={...m,color:c.color}),p.render(s,m,f)}s.openNode(&quot;border&quot;),c.diagonal&amp;&amp;c.diagonal.style&amp;&amp;(c.diagonal.up&amp;&amp;s.addAttribute(&quot;diagonalUp&quot;,&quot;1&quot;),c.diagonal.down&amp;&amp;s.addAttribute(&quot;diagonalDown&quot;,&quot;1&quot;)),h(c.left,this.map.left),h(c.right,this.map.right),h(c.top,this.map.top),h(c.bottom,this.map.bottom),h(c.diagonal,this.map.diagonal),s.closeNode()}parseOpen(s){return this.parser?(this.parser.parseOpen(s),!0):s.name===&quot;border&quot;?(this.reset(),this.diagonalUp=a.parseBoolean(s.attributes.diagonalUp),this.diagonalDown=a.parseBoolean(s.attributes.diagonalDown),!0):(this.parser=this.map[s.name],!!this.parser&amp;&amp;(this.parser.parseOpen(s),!0))}parseText(s){this.parser&amp;&amp;this.parser.parseText(s)}parseClose(s){if(this.parser)return this.parser.parseClose(s)||(this.parser=void 0),!0;if(s===&quot;border&quot;){const c=this.model={},f=function(h,m,p){m&amp;&amp;(p&amp;&amp;Object.assign(m,p),c[h]=m)};f(&quot;left&quot;,this.map.left.model),f(&quot;right&quot;,this.map.right.model),f(&quot;top&quot;,this.map.top.model),f(&quot;bottom&quot;,this.map.bottom.model),f(&quot;diagonal&quot;,this.map.diagonal.model,{up:this.diagonalUp,down:this.diagonalDown})}return!1}}},{&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32,&quot;./color-xform&quot;:128}],128:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{constructor(a){super(),this.name=a||&quot;color&quot;}get tag(){return this.name}render(a,u){return!!u&amp;&amp;(a.openNode(this.name),u.argb?a.addAttribute(&quot;rgb&quot;,u.argb):u.theme!==void 0?(a.addAttribute(&quot;theme&quot;,u.theme),u.tint!==void 0&amp;&amp;a.addAttribute(&quot;tint&quot;,u.tint)):u.indexed!==void 0?a.addAttribute(&quot;indexed&quot;,u.indexed):a.addAttribute(&quot;auto&quot;,&quot;1&quot;),a.closeNode(),!0)}parseOpen(a){return a.name===this.name&amp;&amp;(a.attributes.rgb?this.model={argb:a.attributes.rgb}:a.attributes.theme?(this.model={theme:parseInt(a.attributes.theme,10)},a.attributes.tint&amp;&amp;(this.model.tint=parseFloat(a.attributes.tint))):a.attributes.indexed?this.model={indexed:parseInt(a.attributes.indexed,10)}:this.model=void 0,!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],129:[function(t,n,l){const i=t(&quot;../base-xform&quot;),a=t(&quot;./alignment-xform&quot;),u=t(&quot;./border-xform&quot;),o=t(&quot;./fill-xform&quot;),s=t(&quot;./font-xform&quot;),c=t(&quot;./numfmt-xform&quot;),f=t(&quot;./protection-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={alignment:new a,border:new u,fill:new o,font:new s,numFmt:new c,protection:new f}}get tag(){return&quot;dxf&quot;}render(h,m){if(h.openNode(this.tag),m.font&amp;&amp;this.map.font.render(h,m.font),m.numFmt&amp;&amp;m.numFmtId){const p={id:m.numFmtId,formatCode:m.numFmt};this.map.numFmt.render(h,p)}m.fill&amp;&amp;this.map.fill.render(h,m.fill),m.alignment&amp;&amp;this.map.alignment.render(h,m.alignment),m.border&amp;&amp;this.map.border.render(h,m.border),m.protection&amp;&amp;this.map.protection.render(h,m.protection),h.closeNode()}parseOpen(h){return this.parser?(this.parser.parseOpen(h),!0):h.name===this.tag?(this.reset(),!0):(this.parser=this.map[h.name],this.parser&amp;&amp;this.parser.parseOpen(h),!0)}parseText(h){this.parser&amp;&amp;this.parser.parseText(h)}parseClose(h){return this.parser?(this.parser.parseClose(h)||(this.parser=void 0),!0):h!==this.tag||(this.model={alignment:this.map.alignment.model,border:this.map.border.model,fill:this.map.fill.model,font:this.map.font.model,numFmt:this.map.numFmt.model,protection:this.map.protection.model},!1)}}},{&quot;../base-xform&quot;:32,&quot;./alignment-xform&quot;:126,&quot;./border-xform&quot;:127,&quot;./fill-xform&quot;:130,&quot;./font-xform&quot;:131,&quot;./numfmt-xform&quot;:132,&quot;./protection-xform&quot;:133}],130:[function(t,n,l){const i=t(&quot;../base-xform&quot;),a=t(&quot;./color-xform&quot;);class u extends i{constructor(){super(),this.map={color:new a}}get tag(){return&quot;stop&quot;}render(h,m){h.openNode(&quot;stop&quot;),h.addAttribute(&quot;position&quot;,m.position),this.map.color.render(h,m.color),h.closeNode()}parseOpen(h){if(this.parser)return this.parser.parseOpen(h),!0;switch(h.name){case&quot;stop&quot;:return this.model={position:parseFloat(h.attributes.position)},!0;case&quot;color&quot;:return this.parser=this.map.color,this.parser.parseOpen(h),!0;default:return!1}}parseText(){}parseClose(h){return!!this.parser&amp;&amp;(this.parser.parseClose(h)||(this.model.color=this.parser.model,this.parser=void 0),!0)}}class o extends i{constructor(){super(),this.map={fgColor:new a(&quot;fgColor&quot;),bgColor:new a(&quot;bgColor&quot;)}}get name(){return&quot;pattern&quot;}get tag(){return&quot;patternFill&quot;}render(h,m){h.openNode(&quot;patternFill&quot;),h.addAttribute(&quot;patternType&quot;,m.pattern),m.fgColor&amp;&amp;this.map.fgColor.render(h,m.fgColor),m.bgColor&amp;&amp;this.map.bgColor.render(h,m.bgColor),h.closeNode()}parseOpen(h){return this.parser?(this.parser.parseOpen(h),!0):h.name===&quot;patternFill&quot;?(this.model={type:&quot;pattern&quot;,pattern:h.attributes.patternType},!0):(this.parser=this.map[h.name],!!this.parser&amp;&amp;(this.parser.parseOpen(h),!0))}parseText(h){this.parser&amp;&amp;this.parser.parseText(h)}parseClose(h){return!!this.parser&amp;&amp;(this.parser.parseClose(h)||(this.parser.model&amp;&amp;(this.model[h]=this.parser.model),this.parser=void 0),!0)}}class s extends i{constructor(){super(),this.map={stop:new u}}get name(){return&quot;gradient&quot;}get tag(){return&quot;gradientFill&quot;}render(h,m){switch(h.openNode(&quot;gradientFill&quot;),m.gradient){case&quot;angle&quot;:h.addAttribute(&quot;degree&quot;,m.degree);break;case&quot;path&quot;:h.addAttribute(&quot;type&quot;,&quot;path&quot;),m.center.left&amp;&amp;(h.addAttribute(&quot;left&quot;,m.center.left),m.center.right===void 0&amp;&amp;h.addAttribute(&quot;right&quot;,m.center.left)),m.center.right&amp;&amp;h.addAttribute(&quot;right&quot;,m.center.right),m.center.top&amp;&amp;(h.addAttribute(&quot;top&quot;,m.center.top),m.center.bottom===void 0&amp;&amp;h.addAttribute(&quot;bottom&quot;,m.center.top)),m.center.bottom&amp;&amp;h.addAttribute(&quot;bottom&quot;,m.center.bottom)}const p=this.map.stop;m.stops.forEach(v=&gt;{p.render(h,v)}),h.closeNode()}parseOpen(h){if(this.parser)return this.parser.parseOpen(h),!0;switch(h.name){case&quot;gradientFill&quot;:{const m=this.model={stops:[]};return h.attributes.degree?(m.gradient=&quot;angle&quot;,m.degree=parseInt(h.attributes.degree,10)):h.attributes.type===&quot;path&quot;&amp;&amp;(m.gradient=&quot;path&quot;,m.center={left:h.attributes.left?parseFloat(h.attributes.left):0,top:h.attributes.top?parseFloat(h.attributes.top):0},h.attributes.right!==h.attributes.left&amp;&amp;(m.center.right=h.attributes.right?parseFloat(h.attributes.right):0),h.attributes.bottom!==h.attributes.top&amp;&amp;(m.center.bottom=h.attributes.bottom?parseFloat(h.attributes.bottom):0)),!0}case&quot;stop&quot;:return this.parser=this.map.stop,this.parser.parseOpen(h),!0;default:return!1}}parseText(h){this.parser&amp;&amp;this.parser.parseText(h)}parseClose(h){return!!this.parser&amp;&amp;(this.parser.parseClose(h)||(this.model.stops.push(this.parser.model),this.parser=void 0),!0)}}class c extends i{constructor(){super(),this.map={patternFill:new o,gradientFill:new s}}get tag(){return&quot;fill&quot;}render(h,m){switch(h.addRollback(),h.openNode(&quot;fill&quot;),m.type){case&quot;pattern&quot;:this.map.patternFill.render(h,m);break;case&quot;gradient&quot;:this.map.gradientFill.render(h,m);break;default:return void h.rollback()}h.closeNode(),h.commit()}parseOpen(h){return this.parser?(this.parser.parseOpen(h),!0):h.name===&quot;fill&quot;?(this.model={},!0):(this.parser=this.map[h.name],!!this.parser&amp;&amp;(this.parser.parseOpen(h),!0))}parseText(h){this.parser&amp;&amp;this.parser.parseText(h)}parseClose(h){return!!this.parser&amp;&amp;(this.parser.parseClose(h)||(this.model=this.parser.model,this.model.type=this.parser.name,this.parser=void 0),!0)}validStyle(h){return c.validPatternValues[h]}}c.validPatternValues=[&quot;none&quot;,&quot;solid&quot;,&quot;darkVertical&quot;,&quot;darkGray&quot;,&quot;mediumGray&quot;,&quot;lightGray&quot;,&quot;gray125&quot;,&quot;gray0625&quot;,&quot;darkHorizontal&quot;,&quot;darkVertical&quot;,&quot;darkDown&quot;,&quot;darkUp&quot;,&quot;darkGrid&quot;,&quot;darkTrellis&quot;,&quot;lightHorizontal&quot;,&quot;lightVertical&quot;,&quot;lightDown&quot;,&quot;lightUp&quot;,&quot;lightGrid&quot;,&quot;lightTrellis&quot;,&quot;lightGrid&quot;].reduce((f,h)=&gt;(f[h]=!0,f),{}),c.StopXform=u,c.PatternFillXform=o,c.GradientFillXform=s,n.exports=c},{&quot;../base-xform&quot;:32,&quot;./color-xform&quot;:128}],131:[function(t,n,l){const i=t(&quot;./color-xform&quot;),a=t(&quot;../simple/boolean-xform&quot;),u=t(&quot;../simple/integer-xform&quot;),o=t(&quot;../simple/string-xform&quot;),s=t(&quot;./underline-xform&quot;),c=t(&quot;../../../utils/under-dash&quot;),f=t(&quot;../base-xform&quot;);class h extends f{constructor(p){super(),this.options=p||h.OPTIONS,this.map={b:{prop:&quot;bold&quot;,xform:new a({tag:&quot;b&quot;,attr:&quot;val&quot;})},i:{prop:&quot;italic&quot;,xform:new a({tag:&quot;i&quot;,attr:&quot;val&quot;})},u:{prop:&quot;underline&quot;,xform:new s},charset:{prop:&quot;charset&quot;,xform:new u({tag:&quot;charset&quot;,attr:&quot;val&quot;})},color:{prop:&quot;color&quot;,xform:new i},condense:{prop:&quot;condense&quot;,xform:new a({tag:&quot;condense&quot;,attr:&quot;val&quot;})},extend:{prop:&quot;extend&quot;,xform:new a({tag:&quot;extend&quot;,attr:&quot;val&quot;})},family:{prop:&quot;family&quot;,xform:new u({tag:&quot;family&quot;,attr:&quot;val&quot;})},outline:{prop:&quot;outline&quot;,xform:new a({tag:&quot;outline&quot;,attr:&quot;val&quot;})},vertAlign:{prop:&quot;vertAlign&quot;,xform:new o({tag:&quot;vertAlign&quot;,attr:&quot;val&quot;})},scheme:{prop:&quot;scheme&quot;,xform:new o({tag:&quot;scheme&quot;,attr:&quot;val&quot;})},shadow:{prop:&quot;shadow&quot;,xform:new a({tag:&quot;shadow&quot;,attr:&quot;val&quot;})},strike:{prop:&quot;strike&quot;,xform:new a({tag:&quot;strike&quot;,attr:&quot;val&quot;})},sz:{prop:&quot;size&quot;,xform:new u({tag:&quot;sz&quot;,attr:&quot;val&quot;})}},this.map[this.options.fontNameTag]={prop:&quot;name&quot;,xform:new o({tag:this.options.fontNameTag,attr:&quot;val&quot;})}}get tag(){return this.options.tagName}render(p,v){const{map:g}=this;p.openNode(this.options.tagName),c.each(this.map,(b,x)=&gt;{g[x].xform.render(p,v[b.prop])}),p.closeNode()}parseOpen(p){return this.parser?(this.parser.parseOpen(p),!0):this.map[p.name]?(this.parser=this.map[p.name].xform,this.parser.parseOpen(p)):p.name===this.options.tagName?(this.model={},!0):!1}parseText(p){this.parser&amp;&amp;this.parser.parseText(p)}parseClose(p){if(this.parser&amp;&amp;!this.parser.parseClose(p)){const v=this.map[p];return this.parser.model&amp;&amp;(this.model[v.prop]=this.parser.model),this.parser=void 0,!0}return p!==this.options.tagName}}h.OPTIONS={tagName:&quot;font&quot;,fontNameTag:&quot;name&quot;},n.exports=h},{&quot;../../../utils/under-dash&quot;:26,&quot;../base-xform&quot;:32,&quot;../simple/boolean-xform&quot;:116,&quot;../simple/integer-xform&quot;:118,&quot;../simple/string-xform&quot;:119,&quot;./color-xform&quot;:128,&quot;./underline-xform&quot;:136}],132:[function(t,n,l){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../../defaultnumformats&quot;),u=t(&quot;../base-xform&quot;),o=(function(){const c={};return i.each(a,(f,h)=&gt;{f.f&amp;&amp;(c[f.f]=parseInt(h,10))}),c})();class s extends u{constructor(f,h){super(),this.id=f,this.formatCode=h}get tag(){return&quot;numFmt&quot;}render(f,h){f.leafNode(&quot;numFmt&quot;,{numFmtId:h.id,formatCode:h.formatCode})}parseOpen(f){return f.name===&quot;numFmt&quot;?(this.model={id:parseInt(f.attributes.numFmtId,10),formatCode:f.attributes.formatCode.replace(/[\\](.)/g,&quot;$1&quot;)},!0):!1}parseText(){}parseClose(){return!1}}s.getDefaultFmtId=function(c){return o[c]},s.getDefaultFmtCode=function(c){return a[c]&amp;&amp;a[c].f},n.exports=s},{&quot;../../../utils/under-dash&quot;:26,&quot;../../defaultnumformats&quot;:30,&quot;../base-xform&quot;:32}],133:[function(t,n,l){const i=t(&quot;../base-xform&quot;),a={boolean:(u,o)=&gt;u===void 0?o:u};n.exports=class extends i{get tag(){return&quot;protection&quot;}render(u,o){u.addRollback(),u.openNode(&quot;protection&quot;);let s=!1;function c(f,h){h!==void 0&amp;&amp;(u.addAttribute(f,h),s=!0)}c(&quot;locked&quot;,a.boolean(o.locked,!0)?void 0:&quot;0&quot;),c(&quot;hidden&quot;,a.boolean(o.hidden,!1)?&quot;1&quot;:void 0),u.closeNode(),s?u.commit():u.rollback()}parseOpen(u){const o={locked:u.attributes.locked!==&quot;0&quot;,hidden:u.attributes.hidden===&quot;1&quot;},s=!o.locked||o.hidden;this.model=s?o:null}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],134:[function(t,n,l){const i=t(&quot;../base-xform&quot;),a=t(&quot;./alignment-xform&quot;),u=t(&quot;./protection-xform&quot;);n.exports=class extends i{constructor(o){super(),this.xfId=!(!o||!o.xfId),this.map={alignment:new a,protection:new u}}get tag(){return&quot;xf&quot;}render(o,s){o.openNode(&quot;xf&quot;,{numFmtId:s.numFmtId||0,fontId:s.fontId||0,fillId:s.fillId||0,borderId:s.borderId||0}),this.xfId&amp;&amp;o.addAttribute(&quot;xfId&quot;,s.xfId||0),s.numFmtId&amp;&amp;o.addAttribute(&quot;applyNumberFormat&quot;,&quot;1&quot;),s.fontId&amp;&amp;o.addAttribute(&quot;applyFont&quot;,&quot;1&quot;),s.fillId&amp;&amp;o.addAttribute(&quot;applyFill&quot;,&quot;1&quot;),s.borderId&amp;&amp;o.addAttribute(&quot;applyBorder&quot;,&quot;1&quot;),s.alignment&amp;&amp;o.addAttribute(&quot;applyAlignment&quot;,&quot;1&quot;),s.protection&amp;&amp;o.addAttribute(&quot;applyProtection&quot;,&quot;1&quot;),s.alignment&amp;&amp;this.map.alignment.render(o,s.alignment),s.protection&amp;&amp;this.map.protection.render(o,s.protection),o.closeNode()}parseOpen(o){if(this.parser)return this.parser.parseOpen(o),!0;switch(o.name){case&quot;xf&quot;:return this.model={numFmtId:parseInt(o.attributes.numFmtId,10),fontId:parseInt(o.attributes.fontId,10),fillId:parseInt(o.attributes.fillId,10),borderId:parseInt(o.attributes.borderId,10)},this.xfId&amp;&amp;(this.model.xfId=parseInt(o.attributes.xfId,10)),!0;case&quot;alignment&quot;:return this.parser=this.map.alignment,this.parser.parseOpen(o),!0;case&quot;protection&quot;:return this.parser=this.map.protection,this.parser.parseOpen(o),!0;default:return!1}}parseText(o){this.parser&amp;&amp;this.parser.parseText(o)}parseClose(o){return this.parser?(this.parser.parseClose(o)||(this.map.protection===this.parser?this.model.protection=this.parser.model:this.model.alignment=this.parser.model,this.parser=void 0),!0):o!==&quot;xf&quot;}}},{&quot;../base-xform&quot;:32,&quot;./alignment-xform&quot;:126,&quot;./protection-xform&quot;:133}],135:[function(t,n,l){const i=t(&quot;../../../doc/enums&quot;),a=t(&quot;../../../utils/xml-stream&quot;),u=t(&quot;../base-xform&quot;),o=t(&quot;../static-xform&quot;),s=t(&quot;../list-xform&quot;),c=t(&quot;./font-xform&quot;),f=t(&quot;./fill-xform&quot;),h=t(&quot;./border-xform&quot;),m=t(&quot;./numfmt-xform&quot;),p=t(&quot;./style-xform&quot;),v=t(&quot;./dxf-xform&quot;);class g extends u{constructor(x){super(),this.map={numFmts:new s({tag:&quot;numFmts&quot;,count:!0,childXform:new m}),fonts:new s({tag:&quot;fonts&quot;,count:!0,childXform:new c,$:{&quot;x14ac:knownFonts&quot;:1}}),fills:new s({tag:&quot;fills&quot;,count:!0,childXform:new f}),borders:new s({tag:&quot;borders&quot;,count:!0,childXform:new h}),cellStyleXfs:new s({tag:&quot;cellStyleXfs&quot;,count:!0,childXform:new p}),cellXfs:new s({tag:&quot;cellXfs&quot;,count:!0,childXform:new p({xfId:!0})}),dxfs:new s({tag:&quot;dxfs&quot;,always:!0,count:!0,childXform:new v}),numFmt:new m,font:new c,fill:new f,border:new h,style:new p({xfId:!0}),cellStyles:g.STATIC_XFORMS.cellStyles,tableStyles:g.STATIC_XFORMS.tableStyles,extLst:g.STATIC_XFORMS.extLst},x&amp;&amp;this.init()}initIndex(){this.index={style:{},numFmt:{},numFmtNextId:164,font:{},border:{},fill:{}}}init(){this.model={styles:[],numFmts:[],fonts:[],borders:[],fills:[],dxfs:[]},this.initIndex(),this._addBorder({}),this._addStyle({numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}),this._addFill({type:&quot;pattern&quot;,pattern:&quot;none&quot;}),this._addFill({type:&quot;pattern&quot;,pattern:&quot;gray125&quot;}),this.weakMap=new WeakMap}render(x,_){_=_||this.model,x.openXml(a.StdDocAttributes),x.openNode(&quot;styleSheet&quot;,g.STYLESHEET_ATTRIBUTES),this.index?(_.numFmts&amp;&amp;_.numFmts.length&amp;&amp;(x.openNode(&quot;numFmts&quot;,{count:_.numFmts.length}),_.numFmts.forEach(C=&gt;{x.writeXml(C)}),x.closeNode()),_.fonts.length||this._addFont({size:11,color:{theme:1},name:&quot;Calibri&quot;,family:2,scheme:&quot;minor&quot;}),x.openNode(&quot;fonts&quot;,{count:_.fonts.length,&quot;x14ac:knownFonts&quot;:1}),_.fonts.forEach(C=&gt;{x.writeXml(C)}),x.closeNode(),x.openNode(&quot;fills&quot;,{count:_.fills.length}),_.fills.forEach(C=&gt;{x.writeXml(C)}),x.closeNode(),x.openNode(&quot;borders&quot;,{count:_.borders.length}),_.borders.forEach(C=&gt;{x.writeXml(C)}),x.closeNode(),this.map.cellStyleXfs.render(x,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),x.openNode(&quot;cellXfs&quot;,{count:_.styles.length}),_.styles.forEach(C=&gt;{x.writeXml(C)}),x.closeNode()):(this.map.numFmts.render(x,_.numFmts),this.map.fonts.render(x,_.fonts),this.map.fills.render(x,_.fills),this.map.borders.render(x,_.borders),this.map.cellStyleXfs.render(x,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),this.map.cellXfs.render(x,_.styles)),g.STATIC_XFORMS.cellStyles.render(x),this.map.dxfs.render(x,_.dxfs),g.STATIC_XFORMS.tableStyles.render(x),g.STATIC_XFORMS.extLst.render(x),x.closeNode()}parseOpen(x){return this.parser?(this.parser.parseOpen(x),!0):x.name===&quot;styleSheet&quot;?(this.initIndex(),!0):(this.parser=this.map[x.name],this.parser&amp;&amp;this.parser.parseOpen(x),!0)}parseText(x){this.parser&amp;&amp;this.parser.parseText(x)}parseClose(x){if(this.parser)return this.parser.parseClose(x)||(this.parser=void 0),!0;switch(x){case&quot;styleSheet&quot;:{this.model={};const _=(C,O)=&gt;{O.model&amp;&amp;O.model.length&amp;&amp;(this.model[C]=O.model)};if(_(&quot;numFmts&quot;,this.map.numFmts),_(&quot;fonts&quot;,this.map.fonts),_(&quot;fills&quot;,this.map.fills),_(&quot;borders&quot;,this.map.borders),_(&quot;styles&quot;,this.map.cellXfs),_(&quot;dxfs&quot;,this.map.dxfs),this.index={model:[],numFmt:[]},this.model.numFmts){const C=this.index.numFmt;this.model.numFmts.forEach(O=&gt;{C[O.id]=O.formatCode})}return!1}default:return!0}}addStyleModel(x,_){if(!x)return 0;if(this.model.fonts.length||this._addFont({size:11,color:{theme:1},name:&quot;Calibri&quot;,family:2,scheme:&quot;minor&quot;}),this.weakMap&amp;&amp;this.weakMap.has(x))return this.weakMap.get(x);const C={};if(_=_||i.ValueType.Number,x.numFmt)C.numFmtId=this._addNumFmtStr(x.numFmt);else switch(_){case i.ValueType.Number:C.numFmtId=this._addNumFmtStr(&quot;General&quot;);break;case i.ValueType.Date:C.numFmtId=this._addNumFmtStr(&quot;mm-dd-yy&quot;)}x.font&amp;&amp;(C.fontId=this._addFont(x.font)),x.border&amp;&amp;(C.borderId=this._addBorder(x.border)),x.fill&amp;&amp;(C.fillId=this._addFill(x.fill)),x.alignment&amp;&amp;(C.alignment=x.alignment),x.protection&amp;&amp;(C.protection=x.protection);const O=this._addStyle(C);return this.weakMap&amp;&amp;this.weakMap.set(x,O),O}getStyleModel(x){const _=this.model.styles[x];if(!_)return null;let C=this.index.model[x];if(C)return C;if(C=this.index.model[x]={},_.numFmtId){const R=this.index.numFmt[_.numFmtId]||m.getDefaultFmtCode(_.numFmtId);R&amp;&amp;(C.numFmt=R)}function O(R,H,L){if(L||L===0){const q=H[L];q&amp;&amp;(C[R]=q)}}return O(&quot;font&quot;,this.model.fonts,_.fontId),O(&quot;border&quot;,this.model.borders,_.borderId),O(&quot;fill&quot;,this.model.fills,_.fillId),_.alignment&amp;&amp;(C.alignment=_.alignment),_.protection&amp;&amp;(C.protection=_.protection),C}addDxfStyle(x){return x.numFmt&amp;&amp;(x.numFmtId=this._addNumFmtStr(x.numFmt)),this.model.dxfs.push(x),this.model.dxfs.length-1}getDxfStyle(x){return this.model.dxfs[x]}_addStyle(x){const _=this.map.style.toXml(x);let C=this.index.style[_];return C===void 0&amp;&amp;(C=this.index.style[_]=this.model.styles.length,this.model.styles.push(_)),C}_addNumFmtStr(x){let _=m.getDefaultFmtId(x);if(_!==void 0||(_=this.index.numFmt[x],_!==void 0))return _;_=this.index.numFmt[x]=164+this.model.numFmts.length;const C=this.map.numFmt.toXml({id:_,formatCode:x});return this.model.numFmts.push(C),_}_addFont(x){const _=this.map.font.toXml(x);let C=this.index.font[_];return C===void 0&amp;&amp;(C=this.index.font[_]=this.model.fonts.length,this.model.fonts.push(_)),C}_addBorder(x){const _=this.map.border.toXml(x);let C=this.index.border[_];return C===void 0&amp;&amp;(C=this.index.border[_]=this.model.borders.length,this.model.borders.push(_)),C}_addFill(x){const _=this.map.fill.toXml(x);let C=this.index.fill[_];return C===void 0&amp;&amp;(C=this.index.fill[_]=this.model.fills.length,this.model.fills.push(_)),C}}g.STYLESHEET_ATTRIBUTES={xmlns:&quot;http://schemas.openxmlformats.org/spreadsheetml/2006/main&quot;,&quot;xmlns:mc&quot;:&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;,&quot;mc:Ignorable&quot;:&quot;x14ac x16r2&quot;,&quot;xmlns:x14ac&quot;:&quot;http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac&quot;,&quot;xmlns:x16r2&quot;:&quot;http://schemas.microsoft.com/office/spreadsheetml/2015/02/main&quot;},g.STATIC_XFORMS={cellStyles:new o({tag:&quot;cellStyles&quot;,$:{count:1},c:[{tag:&quot;cellStyle&quot;,$:{name:&quot;Normal&quot;,xfId:0,builtinId:0}}]}),dxfs:new o({tag:&quot;dxfs&quot;,$:{count:0}}),tableStyles:new o({tag:&quot;tableStyles&quot;,$:{count:0,defaultTableStyle:&quot;TableStyleMedium2&quot;,defaultPivotStyle:&quot;PivotStyleLight16&quot;}}),extLst:new o({tag:&quot;extLst&quot;,c:[{tag:&quot;ext&quot;,$:{uri:&quot;{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}&quot;,&quot;xmlns:x14&quot;:&quot;http://schemas.microsoft.com/office/spreadsheetml/2009/9/main&quot;},c:[{tag:&quot;x14:slicerStyles&quot;,$:{defaultSlicerStyle:&quot;SlicerStyleLight1&quot;}}]},{tag:&quot;ext&quot;,$:{uri:&quot;{9260A510-F301-46a8-8635-F512D64BE5F5}&quot;,&quot;xmlns:x15&quot;:&quot;http://schemas.microsoft.com/office/spreadsheetml/2010/11/main&quot;},c:[{tag:&quot;x15:timelineStyles&quot;,$:{defaultTimelineStyle:&quot;TimeSlicerStyleLight1&quot;}}]}]})},g.Mock=class extends g{constructor(){super(),this.model={styles:[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}],numFmts:[],fonts:[{size:11,color:{theme:1},name:&quot;Calibri&quot;,family:2,scheme:&quot;minor&quot;}],borders:[{}],fills:[{type:&quot;pattern&quot;,pattern:&quot;none&quot;},{type:&quot;pattern&quot;,pattern:&quot;gray125&quot;}]}}parseStream(b){return b.autodrain(),Promise.resolve()}addStyleModel(b,x){return x===i.ValueType.Date?this.dateStyleId:0}get dateStyleId(){if(!this._dateStyleId){const b={numFmtId:m.getDefaultFmtId(&quot;mm-dd-yy&quot;)};this._dateStyleId=this.model.styles.length,this.model.styles.push(b)}return this._dateStyleId}getStyleModel(){return{}}},n.exports=g},{&quot;../../../doc/enums&quot;:7,&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;../list-xform&quot;:71,&quot;../static-xform&quot;:120,&quot;./border-xform&quot;:127,&quot;./dxf-xform&quot;:129,&quot;./fill-xform&quot;:130,&quot;./font-xform&quot;:131,&quot;./numfmt-xform&quot;:132,&quot;./style-xform&quot;:134}],136:[function(t,n,l){const i=t(&quot;../base-xform&quot;);class a extends i{constructor(o){super(),this.model=o}get tag(){return&quot;u&quot;}render(o,s){if((s=s||this.model)===!0)o.leafNode(&quot;u&quot;);else{const c=a.Attributes[s];c&amp;&amp;o.leafNode(&quot;u&quot;,c)}}parseOpen(o){o.name===&quot;u&quot;&amp;&amp;(this.model=o.attributes.val||!0)}parseText(){}parseClose(){return!1}}a.Attributes={single:{},double:{val:&quot;double&quot;},singleAccounting:{val:&quot;singleAccounting&quot;},doubleAccounting:{val:&quot;doubleAccounting&quot;}},n.exports=a},{&quot;../base-xform&quot;:32}],137:[function(t,n,l){const i=t(&quot;../base-xform&quot;),a=t(&quot;./filter-column-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={filterColumn:new a}}get tag(){return&quot;autoFilter&quot;}prepare(u){u.columns.forEach((o,s)=&gt;{this.map.filterColumn.prepare(o,{index:s})})}render(u,o){return u.openNode(this.tag,{ref:o.autoFilterRef}),o.columns.forEach(s=&gt;{this.map.filterColumn.render(u,s)}),u.closeNode(),!0}parseOpen(u){if(this.parser)return this.parser.parseOpen(u),!0;switch(u.name){case this.tag:return this.model={autoFilterRef:u.attributes.ref,columns:[]},!0;default:if(this.parser=this.map[u.name],this.parser)return this.parseOpen(u),!0;throw new Error(&quot;Unexpected xml node in parseOpen: &quot;+JSON.stringify(u))}}parseText(u){this.parser&amp;&amp;this.parser.parseText(u)}parseClose(u){if(this.parser)return this.parser.parseClose(u)||(this.model.columns.push(this.parser.model),this.parser=void 0),!0;if(u===this.tag)return!1;throw new Error(&quot;Unexpected xml node in parseClose: &quot;+u)}}},{&quot;../base-xform&quot;:32,&quot;./filter-column-xform&quot;:139}],138:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;customFilter&quot;}render(a,u){a.leafNode(this.tag,{val:u.val,operator:u.operator})}parseOpen(a){return a.name===this.tag&amp;&amp;(this.model={val:a.attributes.val,operator:a.attributes.operator},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],139:[function(t,n,l){const i=t(&quot;../base-xform&quot;),a=t(&quot;../list-xform&quot;),u=t(&quot;./custom-filter-xform&quot;),o=t(&quot;./filter-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={customFilters:new a({tag:&quot;customFilters&quot;,count:!1,empty:!0,childXform:new u}),filters:new a({tag:&quot;filters&quot;,count:!1,empty:!0,childXform:new o})}}get tag(){return&quot;filterColumn&quot;}prepare(s,c){s.colId=c.index.toString()}render(s,c){return c.customFilters?(s.openNode(this.tag,{colId:c.colId,hiddenButton:c.filterButton?&quot;0&quot;:&quot;1&quot;}),this.map.customFilters.render(s,c.customFilters),s.closeNode(),!0):(s.leafNode(this.tag,{colId:c.colId,hiddenButton:c.filterButton?&quot;0&quot;:&quot;1&quot;}),!0)}parseOpen(s){if(this.parser)return this.parser.parseOpen(s),!0;const{attributes:c}=s;switch(s.name){case this.tag:return this.model={filterButton:c.hiddenButton===&quot;0&quot;},!0;default:if(this.parser=this.map[s.name],this.parser)return this.parseOpen(s),!0;throw new Error(&quot;Unexpected xml node in parseOpen: &quot;+JSON.stringify(s))}}parseText(){}parseClose(s){return this.parser?(this.parser.parseClose(s)||(this.parser=void 0),!0):s===this.tag?(this.model.customFilters=this.map.customFilters.model,!1):!0}}},{&quot;../base-xform&quot;:32,&quot;../list-xform&quot;:71,&quot;./custom-filter-xform&quot;:138,&quot;./filter-xform&quot;:140}],140:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;filter&quot;}render(a,u){a.leafNode(this.tag,{val:u.val})}parseOpen(a){return a.name===this.tag&amp;&amp;(this.model={val:a.attributes.val},!0)}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],141:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;tableColumn&quot;}prepare(a,u){a.id=u.index+1}render(a,u){return a.leafNode(this.tag,{id:u.id.toString(),name:u.name,totalsRowLabel:u.totalsRowLabel,totalsRowFunction:u.totalsRowFunction,dxfId:u.dxfId}),!0}parseOpen(a){if(a.name===this.tag){const{attributes:u}=a;return this.model={name:u.name,totalsRowLabel:u.totalsRowLabel,totalsRowFunction:u.totalsRowFunction,dxfId:u.dxfId},!0}return!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],142:[function(t,n,l){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;tableStyleInfo&quot;}render(a,u){return a.leafNode(this.tag,{name:u.theme?u.theme:void 0,showFirstColumn:u.showFirstColumn?&quot;1&quot;:&quot;0&quot;,showLastColumn:u.showLastColumn?&quot;1&quot;:&quot;0&quot;,showRowStripes:u.showRowStripes?&quot;1&quot;:&quot;0&quot;,showColumnStripes:u.showColumnStripes?&quot;1&quot;:&quot;0&quot;}),!0}parseOpen(a){if(a.name===this.tag){const{attributes:u}=a;return this.model={theme:u.name?u.name:null,showFirstColumn:u.showFirstColumn===&quot;1&quot;,showLastColumn:u.showLastColumn===&quot;1&quot;,showRowStripes:u.showRowStripes===&quot;1&quot;,showColumnStripes:u.showColumnStripes===&quot;1&quot;},!0}return!1}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],143:[function(t,n,l){const i=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;../list-xform&quot;),o=t(&quot;./auto-filter-xform&quot;),s=t(&quot;./table-column-xform&quot;),c=t(&quot;./table-style-info-xform&quot;);class f extends a{constructor(){super(),this.map={autoFilter:new o,tableColumns:new u({tag:&quot;tableColumns&quot;,count:!0,empty:!0,childXform:new s}),tableStyleInfo:new c}}prepare(m,p){this.map.autoFilter.prepare(m),this.map.tableColumns.prepare(m.columns,p)}get tag(){return&quot;table&quot;}render(m,p){m.openXml(i.StdDocAttributes),m.openNode(this.tag,{...f.TABLE_ATTRIBUTES,id:p.id,name:p.name,displayName:p.displayName||p.name,ref:p.tableRef,totalsRowCount:p.totalsRow?&quot;1&quot;:void 0,totalsRowShown:p.totalsRow?void 0:&quot;1&quot;,headerRowCount:p.headerRow?&quot;1&quot;:&quot;0&quot;}),this.map.autoFilter.render(m,p),this.map.tableColumns.render(m,p.columns),this.map.tableStyleInfo.render(m,p.style),m.closeNode()}parseOpen(m){if(this.parser)return this.parser.parseOpen(m),!0;const{name:p,attributes:v}=m;return p===this.tag?(this.reset(),this.model={name:v.name,displayName:v.displayName||v.name,tableRef:v.ref,totalsRow:v.totalsRowCount===&quot;1&quot;,headerRow:v.headerRowCount===&quot;1&quot;}):(this.parser=this.map[m.name],this.parser&amp;&amp;this.parser.parseOpen(m)),!0}parseText(m){this.parser&amp;&amp;this.parser.parseText(m)}parseClose(m){return this.parser?(this.parser.parseClose(m)||(this.parser=void 0),!0):m===this.tag?(this.model.columns=this.map.tableColumns.model,this.map.autoFilter.model&amp;&amp;(this.model.autoFilterRef=this.map.autoFilter.model.autoFilterRef,this.map.autoFilter.model.columns.forEach((p,v)=&gt;{this.model.columns[v].filterButton=p.filterButton})),this.model.style=this.map.tableStyleInfo.model,!1):!0}reconcile(m,p){m.columns.forEach(v=&gt;{v.dxfId!==void 0&amp;&amp;(v.style=p.styles.getDxfStyle(v.dxfId))})}}f.TABLE_ATTRIBUTES={xmlns:&quot;http://schemas.openxmlformats.org/spreadsheetml/2006/main&quot;,&quot;xmlns:mc&quot;:&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;,&quot;mc:Ignorable&quot;:&quot;xr xr3&quot;,&quot;xmlns:xr&quot;:&quot;http://schemas.microsoft.com/office/spreadsheetml/2014/revision&quot;,&quot;xmlns:xr3&quot;:&quot;http://schemas.microsoft.com/office/spreadsheetml/2016/revision3&quot;},n.exports=f},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;../list-xform&quot;:71,&quot;./auto-filter-xform&quot;:137,&quot;./table-column-xform&quot;:141,&quot;./table-style-info-xform&quot;:142}],144:[function(t,n,l){(function(i,a){(function(){const u=t(&quot;fs&quot;),o=t(&quot;jszip&quot;),{PassThrough:s}=t(&quot;readable-stream&quot;),c=t(&quot;../utils/zip-stream&quot;),f=t(&quot;../utils/stream-buf&quot;),h=t(&quot;../utils/utils&quot;),m=t(&quot;../utils/xml-stream&quot;),{bufferToString:p}=t(&quot;../utils/browser-buffer-decode&quot;),v=t(&quot;./xform/style/styles-xform&quot;),g=t(&quot;./xform/core/core-xform&quot;),b=t(&quot;./xform/strings/shared-strings-xform&quot;),x=t(&quot;./xform/core/relationships-xform&quot;),_=t(&quot;./xform/core/content-types-xform&quot;),C=t(&quot;./xform/core/app-xform&quot;),O=t(&quot;./xform/book/workbook-xform&quot;),R=t(&quot;./xform/sheet/worksheet-xform&quot;),H=t(&quot;./xform/drawing/drawing-xform&quot;),L=t(&quot;./xform/table/table-xform&quot;),q=t(&quot;./xform/comment/comments-xform&quot;),W=t(&quot;./xform/comment/vml-notes-xform&quot;),K=t(&quot;./xml/theme1&quot;);class U{constructor(D){this.workbook=D}async readFile(D,E){if(!await h.fs.exists(D))throw new Error(&quot;File not found: &quot;+D);const j=u.createReadStream(D);try{const k=await this.read(j,E);return j.close(),k}catch(k){throw j.close(),k}}parseRels(D){return new x().parseStream(D)}parseWorkbook(D){return new O().parseStream(D)}parseSharedStrings(D){return new b().parseStream(D)}reconcile(D,E){const j=new O,k=new R(E),S=new H,N=new L;j.reconcile(D);const M={media:D.media,mediaIndex:D.mediaIndex};Object.keys(D.drawings).forEach(Y=&gt;{const Z=D.drawings[Y],ie=D.drawingRels[Y];ie&amp;&amp;(M.rels=ie.reduce(($,ee)=&gt;($[ee.Id]=ee,$),{}),(Z.anchors||[]).forEach($=&gt;{const ee=$.picture&amp;&amp;$.picture.hyperlinks;ee&amp;&amp;M.rels[ee.rId]&amp;&amp;(ee.hyperlink=M.rels[ee.rId].Target,delete ee.rId)}),S.reconcile(Z,M))});const I={styles:D.styles};Object.values(D.tables).forEach(Y=&gt;{N.reconcile(Y,I)});const B={styles:D.styles,sharedStrings:D.sharedStrings,media:D.media,mediaIndex:D.mediaIndex,date1904:D.properties&amp;&amp;D.properties.date1904,drawings:D.drawings,comments:D.comments,tables:D.tables,vmlDrawings:D.vmlDrawings};D.worksheets.forEach(Y=&gt;{Y.relationships=D.worksheetRels[Y.sheetNo],k.reconcile(Y,B)}),delete D.worksheetHash,delete D.worksheetRels,delete D.globalRels,delete D.sharedStrings,delete D.workbookRels,delete D.sheetDefs,delete D.styles,delete D.mediaIndex,delete D.drawings,delete D.drawingRels,delete D.vmlDrawings}async _processWorksheetEntry(D,E,j,k,S){const N=new R(k),M=await N.parseStream(D);M.sheetNo=j,E.worksheetHash[S]=M,E.worksheets.push(M)}async _processCommentEntry(D,E,j){const k=new q,S=await k.parseStream(D);E.comments[`../${j}.xml`]=S}async _processTableEntry(D,E,j){const k=new L,S=await k.parseStream(D);E.tables[`../tables/${j}.xml`]=S}async _processWorksheetRelsEntry(D,E,j){const k=new x,S=await k.parseStream(D);E.worksheetRels[j]=S}async _processMediaEntry(D,E,j){const k=j.lastIndexOf(&quot;.&quot;);if(k&gt;=1){const S=j.substr(k+1),N=j.substr(0,k);await new Promise((M,I)=&gt;{const B=new f;B.on(&quot;finish&quot;,()=&gt;{E.mediaIndex[j]=E.media.length,E.mediaIndex[N]=E.media.length;const Y={type:&quot;image&quot;,name:N,extension:S,buffer:B.toBuffer()};E.media.push(Y),M()}),D.on(&quot;error&quot;,Y=&gt;{I(Y)}),D.pipe(B)})}}async _processDrawingEntry(D,E,j){const k=new H,S=await k.parseStream(D);E.drawings[j]=S}async _processDrawingRelsEntry(D,E,j){const k=new x,S=await k.parseStream(D);E.drawingRels[j]=S}async _processVmlDrawingEntry(D,E,j){const k=new W,S=await k.parseStream(D);E.vmlDrawings[`../drawings/${j}.vml`]=S}async _processThemeEntry(D,E,j){await new Promise((k,S)=&gt;{const N=new f;D.on(&quot;error&quot;,S),N.on(&quot;error&quot;,S),N.on(&quot;finish&quot;,()=&gt;{E.themes[j]=N.read().toString(),k()}),D.pipe(N)})}createInputStream(){throw new Error(&quot;`XLSX#createInputStream` is deprecated. You should use `XLSX#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md&quot;)}async read(D,E){!D[Symbol.asyncIterator]&amp;&amp;D.pipe&amp;&amp;(D=D.pipe(new s));const j=[];for await(const k of D)j.push(k);return this.load(a.concat(j),E)}async load(D,E){let j;j=E&amp;&amp;E.base64?a.from(D.toString(),&quot;base64&quot;):D;const k={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},S=await o.loadAsync(j);for(const N of Object.values(S.files))if(!N.dir){let M,I=N.name;if(I[0]===&quot;/&quot;&amp;&amp;(I=I.substr(1)),I.match(/xl\/media\//)||I.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))M=new s,M.write(await N.async(&quot;nodebuffer&quot;));else{let B;M=new s({writableObjectMode:!0,readableObjectMode:!0}),B=i.browser?p(await N.async(&quot;nodebuffer&quot;)):await N.async(&quot;string&quot;);const Y=16384;for(let Z=0;Z&lt;B.length;Z+=Y)M.write(B.substring(Z,Z+Y))}switch(M.end(),I){case&quot;_rels/.rels&quot;:k.globalRels=await this.parseRels(M);break;case&quot;xl/workbook.xml&quot;:{const B=await this.parseWorkbook(M);k.sheets=B.sheets,k.definedNames=B.definedNames,k.views=B.views,k.properties=B.properties,k.calcProperties=B.calcProperties;break}case&quot;xl/_rels/workbook.xml.rels&quot;:k.workbookRels=await this.parseRels(M);break;case&quot;xl/sharedStrings.xml&quot;:k.sharedStrings=new b,await k.sharedStrings.parseStream(M);break;case&quot;xl/styles.xml&quot;:k.styles=new v,await k.styles.parseStream(M);break;case&quot;docProps/app.xml&quot;:{const B=new C,Y=await B.parseStream(M);k.company=Y.company,k.manager=Y.manager;break}case&quot;docProps/core.xml&quot;:{const B=new g,Y=await B.parseStream(M);Object.assign(k,Y);break}default:{let B=I.match(/xl\/worksheets\/sheet(\d+)[.]xml/);if(B){await this._processWorksheetEntry(M,k,B[1],E,I);break}if(B=I.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/),B){await this._processWorksheetRelsEntry(M,k,B[1]);break}if(B=I.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/),B){await this._processThemeEntry(M,k,B[1]);break}if(B=I.match(/xl\/media\/([a-zA-Z0-9]+[.][a-zA-Z0-9]{3,4})$/),B){await this._processMediaEntry(M,k,B[1]);break}if(B=I.match(/xl\/drawings\/([a-zA-Z0-9]+)[.]xml/),B){await this._processDrawingEntry(M,k,B[1]);break}if(B=I.match(/xl\/(comments\d+)[.]xml/),B){await this._processCommentEntry(M,k,B[1]);break}if(B=I.match(/xl\/tables\/(table\d+)[.]xml/),B){await this._processTableEntry(M,k,B[1]);break}if(B=I.match(/xl\/drawings\/_rels\/([a-zA-Z0-9]+)[.]xml[.]rels/),B){await this._processDrawingRelsEntry(M,k,B[1]);break}if(B=I.match(/xl\/drawings\/(vmlDrawing\d+)[.]vml/),B){await this._processVmlDrawingEntry(M,k,B[1]);break}}}}return this.reconcile(k,E),this.workbook.model=k,this.workbook}async addMedia(D,E){await Promise.all(E.media.map(async j=&gt;{if(j.type===&quot;image&quot;){const k=`xl/media/${j.name}.${j.extension}`;if(j.filename){const S=await(function(N,M){return new Promise((I,B)=&gt;{u.readFile(N,M,(Y,Z)=&gt;{Y?B(Y):I(Z)})})})(j.filename);return D.append(S,{name:k})}if(j.buffer)return D.append(j.buffer,{name:k});if(j.base64){const S=j.base64,N=S.substring(S.indexOf(&quot;,&quot;)+1);return D.append(N,{name:k,base64:!0})}}throw new Error(&quot;Unsupported media&quot;)}))}addDrawings(D,E){const j=new H,k=new x;E.worksheets.forEach(S=&gt;{const{drawing:N}=S;if(N){j.prepare(N,{});let M=j.toXml(N);D.append(M,{name:`xl/drawings/${N.name}.xml`}),M=k.toXml(N.rels),D.append(M,{name:`xl/drawings/_rels/${N.name}.xml.rels`})}})}addTables(D,E){const j=new L;E.worksheets.forEach(k=&gt;{const{tables:S}=k;S.forEach(N=&gt;{j.prepare(N,{});const M=j.toXml(N);D.append(M,{name:&quot;xl/tables/&quot;+N.target})})})}async addContentTypes(D,E){const j=new _().toXml(E);D.append(j,{name:&quot;[Content_Types].xml&quot;})}async addApp(D,E){const j=new C().toXml(E);D.append(j,{name:&quot;docProps/app.xml&quot;})}async addCore(D,E){const j=new g;D.append(j.toXml(E),{name:&quot;docProps/core.xml&quot;})}async addThemes(D,E){const j=E.themes||{theme1:K};Object.keys(j).forEach(k=&gt;{const S=j[k],N=`xl/theme/${k}.xml`;D.append(S,{name:N})})}async addOfficeRels(D){const E=new x().toXml([{Id:&quot;rId1&quot;,Type:U.RelType.OfficeDocument,Target:&quot;xl/workbook.xml&quot;},{Id:&quot;rId2&quot;,Type:U.RelType.CoreProperties,Target:&quot;docProps/core.xml&quot;},{Id:&quot;rId3&quot;,Type:U.RelType.ExtenderProperties,Target:&quot;docProps/app.xml&quot;}]);D.append(E,{name:&quot;_rels/.rels&quot;})}async addWorkbookRels(D,E){let j=1;const k=[{Id:&quot;rId&quot;+j++,Type:U.RelType.Styles,Target:&quot;styles.xml&quot;},{Id:&quot;rId&quot;+j++,Type:U.RelType.Theme,Target:&quot;theme/theme1.xml&quot;}];E.sharedStrings.count&amp;&amp;k.push({Id:&quot;rId&quot;+j++,Type:U.RelType.SharedStrings,Target:&quot;sharedStrings.xml&quot;}),E.worksheets.forEach(N=&gt;{N.rId=&quot;rId&quot;+j++,k.push({Id:N.rId,Type:U.RelType.Worksheet,Target:`worksheets/sheet${N.id}.xml`})});const S=new x().toXml(k);D.append(S,{name:&quot;xl/_rels/workbook.xml.rels&quot;})}async addSharedStrings(D,E){E.sharedStrings&amp;&amp;E.sharedStrings.count&amp;&amp;D.append(E.sharedStrings.xml,{name:&quot;xl/sharedStrings.xml&quot;})}async addStyles(D,E){const{xml:j}=E.styles;j&amp;&amp;D.append(j,{name:&quot;xl/styles.xml&quot;})}async addWorkbook(D,E){const j=new O;D.append(j.toXml(E),{name:&quot;xl/workbook.xml&quot;})}async addWorksheets(D,E){const j=new R,k=new x,S=new q,N=new W;E.worksheets.forEach(M=&gt;{let I=new m;j.render(I,M),D.append(I.xml,{name:`xl/worksheets/sheet${M.id}.xml`}),M.rels&amp;&amp;M.rels.length&amp;&amp;(I=new m,k.render(I,M.rels),D.append(I.xml,{name:`xl/worksheets/_rels/sheet${M.id}.xml.rels`})),M.comments.length&gt;0&amp;&amp;(I=new m,S.render(I,M),D.append(I.xml,{name:`xl/comments${M.id}.xml`}),I=new m,N.render(I,M),D.append(I.xml,{name:`xl/drawings/vmlDrawing${M.id}.vml`}))})}_finalize(D){return new Promise((E,j)=&gt;{D.on(&quot;finish&quot;,()=&gt;{E(this)}),D.on(&quot;error&quot;,j),D.finalize()})}prepareModel(D,E){D.creator=D.creator||&quot;ExcelJS&quot;,D.lastModifiedBy=D.lastModifiedBy||&quot;ExcelJS&quot;,D.created=D.created||new Date,D.modified=D.modified||new Date,D.useSharedStrings=E.useSharedStrings===void 0||E.useSharedStrings,D.useStyles=E.useStyles===void 0||E.useStyles,D.sharedStrings=new b,D.styles=D.useStyles?new v(!0):new v.Mock;const j=new O,k=new R;j.prepare(D);const S={sharedStrings:D.sharedStrings,styles:D.styles,date1904:D.properties.date1904,drawingsCount:0,media:D.media};S.drawings=D.drawings=[],S.commentRefs=D.commentRefs=[];let N=0;D.tables=[],D.worksheets.forEach(M=&gt;{M.tables.forEach(I=&gt;{N++,I.target=`table${N}.xml`,I.id=N,D.tables.push(I)}),k.prepare(M,S)})}async write(D,E){E=E||{};const{model:j}=this.workbook,k=new c.ZipWriter(E.zip);return k.pipe(D),this.prepareModel(j,E),await this.addContentTypes(k,j),await this.addOfficeRels(k,j),await this.addWorkbookRels(k,j),await this.addWorksheets(k,j),await this.addSharedStrings(k,j),await this.addDrawings(k,j),await this.addTables(k,j),await Promise.all([this.addThemes(k,j),this.addStyles(k,j)]),await this.addMedia(k,j),await Promise.all([this.addApp(k,j),this.addCore(k,j)]),await this.addWorkbook(k,j),this._finalize(k)}writeFile(D,E){const j=u.createWriteStream(D);return new Promise((k,S)=&gt;{j.on(&quot;finish&quot;,()=&gt;{k()}),j.on(&quot;error&quot;,N=&gt;{S(N)}),this.write(j,E).then(()=&gt;{j.end()}).catch(N=&gt;{S(N)})})}async writeBuffer(D){const E=new f;return await this.write(E,D),E.read()}}U.RelType=t(&quot;./rel-type&quot;),n.exports=U}).call(this)}).call(this,t(&quot;_process&quot;),t(&quot;buffer&quot;).Buffer)},{&quot;../utils/browser-buffer-decode&quot;:16,&quot;../utils/stream-buf&quot;:24,&quot;../utils/utils&quot;:27,&quot;../utils/xml-stream&quot;:28,&quot;../utils/zip-stream&quot;:29,&quot;./rel-type&quot;:31,&quot;./xform/book/workbook-xform&quot;:38,&quot;./xform/comment/comments-xform&quot;:40,&quot;./xform/comment/vml-notes-xform&quot;:45,&quot;./xform/core/app-xform&quot;:51,&quot;./xform/core/content-types-xform&quot;:52,&quot;./xform/core/core-xform&quot;:53,&quot;./xform/core/relationships-xform&quot;:55,&quot;./xform/drawing/drawing-xform&quot;:62,&quot;./xform/sheet/worksheet-xform&quot;:115,&quot;./xform/strings/shared-strings-xform&quot;:124,&quot;./xform/style/styles-xform&quot;:135,&quot;./xform/table/table-xform&quot;:143,&quot;./xml/theme1&quot;:145,_process:467,buffer:220,fs:216,jszip:441,&quot;readable-stream&quot;:491}],145:[function(t,n,l){n.exports=`&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;
&lt;a:theme xmlns:a=&quot;http://schemas.openxmlformats.org/drawingml/2006/main&quot; name=&quot;Office Theme&quot;&gt; &lt;a:themeElements&gt; &lt;a:clrScheme name=&quot;Office&quot;&gt; &lt;a:dk1&gt; &lt;a:sysClr val=&quot;windowText&quot; lastClr=&quot;000000&quot;/&gt; &lt;/a:dk1&gt; &lt;a:lt1&gt; &lt;a:sysClr val=&quot;window&quot; lastClr=&quot;FFFFFF&quot;/&gt; &lt;/a:lt1&gt; &lt;a:dk2&gt; &lt;a:srgbClr val=&quot;1F497D&quot;/&gt; &lt;/a:dk2&gt; &lt;a:lt2&gt; &lt;a:srgbClr val=&quot;EEECE1&quot;/&gt; &lt;/a:lt2&gt; &lt;a:accent1&gt; &lt;a:srgbClr val=&quot;4F81BD&quot;/&gt; &lt;/a:accent1&gt; &lt;a:accent2&gt; &lt;a:srgbClr val=&quot;C0504D&quot;/&gt; &lt;/a:accent2&gt; &lt;a:accent3&gt; &lt;a:srgbClr val=&quot;9BBB59&quot;/&gt; &lt;/a:accent3&gt; &lt;a:accent4&gt; &lt;a:srgbClr val=&quot;8064A2&quot;/&gt; &lt;/a:accent4&gt; &lt;a:accent5&gt; &lt;a:srgbClr val=&quot;4BACC6&quot;/&gt; &lt;/a:accent5&gt; &lt;a:accent6&gt; &lt;a:srgbClr val=&quot;F79646&quot;/&gt; &lt;/a:accent6&gt; &lt;a:hlink&gt; &lt;a:srgbClr val=&quot;0000FF&quot;/&gt; &lt;/a:hlink&gt; &lt;a:folHlink&gt; &lt;a:srgbClr val=&quot;800080&quot;/&gt; &lt;/a:folHlink&gt; &lt;/a:clrScheme&gt; &lt;a:fontScheme name=&quot;Office&quot;&gt; &lt;a:majorFont&gt; &lt;a:latin typeface=&quot;Cambria&quot;/&gt; &lt;a:ea typeface=&quot;&quot;/&gt; &lt;a:cs typeface=&quot;&quot;/&gt; &lt;a:font script=&quot;Jpan&quot; typeface=&quot;ＭＳ Ｐゴシック&quot;/&gt; &lt;a:font script=&quot;Hang&quot; typeface=&quot;맑은 고딕&quot;/&gt; &lt;a:font script=&quot;Hans&quot; typeface=&quot;宋体&quot;/&gt; &lt;a:font script=&quot;Hant&quot; typeface=&quot;新細明體&quot;/&gt; &lt;a:font script=&quot;Arab&quot; typeface=&quot;Times New Roman&quot;/&gt; &lt;a:font script=&quot;Hebr&quot; typeface=&quot;Times New Roman&quot;/&gt; &lt;a:font script=&quot;Thai&quot; typeface=&quot;Tahoma&quot;/&gt; &lt;a:font script=&quot;Ethi&quot; typeface=&quot;Nyala&quot;/&gt; &lt;a:font script=&quot;Beng&quot; typeface=&quot;Vrinda&quot;/&gt; &lt;a:font script=&quot;Gujr&quot; typeface=&quot;Shruti&quot;/&gt; &lt;a:font script=&quot;Khmr&quot; typeface=&quot;MoolBoran&quot;/&gt; &lt;a:font script=&quot;Knda&quot; typeface=&quot;Tunga&quot;/&gt; &lt;a:font script=&quot;Guru&quot; typeface=&quot;Raavi&quot;/&gt; &lt;a:font script=&quot;Cans&quot; typeface=&quot;Euphemia&quot;/&gt; &lt;a:font script=&quot;Cher&quot; typeface=&quot;Plantagenet Cherokee&quot;/&gt; &lt;a:font script=&quot;Yiii&quot; typeface=&quot;Microsoft Yi Baiti&quot;/&gt; &lt;a:font script=&quot;Tibt&quot; typeface=&quot;Microsoft Himalaya&quot;/&gt; &lt;a:font script=&quot;Thaa&quot; typeface=&quot;MV Boli&quot;/&gt; &lt;a:font script=&quot;Deva&quot; typeface=&quot;Mangal&quot;/&gt; &lt;a:font script=&quot;Telu&quot; typeface=&quot;Gautami&quot;/&gt; &lt;a:font script=&quot;Taml&quot; typeface=&quot;Latha&quot;/&gt; &lt;a:font script=&quot;Syrc&quot; typeface=&quot;Estrangelo Edessa&quot;/&gt; &lt;a:font script=&quot;Orya&quot; typeface=&quot;Kalinga&quot;/&gt; &lt;a:font script=&quot;Mlym&quot; typeface=&quot;Kartika&quot;/&gt; &lt;a:font script=&quot;Laoo&quot; typeface=&quot;DokChampa&quot;/&gt; &lt;a:font script=&quot;Sinh&quot; typeface=&quot;Iskoola Pota&quot;/&gt; &lt;a:font script=&quot;Mong&quot; typeface=&quot;Mongolian Baiti&quot;/&gt; &lt;a:font script=&quot;Viet&quot; typeface=&quot;Times New Roman&quot;/&gt; &lt;a:font script=&quot;Uigh&quot; typeface=&quot;Microsoft Uighur&quot;/&gt; &lt;a:font script=&quot;Geor&quot; typeface=&quot;Sylfaen&quot;/&gt; &lt;/a:majorFont&gt; &lt;a:minorFont&gt; &lt;a:latin typeface=&quot;Calibri&quot;/&gt; &lt;a:ea typeface=&quot;&quot;/&gt; &lt;a:cs typeface=&quot;&quot;/&gt; &lt;a:font script=&quot;Jpan&quot; typeface=&quot;ＭＳ Ｐゴシック&quot;/&gt; &lt;a:font script=&quot;Hang&quot; typeface=&quot;맑은 고딕&quot;/&gt; &lt;a:font script=&quot;Hans&quot; typeface=&quot;宋体&quot;/&gt; &lt;a:font script=&quot;Hant&quot; typeface=&quot;新細明體&quot;/&gt; &lt;a:font script=&quot;Arab&quot; typeface=&quot;Arial&quot;/&gt; &lt;a:font script=&quot;Hebr&quot; typeface=&quot;Arial&quot;/&gt; &lt;a:font script=&quot;Thai&quot; typeface=&quot;Tahoma&quot;/&gt; &lt;a:font script=&quot;Ethi&quot; typeface=&quot;Nyala&quot;/&gt; &lt;a:font script=&quot;Beng&quot; typeface=&quot;Vrinda&quot;/&gt; &lt;a:font script=&quot;Gujr&quot; typeface=&quot;Shruti&quot;/&gt; &lt;a:font script=&quot;Khmr&quot; typeface=&quot;DaunPenh&quot;/&gt; &lt;a:font script=&quot;Knda&quot; typeface=&quot;Tunga&quot;/&gt; &lt;a:font script=&quot;Guru&quot; typeface=&quot;Raavi&quot;/&gt; &lt;a:font script=&quot;Cans&quot; typeface=&quot;Euphemia&quot;/&gt; &lt;a:font script=&quot;Cher&quot; typeface=&quot;Plantagenet Cherokee&quot;/&gt; &lt;a:font script=&quot;Yiii&quot; typeface=&quot;Microsoft Yi Baiti&quot;/&gt; &lt;a:font script=&quot;Tibt&quot; typeface=&quot;Microsoft Himalaya&quot;/&gt; &lt;a:font script=&quot;Thaa&quot; typeface=&quot;MV Boli&quot;/&gt; &lt;a:font script=&quot;Deva&quot; typeface=&quot;Mangal&quot;/&gt; &lt;a:font script=&quot;Telu&quot; typeface=&quot;Gautami&quot;/&gt; &lt;a:font script=&quot;Taml&quot; typeface=&quot;Latha&quot;/&gt; &lt;a:font script=&quot;Syrc&quot; typeface=&quot;Estrangelo Edessa&quot;/&gt; &lt;a:font script=&quot;Orya&quot; typeface=&quot;Kalinga&quot;/&gt; &lt;a:font script=&quot;Mlym&quot; typeface=&quot;Kartika&quot;/&gt; &lt;a:font script=&quot;Laoo&quot; typeface=&quot;DokChampa&quot;/&gt; &lt;a:font script=&quot;Sinh&quot; typeface=&quot;Iskoola Pota&quot;/&gt; &lt;a:font script=&quot;Mong&quot; typeface=&quot;Mongolian Baiti&quot;/&gt; &lt;a:font script=&quot;Viet&quot; typeface=&quot;Arial&quot;/&gt; &lt;a:font script=&quot;Uigh&quot; typeface=&quot;Microsoft Uighur&quot;/&gt; &lt;a:font script=&quot;Geor&quot; typeface=&quot;Sylfaen&quot;/&gt; &lt;/a:minorFont&gt; &lt;/a:fontScheme&gt; &lt;a:fmtScheme name=&quot;Office&quot;&gt; &lt;a:fillStyleLst&gt; &lt;a:solidFill&gt; &lt;a:schemeClr val=&quot;phClr&quot;/&gt; &lt;/a:solidFill&gt; &lt;a:gradFill rotWithShape=&quot;1&quot;&gt; &lt;a:gsLst&gt; &lt;a:gs pos=&quot;0&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;50000&quot;/&gt; &lt;a:satMod val=&quot;300000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;a:gs pos=&quot;35000&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;37000&quot;/&gt; &lt;a:satMod val=&quot;300000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;a:gs pos=&quot;100000&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;15000&quot;/&gt; &lt;a:satMod val=&quot;350000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;/a:gsLst&gt; &lt;a:lin ang=&quot;16200000&quot; scaled=&quot;1&quot;/&gt; &lt;/a:gradFill&gt; &lt;a:gradFill rotWithShape=&quot;1&quot;&gt; &lt;a:gsLst&gt; &lt;a:gs pos=&quot;0&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;100000&quot;/&gt; &lt;a:shade val=&quot;100000&quot;/&gt; &lt;a:satMod val=&quot;130000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;a:gs pos=&quot;100000&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;50000&quot;/&gt; &lt;a:shade val=&quot;100000&quot;/&gt; &lt;a:satMod val=&quot;350000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;/a:gsLst&gt; &lt;a:lin ang=&quot;16200000&quot; scaled=&quot;0&quot;/&gt; &lt;/a:gradFill&gt; &lt;/a:fillStyleLst&gt; &lt;a:lnStyleLst&gt; &lt;a:ln w=&quot;9525&quot; cap=&quot;flat&quot; cmpd=&quot;sng&quot; algn=&quot;ctr&quot;&gt; &lt;a:solidFill&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:shade val=&quot;95000&quot;/&gt; &lt;a:satMod val=&quot;105000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:solidFill&gt; &lt;a:prstDash val=&quot;solid&quot;/&gt; &lt;/a:ln&gt; &lt;a:ln w=&quot;25400&quot; cap=&quot;flat&quot; cmpd=&quot;sng&quot; algn=&quot;ctr&quot;&gt; &lt;a:solidFill&gt; &lt;a:schemeClr val=&quot;phClr&quot;/&gt; &lt;/a:solidFill&gt; &lt;a:prstDash val=&quot;solid&quot;/&gt; &lt;/a:ln&gt; &lt;a:ln w=&quot;38100&quot; cap=&quot;flat&quot; cmpd=&quot;sng&quot; algn=&quot;ctr&quot;&gt; &lt;a:solidFill&gt; &lt;a:schemeClr val=&quot;phClr&quot;/&gt; &lt;/a:solidFill&gt; &lt;a:prstDash val=&quot;solid&quot;/&gt; &lt;/a:ln&gt; &lt;/a:lnStyleLst&gt; &lt;a:effectStyleLst&gt; &lt;a:effectStyle&gt; &lt;a:effectLst&gt; &lt;a:outerShdw blurRad=&quot;40000&quot; dist=&quot;20000&quot; dir=&quot;5400000&quot; rotWithShape=&quot;0&quot;&gt; &lt;a:srgbClr val=&quot;000000&quot;&gt; &lt;a:alpha val=&quot;38000&quot;/&gt; &lt;/a:srgbClr&gt; &lt;/a:outerShdw&gt; &lt;/a:effectLst&gt; &lt;/a:effectStyle&gt; &lt;a:effectStyle&gt; &lt;a:effectLst&gt; &lt;a:outerShdw blurRad=&quot;40000&quot; dist=&quot;23000&quot; dir=&quot;5400000&quot; rotWithShape=&quot;0&quot;&gt; &lt;a:srgbClr val=&quot;000000&quot;&gt; &lt;a:alpha val=&quot;35000&quot;/&gt; &lt;/a:srgbClr&gt; &lt;/a:outerShdw&gt; &lt;/a:effectLst&gt; &lt;/a:effectStyle&gt; &lt;a:effectStyle&gt; &lt;a:effectLst&gt; &lt;a:outerShdw blurRad=&quot;40000&quot; dist=&quot;23000&quot; dir=&quot;5400000&quot; rotWithShape=&quot;0&quot;&gt; &lt;a:srgbClr val=&quot;000000&quot;&gt; &lt;a:alpha val=&quot;35000&quot;/&gt; &lt;/a:srgbClr&gt; &lt;/a:outerShdw&gt; &lt;/a:effectLst&gt; &lt;a:scene3d&gt; &lt;a:camera prst=&quot;orthographicFront&quot;&gt; &lt;a:rot lat=&quot;0&quot; lon=&quot;0&quot; rev=&quot;0&quot;/&gt; &lt;/a:camera&gt; &lt;a:lightRig rig=&quot;threePt&quot; dir=&quot;t&quot;&gt; &lt;a:rot lat=&quot;0&quot; lon=&quot;0&quot; rev=&quot;1200000&quot;/&gt; &lt;/a:lightRig&gt; &lt;/a:scene3d&gt; &lt;a:sp3d&gt; &lt;a:bevelT w=&quot;63500&quot; h=&quot;25400&quot;/&gt; &lt;/a:sp3d&gt; &lt;/a:effectStyle&gt; &lt;/a:effectStyleLst&gt; &lt;a:bgFillStyleLst&gt; &lt;a:solidFill&gt; &lt;a:schemeClr val=&quot;phClr&quot;/&gt; &lt;/a:solidFill&gt; &lt;a:gradFill rotWithShape=&quot;1&quot;&gt; &lt;a:gsLst&gt; &lt;a:gs pos=&quot;0&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;40000&quot;/&gt; &lt;a:satMod val=&quot;350000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;a:gs pos=&quot;40000&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;45000&quot;/&gt; &lt;a:shade val=&quot;99000&quot;/&gt; &lt;a:satMod val=&quot;350000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;a:gs pos=&quot;100000&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:shade val=&quot;20000&quot;/&gt; &lt;a:satMod val=&quot;255000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;/a:gsLst&gt; &lt;a:path path=&quot;circle&quot;&gt; &lt;a:fillToRect l=&quot;50000&quot; t=&quot;-80000&quot; r=&quot;50000&quot; b=&quot;180000&quot;/&gt; &lt;/a:path&gt; &lt;/a:gradFill&gt; &lt;a:gradFill rotWithShape=&quot;1&quot;&gt; &lt;a:gsLst&gt; &lt;a:gs pos=&quot;0&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:tint val=&quot;80000&quot;/&gt; &lt;a:satMod val=&quot;300000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;a:gs pos=&quot;100000&quot;&gt; &lt;a:schemeClr val=&quot;phClr&quot;&gt; &lt;a:shade val=&quot;30000&quot;/&gt; &lt;a:satMod val=&quot;200000&quot;/&gt; &lt;/a:schemeClr&gt; &lt;/a:gs&gt; &lt;/a:gsLst&gt; &lt;a:path path=&quot;circle&quot;&gt; &lt;a:fillToRect l=&quot;50000&quot; t=&quot;50000&quot; r=&quot;50000&quot; b=&quot;50000&quot;/&gt; &lt;/a:path&gt; &lt;/a:gradFill&gt; &lt;/a:bgFillStyleLst&gt; &lt;/a:fmtScheme&gt; &lt;/a:themeElements&gt; &lt;a:objectDefaults&gt; &lt;a:spDef&gt; &lt;a:spPr/&gt; &lt;a:bodyPr/&gt; &lt;a:lstStyle/&gt; &lt;a:style&gt; &lt;a:lnRef idx=&quot;1&quot;&gt; &lt;a:schemeClr val=&quot;accent1&quot;/&gt; &lt;/a:lnRef&gt; &lt;a:fillRef idx=&quot;3&quot;&gt; &lt;a:schemeClr val=&quot;accent1&quot;/&gt; &lt;/a:fillRef&gt; &lt;a:effectRef idx=&quot;2&quot;&gt; &lt;a:schemeClr val=&quot;accent1&quot;/&gt; &lt;/a:effectRef&gt; &lt;a:fontRef idx=&quot;minor&quot;&gt; &lt;a:schemeClr val=&quot;lt1&quot;/&gt; &lt;/a:fontRef&gt; &lt;/a:style&gt; &lt;/a:spDef&gt; &lt;a:lnDef&gt; &lt;a:spPr/&gt; &lt;a:bodyPr/&gt; &lt;a:lstStyle/&gt; &lt;a:style&gt; &lt;a:lnRef idx=&quot;2&quot;&gt; &lt;a:schemeClr val=&quot;accent1&quot;/&gt; &lt;/a:lnRef&gt; &lt;a:fillRef idx=&quot;0&quot;&gt; &lt;a:schemeClr val=&quot;accent1&quot;/&gt; &lt;/a:fillRef&gt; &lt;a:effectRef idx=&quot;1&quot;&gt; &lt;a:schemeClr val=&quot;accent1&quot;/&gt; &lt;/a:effectRef&gt; &lt;a:fontRef idx=&quot;minor&quot;&gt; &lt;a:schemeClr val=&quot;tx1&quot;/&gt; &lt;/a:fontRef&gt; &lt;/a:style&gt; &lt;/a:lnDef&gt; &lt;/a:objectDefaults&gt; &lt;a:extraClrSchemeLst/&gt; &lt;/a:theme&gt;`},{}],146:[function(t,n,l){(function(i){(function(){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.CsvFormatterStream=void 0;const a=t(&quot;stream&quot;),u=t(&quot;./formatter&quot;);class o extends a.Transform{constructor(c){super({writableObjectMode:c.objectMode}),this.hasWrittenBOM=!1,this.formatterOptions=c,this.rowFormatter=new u.RowFormatter(c),this.hasWrittenBOM=!c.writeBOM}transform(c){return this.rowFormatter.rowTransform=c,this}_transform(c,f,h){let m=!1;try{this.hasWrittenBOM||(this.push(this.formatterOptions.BOM),this.hasWrittenBOM=!0),this.rowFormatter.format(c,(p,v)=&gt;p?(m=!0,h(p)):(v&amp;&amp;v.forEach(g=&gt;{this.push(i.from(g,&quot;utf8&quot;))}),m=!0,h()))}catch(p){if(m)throw p;h(p)}}_flush(c){this.rowFormatter.finish((f,h)=&gt;f?c(f):(h&amp;&amp;h.forEach(m=&gt;{this.push(i.from(m,&quot;utf8&quot;))}),c()))}}l.CsvFormatterStream=o}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;./formatter&quot;:150,buffer:220,stream:505}],147:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.FormatterOptions=void 0,l.FormatterOptions=class{constructor(){let i=arguments.length&gt;0&amp;&amp;arguments[0]!==void 0?arguments[0]:{};var a;this.objectMode=!0,this.delimiter=&quot;,&quot;,this.rowDelimiter=`
`,this.quote=&#039;&quot;&#039;,this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM=&quot;\uFEFF&quot;,this.alwaysWriteHeaders=!1,Object.assign(this,i||{}),i?.quoteHeaders===void 0&amp;&amp;(this.quoteHeaders=this.quoteColumns),i?.quote===!0?this.quote=&#039;&quot;&#039;:i?.quote===!1&amp;&amp;(this.quote=&quot;&quot;),typeof i?.escape!=&quot;string&quot;&amp;&amp;(this.escape=this.quote),this.shouldWriteHeaders=!!this.headers&amp;&amp;((a=i.writeHeaders)===null||a===void 0||a),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote=`${this.escape}${this.quote}`}}},{}],148:[function(t,n,l){var i=function(s){return s&amp;&amp;s.__esModule?s:{default:s}};Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.FieldFormatter=void 0;const a=i(t(&quot;lodash.isboolean&quot;)),u=i(t(&quot;lodash.isnil&quot;)),o=i(t(&quot;lodash.escaperegexp&quot;));l.FieldFormatter=class{constructor(s){this._headers=null,this.formatterOptions=s,s.headers!==null&amp;&amp;(this.headers=s.headers),this.REPLACE_REGEXP=new RegExp(s.quote,&quot;g&quot;);const c=`[${s.delimiter}${o.default(s.rowDelimiter)}|\r|
]`;this.ESCAPE_REGEXP=new RegExp(c)}set headers(s){this._headers=s}shouldQuote(s,c){const f=c?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;return a.default(f)?f:Array.isArray(f)?f[s]:this._headers!==null&amp;&amp;f[this._headers[s]]}format(s,c,f){const h=(&quot;&quot;+(u.default(s)?&quot;&quot;:s)).replace(/\0/g,&quot;&quot;),{formatterOptions:m}=this;return m.quote!==&quot;&quot;&amp;&amp;h.indexOf(m.quote)!==-1?this.quoteField(h.replace(this.REPLACE_REGEXP,m.escapedQuote)):h.search(this.ESCAPE_REGEXP)!==-1||this.shouldQuote(c,f)?this.quoteField(h):h}quoteField(s){const{quote:c}=this.formatterOptions;return`${c}${s}${c}`}}},{&quot;lodash.escaperegexp&quot;:442,&quot;lodash.isboolean&quot;:444,&quot;lodash.isnil&quot;:447}],149:[function(t,n,l){var i=function(f){return f&amp;&amp;f.__esModule?f:{default:f}};Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.RowFormatter=void 0;const a=i(t(&quot;lodash.isfunction&quot;)),u=i(t(&quot;lodash.isequal&quot;)),o=t(&quot;./FieldFormatter&quot;),s=t(&quot;../types&quot;);class c{constructor(h){this.rowCount=0,this.formatterOptions=h,this.fieldFormatter=new o.FieldFormatter(h),this.headers=h.headers,this.shouldWriteHeaders=h.shouldWriteHeaders,this.hasWrittenHeaders=!1,this.headers!==null&amp;&amp;(this.fieldFormatter.headers=this.headers),h.transform&amp;&amp;(this.rowTransform=h.transform)}static isRowHashArray(h){return!!Array.isArray(h)&amp;&amp;Array.isArray(h[0])&amp;&amp;h[0].length===2}static isRowArray(h){return Array.isArray(h)&amp;&amp;!this.isRowHashArray(h)}static gatherHeaders(h){return c.isRowHashArray(h)?h.map(m=&gt;m[0]):Array.isArray(h)?h:Object.keys(h)}static createTransform(h){return s.isSyncTransform(h)?(m,p)=&gt;{let v=null;try{v=h(m)}catch(g){return p(g)}return p(null,v)}:(m,p)=&gt;{h(m,p)}}set rowTransform(h){if(!a.default(h))throw new TypeError(&quot;The transform should be a function&quot;);this._rowTransform=c.createTransform(h)}format(h,m){this.callTransformer(h,(p,v)=&gt;{if(p)return m(p);if(!h)return m(null);const g=[];if(v){const{shouldFormatColumns:b,headers:x}=this.checkHeaders(v);if(this.shouldWriteHeaders&amp;&amp;x&amp;&amp;!this.hasWrittenHeaders&amp;&amp;(g.push(this.formatColumns(x,!0)),this.hasWrittenHeaders=!0),b){const _=this.gatherColumns(v);g.push(this.formatColumns(_,!1))}}return m(null,g)})}finish(h){const m=[];if(this.formatterOptions.alwaysWriteHeaders&amp;&amp;this.rowCount===0){if(!this.headers)return h(new Error(&quot;`alwaysWriteHeaders` option is set to true but `headers` option not provided.&quot;));m.push(this.formatColumns(this.headers,!0))}return this.formatterOptions.includeEndRowDelimiter&amp;&amp;m.push(this.formatterOptions.rowDelimiter),h(null,m)}checkHeaders(h){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};const m=c.gatherHeaders(h);return this.headers=m,this.fieldFormatter.headers=m,this.shouldWriteHeaders?{shouldFormatColumns:!u.default(m,h),headers:m}:{shouldFormatColumns:!0,headers:null}}gatherColumns(h){if(this.headers===null)throw new Error(&quot;Headers is currently null&quot;);return Array.isArray(h)?c.isRowHashArray(h)?this.headers.map((m,p)=&gt;{const v=h[p];return v?v[1]:&quot;&quot;}):c.isRowArray(h)&amp;&amp;!this.shouldWriteHeaders?h:this.headers.map((m,p)=&gt;h[p]):this.headers.map(m=&gt;h[m])}callTransformer(h,m){return this._rowTransform?this._rowTransform(h,m):m(null,h)}formatColumns(h,m){const p=h.map((g,b)=&gt;this.fieldFormatter.format(g,b,m)).join(this.formatterOptions.delimiter),{rowCount:v}=this;return this.rowCount+=1,v?[this.formatterOptions.rowDelimiter,p].join(&quot;&quot;):p}}l.RowFormatter=c},{&quot;../types&quot;:152,&quot;./FieldFormatter&quot;:148,&quot;lodash.isequal&quot;:445,&quot;lodash.isfunction&quot;:446}],150:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.FieldFormatter=l.RowFormatter=void 0;var i=t(&quot;./RowFormatter&quot;);Object.defineProperty(l,&quot;RowFormatter&quot;,{enumerable:!0,get:function(){return i.RowFormatter}});var a=t(&quot;./FieldFormatter&quot;);Object.defineProperty(l,&quot;FieldFormatter&quot;,{enumerable:!0,get:function(){return a.FieldFormatter}})},{&quot;./FieldFormatter&quot;:148,&quot;./RowFormatter&quot;:149}],151:[function(t,n,l){(function(i){(function(){var a=Object.create?function(b,x,_,C){C===void 0&amp;&amp;(C=_),Object.defineProperty(b,C,{enumerable:!0,get:function(){return x[_]}})}:function(b,x,_,C){C===void 0&amp;&amp;(C=_),b[C]=x[_]},u=Object.create?function(b,x){Object.defineProperty(b,&quot;default&quot;,{enumerable:!0,value:x})}:function(b,x){b.default=x},o=function(b){if(b&amp;&amp;b.__esModule)return b;var x={};if(b!=null)for(var _ in b)_!==&quot;default&quot;&amp;&amp;Object.prototype.hasOwnProperty.call(b,_)&amp;&amp;a(x,b,_);return u(x,b),x},s=function(b,x){for(var _ in b)_===&quot;default&quot;||Object.prototype.hasOwnProperty.call(x,_)||a(x,b,_)};Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.writeToPath=l.writeToString=l.writeToBuffer=l.writeToStream=l.write=l.format=l.FormatterOptions=l.CsvFormatterStream=void 0;const c=t(&quot;util&quot;),f=t(&quot;stream&quot;),h=o(t(&quot;fs&quot;)),m=t(&quot;./FormatterOptions&quot;),p=t(&quot;./CsvFormatterStream&quot;);s(t(&quot;./types&quot;),l);var v=t(&quot;./CsvFormatterStream&quot;);Object.defineProperty(l,&quot;CsvFormatterStream&quot;,{enumerable:!0,get:function(){return v.CsvFormatterStream}});var g=t(&quot;./FormatterOptions&quot;);Object.defineProperty(l,&quot;FormatterOptions&quot;,{enumerable:!0,get:function(){return g.FormatterOptions}}),l.format=b=&gt;new p.CsvFormatterStream(new m.FormatterOptions(b)),l.write=(b,x)=&gt;{const _=l.format(x),C=c.promisify((O,R)=&gt;{_.write(O,void 0,R)});return b.reduce((O,R)=&gt;O.then(()=&gt;C(R)),Promise.resolve()).then(()=&gt;_.end()).catch(O=&gt;{_.emit(&quot;error&quot;,O)}),_},l.writeToStream=(b,x,_)=&gt;l.write(x,_).pipe(b),l.writeToBuffer=function(b){let x=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{};const _=[],C=new f.Writable({write(O,R,H){_.push(O),H()}});return new Promise((O,R)=&gt;{C.on(&quot;error&quot;,R).on(&quot;finish&quot;,()=&gt;O(i.concat(_))),l.write(b,x).pipe(C)})},l.writeToString=(b,x)=&gt;l.writeToBuffer(b,x).then(_=&gt;_.toString()),l.writeToPath=(b,x,_)=&gt;{const C=h.createWriteStream(b,{encoding:&quot;utf8&quot;});return l.write(x,_).pipe(C)}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;./CsvFormatterStream&quot;:146,&quot;./FormatterOptions&quot;:147,&quot;./types&quot;:152,buffer:220,fs:216,stream:505,util:527}],152:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.isSyncTransform=void 0,l.isSyncTransform=i=&gt;i.length===1},{}],153:[function(t,n,l){(function(i){(function(){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.CsvParserStream=void 0;const a=t(&quot;string_decoder&quot;),u=t(&quot;stream&quot;),o=t(&quot;./transforms&quot;),s=t(&quot;./parser&quot;);class c extends u.Transform{constructor(h){super({objectMode:h.objectMode}),this.lines=&quot;&quot;,this.rowCount=0,this.parsedRowCount=0,this.parsedLineCount=0,this.endEmitted=!1,this.headersEmitted=!1,this.parserOptions=h,this.parser=new s.Parser(h),this.headerTransformer=new o.HeaderTransformer(h),this.decoder=new a.StringDecoder(h.encoding),this.rowTransformerValidator=new o.RowTransformerValidator}get hasHitRowLimit(){return this.parserOptions.limitRows&amp;&amp;this.rowCount&gt;=this.parserOptions.maxRows}get shouldEmitRows(){return this.parsedRowCount&gt;this.parserOptions.skipRows}get shouldSkipLine(){return this.parsedLineCount&lt;=this.parserOptions.skipLines}transform(h){return this.rowTransformerValidator.rowTransform=h,this}validate(h){return this.rowTransformerValidator.rowValidator=h,this}emit(h){if(h===&quot;end&quot;)return this.endEmitted||(this.endEmitted=!0,super.emit(&quot;end&quot;,this.rowCount)),!1;for(var m=arguments.length,p=new Array(m&gt;1?m-1:0),v=1;v&lt;m;v++)p[v-1]=arguments[v];return super.emit(h,...p)}_transform(h,m,p){if(this.hasHitRowLimit)return p();const v=c.wrapDoneCallback(p);try{const{lines:g}=this,b=g+this.decoder.write(h),x=this.parse(b,!0);return this.processRows(x,v)}catch(g){return v(g)}}_flush(h){const m=c.wrapDoneCallback(h);if(this.hasHitRowLimit)return m();try{const p=this.lines+this.decoder.end(),v=this.parse(p,!1);return this.processRows(v,m)}catch(p){return m(p)}}parse(h,m){if(!h)return[];const{line:p,rows:v}=this.parser.parse(h,m);return this.lines=p,v}processRows(h,m){const p=h.length,v=g=&gt;{const b=C=&gt;C?m(C):g%100!=0?v(g+1):void i(()=&gt;v(g+1));if(this.checkAndEmitHeaders(),g&gt;=p||this.hasHitRowLimit)return m();if(this.parsedLineCount+=1,this.shouldSkipLine)return b();const x=h[g];this.rowCount+=1,this.parsedRowCount+=1;const _=this.rowCount;return this.transformRow(x,(C,O)=&gt;{if(C)return this.rowCount-=1,b(C);if(!O)return b(new Error(&quot;expected transform result&quot;));if(O.isValid){if(O.row)return this.pushRow(O.row,b)}else this.emit(&quot;data-invalid&quot;,O.row,_,O.reason);return b()})};v(0)}transformRow(h,m){try{this.headerTransformer.transform(h,(p,v)=&gt;p?m(p):v?v.isValid?v.row?this.shouldEmitRows?this.rowTransformerValidator.transformAndValidate(v.row,m):this.skipRow(m):(this.rowCount-=1,this.parsedRowCount-=1,m(null,{row:null,isValid:!0})):this.shouldEmitRows?m(null,{isValid:!1,row:h}):this.skipRow(m):m(new Error(&quot;Expected result from header transform&quot;)))}catch(p){m(p)}}checkAndEmitHeaders(){!this.headersEmitted&amp;&amp;this.headerTransformer.headers&amp;&amp;(this.headersEmitted=!0,this.emit(&quot;headers&quot;,this.headerTransformer.headers))}skipRow(h){return this.rowCount-=1,h(null,{row:null,isValid:!0})}pushRow(h,m){try{this.parserOptions.objectMode?this.push(h):this.push(JSON.stringify(h)),m()}catch(p){m(p)}}static wrapDoneCallback(h){let m=!1;return function(p){if(p){if(m)throw p;return m=!0,void h(p)}for(var v=arguments.length,g=new Array(v&gt;1?v-1:0),b=1;b&lt;v;b++)g[b-1]=arguments[b];h(...g)}}}l.CsvParserStream=c}).call(this)}).call(this,t(&quot;timers&quot;).setImmediate)},{&quot;./parser&quot;:165,&quot;./transforms&quot;:168,stream:505,string_decoder:218,timers:523}],154:[function(t,n,l){var i=function(o){return o&amp;&amp;o.__esModule?o:{default:o}};Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.ParserOptions=void 0;const a=i(t(&quot;lodash.escaperegexp&quot;)),u=i(t(&quot;lodash.isnil&quot;));l.ParserOptions=class{constructor(o){var s;if(this.objectMode=!0,this.delimiter=&quot;,&quot;,this.ignoreEmpty=!1,this.quote=&#039;&quot;&#039;,this.escape=null,this.escapeChar=this.quote,this.comment=null,this.supportsComments=!1,this.ltrim=!1,this.rtrim=!1,this.trim=!1,this.headers=null,this.renameHeaders=!1,this.strictColumnHandling=!1,this.discardUnmappedColumns=!1,this.carriageReturn=&quot;\r&quot;,this.encoding=&quot;utf8&quot;,this.limitRows=!1,this.maxRows=0,this.skipLines=0,this.skipRows=0,Object.assign(this,o||{}),this.delimiter.length&gt;1)throw new Error(&quot;delimiter option must be one character long&quot;);this.escapedDelimiter=a.default(this.delimiter),this.escapeChar=(s=this.escape)!==null&amp;&amp;s!==void 0?s:this.quote,this.supportsComments=!u.default(this.comment),this.NEXT_TOKEN_REGEXP=new RegExp(`([^\\s]|\\r\\n|\\n|\\r|${this.escapedDelimiter})`),this.maxRows&gt;0&amp;&amp;(this.limitRows=!0)}}},{&quot;lodash.escaperegexp&quot;:442,&quot;lodash.isnil&quot;:447}],155:[function(t,n,l){var i=Object.create?function(v,g,b,x){x===void 0&amp;&amp;(x=b),Object.defineProperty(v,x,{enumerable:!0,get:function(){return g[b]}})}:function(v,g,b,x){x===void 0&amp;&amp;(x=b),v[x]=g[b]},a=Object.create?function(v,g){Object.defineProperty(v,&quot;default&quot;,{enumerable:!0,value:g})}:function(v,g){v.default=g},u=function(v){if(v&amp;&amp;v.__esModule)return v;var g={};if(v!=null)for(var b in v)b!==&quot;default&quot;&amp;&amp;Object.prototype.hasOwnProperty.call(v,b)&amp;&amp;i(g,v,b);return a(g,v),g},o=function(v,g){for(var b in v)b===&quot;default&quot;||Object.prototype.hasOwnProperty.call(g,b)||i(g,v,b)};Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.parseString=l.parseFile=l.parseStream=l.parse=l.ParserOptions=l.CsvParserStream=void 0;const s=u(t(&quot;fs&quot;)),c=t(&quot;stream&quot;),f=t(&quot;./ParserOptions&quot;),h=t(&quot;./CsvParserStream&quot;);o(t(&quot;./types&quot;),l);var m=t(&quot;./CsvParserStream&quot;);Object.defineProperty(l,&quot;CsvParserStream&quot;,{enumerable:!0,get:function(){return m.CsvParserStream}});var p=t(&quot;./ParserOptions&quot;);Object.defineProperty(l,&quot;ParserOptions&quot;,{enumerable:!0,get:function(){return p.ParserOptions}}),l.parse=v=&gt;new h.CsvParserStream(new f.ParserOptions(v)),l.parseStream=(v,g)=&gt;v.pipe(new h.CsvParserStream(new f.ParserOptions(g))),l.parseFile=function(v){let g=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{};return s.createReadStream(v).pipe(new h.CsvParserStream(new f.ParserOptions(g)))},l.parseString=(v,g)=&gt;{const b=new c.Readable;return b.push(v),b.push(null),b.pipe(new h.CsvParserStream(new f.ParserOptions(g)))}},{&quot;./CsvParserStream&quot;:153,&quot;./ParserOptions&quot;:154,&quot;./types&quot;:169,fs:216,stream:505}],156:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.Parser=void 0;const i=t(&quot;./Scanner&quot;),a=t(&quot;./RowParser&quot;),u=t(&quot;./Token&quot;);class o{constructor(c){this.parserOptions=c,this.rowParser=new a.RowParser(this.parserOptions)}static removeBOM(c){return c&amp;&amp;c.charCodeAt(0)===65279?c.slice(1):c}parse(c,f){const h=new i.Scanner({line:o.removeBOM(c),parserOptions:this.parserOptions,hasMoreData:f});return this.parserOptions.supportsComments?this.parseWithComments(h):this.parseWithoutComments(h)}parseWithoutComments(c){const f=[];let h=!0;for(;h;)h=this.parseRow(c,f);return{line:c.line,rows:f}}parseWithComments(c){const{parserOptions:f}=this,h=[];for(let m=c.nextCharacterToken;m!==null;m=c.nextCharacterToken)if(u.Token.isTokenComment(m,f)){if(c.advancePastLine()===null)return{line:c.lineFromCursor,rows:h};if(!c.hasMoreCharacters)return{line:c.lineFromCursor,rows:h};c.truncateToCursor()}else if(!this.parseRow(c,h))break;return{line:c.line,rows:h}}parseRow(c,f){if(!c.nextNonSpaceToken)return!1;const h=this.rowParser.parse(c);return h!==null&amp;&amp;(this.parserOptions.ignoreEmpty&amp;&amp;a.RowParser.isEmptyRow(h)||f.push(h),!0)}}l.Parser=o},{&quot;./RowParser&quot;:157,&quot;./Scanner&quot;:158,&quot;./Token&quot;:159}],157:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.RowParser=void 0;const i=t(&quot;./column&quot;),a=t(&quot;./Token&quot;);l.RowParser=class{constructor(u){this.parserOptions=u,this.columnParser=new i.ColumnParser(u)}static isEmptyRow(u){return u.join(&quot;&quot;).replace(/\s+/g,&quot;&quot;)===&quot;&quot;}parse(u){const{parserOptions:o}=this,{hasMoreData:s}=u,c=u,f=[];let h=this.getStartToken(c,f);for(;h;){if(a.Token.isTokenRowDelimiter(h))return c.advancePastToken(h),!c.hasMoreCharacters&amp;&amp;a.Token.isTokenCarriageReturn(h,o)&amp;&amp;s?null:(c.truncateToCursor(),f);if(!this.shouldSkipColumnParse(c,h,f)){const m=this.columnParser.parse(c);if(m===null)return null;f.push(m)}h=c.nextNonSpaceToken}return s?null:(c.truncateToCursor(),f)}getStartToken(u,o){const s=u.nextNonSpaceToken;return s!==null&amp;&amp;a.Token.isTokenDelimiter(s,this.parserOptions)?(o.push(&quot;&quot;),u.nextNonSpaceToken):s}shouldSkipColumnParse(u,o,s){const{parserOptions:c}=this;if(a.Token.isTokenDelimiter(o,c)){u.advancePastToken(o);const f=u.nextCharacterToken;if(!u.hasMoreCharacters||f!==null&amp;&amp;a.Token.isTokenRowDelimiter(f)||f!==null&amp;&amp;a.Token.isTokenDelimiter(f,c))return s.push(&quot;&quot;),!0}return!1}}},{&quot;./Token&quot;:159,&quot;./column&quot;:164}],158:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.Scanner=void 0;const i=t(&quot;./Token&quot;),a=/((?:\r\n)|\n|\r)/;l.Scanner=class{constructor(u){this.cursor=0,this.line=u.line,this.lineLength=this.line.length,this.parserOptions=u.parserOptions,this.hasMoreData=u.hasMoreData,this.cursor=u.cursor||0}get hasMoreCharacters(){return this.lineLength&gt;this.cursor}get nextNonSpaceToken(){const{lineFromCursor:u}=this,o=this.parserOptions.NEXT_TOKEN_REGEXP;if(u.search(o)===-1)return null;const s=o.exec(u);if(s==null)return null;const c=s[1],f=this.cursor+(s.index||0);return new i.Token({token:c,startCursor:f,endCursor:f+c.length-1})}get nextCharacterToken(){const{cursor:u,lineLength:o}=this;return o&lt;=u?null:new i.Token({token:this.line[u],startCursor:u,endCursor:u})}get lineFromCursor(){return this.line.substr(this.cursor)}advancePastLine(){const u=a.exec(this.lineFromCursor);return u?(this.cursor+=(u.index||0)+u[0].length,this):this.hasMoreData?null:(this.cursor=this.lineLength,this)}advanceTo(u){return this.cursor=u,this}advanceToToken(u){return this.cursor=u.startCursor,this}advancePastToken(u){return this.cursor=u.endCursor+1,this}truncateToCursor(){return this.line=this.lineFromCursor,this.lineLength=this.line.length,this.cursor=0,this}}},{&quot;./Token&quot;:159}],159:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.Token=void 0,l.Token=class{constructor(i){this.token=i.token,this.startCursor=i.startCursor,this.endCursor=i.endCursor}static isTokenRowDelimiter(i){const a=i.token;return a===&quot;\r&quot;||a===`
`||a===`\r
`}static isTokenCarriageReturn(i,a){return i.token===a.carriageReturn}static isTokenComment(i,a){return a.supportsComments&amp;&amp;!!i&amp;&amp;i.token===a.comment}static isTokenEscapeCharacter(i,a){return i.token===a.escapeChar}static isTokenQuote(i,a){return i.token===a.quote}static isTokenDelimiter(i,a){return i.token===a.delimiter}}},{}],160:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.ColumnFormatter=void 0,l.ColumnFormatter=class{constructor(i){i.trim?this.format=a=&gt;a.trim():i.ltrim?this.format=a=&gt;a.trimLeft():i.rtrim?this.format=a=&gt;a.trimRight():this.format=a=&gt;a}}},{}],161:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.ColumnParser=void 0;const i=t(&quot;./NonQuotedColumnParser&quot;),a=t(&quot;./QuotedColumnParser&quot;),u=t(&quot;../Token&quot;);l.ColumnParser=class{constructor(o){this.parserOptions=o,this.quotedColumnParser=new a.QuotedColumnParser(o),this.nonQuotedColumnParser=new i.NonQuotedColumnParser(o)}parse(o){const{nextNonSpaceToken:s}=o;return s!==null&amp;&amp;u.Token.isTokenQuote(s,this.parserOptions)?(o.advanceToToken(s),this.quotedColumnParser.parse(o)):this.nonQuotedColumnParser.parse(o)}}},{&quot;../Token&quot;:159,&quot;./NonQuotedColumnParser&quot;:162,&quot;./QuotedColumnParser&quot;:163}],162:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.NonQuotedColumnParser=void 0;const i=t(&quot;./ColumnFormatter&quot;),a=t(&quot;../Token&quot;);l.NonQuotedColumnParser=class{constructor(u){this.parserOptions=u,this.columnFormatter=new i.ColumnFormatter(u)}parse(u){if(!u.hasMoreCharacters)return null;const{parserOptions:o}=this,s=[];let c=u.nextCharacterToken;for(;c&amp;&amp;!a.Token.isTokenDelimiter(c,o)&amp;&amp;!a.Token.isTokenRowDelimiter(c);c=u.nextCharacterToken)s.push(c.token),u.advancePastToken(c);return this.columnFormatter.format(s.join(&quot;&quot;))}}},{&quot;../Token&quot;:159,&quot;./ColumnFormatter&quot;:160}],163:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.QuotedColumnParser=void 0;const i=t(&quot;./ColumnFormatter&quot;),a=t(&quot;../Token&quot;);l.QuotedColumnParser=class{constructor(u){this.parserOptions=u,this.columnFormatter=new i.ColumnFormatter(u)}parse(u){if(!u.hasMoreCharacters)return null;const o=u.cursor,{foundClosingQuote:s,col:c}=this.gatherDataBetweenQuotes(u);if(!s){if(u.advanceTo(o),!u.hasMoreData)throw new Error(`Parse Error: missing closing: &#039;${this.parserOptions.quote||&quot;&quot;}&#039; in line: at &#039;${u.lineFromCursor.replace(/[\r\n]/g,&quot;\\n&#039;&quot;)}&#039;`);return null}return this.checkForMalformedColumn(u),c}gatherDataBetweenQuotes(u){const{parserOptions:o}=this;let s=!1,c=!1;const f=[];let h=u.nextCharacterToken;for(;!c&amp;&amp;h!==null;h=u.nextCharacterToken){const m=a.Token.isTokenQuote(h,o);if(!s&amp;&amp;m)s=!0;else if(s)if(a.Token.isTokenEscapeCharacter(h,o)){u.advancePastToken(h);const p=u.nextCharacterToken;p!==null&amp;&amp;(a.Token.isTokenQuote(p,o)||a.Token.isTokenEscapeCharacter(p,o))?(f.push(p.token),h=p):m?c=!0:f.push(h.token)}else m?c=!0:f.push(h.token);u.advancePastToken(h)}return{col:this.columnFormatter.format(f.join(&quot;&quot;)),foundClosingQuote:c}}checkForMalformedColumn(u){const{parserOptions:o}=this,{nextNonSpaceToken:s}=u;if(s){const c=a.Token.isTokenDelimiter(s,o),f=a.Token.isTokenRowDelimiter(s);if(!c&amp;&amp;!f){const h=u.lineFromCursor.substr(0,10).replace(/[\r\n]/g,&quot;\\n&#039;&quot;);throw new Error(`Parse Error: expected: &#039;${o.escapedDelimiter}&#039; OR new line got: &#039;${s.token}&#039;. at &#039;${h}`)}u.advanceToToken(s)}else u.hasMoreData||u.advancePastLine()}}},{&quot;../Token&quot;:159,&quot;./ColumnFormatter&quot;:160}],164:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.ColumnFormatter=l.QuotedColumnParser=l.NonQuotedColumnParser=l.ColumnParser=void 0;var i=t(&quot;./ColumnParser&quot;);Object.defineProperty(l,&quot;ColumnParser&quot;,{enumerable:!0,get:function(){return i.ColumnParser}});var a=t(&quot;./NonQuotedColumnParser&quot;);Object.defineProperty(l,&quot;NonQuotedColumnParser&quot;,{enumerable:!0,get:function(){return a.NonQuotedColumnParser}});var u=t(&quot;./QuotedColumnParser&quot;);Object.defineProperty(l,&quot;QuotedColumnParser&quot;,{enumerable:!0,get:function(){return u.QuotedColumnParser}});var o=t(&quot;./ColumnFormatter&quot;);Object.defineProperty(l,&quot;ColumnFormatter&quot;,{enumerable:!0,get:function(){return o.ColumnFormatter}})},{&quot;./ColumnFormatter&quot;:160,&quot;./ColumnParser&quot;:161,&quot;./NonQuotedColumnParser&quot;:162,&quot;./QuotedColumnParser&quot;:163}],165:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.QuotedColumnParser=l.NonQuotedColumnParser=l.ColumnParser=l.Token=l.Scanner=l.RowParser=l.Parser=void 0;var i=t(&quot;./Parser&quot;);Object.defineProperty(l,&quot;Parser&quot;,{enumerable:!0,get:function(){return i.Parser}});var a=t(&quot;./RowParser&quot;);Object.defineProperty(l,&quot;RowParser&quot;,{enumerable:!0,get:function(){return a.RowParser}});var u=t(&quot;./Scanner&quot;);Object.defineProperty(l,&quot;Scanner&quot;,{enumerable:!0,get:function(){return u.Scanner}});var o=t(&quot;./Token&quot;);Object.defineProperty(l,&quot;Token&quot;,{enumerable:!0,get:function(){return o.Token}});var s=t(&quot;./column&quot;);Object.defineProperty(l,&quot;ColumnParser&quot;,{enumerable:!0,get:function(){return s.ColumnParser}}),Object.defineProperty(l,&quot;NonQuotedColumnParser&quot;,{enumerable:!0,get:function(){return s.NonQuotedColumnParser}}),Object.defineProperty(l,&quot;QuotedColumnParser&quot;,{enumerable:!0,get:function(){return s.QuotedColumnParser}})},{&quot;./Parser&quot;:156,&quot;./RowParser&quot;:157,&quot;./Scanner&quot;:158,&quot;./Token&quot;:159,&quot;./column&quot;:164}],166:[function(t,n,l){var i=function(c){return c&amp;&amp;c.__esModule?c:{default:c}};Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.HeaderTransformer=void 0;const a=i(t(&quot;lodash.isundefined&quot;)),u=i(t(&quot;lodash.isfunction&quot;)),o=i(t(&quot;lodash.uniq&quot;)),s=i(t(&quot;lodash.groupby&quot;));l.HeaderTransformer=class{constructor(c){this.headers=null,this.receivedHeaders=!1,this.shouldUseFirstRow=!1,this.processedFirstRow=!1,this.headersLength=0,this.parserOptions=c,c.headers===!0?this.shouldUseFirstRow=!0:Array.isArray(c.headers)?this.setHeaders(c.headers):u.default(c.headers)&amp;&amp;(this.headersTransform=c.headers)}transform(c,f){return this.shouldMapRow(c)?f(null,this.processRow(c)):f(null,{row:null,isValid:!0})}shouldMapRow(c){const{parserOptions:f}=this;if(!this.headersTransform&amp;&amp;f.renameHeaders&amp;&amp;!this.processedFirstRow){if(!this.receivedHeaders)throw new Error(&quot;Error renaming headers: new headers must be provided in an array&quot;);return this.processedFirstRow=!0,!1}if(!this.receivedHeaders&amp;&amp;Array.isArray(c)){if(this.headersTransform)this.setHeaders(this.headersTransform(c));else{if(!this.shouldUseFirstRow)return!0;this.setHeaders(c)}return!1}return!0}processRow(c){if(!this.headers)return{row:c,isValid:!0};const{parserOptions:f}=this;if(!f.discardUnmappedColumns&amp;&amp;c.length&gt;this.headersLength){if(!f.strictColumnHandling)throw new Error(`Unexpected Error: column header mismatch expected: ${this.headersLength} columns got: ${c.length}`);return{row:c,isValid:!1,reason:`Column header mismatch expected: ${this.headersLength} columns got: ${c.length}`}}return f.strictColumnHandling&amp;&amp;c.length&lt;this.headersLength?{row:c,isValid:!1,reason:`Column header mismatch expected: ${this.headersLength} columns got: ${c.length}`}:{row:this.mapHeaders(c),isValid:!0}}mapHeaders(c){const f={},{headers:h,headersLength:m}=this;for(let p=0;p&lt;m;p+=1){const v=h[p];if(!a.default(v)){const g=c[p];a.default(g)?f[v]=&quot;&quot;:f[v]=g}}return f}setHeaders(c){var f;const h=c.filter(m=&gt;!!m);if(o.default(h).length!==h.length){const m=s.default(h),p=Object.keys(m).filter(v=&gt;m[v].length&gt;1);throw new Error(&quot;Duplicate headers found &quot;+JSON.stringify(p))}this.headers=c,this.receivedHeaders=!0,this.headersLength=((f=this.headers)===null||f===void 0?void 0:f.length)||0}}},{&quot;lodash.groupby&quot;:443,&quot;lodash.isfunction&quot;:446,&quot;lodash.isundefined&quot;:448,&quot;lodash.uniq&quot;:449}],167:[function(t,n,l){var i=function(s){return s&amp;&amp;s.__esModule?s:{default:s}};Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.RowTransformerValidator=void 0;const a=i(t(&quot;lodash.isfunction&quot;)),u=t(&quot;../types&quot;);class o{constructor(){this._rowTransform=null,this._rowValidator=null}static createTransform(c){return u.isSyncTransform(c)?(f,h)=&gt;{let m=null;try{m=c(f)}catch(p){return h(p)}return h(null,m)}:c}static createValidator(c){return u.isSyncValidate(c)?(f,h)=&gt;{h(null,{row:f,isValid:c(f)})}:(f,h)=&gt;{c(f,(m,p,v)=&gt;m?h(m):h(null,p?{row:f,isValid:p,reason:v}:{row:f,isValid:!1,reason:v}))}}set rowTransform(c){if(!a.default(c))throw new TypeError(&quot;The transform should be a function&quot;);this._rowTransform=o.createTransform(c)}set rowValidator(c){if(!a.default(c))throw new TypeError(&quot;The validate should be a function&quot;);this._rowValidator=o.createValidator(c)}transformAndValidate(c,f){return this.callTransformer(c,(h,m)=&gt;h?f(h):m?this.callValidator(m,(p,v)=&gt;p?f(p):v&amp;&amp;!v.isValid?f(null,{row:m,isValid:!1,reason:v.reason}):f(null,{row:m,isValid:!0})):f(null,{row:null,isValid:!0}))}callTransformer(c,f){return this._rowTransform?this._rowTransform(c,f):f(null,c)}callValidator(c,f){return this._rowValidator?this._rowValidator(c,f):f(null,{row:c,isValid:!0})}}l.RowTransformerValidator=o},{&quot;../types&quot;:169,&quot;lodash.isfunction&quot;:446}],168:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.HeaderTransformer=l.RowTransformerValidator=void 0;var i=t(&quot;./RowTransformerValidator&quot;);Object.defineProperty(l,&quot;RowTransformerValidator&quot;,{enumerable:!0,get:function(){return i.RowTransformerValidator}});var a=t(&quot;./HeaderTransformer&quot;);Object.defineProperty(l,&quot;HeaderTransformer&quot;,{enumerable:!0,get:function(){return a.HeaderTransformer}})},{&quot;./HeaderTransformer&quot;:166,&quot;./RowTransformerValidator&quot;:167}],169:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.isSyncValidate=l.isSyncTransform=void 0,l.isSyncTransform=i=&gt;i.length===1,l.isSyncValidate=i=&gt;i.length===1},{}],170:[function(t,n,l){const i=l;i.bignum=t(&quot;bn.js&quot;),i.define=t(&quot;./asn1/api&quot;).define,i.base=t(&quot;./asn1/base&quot;),i.constants=t(&quot;./asn1/constants&quot;),i.decoders=t(&quot;./asn1/decoders&quot;),i.encoders=t(&quot;./asn1/encoders&quot;)},{&quot;./asn1/api&quot;:171,&quot;./asn1/base&quot;:173,&quot;./asn1/constants&quot;:177,&quot;./asn1/decoders&quot;:179,&quot;./asn1/encoders&quot;:182,&quot;bn.js&quot;:184}],171:[function(t,n,l){const i=t(&quot;./encoders&quot;),a=t(&quot;./decoders&quot;),u=t(&quot;inherits&quot;);function o(s,c){this.name=s,this.body=c,this.decoders={},this.encoders={}}l.define=function(s,c){return new o(s,c)},o.prototype._createNamed=function(s){const c=this.name;function f(h){this._initNamed(h,c)}return u(f,s),f.prototype._initNamed=function(h,m){s.call(this,h,m)},new f(this)},o.prototype._getDecoder=function(s){return s=s||&quot;der&quot;,this.decoders.hasOwnProperty(s)||(this.decoders[s]=this._createNamed(a[s])),this.decoders[s]},o.prototype.decode=function(s,c,f){return this._getDecoder(c).decode(s,f)},o.prototype._getEncoder=function(s){return s=s||&quot;der&quot;,this.encoders.hasOwnProperty(s)||(this.encoders[s]=this._createNamed(i[s])),this.encoders[s]},o.prototype.encode=function(s,c,f){return this._getEncoder(c).encode(s,f)}},{&quot;./decoders&quot;:179,&quot;./encoders&quot;:182,inherits:440}],172:[function(t,n,l){const i=t(&quot;inherits&quot;),a=t(&quot;../base/reporter&quot;).Reporter,u=t(&quot;safer-buffer&quot;).Buffer;function o(c,f){a.call(this,f),u.isBuffer(c)?(this.base=c,this.offset=0,this.length=c.length):this.error(&quot;Input not Buffer&quot;)}function s(c,f){if(Array.isArray(c))this.length=0,this.value=c.map((function(h){return s.isEncoderBuffer(h)||(h=new s(h,f)),this.length+=h.length,h}),this);else if(typeof c==&quot;number&quot;){if(!(0&lt;=c&amp;&amp;c&lt;=255))return f.error(&quot;non-byte EncoderBuffer value&quot;);this.value=c,this.length=1}else if(typeof c==&quot;string&quot;)this.value=c,this.length=u.byteLength(c);else{if(!u.isBuffer(c))return f.error(&quot;Unsupported type: &quot;+typeof c);this.value=c,this.length=c.length}}i(o,a),l.DecoderBuffer=o,o.isDecoderBuffer=function(c){return c instanceof o?!0:typeof c==&quot;object&quot;&amp;&amp;u.isBuffer(c.base)&amp;&amp;c.constructor.name===&quot;DecoderBuffer&quot;&amp;&amp;typeof c.offset==&quot;number&quot;&amp;&amp;typeof c.length==&quot;number&quot;&amp;&amp;typeof c.save==&quot;function&quot;&amp;&amp;typeof c.restore==&quot;function&quot;&amp;&amp;typeof c.isEmpty==&quot;function&quot;&amp;&amp;typeof c.readUInt8==&quot;function&quot;&amp;&amp;typeof c.skip==&quot;function&quot;&amp;&amp;typeof c.raw==&quot;function&quot;},o.prototype.save=function(){return{offset:this.offset,reporter:a.prototype.save.call(this)}},o.prototype.restore=function(c){const f=new o(this.base);return f.offset=c.offset,f.length=this.offset,this.offset=c.offset,a.prototype.restore.call(this,c.reporter),f},o.prototype.isEmpty=function(){return this.offset===this.length},o.prototype.readUInt8=function(c){return this.offset+1&lt;=this.length?this.base.readUInt8(this.offset++,!0):this.error(c||&quot;DecoderBuffer overrun&quot;)},o.prototype.skip=function(c,f){if(!(this.offset+c&lt;=this.length))return this.error(f||&quot;DecoderBuffer overrun&quot;);const h=new o(this.base);return h._reporterState=this._reporterState,h.offset=this.offset,h.length=this.offset+c,this.offset+=c,h},o.prototype.raw=function(c){return this.base.slice(c?c.offset:this.offset,this.length)},l.EncoderBuffer=s,s.isEncoderBuffer=function(c){return c instanceof s?!0:typeof c==&quot;object&quot;&amp;&amp;c.constructor.name===&quot;EncoderBuffer&quot;&amp;&amp;typeof c.length==&quot;number&quot;&amp;&amp;typeof c.join==&quot;function&quot;},s.prototype.join=function(c,f){return c||(c=u.alloc(this.length)),f||(f=0),this.length===0||(Array.isArray(this.value)?this.value.forEach((function(h){h.join(c,f),f+=h.length})):(typeof this.value==&quot;number&quot;?c[f]=this.value:typeof this.value==&quot;string&quot;?c.write(this.value,f):u.isBuffer(this.value)&amp;&amp;this.value.copy(c,f),f+=this.length)),c}},{&quot;../base/reporter&quot;:175,inherits:440,&quot;safer-buffer&quot;:495}],173:[function(t,n,l){const i=l;i.Reporter=t(&quot;./reporter&quot;).Reporter,i.DecoderBuffer=t(&quot;./buffer&quot;).DecoderBuffer,i.EncoderBuffer=t(&quot;./buffer&quot;).EncoderBuffer,i.Node=t(&quot;./node&quot;)},{&quot;./buffer&quot;:172,&quot;./node&quot;:174,&quot;./reporter&quot;:175}],174:[function(t,n,l){const i=t(&quot;../base/reporter&quot;).Reporter,a=t(&quot;../base/buffer&quot;).EncoderBuffer,u=t(&quot;../base/buffer&quot;).DecoderBuffer,o=t(&quot;minimalistic-assert&quot;),s=[&quot;seq&quot;,&quot;seqof&quot;,&quot;set&quot;,&quot;setof&quot;,&quot;objid&quot;,&quot;bool&quot;,&quot;gentime&quot;,&quot;utctime&quot;,&quot;null_&quot;,&quot;enum&quot;,&quot;int&quot;,&quot;objDesc&quot;,&quot;bitstr&quot;,&quot;bmpstr&quot;,&quot;charstr&quot;,&quot;genstr&quot;,&quot;graphstr&quot;,&quot;ia5str&quot;,&quot;iso646str&quot;,&quot;numstr&quot;,&quot;octstr&quot;,&quot;printstr&quot;,&quot;t61str&quot;,&quot;unistr&quot;,&quot;utf8str&quot;,&quot;videostr&quot;],c=[&quot;key&quot;,&quot;obj&quot;,&quot;use&quot;,&quot;optional&quot;,&quot;explicit&quot;,&quot;implicit&quot;,&quot;def&quot;,&quot;choice&quot;,&quot;any&quot;,&quot;contains&quot;].concat(s);function f(m,p,v){const g={};this._baseState=g,g.name=v,g.enc=m,g.parent=p||null,g.children=null,g.tag=null,g.args=null,g.reverseArgs=null,g.choice=null,g.optional=!1,g.any=!1,g.obj=!1,g.use=null,g.useDecoder=null,g.key=null,g.default=null,g.explicit=null,g.implicit=null,g.contains=null,g.parent||(g.children=[],this._wrap())}n.exports=f;const h=[&quot;enc&quot;,&quot;parent&quot;,&quot;children&quot;,&quot;tag&quot;,&quot;args&quot;,&quot;reverseArgs&quot;,&quot;choice&quot;,&quot;optional&quot;,&quot;any&quot;,&quot;obj&quot;,&quot;use&quot;,&quot;alteredUse&quot;,&quot;key&quot;,&quot;default&quot;,&quot;explicit&quot;,&quot;implicit&quot;,&quot;contains&quot;];f.prototype.clone=function(){const m=this._baseState,p={};h.forEach((function(g){p[g]=m[g]}));const v=new this.constructor(p.parent);return v._baseState=p,v},f.prototype._wrap=function(){const m=this._baseState;c.forEach((function(p){this[p]=function(){const v=new this.constructor(this);return m.children.push(v),v[p].apply(v,arguments)}}),this)},f.prototype._init=function(m){const p=this._baseState;o(p.parent===null),m.call(this),p.children=p.children.filter((function(v){return v._baseState.parent===this}),this),o.equal(p.children.length,1,&quot;Root node can have only one child&quot;)},f.prototype._useArgs=function(m){const p=this._baseState,v=m.filter((function(g){return g instanceof this.constructor}),this);m=m.filter((function(g){return!(g instanceof this.constructor)}),this),v.length!==0&amp;&amp;(o(p.children===null),p.children=v,v.forEach((function(g){g._baseState.parent=this}),this)),m.length!==0&amp;&amp;(o(p.args===null),p.args=m,p.reverseArgs=m.map((function(g){if(typeof g!=&quot;object&quot;||g.constructor!==Object)return g;const b={};return Object.keys(g).forEach((function(x){x==(0|x)&amp;&amp;(x|=0);const _=g[x];b[_]=x})),b})))},[&quot;_peekTag&quot;,&quot;_decodeTag&quot;,&quot;_use&quot;,&quot;_decodeStr&quot;,&quot;_decodeObjid&quot;,&quot;_decodeTime&quot;,&quot;_decodeNull&quot;,&quot;_decodeInt&quot;,&quot;_decodeBool&quot;,&quot;_decodeList&quot;,&quot;_encodeComposite&quot;,&quot;_encodeStr&quot;,&quot;_encodeObjid&quot;,&quot;_encodeTime&quot;,&quot;_encodeNull&quot;,&quot;_encodeInt&quot;,&quot;_encodeBool&quot;].forEach((function(m){f.prototype[m]=function(){const p=this._baseState;throw new Error(m+&quot; not implemented for encoding: &quot;+p.enc)}})),s.forEach((function(m){f.prototype[m]=function(){const p=this._baseState,v=Array.prototype.slice.call(arguments);return o(p.tag===null),p.tag=m,this._useArgs(v),this}})),f.prototype.use=function(m){o(m);const p=this._baseState;return o(p.use===null),p.use=m,this},f.prototype.optional=function(){return this._baseState.optional=!0,this},f.prototype.def=function(m){const p=this._baseState;return o(p.default===null),p.default=m,p.optional=!0,this},f.prototype.explicit=function(m){const p=this._baseState;return o(p.explicit===null&amp;&amp;p.implicit===null),p.explicit=m,this},f.prototype.implicit=function(m){const p=this._baseState;return o(p.explicit===null&amp;&amp;p.implicit===null),p.implicit=m,this},f.prototype.obj=function(){const m=this._baseState,p=Array.prototype.slice.call(arguments);return m.obj=!0,p.length!==0&amp;&amp;this._useArgs(p),this},f.prototype.key=function(m){const p=this._baseState;return o(p.key===null),p.key=m,this},f.prototype.any=function(){return this._baseState.any=!0,this},f.prototype.choice=function(m){const p=this._baseState;return o(p.choice===null),p.choice=m,this._useArgs(Object.keys(m).map((function(v){return m[v]}))),this},f.prototype.contains=function(m){const p=this._baseState;return o(p.use===null),p.contains=m,this},f.prototype._decode=function(m,p){const v=this._baseState;if(v.parent===null)return m.wrapResult(v.children[0]._decode(m,p));let g,b=v.default,x=!0,_=null;if(v.key!==null&amp;&amp;(_=m.enterKey(v.key)),v.optional){let C=null;if(v.explicit!==null?C=v.explicit:v.implicit!==null?C=v.implicit:v.tag!==null&amp;&amp;(C=v.tag),C!==null||v.any){if(x=this._peekTag(m,C,v.any),m.isError(x))return x}else{const O=m.save();try{v.choice===null?this._decodeGeneric(v.tag,m,p):this._decodeChoice(m,p),x=!0}catch{x=!1}m.restore(O)}}if(v.obj&amp;&amp;x&amp;&amp;(g=m.enterObject()),x){if(v.explicit!==null){const O=this._decodeTag(m,v.explicit);if(m.isError(O))return O;m=O}const C=m.offset;if(v.use===null&amp;&amp;v.choice===null){let O;v.any&amp;&amp;(O=m.save());const R=this._decodeTag(m,v.implicit!==null?v.implicit:v.tag,v.any);if(m.isError(R))return R;v.any?b=m.raw(O):m=R}if(p&amp;&amp;p.track&amp;&amp;v.tag!==null&amp;&amp;p.track(m.path(),C,m.length,&quot;tagged&quot;),p&amp;&amp;p.track&amp;&amp;v.tag!==null&amp;&amp;p.track(m.path(),m.offset,m.length,&quot;content&quot;),v.any||(b=v.choice===null?this._decodeGeneric(v.tag,m,p):this._decodeChoice(m,p)),m.isError(b))return b;if(v.any||v.choice!==null||v.children===null||v.children.forEach((function(O){O._decode(m,p)})),v.contains&amp;&amp;(v.tag===&quot;octstr&quot;||v.tag===&quot;bitstr&quot;)){const O=new u(b);b=this._getUse(v.contains,m._reporterState.obj)._decode(O,p)}}return v.obj&amp;&amp;x&amp;&amp;(b=m.leaveObject(g)),v.key===null||b===null&amp;&amp;x!==!0?_!==null&amp;&amp;m.exitKey(_):m.leaveKey(_,v.key,b),b},f.prototype._decodeGeneric=function(m,p,v){const g=this._baseState;return m===&quot;seq&quot;||m===&quot;set&quot;?null:m===&quot;seqof&quot;||m===&quot;setof&quot;?this._decodeList(p,m,g.args[0],v):/str$/.test(m)?this._decodeStr(p,m,v):m===&quot;objid&quot;&amp;&amp;g.args?this._decodeObjid(p,g.args[0],g.args[1],v):m===&quot;objid&quot;?this._decodeObjid(p,null,null,v):m===&quot;gentime&quot;||m===&quot;utctime&quot;?this._decodeTime(p,m,v):m===&quot;null_&quot;?this._decodeNull(p,v):m===&quot;bool&quot;?this._decodeBool(p,v):m===&quot;objDesc&quot;?this._decodeStr(p,m,v):m===&quot;int&quot;||m===&quot;enum&quot;?this._decodeInt(p,g.args&amp;&amp;g.args[0],v):g.use!==null?this._getUse(g.use,p._reporterState.obj)._decode(p,v):p.error(&quot;unknown tag: &quot;+m)},f.prototype._getUse=function(m,p){const v=this._baseState;return v.useDecoder=this._use(m,p),o(v.useDecoder._baseState.parent===null),v.useDecoder=v.useDecoder._baseState.children[0],v.implicit!==v.useDecoder._baseState.implicit&amp;&amp;(v.useDecoder=v.useDecoder.clone(),v.useDecoder._baseState.implicit=v.implicit),v.useDecoder},f.prototype._decodeChoice=function(m,p){const v=this._baseState;let g=null,b=!1;return Object.keys(v.choice).some((function(x){const _=m.save(),C=v.choice[x];try{const O=C._decode(m,p);if(m.isError(O))return!1;g={type:x,value:O},b=!0}catch{return m.restore(_),!1}return!0}),this),b?g:m.error(&quot;Choice not matched&quot;)},f.prototype._createEncoderBuffer=function(m){return new a(m,this.reporter)},f.prototype._encode=function(m,p,v){const g=this._baseState;if(g.default!==null&amp;&amp;g.default===m)return;const b=this._encodeValue(m,p,v);return b===void 0||this._skipDefault(b,p,v)?void 0:b},f.prototype._encodeValue=function(m,p,v){const g=this._baseState;if(g.parent===null)return g.children[0]._encode(m,p||new i);let b=null;if(this.reporter=p,g.optional&amp;&amp;m===void 0){if(g.default===null)return;m=g.default}let x=null,_=!1;if(g.any)b=this._createEncoderBuffer(m);else if(g.choice)b=this._encodeChoice(m,p);else if(g.contains)x=this._getUse(g.contains,v)._encode(m,p),_=!0;else if(g.children)x=g.children.map((function(C){if(C._baseState.tag===&quot;null_&quot;)return C._encode(null,p,m);if(C._baseState.key===null)return p.error(&quot;Child should have a key&quot;);const O=p.enterKey(C._baseState.key);if(typeof m!=&quot;object&quot;)return p.error(&quot;Child expected, but input is not object&quot;);const R=C._encode(m[C._baseState.key],p,m);return p.leaveKey(O),R}),this).filter((function(C){return C})),x=this._createEncoderBuffer(x);else if(g.tag===&quot;seqof&quot;||g.tag===&quot;setof&quot;){if(!g.args||g.args.length!==1)return p.error(&quot;Too many args for : &quot;+g.tag);if(!Array.isArray(m))return p.error(&quot;seqof/setof, but data is not Array&quot;);const C=this.clone();C._baseState.implicit=null,x=this._createEncoderBuffer(m.map((function(O){const R=this._baseState;return this._getUse(R.args[0],m)._encode(O,p)}),C))}else g.use!==null?b=this._getUse(g.use,v)._encode(m,p):(x=this._encodePrimitive(g.tag,m),_=!0);if(!g.any&amp;&amp;g.choice===null){const C=g.implicit!==null?g.implicit:g.tag,O=g.implicit===null?&quot;universal&quot;:&quot;context&quot;;C===null?g.use===null&amp;&amp;p.error(&quot;Tag could be omitted only for .use()&quot;):g.use===null&amp;&amp;(b=this._encodeComposite(C,_,O,x))}return g.explicit!==null&amp;&amp;(b=this._encodeComposite(g.explicit,!1,&quot;context&quot;,b)),b},f.prototype._encodeChoice=function(m,p){const v=this._baseState,g=v.choice[m.type];return g||o(!1,m.type+&quot; not found in &quot;+JSON.stringify(Object.keys(v.choice))),g._encode(m.value,p)},f.prototype._encodePrimitive=function(m,p){const v=this._baseState;if(/str$/.test(m))return this._encodeStr(p,m);if(m===&quot;objid&quot;&amp;&amp;v.args)return this._encodeObjid(p,v.reverseArgs[0],v.args[1]);if(m===&quot;objid&quot;)return this._encodeObjid(p,null,null);if(m===&quot;gentime&quot;||m===&quot;utctime&quot;)return this._encodeTime(p,m);if(m===&quot;null_&quot;)return this._encodeNull();if(m===&quot;int&quot;||m===&quot;enum&quot;)return this._encodeInt(p,v.args&amp;&amp;v.reverseArgs[0]);if(m===&quot;bool&quot;)return this._encodeBool(p);if(m===&quot;objDesc&quot;)return this._encodeStr(p,m);throw new Error(&quot;Unsupported tag: &quot;+m)},f.prototype._isNumstr=function(m){return/^[0-9 ]*$/.test(m)},f.prototype._isPrintstr=function(m){return/^[A-Za-z0-9 &#039;()+,-./:=?]*$/.test(m)}},{&quot;../base/buffer&quot;:172,&quot;../base/reporter&quot;:175,&quot;minimalistic-assert&quot;:453}],175:[function(t,n,l){const i=t(&quot;inherits&quot;);function a(o){this._reporterState={obj:null,path:[],options:o||{},errors:[]}}function u(o,s){this.path=o,this.rethrow(s)}l.Reporter=a,a.prototype.isError=function(o){return o instanceof u},a.prototype.save=function(){const o=this._reporterState;return{obj:o.obj,pathLen:o.path.length}},a.prototype.restore=function(o){const s=this._reporterState;s.obj=o.obj,s.path=s.path.slice(0,o.pathLen)},a.prototype.enterKey=function(o){return this._reporterState.path.push(o)},a.prototype.exitKey=function(o){const s=this._reporterState;s.path=s.path.slice(0,o-1)},a.prototype.leaveKey=function(o,s,c){const f=this._reporterState;this.exitKey(o),f.obj!==null&amp;&amp;(f.obj[s]=c)},a.prototype.path=function(){return this._reporterState.path.join(&quot;/&quot;)},a.prototype.enterObject=function(){const o=this._reporterState,s=o.obj;return o.obj={},s},a.prototype.leaveObject=function(o){const s=this._reporterState,c=s.obj;return s.obj=o,c},a.prototype.error=function(o){let s;const c=this._reporterState,f=o instanceof u;if(s=f?o:new u(c.path.map((function(h){return&quot;[&quot;+JSON.stringify(h)+&quot;]&quot;})).join(&quot;&quot;),o.message||o,o.stack),!c.options.partial)throw s;return f||c.errors.push(s),s},a.prototype.wrapResult=function(o){const s=this._reporterState;return s.options.partial?{result:this.isError(o)?null:o,errors:s.errors}:o},i(u,Error),u.prototype.rethrow=function(o){if(this.message=o+&quot; at: &quot;+(this.path||&quot;(shallow)&quot;),Error.captureStackTrace&amp;&amp;Error.captureStackTrace(this,u),!this.stack)try{throw new Error(this.message)}catch(s){this.stack=s.stack}return this}},{inherits:440}],176:[function(t,n,l){function i(a){const u={};return Object.keys(a).forEach((function(o){(0|o)==o&amp;&amp;(o|=0);const s=a[o];u[s]=o})),u}l.tagClass={0:&quot;universal&quot;,1:&quot;application&quot;,2:&quot;context&quot;,3:&quot;private&quot;},l.tagClassByName=i(l.tagClass),l.tag={0:&quot;end&quot;,1:&quot;bool&quot;,2:&quot;int&quot;,3:&quot;bitstr&quot;,4:&quot;octstr&quot;,5:&quot;null_&quot;,6:&quot;objid&quot;,7:&quot;objDesc&quot;,8:&quot;external&quot;,9:&quot;real&quot;,10:&quot;enum&quot;,11:&quot;embed&quot;,12:&quot;utf8str&quot;,13:&quot;relativeOid&quot;,16:&quot;seq&quot;,17:&quot;set&quot;,18:&quot;numstr&quot;,19:&quot;printstr&quot;,20:&quot;t61str&quot;,21:&quot;videostr&quot;,22:&quot;ia5str&quot;,23:&quot;utctime&quot;,24:&quot;gentime&quot;,25:&quot;graphstr&quot;,26:&quot;iso646str&quot;,27:&quot;genstr&quot;,28:&quot;unistr&quot;,29:&quot;charstr&quot;,30:&quot;bmpstr&quot;},l.tagByName=i(l.tag)},{}],177:[function(t,n,l){const i=l;i._reverse=function(a){const u={};return Object.keys(a).forEach((function(o){(0|o)==o&amp;&amp;(o|=0);const s=a[o];u[s]=o})),u},i.der=t(&quot;./der&quot;)},{&quot;./der&quot;:176}],178:[function(t,n,l){const i=t(&quot;inherits&quot;),a=t(&quot;bn.js&quot;),u=t(&quot;../base/buffer&quot;).DecoderBuffer,o=t(&quot;../base/node&quot;),s=t(&quot;../constants/der&quot;);function c(p){this.enc=&quot;der&quot;,this.name=p.name,this.entity=p,this.tree=new f,this.tree._init(p.body)}function f(p){o.call(this,&quot;der&quot;,p)}function h(p,v){let g=p.readUInt8(v);if(p.isError(g))return g;const b=s.tagClass[g&gt;&gt;6],x=(32&amp;g)==0;if((31&amp;g)==31){let _=g;for(g=0;(128&amp;_)==128;){if(_=p.readUInt8(v),p.isError(_))return _;g&lt;&lt;=7,g|=127&amp;_}}else g&amp;=31;return{cls:b,primitive:x,tag:g,tagStr:s.tag[g]}}function m(p,v,g){let b=p.readUInt8(g);if(p.isError(b))return b;if(!v&amp;&amp;b===128)return null;if((128&amp;b)==0)return b;const x=127&amp;b;if(x&gt;4)return p.error(&quot;length octect is too long&quot;);b=0;for(let _=0;_&lt;x;_++){b&lt;&lt;=8;const C=p.readUInt8(g);if(p.isError(C))return C;b|=C}return b}n.exports=c,c.prototype.decode=function(p,v){return u.isDecoderBuffer(p)||(p=new u(p,v)),this.tree._decode(p,v)},i(f,o),f.prototype._peekTag=function(p,v,g){if(p.isEmpty())return!1;const b=p.save(),x=h(p,&#039;Failed to peek tag: &quot;&#039;+v+&#039;&quot;&#039;);return p.isError(x)?x:(p.restore(b),x.tag===v||x.tagStr===v||x.tagStr+&quot;of&quot;===v||g)},f.prototype._decodeTag=function(p,v,g){const b=h(p,&#039;Failed to decode tag of &quot;&#039;+v+&#039;&quot;&#039;);if(p.isError(b))return b;let x=m(p,b.primitive,&#039;Failed to get length of &quot;&#039;+v+&#039;&quot;&#039;);if(p.isError(x))return x;if(!g&amp;&amp;b.tag!==v&amp;&amp;b.tagStr!==v&amp;&amp;b.tagStr+&quot;of&quot;!==v)return p.error(&#039;Failed to match tag: &quot;&#039;+v+&#039;&quot;&#039;);if(b.primitive||x!==null)return p.skip(x,&#039;Failed to match body of: &quot;&#039;+v+&#039;&quot;&#039;);const _=p.save(),C=this._skipUntilEnd(p,&#039;Failed to skip indefinite length body: &quot;&#039;+this.tag+&#039;&quot;&#039;);return p.isError(C)?C:(x=p.offset-_.offset,p.restore(_),p.skip(x,&#039;Failed to match body of: &quot;&#039;+v+&#039;&quot;&#039;))},f.prototype._skipUntilEnd=function(p,v){for(;;){const g=h(p,v);if(p.isError(g))return g;const b=m(p,g.primitive,v);if(p.isError(b))return b;let x;if(x=g.primitive||b!==null?p.skip(b):this._skipUntilEnd(p,v),p.isError(x))return x;if(g.tagStr===&quot;end&quot;)break}},f.prototype._decodeList=function(p,v,g,b){const x=[];for(;!p.isEmpty();){const _=this._peekTag(p,&quot;end&quot;);if(p.isError(_))return _;const C=g.decode(p,&quot;der&quot;,b);if(p.isError(C)&amp;&amp;_)break;x.push(C)}return x},f.prototype._decodeStr=function(p,v){if(v===&quot;bitstr&quot;){const g=p.readUInt8();return p.isError(g)?g:{unused:g,data:p.raw()}}if(v===&quot;bmpstr&quot;){const g=p.raw();if(g.length%2==1)return p.error(&quot;Decoding of string type: bmpstr length mismatch&quot;);let b=&quot;&quot;;for(let x=0;x&lt;g.length/2;x++)b+=String.fromCharCode(g.readUInt16BE(2*x));return b}if(v===&quot;numstr&quot;){const g=p.raw().toString(&quot;ascii&quot;);return this._isNumstr(g)?g:p.error(&quot;Decoding of string type: numstr unsupported characters&quot;)}if(v===&quot;octstr&quot;||v===&quot;objDesc&quot;)return p.raw();if(v===&quot;printstr&quot;){const g=p.raw().toString(&quot;ascii&quot;);return this._isPrintstr(g)?g:p.error(&quot;Decoding of string type: printstr unsupported characters&quot;)}return/str$/.test(v)?p.raw().toString():p.error(&quot;Decoding of string type: &quot;+v+&quot; unsupported&quot;)},f.prototype._decodeObjid=function(p,v,g){let b;const x=[];let _=0,C=0;for(;!p.isEmpty();)C=p.readUInt8(),_&lt;&lt;=7,_|=127&amp;C,(128&amp;C)==0&amp;&amp;(x.push(_),_=0);128&amp;C&amp;&amp;x.push(_);const O=x[0]/40|0,R=x[0]%40;if(b=g?x:[O,R].concat(x.slice(1)),v){let H=v[b.join(&quot; &quot;)];H===void 0&amp;&amp;(H=v[b.join(&quot;.&quot;)]),H!==void 0&amp;&amp;(b=H)}return b},f.prototype._decodeTime=function(p,v){const g=p.raw().toString();let b,x,_,C,O,R;if(v===&quot;gentime&quot;)b=0|g.slice(0,4),x=0|g.slice(4,6),_=0|g.slice(6,8),C=0|g.slice(8,10),O=0|g.slice(10,12),R=0|g.slice(12,14);else{if(v!==&quot;utctime&quot;)return p.error(&quot;Decoding &quot;+v+&quot; time is not supported yet&quot;);b=0|g.slice(0,2),x=0|g.slice(2,4),_=0|g.slice(4,6),C=0|g.slice(6,8),O=0|g.slice(8,10),R=0|g.slice(10,12),b=b&lt;70?2e3+b:1900+b}return Date.UTC(b,x-1,_,C,O,R,0)},f.prototype._decodeNull=function(){return null},f.prototype._decodeBool=function(p){const v=p.readUInt8();return p.isError(v)?v:v!==0},f.prototype._decodeInt=function(p,v){const g=p.raw();let b=new a(g);return v&amp;&amp;(b=v[b.toString(10)]||b),b},f.prototype._use=function(p,v){return typeof p==&quot;function&quot;&amp;&amp;(p=p(v)),p._getDecoder(&quot;der&quot;).tree}},{&quot;../base/buffer&quot;:172,&quot;../base/node&quot;:174,&quot;../constants/der&quot;:176,&quot;bn.js&quot;:184,inherits:440}],179:[function(t,n,l){const i=l;i.der=t(&quot;./der&quot;),i.pem=t(&quot;./pem&quot;)},{&quot;./der&quot;:178,&quot;./pem&quot;:180}],180:[function(t,n,l){const i=t(&quot;inherits&quot;),a=t(&quot;safer-buffer&quot;).Buffer,u=t(&quot;./der&quot;);function o(s){u.call(this,s),this.enc=&quot;pem&quot;}i(o,u),n.exports=o,o.prototype.decode=function(s,c){const f=s.toString().split(/[\r\n]+/g),h=c.label.toUpperCase(),m=/^-----(BEGIN|END) ([^-]+)-----$/;let p=-1,v=-1;for(let x=0;x&lt;f.length;x++){const _=f[x].match(m);if(_!==null&amp;&amp;_[2]===h){if(p!==-1){if(_[1]!==&quot;END&quot;)break;v=x;break}if(_[1]!==&quot;BEGIN&quot;)break;p=x}}if(p===-1||v===-1)throw new Error(&quot;PEM section not found for: &quot;+h);const g=f.slice(p+1,v).join(&quot;&quot;);g.replace(/[^a-z0-9+/=]+/gi,&quot;&quot;);const b=a.from(g,&quot;base64&quot;);return u.prototype.decode.call(this,b,c)}},{&quot;./der&quot;:178,inherits:440,&quot;safer-buffer&quot;:495}],181:[function(t,n,l){const i=t(&quot;inherits&quot;),a=t(&quot;safer-buffer&quot;).Buffer,u=t(&quot;../base/node&quot;),o=t(&quot;../constants/der&quot;);function s(h){this.enc=&quot;der&quot;,this.name=h.name,this.entity=h,this.tree=new c,this.tree._init(h.body)}function c(h){u.call(this,&quot;der&quot;,h)}function f(h){return h&lt;10?&quot;0&quot;+h:h}n.exports=s,s.prototype.encode=function(h,m){return this.tree._encode(h,m).join()},i(c,u),c.prototype._encodeComposite=function(h,m,p,v){const g=(function(_,C,O,R){let H;if(_===&quot;seqof&quot;?_=&quot;seq&quot;:_===&quot;setof&quot;&amp;&amp;(_=&quot;set&quot;),o.tagByName.hasOwnProperty(_))H=o.tagByName[_];else{if(typeof _!=&quot;number&quot;||(0|_)!==_)return R.error(&quot;Unknown tag: &quot;+_);H=_}return H&gt;=31?R.error(&quot;Multi-octet tag encoding unsupported&quot;):(C||(H|=32),H|=o.tagClassByName[O||&quot;universal&quot;]&lt;&lt;6,H)})(h,m,p,this.reporter);if(v.length&lt;128){const _=a.alloc(2);return _[0]=g,_[1]=v.length,this._createEncoderBuffer([_,v])}let b=1;for(let _=v.length;_&gt;=256;_&gt;&gt;=8)b++;const x=a.alloc(2+b);x[0]=g,x[1]=128|b;for(let _=1+b,C=v.length;C&gt;0;_--,C&gt;&gt;=8)x[_]=255&amp;C;return this._createEncoderBuffer([x,v])},c.prototype._encodeStr=function(h,m){if(m===&quot;bitstr&quot;)return this._createEncoderBuffer([0|h.unused,h.data]);if(m===&quot;bmpstr&quot;){const p=a.alloc(2*h.length);for(let v=0;v&lt;h.length;v++)p.writeUInt16BE(h.charCodeAt(v),2*v);return this._createEncoderBuffer(p)}return m===&quot;numstr&quot;?this._isNumstr(h)?this._createEncoderBuffer(h):this.reporter.error(&quot;Encoding of string type: numstr supports only digits and space&quot;):m===&quot;printstr&quot;?this._isPrintstr(h)?this._createEncoderBuffer(h):this.reporter.error(&quot;Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark&quot;):/str$/.test(m)||m===&quot;objDesc&quot;?this._createEncoderBuffer(h):this.reporter.error(&quot;Encoding of string type: &quot;+m+&quot; unsupported&quot;)},c.prototype._encodeObjid=function(h,m,p){if(typeof h==&quot;string&quot;){if(!m)return this.reporter.error(&quot;string objid given, but no values map found&quot;);if(!m.hasOwnProperty(h))return this.reporter.error(&quot;objid not found in values map&quot;);h=m[h].split(/[\s.]+/g);for(let x=0;x&lt;h.length;x++)h[x]|=0}else if(Array.isArray(h)){h=h.slice();for(let x=0;x&lt;h.length;x++)h[x]|=0}if(!Array.isArray(h))return this.reporter.error(&quot;objid() should be either array or string, got: &quot;+JSON.stringify(h));if(!p){if(h[1]&gt;=40)return this.reporter.error(&quot;Second objid identifier OOB&quot;);h.splice(0,2,40*h[0]+h[1])}let v=0;for(let x=0;x&lt;h.length;x++){let _=h[x];for(v++;_&gt;=128;_&gt;&gt;=7)v++}const g=a.alloc(v);let b=g.length-1;for(let x=h.length-1;x&gt;=0;x--){let _=h[x];for(g[b--]=127&amp;_;(_&gt;&gt;=7)&gt;0;)g[b--]=128|127&amp;_}return this._createEncoderBuffer(g)},c.prototype._encodeTime=function(h,m){let p;const v=new Date(h);return m===&quot;gentime&quot;?p=[f(v.getUTCFullYear()),f(v.getUTCMonth()+1),f(v.getUTCDate()),f(v.getUTCHours()),f(v.getUTCMinutes()),f(v.getUTCSeconds()),&quot;Z&quot;].join(&quot;&quot;):m===&quot;utctime&quot;?p=[f(v.getUTCFullYear()%100),f(v.getUTCMonth()+1),f(v.getUTCDate()),f(v.getUTCHours()),f(v.getUTCMinutes()),f(v.getUTCSeconds()),&quot;Z&quot;].join(&quot;&quot;):this.reporter.error(&quot;Encoding &quot;+m+&quot; time is not supported yet&quot;),this._encodeStr(p,&quot;octstr&quot;)},c.prototype._encodeNull=function(){return this._createEncoderBuffer(&quot;&quot;)},c.prototype._encodeInt=function(h,m){if(typeof h==&quot;string&quot;){if(!m)return this.reporter.error(&quot;String int or enum given, but no values map&quot;);if(!m.hasOwnProperty(h))return this.reporter.error(&quot;Values map doesn&#039;t contain: &quot;+JSON.stringify(h));h=m[h]}if(typeof h!=&quot;number&quot;&amp;&amp;!a.isBuffer(h)){const g=h.toArray();!h.sign&amp;&amp;128&amp;g[0]&amp;&amp;g.unshift(0),h=a.from(g)}if(a.isBuffer(h)){let g=h.length;h.length===0&amp;&amp;g++;const b=a.alloc(g);return h.copy(b),h.length===0&amp;&amp;(b[0]=0),this._createEncoderBuffer(b)}if(h&lt;128)return this._createEncoderBuffer(h);if(h&lt;256)return this._createEncoderBuffer([0,h]);let p=1;for(let g=h;g&gt;=256;g&gt;&gt;=8)p++;const v=new Array(p);for(let g=v.length-1;g&gt;=0;g--)v[g]=255&amp;h,h&gt;&gt;=8;return 128&amp;v[0]&amp;&amp;v.unshift(0),this._createEncoderBuffer(a.from(v))},c.prototype._encodeBool=function(h){return this._createEncoderBuffer(h?255:0)},c.prototype._use=function(h,m){return typeof h==&quot;function&quot;&amp;&amp;(h=h(m)),h._getEncoder(&quot;der&quot;).tree},c.prototype._skipDefault=function(h,m,p){const v=this._baseState;let g;if(v.default===null)return!1;const b=h.join();if(v.defaultBuffer===void 0&amp;&amp;(v.defaultBuffer=this._encodeValue(v.default,m,p).join()),b.length!==v.defaultBuffer.length)return!1;for(g=0;g&lt;b.length;g++)if(b[g]!==v.defaultBuffer[g])return!1;return!0}},{&quot;../base/node&quot;:174,&quot;../constants/der&quot;:176,inherits:440,&quot;safer-buffer&quot;:495}],182:[function(t,n,l){const i=l;i.der=t(&quot;./der&quot;),i.pem=t(&quot;./pem&quot;)},{&quot;./der&quot;:181,&quot;./pem&quot;:183}],183:[function(t,n,l){const i=t(&quot;inherits&quot;),a=t(&quot;./der&quot;);function u(o){a.call(this,o),this.enc=&quot;pem&quot;}i(u,a),n.exports=u,u.prototype.encode=function(o,s){const c=a.prototype.encode.call(this,o).toString(&quot;base64&quot;),f=[&quot;-----BEGIN &quot;+s.label+&quot;-----&quot;];for(let h=0;h&lt;c.length;h+=64)f.push(c.slice(h,h+64));return f.push(&quot;-----END &quot;+s.label+&quot;-----&quot;),f.join(`
`)}},{&quot;./der&quot;:181,inherits:440}],184:[function(t,n,l){(function(i,a){function u(P,D){if(!P)throw new Error(D||&quot;Assertion failed&quot;)}function o(P,D){P.super_=D;var E=function(){};E.prototype=D.prototype,P.prototype=new E,P.prototype.constructor=P}function s(P,D,E){if(s.isBN(P))return P;this.negative=0,this.words=null,this.length=0,this.red=null,P!==null&amp;&amp;(D!==&quot;le&quot;&amp;&amp;D!==&quot;be&quot;||(E=D,D=10),this._init(P||0,D||10,E||&quot;be&quot;))}var c;typeof i==&quot;object&quot;?i.exports=s:(void 0).BN=s,s.BN=s,s.wordSize=26;try{c=typeof window&lt;&quot;u&quot;&amp;&amp;window.Buffer!==void 0?window.Buffer:t(&quot;buffer&quot;).Buffer}catch{}function f(P,D){var E=P.charCodeAt(D);return E&gt;=65&amp;&amp;E&lt;=70?E-55:E&gt;=97&amp;&amp;E&lt;=102?E-87:E-48&amp;15}function h(P,D,E){var j=f(P,E);return E-1&gt;=D&amp;&amp;(j|=f(P,E-1)&lt;&lt;4),j}function m(P,D,E,j){for(var k=0,S=Math.min(P.length,E),N=D;N&lt;S;N++){var M=P.charCodeAt(N)-48;k*=j,k+=M&gt;=49?M-49+10:M&gt;=17?M-17+10:M}return k}s.isBN=function(P){return P instanceof s||P!==null&amp;&amp;typeof P==&quot;object&quot;&amp;&amp;P.constructor.wordSize===s.wordSize&amp;&amp;Array.isArray(P.words)},s.max=function(P,D){return P.cmp(D)&gt;0?P:D},s.min=function(P,D){return P.cmp(D)&lt;0?P:D},s.prototype._init=function(P,D,E){if(typeof P==&quot;number&quot;)return this._initNumber(P,D,E);if(typeof P==&quot;object&quot;)return this._initArray(P,D,E);D===&quot;hex&quot;&amp;&amp;(D=16),u(D===(0|D)&amp;&amp;D&gt;=2&amp;&amp;D&lt;=36);var j=0;(P=P.toString().replace(/\s+/g,&quot;&quot;))[0]===&quot;-&quot;&amp;&amp;(j++,this.negative=1),j&lt;P.length&amp;&amp;(D===16?this._parseHex(P,j,E):(this._parseBase(P,D,j),E===&quot;le&quot;&amp;&amp;this._initArray(this.toArray(),D,E)))},s.prototype._initNumber=function(P,D,E){P&lt;0&amp;&amp;(this.negative=1,P=-P),P&lt;67108864?(this.words=[67108863&amp;P],this.length=1):P&lt;4503599627370496?(this.words=[67108863&amp;P,P/67108864&amp;67108863],this.length=2):(u(P&lt;9007199254740992),this.words=[67108863&amp;P,P/67108864&amp;67108863,1],this.length=3),E===&quot;le&quot;&amp;&amp;this._initArray(this.toArray(),D,E)},s.prototype._initArray=function(P,D,E){if(u(typeof P.length==&quot;number&quot;),P.length&lt;=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(P.length/3),this.words=new Array(this.length);for(var j=0;j&lt;this.length;j++)this.words[j]=0;var k,S,N=0;if(E===&quot;be&quot;)for(j=P.length-1,k=0;j&gt;=0;j-=3)S=P[j]|P[j-1]&lt;&lt;8|P[j-2]&lt;&lt;16,this.words[k]|=S&lt;&lt;N&amp;67108863,this.words[k+1]=S&gt;&gt;&gt;26-N&amp;67108863,(N+=24)&gt;=26&amp;&amp;(N-=26,k++);else if(E===&quot;le&quot;)for(j=0,k=0;j&lt;P.length;j+=3)S=P[j]|P[j+1]&lt;&lt;8|P[j+2]&lt;&lt;16,this.words[k]|=S&lt;&lt;N&amp;67108863,this.words[k+1]=S&gt;&gt;&gt;26-N&amp;67108863,(N+=24)&gt;=26&amp;&amp;(N-=26,k++);return this.strip()},s.prototype._parseHex=function(P,D,E){this.length=Math.ceil((P.length-D)/6),this.words=new Array(this.length);for(var j=0;j&lt;this.length;j++)this.words[j]=0;var k,S=0,N=0;if(E===&quot;be&quot;)for(j=P.length-1;j&gt;=D;j-=2)k=h(P,D,j)&lt;&lt;S,this.words[N]|=67108863&amp;k,S&gt;=18?(S-=18,N+=1,this.words[N]|=k&gt;&gt;&gt;26):S+=8;else for(j=(P.length-D)%2==0?D+1:D;j&lt;P.length;j+=2)k=h(P,D,j)&lt;&lt;S,this.words[N]|=67108863&amp;k,S&gt;=18?(S-=18,N+=1,this.words[N]|=k&gt;&gt;&gt;26):S+=8;this.strip()},s.prototype._parseBase=function(P,D,E){this.words=[0],this.length=1;for(var j=0,k=1;k&lt;=67108863;k*=D)j++;j--,k=k/D|0;for(var S=P.length-E,N=S%j,M=Math.min(S,S-N)+E,I=0,B=E;B&lt;M;B+=j)I=m(P,B,B+j,D),this.imuln(k),this.words[0]+I&lt;67108864?this.words[0]+=I:this._iaddn(I);if(N!==0){var Y=1;for(I=m(P,B,P.length,D),B=0;B&lt;N;B++)Y*=D;this.imuln(Y),this.words[0]+I&lt;67108864?this.words[0]+=I:this._iaddn(I)}this.strip()},s.prototype.copy=function(P){P.words=new Array(this.length);for(var D=0;D&lt;this.length;D++)P.words[D]=this.words[D];P.length=this.length,P.negative=this.negative,P.red=this.red},s.prototype.clone=function(){var P=new s(null);return this.copy(P),P},s.prototype._expand=function(P){for(;this.length&lt;P;)this.words[this.length++]=0;return this},s.prototype.strip=function(){for(;this.length&gt;1&amp;&amp;this.words[this.length-1]===0;)this.length--;return this._normSign()},s.prototype._normSign=function(){return this.length===1&amp;&amp;this.words[0]===0&amp;&amp;(this.negative=0),this},s.prototype.inspect=function(){return(this.red?&quot;&lt;BN-R: &quot;:&quot;&lt;BN: &quot;)+this.toString(16)+&quot;&gt;&quot;};var p=[&quot;&quot;,&quot;0&quot;,&quot;00&quot;,&quot;000&quot;,&quot;0000&quot;,&quot;00000&quot;,&quot;000000&quot;,&quot;0000000&quot;,&quot;00000000&quot;,&quot;000000000&quot;,&quot;0000000000&quot;,&quot;00000000000&quot;,&quot;000000000000&quot;,&quot;0000000000000&quot;,&quot;00000000000000&quot;,&quot;000000000000000&quot;,&quot;0000000000000000&quot;,&quot;00000000000000000&quot;,&quot;000000000000000000&quot;,&quot;0000000000000000000&quot;,&quot;00000000000000000000&quot;,&quot;000000000000000000000&quot;,&quot;0000000000000000000000&quot;,&quot;00000000000000000000000&quot;,&quot;000000000000000000000000&quot;,&quot;0000000000000000000000000&quot;],v=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],g=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function b(P,D,E){E.negative=D.negative^P.negative;var j=P.length+D.length|0;E.length=j,j=j-1|0;var k=0|P.words[0],S=0|D.words[0],N=k*S,M=67108863&amp;N,I=N/67108864|0;E.words[0]=M;for(var B=1;B&lt;j;B++){for(var Y=I&gt;&gt;&gt;26,Z=67108863&amp;I,ie=Math.min(B,D.length-1),$=Math.max(0,B-P.length+1);$&lt;=ie;$++){var ee=B-$|0;Y+=(N=(k=0|P.words[ee])*(S=0|D.words[$])+Z)/67108864|0,Z=67108863&amp;N}E.words[B]=0|Z,I=0|Y}return I!==0?E.words[B]=0|I:E.length--,E.strip()}s.prototype.toString=function(P,D){var E;if(D=0|D||1,(P=P||10)===16||P===&quot;hex&quot;){E=&quot;&quot;;for(var j=0,k=0,S=0;S&lt;this.length;S++){var N=this.words[S],M=(16777215&amp;(N&lt;&lt;j|k)).toString(16);E=(k=N&gt;&gt;&gt;24-j&amp;16777215)!==0||S!==this.length-1?p[6-M.length]+M+E:M+E,(j+=2)&gt;=26&amp;&amp;(j-=26,S--)}for(k!==0&amp;&amp;(E=k.toString(16)+E);E.length%D!=0;)E=&quot;0&quot;+E;return this.negative!==0&amp;&amp;(E=&quot;-&quot;+E),E}if(P===(0|P)&amp;&amp;P&gt;=2&amp;&amp;P&lt;=36){var I=v[P],B=g[P];E=&quot;&quot;;var Y=this.clone();for(Y.negative=0;!Y.isZero();){var Z=Y.modn(B).toString(P);E=(Y=Y.idivn(B)).isZero()?Z+E:p[I-Z.length]+Z+E}for(this.isZero()&amp;&amp;(E=&quot;0&quot;+E);E.length%D!=0;)E=&quot;0&quot;+E;return this.negative!==0&amp;&amp;(E=&quot;-&quot;+E),E}u(!1,&quot;Base should be between 2 and 36&quot;)},s.prototype.toNumber=function(){var P=this.words[0];return this.length===2?P+=67108864*this.words[1]:this.length===3&amp;&amp;this.words[2]===1?P+=4503599627370496+67108864*this.words[1]:this.length&gt;2&amp;&amp;u(!1,&quot;Number can only safely store up to 53 bits&quot;),this.negative!==0?-P:P},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(P,D){return u(c!==void 0),this.toArrayLike(c,P,D)},s.prototype.toArray=function(P,D){return this.toArrayLike(Array,P,D)},s.prototype.toArrayLike=function(P,D,E){var j=this.byteLength(),k=E||Math.max(1,j);u(j&lt;=k,&quot;byte array longer than desired length&quot;),u(k&gt;0,&quot;Requested array length &lt;= 0&quot;),this.strip();var S,N,M=D===&quot;le&quot;,I=new P(k),B=this.clone();if(M){for(N=0;!B.isZero();N++)S=B.andln(255),B.iushrn(8),I[N]=S;for(;N&lt;k;N++)I[N]=0}else{for(N=0;N&lt;k-j;N++)I[N]=0;for(N=0;!B.isZero();N++)S=B.andln(255),B.iushrn(8),I[k-N-1]=S}return I},Math.clz32?s.prototype._countBits=function(P){return 32-Math.clz32(P)}:s.prototype._countBits=function(P){var D=P,E=0;return D&gt;=4096&amp;&amp;(E+=13,D&gt;&gt;&gt;=13),D&gt;=64&amp;&amp;(E+=7,D&gt;&gt;&gt;=7),D&gt;=8&amp;&amp;(E+=4,D&gt;&gt;&gt;=4),D&gt;=2&amp;&amp;(E+=2,D&gt;&gt;&gt;=2),E+D},s.prototype._zeroBits=function(P){if(P===0)return 26;var D=P,E=0;return(8191&amp;D)==0&amp;&amp;(E+=13,D&gt;&gt;&gt;=13),(127&amp;D)==0&amp;&amp;(E+=7,D&gt;&gt;&gt;=7),(15&amp;D)==0&amp;&amp;(E+=4,D&gt;&gt;&gt;=4),(3&amp;D)==0&amp;&amp;(E+=2,D&gt;&gt;&gt;=2),(1&amp;D)==0&amp;&amp;E++,E},s.prototype.bitLength=function(){var P=this.words[this.length-1],D=this._countBits(P);return 26*(this.length-1)+D},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var P=0,D=0;D&lt;this.length;D++){var E=this._zeroBits(this.words[D]);if(P+=E,E!==26)break}return P},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(P){return this.negative!==0?this.abs().inotn(P).iaddn(1):this.clone()},s.prototype.fromTwos=function(P){return this.testn(P-1)?this.notn(P).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return this.negative!==0},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(P){for(;this.length&lt;P.length;)this.words[this.length++]=0;for(var D=0;D&lt;P.length;D++)this.words[D]=this.words[D]|P.words[D];return this.strip()},s.prototype.ior=function(P){return u((this.negative|P.negative)==0),this.iuor(P)},s.prototype.or=function(P){return this.length&gt;P.length?this.clone().ior(P):P.clone().ior(this)},s.prototype.uor=function(P){return this.length&gt;P.length?this.clone().iuor(P):P.clone().iuor(this)},s.prototype.iuand=function(P){var D;D=this.length&gt;P.length?P:this;for(var E=0;E&lt;D.length;E++)this.words[E]=this.words[E]&amp;P.words[E];return this.length=D.length,this.strip()},s.prototype.iand=function(P){return u((this.negative|P.negative)==0),this.iuand(P)},s.prototype.and=function(P){return this.length&gt;P.length?this.clone().iand(P):P.clone().iand(this)},s.prototype.uand=function(P){return this.length&gt;P.length?this.clone().iuand(P):P.clone().iuand(this)},s.prototype.iuxor=function(P){var D,E;this.length&gt;P.length?(D=this,E=P):(D=P,E=this);for(var j=0;j&lt;E.length;j++)this.words[j]=D.words[j]^E.words[j];if(this!==D)for(;j&lt;D.length;j++)this.words[j]=D.words[j];return this.length=D.length,this.strip()},s.prototype.ixor=function(P){return u((this.negative|P.negative)==0),this.iuxor(P)},s.prototype.xor=function(P){return this.length&gt;P.length?this.clone().ixor(P):P.clone().ixor(this)},s.prototype.uxor=function(P){return this.length&gt;P.length?this.clone().iuxor(P):P.clone().iuxor(this)},s.prototype.inotn=function(P){u(typeof P==&quot;number&quot;&amp;&amp;P&gt;=0);var D=0|Math.ceil(P/26),E=P%26;this._expand(D),E&gt;0&amp;&amp;D--;for(var j=0;j&lt;D;j++)this.words[j]=67108863&amp;~this.words[j];return E&gt;0&amp;&amp;(this.words[j]=~this.words[j]&amp;67108863&gt;&gt;26-E),this.strip()},s.prototype.notn=function(P){return this.clone().inotn(P)},s.prototype.setn=function(P,D){u(typeof P==&quot;number&quot;&amp;&amp;P&gt;=0);var E=P/26|0,j=P%26;return this._expand(E+1),this.words[E]=D?this.words[E]|1&lt;&lt;j:this.words[E]&amp;~(1&lt;&lt;j),this.strip()},s.prototype.iadd=function(P){var D,E,j;if(this.negative!==0&amp;&amp;P.negative===0)return this.negative=0,D=this.isub(P),this.negative^=1,this._normSign();if(this.negative===0&amp;&amp;P.negative!==0)return P.negative=0,D=this.isub(P),P.negative=1,D._normSign();this.length&gt;P.length?(E=this,j=P):(E=P,j=this);for(var k=0,S=0;S&lt;j.length;S++)D=(0|E.words[S])+(0|j.words[S])+k,this.words[S]=67108863&amp;D,k=D&gt;&gt;&gt;26;for(;k!==0&amp;&amp;S&lt;E.length;S++)D=(0|E.words[S])+k,this.words[S]=67108863&amp;D,k=D&gt;&gt;&gt;26;if(this.length=E.length,k!==0)this.words[this.length]=k,this.length++;else if(E!==this)for(;S&lt;E.length;S++)this.words[S]=E.words[S];return this},s.prototype.add=function(P){var D;return P.negative!==0&amp;&amp;this.negative===0?(P.negative=0,D=this.sub(P),P.negative^=1,D):P.negative===0&amp;&amp;this.negative!==0?(this.negative=0,D=P.sub(this),this.negative=1,D):this.length&gt;P.length?this.clone().iadd(P):P.clone().iadd(this)},s.prototype.isub=function(P){if(P.negative!==0){P.negative=0;var D=this.iadd(P);return P.negative=1,D._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(P),this.negative=1,this._normSign();var E,j,k=this.cmp(P);if(k===0)return this.negative=0,this.length=1,this.words[0]=0,this;k&gt;0?(E=this,j=P):(E=P,j=this);for(var S=0,N=0;N&lt;j.length;N++)S=(D=(0|E.words[N])-(0|j.words[N])+S)&gt;&gt;26,this.words[N]=67108863&amp;D;for(;S!==0&amp;&amp;N&lt;E.length;N++)S=(D=(0|E.words[N])+S)&gt;&gt;26,this.words[N]=67108863&amp;D;if(S===0&amp;&amp;N&lt;E.length&amp;&amp;E!==this)for(;N&lt;E.length;N++)this.words[N]=E.words[N];return this.length=Math.max(this.length,N),E!==this&amp;&amp;(this.negative=1),this.strip()},s.prototype.sub=function(P){return this.clone().isub(P)};var x=function(P,D,E){var j,k,S,N=P.words,M=D.words,I=E.words,B=0,Y=0|N[0],Z=8191&amp;Y,ie=Y&gt;&gt;&gt;13,$=0|N[1],ee=8191&amp;$,z=$&gt;&gt;&gt;13,T=0|N[2],X=8191&amp;T,re=T&gt;&gt;&gt;13,ne=0|N[3],Q=8191&amp;ne,te=ne&gt;&gt;&gt;13,de=0|N[4],oe=8191&amp;de,se=de&gt;&gt;&gt;13,fe=0|N[5],he=8191&amp;fe,ce=fe&gt;&gt;&gt;13,ge=0|N[6],ye=8191&amp;ge,pe=ge&gt;&gt;&gt;13,le=0|N[7],Ce=8191&amp;le,Ae=le&gt;&gt;&gt;13,je=0|N[8],Pe=8191&amp;je,Qe=je&gt;&gt;&gt;13,Ue=0|N[9],Xe=8191&amp;Ue,rt=Ue&gt;&gt;&gt;13,qe=0|M[0],ze=8191&amp;qe,Ye=qe&gt;&gt;&gt;13,et=0|M[1],Je=8191&amp;et,Rt=et&gt;&gt;&gt;13,qt=0|M[2],st=8191&amp;qt,Tt=qt&gt;&gt;&gt;13,jt=0|M[3],St=8191&amp;jt,It=jt&gt;&gt;&gt;13,Bt=0|M[4],ct=8191&amp;Bt,$t=Bt&gt;&gt;&gt;13,Ht=0|M[5],yt=8191&amp;Ht,Ut=Ht&gt;&gt;&gt;13,Xt=0|M[6],Nt=8191&amp;Xt,be=Xt&gt;&gt;&gt;13,ke=0|M[7],Te=8191&amp;ke,Ke=ke&gt;&gt;&gt;13,ft=0|M[8],Ze=8191&amp;ft,kt=ft&gt;&gt;&gt;13,gt=0|M[9],tt=8191&amp;gt,_t=gt&gt;&gt;&gt;13;E.negative=P.negative^D.negative,E.length=19;var bt=(B+(j=Math.imul(Z,ze))|0)+((8191&amp;(k=(k=Math.imul(Z,Ye))+Math.imul(ie,ze)|0))&lt;&lt;13)|0;B=((S=Math.imul(ie,Ye))+(k&gt;&gt;&gt;13)|0)+(bt&gt;&gt;&gt;26)|0,bt&amp;=67108863,j=Math.imul(ee,ze),k=(k=Math.imul(ee,Ye))+Math.imul(z,ze)|0,S=Math.imul(z,Ye);var Ot=(B+(j=j+Math.imul(Z,Je)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,Rt)|0)+Math.imul(ie,Je)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ie,Rt)|0)+(k&gt;&gt;&gt;13)|0)+(Ot&gt;&gt;&gt;26)|0,Ot&amp;=67108863,j=Math.imul(X,ze),k=(k=Math.imul(X,Ye))+Math.imul(re,ze)|0,S=Math.imul(re,Ye),j=j+Math.imul(ee,Je)|0,k=(k=k+Math.imul(ee,Rt)|0)+Math.imul(z,Je)|0,S=S+Math.imul(z,Rt)|0;var ir=(B+(j=j+Math.imul(Z,st)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,Tt)|0)+Math.imul(ie,st)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ie,Tt)|0)+(k&gt;&gt;&gt;13)|0)+(ir&gt;&gt;&gt;26)|0,ir&amp;=67108863,j=Math.imul(Q,ze),k=(k=Math.imul(Q,Ye))+Math.imul(te,ze)|0,S=Math.imul(te,Ye),j=j+Math.imul(X,Je)|0,k=(k=k+Math.imul(X,Rt)|0)+Math.imul(re,Je)|0,S=S+Math.imul(re,Rt)|0,j=j+Math.imul(ee,st)|0,k=(k=k+Math.imul(ee,Tt)|0)+Math.imul(z,st)|0,S=S+Math.imul(z,Tt)|0;var Lt=(B+(j=j+Math.imul(Z,St)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,It)|0)+Math.imul(ie,St)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ie,It)|0)+(k&gt;&gt;&gt;13)|0)+(Lt&gt;&gt;&gt;26)|0,Lt&amp;=67108863,j=Math.imul(oe,ze),k=(k=Math.imul(oe,Ye))+Math.imul(se,ze)|0,S=Math.imul(se,Ye),j=j+Math.imul(Q,Je)|0,k=(k=k+Math.imul(Q,Rt)|0)+Math.imul(te,Je)|0,S=S+Math.imul(te,Rt)|0,j=j+Math.imul(X,st)|0,k=(k=k+Math.imul(X,Tt)|0)+Math.imul(re,st)|0,S=S+Math.imul(re,Tt)|0,j=j+Math.imul(ee,St)|0,k=(k=k+Math.imul(ee,It)|0)+Math.imul(z,St)|0,S=S+Math.imul(z,It)|0;var cr=(B+(j=j+Math.imul(Z,ct)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,$t)|0)+Math.imul(ie,ct)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ie,$t)|0)+(k&gt;&gt;&gt;13)|0)+(cr&gt;&gt;&gt;26)|0,cr&amp;=67108863,j=Math.imul(he,ze),k=(k=Math.imul(he,Ye))+Math.imul(ce,ze)|0,S=Math.imul(ce,Ye),j=j+Math.imul(oe,Je)|0,k=(k=k+Math.imul(oe,Rt)|0)+Math.imul(se,Je)|0,S=S+Math.imul(se,Rt)|0,j=j+Math.imul(Q,st)|0,k=(k=k+Math.imul(Q,Tt)|0)+Math.imul(te,st)|0,S=S+Math.imul(te,Tt)|0,j=j+Math.imul(X,St)|0,k=(k=k+Math.imul(X,It)|0)+Math.imul(re,St)|0,S=S+Math.imul(re,It)|0,j=j+Math.imul(ee,ct)|0,k=(k=k+Math.imul(ee,$t)|0)+Math.imul(z,ct)|0,S=S+Math.imul(z,$t)|0;var or=(B+(j=j+Math.imul(Z,yt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,Ut)|0)+Math.imul(ie,yt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ie,Ut)|0)+(k&gt;&gt;&gt;13)|0)+(or&gt;&gt;&gt;26)|0,or&amp;=67108863,j=Math.imul(ye,ze),k=(k=Math.imul(ye,Ye))+Math.imul(pe,ze)|0,S=Math.imul(pe,Ye),j=j+Math.imul(he,Je)|0,k=(k=k+Math.imul(he,Rt)|0)+Math.imul(ce,Je)|0,S=S+Math.imul(ce,Rt)|0,j=j+Math.imul(oe,st)|0,k=(k=k+Math.imul(oe,Tt)|0)+Math.imul(se,st)|0,S=S+Math.imul(se,Tt)|0,j=j+Math.imul(Q,St)|0,k=(k=k+Math.imul(Q,It)|0)+Math.imul(te,St)|0,S=S+Math.imul(te,It)|0,j=j+Math.imul(X,ct)|0,k=(k=k+Math.imul(X,$t)|0)+Math.imul(re,ct)|0,S=S+Math.imul(re,$t)|0,j=j+Math.imul(ee,yt)|0,k=(k=k+Math.imul(ee,Ut)|0)+Math.imul(z,yt)|0,S=S+Math.imul(z,Ut)|0;var Tr=(B+(j=j+Math.imul(Z,Nt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,be)|0)+Math.imul(ie,Nt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ie,be)|0)+(k&gt;&gt;&gt;13)|0)+(Tr&gt;&gt;&gt;26)|0,Tr&amp;=67108863,j=Math.imul(Ce,ze),k=(k=Math.imul(Ce,Ye))+Math.imul(Ae,ze)|0,S=Math.imul(Ae,Ye),j=j+Math.imul(ye,Je)|0,k=(k=k+Math.imul(ye,Rt)|0)+Math.imul(pe,Je)|0,S=S+Math.imul(pe,Rt)|0,j=j+Math.imul(he,st)|0,k=(k=k+Math.imul(he,Tt)|0)+Math.imul(ce,st)|0,S=S+Math.imul(ce,Tt)|0,j=j+Math.imul(oe,St)|0,k=(k=k+Math.imul(oe,It)|0)+Math.imul(se,St)|0,S=S+Math.imul(se,It)|0,j=j+Math.imul(Q,ct)|0,k=(k=k+Math.imul(Q,$t)|0)+Math.imul(te,ct)|0,S=S+Math.imul(te,$t)|0,j=j+Math.imul(X,yt)|0,k=(k=k+Math.imul(X,Ut)|0)+Math.imul(re,yt)|0,S=S+Math.imul(re,Ut)|0,j=j+Math.imul(ee,Nt)|0,k=(k=k+Math.imul(ee,be)|0)+Math.imul(z,Nt)|0,S=S+Math.imul(z,be)|0;var me=(B+(j=j+Math.imul(Z,Te)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,Ke)|0)+Math.imul(ie,Te)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ie,Ke)|0)+(k&gt;&gt;&gt;13)|0)+(me&gt;&gt;&gt;26)|0,me&amp;=67108863,j=Math.imul(Pe,ze),k=(k=Math.imul(Pe,Ye))+Math.imul(Qe,ze)|0,S=Math.imul(Qe,Ye),j=j+Math.imul(Ce,Je)|0,k=(k=k+Math.imul(Ce,Rt)|0)+Math.imul(Ae,Je)|0,S=S+Math.imul(Ae,Rt)|0,j=j+Math.imul(ye,st)|0,k=(k=k+Math.imul(ye,Tt)|0)+Math.imul(pe,st)|0,S=S+Math.imul(pe,Tt)|0,j=j+Math.imul(he,St)|0,k=(k=k+Math.imul(he,It)|0)+Math.imul(ce,St)|0,S=S+Math.imul(ce,It)|0,j=j+Math.imul(oe,ct)|0,k=(k=k+Math.imul(oe,$t)|0)+Math.imul(se,ct)|0,S=S+Math.imul(se,$t)|0,j=j+Math.imul(Q,yt)|0,k=(k=k+Math.imul(Q,Ut)|0)+Math.imul(te,yt)|0,S=S+Math.imul(te,Ut)|0,j=j+Math.imul(X,Nt)|0,k=(k=k+Math.imul(X,be)|0)+Math.imul(re,Nt)|0,S=S+Math.imul(re,be)|0,j=j+Math.imul(ee,Te)|0,k=(k=k+Math.imul(ee,Ke)|0)+Math.imul(z,Te)|0,S=S+Math.imul(z,Ke)|0;var _e=(B+(j=j+Math.imul(Z,Ze)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,kt)|0)+Math.imul(ie,Ze)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ie,kt)|0)+(k&gt;&gt;&gt;13)|0)+(_e&gt;&gt;&gt;26)|0,_e&amp;=67108863,j=Math.imul(Xe,ze),k=(k=Math.imul(Xe,Ye))+Math.imul(rt,ze)|0,S=Math.imul(rt,Ye),j=j+Math.imul(Pe,Je)|0,k=(k=k+Math.imul(Pe,Rt)|0)+Math.imul(Qe,Je)|0,S=S+Math.imul(Qe,Rt)|0,j=j+Math.imul(Ce,st)|0,k=(k=k+Math.imul(Ce,Tt)|0)+Math.imul(Ae,st)|0,S=S+Math.imul(Ae,Tt)|0,j=j+Math.imul(ye,St)|0,k=(k=k+Math.imul(ye,It)|0)+Math.imul(pe,St)|0,S=S+Math.imul(pe,It)|0,j=j+Math.imul(he,ct)|0,k=(k=k+Math.imul(he,$t)|0)+Math.imul(ce,ct)|0,S=S+Math.imul(ce,$t)|0,j=j+Math.imul(oe,yt)|0,k=(k=k+Math.imul(oe,Ut)|0)+Math.imul(se,yt)|0,S=S+Math.imul(se,Ut)|0,j=j+Math.imul(Q,Nt)|0,k=(k=k+Math.imul(Q,be)|0)+Math.imul(te,Nt)|0,S=S+Math.imul(te,be)|0,j=j+Math.imul(X,Te)|0,k=(k=k+Math.imul(X,Ke)|0)+Math.imul(re,Te)|0,S=S+Math.imul(re,Ke)|0,j=j+Math.imul(ee,Ze)|0,k=(k=k+Math.imul(ee,kt)|0)+Math.imul(z,Ze)|0,S=S+Math.imul(z,kt)|0;var Ie=(B+(j=j+Math.imul(Z,tt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Z,_t)|0)+Math.imul(ie,tt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ie,_t)|0)+(k&gt;&gt;&gt;13)|0)+(Ie&gt;&gt;&gt;26)|0,Ie&amp;=67108863,j=Math.imul(Xe,Je),k=(k=Math.imul(Xe,Rt))+Math.imul(rt,Je)|0,S=Math.imul(rt,Rt),j=j+Math.imul(Pe,st)|0,k=(k=k+Math.imul(Pe,Tt)|0)+Math.imul(Qe,st)|0,S=S+Math.imul(Qe,Tt)|0,j=j+Math.imul(Ce,St)|0,k=(k=k+Math.imul(Ce,It)|0)+Math.imul(Ae,St)|0,S=S+Math.imul(Ae,It)|0,j=j+Math.imul(ye,ct)|0,k=(k=k+Math.imul(ye,$t)|0)+Math.imul(pe,ct)|0,S=S+Math.imul(pe,$t)|0,j=j+Math.imul(he,yt)|0,k=(k=k+Math.imul(he,Ut)|0)+Math.imul(ce,yt)|0,S=S+Math.imul(ce,Ut)|0,j=j+Math.imul(oe,Nt)|0,k=(k=k+Math.imul(oe,be)|0)+Math.imul(se,Nt)|0,S=S+Math.imul(se,be)|0,j=j+Math.imul(Q,Te)|0,k=(k=k+Math.imul(Q,Ke)|0)+Math.imul(te,Te)|0,S=S+Math.imul(te,Ke)|0,j=j+Math.imul(X,Ze)|0,k=(k=k+Math.imul(X,kt)|0)+Math.imul(re,Ze)|0,S=S+Math.imul(re,kt)|0;var Fe=(B+(j=j+Math.imul(ee,tt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(ee,_t)|0)+Math.imul(z,tt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(z,_t)|0)+(k&gt;&gt;&gt;13)|0)+(Fe&gt;&gt;&gt;26)|0,Fe&amp;=67108863,j=Math.imul(Xe,st),k=(k=Math.imul(Xe,Tt))+Math.imul(rt,st)|0,S=Math.imul(rt,Tt),j=j+Math.imul(Pe,St)|0,k=(k=k+Math.imul(Pe,It)|0)+Math.imul(Qe,St)|0,S=S+Math.imul(Qe,It)|0,j=j+Math.imul(Ce,ct)|0,k=(k=k+Math.imul(Ce,$t)|0)+Math.imul(Ae,ct)|0,S=S+Math.imul(Ae,$t)|0,j=j+Math.imul(ye,yt)|0,k=(k=k+Math.imul(ye,Ut)|0)+Math.imul(pe,yt)|0,S=S+Math.imul(pe,Ut)|0,j=j+Math.imul(he,Nt)|0,k=(k=k+Math.imul(he,be)|0)+Math.imul(ce,Nt)|0,S=S+Math.imul(ce,be)|0,j=j+Math.imul(oe,Te)|0,k=(k=k+Math.imul(oe,Ke)|0)+Math.imul(se,Te)|0,S=S+Math.imul(se,Ke)|0,j=j+Math.imul(Q,Ze)|0,k=(k=k+Math.imul(Q,kt)|0)+Math.imul(te,Ze)|0,S=S+Math.imul(te,kt)|0;var Se=(B+(j=j+Math.imul(X,tt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(X,_t)|0)+Math.imul(re,tt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(re,_t)|0)+(k&gt;&gt;&gt;13)|0)+(Se&gt;&gt;&gt;26)|0,Se&amp;=67108863,j=Math.imul(Xe,St),k=(k=Math.imul(Xe,It))+Math.imul(rt,St)|0,S=Math.imul(rt,It),j=j+Math.imul(Pe,ct)|0,k=(k=k+Math.imul(Pe,$t)|0)+Math.imul(Qe,ct)|0,S=S+Math.imul(Qe,$t)|0,j=j+Math.imul(Ce,yt)|0,k=(k=k+Math.imul(Ce,Ut)|0)+Math.imul(Ae,yt)|0,S=S+Math.imul(Ae,Ut)|0,j=j+Math.imul(ye,Nt)|0,k=(k=k+Math.imul(ye,be)|0)+Math.imul(pe,Nt)|0,S=S+Math.imul(pe,be)|0,j=j+Math.imul(he,Te)|0,k=(k=k+Math.imul(he,Ke)|0)+Math.imul(ce,Te)|0,S=S+Math.imul(ce,Ke)|0,j=j+Math.imul(oe,Ze)|0,k=(k=k+Math.imul(oe,kt)|0)+Math.imul(se,Ze)|0,S=S+Math.imul(se,kt)|0;var De=(B+(j=j+Math.imul(Q,tt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Q,_t)|0)+Math.imul(te,tt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(te,_t)|0)+(k&gt;&gt;&gt;13)|0)+(De&gt;&gt;&gt;26)|0,De&amp;=67108863,j=Math.imul(Xe,ct),k=(k=Math.imul(Xe,$t))+Math.imul(rt,ct)|0,S=Math.imul(rt,$t),j=j+Math.imul(Pe,yt)|0,k=(k=k+Math.imul(Pe,Ut)|0)+Math.imul(Qe,yt)|0,S=S+Math.imul(Qe,Ut)|0,j=j+Math.imul(Ce,Nt)|0,k=(k=k+Math.imul(Ce,be)|0)+Math.imul(Ae,Nt)|0,S=S+Math.imul(Ae,be)|0,j=j+Math.imul(ye,Te)|0,k=(k=k+Math.imul(ye,Ke)|0)+Math.imul(pe,Te)|0,S=S+Math.imul(pe,Ke)|0,j=j+Math.imul(he,Ze)|0,k=(k=k+Math.imul(he,kt)|0)+Math.imul(ce,Ze)|0,S=S+Math.imul(ce,kt)|0;var Be=(B+(j=j+Math.imul(oe,tt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(oe,_t)|0)+Math.imul(se,tt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(se,_t)|0)+(k&gt;&gt;&gt;13)|0)+(Be&gt;&gt;&gt;26)|0,Be&amp;=67108863,j=Math.imul(Xe,yt),k=(k=Math.imul(Xe,Ut))+Math.imul(rt,yt)|0,S=Math.imul(rt,Ut),j=j+Math.imul(Pe,Nt)|0,k=(k=k+Math.imul(Pe,be)|0)+Math.imul(Qe,Nt)|0,S=S+Math.imul(Qe,be)|0,j=j+Math.imul(Ce,Te)|0,k=(k=k+Math.imul(Ce,Ke)|0)+Math.imul(Ae,Te)|0,S=S+Math.imul(Ae,Ke)|0,j=j+Math.imul(ye,Ze)|0,k=(k=k+Math.imul(ye,kt)|0)+Math.imul(pe,Ze)|0,S=S+Math.imul(pe,kt)|0;var Ct=(B+(j=j+Math.imul(he,tt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(he,_t)|0)+Math.imul(ce,tt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ce,_t)|0)+(k&gt;&gt;&gt;13)|0)+(Ct&gt;&gt;&gt;26)|0,Ct&amp;=67108863,j=Math.imul(Xe,Nt),k=(k=Math.imul(Xe,be))+Math.imul(rt,Nt)|0,S=Math.imul(rt,be),j=j+Math.imul(Pe,Te)|0,k=(k=k+Math.imul(Pe,Ke)|0)+Math.imul(Qe,Te)|0,S=S+Math.imul(Qe,Ke)|0,j=j+Math.imul(Ce,Ze)|0,k=(k=k+Math.imul(Ce,kt)|0)+Math.imul(Ae,Ze)|0,S=S+Math.imul(Ae,kt)|0;var pt=(B+(j=j+Math.imul(ye,tt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(ye,_t)|0)+Math.imul(pe,tt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(pe,_t)|0)+(k&gt;&gt;&gt;13)|0)+(pt&gt;&gt;&gt;26)|0,pt&amp;=67108863,j=Math.imul(Xe,Te),k=(k=Math.imul(Xe,Ke))+Math.imul(rt,Te)|0,S=Math.imul(rt,Ke),j=j+Math.imul(Pe,Ze)|0,k=(k=k+Math.imul(Pe,kt)|0)+Math.imul(Qe,Ze)|0,S=S+Math.imul(Qe,kt)|0;var Et=(B+(j=j+Math.imul(Ce,tt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Ce,_t)|0)+Math.imul(Ae,tt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(Ae,_t)|0)+(k&gt;&gt;&gt;13)|0)+(Et&gt;&gt;&gt;26)|0,Et&amp;=67108863,j=Math.imul(Xe,Ze),k=(k=Math.imul(Xe,kt))+Math.imul(rt,Ze)|0,S=Math.imul(rt,kt);var lt=(B+(j=j+Math.imul(Pe,tt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Pe,_t)|0)+Math.imul(Qe,tt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(Qe,_t)|0)+(k&gt;&gt;&gt;13)|0)+(lt&gt;&gt;&gt;26)|0,lt&amp;=67108863;var zt=(B+(j=Math.imul(Xe,tt))|0)+((8191&amp;(k=(k=Math.imul(Xe,_t))+Math.imul(rt,tt)|0))&lt;&lt;13)|0;return B=((S=Math.imul(rt,_t))+(k&gt;&gt;&gt;13)|0)+(zt&gt;&gt;&gt;26)|0,zt&amp;=67108863,I[0]=bt,I[1]=Ot,I[2]=ir,I[3]=Lt,I[4]=cr,I[5]=or,I[6]=Tr,I[7]=me,I[8]=_e,I[9]=Ie,I[10]=Fe,I[11]=Se,I[12]=De,I[13]=Be,I[14]=Ct,I[15]=pt,I[16]=Et,I[17]=lt,I[18]=zt,B!==0&amp;&amp;(I[19]=B,E.length++),E};function _(P,D,E){return new C().mulp(P,D,E)}function C(P,D){this.x=P,this.y=D}Math.imul||(x=b),s.prototype.mulTo=function(P,D){var E=this.length+P.length;return this.length===10&amp;&amp;P.length===10?x(this,P,D):E&lt;63?b(this,P,D):E&lt;1024?(function(j,k,S){S.negative=k.negative^j.negative,S.length=j.length+k.length;for(var N=0,M=0,I=0;I&lt;S.length-1;I++){var B=M;M=0;for(var Y=67108863&amp;N,Z=Math.min(I,k.length-1),ie=Math.max(0,I-j.length+1);ie&lt;=Z;ie++){var $=I-ie,ee=(0|j.words[$])*(0|k.words[ie]),z=67108863&amp;ee;Y=67108863&amp;(z=z+Y|0),M+=(B=(B=B+(ee/67108864|0)|0)+(z&gt;&gt;&gt;26)|0)&gt;&gt;&gt;26,B&amp;=67108863}S.words[I]=Y,N=B,B=M}return N!==0?S.words[I]=N:S.length--,S.strip()})(this,P,D):_(this,P,D)},C.prototype.makeRBT=function(P){for(var D=new Array(P),E=s.prototype._countBits(P)-1,j=0;j&lt;P;j++)D[j]=this.revBin(j,E,P);return D},C.prototype.revBin=function(P,D,E){if(P===0||P===E-1)return P;for(var j=0,k=0;k&lt;D;k++)j|=(1&amp;P)&lt;&lt;D-k-1,P&gt;&gt;=1;return j},C.prototype.permute=function(P,D,E,j,k,S){for(var N=0;N&lt;S;N++)j[N]=D[P[N]],k[N]=E[P[N]]},C.prototype.transform=function(P,D,E,j,k,S){this.permute(S,P,D,E,j,k);for(var N=1;N&lt;k;N&lt;&lt;=1)for(var M=N&lt;&lt;1,I=Math.cos(2*Math.PI/M),B=Math.sin(2*Math.PI/M),Y=0;Y&lt;k;Y+=M)for(var Z=I,ie=B,$=0;$&lt;N;$++){var ee=E[Y+$],z=j[Y+$],T=E[Y+$+N],X=j[Y+$+N],re=Z*T-ie*X;X=Z*X+ie*T,T=re,E[Y+$]=ee+T,j[Y+$]=z+X,E[Y+$+N]=ee-T,j[Y+$+N]=z-X,$!==M&amp;&amp;(re=I*Z-B*ie,ie=I*ie+B*Z,Z=re)}},C.prototype.guessLen13b=function(P,D){var E=1|Math.max(D,P),j=1&amp;E,k=0;for(E=E/2|0;E;E&gt;&gt;&gt;=1)k++;return 1&lt;&lt;k+1+j},C.prototype.conjugate=function(P,D,E){if(!(E&lt;=1))for(var j=0;j&lt;E/2;j++){var k=P[j];P[j]=P[E-j-1],P[E-j-1]=k,k=D[j],D[j]=-D[E-j-1],D[E-j-1]=-k}},C.prototype.normalize13b=function(P,D){for(var E=0,j=0;j&lt;D/2;j++){var k=8192*Math.round(P[2*j+1]/D)+Math.round(P[2*j]/D)+E;P[j]=67108863&amp;k,E=k&lt;67108864?0:k/67108864|0}return P},C.prototype.convert13b=function(P,D,E,j){for(var k=0,S=0;S&lt;D;S++)k+=0|P[S],E[2*S]=8191&amp;k,k&gt;&gt;&gt;=13,E[2*S+1]=8191&amp;k,k&gt;&gt;&gt;=13;for(S=2*D;S&lt;j;++S)E[S]=0;u(k===0),u((-8192&amp;k)==0)},C.prototype.stub=function(P){for(var D=new Array(P),E=0;E&lt;P;E++)D[E]=0;return D},C.prototype.mulp=function(P,D,E){var j=2*this.guessLen13b(P.length,D.length),k=this.makeRBT(j),S=this.stub(j),N=new Array(j),M=new Array(j),I=new Array(j),B=new Array(j),Y=new Array(j),Z=new Array(j),ie=E.words;ie.length=j,this.convert13b(P.words,P.length,N,j),this.convert13b(D.words,D.length,B,j),this.transform(N,S,M,I,j,k),this.transform(B,S,Y,Z,j,k);for(var $=0;$&lt;j;$++){var ee=M[$]*Y[$]-I[$]*Z[$];I[$]=M[$]*Z[$]+I[$]*Y[$],M[$]=ee}return this.conjugate(M,I,j),this.transform(M,I,ie,S,j,k),this.conjugate(ie,S,j),this.normalize13b(ie,j),E.negative=P.negative^D.negative,E.length=P.length+D.length,E.strip()},s.prototype.mul=function(P){var D=new s(null);return D.words=new Array(this.length+P.length),this.mulTo(P,D)},s.prototype.mulf=function(P){var D=new s(null);return D.words=new Array(this.length+P.length),_(this,P,D)},s.prototype.imul=function(P){return this.clone().mulTo(P,this)},s.prototype.imuln=function(P){u(typeof P==&quot;number&quot;),u(P&lt;67108864);for(var D=0,E=0;E&lt;this.length;E++){var j=(0|this.words[E])*P,k=(67108863&amp;j)+(67108863&amp;D);D&gt;&gt;=26,D+=j/67108864|0,D+=k&gt;&gt;&gt;26,this.words[E]=67108863&amp;k}return D!==0&amp;&amp;(this.words[E]=D,this.length++),this},s.prototype.muln=function(P){return this.clone().imuln(P)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(P){var D=(function(S){for(var N=new Array(S.bitLength()),M=0;M&lt;N.length;M++){var I=M/26|0,B=M%26;N[M]=(S.words[I]&amp;1&lt;&lt;B)&gt;&gt;&gt;B}return N})(P);if(D.length===0)return new s(1);for(var E=this,j=0;j&lt;D.length&amp;&amp;D[j]===0;j++,E=E.sqr());if(++j&lt;D.length)for(var k=E.sqr();j&lt;D.length;j++,k=k.sqr())D[j]!==0&amp;&amp;(E=E.mul(k));return E},s.prototype.iushln=function(P){u(typeof P==&quot;number&quot;&amp;&amp;P&gt;=0);var D,E=P%26,j=(P-E)/26,k=67108863&gt;&gt;&gt;26-E&lt;&lt;26-E;if(E!==0){var S=0;for(D=0;D&lt;this.length;D++){var N=this.words[D]&amp;k,M=(0|this.words[D])-N&lt;&lt;E;this.words[D]=M|S,S=N&gt;&gt;&gt;26-E}S&amp;&amp;(this.words[D]=S,this.length++)}if(j!==0){for(D=this.length-1;D&gt;=0;D--)this.words[D+j]=this.words[D];for(D=0;D&lt;j;D++)this.words[D]=0;this.length+=j}return this.strip()},s.prototype.ishln=function(P){return u(this.negative===0),this.iushln(P)},s.prototype.iushrn=function(P,D,E){var j;u(typeof P==&quot;number&quot;&amp;&amp;P&gt;=0),j=D?(D-D%26)/26:0;var k=P%26,S=Math.min((P-k)/26,this.length),N=67108863^67108863&gt;&gt;&gt;k&lt;&lt;k,M=E;if(j-=S,j=Math.max(0,j),M){for(var I=0;I&lt;S;I++)M.words[I]=this.words[I];M.length=S}if(S!==0)if(this.length&gt;S)for(this.length-=S,I=0;I&lt;this.length;I++)this.words[I]=this.words[I+S];else this.words[0]=0,this.length=1;var B=0;for(I=this.length-1;I&gt;=0&amp;&amp;(B!==0||I&gt;=j);I--){var Y=0|this.words[I];this.words[I]=B&lt;&lt;26-k|Y&gt;&gt;&gt;k,B=Y&amp;N}return M&amp;&amp;B!==0&amp;&amp;(M.words[M.length++]=B),this.length===0&amp;&amp;(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(P,D,E){return u(this.negative===0),this.iushrn(P,D,E)},s.prototype.shln=function(P){return this.clone().ishln(P)},s.prototype.ushln=function(P){return this.clone().iushln(P)},s.prototype.shrn=function(P){return this.clone().ishrn(P)},s.prototype.ushrn=function(P){return this.clone().iushrn(P)},s.prototype.testn=function(P){u(typeof P==&quot;number&quot;&amp;&amp;P&gt;=0);var D=P%26,E=(P-D)/26,j=1&lt;&lt;D;return!(this.length&lt;=E)&amp;&amp;!!(this.words[E]&amp;j)},s.prototype.imaskn=function(P){u(typeof P==&quot;number&quot;&amp;&amp;P&gt;=0);var D=P%26,E=(P-D)/26;if(u(this.negative===0,&quot;imaskn works only with positive numbers&quot;),this.length&lt;=E)return this;if(D!==0&amp;&amp;E++,this.length=Math.min(E,this.length),D!==0){var j=67108863^67108863&gt;&gt;&gt;D&lt;&lt;D;this.words[this.length-1]&amp;=j}return this.strip()},s.prototype.maskn=function(P){return this.clone().imaskn(P)},s.prototype.iaddn=function(P){return u(typeof P==&quot;number&quot;),u(P&lt;67108864),P&lt;0?this.isubn(-P):this.negative!==0?this.length===1&amp;&amp;(0|this.words[0])&lt;P?(this.words[0]=P-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(P),this.negative=1,this):this._iaddn(P)},s.prototype._iaddn=function(P){this.words[0]+=P;for(var D=0;D&lt;this.length&amp;&amp;this.words[D]&gt;=67108864;D++)this.words[D]-=67108864,D===this.length-1?this.words[D+1]=1:this.words[D+1]++;return this.length=Math.max(this.length,D+1),this},s.prototype.isubn=function(P){if(u(typeof P==&quot;number&quot;),u(P&lt;67108864),P&lt;0)return this.iaddn(-P);if(this.negative!==0)return this.negative=0,this.iaddn(P),this.negative=1,this;if(this.words[0]-=P,this.length===1&amp;&amp;this.words[0]&lt;0)this.words[0]=-this.words[0],this.negative=1;else for(var D=0;D&lt;this.length&amp;&amp;this.words[D]&lt;0;D++)this.words[D]+=67108864,this.words[D+1]-=1;return this.strip()},s.prototype.addn=function(P){return this.clone().iaddn(P)},s.prototype.subn=function(P){return this.clone().isubn(P)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(P,D,E){var j,k,S=P.length+E;this._expand(S);var N=0;for(j=0;j&lt;P.length;j++){k=(0|this.words[j+E])+N;var M=(0|P.words[j])*D;N=((k-=67108863&amp;M)&gt;&gt;26)-(M/67108864|0),this.words[j+E]=67108863&amp;k}for(;j&lt;this.length-E;j++)N=(k=(0|this.words[j+E])+N)&gt;&gt;26,this.words[j+E]=67108863&amp;k;if(N===0)return this.strip();for(u(N===-1),N=0,j=0;j&lt;this.length;j++)N=(k=-(0|this.words[j])+N)&gt;&gt;26,this.words[j]=67108863&amp;k;return this.negative=1,this.strip()},s.prototype._wordDiv=function(P,D){var E=(this.length,P.length),j=this.clone(),k=P,S=0|k.words[k.length-1];(E=26-this._countBits(S))!==0&amp;&amp;(k=k.ushln(E),j.iushln(E),S=0|k.words[k.length-1]);var N,M=j.length-k.length;if(D!==&quot;mod&quot;){(N=new s(null)).length=M+1,N.words=new Array(N.length);for(var I=0;I&lt;N.length;I++)N.words[I]=0}var B=j.clone()._ishlnsubmul(k,1,M);B.negative===0&amp;&amp;(j=B,N&amp;&amp;(N.words[M]=1));for(var Y=M-1;Y&gt;=0;Y--){var Z=67108864*(0|j.words[k.length+Y])+(0|j.words[k.length+Y-1]);for(Z=Math.min(Z/S|0,67108863),j._ishlnsubmul(k,Z,Y);j.negative!==0;)Z--,j.negative=0,j._ishlnsubmul(k,1,Y),j.isZero()||(j.negative^=1);N&amp;&amp;(N.words[Y]=Z)}return N&amp;&amp;N.strip(),j.strip(),D!==&quot;div&quot;&amp;&amp;E!==0&amp;&amp;j.iushrn(E),{div:N||null,mod:j}},s.prototype.divmod=function(P,D,E){return u(!P.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:this.negative!==0&amp;&amp;P.negative===0?(S=this.neg().divmod(P,D),D!==&quot;mod&quot;&amp;&amp;(j=S.div.neg()),D!==&quot;div&quot;&amp;&amp;(k=S.mod.neg(),E&amp;&amp;k.negative!==0&amp;&amp;k.iadd(P)),{div:j,mod:k}):this.negative===0&amp;&amp;P.negative!==0?(S=this.divmod(P.neg(),D),D!==&quot;mod&quot;&amp;&amp;(j=S.div.neg()),{div:j,mod:S.mod}):(this.negative&amp;P.negative)!=0?(S=this.neg().divmod(P.neg(),D),D!==&quot;div&quot;&amp;&amp;(k=S.mod.neg(),E&amp;&amp;k.negative!==0&amp;&amp;k.isub(P)),{div:S.div,mod:k}):P.length&gt;this.length||this.cmp(P)&lt;0?{div:new s(0),mod:this}:P.length===1?D===&quot;div&quot;?{div:this.divn(P.words[0]),mod:null}:D===&quot;mod&quot;?{div:null,mod:new s(this.modn(P.words[0]))}:{div:this.divn(P.words[0]),mod:new s(this.modn(P.words[0]))}:this._wordDiv(P,D);var j,k,S},s.prototype.div=function(P){return this.divmod(P,&quot;div&quot;,!1).div},s.prototype.mod=function(P){return this.divmod(P,&quot;mod&quot;,!1).mod},s.prototype.umod=function(P){return this.divmod(P,&quot;mod&quot;,!0).mod},s.prototype.divRound=function(P){var D=this.divmod(P);if(D.mod.isZero())return D.div;var E=D.div.negative!==0?D.mod.isub(P):D.mod,j=P.ushrn(1),k=P.andln(1),S=E.cmp(j);return S&lt;0||k===1&amp;&amp;S===0?D.div:D.div.negative!==0?D.div.isubn(1):D.div.iaddn(1)},s.prototype.modn=function(P){u(P&lt;=67108863);for(var D=(1&lt;&lt;26)%P,E=0,j=this.length-1;j&gt;=0;j--)E=(D*E+(0|this.words[j]))%P;return E},s.prototype.idivn=function(P){u(P&lt;=67108863);for(var D=0,E=this.length-1;E&gt;=0;E--){var j=(0|this.words[E])+67108864*D;this.words[E]=j/P|0,D=j%P}return this.strip()},s.prototype.divn=function(P){return this.clone().idivn(P)},s.prototype.egcd=function(P){u(P.negative===0),u(!P.isZero());var D=this,E=P.clone();D=D.negative!==0?D.umod(P):D.clone();for(var j=new s(1),k=new s(0),S=new s(0),N=new s(1),M=0;D.isEven()&amp;&amp;E.isEven();)D.iushrn(1),E.iushrn(1),++M;for(var I=E.clone(),B=D.clone();!D.isZero();){for(var Y=0,Z=1;(D.words[0]&amp;Z)==0&amp;&amp;Y&lt;26;++Y,Z&lt;&lt;=1);if(Y&gt;0)for(D.iushrn(Y);Y-- &gt;0;)(j.isOdd()||k.isOdd())&amp;&amp;(j.iadd(I),k.isub(B)),j.iushrn(1),k.iushrn(1);for(var ie=0,$=1;(E.words[0]&amp;$)==0&amp;&amp;ie&lt;26;++ie,$&lt;&lt;=1);if(ie&gt;0)for(E.iushrn(ie);ie-- &gt;0;)(S.isOdd()||N.isOdd())&amp;&amp;(S.iadd(I),N.isub(B)),S.iushrn(1),N.iushrn(1);D.cmp(E)&gt;=0?(D.isub(E),j.isub(S),k.isub(N)):(E.isub(D),S.isub(j),N.isub(k))}return{a:S,b:N,gcd:E.iushln(M)}},s.prototype._invmp=function(P){u(P.negative===0),u(!P.isZero());var D=this,E=P.clone();D=D.negative!==0?D.umod(P):D.clone();for(var j,k=new s(1),S=new s(0),N=E.clone();D.cmpn(1)&gt;0&amp;&amp;E.cmpn(1)&gt;0;){for(var M=0,I=1;(D.words[0]&amp;I)==0&amp;&amp;M&lt;26;++M,I&lt;&lt;=1);if(M&gt;0)for(D.iushrn(M);M-- &gt;0;)k.isOdd()&amp;&amp;k.iadd(N),k.iushrn(1);for(var B=0,Y=1;(E.words[0]&amp;Y)==0&amp;&amp;B&lt;26;++B,Y&lt;&lt;=1);if(B&gt;0)for(E.iushrn(B);B-- &gt;0;)S.isOdd()&amp;&amp;S.iadd(N),S.iushrn(1);D.cmp(E)&gt;=0?(D.isub(E),k.isub(S)):(E.isub(D),S.isub(k))}return(j=D.cmpn(1)===0?k:S).cmpn(0)&lt;0&amp;&amp;j.iadd(P),j},s.prototype.gcd=function(P){if(this.isZero())return P.abs();if(P.isZero())return this.abs();var D=this.clone(),E=P.clone();D.negative=0,E.negative=0;for(var j=0;D.isEven()&amp;&amp;E.isEven();j++)D.iushrn(1),E.iushrn(1);for(;;){for(;D.isEven();)D.iushrn(1);for(;E.isEven();)E.iushrn(1);var k=D.cmp(E);if(k&lt;0){var S=D;D=E,E=S}else if(k===0||E.cmpn(1)===0)break;D.isub(E)}return E.iushln(j)},s.prototype.invm=function(P){return this.egcd(P).a.umod(P)},s.prototype.isEven=function(){return(1&amp;this.words[0])==0},s.prototype.isOdd=function(){return(1&amp;this.words[0])==1},s.prototype.andln=function(P){return this.words[0]&amp;P},s.prototype.bincn=function(P){u(typeof P==&quot;number&quot;);var D=P%26,E=(P-D)/26,j=1&lt;&lt;D;if(this.length&lt;=E)return this._expand(E+1),this.words[E]|=j,this;for(var k=j,S=E;k!==0&amp;&amp;S&lt;this.length;S++){var N=0|this.words[S];k=(N+=k)&gt;&gt;&gt;26,N&amp;=67108863,this.words[S]=N}return k!==0&amp;&amp;(this.words[S]=k,this.length++),this},s.prototype.isZero=function(){return this.length===1&amp;&amp;this.words[0]===0},s.prototype.cmpn=function(P){var D,E=P&lt;0;if(this.negative!==0&amp;&amp;!E)return-1;if(this.negative===0&amp;&amp;E)return 1;if(this.strip(),this.length&gt;1)D=1;else{E&amp;&amp;(P=-P),u(P&lt;=67108863,&quot;Number is too big&quot;);var j=0|this.words[0];D=j===P?0:j&lt;P?-1:1}return this.negative!==0?0|-D:D},s.prototype.cmp=function(P){if(this.negative!==0&amp;&amp;P.negative===0)return-1;if(this.negative===0&amp;&amp;P.negative!==0)return 1;var D=this.ucmp(P);return this.negative!==0?0|-D:D},s.prototype.ucmp=function(P){if(this.length&gt;P.length)return 1;if(this.length&lt;P.length)return-1;for(var D=0,E=this.length-1;E&gt;=0;E--){var j=0|this.words[E],k=0|P.words[E];if(j!==k){j&lt;k?D=-1:j&gt;k&amp;&amp;(D=1);break}}return D},s.prototype.gtn=function(P){return this.cmpn(P)===1},s.prototype.gt=function(P){return this.cmp(P)===1},s.prototype.gten=function(P){return this.cmpn(P)&gt;=0},s.prototype.gte=function(P){return this.cmp(P)&gt;=0},s.prototype.ltn=function(P){return this.cmpn(P)===-1},s.prototype.lt=function(P){return this.cmp(P)===-1},s.prototype.lten=function(P){return this.cmpn(P)&lt;=0},s.prototype.lte=function(P){return this.cmp(P)&lt;=0},s.prototype.eqn=function(P){return this.cmpn(P)===0},s.prototype.eq=function(P){return this.cmp(P)===0},s.red=function(P){return new K(P)},s.prototype.toRed=function(P){return u(!this.red,&quot;Already a number in reduction context&quot;),u(this.negative===0,&quot;red works only with positives&quot;),P.convertTo(this)._forceRed(P)},s.prototype.fromRed=function(){return u(this.red,&quot;fromRed works only with numbers in reduction context&quot;),this.red.convertFrom(this)},s.prototype._forceRed=function(P){return this.red=P,this},s.prototype.forceRed=function(P){return u(!this.red,&quot;Already a number in reduction context&quot;),this._forceRed(P)},s.prototype.redAdd=function(P){return u(this.red,&quot;redAdd works only with red numbers&quot;),this.red.add(this,P)},s.prototype.redIAdd=function(P){return u(this.red,&quot;redIAdd works only with red numbers&quot;),this.red.iadd(this,P)},s.prototype.redSub=function(P){return u(this.red,&quot;redSub works only with red numbers&quot;),this.red.sub(this,P)},s.prototype.redISub=function(P){return u(this.red,&quot;redISub works only with red numbers&quot;),this.red.isub(this,P)},s.prototype.redShl=function(P){return u(this.red,&quot;redShl works only with red numbers&quot;),this.red.shl(this,P)},s.prototype.redMul=function(P){return u(this.red,&quot;redMul works only with red numbers&quot;),this.red._verify2(this,P),this.red.mul(this,P)},s.prototype.redIMul=function(P){return u(this.red,&quot;redMul works only with red numbers&quot;),this.red._verify2(this,P),this.red.imul(this,P)},s.prototype.redSqr=function(){return u(this.red,&quot;redSqr works only with red numbers&quot;),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return u(this.red,&quot;redISqr works only with red numbers&quot;),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return u(this.red,&quot;redSqrt works only with red numbers&quot;),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return u(this.red,&quot;redInvm works only with red numbers&quot;),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return u(this.red,&quot;redNeg works only with red numbers&quot;),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(P){return u(this.red&amp;&amp;!P.red,&quot;redPow(normalNum)&quot;),this.red._verify1(this),this.red.pow(this,P)};var O={k256:null,p224:null,p192:null,p25519:null};function R(P,D){this.name=P,this.p=new s(D,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function H(){R.call(this,&quot;k256&quot;,&quot;ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f&quot;)}function L(){R.call(this,&quot;p224&quot;,&quot;ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001&quot;)}function q(){R.call(this,&quot;p192&quot;,&quot;ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff&quot;)}function W(){R.call(this,&quot;25519&quot;,&quot;7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed&quot;)}function K(P){if(typeof P==&quot;string&quot;){var D=s._prime(P);this.m=D.p,this.prime=D}else u(P.gtn(1),&quot;modulus must be greater than 1&quot;),this.m=P,this.prime=null}function U(P){K.call(this,P),this.shift=this.m.bitLength(),this.shift%26!=0&amp;&amp;(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}R.prototype._tmp=function(){var P=new s(null);return P.words=new Array(Math.ceil(this.n/13)),P},R.prototype.ireduce=function(P){var D,E=P;do this.split(E,this.tmp),D=(E=(E=this.imulK(E)).iadd(this.tmp)).bitLength();while(D&gt;this.n);var j=D&lt;this.n?-1:E.ucmp(this.p);return j===0?(E.words[0]=0,E.length=1):j&gt;0?E.isub(this.p):E.strip!==void 0?E.strip():E._strip(),E},R.prototype.split=function(P,D){P.iushrn(this.n,0,D)},R.prototype.imulK=function(P){return P.imul(this.k)},o(H,R),H.prototype.split=function(P,D){for(var E=Math.min(P.length,9),j=0;j&lt;E;j++)D.words[j]=P.words[j];if(D.length=E,P.length&lt;=9)return P.words[0]=0,void(P.length=1);var k=P.words[9];for(D.words[D.length++]=4194303&amp;k,j=10;j&lt;P.length;j++){var S=0|P.words[j];P.words[j-10]=(4194303&amp;S)&lt;&lt;4|k&gt;&gt;&gt;22,k=S}k&gt;&gt;&gt;=22,P.words[j-10]=k,k===0&amp;&amp;P.length&gt;10?P.length-=10:P.length-=9},H.prototype.imulK=function(P){P.words[P.length]=0,P.words[P.length+1]=0,P.length+=2;for(var D=0,E=0;E&lt;P.length;E++){var j=0|P.words[E];D+=977*j,P.words[E]=67108863&amp;D,D=64*j+(D/67108864|0)}return P.words[P.length-1]===0&amp;&amp;(P.length--,P.words[P.length-1]===0&amp;&amp;P.length--),P},o(L,R),o(q,R),o(W,R),W.prototype.imulK=function(P){for(var D=0,E=0;E&lt;P.length;E++){var j=19*(0|P.words[E])+D,k=67108863&amp;j;j&gt;&gt;&gt;=26,P.words[E]=k,D=j}return D!==0&amp;&amp;(P.words[P.length++]=D),P},s._prime=function(P){if(O[P])return O[P];var D;if(P===&quot;k256&quot;)D=new H;else if(P===&quot;p224&quot;)D=new L;else if(P===&quot;p192&quot;)D=new q;else{if(P!==&quot;p25519&quot;)throw new Error(&quot;Unknown prime &quot;+P);D=new W}return O[P]=D,D},K.prototype._verify1=function(P){u(P.negative===0,&quot;red works only with positives&quot;),u(P.red,&quot;red works only with red numbers&quot;)},K.prototype._verify2=function(P,D){u((P.negative|D.negative)==0,&quot;red works only with positives&quot;),u(P.red&amp;&amp;P.red===D.red,&quot;red works only with red numbers&quot;)},K.prototype.imod=function(P){return this.prime?this.prime.ireduce(P)._forceRed(this):P.umod(this.m)._forceRed(this)},K.prototype.neg=function(P){return P.isZero()?P.clone():this.m.sub(P)._forceRed(this)},K.prototype.add=function(P,D){this._verify2(P,D);var E=P.add(D);return E.cmp(this.m)&gt;=0&amp;&amp;E.isub(this.m),E._forceRed(this)},K.prototype.iadd=function(P,D){this._verify2(P,D);var E=P.iadd(D);return E.cmp(this.m)&gt;=0&amp;&amp;E.isub(this.m),E},K.prototype.sub=function(P,D){this._verify2(P,D);var E=P.sub(D);return E.cmpn(0)&lt;0&amp;&amp;E.iadd(this.m),E._forceRed(this)},K.prototype.isub=function(P,D){this._verify2(P,D);var E=P.isub(D);return E.cmpn(0)&lt;0&amp;&amp;E.iadd(this.m),E},K.prototype.shl=function(P,D){return this._verify1(P),this.imod(P.ushln(D))},K.prototype.imul=function(P,D){return this._verify2(P,D),this.imod(P.imul(D))},K.prototype.mul=function(P,D){return this._verify2(P,D),this.imod(P.mul(D))},K.prototype.isqr=function(P){return this.imul(P,P.clone())},K.prototype.sqr=function(P){return this.mul(P,P)},K.prototype.sqrt=function(P){if(P.isZero())return P.clone();var D=this.m.andln(3);if(u(D%2==1),D===3){var E=this.m.add(new s(1)).iushrn(2);return this.pow(P,E)}for(var j=this.m.subn(1),k=0;!j.isZero()&amp;&amp;j.andln(1)===0;)k++,j.iushrn(1);u(!j.isZero());var S=new s(1).toRed(this),N=S.redNeg(),M=this.m.subn(1).iushrn(1),I=this.m.bitLength();for(I=new s(2*I*I).toRed(this);this.pow(I,M).cmp(N)!==0;)I.redIAdd(N);for(var B=this.pow(I,j),Y=this.pow(P,j.addn(1).iushrn(1)),Z=this.pow(P,j),ie=k;Z.cmp(S)!==0;){for(var $=Z,ee=0;$.cmp(S)!==0;ee++)$=$.redSqr();u(ee&lt;ie);var z=this.pow(B,new s(1).iushln(ie-ee-1));Y=Y.redMul(z),B=z.redSqr(),Z=Z.redMul(B),ie=ee}return Y},K.prototype.invm=function(P){var D=P._invmp(this.m);return D.negative!==0?(D.negative=0,this.imod(D).redNeg()):this.imod(D)},K.prototype.pow=function(P,D){if(D.isZero())return new s(1).toRed(this);if(D.cmpn(1)===0)return P.clone();var E=new Array(16);E[0]=new s(1).toRed(this),E[1]=P;for(var j=2;j&lt;E.length;j++)E[j]=this.mul(E[j-1],P);var k=E[0],S=0,N=0,M=D.bitLength()%26;for(M===0&amp;&amp;(M=26),j=D.length-1;j&gt;=0;j--){for(var I=D.words[j],B=M-1;B&gt;=0;B--){var Y=I&gt;&gt;B&amp;1;k!==E[0]&amp;&amp;(k=this.sqr(k)),Y!==0||S!==0?(S&lt;&lt;=1,S|=Y,(++N===4||j===0&amp;&amp;B===0)&amp;&amp;(k=this.mul(k,E[S]),N=0,S=0)):N=0}M=26}return k},K.prototype.convertTo=function(P){var D=P.umod(this.m);return D===P?D.clone():D},K.prototype.convertFrom=function(P){var D=P.clone();return D.red=null,D},s.mont=function(P){return new U(P)},o(U,K),U.prototype.convertTo=function(P){return this.imod(P.ushln(this.shift))},U.prototype.convertFrom=function(P){var D=this.imod(P.mul(this.rinv));return D.red=null,D},U.prototype.imul=function(P,D){if(P.isZero()||D.isZero())return P.words[0]=0,P.length=1,P;var E=P.imul(D),j=E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),k=E.isub(j).iushrn(this.shift),S=k;return k.cmp(this.m)&gt;=0?S=k.isub(this.m):k.cmpn(0)&lt;0&amp;&amp;(S=k.iadd(this.m)),S._forceRed(this)},U.prototype.mul=function(P,D){if(P.isZero()||D.isZero())return new s(0)._forceRed(this);var E=P.mul(D),j=E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),k=E.isub(j).iushrn(this.shift),S=k;return k.cmp(this.m)&gt;=0?S=k.isub(this.m):k.cmpn(0)&lt;0&amp;&amp;(S=k.iadd(this.m)),S._forceRed(this)},U.prototype.invm=function(P){return this.imod(P._invmp(this.m).mul(this.r2))._forceRed(this)}})(n===void 0||n)},{buffer:188}],185:[function(t,n,l){l.byteLength=function(m){var p=f(m),v=p[0],g=p[1];return 3*(v+g)/4-g},l.toByteArray=function(m){var p,v,g=f(m),b=g[0],x=g[1],_=new u((function(R,H,L){return 3*(H+L)/4-L})(0,b,x)),C=0,O=x&gt;0?b-4:b;for(v=0;v&lt;O;v+=4)p=a[m.charCodeAt(v)]&lt;&lt;18|a[m.charCodeAt(v+1)]&lt;&lt;12|a[m.charCodeAt(v+2)]&lt;&lt;6|a[m.charCodeAt(v+3)],_[C++]=p&gt;&gt;16&amp;255,_[C++]=p&gt;&gt;8&amp;255,_[C++]=255&amp;p;return x===2&amp;&amp;(p=a[m.charCodeAt(v)]&lt;&lt;2|a[m.charCodeAt(v+1)]&gt;&gt;4,_[C++]=255&amp;p),x===1&amp;&amp;(p=a[m.charCodeAt(v)]&lt;&lt;10|a[m.charCodeAt(v+1)]&lt;&lt;4|a[m.charCodeAt(v+2)]&gt;&gt;2,_[C++]=p&gt;&gt;8&amp;255,_[C++]=255&amp;p),_},l.fromByteArray=function(m){for(var p,v=m.length,g=v%3,b=[],x=0,_=v-g;x&lt;_;x+=16383)b.push(h(m,x,x+16383&gt;_?_:x+16383));return g===1?(p=m[v-1],b.push(i[p&gt;&gt;2]+i[p&lt;&lt;4&amp;63]+&quot;==&quot;)):g===2&amp;&amp;(p=(m[v-2]&lt;&lt;8)+m[v-1],b.push(i[p&gt;&gt;10]+i[p&gt;&gt;4&amp;63]+i[p&lt;&lt;2&amp;63]+&quot;=&quot;)),b.join(&quot;&quot;)};for(var i=[],a=[],u=typeof Uint8Array&lt;&quot;u&quot;?Uint8Array:Array,o=&quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/&quot;,s=0,c=o.length;s&lt;c;++s)i[s]=o[s],a[o.charCodeAt(s)]=s;function f(m){var p=m.length;if(p%4&gt;0)throw new Error(&quot;Invalid string. Length must be a multiple of 4&quot;);var v=m.indexOf(&quot;=&quot;);return v===-1&amp;&amp;(v=p),[v,v===p?0:4-v%4]}function h(m,p,v){for(var g,b,x=[],_=p;_&lt;v;_+=3)g=(m[_]&lt;&lt;16&amp;16711680)+(m[_+1]&lt;&lt;8&amp;65280)+(255&amp;m[_+2]),x.push(i[(b=g)&gt;&gt;18&amp;63]+i[b&gt;&gt;12&amp;63]+i[b&gt;&gt;6&amp;63]+i[63&amp;b]);return x.join(&quot;&quot;)}a[45]=62,a[95]=63},{}],186:[function(t,n,l){(function(i,a){function u(E,j){if(!E)throw new Error(j||&quot;Assertion failed&quot;)}function o(E,j){E.super_=j;var k=function(){};k.prototype=j.prototype,E.prototype=new k,E.prototype.constructor=E}function s(E,j,k){if(s.isBN(E))return E;this.negative=0,this.words=null,this.length=0,this.red=null,E!==null&amp;&amp;(j!==&quot;le&quot;&amp;&amp;j!==&quot;be&quot;||(k=j,j=10),this._init(E||0,j||10,k||&quot;be&quot;))}var c;typeof i==&quot;object&quot;?i.exports=s:(void 0).BN=s,s.BN=s,s.wordSize=26;try{c=typeof window&lt;&quot;u&quot;&amp;&amp;window.Buffer!==void 0?window.Buffer:t(&quot;buffer&quot;).Buffer}catch{}function f(E,j){var k=E.charCodeAt(j);return k&gt;=48&amp;&amp;k&lt;=57?k-48:k&gt;=65&amp;&amp;k&lt;=70?k-55:k&gt;=97&amp;&amp;k&lt;=102?k-87:void u(!1,&quot;Invalid character in &quot;+E)}function h(E,j,k){var S=f(E,k);return k-1&gt;=j&amp;&amp;(S|=f(E,k-1)&lt;&lt;4),S}function m(E,j,k,S){for(var N=0,M=0,I=Math.min(E.length,k),B=j;B&lt;I;B++){var Y=E.charCodeAt(B)-48;N*=S,M=Y&gt;=49?Y-49+10:Y&gt;=17?Y-17+10:Y,u(Y&gt;=0&amp;&amp;M&lt;S,&quot;Invalid character&quot;),N+=M}return N}function p(E,j){E.words=j.words,E.length=j.length,E.negative=j.negative,E.red=j.red}if(s.isBN=function(E){return E instanceof s||E!==null&amp;&amp;typeof E==&quot;object&quot;&amp;&amp;E.constructor.wordSize===s.wordSize&amp;&amp;Array.isArray(E.words)},s.max=function(E,j){return E.cmp(j)&gt;0?E:j},s.min=function(E,j){return E.cmp(j)&lt;0?E:j},s.prototype._init=function(E,j,k){if(typeof E==&quot;number&quot;)return this._initNumber(E,j,k);if(typeof E==&quot;object&quot;)return this._initArray(E,j,k);j===&quot;hex&quot;&amp;&amp;(j=16),u(j===(0|j)&amp;&amp;j&gt;=2&amp;&amp;j&lt;=36);var S=0;(E=E.toString().replace(/\s+/g,&quot;&quot;))[0]===&quot;-&quot;&amp;&amp;(S++,this.negative=1),S&lt;E.length&amp;&amp;(j===16?this._parseHex(E,S,k):(this._parseBase(E,j,S),k===&quot;le&quot;&amp;&amp;this._initArray(this.toArray(),j,k)))},s.prototype._initNumber=function(E,j,k){E&lt;0&amp;&amp;(this.negative=1,E=-E),E&lt;67108864?(this.words=[67108863&amp;E],this.length=1):E&lt;4503599627370496?(this.words=[67108863&amp;E,E/67108864&amp;67108863],this.length=2):(u(E&lt;9007199254740992),this.words=[67108863&amp;E,E/67108864&amp;67108863,1],this.length=3),k===&quot;le&quot;&amp;&amp;this._initArray(this.toArray(),j,k)},s.prototype._initArray=function(E,j,k){if(u(typeof E.length==&quot;number&quot;),E.length&lt;=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(E.length/3),this.words=new Array(this.length);for(var S=0;S&lt;this.length;S++)this.words[S]=0;var N,M,I=0;if(k===&quot;be&quot;)for(S=E.length-1,N=0;S&gt;=0;S-=3)M=E[S]|E[S-1]&lt;&lt;8|E[S-2]&lt;&lt;16,this.words[N]|=M&lt;&lt;I&amp;67108863,this.words[N+1]=M&gt;&gt;&gt;26-I&amp;67108863,(I+=24)&gt;=26&amp;&amp;(I-=26,N++);else if(k===&quot;le&quot;)for(S=0,N=0;S&lt;E.length;S+=3)M=E[S]|E[S+1]&lt;&lt;8|E[S+2]&lt;&lt;16,this.words[N]|=M&lt;&lt;I&amp;67108863,this.words[N+1]=M&gt;&gt;&gt;26-I&amp;67108863,(I+=24)&gt;=26&amp;&amp;(I-=26,N++);return this._strip()},s.prototype._parseHex=function(E,j,k){this.length=Math.ceil((E.length-j)/6),this.words=new Array(this.length);for(var S=0;S&lt;this.length;S++)this.words[S]=0;var N,M=0,I=0;if(k===&quot;be&quot;)for(S=E.length-1;S&gt;=j;S-=2)N=h(E,j,S)&lt;&lt;M,this.words[I]|=67108863&amp;N,M&gt;=18?(M-=18,I+=1,this.words[I]|=N&gt;&gt;&gt;26):M+=8;else for(S=(E.length-j)%2==0?j+1:j;S&lt;E.length;S+=2)N=h(E,j,S)&lt;&lt;M,this.words[I]|=67108863&amp;N,M&gt;=18?(M-=18,I+=1,this.words[I]|=N&gt;&gt;&gt;26):M+=8;this._strip()},s.prototype._parseBase=function(E,j,k){this.words=[0],this.length=1;for(var S=0,N=1;N&lt;=67108863;N*=j)S++;S--,N=N/j|0;for(var M=E.length-k,I=M%S,B=Math.min(M,M-I)+k,Y=0,Z=k;Z&lt;B;Z+=S)Y=m(E,Z,Z+S,j),this.imuln(N),this.words[0]+Y&lt;67108864?this.words[0]+=Y:this._iaddn(Y);if(I!==0){var ie=1;for(Y=m(E,Z,E.length,j),Z=0;Z&lt;I;Z++)ie*=j;this.imuln(ie),this.words[0]+Y&lt;67108864?this.words[0]+=Y:this._iaddn(Y)}this._strip()},s.prototype.copy=function(E){E.words=new Array(this.length);for(var j=0;j&lt;this.length;j++)E.words[j]=this.words[j];E.length=this.length,E.negative=this.negative,E.red=this.red},s.prototype._move=function(E){p(E,this)},s.prototype.clone=function(){var E=new s(null);return this.copy(E),E},s.prototype._expand=function(E){for(;this.length&lt;E;)this.words[this.length++]=0;return this},s.prototype._strip=function(){for(;this.length&gt;1&amp;&amp;this.words[this.length-1]===0;)this.length--;return this._normSign()},s.prototype._normSign=function(){return this.length===1&amp;&amp;this.words[0]===0&amp;&amp;(this.negative=0),this},typeof Symbol&lt;&quot;u&quot;&amp;&amp;typeof Symbol.for==&quot;function&quot;)try{s.prototype[Symbol.for(&quot;nodejs.util.inspect.custom&quot;)]=v}catch{s.prototype.inspect=v}else s.prototype.inspect=v;function v(){return(this.red?&quot;&lt;BN-R: &quot;:&quot;&lt;BN: &quot;)+this.toString(16)+&quot;&gt;&quot;}var g=[&quot;&quot;,&quot;0&quot;,&quot;00&quot;,&quot;000&quot;,&quot;0000&quot;,&quot;00000&quot;,&quot;000000&quot;,&quot;0000000&quot;,&quot;00000000&quot;,&quot;000000000&quot;,&quot;0000000000&quot;,&quot;00000000000&quot;,&quot;000000000000&quot;,&quot;0000000000000&quot;,&quot;00000000000000&quot;,&quot;000000000000000&quot;,&quot;0000000000000000&quot;,&quot;00000000000000000&quot;,&quot;000000000000000000&quot;,&quot;0000000000000000000&quot;,&quot;00000000000000000000&quot;,&quot;000000000000000000000&quot;,&quot;0000000000000000000000&quot;,&quot;00000000000000000000000&quot;,&quot;000000000000000000000000&quot;,&quot;0000000000000000000000000&quot;],b=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],x=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];s.prototype.toString=function(E,j){var k;if(j=0|j||1,(E=E||10)===16||E===&quot;hex&quot;){k=&quot;&quot;;for(var S=0,N=0,M=0;M&lt;this.length;M++){var I=this.words[M],B=(16777215&amp;(I&lt;&lt;S|N)).toString(16);N=I&gt;&gt;&gt;24-S&amp;16777215,(S+=2)&gt;=26&amp;&amp;(S-=26,M--),k=N!==0||M!==this.length-1?g[6-B.length]+B+k:B+k}for(N!==0&amp;&amp;(k=N.toString(16)+k);k.length%j!=0;)k=&quot;0&quot;+k;return this.negative!==0&amp;&amp;(k=&quot;-&quot;+k),k}if(E===(0|E)&amp;&amp;E&gt;=2&amp;&amp;E&lt;=36){var Y=b[E],Z=x[E];k=&quot;&quot;;var ie=this.clone();for(ie.negative=0;!ie.isZero();){var $=ie.modrn(Z).toString(E);k=(ie=ie.idivn(Z)).isZero()?$+k:g[Y-$.length]+$+k}for(this.isZero()&amp;&amp;(k=&quot;0&quot;+k);k.length%j!=0;)k=&quot;0&quot;+k;return this.negative!==0&amp;&amp;(k=&quot;-&quot;+k),k}u(!1,&quot;Base should be between 2 and 36&quot;)},s.prototype.toNumber=function(){var E=this.words[0];return this.length===2?E+=67108864*this.words[1]:this.length===3&amp;&amp;this.words[2]===1?E+=4503599627370496+67108864*this.words[1]:this.length&gt;2&amp;&amp;u(!1,&quot;Number can only safely store up to 53 bits&quot;),this.negative!==0?-E:E},s.prototype.toJSON=function(){return this.toString(16,2)},c&amp;&amp;(s.prototype.toBuffer=function(E,j){return this.toArrayLike(c,E,j)}),s.prototype.toArray=function(E,j){return this.toArrayLike(Array,E,j)};function _(E,j,k){k.negative=j.negative^E.negative;var S=E.length+j.length|0;k.length=S,S=S-1|0;var N=0|E.words[0],M=0|j.words[0],I=N*M,B=67108863&amp;I,Y=I/67108864|0;k.words[0]=B;for(var Z=1;Z&lt;S;Z++){for(var ie=Y&gt;&gt;&gt;26,$=67108863&amp;Y,ee=Math.min(Z,j.length-1),z=Math.max(0,Z-E.length+1);z&lt;=ee;z++){var T=Z-z|0;ie+=(I=(N=0|E.words[T])*(M=0|j.words[z])+$)/67108864|0,$=67108863&amp;I}k.words[Z]=0|$,Y=0|ie}return Y!==0?k.words[Z]=0|Y:k.length--,k._strip()}s.prototype.toArrayLike=function(E,j,k){this._strip();var S=this.byteLength(),N=k||Math.max(1,S);u(S&lt;=N,&quot;byte array longer than desired length&quot;),u(N&gt;0,&quot;Requested array length &lt;= 0&quot;);var M=(function(I,B){return I.allocUnsafe?I.allocUnsafe(B):new I(B)})(E,N);return this[&quot;_toArrayLike&quot;+(j===&quot;le&quot;?&quot;LE&quot;:&quot;BE&quot;)](M,S),M},s.prototype._toArrayLikeLE=function(E,j){for(var k=0,S=0,N=0,M=0;N&lt;this.length;N++){var I=this.words[N]&lt;&lt;M|S;E[k++]=255&amp;I,k&lt;E.length&amp;&amp;(E[k++]=I&gt;&gt;8&amp;255),k&lt;E.length&amp;&amp;(E[k++]=I&gt;&gt;16&amp;255),M===6?(k&lt;E.length&amp;&amp;(E[k++]=I&gt;&gt;24&amp;255),S=0,M=0):(S=I&gt;&gt;&gt;24,M+=2)}if(k&lt;E.length)for(E[k++]=S;k&lt;E.length;)E[k++]=0},s.prototype._toArrayLikeBE=function(E,j){for(var k=E.length-1,S=0,N=0,M=0;N&lt;this.length;N++){var I=this.words[N]&lt;&lt;M|S;E[k--]=255&amp;I,k&gt;=0&amp;&amp;(E[k--]=I&gt;&gt;8&amp;255),k&gt;=0&amp;&amp;(E[k--]=I&gt;&gt;16&amp;255),M===6?(k&gt;=0&amp;&amp;(E[k--]=I&gt;&gt;24&amp;255),S=0,M=0):(S=I&gt;&gt;&gt;24,M+=2)}if(k&gt;=0)for(E[k--]=S;k&gt;=0;)E[k--]=0},Math.clz32?s.prototype._countBits=function(E){return 32-Math.clz32(E)}:s.prototype._countBits=function(E){var j=E,k=0;return j&gt;=4096&amp;&amp;(k+=13,j&gt;&gt;&gt;=13),j&gt;=64&amp;&amp;(k+=7,j&gt;&gt;&gt;=7),j&gt;=8&amp;&amp;(k+=4,j&gt;&gt;&gt;=4),j&gt;=2&amp;&amp;(k+=2,j&gt;&gt;&gt;=2),k+j},s.prototype._zeroBits=function(E){if(E===0)return 26;var j=E,k=0;return(8191&amp;j)==0&amp;&amp;(k+=13,j&gt;&gt;&gt;=13),(127&amp;j)==0&amp;&amp;(k+=7,j&gt;&gt;&gt;=7),(15&amp;j)==0&amp;&amp;(k+=4,j&gt;&gt;&gt;=4),(3&amp;j)==0&amp;&amp;(k+=2,j&gt;&gt;&gt;=2),(1&amp;j)==0&amp;&amp;k++,k},s.prototype.bitLength=function(){var E=this.words[this.length-1],j=this._countBits(E);return 26*(this.length-1)+j},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var E=0,j=0;j&lt;this.length;j++){var k=this._zeroBits(this.words[j]);if(E+=k,k!==26)break}return E},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(E){return this.negative!==0?this.abs().inotn(E).iaddn(1):this.clone()},s.prototype.fromTwos=function(E){return this.testn(E-1)?this.notn(E).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return this.negative!==0},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(E){for(;this.length&lt;E.length;)this.words[this.length++]=0;for(var j=0;j&lt;E.length;j++)this.words[j]=this.words[j]|E.words[j];return this._strip()},s.prototype.ior=function(E){return u((this.negative|E.negative)==0),this.iuor(E)},s.prototype.or=function(E){return this.length&gt;E.length?this.clone().ior(E):E.clone().ior(this)},s.prototype.uor=function(E){return this.length&gt;E.length?this.clone().iuor(E):E.clone().iuor(this)},s.prototype.iuand=function(E){var j;j=this.length&gt;E.length?E:this;for(var k=0;k&lt;j.length;k++)this.words[k]=this.words[k]&amp;E.words[k];return this.length=j.length,this._strip()},s.prototype.iand=function(E){return u((this.negative|E.negative)==0),this.iuand(E)},s.prototype.and=function(E){return this.length&gt;E.length?this.clone().iand(E):E.clone().iand(this)},s.prototype.uand=function(E){return this.length&gt;E.length?this.clone().iuand(E):E.clone().iuand(this)},s.prototype.iuxor=function(E){var j,k;this.length&gt;E.length?(j=this,k=E):(j=E,k=this);for(var S=0;S&lt;k.length;S++)this.words[S]=j.words[S]^k.words[S];if(this!==j)for(;S&lt;j.length;S++)this.words[S]=j.words[S];return this.length=j.length,this._strip()},s.prototype.ixor=function(E){return u((this.negative|E.negative)==0),this.iuxor(E)},s.prototype.xor=function(E){return this.length&gt;E.length?this.clone().ixor(E):E.clone().ixor(this)},s.prototype.uxor=function(E){return this.length&gt;E.length?this.clone().iuxor(E):E.clone().iuxor(this)},s.prototype.inotn=function(E){u(typeof E==&quot;number&quot;&amp;&amp;E&gt;=0);var j=0|Math.ceil(E/26),k=E%26;this._expand(j),k&gt;0&amp;&amp;j--;for(var S=0;S&lt;j;S++)this.words[S]=67108863&amp;~this.words[S];return k&gt;0&amp;&amp;(this.words[S]=~this.words[S]&amp;67108863&gt;&gt;26-k),this._strip()},s.prototype.notn=function(E){return this.clone().inotn(E)},s.prototype.setn=function(E,j){u(typeof E==&quot;number&quot;&amp;&amp;E&gt;=0);var k=E/26|0,S=E%26;return this._expand(k+1),this.words[k]=j?this.words[k]|1&lt;&lt;S:this.words[k]&amp;~(1&lt;&lt;S),this._strip()},s.prototype.iadd=function(E){var j,k,S;if(this.negative!==0&amp;&amp;E.negative===0)return this.negative=0,j=this.isub(E),this.negative^=1,this._normSign();if(this.negative===0&amp;&amp;E.negative!==0)return E.negative=0,j=this.isub(E),E.negative=1,j._normSign();this.length&gt;E.length?(k=this,S=E):(k=E,S=this);for(var N=0,M=0;M&lt;S.length;M++)j=(0|k.words[M])+(0|S.words[M])+N,this.words[M]=67108863&amp;j,N=j&gt;&gt;&gt;26;for(;N!==0&amp;&amp;M&lt;k.length;M++)j=(0|k.words[M])+N,this.words[M]=67108863&amp;j,N=j&gt;&gt;&gt;26;if(this.length=k.length,N!==0)this.words[this.length]=N,this.length++;else if(k!==this)for(;M&lt;k.length;M++)this.words[M]=k.words[M];return this},s.prototype.add=function(E){var j;return E.negative!==0&amp;&amp;this.negative===0?(E.negative=0,j=this.sub(E),E.negative^=1,j):E.negative===0&amp;&amp;this.negative!==0?(this.negative=0,j=E.sub(this),this.negative=1,j):this.length&gt;E.length?this.clone().iadd(E):E.clone().iadd(this)},s.prototype.isub=function(E){if(E.negative!==0){E.negative=0;var j=this.iadd(E);return E.negative=1,j._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(E),this.negative=1,this._normSign();var k,S,N=this.cmp(E);if(N===0)return this.negative=0,this.length=1,this.words[0]=0,this;N&gt;0?(k=this,S=E):(k=E,S=this);for(var M=0,I=0;I&lt;S.length;I++)M=(j=(0|k.words[I])-(0|S.words[I])+M)&gt;&gt;26,this.words[I]=67108863&amp;j;for(;M!==0&amp;&amp;I&lt;k.length;I++)M=(j=(0|k.words[I])+M)&gt;&gt;26,this.words[I]=67108863&amp;j;if(M===0&amp;&amp;I&lt;k.length&amp;&amp;k!==this)for(;I&lt;k.length;I++)this.words[I]=k.words[I];return this.length=Math.max(this.length,I),k!==this&amp;&amp;(this.negative=1),this._strip()},s.prototype.sub=function(E){return this.clone().isub(E)};var C=function(E,j,k){var S,N,M,I=E.words,B=j.words,Y=k.words,Z=0,ie=0|I[0],$=8191&amp;ie,ee=ie&gt;&gt;&gt;13,z=0|I[1],T=8191&amp;z,X=z&gt;&gt;&gt;13,re=0|I[2],ne=8191&amp;re,Q=re&gt;&gt;&gt;13,te=0|I[3],de=8191&amp;te,oe=te&gt;&gt;&gt;13,se=0|I[4],fe=8191&amp;se,he=se&gt;&gt;&gt;13,ce=0|I[5],ge=8191&amp;ce,ye=ce&gt;&gt;&gt;13,pe=0|I[6],le=8191&amp;pe,Ce=pe&gt;&gt;&gt;13,Ae=0|I[7],je=8191&amp;Ae,Pe=Ae&gt;&gt;&gt;13,Qe=0|I[8],Ue=8191&amp;Qe,Xe=Qe&gt;&gt;&gt;13,rt=0|I[9],qe=8191&amp;rt,ze=rt&gt;&gt;&gt;13,Ye=0|B[0],et=8191&amp;Ye,Je=Ye&gt;&gt;&gt;13,Rt=0|B[1],qt=8191&amp;Rt,st=Rt&gt;&gt;&gt;13,Tt=0|B[2],jt=8191&amp;Tt,St=Tt&gt;&gt;&gt;13,It=0|B[3],Bt=8191&amp;It,ct=It&gt;&gt;&gt;13,$t=0|B[4],Ht=8191&amp;$t,yt=$t&gt;&gt;&gt;13,Ut=0|B[5],Xt=8191&amp;Ut,Nt=Ut&gt;&gt;&gt;13,be=0|B[6],ke=8191&amp;be,Te=be&gt;&gt;&gt;13,Ke=0|B[7],ft=8191&amp;Ke,Ze=Ke&gt;&gt;&gt;13,kt=0|B[8],gt=8191&amp;kt,tt=kt&gt;&gt;&gt;13,_t=0|B[9],bt=8191&amp;_t,Ot=_t&gt;&gt;&gt;13;k.negative=E.negative^j.negative,k.length=19;var ir=(Z+(S=Math.imul($,et))|0)+((8191&amp;(N=(N=Math.imul($,Je))+Math.imul(ee,et)|0))&lt;&lt;13)|0;Z=((M=Math.imul(ee,Je))+(N&gt;&gt;&gt;13)|0)+(ir&gt;&gt;&gt;26)|0,ir&amp;=67108863,S=Math.imul(T,et),N=(N=Math.imul(T,Je))+Math.imul(X,et)|0,M=Math.imul(X,Je);var Lt=(Z+(S=S+Math.imul($,qt)|0)|0)+((8191&amp;(N=(N=N+Math.imul($,st)|0)+Math.imul(ee,qt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(ee,st)|0)+(N&gt;&gt;&gt;13)|0)+(Lt&gt;&gt;&gt;26)|0,Lt&amp;=67108863,S=Math.imul(ne,et),N=(N=Math.imul(ne,Je))+Math.imul(Q,et)|0,M=Math.imul(Q,Je),S=S+Math.imul(T,qt)|0,N=(N=N+Math.imul(T,st)|0)+Math.imul(X,qt)|0,M=M+Math.imul(X,st)|0;var cr=(Z+(S=S+Math.imul($,jt)|0)|0)+((8191&amp;(N=(N=N+Math.imul($,St)|0)+Math.imul(ee,jt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(ee,St)|0)+(N&gt;&gt;&gt;13)|0)+(cr&gt;&gt;&gt;26)|0,cr&amp;=67108863,S=Math.imul(de,et),N=(N=Math.imul(de,Je))+Math.imul(oe,et)|0,M=Math.imul(oe,Je),S=S+Math.imul(ne,qt)|0,N=(N=N+Math.imul(ne,st)|0)+Math.imul(Q,qt)|0,M=M+Math.imul(Q,st)|0,S=S+Math.imul(T,jt)|0,N=(N=N+Math.imul(T,St)|0)+Math.imul(X,jt)|0,M=M+Math.imul(X,St)|0;var or=(Z+(S=S+Math.imul($,Bt)|0)|0)+((8191&amp;(N=(N=N+Math.imul($,ct)|0)+Math.imul(ee,Bt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(ee,ct)|0)+(N&gt;&gt;&gt;13)|0)+(or&gt;&gt;&gt;26)|0,or&amp;=67108863,S=Math.imul(fe,et),N=(N=Math.imul(fe,Je))+Math.imul(he,et)|0,M=Math.imul(he,Je),S=S+Math.imul(de,qt)|0,N=(N=N+Math.imul(de,st)|0)+Math.imul(oe,qt)|0,M=M+Math.imul(oe,st)|0,S=S+Math.imul(ne,jt)|0,N=(N=N+Math.imul(ne,St)|0)+Math.imul(Q,jt)|0,M=M+Math.imul(Q,St)|0,S=S+Math.imul(T,Bt)|0,N=(N=N+Math.imul(T,ct)|0)+Math.imul(X,Bt)|0,M=M+Math.imul(X,ct)|0;var Tr=(Z+(S=S+Math.imul($,Ht)|0)|0)+((8191&amp;(N=(N=N+Math.imul($,yt)|0)+Math.imul(ee,Ht)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(ee,yt)|0)+(N&gt;&gt;&gt;13)|0)+(Tr&gt;&gt;&gt;26)|0,Tr&amp;=67108863,S=Math.imul(ge,et),N=(N=Math.imul(ge,Je))+Math.imul(ye,et)|0,M=Math.imul(ye,Je),S=S+Math.imul(fe,qt)|0,N=(N=N+Math.imul(fe,st)|0)+Math.imul(he,qt)|0,M=M+Math.imul(he,st)|0,S=S+Math.imul(de,jt)|0,N=(N=N+Math.imul(de,St)|0)+Math.imul(oe,jt)|0,M=M+Math.imul(oe,St)|0,S=S+Math.imul(ne,Bt)|0,N=(N=N+Math.imul(ne,ct)|0)+Math.imul(Q,Bt)|0,M=M+Math.imul(Q,ct)|0,S=S+Math.imul(T,Ht)|0,N=(N=N+Math.imul(T,yt)|0)+Math.imul(X,Ht)|0,M=M+Math.imul(X,yt)|0;var me=(Z+(S=S+Math.imul($,Xt)|0)|0)+((8191&amp;(N=(N=N+Math.imul($,Nt)|0)+Math.imul(ee,Xt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(ee,Nt)|0)+(N&gt;&gt;&gt;13)|0)+(me&gt;&gt;&gt;26)|0,me&amp;=67108863,S=Math.imul(le,et),N=(N=Math.imul(le,Je))+Math.imul(Ce,et)|0,M=Math.imul(Ce,Je),S=S+Math.imul(ge,qt)|0,N=(N=N+Math.imul(ge,st)|0)+Math.imul(ye,qt)|0,M=M+Math.imul(ye,st)|0,S=S+Math.imul(fe,jt)|0,N=(N=N+Math.imul(fe,St)|0)+Math.imul(he,jt)|0,M=M+Math.imul(he,St)|0,S=S+Math.imul(de,Bt)|0,N=(N=N+Math.imul(de,ct)|0)+Math.imul(oe,Bt)|0,M=M+Math.imul(oe,ct)|0,S=S+Math.imul(ne,Ht)|0,N=(N=N+Math.imul(ne,yt)|0)+Math.imul(Q,Ht)|0,M=M+Math.imul(Q,yt)|0,S=S+Math.imul(T,Xt)|0,N=(N=N+Math.imul(T,Nt)|0)+Math.imul(X,Xt)|0,M=M+Math.imul(X,Nt)|0;var _e=(Z+(S=S+Math.imul($,ke)|0)|0)+((8191&amp;(N=(N=N+Math.imul($,Te)|0)+Math.imul(ee,ke)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(ee,Te)|0)+(N&gt;&gt;&gt;13)|0)+(_e&gt;&gt;&gt;26)|0,_e&amp;=67108863,S=Math.imul(je,et),N=(N=Math.imul(je,Je))+Math.imul(Pe,et)|0,M=Math.imul(Pe,Je),S=S+Math.imul(le,qt)|0,N=(N=N+Math.imul(le,st)|0)+Math.imul(Ce,qt)|0,M=M+Math.imul(Ce,st)|0,S=S+Math.imul(ge,jt)|0,N=(N=N+Math.imul(ge,St)|0)+Math.imul(ye,jt)|0,M=M+Math.imul(ye,St)|0,S=S+Math.imul(fe,Bt)|0,N=(N=N+Math.imul(fe,ct)|0)+Math.imul(he,Bt)|0,M=M+Math.imul(he,ct)|0,S=S+Math.imul(de,Ht)|0,N=(N=N+Math.imul(de,yt)|0)+Math.imul(oe,Ht)|0,M=M+Math.imul(oe,yt)|0,S=S+Math.imul(ne,Xt)|0,N=(N=N+Math.imul(ne,Nt)|0)+Math.imul(Q,Xt)|0,M=M+Math.imul(Q,Nt)|0,S=S+Math.imul(T,ke)|0,N=(N=N+Math.imul(T,Te)|0)+Math.imul(X,ke)|0,M=M+Math.imul(X,Te)|0;var Ie=(Z+(S=S+Math.imul($,ft)|0)|0)+((8191&amp;(N=(N=N+Math.imul($,Ze)|0)+Math.imul(ee,ft)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(ee,Ze)|0)+(N&gt;&gt;&gt;13)|0)+(Ie&gt;&gt;&gt;26)|0,Ie&amp;=67108863,S=Math.imul(Ue,et),N=(N=Math.imul(Ue,Je))+Math.imul(Xe,et)|0,M=Math.imul(Xe,Je),S=S+Math.imul(je,qt)|0,N=(N=N+Math.imul(je,st)|0)+Math.imul(Pe,qt)|0,M=M+Math.imul(Pe,st)|0,S=S+Math.imul(le,jt)|0,N=(N=N+Math.imul(le,St)|0)+Math.imul(Ce,jt)|0,M=M+Math.imul(Ce,St)|0,S=S+Math.imul(ge,Bt)|0,N=(N=N+Math.imul(ge,ct)|0)+Math.imul(ye,Bt)|0,M=M+Math.imul(ye,ct)|0,S=S+Math.imul(fe,Ht)|0,N=(N=N+Math.imul(fe,yt)|0)+Math.imul(he,Ht)|0,M=M+Math.imul(he,yt)|0,S=S+Math.imul(de,Xt)|0,N=(N=N+Math.imul(de,Nt)|0)+Math.imul(oe,Xt)|0,M=M+Math.imul(oe,Nt)|0,S=S+Math.imul(ne,ke)|0,N=(N=N+Math.imul(ne,Te)|0)+Math.imul(Q,ke)|0,M=M+Math.imul(Q,Te)|0,S=S+Math.imul(T,ft)|0,N=(N=N+Math.imul(T,Ze)|0)+Math.imul(X,ft)|0,M=M+Math.imul(X,Ze)|0;var Fe=(Z+(S=S+Math.imul($,gt)|0)|0)+((8191&amp;(N=(N=N+Math.imul($,tt)|0)+Math.imul(ee,gt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(ee,tt)|0)+(N&gt;&gt;&gt;13)|0)+(Fe&gt;&gt;&gt;26)|0,Fe&amp;=67108863,S=Math.imul(qe,et),N=(N=Math.imul(qe,Je))+Math.imul(ze,et)|0,M=Math.imul(ze,Je),S=S+Math.imul(Ue,qt)|0,N=(N=N+Math.imul(Ue,st)|0)+Math.imul(Xe,qt)|0,M=M+Math.imul(Xe,st)|0,S=S+Math.imul(je,jt)|0,N=(N=N+Math.imul(je,St)|0)+Math.imul(Pe,jt)|0,M=M+Math.imul(Pe,St)|0,S=S+Math.imul(le,Bt)|0,N=(N=N+Math.imul(le,ct)|0)+Math.imul(Ce,Bt)|0,M=M+Math.imul(Ce,ct)|0,S=S+Math.imul(ge,Ht)|0,N=(N=N+Math.imul(ge,yt)|0)+Math.imul(ye,Ht)|0,M=M+Math.imul(ye,yt)|0,S=S+Math.imul(fe,Xt)|0,N=(N=N+Math.imul(fe,Nt)|0)+Math.imul(he,Xt)|0,M=M+Math.imul(he,Nt)|0,S=S+Math.imul(de,ke)|0,N=(N=N+Math.imul(de,Te)|0)+Math.imul(oe,ke)|0,M=M+Math.imul(oe,Te)|0,S=S+Math.imul(ne,ft)|0,N=(N=N+Math.imul(ne,Ze)|0)+Math.imul(Q,ft)|0,M=M+Math.imul(Q,Ze)|0,S=S+Math.imul(T,gt)|0,N=(N=N+Math.imul(T,tt)|0)+Math.imul(X,gt)|0,M=M+Math.imul(X,tt)|0;var Se=(Z+(S=S+Math.imul($,bt)|0)|0)+((8191&amp;(N=(N=N+Math.imul($,Ot)|0)+Math.imul(ee,bt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(ee,Ot)|0)+(N&gt;&gt;&gt;13)|0)+(Se&gt;&gt;&gt;26)|0,Se&amp;=67108863,S=Math.imul(qe,qt),N=(N=Math.imul(qe,st))+Math.imul(ze,qt)|0,M=Math.imul(ze,st),S=S+Math.imul(Ue,jt)|0,N=(N=N+Math.imul(Ue,St)|0)+Math.imul(Xe,jt)|0,M=M+Math.imul(Xe,St)|0,S=S+Math.imul(je,Bt)|0,N=(N=N+Math.imul(je,ct)|0)+Math.imul(Pe,Bt)|0,M=M+Math.imul(Pe,ct)|0,S=S+Math.imul(le,Ht)|0,N=(N=N+Math.imul(le,yt)|0)+Math.imul(Ce,Ht)|0,M=M+Math.imul(Ce,yt)|0,S=S+Math.imul(ge,Xt)|0,N=(N=N+Math.imul(ge,Nt)|0)+Math.imul(ye,Xt)|0,M=M+Math.imul(ye,Nt)|0,S=S+Math.imul(fe,ke)|0,N=(N=N+Math.imul(fe,Te)|0)+Math.imul(he,ke)|0,M=M+Math.imul(he,Te)|0,S=S+Math.imul(de,ft)|0,N=(N=N+Math.imul(de,Ze)|0)+Math.imul(oe,ft)|0,M=M+Math.imul(oe,Ze)|0,S=S+Math.imul(ne,gt)|0,N=(N=N+Math.imul(ne,tt)|0)+Math.imul(Q,gt)|0,M=M+Math.imul(Q,tt)|0;var De=(Z+(S=S+Math.imul(T,bt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(T,Ot)|0)+Math.imul(X,bt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(X,Ot)|0)+(N&gt;&gt;&gt;13)|0)+(De&gt;&gt;&gt;26)|0,De&amp;=67108863,S=Math.imul(qe,jt),N=(N=Math.imul(qe,St))+Math.imul(ze,jt)|0,M=Math.imul(ze,St),S=S+Math.imul(Ue,Bt)|0,N=(N=N+Math.imul(Ue,ct)|0)+Math.imul(Xe,Bt)|0,M=M+Math.imul(Xe,ct)|0,S=S+Math.imul(je,Ht)|0,N=(N=N+Math.imul(je,yt)|0)+Math.imul(Pe,Ht)|0,M=M+Math.imul(Pe,yt)|0,S=S+Math.imul(le,Xt)|0,N=(N=N+Math.imul(le,Nt)|0)+Math.imul(Ce,Xt)|0,M=M+Math.imul(Ce,Nt)|0,S=S+Math.imul(ge,ke)|0,N=(N=N+Math.imul(ge,Te)|0)+Math.imul(ye,ke)|0,M=M+Math.imul(ye,Te)|0,S=S+Math.imul(fe,ft)|0,N=(N=N+Math.imul(fe,Ze)|0)+Math.imul(he,ft)|0,M=M+Math.imul(he,Ze)|0,S=S+Math.imul(de,gt)|0,N=(N=N+Math.imul(de,tt)|0)+Math.imul(oe,gt)|0,M=M+Math.imul(oe,tt)|0;var Be=(Z+(S=S+Math.imul(ne,bt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(ne,Ot)|0)+Math.imul(Q,bt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(Q,Ot)|0)+(N&gt;&gt;&gt;13)|0)+(Be&gt;&gt;&gt;26)|0,Be&amp;=67108863,S=Math.imul(qe,Bt),N=(N=Math.imul(qe,ct))+Math.imul(ze,Bt)|0,M=Math.imul(ze,ct),S=S+Math.imul(Ue,Ht)|0,N=(N=N+Math.imul(Ue,yt)|0)+Math.imul(Xe,Ht)|0,M=M+Math.imul(Xe,yt)|0,S=S+Math.imul(je,Xt)|0,N=(N=N+Math.imul(je,Nt)|0)+Math.imul(Pe,Xt)|0,M=M+Math.imul(Pe,Nt)|0,S=S+Math.imul(le,ke)|0,N=(N=N+Math.imul(le,Te)|0)+Math.imul(Ce,ke)|0,M=M+Math.imul(Ce,Te)|0,S=S+Math.imul(ge,ft)|0,N=(N=N+Math.imul(ge,Ze)|0)+Math.imul(ye,ft)|0,M=M+Math.imul(ye,Ze)|0,S=S+Math.imul(fe,gt)|0,N=(N=N+Math.imul(fe,tt)|0)+Math.imul(he,gt)|0,M=M+Math.imul(he,tt)|0;var Ct=(Z+(S=S+Math.imul(de,bt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(de,Ot)|0)+Math.imul(oe,bt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(oe,Ot)|0)+(N&gt;&gt;&gt;13)|0)+(Ct&gt;&gt;&gt;26)|0,Ct&amp;=67108863,S=Math.imul(qe,Ht),N=(N=Math.imul(qe,yt))+Math.imul(ze,Ht)|0,M=Math.imul(ze,yt),S=S+Math.imul(Ue,Xt)|0,N=(N=N+Math.imul(Ue,Nt)|0)+Math.imul(Xe,Xt)|0,M=M+Math.imul(Xe,Nt)|0,S=S+Math.imul(je,ke)|0,N=(N=N+Math.imul(je,Te)|0)+Math.imul(Pe,ke)|0,M=M+Math.imul(Pe,Te)|0,S=S+Math.imul(le,ft)|0,N=(N=N+Math.imul(le,Ze)|0)+Math.imul(Ce,ft)|0,M=M+Math.imul(Ce,Ze)|0,S=S+Math.imul(ge,gt)|0,N=(N=N+Math.imul(ge,tt)|0)+Math.imul(ye,gt)|0,M=M+Math.imul(ye,tt)|0;var pt=(Z+(S=S+Math.imul(fe,bt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(fe,Ot)|0)+Math.imul(he,bt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(he,Ot)|0)+(N&gt;&gt;&gt;13)|0)+(pt&gt;&gt;&gt;26)|0,pt&amp;=67108863,S=Math.imul(qe,Xt),N=(N=Math.imul(qe,Nt))+Math.imul(ze,Xt)|0,M=Math.imul(ze,Nt),S=S+Math.imul(Ue,ke)|0,N=(N=N+Math.imul(Ue,Te)|0)+Math.imul(Xe,ke)|0,M=M+Math.imul(Xe,Te)|0,S=S+Math.imul(je,ft)|0,N=(N=N+Math.imul(je,Ze)|0)+Math.imul(Pe,ft)|0,M=M+Math.imul(Pe,Ze)|0,S=S+Math.imul(le,gt)|0,N=(N=N+Math.imul(le,tt)|0)+Math.imul(Ce,gt)|0,M=M+Math.imul(Ce,tt)|0;var Et=(Z+(S=S+Math.imul(ge,bt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(ge,Ot)|0)+Math.imul(ye,bt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(ye,Ot)|0)+(N&gt;&gt;&gt;13)|0)+(Et&gt;&gt;&gt;26)|0,Et&amp;=67108863,S=Math.imul(qe,ke),N=(N=Math.imul(qe,Te))+Math.imul(ze,ke)|0,M=Math.imul(ze,Te),S=S+Math.imul(Ue,ft)|0,N=(N=N+Math.imul(Ue,Ze)|0)+Math.imul(Xe,ft)|0,M=M+Math.imul(Xe,Ze)|0,S=S+Math.imul(je,gt)|0,N=(N=N+Math.imul(je,tt)|0)+Math.imul(Pe,gt)|0,M=M+Math.imul(Pe,tt)|0;var lt=(Z+(S=S+Math.imul(le,bt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(le,Ot)|0)+Math.imul(Ce,bt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(Ce,Ot)|0)+(N&gt;&gt;&gt;13)|0)+(lt&gt;&gt;&gt;26)|0,lt&amp;=67108863,S=Math.imul(qe,ft),N=(N=Math.imul(qe,Ze))+Math.imul(ze,ft)|0,M=Math.imul(ze,Ze),S=S+Math.imul(Ue,gt)|0,N=(N=N+Math.imul(Ue,tt)|0)+Math.imul(Xe,gt)|0,M=M+Math.imul(Xe,tt)|0;var zt=(Z+(S=S+Math.imul(je,bt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(je,Ot)|0)+Math.imul(Pe,bt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(Pe,Ot)|0)+(N&gt;&gt;&gt;13)|0)+(zt&gt;&gt;&gt;26)|0,zt&amp;=67108863,S=Math.imul(qe,gt),N=(N=Math.imul(qe,tt))+Math.imul(ze,gt)|0,M=Math.imul(ze,tt);var Yt=(Z+(S=S+Math.imul(Ue,bt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(Ue,Ot)|0)+Math.imul(Xe,bt)|0))&lt;&lt;13)|0;Z=((M=M+Math.imul(Xe,Ot)|0)+(N&gt;&gt;&gt;13)|0)+(Yt&gt;&gt;&gt;26)|0,Yt&amp;=67108863;var Qt=(Z+(S=Math.imul(qe,bt))|0)+((8191&amp;(N=(N=Math.imul(qe,Ot))+Math.imul(ze,bt)|0))&lt;&lt;13)|0;return Z=((M=Math.imul(ze,Ot))+(N&gt;&gt;&gt;13)|0)+(Qt&gt;&gt;&gt;26)|0,Qt&amp;=67108863,Y[0]=ir,Y[1]=Lt,Y[2]=cr,Y[3]=or,Y[4]=Tr,Y[5]=me,Y[6]=_e,Y[7]=Ie,Y[8]=Fe,Y[9]=Se,Y[10]=De,Y[11]=Be,Y[12]=Ct,Y[13]=pt,Y[14]=Et,Y[15]=lt,Y[16]=zt,Y[17]=Yt,Y[18]=Qt,Z!==0&amp;&amp;(Y[19]=Z,k.length++),k};function O(E,j,k){k.negative=j.negative^E.negative,k.length=E.length+j.length;for(var S=0,N=0,M=0;M&lt;k.length-1;M++){var I=N;N=0;for(var B=67108863&amp;S,Y=Math.min(M,j.length-1),Z=Math.max(0,M-E.length+1);Z&lt;=Y;Z++){var ie=M-Z,$=(0|E.words[ie])*(0|j.words[Z]),ee=67108863&amp;$;B=67108863&amp;(ee=ee+B|0),N+=(I=(I=I+($/67108864|0)|0)+(ee&gt;&gt;&gt;26)|0)&gt;&gt;&gt;26,I&amp;=67108863}k.words[M]=B,S=I,I=N}return S!==0?k.words[M]=S:k.length--,k._strip()}function R(E,j,k){return O(E,j,k)}Math.imul||(C=_),s.prototype.mulTo=function(E,j){var k=this.length+E.length;return this.length===10&amp;&amp;E.length===10?C(this,E,j):k&lt;63?_(this,E,j):k&lt;1024?O(this,E,j):R(this,E,j)},s.prototype.mul=function(E){var j=new s(null);return j.words=new Array(this.length+E.length),this.mulTo(E,j)},s.prototype.mulf=function(E){var j=new s(null);return j.words=new Array(this.length+E.length),R(this,E,j)},s.prototype.imul=function(E){return this.clone().mulTo(E,this)},s.prototype.imuln=function(E){var j=E&lt;0;j&amp;&amp;(E=-E),u(typeof E==&quot;number&quot;),u(E&lt;67108864);for(var k=0,S=0;S&lt;this.length;S++){var N=(0|this.words[S])*E,M=(67108863&amp;N)+(67108863&amp;k);k&gt;&gt;=26,k+=N/67108864|0,k+=M&gt;&gt;&gt;26,this.words[S]=67108863&amp;M}return k!==0&amp;&amp;(this.words[S]=k,this.length++),j?this.ineg():this},s.prototype.muln=function(E){return this.clone().imuln(E)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(E){var j=(function(M){for(var I=new Array(M.bitLength()),B=0;B&lt;I.length;B++){var Y=B/26|0,Z=B%26;I[B]=M.words[Y]&gt;&gt;&gt;Z&amp;1}return I})(E);if(j.length===0)return new s(1);for(var k=this,S=0;S&lt;j.length&amp;&amp;j[S]===0;S++,k=k.sqr());if(++S&lt;j.length)for(var N=k.sqr();S&lt;j.length;S++,N=N.sqr())j[S]!==0&amp;&amp;(k=k.mul(N));return k},s.prototype.iushln=function(E){u(typeof E==&quot;number&quot;&amp;&amp;E&gt;=0);var j,k=E%26,S=(E-k)/26,N=67108863&gt;&gt;&gt;26-k&lt;&lt;26-k;if(k!==0){var M=0;for(j=0;j&lt;this.length;j++){var I=this.words[j]&amp;N,B=(0|this.words[j])-I&lt;&lt;k;this.words[j]=B|M,M=I&gt;&gt;&gt;26-k}M&amp;&amp;(this.words[j]=M,this.length++)}if(S!==0){for(j=this.length-1;j&gt;=0;j--)this.words[j+S]=this.words[j];for(j=0;j&lt;S;j++)this.words[j]=0;this.length+=S}return this._strip()},s.prototype.ishln=function(E){return u(this.negative===0),this.iushln(E)},s.prototype.iushrn=function(E,j,k){var S;u(typeof E==&quot;number&quot;&amp;&amp;E&gt;=0),S=j?(j-j%26)/26:0;var N=E%26,M=Math.min((E-N)/26,this.length),I=67108863^67108863&gt;&gt;&gt;N&lt;&lt;N,B=k;if(S-=M,S=Math.max(0,S),B){for(var Y=0;Y&lt;M;Y++)B.words[Y]=this.words[Y];B.length=M}if(M!==0)if(this.length&gt;M)for(this.length-=M,Y=0;Y&lt;this.length;Y++)this.words[Y]=this.words[Y+M];else this.words[0]=0,this.length=1;var Z=0;for(Y=this.length-1;Y&gt;=0&amp;&amp;(Z!==0||Y&gt;=S);Y--){var ie=0|this.words[Y];this.words[Y]=Z&lt;&lt;26-N|ie&gt;&gt;&gt;N,Z=ie&amp;I}return B&amp;&amp;Z!==0&amp;&amp;(B.words[B.length++]=Z),this.length===0&amp;&amp;(this.words[0]=0,this.length=1),this._strip()},s.prototype.ishrn=function(E,j,k){return u(this.negative===0),this.iushrn(E,j,k)},s.prototype.shln=function(E){return this.clone().ishln(E)},s.prototype.ushln=function(E){return this.clone().iushln(E)},s.prototype.shrn=function(E){return this.clone().ishrn(E)},s.prototype.ushrn=function(E){return this.clone().iushrn(E)},s.prototype.testn=function(E){u(typeof E==&quot;number&quot;&amp;&amp;E&gt;=0);var j=E%26,k=(E-j)/26,S=1&lt;&lt;j;return!(this.length&lt;=k)&amp;&amp;!!(this.words[k]&amp;S)},s.prototype.imaskn=function(E){u(typeof E==&quot;number&quot;&amp;&amp;E&gt;=0);var j=E%26,k=(E-j)/26;if(u(this.negative===0,&quot;imaskn works only with positive numbers&quot;),this.length&lt;=k)return this;if(j!==0&amp;&amp;k++,this.length=Math.min(k,this.length),j!==0){var S=67108863^67108863&gt;&gt;&gt;j&lt;&lt;j;this.words[this.length-1]&amp;=S}return this._strip()},s.prototype.maskn=function(E){return this.clone().imaskn(E)},s.prototype.iaddn=function(E){return u(typeof E==&quot;number&quot;),u(E&lt;67108864),E&lt;0?this.isubn(-E):this.negative!==0?this.length===1&amp;&amp;(0|this.words[0])&lt;=E?(this.words[0]=E-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(E),this.negative=1,this):this._iaddn(E)},s.prototype._iaddn=function(E){this.words[0]+=E;for(var j=0;j&lt;this.length&amp;&amp;this.words[j]&gt;=67108864;j++)this.words[j]-=67108864,j===this.length-1?this.words[j+1]=1:this.words[j+1]++;return this.length=Math.max(this.length,j+1),this},s.prototype.isubn=function(E){if(u(typeof E==&quot;number&quot;),u(E&lt;67108864),E&lt;0)return this.iaddn(-E);if(this.negative!==0)return this.negative=0,this.iaddn(E),this.negative=1,this;if(this.words[0]-=E,this.length===1&amp;&amp;this.words[0]&lt;0)this.words[0]=-this.words[0],this.negative=1;else for(var j=0;j&lt;this.length&amp;&amp;this.words[j]&lt;0;j++)this.words[j]+=67108864,this.words[j+1]-=1;return this._strip()},s.prototype.addn=function(E){return this.clone().iaddn(E)},s.prototype.subn=function(E){return this.clone().isubn(E)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(E,j,k){var S,N,M=E.length+k;this._expand(M);var I=0;for(S=0;S&lt;E.length;S++){N=(0|this.words[S+k])+I;var B=(0|E.words[S])*j;I=((N-=67108863&amp;B)&gt;&gt;26)-(B/67108864|0),this.words[S+k]=67108863&amp;N}for(;S&lt;this.length-k;S++)I=(N=(0|this.words[S+k])+I)&gt;&gt;26,this.words[S+k]=67108863&amp;N;if(I===0)return this._strip();for(u(I===-1),I=0,S=0;S&lt;this.length;S++)I=(N=-(0|this.words[S])+I)&gt;&gt;26,this.words[S]=67108863&amp;N;return this.negative=1,this._strip()},s.prototype._wordDiv=function(E,j){var k=(this.length,E.length),S=this.clone(),N=E,M=0|N.words[N.length-1];(k=26-this._countBits(M))!==0&amp;&amp;(N=N.ushln(k),S.iushln(k),M=0|N.words[N.length-1]);var I,B=S.length-N.length;if(j!==&quot;mod&quot;){(I=new s(null)).length=B+1,I.words=new Array(I.length);for(var Y=0;Y&lt;I.length;Y++)I.words[Y]=0}var Z=S.clone()._ishlnsubmul(N,1,B);Z.negative===0&amp;&amp;(S=Z,I&amp;&amp;(I.words[B]=1));for(var ie=B-1;ie&gt;=0;ie--){var $=67108864*(0|S.words[N.length+ie])+(0|S.words[N.length+ie-1]);for($=Math.min($/M|0,67108863),S._ishlnsubmul(N,$,ie);S.negative!==0;)$--,S.negative=0,S._ishlnsubmul(N,1,ie),S.isZero()||(S.negative^=1);I&amp;&amp;(I.words[ie]=$)}return I&amp;&amp;I._strip(),S._strip(),j!==&quot;div&quot;&amp;&amp;k!==0&amp;&amp;S.iushrn(k),{div:I||null,mod:S}},s.prototype.divmod=function(E,j,k){return u(!E.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:this.negative!==0&amp;&amp;E.negative===0?(M=this.neg().divmod(E,j),j!==&quot;mod&quot;&amp;&amp;(S=M.div.neg()),j!==&quot;div&quot;&amp;&amp;(N=M.mod.neg(),k&amp;&amp;N.negative!==0&amp;&amp;N.iadd(E)),{div:S,mod:N}):this.negative===0&amp;&amp;E.negative!==0?(M=this.divmod(E.neg(),j),j!==&quot;mod&quot;&amp;&amp;(S=M.div.neg()),{div:S,mod:M.mod}):(this.negative&amp;E.negative)!=0?(M=this.neg().divmod(E.neg(),j),j!==&quot;div&quot;&amp;&amp;(N=M.mod.neg(),k&amp;&amp;N.negative!==0&amp;&amp;N.isub(E)),{div:M.div,mod:N}):E.length&gt;this.length||this.cmp(E)&lt;0?{div:new s(0),mod:this}:E.length===1?j===&quot;div&quot;?{div:this.divn(E.words[0]),mod:null}:j===&quot;mod&quot;?{div:null,mod:new s(this.modrn(E.words[0]))}:{div:this.divn(E.words[0]),mod:new s(this.modrn(E.words[0]))}:this._wordDiv(E,j);var S,N,M},s.prototype.div=function(E){return this.divmod(E,&quot;div&quot;,!1).div},s.prototype.mod=function(E){return this.divmod(E,&quot;mod&quot;,!1).mod},s.prototype.umod=function(E){return this.divmod(E,&quot;mod&quot;,!0).mod},s.prototype.divRound=function(E){var j=this.divmod(E);if(j.mod.isZero())return j.div;var k=j.div.negative!==0?j.mod.isub(E):j.mod,S=E.ushrn(1),N=E.andln(1),M=k.cmp(S);return M&lt;0||N===1&amp;&amp;M===0?j.div:j.div.negative!==0?j.div.isubn(1):j.div.iaddn(1)},s.prototype.modrn=function(E){var j=E&lt;0;j&amp;&amp;(E=-E),u(E&lt;=67108863);for(var k=(1&lt;&lt;26)%E,S=0,N=this.length-1;N&gt;=0;N--)S=(k*S+(0|this.words[N]))%E;return j?-S:S},s.prototype.modn=function(E){return this.modrn(E)},s.prototype.idivn=function(E){var j=E&lt;0;j&amp;&amp;(E=-E),u(E&lt;=67108863);for(var k=0,S=this.length-1;S&gt;=0;S--){var N=(0|this.words[S])+67108864*k;this.words[S]=N/E|0,k=N%E}return this._strip(),j?this.ineg():this},s.prototype.divn=function(E){return this.clone().idivn(E)},s.prototype.egcd=function(E){u(E.negative===0),u(!E.isZero());var j=this,k=E.clone();j=j.negative!==0?j.umod(E):j.clone();for(var S=new s(1),N=new s(0),M=new s(0),I=new s(1),B=0;j.isEven()&amp;&amp;k.isEven();)j.iushrn(1),k.iushrn(1),++B;for(var Y=k.clone(),Z=j.clone();!j.isZero();){for(var ie=0,$=1;(j.words[0]&amp;$)==0&amp;&amp;ie&lt;26;++ie,$&lt;&lt;=1);if(ie&gt;0)for(j.iushrn(ie);ie-- &gt;0;)(S.isOdd()||N.isOdd())&amp;&amp;(S.iadd(Y),N.isub(Z)),S.iushrn(1),N.iushrn(1);for(var ee=0,z=1;(k.words[0]&amp;z)==0&amp;&amp;ee&lt;26;++ee,z&lt;&lt;=1);if(ee&gt;0)for(k.iushrn(ee);ee-- &gt;0;)(M.isOdd()||I.isOdd())&amp;&amp;(M.iadd(Y),I.isub(Z)),M.iushrn(1),I.iushrn(1);j.cmp(k)&gt;=0?(j.isub(k),S.isub(M),N.isub(I)):(k.isub(j),M.isub(S),I.isub(N))}return{a:M,b:I,gcd:k.iushln(B)}},s.prototype._invmp=function(E){u(E.negative===0),u(!E.isZero());var j=this,k=E.clone();j=j.negative!==0?j.umod(E):j.clone();for(var S,N=new s(1),M=new s(0),I=k.clone();j.cmpn(1)&gt;0&amp;&amp;k.cmpn(1)&gt;0;){for(var B=0,Y=1;(j.words[0]&amp;Y)==0&amp;&amp;B&lt;26;++B,Y&lt;&lt;=1);if(B&gt;0)for(j.iushrn(B);B-- &gt;0;)N.isOdd()&amp;&amp;N.iadd(I),N.iushrn(1);for(var Z=0,ie=1;(k.words[0]&amp;ie)==0&amp;&amp;Z&lt;26;++Z,ie&lt;&lt;=1);if(Z&gt;0)for(k.iushrn(Z);Z-- &gt;0;)M.isOdd()&amp;&amp;M.iadd(I),M.iushrn(1);j.cmp(k)&gt;=0?(j.isub(k),N.isub(M)):(k.isub(j),M.isub(N))}return(S=j.cmpn(1)===0?N:M).cmpn(0)&lt;0&amp;&amp;S.iadd(E),S},s.prototype.gcd=function(E){if(this.isZero())return E.abs();if(E.isZero())return this.abs();var j=this.clone(),k=E.clone();j.negative=0,k.negative=0;for(var S=0;j.isEven()&amp;&amp;k.isEven();S++)j.iushrn(1),k.iushrn(1);for(;;){for(;j.isEven();)j.iushrn(1);for(;k.isEven();)k.iushrn(1);var N=j.cmp(k);if(N&lt;0){var M=j;j=k,k=M}else if(N===0||k.cmpn(1)===0)break;j.isub(k)}return k.iushln(S)},s.prototype.invm=function(E){return this.egcd(E).a.umod(E)},s.prototype.isEven=function(){return(1&amp;this.words[0])==0},s.prototype.isOdd=function(){return(1&amp;this.words[0])==1},s.prototype.andln=function(E){return this.words[0]&amp;E},s.prototype.bincn=function(E){u(typeof E==&quot;number&quot;);var j=E%26,k=(E-j)/26,S=1&lt;&lt;j;if(this.length&lt;=k)return this._expand(k+1),this.words[k]|=S,this;for(var N=S,M=k;N!==0&amp;&amp;M&lt;this.length;M++){var I=0|this.words[M];N=(I+=N)&gt;&gt;&gt;26,I&amp;=67108863,this.words[M]=I}return N!==0&amp;&amp;(this.words[M]=N,this.length++),this},s.prototype.isZero=function(){return this.length===1&amp;&amp;this.words[0]===0},s.prototype.cmpn=function(E){var j,k=E&lt;0;if(this.negative!==0&amp;&amp;!k)return-1;if(this.negative===0&amp;&amp;k)return 1;if(this._strip(),this.length&gt;1)j=1;else{k&amp;&amp;(E=-E),u(E&lt;=67108863,&quot;Number is too big&quot;);var S=0|this.words[0];j=S===E?0:S&lt;E?-1:1}return this.negative!==0?0|-j:j},s.prototype.cmp=function(E){if(this.negative!==0&amp;&amp;E.negative===0)return-1;if(this.negative===0&amp;&amp;E.negative!==0)return 1;var j=this.ucmp(E);return this.negative!==0?0|-j:j},s.prototype.ucmp=function(E){if(this.length&gt;E.length)return 1;if(this.length&lt;E.length)return-1;for(var j=0,k=this.length-1;k&gt;=0;k--){var S=0|this.words[k],N=0|E.words[k];if(S!==N){S&lt;N?j=-1:S&gt;N&amp;&amp;(j=1);break}}return j},s.prototype.gtn=function(E){return this.cmpn(E)===1},s.prototype.gt=function(E){return this.cmp(E)===1},s.prototype.gten=function(E){return this.cmpn(E)&gt;=0},s.prototype.gte=function(E){return this.cmp(E)&gt;=0},s.prototype.ltn=function(E){return this.cmpn(E)===-1},s.prototype.lt=function(E){return this.cmp(E)===-1},s.prototype.lten=function(E){return this.cmpn(E)&lt;=0},s.prototype.lte=function(E){return this.cmp(E)&lt;=0},s.prototype.eqn=function(E){return this.cmpn(E)===0},s.prototype.eq=function(E){return this.cmp(E)===0},s.red=function(E){return new P(E)},s.prototype.toRed=function(E){return u(!this.red,&quot;Already a number in reduction context&quot;),u(this.negative===0,&quot;red works only with positives&quot;),E.convertTo(this)._forceRed(E)},s.prototype.fromRed=function(){return u(this.red,&quot;fromRed works only with numbers in reduction context&quot;),this.red.convertFrom(this)},s.prototype._forceRed=function(E){return this.red=E,this},s.prototype.forceRed=function(E){return u(!this.red,&quot;Already a number in reduction context&quot;),this._forceRed(E)},s.prototype.redAdd=function(E){return u(this.red,&quot;redAdd works only with red numbers&quot;),this.red.add(this,E)},s.prototype.redIAdd=function(E){return u(this.red,&quot;redIAdd works only with red numbers&quot;),this.red.iadd(this,E)},s.prototype.redSub=function(E){return u(this.red,&quot;redSub works only with red numbers&quot;),this.red.sub(this,E)},s.prototype.redISub=function(E){return u(this.red,&quot;redISub works only with red numbers&quot;),this.red.isub(this,E)},s.prototype.redShl=function(E){return u(this.red,&quot;redShl works only with red numbers&quot;),this.red.shl(this,E)},s.prototype.redMul=function(E){return u(this.red,&quot;redMul works only with red numbers&quot;),this.red._verify2(this,E),this.red.mul(this,E)},s.prototype.redIMul=function(E){return u(this.red,&quot;redMul works only with red numbers&quot;),this.red._verify2(this,E),this.red.imul(this,E)},s.prototype.redSqr=function(){return u(this.red,&quot;redSqr works only with red numbers&quot;),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return u(this.red,&quot;redISqr works only with red numbers&quot;),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return u(this.red,&quot;redSqrt works only with red numbers&quot;),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return u(this.red,&quot;redInvm works only with red numbers&quot;),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return u(this.red,&quot;redNeg works only with red numbers&quot;),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(E){return u(this.red&amp;&amp;!E.red,&quot;redPow(normalNum)&quot;),this.red._verify1(this),this.red.pow(this,E)};var H={k256:null,p224:null,p192:null,p25519:null};function L(E,j){this.name=E,this.p=new s(j,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function q(){L.call(this,&quot;k256&quot;,&quot;ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f&quot;)}function W(){L.call(this,&quot;p224&quot;,&quot;ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001&quot;)}function K(){L.call(this,&quot;p192&quot;,&quot;ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff&quot;)}function U(){L.call(this,&quot;25519&quot;,&quot;7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed&quot;)}function P(E){if(typeof E==&quot;string&quot;){var j=s._prime(E);this.m=j.p,this.prime=j}else u(E.gtn(1),&quot;modulus must be greater than 1&quot;),this.m=E,this.prime=null}function D(E){P.call(this,E),this.shift=this.m.bitLength(),this.shift%26!=0&amp;&amp;(this.shift+=26-this.shift%26),this.r=new s(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}L.prototype._tmp=function(){var E=new s(null);return E.words=new Array(Math.ceil(this.n/13)),E},L.prototype.ireduce=function(E){var j,k=E;do this.split(k,this.tmp),j=(k=(k=this.imulK(k)).iadd(this.tmp)).bitLength();while(j&gt;this.n);var S=j&lt;this.n?-1:k.ucmp(this.p);return S===0?(k.words[0]=0,k.length=1):S&gt;0?k.isub(this.p):k.strip!==void 0?k.strip():k._strip(),k},L.prototype.split=function(E,j){E.iushrn(this.n,0,j)},L.prototype.imulK=function(E){return E.imul(this.k)},o(q,L),q.prototype.split=function(E,j){for(var k=Math.min(E.length,9),S=0;S&lt;k;S++)j.words[S]=E.words[S];if(j.length=k,E.length&lt;=9)return E.words[0]=0,void(E.length=1);var N=E.words[9];for(j.words[j.length++]=4194303&amp;N,S=10;S&lt;E.length;S++){var M=0|E.words[S];E.words[S-10]=(4194303&amp;M)&lt;&lt;4|N&gt;&gt;&gt;22,N=M}N&gt;&gt;&gt;=22,E.words[S-10]=N,N===0&amp;&amp;E.length&gt;10?E.length-=10:E.length-=9},q.prototype.imulK=function(E){E.words[E.length]=0,E.words[E.length+1]=0,E.length+=2;for(var j=0,k=0;k&lt;E.length;k++){var S=0|E.words[k];j+=977*S,E.words[k]=67108863&amp;j,j=64*S+(j/67108864|0)}return E.words[E.length-1]===0&amp;&amp;(E.length--,E.words[E.length-1]===0&amp;&amp;E.length--),E},o(W,L),o(K,L),o(U,L),U.prototype.imulK=function(E){for(var j=0,k=0;k&lt;E.length;k++){var S=19*(0|E.words[k])+j,N=67108863&amp;S;S&gt;&gt;&gt;=26,E.words[k]=N,j=S}return j!==0&amp;&amp;(E.words[E.length++]=j),E},s._prime=function(E){if(H[E])return H[E];var j;if(E===&quot;k256&quot;)j=new q;else if(E===&quot;p224&quot;)j=new W;else if(E===&quot;p192&quot;)j=new K;else{if(E!==&quot;p25519&quot;)throw new Error(&quot;Unknown prime &quot;+E);j=new U}return H[E]=j,j},P.prototype._verify1=function(E){u(E.negative===0,&quot;red works only with positives&quot;),u(E.red,&quot;red works only with red numbers&quot;)},P.prototype._verify2=function(E,j){u((E.negative|j.negative)==0,&quot;red works only with positives&quot;),u(E.red&amp;&amp;E.red===j.red,&quot;red works only with red numbers&quot;)},P.prototype.imod=function(E){return this.prime?this.prime.ireduce(E)._forceRed(this):(p(E,E.umod(this.m)._forceRed(this)),E)},P.prototype.neg=function(E){return E.isZero()?E.clone():this.m.sub(E)._forceRed(this)},P.prototype.add=function(E,j){this._verify2(E,j);var k=E.add(j);return k.cmp(this.m)&gt;=0&amp;&amp;k.isub(this.m),k._forceRed(this)},P.prototype.iadd=function(E,j){this._verify2(E,j);var k=E.iadd(j);return k.cmp(this.m)&gt;=0&amp;&amp;k.isub(this.m),k},P.prototype.sub=function(E,j){this._verify2(E,j);var k=E.sub(j);return k.cmpn(0)&lt;0&amp;&amp;k.iadd(this.m),k._forceRed(this)},P.prototype.isub=function(E,j){this._verify2(E,j);var k=E.isub(j);return k.cmpn(0)&lt;0&amp;&amp;k.iadd(this.m),k},P.prototype.shl=function(E,j){return this._verify1(E),this.imod(E.ushln(j))},P.prototype.imul=function(E,j){return this._verify2(E,j),this.imod(E.imul(j))},P.prototype.mul=function(E,j){return this._verify2(E,j),this.imod(E.mul(j))},P.prototype.isqr=function(E){return this.imul(E,E.clone())},P.prototype.sqr=function(E){return this.mul(E,E)},P.prototype.sqrt=function(E){if(E.isZero())return E.clone();var j=this.m.andln(3);if(u(j%2==1),j===3){var k=this.m.add(new s(1)).iushrn(2);return this.pow(E,k)}for(var S=this.m.subn(1),N=0;!S.isZero()&amp;&amp;S.andln(1)===0;)N++,S.iushrn(1);u(!S.isZero());var M=new s(1).toRed(this),I=M.redNeg(),B=this.m.subn(1).iushrn(1),Y=this.m.bitLength();for(Y=new s(2*Y*Y).toRed(this);this.pow(Y,B).cmp(I)!==0;)Y.redIAdd(I);for(var Z=this.pow(Y,S),ie=this.pow(E,S.addn(1).iushrn(1)),$=this.pow(E,S),ee=N;$.cmp(M)!==0;){for(var z=$,T=0;z.cmp(M)!==0;T++)z=z.redSqr();u(T&lt;ee);var X=this.pow(Z,new s(1).iushln(ee-T-1));ie=ie.redMul(X),Z=X.redSqr(),$=$.redMul(Z),ee=T}return ie},P.prototype.invm=function(E){var j=E._invmp(this.m);return j.negative!==0?(j.negative=0,this.imod(j).redNeg()):this.imod(j)},P.prototype.pow=function(E,j){if(j.isZero())return new s(1).toRed(this);if(j.cmpn(1)===0)return E.clone();var k=new Array(16);k[0]=new s(1).toRed(this),k[1]=E;for(var S=2;S&lt;k.length;S++)k[S]=this.mul(k[S-1],E);var N=k[0],M=0,I=0,B=j.bitLength()%26;for(B===0&amp;&amp;(B=26),S=j.length-1;S&gt;=0;S--){for(var Y=j.words[S],Z=B-1;Z&gt;=0;Z--){var ie=Y&gt;&gt;Z&amp;1;N!==k[0]&amp;&amp;(N=this.sqr(N)),ie!==0||M!==0?(M&lt;&lt;=1,M|=ie,(++I===4||S===0&amp;&amp;Z===0)&amp;&amp;(N=this.mul(N,k[M]),I=0,M=0)):I=0}B=26}return N},P.prototype.convertTo=function(E){var j=E.umod(this.m);return j===E?j.clone():j},P.prototype.convertFrom=function(E){var j=E.clone();return j.red=null,j},s.mont=function(E){return new D(E)},o(D,P),D.prototype.convertTo=function(E){return this.imod(E.ushln(this.shift))},D.prototype.convertFrom=function(E){var j=this.imod(E.mul(this.rinv));return j.red=null,j},D.prototype.imul=function(E,j){if(E.isZero()||j.isZero())return E.words[0]=0,E.length=1,E;var k=E.imul(j),S=k.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),N=k.isub(S).iushrn(this.shift),M=N;return N.cmp(this.m)&gt;=0?M=N.isub(this.m):N.cmpn(0)&lt;0&amp;&amp;(M=N.iadd(this.m)),M._forceRed(this)},D.prototype.mul=function(E,j){if(E.isZero()||j.isZero())return new s(0)._forceRed(this);var k=E.mul(j),S=k.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),N=k.isub(S).iushrn(this.shift),M=N;return N.cmp(this.m)&gt;=0?M=N.isub(this.m):N.cmpn(0)&lt;0&amp;&amp;(M=N.iadd(this.m)),M._forceRed(this)},D.prototype.invm=function(E){return this.imod(E._invmp(this.m).mul(this.r2))._forceRed(this)}})(n===void 0||n)},{buffer:188}],187:[function(t,n,l){var i;function a(o){this.rand=o}if(n.exports=function(o){return i||(i=new a(null)),i.generate(o)},n.exports.Rand=a,a.prototype.generate=function(o){return this._rand(o)},a.prototype._rand=function(o){if(this.rand.getBytes)return this.rand.getBytes(o);for(var s=new Uint8Array(o),c=0;c&lt;s.length;c++)s[c]=this.rand.getByte();return s},typeof self==&quot;object&quot;)self.crypto&amp;&amp;self.crypto.getRandomValues?a.prototype._rand=function(o){var s=new Uint8Array(o);return self.crypto.getRandomValues(s),s}:self.msCrypto&amp;&amp;self.msCrypto.getRandomValues?a.prototype._rand=function(o){var s=new Uint8Array(o);return self.msCrypto.getRandomValues(s),s}:typeof window==&quot;object&quot;&amp;&amp;(a.prototype._rand=function(){throw new Error(&quot;Not implemented yet&quot;)});else try{var u=t(&quot;crypto&quot;);if(typeof u.randomBytes!=&quot;function&quot;)throw new Error(&quot;Not supported&quot;);a.prototype._rand=function(o){return u.randomBytes(o)}}catch{}},{crypto:188}],188:[function(t,n,l){},{}],189:[function(t,n,l){var i=t(&quot;safe-buffer&quot;).Buffer;function a(h){i.isBuffer(h)||(h=i.from(h));for(var m=h.length/4|0,p=new Array(m),v=0;v&lt;m;v++)p[v]=h.readUInt32BE(4*v);return p}function u(h){for(;0&lt;h.length;h++)h[0]=0}function o(h,m,p,v,g){for(var b,x,_,C,O=p[0],R=p[1],H=p[2],L=p[3],q=h[0]^m[0],W=h[1]^m[1],K=h[2]^m[2],U=h[3]^m[3],P=4,D=1;D&lt;g;D++)b=O[q&gt;&gt;&gt;24]^R[W&gt;&gt;&gt;16&amp;255]^H[K&gt;&gt;&gt;8&amp;255]^L[255&amp;U]^m[P++],x=O[W&gt;&gt;&gt;24]^R[K&gt;&gt;&gt;16&amp;255]^H[U&gt;&gt;&gt;8&amp;255]^L[255&amp;q]^m[P++],_=O[K&gt;&gt;&gt;24]^R[U&gt;&gt;&gt;16&amp;255]^H[q&gt;&gt;&gt;8&amp;255]^L[255&amp;W]^m[P++],C=O[U&gt;&gt;&gt;24]^R[q&gt;&gt;&gt;16&amp;255]^H[W&gt;&gt;&gt;8&amp;255]^L[255&amp;K]^m[P++],q=b,W=x,K=_,U=C;return b=(v[q&gt;&gt;&gt;24]&lt;&lt;24|v[W&gt;&gt;&gt;16&amp;255]&lt;&lt;16|v[K&gt;&gt;&gt;8&amp;255]&lt;&lt;8|v[255&amp;U])^m[P++],x=(v[W&gt;&gt;&gt;24]&lt;&lt;24|v[K&gt;&gt;&gt;16&amp;255]&lt;&lt;16|v[U&gt;&gt;&gt;8&amp;255]&lt;&lt;8|v[255&amp;q])^m[P++],_=(v[K&gt;&gt;&gt;24]&lt;&lt;24|v[U&gt;&gt;&gt;16&amp;255]&lt;&lt;16|v[q&gt;&gt;&gt;8&amp;255]&lt;&lt;8|v[255&amp;W])^m[P++],C=(v[U&gt;&gt;&gt;24]&lt;&lt;24|v[q&gt;&gt;&gt;16&amp;255]&lt;&lt;16|v[W&gt;&gt;&gt;8&amp;255]&lt;&lt;8|v[255&amp;K])^m[P++],[b&gt;&gt;&gt;=0,x&gt;&gt;&gt;=0,_&gt;&gt;&gt;=0,C&gt;&gt;&gt;=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],c=(function(){for(var h=new Array(256),m=0;m&lt;256;m++)h[m]=m&lt;128?m&lt;&lt;1:m&lt;&lt;1^283;for(var p=[],v=[],g=[[],[],[],[]],b=[[],[],[],[]],x=0,_=0,C=0;C&lt;256;++C){var O=_^_&lt;&lt;1^_&lt;&lt;2^_&lt;&lt;3^_&lt;&lt;4;O=O&gt;&gt;&gt;8^255&amp;O^99,p[x]=O,v[O]=x;var R=h[x],H=h[R],L=h[H],q=257*h[O]^16843008*O;g[0][x]=q&lt;&lt;24|q&gt;&gt;&gt;8,g[1][x]=q&lt;&lt;16|q&gt;&gt;&gt;16,g[2][x]=q&lt;&lt;8|q&gt;&gt;&gt;24,g[3][x]=q,q=16843009*L^65537*H^257*R^16843008*x,b[0][O]=q&lt;&lt;24|q&gt;&gt;&gt;8,b[1][O]=q&lt;&lt;16|q&gt;&gt;&gt;16,b[2][O]=q&lt;&lt;8|q&gt;&gt;&gt;24,b[3][O]=q,x===0?x=_=1:(x=R^h[h[h[L^R]]],_^=h[h[_]])}return{SBOX:p,INV_SBOX:v,SUB_MIX:g,INV_SUB_MIX:b}})();function f(h){this._key=a(h),this._reset()}f.blockSize=16,f.keySize=32,f.prototype.blockSize=f.blockSize,f.prototype.keySize=f.keySize,f.prototype._reset=function(){for(var h=this._key,m=h.length,p=m+6,v=4*(p+1),g=[],b=0;b&lt;m;b++)g[b]=h[b];for(b=m;b&lt;v;b++){var x=g[b-1];b%m==0?(x=x&lt;&lt;8|x&gt;&gt;&gt;24,x=c.SBOX[x&gt;&gt;&gt;24]&lt;&lt;24|c.SBOX[x&gt;&gt;&gt;16&amp;255]&lt;&lt;16|c.SBOX[x&gt;&gt;&gt;8&amp;255]&lt;&lt;8|c.SBOX[255&amp;x],x^=s[b/m|0]&lt;&lt;24):m&gt;6&amp;&amp;b%m==4&amp;&amp;(x=c.SBOX[x&gt;&gt;&gt;24]&lt;&lt;24|c.SBOX[x&gt;&gt;&gt;16&amp;255]&lt;&lt;16|c.SBOX[x&gt;&gt;&gt;8&amp;255]&lt;&lt;8|c.SBOX[255&amp;x]),g[b]=g[b-m]^x}for(var _=[],C=0;C&lt;v;C++){var O=v-C,R=g[O-(C%4?0:4)];_[C]=C&lt;4||O&lt;=4?R:c.INV_SUB_MIX[0][c.SBOX[R&gt;&gt;&gt;24]]^c.INV_SUB_MIX[1][c.SBOX[R&gt;&gt;&gt;16&amp;255]]^c.INV_SUB_MIX[2][c.SBOX[R&gt;&gt;&gt;8&amp;255]]^c.INV_SUB_MIX[3][c.SBOX[255&amp;R]]}this._nRounds=p,this._keySchedule=g,this._invKeySchedule=_},f.prototype.encryptBlockRaw=function(h){return o(h=a(h),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},f.prototype.encryptBlock=function(h){var m=this.encryptBlockRaw(h),p=i.allocUnsafe(16);return p.writeUInt32BE(m[0],0),p.writeUInt32BE(m[1],4),p.writeUInt32BE(m[2],8),p.writeUInt32BE(m[3],12),p},f.prototype.decryptBlock=function(h){var m=(h=a(h))[1];h[1]=h[3],h[3]=m;var p=o(h,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),v=i.allocUnsafe(16);return v.writeUInt32BE(p[0],0),v.writeUInt32BE(p[3],4),v.writeUInt32BE(p[2],8),v.writeUInt32BE(p[1],12),v},f.prototype.scrub=function(){u(this._keySchedule),u(this._invKeySchedule),u(this._key)},n.exports.AES=f},{&quot;safe-buffer&quot;:494}],190:[function(t,n,l){var i=t(&quot;./aes&quot;),a=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;cipher-base&quot;),o=t(&quot;inherits&quot;),s=t(&quot;./ghash&quot;),c=t(&quot;buffer-xor&quot;),f=t(&quot;./incr32&quot;);function h(m,p,v,g){u.call(this);var b=a.alloc(4,0);this._cipher=new i.AES(p);var x=this._cipher.encryptBlock(b);this._ghash=new s(x),v=(function(_,C,O){if(C.length===12)return _._finID=a.concat([C,a.from([0,0,0,1])]),a.concat([C,a.from([0,0,0,2])]);var R=new s(O),H=C.length,L=H%16;R.update(C),L&amp;&amp;(L=16-L,R.update(a.alloc(L,0))),R.update(a.alloc(8,0));var q=8*H,W=a.alloc(8);W.writeUIntBE(q,0,8),R.update(W),_._finID=R.state;var K=a.from(_._finID);return f(K),K})(this,v,x),this._prev=a.from(v),this._cache=a.allocUnsafe(0),this._secCache=a.allocUnsafe(0),this._decrypt=g,this._alen=0,this._len=0,this._mode=m,this._authTag=null,this._called=!1}o(h,u),h.prototype._update=function(m){if(!this._called&amp;&amp;this._alen){var p=16-this._alen%16;p&lt;16&amp;&amp;(p=a.alloc(p,0),this._ghash.update(p))}this._called=!0;var v=this._mode.encrypt(this,m);return this._decrypt?this._ghash.update(m):this._ghash.update(v),this._len+=m.length,v},h.prototype._final=function(){if(this._decrypt&amp;&amp;!this._authTag)throw new Error(&quot;Unsupported state or unable to authenticate data&quot;);var m=c(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&amp;&amp;(function(p,v){var g=0;p.length!==v.length&amp;&amp;g++;for(var b=Math.min(p.length,v.length),x=0;x&lt;b;++x)g+=p[x]^v[x];return g})(m,this._authTag))throw new Error(&quot;Unsupported state or unable to authenticate data&quot;);this._authTag=m,this._cipher.scrub()},h.prototype.getAuthTag=function(){if(this._decrypt||!a.isBuffer(this._authTag))throw new Error(&quot;Attempting to get auth tag in unsupported state&quot;);return this._authTag},h.prototype.setAuthTag=function(m){if(!this._decrypt)throw new Error(&quot;Attempting to set auth tag in unsupported state&quot;);this._authTag=m},h.prototype.setAAD=function(m){if(this._called)throw new Error(&quot;Attempting to set AAD in unsupported state&quot;);this._ghash.update(m),this._alen+=m.length},n.exports=h},{&quot;./aes&quot;:189,&quot;./ghash&quot;:194,&quot;./incr32&quot;:195,&quot;buffer-xor&quot;:219,&quot;cipher-base&quot;:221,inherits:440,&quot;safe-buffer&quot;:494}],191:[function(t,n,l){var i=t(&quot;./encrypter&quot;),a=t(&quot;./decrypter&quot;),u=t(&quot;./modes/list.json&quot;);l.createCipher=l.Cipher=i.createCipher,l.createCipheriv=l.Cipheriv=i.createCipheriv,l.createDecipher=l.Decipher=a.createDecipher,l.createDecipheriv=l.Decipheriv=a.createDecipheriv,l.listCiphers=l.getCiphers=function(){return Object.keys(u)}},{&quot;./decrypter&quot;:192,&quot;./encrypter&quot;:193,&quot;./modes/list.json&quot;:203}],192:[function(t,n,l){var i=t(&quot;./authCipher&quot;),a=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;./modes&quot;),o=t(&quot;./streamCipher&quot;),s=t(&quot;cipher-base&quot;),c=t(&quot;./aes&quot;),f=t(&quot;evp_bytestokey&quot;);function h(v,g,b){s.call(this),this._cache=new m,this._last=void 0,this._cipher=new c.AES(g),this._prev=a.from(b),this._mode=v,this._autopadding=!0}function m(){this.cache=a.allocUnsafe(0)}function p(v,g,b){var x=u[v.toLowerCase()];if(!x)throw new TypeError(&quot;invalid suite type&quot;);if(typeof b==&quot;string&quot;&amp;&amp;(b=a.from(b)),x.mode!==&quot;GCM&quot;&amp;&amp;b.length!==x.iv)throw new TypeError(&quot;invalid iv length &quot;+b.length);if(typeof g==&quot;string&quot;&amp;&amp;(g=a.from(g)),g.length!==x.key/8)throw new TypeError(&quot;invalid key length &quot;+g.length);return x.type===&quot;stream&quot;?new o(x.module,g,b,!0):x.type===&quot;auth&quot;?new i(x.module,g,b,!0):new h(x.module,g,b)}t(&quot;inherits&quot;)(h,s),h.prototype._update=function(v){var g,b;this._cache.add(v);for(var x=[];g=this._cache.get(this._autopadding);)b=this._mode.decrypt(this,g),x.push(b);return a.concat(x)},h.prototype._final=function(){var v=this._cache.flush();if(this._autopadding)return(function(g){var b=g[15];if(b&lt;1||b&gt;16)throw new Error(&quot;unable to decrypt data&quot;);for(var x=-1;++x&lt;b;)if(g[x+(16-b)]!==b)throw new Error(&quot;unable to decrypt data&quot;);if(b!==16)return g.slice(0,16-b)})(this._mode.decrypt(this,v));if(v)throw new Error(&quot;data not multiple of block length&quot;)},h.prototype.setAutoPadding=function(v){return this._autopadding=!!v,this},m.prototype.add=function(v){this.cache=a.concat([this.cache,v])},m.prototype.get=function(v){var g;if(v){if(this.cache.length&gt;16)return g=this.cache.slice(0,16),this.cache=this.cache.slice(16),g}else if(this.cache.length&gt;=16)return g=this.cache.slice(0,16),this.cache=this.cache.slice(16),g;return null},m.prototype.flush=function(){if(this.cache.length)return this.cache},l.createDecipher=function(v,g){var b=u[v.toLowerCase()];if(!b)throw new TypeError(&quot;invalid suite type&quot;);var x=f(g,!1,b.key,b.iv);return p(v,x.key,x.iv)},l.createDecipheriv=p},{&quot;./aes&quot;:189,&quot;./authCipher&quot;:190,&quot;./modes&quot;:202,&quot;./streamCipher&quot;:205,&quot;cipher-base&quot;:221,evp_bytestokey:423,inherits:440,&quot;safe-buffer&quot;:494}],193:[function(t,n,l){var i=t(&quot;./modes&quot;),a=t(&quot;./authCipher&quot;),u=t(&quot;safe-buffer&quot;).Buffer,o=t(&quot;./streamCipher&quot;),s=t(&quot;cipher-base&quot;),c=t(&quot;./aes&quot;),f=t(&quot;evp_bytestokey&quot;);function h(g,b,x){s.call(this),this._cache=new p,this._cipher=new c.AES(b),this._prev=u.from(x),this._mode=g,this._autopadding=!0}t(&quot;inherits&quot;)(h,s),h.prototype._update=function(g){var b,x;this._cache.add(g);for(var _=[];b=this._cache.get();)x=this._mode.encrypt(this,b),_.push(x);return u.concat(_)};var m=u.alloc(16,16);function p(){this.cache=u.allocUnsafe(0)}function v(g,b,x){var _=i[g.toLowerCase()];if(!_)throw new TypeError(&quot;invalid suite type&quot;);if(typeof b==&quot;string&quot;&amp;&amp;(b=u.from(b)),b.length!==_.key/8)throw new TypeError(&quot;invalid key length &quot;+b.length);if(typeof x==&quot;string&quot;&amp;&amp;(x=u.from(x)),_.mode!==&quot;GCM&quot;&amp;&amp;x.length!==_.iv)throw new TypeError(&quot;invalid iv length &quot;+x.length);return _.type===&quot;stream&quot;?new o(_.module,b,x):_.type===&quot;auth&quot;?new a(_.module,b,x):new h(_.module,b,x)}h.prototype._final=function(){var g=this._cache.flush();if(this._autopadding)return g=this._mode.encrypt(this,g),this._cipher.scrub(),g;if(!g.equals(m))throw this._cipher.scrub(),new Error(&quot;data not multiple of block length&quot;)},h.prototype.setAutoPadding=function(g){return this._autopadding=!!g,this},p.prototype.add=function(g){this.cache=u.concat([this.cache,g])},p.prototype.get=function(){if(this.cache.length&gt;15){var g=this.cache.slice(0,16);return this.cache=this.cache.slice(16),g}return null},p.prototype.flush=function(){for(var g=16-this.cache.length,b=u.allocUnsafe(g),x=-1;++x&lt;g;)b.writeUInt8(g,x);return u.concat([this.cache,b])},l.createCipheriv=v,l.createCipher=function(g,b){var x=i[g.toLowerCase()];if(!x)throw new TypeError(&quot;invalid suite type&quot;);var _=f(b,!1,x.key,x.iv);return v(g,_.key,_.iv)}},{&quot;./aes&quot;:189,&quot;./authCipher&quot;:190,&quot;./modes&quot;:202,&quot;./streamCipher&quot;:205,&quot;cipher-base&quot;:221,evp_bytestokey:423,inherits:440,&quot;safe-buffer&quot;:494}],194:[function(t,n,l){var i=t(&quot;safe-buffer&quot;).Buffer,a=i.alloc(16,0);function u(s){var c=i.allocUnsafe(16);return c.writeUInt32BE(s[0]&gt;&gt;&gt;0,0),c.writeUInt32BE(s[1]&gt;&gt;&gt;0,4),c.writeUInt32BE(s[2]&gt;&gt;&gt;0,8),c.writeUInt32BE(s[3]&gt;&gt;&gt;0,12),c}function o(s){this.h=s,this.state=i.alloc(16,0),this.cache=i.allocUnsafe(0)}o.prototype.ghash=function(s){for(var c=-1;++c&lt;s.length;)this.state[c]^=s[c];this._multiply()},o.prototype._multiply=function(){for(var s,c,f,h=[(s=this.h).readUInt32BE(0),s.readUInt32BE(4),s.readUInt32BE(8),s.readUInt32BE(12)],m=[0,0,0,0],p=-1;++p&lt;128;){for((this.state[~~(p/8)]&amp;1&lt;&lt;7-p%8)!=0&amp;&amp;(m[0]^=h[0],m[1]^=h[1],m[2]^=h[2],m[3]^=h[3]),f=(1&amp;h[3])!=0,c=3;c&gt;0;c--)h[c]=h[c]&gt;&gt;&gt;1|(1&amp;h[c-1])&lt;&lt;31;h[0]=h[0]&gt;&gt;&gt;1,f&amp;&amp;(h[0]=h[0]^225&lt;&lt;24)}this.state=u(m)},o.prototype.update=function(s){var c;for(this.cache=i.concat([this.cache,s]);this.cache.length&gt;=16;)c=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(c)},o.prototype.final=function(s,c){return this.cache.length&amp;&amp;this.ghash(i.concat([this.cache,a],16)),this.ghash(u([0,s,0,c])),this.state},n.exports=o},{&quot;safe-buffer&quot;:494}],195:[function(t,n,l){n.exports=function(i){for(var a,u=i.length;u--;){if((a=i.readUInt8(u))!==255){a++,i.writeUInt8(a,u);break}i.writeUInt8(0,u)}}},{}],196:[function(t,n,l){var i=t(&quot;buffer-xor&quot;);l.encrypt=function(a,u){var o=i(u,a._prev);return a._prev=a._cipher.encryptBlock(o),a._prev},l.decrypt=function(a,u){var o=a._prev;a._prev=u;var s=a._cipher.decryptBlock(u);return i(s,o)}},{&quot;buffer-xor&quot;:219}],197:[function(t,n,l){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;buffer-xor&quot;);function u(o,s,c){var f=s.length,h=a(s,o._cache);return o._cache=o._cache.slice(f),o._prev=i.concat([o._prev,c?s:h]),h}l.encrypt=function(o,s,c){for(var f,h=i.allocUnsafe(0);s.length;){if(o._cache.length===0&amp;&amp;(o._cache=o._cipher.encryptBlock(o._prev),o._prev=i.allocUnsafe(0)),!(o._cache.length&lt;=s.length)){h=i.concat([h,u(o,s,c)]);break}f=o._cache.length,h=i.concat([h,u(o,s.slice(0,f),c)]),s=s.slice(f)}return h}},{&quot;buffer-xor&quot;:219,&quot;safe-buffer&quot;:494}],198:[function(t,n,l){var i=t(&quot;safe-buffer&quot;).Buffer;function a(o,s,c){for(var f,h,m=-1,p=0;++m&lt;8;)f=s&amp;1&lt;&lt;7-m?128:0,p+=(128&amp;(h=o._cipher.encryptBlock(o._prev)[0]^f))&gt;&gt;m%8,o._prev=u(o._prev,c?f:h);return p}function u(o,s){var c=o.length,f=-1,h=i.allocUnsafe(o.length);for(o=i.concat([o,i.from([s])]);++f&lt;c;)h[f]=o[f]&lt;&lt;1|o[f+1]&gt;&gt;7;return h}l.encrypt=function(o,s,c){for(var f=s.length,h=i.allocUnsafe(f),m=-1;++m&lt;f;)h[m]=a(o,s[m],c);return h}},{&quot;safe-buffer&quot;:494}],199:[function(t,n,l){var i=t(&quot;safe-buffer&quot;).Buffer;function a(u,o,s){var c=u._cipher.encryptBlock(u._prev)[0]^o;return u._prev=i.concat([u._prev.slice(1),i.from([s?o:c])]),c}l.encrypt=function(u,o,s){for(var c=o.length,f=i.allocUnsafe(c),h=-1;++h&lt;c;)f[h]=a(u,o[h],s);return f}},{&quot;safe-buffer&quot;:494}],200:[function(t,n,l){var i=t(&quot;buffer-xor&quot;),a=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;../incr32&quot;);function o(s){var c=s._cipher.encryptBlockRaw(s._prev);return u(s._prev),c}l.encrypt=function(s,c){var f=Math.ceil(c.length/16),h=s._cache.length;s._cache=a.concat([s._cache,a.allocUnsafe(16*f)]);for(var m=0;m&lt;f;m++){var p=o(s),v=h+16*m;s._cache.writeUInt32BE(p[0],v+0),s._cache.writeUInt32BE(p[1],v+4),s._cache.writeUInt32BE(p[2],v+8),s._cache.writeUInt32BE(p[3],v+12)}var g=s._cache.slice(0,c.length);return s._cache=s._cache.slice(c.length),i(c,g)}},{&quot;../incr32&quot;:195,&quot;buffer-xor&quot;:219,&quot;safe-buffer&quot;:494}],201:[function(t,n,l){l.encrypt=function(i,a){return i._cipher.encryptBlock(a)},l.decrypt=function(i,a){return i._cipher.decryptBlock(a)}},{}],202:[function(t,n,l){var i={ECB:t(&quot;./ecb&quot;),CBC:t(&quot;./cbc&quot;),CFB:t(&quot;./cfb&quot;),CFB8:t(&quot;./cfb8&quot;),CFB1:t(&quot;./cfb1&quot;),OFB:t(&quot;./ofb&quot;),CTR:t(&quot;./ctr&quot;),GCM:t(&quot;./ctr&quot;)},a=t(&quot;./list.json&quot;);for(var u in a)a[u].module=i[a[u].mode];n.exports=a},{&quot;./cbc&quot;:196,&quot;./cfb&quot;:197,&quot;./cfb1&quot;:198,&quot;./cfb8&quot;:199,&quot;./ctr&quot;:200,&quot;./ecb&quot;:201,&quot;./list.json&quot;:203,&quot;./ofb&quot;:204}],203:[function(t,n,l){n.exports={&quot;aes-128-ecb&quot;:{cipher:&quot;AES&quot;,key:128,iv:0,mode:&quot;ECB&quot;,type:&quot;block&quot;},&quot;aes-192-ecb&quot;:{cipher:&quot;AES&quot;,key:192,iv:0,mode:&quot;ECB&quot;,type:&quot;block&quot;},&quot;aes-256-ecb&quot;:{cipher:&quot;AES&quot;,key:256,iv:0,mode:&quot;ECB&quot;,type:&quot;block&quot;},&quot;aes-128-cbc&quot;:{cipher:&quot;AES&quot;,key:128,iv:16,mode:&quot;CBC&quot;,type:&quot;block&quot;},&quot;aes-192-cbc&quot;:{cipher:&quot;AES&quot;,key:192,iv:16,mode:&quot;CBC&quot;,type:&quot;block&quot;},&quot;aes-256-cbc&quot;:{cipher:&quot;AES&quot;,key:256,iv:16,mode:&quot;CBC&quot;,type:&quot;block&quot;},aes128:{cipher:&quot;AES&quot;,key:128,iv:16,mode:&quot;CBC&quot;,type:&quot;block&quot;},aes192:{cipher:&quot;AES&quot;,key:192,iv:16,mode:&quot;CBC&quot;,type:&quot;block&quot;},aes256:{cipher:&quot;AES&quot;,key:256,iv:16,mode:&quot;CBC&quot;,type:&quot;block&quot;},&quot;aes-128-cfb&quot;:{cipher:&quot;AES&quot;,key:128,iv:16,mode:&quot;CFB&quot;,type:&quot;stream&quot;},&quot;aes-192-cfb&quot;:{cipher:&quot;AES&quot;,key:192,iv:16,mode:&quot;CFB&quot;,type:&quot;stream&quot;},&quot;aes-256-cfb&quot;:{cipher:&quot;AES&quot;,key:256,iv:16,mode:&quot;CFB&quot;,type:&quot;stream&quot;},&quot;aes-128-cfb8&quot;:{cipher:&quot;AES&quot;,key:128,iv:16,mode:&quot;CFB8&quot;,type:&quot;stream&quot;},&quot;aes-192-cfb8&quot;:{cipher:&quot;AES&quot;,key:192,iv:16,mode:&quot;CFB8&quot;,type:&quot;stream&quot;},&quot;aes-256-cfb8&quot;:{cipher:&quot;AES&quot;,key:256,iv:16,mode:&quot;CFB8&quot;,type:&quot;stream&quot;},&quot;aes-128-cfb1&quot;:{cipher:&quot;AES&quot;,key:128,iv:16,mode:&quot;CFB1&quot;,type:&quot;stream&quot;},&quot;aes-192-cfb1&quot;:{cipher:&quot;AES&quot;,key:192,iv:16,mode:&quot;CFB1&quot;,type:&quot;stream&quot;},&quot;aes-256-cfb1&quot;:{cipher:&quot;AES&quot;,key:256,iv:16,mode:&quot;CFB1&quot;,type:&quot;stream&quot;},&quot;aes-128-ofb&quot;:{cipher:&quot;AES&quot;,key:128,iv:16,mode:&quot;OFB&quot;,type:&quot;stream&quot;},&quot;aes-192-ofb&quot;:{cipher:&quot;AES&quot;,key:192,iv:16,mode:&quot;OFB&quot;,type:&quot;stream&quot;},&quot;aes-256-ofb&quot;:{cipher:&quot;AES&quot;,key:256,iv:16,mode:&quot;OFB&quot;,type:&quot;stream&quot;},&quot;aes-128-ctr&quot;:{cipher:&quot;AES&quot;,key:128,iv:16,mode:&quot;CTR&quot;,type:&quot;stream&quot;},&quot;aes-192-ctr&quot;:{cipher:&quot;AES&quot;,key:192,iv:16,mode:&quot;CTR&quot;,type:&quot;stream&quot;},&quot;aes-256-ctr&quot;:{cipher:&quot;AES&quot;,key:256,iv:16,mode:&quot;CTR&quot;,type:&quot;stream&quot;},&quot;aes-128-gcm&quot;:{cipher:&quot;AES&quot;,key:128,iv:12,mode:&quot;GCM&quot;,type:&quot;auth&quot;},&quot;aes-192-gcm&quot;:{cipher:&quot;AES&quot;,key:192,iv:12,mode:&quot;GCM&quot;,type:&quot;auth&quot;},&quot;aes-256-gcm&quot;:{cipher:&quot;AES&quot;,key:256,iv:12,mode:&quot;GCM&quot;,type:&quot;auth&quot;}}},{}],204:[function(t,n,l){(function(i){(function(){var a=t(&quot;buffer-xor&quot;);function u(o){return o._prev=o._cipher.encryptBlock(o._prev),o._prev}l.encrypt=function(o,s){for(;o._cache.length&lt;s.length;)o._cache=i.concat([o._cache,u(o)]);var c=o._cache.slice(0,s.length);return o._cache=o._cache.slice(s.length),a(s,c)}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{buffer:220,&quot;buffer-xor&quot;:219}],205:[function(t,n,l){var i=t(&quot;./aes&quot;),a=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;cipher-base&quot;);function o(s,c,f,h){u.call(this),this._cipher=new i.AES(c),this._prev=a.from(f),this._cache=a.allocUnsafe(0),this._secCache=a.allocUnsafe(0),this._decrypt=h,this._mode=s}t(&quot;inherits&quot;)(o,u),o.prototype._update=function(s){return this._mode.encrypt(this,s,this._decrypt)},o.prototype._final=function(){this._cipher.scrub()},n.exports=o},{&quot;./aes&quot;:189,&quot;cipher-base&quot;:221,inherits:440,&quot;safe-buffer&quot;:494}],206:[function(t,n,l){var i=t(&quot;browserify-des&quot;),a=t(&quot;browserify-aes/browser&quot;),u=t(&quot;browserify-aes/modes&quot;),o=t(&quot;browserify-des/modes&quot;),s=t(&quot;evp_bytestokey&quot;);function c(h,m,p){if(h=h.toLowerCase(),u[h])return a.createCipheriv(h,m,p);if(o[h])return new i({key:m,iv:p,mode:h});throw new TypeError(&quot;invalid suite type&quot;)}function f(h,m,p){if(h=h.toLowerCase(),u[h])return a.createDecipheriv(h,m,p);if(o[h])return new i({key:m,iv:p,mode:h,decrypt:!0});throw new TypeError(&quot;invalid suite type&quot;)}l.createCipher=l.Cipher=function(h,m){var p,v;if(h=h.toLowerCase(),u[h])p=u[h].key,v=u[h].iv;else{if(!o[h])throw new TypeError(&quot;invalid suite type&quot;);p=8*o[h].key,v=o[h].iv}var g=s(m,!1,p,v);return c(h,g.key,g.iv)},l.createCipheriv=l.Cipheriv=c,l.createDecipher=l.Decipher=function(h,m){var p,v;if(h=h.toLowerCase(),u[h])p=u[h].key,v=u[h].iv;else{if(!o[h])throw new TypeError(&quot;invalid suite type&quot;);p=8*o[h].key,v=o[h].iv}var g=s(m,!1,p,v);return f(h,g.key,g.iv)},l.createDecipheriv=l.Decipheriv=f,l.listCiphers=l.getCiphers=function(){return Object.keys(o).concat(a.getCiphers())}},{&quot;browserify-aes/browser&quot;:191,&quot;browserify-aes/modes&quot;:202,&quot;browserify-des&quot;:207,&quot;browserify-des/modes&quot;:208,evp_bytestokey:423}],207:[function(t,n,l){var i=t(&quot;cipher-base&quot;),a=t(&quot;des.js&quot;),u=t(&quot;inherits&quot;),o=t(&quot;safe-buffer&quot;).Buffer,s={&quot;des-ede3-cbc&quot;:a.CBC.instantiate(a.EDE),&quot;des-ede3&quot;:a.EDE,&quot;des-ede-cbc&quot;:a.CBC.instantiate(a.EDE),&quot;des-ede&quot;:a.EDE,&quot;des-cbc&quot;:a.CBC.instantiate(a.DES),&quot;des-ecb&quot;:a.DES};function c(f){i.call(this);var h,m=f.mode.toLowerCase(),p=s[m];h=f.decrypt?&quot;decrypt&quot;:&quot;encrypt&quot;;var v=f.key;o.isBuffer(v)||(v=o.from(v)),m!==&quot;des-ede&quot;&amp;&amp;m!==&quot;des-ede-cbc&quot;||(v=o.concat([v,v.slice(0,8)]));var g=f.iv;o.isBuffer(g)||(g=o.from(g)),this._des=p.create({key:v,iv:g,type:h})}s.des=s[&quot;des-cbc&quot;],s.des3=s[&quot;des-ede3-cbc&quot;],n.exports=c,u(c,i),c.prototype._update=function(f){return o.from(this._des.update(f))},c.prototype._final=function(){return o.from(this._des.final())}},{&quot;cipher-base&quot;:221,&quot;des.js&quot;:394,inherits:440,&quot;safe-buffer&quot;:494}],208:[function(t,n,l){l[&quot;des-ecb&quot;]={key:8,iv:0},l[&quot;des-cbc&quot;]=l.des={key:8,iv:8},l[&quot;des-ede3-cbc&quot;]=l.des3={key:24,iv:8},l[&quot;des-ede3&quot;]={key:24,iv:0},l[&quot;des-ede-cbc&quot;]={key:16,iv:8},l[&quot;des-ede&quot;]={key:16,iv:0}},{}],209:[function(t,n,l){(function(i){(function(){var a=t(&quot;bn.js&quot;),u=t(&quot;randombytes&quot;);function o(c){var f,h=c.modulus.byteLength();do f=new a(u(h));while(f.cmp(c.modulus)&gt;=0||!f.umod(c.prime1)||!f.umod(c.prime2));return f}function s(c,f){var h=(function(H){var L=o(H);return{blinder:L.toRed(a.mont(H.modulus)).redPow(new a(H.publicExponent)).fromRed(),unblinder:L.invm(H.modulus)}})(f),m=f.modulus.byteLength(),p=new a(c).mul(h.blinder).umod(f.modulus),v=p.toRed(a.mont(f.prime1)),g=p.toRed(a.mont(f.prime2)),b=f.coefficient,x=f.prime1,_=f.prime2,C=v.redPow(f.exponent1).fromRed(),O=g.redPow(f.exponent2).fromRed(),R=C.isub(O).imul(b).umod(x).imul(_);return O.iadd(R).imul(h.unblinder).umod(f.modulus).toArrayLike(i,&quot;be&quot;,m)}s.getr=o,n.exports=s}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;bn.js&quot;:186,buffer:220,randombytes:475}],210:[function(t,n,l){n.exports=t(&quot;./browser/algorithms.json&quot;)},{&quot;./browser/algorithms.json&quot;:211}],211:[function(t,n,l){n.exports={sha224WithRSAEncryption:{sign:&quot;rsa&quot;,hash:&quot;sha224&quot;,id:&quot;302d300d06096086480165030402040500041c&quot;},&quot;RSA-SHA224&quot;:{sign:&quot;ecdsa/rsa&quot;,hash:&quot;sha224&quot;,id:&quot;302d300d06096086480165030402040500041c&quot;},sha256WithRSAEncryption:{sign:&quot;rsa&quot;,hash:&quot;sha256&quot;,id:&quot;3031300d060960864801650304020105000420&quot;},&quot;RSA-SHA256&quot;:{sign:&quot;ecdsa/rsa&quot;,hash:&quot;sha256&quot;,id:&quot;3031300d060960864801650304020105000420&quot;},sha384WithRSAEncryption:{sign:&quot;rsa&quot;,hash:&quot;sha384&quot;,id:&quot;3041300d060960864801650304020205000430&quot;},&quot;RSA-SHA384&quot;:{sign:&quot;ecdsa/rsa&quot;,hash:&quot;sha384&quot;,id:&quot;3041300d060960864801650304020205000430&quot;},sha512WithRSAEncryption:{sign:&quot;rsa&quot;,hash:&quot;sha512&quot;,id:&quot;3051300d060960864801650304020305000440&quot;},&quot;RSA-SHA512&quot;:{sign:&quot;ecdsa/rsa&quot;,hash:&quot;sha512&quot;,id:&quot;3051300d060960864801650304020305000440&quot;},&quot;RSA-SHA1&quot;:{sign:&quot;rsa&quot;,hash:&quot;sha1&quot;,id:&quot;3021300906052b0e03021a05000414&quot;},&quot;ecdsa-with-SHA1&quot;:{sign:&quot;ecdsa&quot;,hash:&quot;sha1&quot;,id:&quot;&quot;},sha256:{sign:&quot;ecdsa&quot;,hash:&quot;sha256&quot;,id:&quot;&quot;},sha224:{sign:&quot;ecdsa&quot;,hash:&quot;sha224&quot;,id:&quot;&quot;},sha384:{sign:&quot;ecdsa&quot;,hash:&quot;sha384&quot;,id:&quot;&quot;},sha512:{sign:&quot;ecdsa&quot;,hash:&quot;sha512&quot;,id:&quot;&quot;},&quot;DSA-SHA&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha1&quot;,id:&quot;&quot;},&quot;DSA-SHA1&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha1&quot;,id:&quot;&quot;},DSA:{sign:&quot;dsa&quot;,hash:&quot;sha1&quot;,id:&quot;&quot;},&quot;DSA-WITH-SHA224&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha224&quot;,id:&quot;&quot;},&quot;DSA-SHA224&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha224&quot;,id:&quot;&quot;},&quot;DSA-WITH-SHA256&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha256&quot;,id:&quot;&quot;},&quot;DSA-SHA256&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha256&quot;,id:&quot;&quot;},&quot;DSA-WITH-SHA384&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha384&quot;,id:&quot;&quot;},&quot;DSA-SHA384&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha384&quot;,id:&quot;&quot;},&quot;DSA-WITH-SHA512&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha512&quot;,id:&quot;&quot;},&quot;DSA-SHA512&quot;:{sign:&quot;dsa&quot;,hash:&quot;sha512&quot;,id:&quot;&quot;},&quot;DSA-RIPEMD160&quot;:{sign:&quot;dsa&quot;,hash:&quot;rmd160&quot;,id:&quot;&quot;},ripemd160WithRSA:{sign:&quot;rsa&quot;,hash:&quot;rmd160&quot;,id:&quot;3021300906052b2403020105000414&quot;},&quot;RSA-RIPEMD160&quot;:{sign:&quot;rsa&quot;,hash:&quot;rmd160&quot;,id:&quot;3021300906052b2403020105000414&quot;},md5WithRSAEncryption:{sign:&quot;rsa&quot;,hash:&quot;md5&quot;,id:&quot;3020300c06082a864886f70d020505000410&quot;},&quot;RSA-MD5&quot;:{sign:&quot;rsa&quot;,hash:&quot;md5&quot;,id:&quot;3020300c06082a864886f70d020505000410&quot;}}},{}],212:[function(t,n,l){n.exports={&quot;1.3.132.0.10&quot;:&quot;secp256k1&quot;,&quot;1.3.132.0.33&quot;:&quot;p224&quot;,&quot;1.2.840.10045.3.1.1&quot;:&quot;p192&quot;,&quot;1.2.840.10045.3.1.7&quot;:&quot;p256&quot;,&quot;1.3.132.0.34&quot;:&quot;p384&quot;,&quot;1.3.132.0.35&quot;:&quot;p521&quot;}},{}],213:[function(t,n,l){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;create-hash&quot;),u=t(&quot;readable-stream&quot;),o=t(&quot;inherits&quot;),s=t(&quot;./sign&quot;),c=t(&quot;./verify&quot;),f=t(&quot;./algorithms.json&quot;);function h(g){u.Writable.call(this);var b=f[g];if(!b)throw new Error(&quot;Unknown message digest&quot;);this._hashType=b.hash,this._hash=a(b.hash),this._tag=b.id,this._signType=b.sign}function m(g){u.Writable.call(this);var b=f[g];if(!b)throw new Error(&quot;Unknown message digest&quot;);this._hash=a(b.hash),this._tag=b.id,this._signType=b.sign}function p(g){return new h(g)}function v(g){return new m(g)}Object.keys(f).forEach((function(g){f[g].id=i.from(f[g].id,&quot;hex&quot;),f[g.toLowerCase()]=f[g]})),o(h,u.Writable),h.prototype._write=function(g,b,x){this._hash.update(g),x()},h.prototype.update=function(g,b){return typeof g==&quot;string&quot;&amp;&amp;(g=i.from(g,b)),this._hash.update(g),this},h.prototype.sign=function(g,b){this.end();var x=this._hash.digest(),_=s(x,g,this._hashType,this._signType,this._tag);return b?_.toString(b):_},o(m,u.Writable),m.prototype._write=function(g,b,x){this._hash.update(g),x()},m.prototype.update=function(g,b){return typeof g==&quot;string&quot;&amp;&amp;(g=i.from(g,b)),this._hash.update(g),this},m.prototype.verify=function(g,b,x){typeof b==&quot;string&quot;&amp;&amp;(b=i.from(b,x)),this.end();var _=this._hash.digest();return c(b,_,g,this._signType,this._tag)},n.exports={Sign:p,Verify:v,createSign:p,createVerify:v}},{&quot;./algorithms.json&quot;:211,&quot;./sign&quot;:214,&quot;./verify&quot;:215,&quot;create-hash&quot;:386,inherits:440,&quot;readable-stream&quot;:491,&quot;safe-buffer&quot;:494}],214:[function(t,n,l){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;create-hmac&quot;),u=t(&quot;browserify-rsa&quot;),o=t(&quot;elliptic&quot;).ec,s=t(&quot;bn.js&quot;),c=t(&quot;parse-asn1&quot;),f=t(&quot;./curves.json&quot;);function h(g,b,x,_){if((g=i.from(g.toArray())).length&lt;b.byteLength()){var C=i.alloc(b.byteLength()-g.length);g=i.concat([C,g])}var O=x.length,R=(function(q,W){q=(q=m(q,W)).mod(W);var K=i.from(q.toArray());if(K.length&lt;W.byteLength()){var U=i.alloc(W.byteLength()-K.length);K=i.concat([U,K])}return K})(x,b),H=i.alloc(O);H.fill(1);var L=i.alloc(O);return L=a(_,L).update(H).update(i.from([0])).update(g).update(R).digest(),H=a(_,L).update(H).digest(),{k:L=a(_,L).update(H).update(i.from([1])).update(g).update(R).digest(),v:H=a(_,L).update(H).digest()}}function m(g,b){var x=new s(g),_=(g.length&lt;&lt;3)-b.bitLength();return _&gt;0&amp;&amp;x.ishrn(_),x}function p(g,b,x){var _,C;do{for(_=i.alloc(0);8*_.length&lt;g.bitLength();)b.v=a(x,b.k).update(b.v).digest(),_=i.concat([_,b.v]);C=m(_,g),b.k=a(x,b.k).update(b.v).update(i.from([0])).digest(),b.v=a(x,b.k).update(b.v).digest()}while(C.cmp(g)!==-1);return C}function v(g,b,x,_){return g.toRed(s.mont(x)).redPow(b).fromRed().mod(_)}n.exports=function(g,b,x,_,C){var O=c(b);if(O.curve){if(_!==&quot;ecdsa&quot;&amp;&amp;_!==&quot;ecdsa/rsa&quot;)throw new Error(&quot;wrong private key type&quot;);return(function(q,W){var K=f[W.curve.join(&quot;.&quot;)];if(!K)throw new Error(&quot;unknown curve &quot;+W.curve.join(&quot;.&quot;));var U=new o(K).keyFromPrivate(W.privateKey).sign(q);return i.from(U.toDER())})(g,O)}if(O.type===&quot;dsa&quot;){if(_!==&quot;dsa&quot;)throw new Error(&quot;wrong private key type&quot;);return(function(q,W,K){for(var U,P=W.params.priv_key,D=W.params.p,E=W.params.q,j=W.params.g,k=new s(0),S=m(q,E).mod(E),N=!1,M=h(P,E,q,K);N===!1;)U=p(E,M,K),k=v(j,U,D,E),(N=U.invm(E).imul(S.add(P.mul(k))).mod(E)).cmpn(0)===0&amp;&amp;(N=!1,k=new s(0));return(function(I,B){I=I.toArray(),B=B.toArray(),128&amp;I[0]&amp;&amp;(I=[0].concat(I)),128&amp;B[0]&amp;&amp;(B=[0].concat(B));var Y=[48,I.length+B.length+4,2,I.length];return Y=Y.concat(I,[2,B.length],B),i.from(Y)})(k,N)})(g,O,x)}if(_!==&quot;rsa&quot;&amp;&amp;_!==&quot;ecdsa/rsa&quot;)throw new Error(&quot;wrong private key type&quot;);g=i.concat([C,g]);for(var R=O.modulus.byteLength(),H=[0,1];g.length+H.length+1&lt;R;)H.push(255);H.push(0);for(var L=-1;++L&lt;g.length;)H.push(g[L]);return u(H,O)},n.exports.getKey=h,n.exports.makeKey=p},{&quot;./curves.json&quot;:212,&quot;bn.js&quot;:186,&quot;browserify-rsa&quot;:209,&quot;create-hmac&quot;:388,elliptic:405,&quot;parse-asn1&quot;:459,&quot;safe-buffer&quot;:494}],215:[function(t,n,l){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;bn.js&quot;),u=t(&quot;elliptic&quot;).ec,o=t(&quot;parse-asn1&quot;),s=t(&quot;./curves.json&quot;);function c(f,h){if(f.cmpn(0)&lt;=0)throw new Error(&quot;invalid sig&quot;);if(f.cmp(h)&gt;=h)throw new Error(&quot;invalid sig&quot;)}n.exports=function(f,h,m,p,v){var g=o(m);if(g.type===&quot;ec&quot;){if(p!==&quot;ecdsa&quot;&amp;&amp;p!==&quot;ecdsa/rsa&quot;)throw new Error(&quot;wrong public key type&quot;);return(function(H,L,q){var W=s[q.data.algorithm.curve.join(&quot;.&quot;)];if(!W)throw new Error(&quot;unknown curve &quot;+q.data.algorithm.curve.join(&quot;.&quot;));var K=new u(W),U=q.data.subjectPrivateKey.data;return K.verify(L,H,U)})(f,h,g)}if(g.type===&quot;dsa&quot;){if(p!==&quot;dsa&quot;)throw new Error(&quot;wrong public key type&quot;);return(function(H,L,q){var W=q.data.p,K=q.data.q,U=q.data.g,P=q.data.pub_key,D=o.signature.decode(H,&quot;der&quot;),E=D.s,j=D.r;c(E,K),c(j,K);var k=a.mont(W),S=E.invm(K);return U.toRed(k).redPow(new a(L).mul(S).mod(K)).fromRed().mul(P.toRed(k).redPow(j.mul(S).mod(K)).fromRed()).mod(W).mod(K).cmp(j)===0})(f,h,g)}if(p!==&quot;rsa&quot;&amp;&amp;p!==&quot;ecdsa/rsa&quot;)throw new Error(&quot;wrong public key type&quot;);h=i.concat([v,h]);for(var b=g.modulus.byteLength(),x=[1],_=0;h.length+x.length+2&lt;b;)x.push(255),_++;x.push(0);for(var C=-1;++C&lt;h.length;)x.push(h[C]);x=i.from(x);var O=a.mont(g.modulus);f=(f=new a(f).toRed(O)).redPow(new a(g.publicExponent)),f=i.from(f.fromRed().toArray());var R=_&lt;8?1:0;for(b=Math.min(f.length,x.length),f.length!==x.length&amp;&amp;(R=1),C=-1;++C&lt;b;)R|=f[C]^x[C];return R===0}},{&quot;./curves.json&quot;:212,&quot;bn.js&quot;:186,elliptic:405,&quot;parse-asn1&quot;:459,&quot;safe-buffer&quot;:494}],216:[function(t,n,l){},{}],217:[function(t,n,l){var i=t(&quot;buffer&quot;),a=i.Buffer;function u(s,c){for(var f in s)c[f]=s[f]}function o(s,c,f){return a(s,c,f)}a.from&amp;&amp;a.alloc&amp;&amp;a.allocUnsafe&amp;&amp;a.allocUnsafeSlow?n.exports=i:(u(i,l),l.Buffer=o),u(a,o),o.from=function(s,c,f){if(typeof s==&quot;number&quot;)throw new TypeError(&quot;Argument must not be a number&quot;);return a(s,c,f)},o.alloc=function(s,c,f){if(typeof s!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);var h=a(s);return c!==void 0?typeof f==&quot;string&quot;?h.fill(c,f):h.fill(c):h.fill(0),h},o.allocUnsafe=function(s){if(typeof s!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);return a(s)},o.allocUnsafeSlow=function(s){if(typeof s!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);return i.SlowBuffer(s)}},{buffer:220}],218:[function(t,n,l){var i=t(&quot;safe-buffer&quot;).Buffer,a=i.isEncoding||function(g){switch((g=&quot;&quot;+g)&amp;&amp;g.toLowerCase()){case&quot;hex&quot;:case&quot;utf8&quot;:case&quot;utf-8&quot;:case&quot;ascii&quot;:case&quot;binary&quot;:case&quot;base64&quot;:case&quot;ucs2&quot;:case&quot;ucs-2&quot;:case&quot;utf16le&quot;:case&quot;utf-16le&quot;:case&quot;raw&quot;:return!0;default:return!1}};function u(g){var b;switch(this.encoding=(function(x){var _=(function(C){if(!C)return&quot;utf8&quot;;for(var O;;)switch(C){case&quot;utf8&quot;:case&quot;utf-8&quot;:return&quot;utf8&quot;;case&quot;ucs2&quot;:case&quot;ucs-2&quot;:case&quot;utf16le&quot;:case&quot;utf-16le&quot;:return&quot;utf16le&quot;;case&quot;latin1&quot;:case&quot;binary&quot;:return&quot;latin1&quot;;case&quot;base64&quot;:case&quot;ascii&quot;:case&quot;hex&quot;:return C;default:if(O)return;C=(&quot;&quot;+C).toLowerCase(),O=!0}})(x);if(typeof _!=&quot;string&quot;&amp;&amp;(i.isEncoding===a||!a(x)))throw new Error(&quot;Unknown encoding: &quot;+x);return _||x})(g),this.encoding){case&quot;utf16le&quot;:this.text=c,this.end=f,b=4;break;case&quot;utf8&quot;:this.fillLast=s,b=4;break;case&quot;base64&quot;:this.text=h,this.end=m,b=3;break;default:return this.write=p,void(this.end=v)}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(b)}function o(g){return g&lt;=127?0:g&gt;&gt;5==6?2:g&gt;&gt;4==14?3:g&gt;&gt;3==30?4:g&gt;&gt;6==2?-1:-2}function s(g){var b=this.lastTotal-this.lastNeed,x=(function(_,C,O){if((192&amp;C[0])!=128)return _.lastNeed=0,&quot;�&quot;;if(_.lastNeed&gt;1&amp;&amp;C.length&gt;1){if((192&amp;C[1])!=128)return _.lastNeed=1,&quot;�&quot;;if(_.lastNeed&gt;2&amp;&amp;C.length&gt;2&amp;&amp;(192&amp;C[2])!=128)return _.lastNeed=2,&quot;�&quot;}})(this,g);return x!==void 0?x:this.lastNeed&lt;=g.length?(g.copy(this.lastChar,b,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(g.copy(this.lastChar,b,0,g.length),void(this.lastNeed-=g.length))}function c(g,b){if((g.length-b)%2==0){var x=g.toString(&quot;utf16le&quot;,b);if(x){var _=x.charCodeAt(x.length-1);if(_&gt;=55296&amp;&amp;_&lt;=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1],x.slice(0,-1)}return x}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=g[g.length-1],g.toString(&quot;utf16le&quot;,b,g.length-1)}function f(g){var b=g&amp;&amp;g.length?this.write(g):&quot;&quot;;if(this.lastNeed){var x=this.lastTotal-this.lastNeed;return b+this.lastChar.toString(&quot;utf16le&quot;,0,x)}return b}function h(g,b){var x=(g.length-b)%3;return x===0?g.toString(&quot;base64&quot;,b):(this.lastNeed=3-x,this.lastTotal=3,x===1?this.lastChar[0]=g[g.length-1]:(this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1]),g.toString(&quot;base64&quot;,b,g.length-x))}function m(g){var b=g&amp;&amp;g.length?this.write(g):&quot;&quot;;return this.lastNeed?b+this.lastChar.toString(&quot;base64&quot;,0,3-this.lastNeed):b}function p(g){return g.toString(this.encoding)}function v(g){return g&amp;&amp;g.length?this.write(g):&quot;&quot;}l.StringDecoder=u,u.prototype.write=function(g){if(g.length===0)return&quot;&quot;;var b,x;if(this.lastNeed){if((b=this.fillLast(g))===void 0)return&quot;&quot;;x=this.lastNeed,this.lastNeed=0}else x=0;return x&lt;g.length?b?b+this.text(g,x):this.text(g,x):b||&quot;&quot;},u.prototype.end=function(g){var b=g&amp;&amp;g.length?this.write(g):&quot;&quot;;return this.lastNeed?b+&quot;�&quot;:b},u.prototype.text=function(g,b){var x=(function(C,O,R){var H=O.length-1;if(H&lt;R)return 0;var L=o(O[H]);return L&gt;=0?(L&gt;0&amp;&amp;(C.lastNeed=L-1),L):--H&lt;R||L===-2?0:(L=o(O[H]))&gt;=0?(L&gt;0&amp;&amp;(C.lastNeed=L-2),L):--H&lt;R||L===-2?0:(L=o(O[H]))&gt;=0?(L&gt;0&amp;&amp;(L===2?L=0:C.lastNeed=L-3),L):0})(this,g,b);if(!this.lastNeed)return g.toString(&quot;utf8&quot;,b);this.lastTotal=x;var _=g.length-(x-this.lastNeed);return g.copy(this.lastChar,0,_),g.toString(&quot;utf8&quot;,b,_)},u.prototype.fillLast=function(g){if(this.lastNeed&lt;=g.length)return g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,g.length),this.lastNeed-=g.length}},{&quot;safe-buffer&quot;:217}],219:[function(t,n,l){(function(i){(function(){n.exports=function(a,u){for(var o=Math.min(a.length,u.length),s=new i(o),c=0;c&lt;o;++c)s[c]=a[c]^u[c];return s}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{buffer:220}],220:[function(t,n,l){(function(i){(function(){var a=t(&quot;base64-js&quot;),u=t(&quot;ieee754&quot;);l.Buffer=s,l.SlowBuffer=function(z){return+z!=z&amp;&amp;(z=0),s.alloc(+z)},l.INSPECT_MAX_BYTES=50;function o(z){if(z&gt;2147483647)throw new RangeError(&#039;The value &quot;&#039;+z+&#039;&quot; is invalid for option &quot;size&quot;&#039;);var T=new Uint8Array(z);return T.__proto__=s.prototype,T}function s(z,T,X){if(typeof z==&quot;number&quot;){if(typeof T==&quot;string&quot;)throw new TypeError(&#039;The &quot;string&quot; argument must be of type string. Received type number&#039;);return h(z)}return c(z,T,X)}function c(z,T,X){if(typeof z==&quot;string&quot;)return(function(Q,te){if(typeof te==&quot;string&quot;&amp;&amp;te!==&quot;&quot;||(te=&quot;utf8&quot;),!s.isEncoding(te))throw new TypeError(&quot;Unknown encoding: &quot;+te);var de=0|v(Q,te),oe=o(de),se=oe.write(Q,te);return se!==de&amp;&amp;(oe=oe.slice(0,se)),oe})(z,T);if(ArrayBuffer.isView(z))return m(z);if(z==null)throw TypeError(&quot;The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type &quot;+typeof z);if($(z,ArrayBuffer)||z&amp;&amp;$(z.buffer,ArrayBuffer))return(function(Q,te,de){if(te&lt;0||Q.byteLength&lt;te)throw new RangeError(&#039;&quot;offset&quot; is outside of buffer bounds&#039;);if(Q.byteLength&lt;te+(de||0))throw new RangeError(&#039;&quot;length&quot; is outside of buffer bounds&#039;);var oe;return oe=te===void 0&amp;&amp;de===void 0?new Uint8Array(Q):de===void 0?new Uint8Array(Q,te):new Uint8Array(Q,te,de),oe.__proto__=s.prototype,oe})(z,T,X);if(typeof z==&quot;number&quot;)throw new TypeError(&#039;The &quot;value&quot; argument must not be of type number. Received type number&#039;);var re=z.valueOf&amp;&amp;z.valueOf();if(re!=null&amp;&amp;re!==z)return s.from(re,T,X);var ne=(function(Q){if(s.isBuffer(Q)){var te=0|p(Q.length),de=o(te);return de.length===0||Q.copy(de,0,0,te),de}if(Q.length!==void 0)return typeof Q.length!=&quot;number&quot;||ee(Q.length)?o(0):m(Q);if(Q.type===&quot;Buffer&quot;&amp;&amp;Array.isArray(Q.data))return m(Q.data)})(z);if(ne)return ne;if(typeof Symbol&lt;&quot;u&quot;&amp;&amp;Symbol.toPrimitive!=null&amp;&amp;typeof z[Symbol.toPrimitive]==&quot;function&quot;)return s.from(z[Symbol.toPrimitive](&quot;string&quot;),T,X);throw new TypeError(&quot;The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type &quot;+typeof z)}function f(z){if(typeof z!=&quot;number&quot;)throw new TypeError(&#039;&quot;size&quot; argument must be of type number&#039;);if(z&lt;0)throw new RangeError(&#039;The value &quot;&#039;+z+&#039;&quot; is invalid for option &quot;size&quot;&#039;)}function h(z){return f(z),o(z&lt;0?0:0|p(z))}function m(z){for(var T=z.length&lt;0?0:0|p(z.length),X=o(T),re=0;re&lt;T;re+=1)X[re]=255&amp;z[re];return X}function p(z){if(z&gt;=2147483647)throw new RangeError(&quot;Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes&quot;);return 0|z}function v(z,T){if(s.isBuffer(z))return z.length;if(ArrayBuffer.isView(z)||$(z,ArrayBuffer))return z.byteLength;if(typeof z!=&quot;string&quot;)throw new TypeError(&#039;The &quot;string&quot; argument must be one of type string, Buffer, or ArrayBuffer. Received type &#039;+typeof z);var X=z.length,re=arguments.length&gt;2&amp;&amp;arguments[2]===!0;if(!re&amp;&amp;X===0)return 0;for(var ne=!1;;)switch(T){case&quot;ascii&quot;:case&quot;latin1&quot;:case&quot;binary&quot;:return X;case&quot;utf8&quot;:case&quot;utf-8&quot;:return Y(z).length;case&quot;ucs2&quot;:case&quot;ucs-2&quot;:case&quot;utf16le&quot;:case&quot;utf-16le&quot;:return 2*X;case&quot;hex&quot;:return X&gt;&gt;&gt;1;case&quot;base64&quot;:return Z(z).length;default:if(ne)return re?-1:Y(z).length;T=(&quot;&quot;+T).toLowerCase(),ne=!0}}function g(z,T,X){var re=!1;if((T===void 0||T&lt;0)&amp;&amp;(T=0),T&gt;this.length||((X===void 0||X&gt;this.length)&amp;&amp;(X=this.length),X&lt;=0)||(X&gt;&gt;&gt;=0)&lt;=(T&gt;&gt;&gt;=0))return&quot;&quot;;for(z||(z=&quot;utf8&quot;);;)switch(z){case&quot;hex&quot;:return D(this,T,X);case&quot;utf8&quot;:case&quot;utf-8&quot;:return K(this,T,X);case&quot;ascii&quot;:return U(this,T,X);case&quot;latin1&quot;:case&quot;binary&quot;:return P(this,T,X);case&quot;base64&quot;:return W(this,T,X);case&quot;ucs2&quot;:case&quot;ucs-2&quot;:case&quot;utf16le&quot;:case&quot;utf-16le&quot;:return E(this,T,X);default:if(re)throw new TypeError(&quot;Unknown encoding: &quot;+z);z=(z+&quot;&quot;).toLowerCase(),re=!0}}function b(z,T,X){var re=z[T];z[T]=z[X],z[X]=re}function x(z,T,X,re,ne){if(z.length===0)return-1;if(typeof X==&quot;string&quot;?(re=X,X=0):X&gt;2147483647?X=2147483647:X&lt;-2147483648&amp;&amp;(X=-2147483648),ee(X=+X)&amp;&amp;(X=ne?0:z.length-1),X&lt;0&amp;&amp;(X=z.length+X),X&gt;=z.length){if(ne)return-1;X=z.length-1}else if(X&lt;0){if(!ne)return-1;X=0}if(typeof T==&quot;string&quot;&amp;&amp;(T=s.from(T,re)),s.isBuffer(T))return T.length===0?-1:_(z,T,X,re,ne);if(typeof T==&quot;number&quot;)return T&amp;=255,typeof Uint8Array.prototype.indexOf==&quot;function&quot;?ne?Uint8Array.prototype.indexOf.call(z,T,X):Uint8Array.prototype.lastIndexOf.call(z,T,X):_(z,[T],X,re,ne);throw new TypeError(&quot;val must be string, number or Buffer&quot;)}function _(z,T,X,re,ne){var Q,te=1,de=z.length,oe=T.length;if(re!==void 0&amp;&amp;((re=String(re).toLowerCase())===&quot;ucs2&quot;||re===&quot;ucs-2&quot;||re===&quot;utf16le&quot;||re===&quot;utf-16le&quot;)){if(z.length&lt;2||T.length&lt;2)return-1;te=2,de/=2,oe/=2,X/=2}function se(ge,ye){return te===1?ge[ye]:ge.readUInt16BE(ye*te)}if(ne){var fe=-1;for(Q=X;Q&lt;de;Q++)if(se(z,Q)===se(T,fe===-1?0:Q-fe)){if(fe===-1&amp;&amp;(fe=Q),Q-fe+1===oe)return fe*te}else fe!==-1&amp;&amp;(Q-=Q-fe),fe=-1}else for(X+oe&gt;de&amp;&amp;(X=de-oe),Q=X;Q&gt;=0;Q--){for(var he=!0,ce=0;ce&lt;oe;ce++)if(se(z,Q+ce)!==se(T,ce)){he=!1;break}if(he)return Q}return-1}function C(z,T,X,re){X=Number(X)||0;var ne=z.length-X;re?(re=Number(re))&gt;ne&amp;&amp;(re=ne):re=ne;var Q=T.length;re&gt;Q/2&amp;&amp;(re=Q/2);for(var te=0;te&lt;re;++te){var de=parseInt(T.substr(2*te,2),16);if(ee(de))return te;z[X+te]=de}return te}function O(z,T,X,re){return ie(Y(T,z.length-X),z,X,re)}function R(z,T,X,re){return ie((function(ne){for(var Q=[],te=0;te&lt;ne.length;++te)Q.push(255&amp;ne.charCodeAt(te));return Q})(T),z,X,re)}function H(z,T,X,re){return R(z,T,X,re)}function L(z,T,X,re){return ie(Z(T),z,X,re)}function q(z,T,X,re){return ie((function(ne,Q){for(var te,de,oe,se=[],fe=0;fe&lt;ne.length&amp;&amp;!((Q-=2)&lt;0);++fe)te=ne.charCodeAt(fe),de=te&gt;&gt;8,oe=te%256,se.push(oe),se.push(de);return se})(T,z.length-X),z,X,re)}function W(z,T,X){return T===0&amp;&amp;X===z.length?a.fromByteArray(z):a.fromByteArray(z.slice(T,X))}function K(z,T,X){X=Math.min(z.length,X);for(var re=[],ne=T;ne&lt;X;){var Q,te,de,oe,se=z[ne],fe=null,he=se&gt;239?4:se&gt;223?3:se&gt;191?2:1;if(ne+he&lt;=X)switch(he){case 1:se&lt;128&amp;&amp;(fe=se);break;case 2:(192&amp;(Q=z[ne+1]))==128&amp;&amp;(oe=(31&amp;se)&lt;&lt;6|63&amp;Q)&gt;127&amp;&amp;(fe=oe);break;case 3:Q=z[ne+1],te=z[ne+2],(192&amp;Q)==128&amp;&amp;(192&amp;te)==128&amp;&amp;(oe=(15&amp;se)&lt;&lt;12|(63&amp;Q)&lt;&lt;6|63&amp;te)&gt;2047&amp;&amp;(oe&lt;55296||oe&gt;57343)&amp;&amp;(fe=oe);break;case 4:Q=z[ne+1],te=z[ne+2],de=z[ne+3],(192&amp;Q)==128&amp;&amp;(192&amp;te)==128&amp;&amp;(192&amp;de)==128&amp;&amp;(oe=(15&amp;se)&lt;&lt;18|(63&amp;Q)&lt;&lt;12|(63&amp;te)&lt;&lt;6|63&amp;de)&gt;65535&amp;&amp;oe&lt;1114112&amp;&amp;(fe=oe)}fe===null?(fe=65533,he=1):fe&gt;65535&amp;&amp;(fe-=65536,re.push(fe&gt;&gt;&gt;10&amp;1023|55296),fe=56320|1023&amp;fe),re.push(fe),ne+=he}return(function(ce){var ge=ce.length;if(ge&lt;=4096)return String.fromCharCode.apply(String,ce);for(var ye=&quot;&quot;,pe=0;pe&lt;ge;)ye+=String.fromCharCode.apply(String,ce.slice(pe,pe+=4096));return ye})(re)}l.kMaxLength=2147483647,s.TYPED_ARRAY_SUPPORT=(function(){try{var z=new Uint8Array(1);return z.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},z.foo()===42}catch{return!1}})(),s.TYPED_ARRAY_SUPPORT||typeof console&gt;&quot;u&quot;||typeof console.error!=&quot;function&quot;||console.error(&quot;This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.&quot;),Object.defineProperty(s.prototype,&quot;parent&quot;,{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,&quot;offset&quot;,{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),typeof Symbol&lt;&quot;u&quot;&amp;&amp;Symbol.species!=null&amp;&amp;s[Symbol.species]===s&amp;&amp;Object.defineProperty(s,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),s.poolSize=8192,s.from=function(z,T,X){return c(z,T,X)},s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,s.alloc=function(z,T,X){return(function(re,ne,Q){return f(re),re&lt;=0?o(re):ne!==void 0?typeof Q==&quot;string&quot;?o(re).fill(ne,Q):o(re).fill(ne):o(re)})(z,T,X)},s.allocUnsafe=function(z){return h(z)},s.allocUnsafeSlow=function(z){return h(z)},s.isBuffer=function(z){return z!=null&amp;&amp;z._isBuffer===!0&amp;&amp;z!==s.prototype},s.compare=function(z,T){if($(z,Uint8Array)&amp;&amp;(z=s.from(z,z.offset,z.byteLength)),$(T,Uint8Array)&amp;&amp;(T=s.from(T,T.offset,T.byteLength)),!s.isBuffer(z)||!s.isBuffer(T))throw new TypeError(&#039;The &quot;buf1&quot;, &quot;buf2&quot; arguments must be one of type Buffer or Uint8Array&#039;);if(z===T)return 0;for(var X=z.length,re=T.length,ne=0,Q=Math.min(X,re);ne&lt;Q;++ne)if(z[ne]!==T[ne]){X=z[ne],re=T[ne];break}return X&lt;re?-1:re&lt;X?1:0},s.isEncoding=function(z){switch(String(z).toLowerCase()){case&quot;hex&quot;:case&quot;utf8&quot;:case&quot;utf-8&quot;:case&quot;ascii&quot;:case&quot;latin1&quot;:case&quot;binary&quot;:case&quot;base64&quot;:case&quot;ucs2&quot;:case&quot;ucs-2&quot;:case&quot;utf16le&quot;:case&quot;utf-16le&quot;:return!0;default:return!1}},s.concat=function(z,T){if(!Array.isArray(z))throw new TypeError(&#039;&quot;list&quot; argument must be an Array of Buffers&#039;);if(z.length===0)return s.alloc(0);var X;if(T===void 0)for(T=0,X=0;X&lt;z.length;++X)T+=z[X].length;var re=s.allocUnsafe(T),ne=0;for(X=0;X&lt;z.length;++X){var Q=z[X];if($(Q,Uint8Array)&amp;&amp;(Q=s.from(Q)),!s.isBuffer(Q))throw new TypeError(&#039;&quot;list&quot; argument must be an Array of Buffers&#039;);Q.copy(re,ne),ne+=Q.length}return re},s.byteLength=v,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var z=this.length;if(z%2!=0)throw new RangeError(&quot;Buffer size must be a multiple of 16-bits&quot;);for(var T=0;T&lt;z;T+=2)b(this,T,T+1);return this},s.prototype.swap32=function(){var z=this.length;if(z%4!=0)throw new RangeError(&quot;Buffer size must be a multiple of 32-bits&quot;);for(var T=0;T&lt;z;T+=4)b(this,T,T+3),b(this,T+1,T+2);return this},s.prototype.swap64=function(){var z=this.length;if(z%8!=0)throw new RangeError(&quot;Buffer size must be a multiple of 64-bits&quot;);for(var T=0;T&lt;z;T+=8)b(this,T,T+7),b(this,T+1,T+6),b(this,T+2,T+5),b(this,T+3,T+4);return this},s.prototype.toString=function(){var z=this.length;return z===0?&quot;&quot;:arguments.length===0?K(this,0,z):g.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(z){if(!s.isBuffer(z))throw new TypeError(&quot;Argument must be a Buffer&quot;);return this===z||s.compare(this,z)===0},s.prototype.inspect=function(){var z=&quot;&quot;,T=l.INSPECT_MAX_BYTES;return z=this.toString(&quot;hex&quot;,0,T).replace(/(.{2})/g,&quot;$1 &quot;).trim(),this.length&gt;T&amp;&amp;(z+=&quot; ... &quot;),&quot;&lt;Buffer &quot;+z+&quot;&gt;&quot;},s.prototype.compare=function(z,T,X,re,ne){if($(z,Uint8Array)&amp;&amp;(z=s.from(z,z.offset,z.byteLength)),!s.isBuffer(z))throw new TypeError(&#039;The &quot;target&quot; argument must be one of type Buffer or Uint8Array. Received type &#039;+typeof z);if(T===void 0&amp;&amp;(T=0),X===void 0&amp;&amp;(X=z?z.length:0),re===void 0&amp;&amp;(re=0),ne===void 0&amp;&amp;(ne=this.length),T&lt;0||X&gt;z.length||re&lt;0||ne&gt;this.length)throw new RangeError(&quot;out of range index&quot;);if(re&gt;=ne&amp;&amp;T&gt;=X)return 0;if(re&gt;=ne)return-1;if(T&gt;=X)return 1;if(this===z)return 0;for(var Q=(ne&gt;&gt;&gt;=0)-(re&gt;&gt;&gt;=0),te=(X&gt;&gt;&gt;=0)-(T&gt;&gt;&gt;=0),de=Math.min(Q,te),oe=this.slice(re,ne),se=z.slice(T,X),fe=0;fe&lt;de;++fe)if(oe[fe]!==se[fe]){Q=oe[fe],te=se[fe];break}return Q&lt;te?-1:te&lt;Q?1:0},s.prototype.includes=function(z,T,X){return this.indexOf(z,T,X)!==-1},s.prototype.indexOf=function(z,T,X){return x(this,z,T,X,!0)},s.prototype.lastIndexOf=function(z,T,X){return x(this,z,T,X,!1)},s.prototype.write=function(z,T,X,re){if(T===void 0)re=&quot;utf8&quot;,X=this.length,T=0;else if(X===void 0&amp;&amp;typeof T==&quot;string&quot;)re=T,X=this.length,T=0;else{if(!isFinite(T))throw new Error(&quot;Buffer.write(string, encoding, offset[, length]) is no longer supported&quot;);T&gt;&gt;&gt;=0,isFinite(X)?(X&gt;&gt;&gt;=0,re===void 0&amp;&amp;(re=&quot;utf8&quot;)):(re=X,X=void 0)}var ne=this.length-T;if((X===void 0||X&gt;ne)&amp;&amp;(X=ne),z.length&gt;0&amp;&amp;(X&lt;0||T&lt;0)||T&gt;this.length)throw new RangeError(&quot;Attempt to write outside buffer bounds&quot;);re||(re=&quot;utf8&quot;);for(var Q=!1;;)switch(re){case&quot;hex&quot;:return C(this,z,T,X);case&quot;utf8&quot;:case&quot;utf-8&quot;:return O(this,z,T,X);case&quot;ascii&quot;:return R(this,z,T,X);case&quot;latin1&quot;:case&quot;binary&quot;:return H(this,z,T,X);case&quot;base64&quot;:return L(this,z,T,X);case&quot;ucs2&quot;:case&quot;ucs-2&quot;:case&quot;utf16le&quot;:case&quot;utf-16le&quot;:return q(this,z,T,X);default:if(Q)throw new TypeError(&quot;Unknown encoding: &quot;+re);re=(&quot;&quot;+re).toLowerCase(),Q=!0}},s.prototype.toJSON=function(){return{type:&quot;Buffer&quot;,data:Array.prototype.slice.call(this._arr||this,0)}};function U(z,T,X){var re=&quot;&quot;;X=Math.min(z.length,X);for(var ne=T;ne&lt;X;++ne)re+=String.fromCharCode(127&amp;z[ne]);return re}function P(z,T,X){var re=&quot;&quot;;X=Math.min(z.length,X);for(var ne=T;ne&lt;X;++ne)re+=String.fromCharCode(z[ne]);return re}function D(z,T,X){var re=z.length;(!T||T&lt;0)&amp;&amp;(T=0),(!X||X&lt;0||X&gt;re)&amp;&amp;(X=re);for(var ne=&quot;&quot;,Q=T;Q&lt;X;++Q)ne+=B(z[Q]);return ne}function E(z,T,X){for(var re=z.slice(T,X),ne=&quot;&quot;,Q=0;Q&lt;re.length;Q+=2)ne+=String.fromCharCode(re[Q]+256*re[Q+1]);return ne}function j(z,T,X){if(z%1!=0||z&lt;0)throw new RangeError(&quot;offset is not uint&quot;);if(z+T&gt;X)throw new RangeError(&quot;Trying to access beyond buffer length&quot;)}function k(z,T,X,re,ne,Q){if(!s.isBuffer(z))throw new TypeError(&#039;&quot;buffer&quot; argument must be a Buffer instance&#039;);if(T&gt;ne||T&lt;Q)throw new RangeError(&#039;&quot;value&quot; argument is out of bounds&#039;);if(X+re&gt;z.length)throw new RangeError(&quot;Index out of range&quot;)}function S(z,T,X,re,ne,Q){if(X+re&gt;z.length)throw new RangeError(&quot;Index out of range&quot;);if(X&lt;0)throw new RangeError(&quot;Index out of range&quot;)}function N(z,T,X,re,ne){return T=+T,X&gt;&gt;&gt;=0,ne||S(z,0,X,4),u.write(z,T,X,re,23,4),X+4}function M(z,T,X,re,ne){return T=+T,X&gt;&gt;&gt;=0,ne||S(z,0,X,8),u.write(z,T,X,re,52,8),X+8}s.prototype.slice=function(z,T){var X=this.length;(z=~~z)&lt;0?(z+=X)&lt;0&amp;&amp;(z=0):z&gt;X&amp;&amp;(z=X),(T=T===void 0?X:~~T)&lt;0?(T+=X)&lt;0&amp;&amp;(T=0):T&gt;X&amp;&amp;(T=X),T&lt;z&amp;&amp;(T=z);var re=this.subarray(z,T);return re.__proto__=s.prototype,re},s.prototype.readUIntLE=function(z,T,X){z&gt;&gt;&gt;=0,T&gt;&gt;&gt;=0,X||j(z,T,this.length);for(var re=this[z],ne=1,Q=0;++Q&lt;T&amp;&amp;(ne*=256);)re+=this[z+Q]*ne;return re},s.prototype.readUIntBE=function(z,T,X){z&gt;&gt;&gt;=0,T&gt;&gt;&gt;=0,X||j(z,T,this.length);for(var re=this[z+--T],ne=1;T&gt;0&amp;&amp;(ne*=256);)re+=this[z+--T]*ne;return re},s.prototype.readUInt8=function(z,T){return z&gt;&gt;&gt;=0,T||j(z,1,this.length),this[z]},s.prototype.readUInt16LE=function(z,T){return z&gt;&gt;&gt;=0,T||j(z,2,this.length),this[z]|this[z+1]&lt;&lt;8},s.prototype.readUInt16BE=function(z,T){return z&gt;&gt;&gt;=0,T||j(z,2,this.length),this[z]&lt;&lt;8|this[z+1]},s.prototype.readUInt32LE=function(z,T){return z&gt;&gt;&gt;=0,T||j(z,4,this.length),(this[z]|this[z+1]&lt;&lt;8|this[z+2]&lt;&lt;16)+16777216*this[z+3]},s.prototype.readUInt32BE=function(z,T){return z&gt;&gt;&gt;=0,T||j(z,4,this.length),16777216*this[z]+(this[z+1]&lt;&lt;16|this[z+2]&lt;&lt;8|this[z+3])},s.prototype.readIntLE=function(z,T,X){z&gt;&gt;&gt;=0,T&gt;&gt;&gt;=0,X||j(z,T,this.length);for(var re=this[z],ne=1,Q=0;++Q&lt;T&amp;&amp;(ne*=256);)re+=this[z+Q]*ne;return re&gt;=(ne*=128)&amp;&amp;(re-=Math.pow(2,8*T)),re},s.prototype.readIntBE=function(z,T,X){z&gt;&gt;&gt;=0,T&gt;&gt;&gt;=0,X||j(z,T,this.length);for(var re=T,ne=1,Q=this[z+--re];re&gt;0&amp;&amp;(ne*=256);)Q+=this[z+--re]*ne;return Q&gt;=(ne*=128)&amp;&amp;(Q-=Math.pow(2,8*T)),Q},s.prototype.readInt8=function(z,T){return z&gt;&gt;&gt;=0,T||j(z,1,this.length),128&amp;this[z]?-1*(255-this[z]+1):this[z]},s.prototype.readInt16LE=function(z,T){z&gt;&gt;&gt;=0,T||j(z,2,this.length);var X=this[z]|this[z+1]&lt;&lt;8;return 32768&amp;X?4294901760|X:X},s.prototype.readInt16BE=function(z,T){z&gt;&gt;&gt;=0,T||j(z,2,this.length);var X=this[z+1]|this[z]&lt;&lt;8;return 32768&amp;X?4294901760|X:X},s.prototype.readInt32LE=function(z,T){return z&gt;&gt;&gt;=0,T||j(z,4,this.length),this[z]|this[z+1]&lt;&lt;8|this[z+2]&lt;&lt;16|this[z+3]&lt;&lt;24},s.prototype.readInt32BE=function(z,T){return z&gt;&gt;&gt;=0,T||j(z,4,this.length),this[z]&lt;&lt;24|this[z+1]&lt;&lt;16|this[z+2]&lt;&lt;8|this[z+3]},s.prototype.readFloatLE=function(z,T){return z&gt;&gt;&gt;=0,T||j(z,4,this.length),u.read(this,z,!0,23,4)},s.prototype.readFloatBE=function(z,T){return z&gt;&gt;&gt;=0,T||j(z,4,this.length),u.read(this,z,!1,23,4)},s.prototype.readDoubleLE=function(z,T){return z&gt;&gt;&gt;=0,T||j(z,8,this.length),u.read(this,z,!0,52,8)},s.prototype.readDoubleBE=function(z,T){return z&gt;&gt;&gt;=0,T||j(z,8,this.length),u.read(this,z,!1,52,8)},s.prototype.writeUIntLE=function(z,T,X,re){z=+z,T&gt;&gt;&gt;=0,X&gt;&gt;&gt;=0,re||k(this,z,T,X,Math.pow(2,8*X)-1,0);var ne=1,Q=0;for(this[T]=255&amp;z;++Q&lt;X&amp;&amp;(ne*=256);)this[T+Q]=z/ne&amp;255;return T+X},s.prototype.writeUIntBE=function(z,T,X,re){z=+z,T&gt;&gt;&gt;=0,X&gt;&gt;&gt;=0,re||k(this,z,T,X,Math.pow(2,8*X)-1,0);var ne=X-1,Q=1;for(this[T+ne]=255&amp;z;--ne&gt;=0&amp;&amp;(Q*=256);)this[T+ne]=z/Q&amp;255;return T+X},s.prototype.writeUInt8=function(z,T,X){return z=+z,T&gt;&gt;&gt;=0,X||k(this,z,T,1,255,0),this[T]=255&amp;z,T+1},s.prototype.writeUInt16LE=function(z,T,X){return z=+z,T&gt;&gt;&gt;=0,X||k(this,z,T,2,65535,0),this[T]=255&amp;z,this[T+1]=z&gt;&gt;&gt;8,T+2},s.prototype.writeUInt16BE=function(z,T,X){return z=+z,T&gt;&gt;&gt;=0,X||k(this,z,T,2,65535,0),this[T]=z&gt;&gt;&gt;8,this[T+1]=255&amp;z,T+2},s.prototype.writeUInt32LE=function(z,T,X){return z=+z,T&gt;&gt;&gt;=0,X||k(this,z,T,4,4294967295,0),this[T+3]=z&gt;&gt;&gt;24,this[T+2]=z&gt;&gt;&gt;16,this[T+1]=z&gt;&gt;&gt;8,this[T]=255&amp;z,T+4},s.prototype.writeUInt32BE=function(z,T,X){return z=+z,T&gt;&gt;&gt;=0,X||k(this,z,T,4,4294967295,0),this[T]=z&gt;&gt;&gt;24,this[T+1]=z&gt;&gt;&gt;16,this[T+2]=z&gt;&gt;&gt;8,this[T+3]=255&amp;z,T+4},s.prototype.writeIntLE=function(z,T,X,re){if(z=+z,T&gt;&gt;&gt;=0,!re){var ne=Math.pow(2,8*X-1);k(this,z,T,X,ne-1,-ne)}var Q=0,te=1,de=0;for(this[T]=255&amp;z;++Q&lt;X&amp;&amp;(te*=256);)z&lt;0&amp;&amp;de===0&amp;&amp;this[T+Q-1]!==0&amp;&amp;(de=1),this[T+Q]=(z/te&gt;&gt;0)-de&amp;255;return T+X},s.prototype.writeIntBE=function(z,T,X,re){if(z=+z,T&gt;&gt;&gt;=0,!re){var ne=Math.pow(2,8*X-1);k(this,z,T,X,ne-1,-ne)}var Q=X-1,te=1,de=0;for(this[T+Q]=255&amp;z;--Q&gt;=0&amp;&amp;(te*=256);)z&lt;0&amp;&amp;de===0&amp;&amp;this[T+Q+1]!==0&amp;&amp;(de=1),this[T+Q]=(z/te&gt;&gt;0)-de&amp;255;return T+X},s.prototype.writeInt8=function(z,T,X){return z=+z,T&gt;&gt;&gt;=0,X||k(this,z,T,1,127,-128),z&lt;0&amp;&amp;(z=255+z+1),this[T]=255&amp;z,T+1},s.prototype.writeInt16LE=function(z,T,X){return z=+z,T&gt;&gt;&gt;=0,X||k(this,z,T,2,32767,-32768),this[T]=255&amp;z,this[T+1]=z&gt;&gt;&gt;8,T+2},s.prototype.writeInt16BE=function(z,T,X){return z=+z,T&gt;&gt;&gt;=0,X||k(this,z,T,2,32767,-32768),this[T]=z&gt;&gt;&gt;8,this[T+1]=255&amp;z,T+2},s.prototype.writeInt32LE=function(z,T,X){return z=+z,T&gt;&gt;&gt;=0,X||k(this,z,T,4,2147483647,-2147483648),this[T]=255&amp;z,this[T+1]=z&gt;&gt;&gt;8,this[T+2]=z&gt;&gt;&gt;16,this[T+3]=z&gt;&gt;&gt;24,T+4},s.prototype.writeInt32BE=function(z,T,X){return z=+z,T&gt;&gt;&gt;=0,X||k(this,z,T,4,2147483647,-2147483648),z&lt;0&amp;&amp;(z=4294967295+z+1),this[T]=z&gt;&gt;&gt;24,this[T+1]=z&gt;&gt;&gt;16,this[T+2]=z&gt;&gt;&gt;8,this[T+3]=255&amp;z,T+4},s.prototype.writeFloatLE=function(z,T,X){return N(this,z,T,!0,X)},s.prototype.writeFloatBE=function(z,T,X){return N(this,z,T,!1,X)},s.prototype.writeDoubleLE=function(z,T,X){return M(this,z,T,!0,X)},s.prototype.writeDoubleBE=function(z,T,X){return M(this,z,T,!1,X)},s.prototype.copy=function(z,T,X,re){if(!s.isBuffer(z))throw new TypeError(&quot;argument should be a Buffer&quot;);if(X||(X=0),re||re===0||(re=this.length),T&gt;=z.length&amp;&amp;(T=z.length),T||(T=0),re&gt;0&amp;&amp;re&lt;X&amp;&amp;(re=X),re===X||z.length===0||this.length===0)return 0;if(T&lt;0)throw new RangeError(&quot;targetStart out of bounds&quot;);if(X&lt;0||X&gt;=this.length)throw new RangeError(&quot;Index out of range&quot;);if(re&lt;0)throw new RangeError(&quot;sourceEnd out of bounds&quot;);re&gt;this.length&amp;&amp;(re=this.length),z.length-T&lt;re-X&amp;&amp;(re=z.length-T+X);var ne=re-X;if(this===z&amp;&amp;typeof Uint8Array.prototype.copyWithin==&quot;function&quot;)this.copyWithin(T,X,re);else if(this===z&amp;&amp;X&lt;T&amp;&amp;T&lt;re)for(var Q=ne-1;Q&gt;=0;--Q)z[Q+T]=this[Q+X];else Uint8Array.prototype.set.call(z,this.subarray(X,re),T);return ne},s.prototype.fill=function(z,T,X,re){if(typeof z==&quot;string&quot;){if(typeof T==&quot;string&quot;?(re=T,T=0,X=this.length):typeof X==&quot;string&quot;&amp;&amp;(re=X,X=this.length),re!==void 0&amp;&amp;typeof re!=&quot;string&quot;)throw new TypeError(&quot;encoding must be a string&quot;);if(typeof re==&quot;string&quot;&amp;&amp;!s.isEncoding(re))throw new TypeError(&quot;Unknown encoding: &quot;+re);if(z.length===1){var ne=z.charCodeAt(0);(re===&quot;utf8&quot;&amp;&amp;ne&lt;128||re===&quot;latin1&quot;)&amp;&amp;(z=ne)}}else typeof z==&quot;number&quot;&amp;&amp;(z&amp;=255);if(T&lt;0||this.length&lt;T||this.length&lt;X)throw new RangeError(&quot;Out of range index&quot;);if(X&lt;=T)return this;var Q;if(T&gt;&gt;&gt;=0,X=X===void 0?this.length:X&gt;&gt;&gt;0,z||(z=0),typeof z==&quot;number&quot;)for(Q=T;Q&lt;X;++Q)this[Q]=z;else{var te=s.isBuffer(z)?z:s.from(z,re),de=te.length;if(de===0)throw new TypeError(&#039;The value &quot;&#039;+z+&#039;&quot; is invalid for argument &quot;value&quot;&#039;);for(Q=0;Q&lt;X-T;++Q)this[Q+T]=te[Q%de]}return this};var I=/[^+/0-9A-Za-z-_]/g;function B(z){return z&lt;16?&quot;0&quot;+z.toString(16):z.toString(16)}function Y(z,T){var X;T=T||1/0;for(var re=z.length,ne=null,Q=[],te=0;te&lt;re;++te){if((X=z.charCodeAt(te))&gt;55295&amp;&amp;X&lt;57344){if(!ne){if(X&gt;56319){(T-=3)&gt;-1&amp;&amp;Q.push(239,191,189);continue}if(te+1===re){(T-=3)&gt;-1&amp;&amp;Q.push(239,191,189);continue}ne=X;continue}if(X&lt;56320){(T-=3)&gt;-1&amp;&amp;Q.push(239,191,189),ne=X;continue}X=65536+(ne-55296&lt;&lt;10|X-56320)}else ne&amp;&amp;(T-=3)&gt;-1&amp;&amp;Q.push(239,191,189);if(ne=null,X&lt;128){if((T-=1)&lt;0)break;Q.push(X)}else if(X&lt;2048){if((T-=2)&lt;0)break;Q.push(X&gt;&gt;6|192,63&amp;X|128)}else if(X&lt;65536){if((T-=3)&lt;0)break;Q.push(X&gt;&gt;12|224,X&gt;&gt;6&amp;63|128,63&amp;X|128)}else{if(!(X&lt;1114112))throw new Error(&quot;Invalid code point&quot;);if((T-=4)&lt;0)break;Q.push(X&gt;&gt;18|240,X&gt;&gt;12&amp;63|128,X&gt;&gt;6&amp;63|128,63&amp;X|128)}}return Q}function Z(z){return a.toByteArray((function(T){if((T=(T=T.split(&quot;=&quot;)[0]).trim().replace(I,&quot;&quot;)).length&lt;2)return&quot;&quot;;for(;T.length%4!=0;)T+=&quot;=&quot;;return T})(z))}function ie(z,T,X,re){for(var ne=0;ne&lt;re&amp;&amp;!(ne+X&gt;=T.length||ne&gt;=z.length);++ne)T[ne+X]=z[ne];return ne}function $(z,T){return z instanceof T||z!=null&amp;&amp;z.constructor!=null&amp;&amp;z.constructor.name!=null&amp;&amp;z.constructor.name===T.name}function ee(z){return z!=z}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;base64-js&quot;:185,buffer:220,ieee754:439}],221:[function(t,n,l){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;stream&quot;).Transform,u=t(&quot;string_decoder&quot;).StringDecoder;function o(s){a.call(this),this.hashMode=typeof s==&quot;string&quot;,this.hashMode?this[s]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&amp;&amp;(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}t(&quot;inherits&quot;)(o,a),o.prototype.update=function(s,c,f){typeof s==&quot;string&quot;&amp;&amp;(s=i.from(s,c));var h=this._update(s);return this.hashMode?this:(f&amp;&amp;(h=this._toString(h,f)),h)},o.prototype.setAutoPadding=function(){},o.prototype.getAuthTag=function(){throw new Error(&quot;trying to get auth tag in unsupported state&quot;)},o.prototype.setAuthTag=function(){throw new Error(&quot;trying to set auth tag in unsupported state&quot;)},o.prototype.setAAD=function(){throw new Error(&quot;trying to set aad in unsupported state&quot;)},o.prototype._transform=function(s,c,f){var h;try{this.hashMode?this._update(s):this.push(this._update(s))}catch(m){h=m}finally{f(h)}},o.prototype._flush=function(s){var c;try{this.push(this.__final())}catch(f){c=f}s(c)},o.prototype._finalOrDigest=function(s){var c=this.__final()||i.alloc(0);return s&amp;&amp;(c=this._toString(c,s,!0)),c},o.prototype._toString=function(s,c,f){if(this._decoder||(this._decoder=new u(c),this._encoding=c),this._encoding!==c)throw new Error(&quot;can&#039;t switch encodings&quot;);var h=this._decoder.write(s);return f&amp;&amp;(h+=this._decoder.end()),h},n.exports=o},{inherits:440,&quot;safe-buffer&quot;:494,stream:505,string_decoder:218}],222:[function(t,n,l){var i=t(&quot;../internals/is-callable&quot;),a=t(&quot;../internals/try-to-string&quot;),u=TypeError;n.exports=function(o){if(i(o))return o;throw new u(a(o)+&quot; is not a function&quot;)}},{&quot;../internals/is-callable&quot;:285,&quot;../internals/try-to-string&quot;:349}],223:[function(t,n,l){var i=t(&quot;../internals/is-constructor&quot;),a=t(&quot;../internals/try-to-string&quot;),u=TypeError;n.exports=function(o){if(i(o))return o;throw new u(a(o)+&quot; is not a constructor&quot;)}},{&quot;../internals/is-constructor&quot;:286,&quot;../internals/try-to-string&quot;:349}],224:[function(t,n,l){var i=t(&quot;../internals/is-callable&quot;),a=String,u=TypeError;n.exports=function(o){if(typeof o==&quot;object&quot;||i(o))return o;throw new u(&quot;Can&#039;t set &quot;+a(o)+&quot; as a prototype&quot;)}},{&quot;../internals/is-callable&quot;:285}],225:[function(t,n,l){var i=t(&quot;../internals/well-known-symbol&quot;),a=t(&quot;../internals/object-create&quot;),u=t(&quot;../internals/object-define-property&quot;).f,o=i(&quot;unscopables&quot;),s=Array.prototype;s[o]===void 0&amp;&amp;u(s,o,{configurable:!0,value:a(null)}),n.exports=function(c){s[o][c]=!0}},{&quot;../internals/object-create&quot;:306,&quot;../internals/object-define-property&quot;:308,&quot;../internals/well-known-symbol&quot;:357}],226:[function(t,n,l){var i=t(&quot;../internals/object-is-prototype-of&quot;),a=TypeError;n.exports=function(u,o){if(i(o,u))return u;throw new a(&quot;Incorrect invocation&quot;)}},{&quot;../internals/object-is-prototype-of&quot;:314}],227:[function(t,n,l){var i=t(&quot;../internals/is-object&quot;),a=String,u=TypeError;n.exports=function(o){if(i(o))return o;throw new u(a(o)+&quot; is not an object&quot;)}},{&quot;../internals/is-object&quot;:289}],228:[function(t,n,l){var i=t(&quot;../internals/to-indexed-object&quot;),a=t(&quot;../internals/to-absolute-index&quot;),u=t(&quot;../internals/length-of-array-like&quot;),o=function(s){return function(c,f,h){var m,p=i(c),v=u(p),g=a(h,v);if(s&amp;&amp;f!=f){for(;v&gt;g;)if((m=p[g++])!=m)return!0}else for(;v&gt;g;g++)if((s||g in p)&amp;&amp;p[g]===f)return s||g||0;return!s&amp;&amp;-1}};n.exports={includes:o(!0),indexOf:o(!1)}},{&quot;../internals/length-of-array-like&quot;:299,&quot;../internals/to-absolute-index&quot;:340,&quot;../internals/to-indexed-object&quot;:341}],229:[function(t,n,l){var i=t(&quot;../internals/function-bind-context&quot;),a=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/indexed-object&quot;),o=t(&quot;../internals/to-object&quot;),s=t(&quot;../internals/length-of-array-like&quot;),c=t(&quot;../internals/array-species-create&quot;),f=a([].push),h=function(m){var p=m===1,v=m===2,g=m===3,b=m===4,x=m===6,_=m===7,C=m===5||x;return function(O,R,H,L){for(var q,W,K=o(O),U=u(K),P=i(R,H),D=s(U),E=0,j=L||c,k=p?j(O,D):v||_?j(O,0):void 0;D&gt;E;E++)if((C||E in U)&amp;&amp;(W=P(q=U[E],E,K),m))if(p)k[E]=W;else if(W)switch(m){case 3:return!0;case 5:return q;case 6:return E;case 2:f(k,q)}else switch(m){case 4:return!1;case 7:f(k,q)}return x?-1:g||b?b:k}};n.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6),filterReject:h(7)}},{&quot;../internals/array-species-create&quot;:233,&quot;../internals/function-bind-context&quot;:262,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/indexed-object&quot;:280,&quot;../internals/length-of-array-like&quot;:299,&quot;../internals/to-object&quot;:344}],230:[function(t,n,l){var i=t(&quot;../internals/to-absolute-index&quot;),a=t(&quot;../internals/length-of-array-like&quot;),u=t(&quot;../internals/create-property&quot;),o=Array,s=Math.max;n.exports=function(c,f,h){for(var m=a(c),p=i(f,m),v=i(h===void 0?m:h,m),g=o(s(v-p,0)),b=0;p&lt;v;p++,b++)u(g,b,c[p]);return g.length=b,g}},{&quot;../internals/create-property&quot;:243,&quot;../internals/length-of-array-like&quot;:299,&quot;../internals/to-absolute-index&quot;:340}],231:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this&quot;);n.exports=i([].slice)},{&quot;../internals/function-uncurry-this&quot;:268}],232:[function(t,n,l){var i=t(&quot;../internals/is-array&quot;),a=t(&quot;../internals/is-constructor&quot;),u=t(&quot;../internals/is-object&quot;),o=t(&quot;../internals/well-known-symbol&quot;)(&quot;species&quot;),s=Array;n.exports=function(c){var f;return i(c)&amp;&amp;(f=c.constructor,(a(f)&amp;&amp;(f===s||i(f.prototype))||u(f)&amp;&amp;(f=f[o])===null)&amp;&amp;(f=void 0)),f===void 0?s:f}},{&quot;../internals/is-array&quot;:284,&quot;../internals/is-constructor&quot;:286,&quot;../internals/is-object&quot;:289,&quot;../internals/well-known-symbol&quot;:357}],233:[function(t,n,l){var i=t(&quot;../internals/array-species-constructor&quot;);n.exports=function(a,u){return new(i(a))(u===0?0:u)}},{&quot;../internals/array-species-constructor&quot;:232}],234:[function(t,n,l){var i=t(&quot;../internals/well-known-symbol&quot;)(&quot;iterator&quot;),a=!1;try{var u=0,o={next:function(){return{done:!!u++}},return:function(){a=!0}};o[i]=function(){return this},Array.from(o,(function(){throw 2}))}catch{}n.exports=function(s,c){try{if(!c&amp;&amp;!a)return!1}catch{return!1}var f=!1;try{var h={};h[i]=function(){return{next:function(){return{done:f=!0}}}},s(h)}catch{}return f}},{&quot;../internals/well-known-symbol&quot;:357}],235:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this&quot;),a=i({}.toString),u=i(&quot;&quot;.slice);n.exports=function(o){return u(a(o),8,-1)}},{&quot;../internals/function-uncurry-this&quot;:268}],236:[function(t,n,l){var i=t(&quot;../internals/to-string-tag-support&quot;),a=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/classof-raw&quot;),o=t(&quot;../internals/well-known-symbol&quot;)(&quot;toStringTag&quot;),s=Object,c=u((function(){return arguments})())===&quot;Arguments&quot;;n.exports=i?u:function(f){var h,m,p;return f===void 0?&quot;Undefined&quot;:f===null?&quot;Null&quot;:typeof(m=(function(v,g){try{return v[g]}catch{}})(h=s(f),o))==&quot;string&quot;?m:c?u(h):(p=u(h))===&quot;Object&quot;&amp;&amp;a(h.callee)?&quot;Arguments&quot;:p}},{&quot;../internals/classof-raw&quot;:235,&quot;../internals/is-callable&quot;:285,&quot;../internals/to-string-tag-support&quot;:347,&quot;../internals/well-known-symbol&quot;:357}],237:[function(t,n,l){var i=t(&quot;../internals/has-own-property&quot;),a=t(&quot;../internals/own-keys&quot;),u=t(&quot;../internals/object-get-own-property-descriptor&quot;),o=t(&quot;../internals/object-define-property&quot;);n.exports=function(s,c,f){for(var h=a(c),m=o.f,p=u.f,v=0;v&lt;h.length;v++){var g=h[v];i(s,g)||f&amp;&amp;i(f,g)||m(s,g,p(c,g))}}},{&quot;../internals/has-own-property&quot;:275,&quot;../internals/object-define-property&quot;:308,&quot;../internals/object-get-own-property-descriptor&quot;:309,&quot;../internals/own-keys&quot;:321}],238:[function(t,n,l){var i=t(&quot;../internals/well-known-symbol&quot;)(&quot;match&quot;);n.exports=function(a){var u=/./;try{&quot;/./&quot;[a](u)}catch{try{return u[i]=!1,&quot;/./&quot;[a](u)}catch{}}return!1}},{&quot;../internals/well-known-symbol&quot;:357}],239:[function(t,n,l){var i=t(&quot;../internals/fails&quot;);n.exports=!i((function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype}))},{&quot;../internals/fails&quot;:260}],240:[function(t,n,l){n.exports=function(i,a){return{value:i,done:a}}},{}],241:[function(t,n,l){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/object-define-property&quot;),u=t(&quot;../internals/create-property-descriptor&quot;);n.exports=i?function(o,s,c){return a.f(o,s,u(1,c))}:function(o,s,c){return o[s]=c,o}},{&quot;../internals/create-property-descriptor&quot;:242,&quot;../internals/descriptors&quot;:247,&quot;../internals/object-define-property&quot;:308}],242:[function(t,n,l){n.exports=function(i,a){return{enumerable:!(1&amp;i),configurable:!(2&amp;i),writable:!(4&amp;i),value:a}}},{}],243:[function(t,n,l){var i=t(&quot;../internals/to-property-key&quot;),a=t(&quot;../internals/object-define-property&quot;),u=t(&quot;../internals/create-property-descriptor&quot;);n.exports=function(o,s,c){var f=i(s);f in o?a.f(o,f,u(0,c)):o[f]=c}},{&quot;../internals/create-property-descriptor&quot;:242,&quot;../internals/object-define-property&quot;:308,&quot;../internals/to-property-key&quot;:346}],244:[function(t,n,l){var i=t(&quot;../internals/make-built-in&quot;),a=t(&quot;../internals/object-define-property&quot;);n.exports=function(u,o,s){return s.get&amp;&amp;i(s.get,o,{getter:!0}),s.set&amp;&amp;i(s.set,o,{setter:!0}),a.f(u,o,s)}},{&quot;../internals/make-built-in&quot;:300,&quot;../internals/object-define-property&quot;:308}],245:[function(t,n,l){var i=t(&quot;../internals/is-callable&quot;),a=t(&quot;../internals/object-define-property&quot;),u=t(&quot;../internals/make-built-in&quot;),o=t(&quot;../internals/define-global-property&quot;);n.exports=function(s,c,f,h){h||(h={});var m=h.enumerable,p=h.name!==void 0?h.name:c;if(i(f)&amp;&amp;u(f,p,h),h.global)m?s[c]=f:o(c,f);else{try{h.unsafe?s[c]&amp;&amp;(m=!0):delete s[c]}catch{}m?s[c]=f:a.f(s,c,{value:f,enumerable:!1,configurable:!h.nonConfigurable,writable:!h.nonWritable})}return s}},{&quot;../internals/define-global-property&quot;:246,&quot;../internals/is-callable&quot;:285,&quot;../internals/make-built-in&quot;:300,&quot;../internals/object-define-property&quot;:308}],246:[function(t,n,l){var i=t(&quot;../internals/global&quot;),a=Object.defineProperty;n.exports=function(u,o){try{a(i,u,{value:o,configurable:!0,writable:!0})}catch{i[u]=o}return o}},{&quot;../internals/global&quot;:274}],247:[function(t,n,l){var i=t(&quot;../internals/fails&quot;);n.exports=!i((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}))},{&quot;../internals/fails&quot;:260}],248:[function(t,n,l){var i=typeof document==&quot;object&quot;&amp;&amp;document.all,a=i===void 0&amp;&amp;i!==void 0;n.exports={all:i,IS_HTMLDDA:a}},{}],249:[function(t,n,l){var i=t(&quot;../internals/global&quot;),a=t(&quot;../internals/is-object&quot;),u=i.document,o=a(u)&amp;&amp;a(u.createElement);n.exports=function(s){return o?u.createElement(s):{}}},{&quot;../internals/global&quot;:274,&quot;../internals/is-object&quot;:289}],250:[function(t,n,l){var i=t(&quot;../internals/engine-is-deno&quot;),a=t(&quot;../internals/engine-is-node&quot;);n.exports=!i&amp;&amp;!a&amp;&amp;typeof window==&quot;object&quot;&amp;&amp;typeof document==&quot;object&quot;},{&quot;../internals/engine-is-deno&quot;:251,&quot;../internals/engine-is-node&quot;:254}],251:[function(t,n,l){n.exports=typeof Deno==&quot;object&quot;&amp;&amp;Deno&amp;&amp;typeof Deno.version==&quot;object&quot;},{}],252:[function(t,n,l){var i=t(&quot;../internals/engine-user-agent&quot;);n.exports=/ipad|iphone|ipod/i.test(i)&amp;&amp;typeof Pebble&lt;&quot;u&quot;},{&quot;../internals/engine-user-agent&quot;:256}],253:[function(t,n,l){var i=t(&quot;../internals/engine-user-agent&quot;);n.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(i)},{&quot;../internals/engine-user-agent&quot;:256}],254:[function(t,n,l){var i=t(&quot;../internals/global&quot;),a=t(&quot;../internals/classof-raw&quot;);n.exports=a(i.process)===&quot;process&quot;},{&quot;../internals/classof-raw&quot;:235,&quot;../internals/global&quot;:274}],255:[function(t,n,l){var i=t(&quot;../internals/engine-user-agent&quot;);n.exports=/web0s(?!.*chrome)/i.test(i)},{&quot;../internals/engine-user-agent&quot;:256}],256:[function(t,n,l){n.exports=typeof navigator&lt;&quot;u&quot;&amp;&amp;String(navigator.userAgent)||&quot;&quot;},{}],257:[function(t,n,l){var i,a,u=t(&quot;../internals/global&quot;),o=t(&quot;../internals/engine-user-agent&quot;),s=u.process,c=u.Deno,f=s&amp;&amp;s.versions||c&amp;&amp;c.version,h=f&amp;&amp;f.v8;h&amp;&amp;(a=(i=h.split(&quot;.&quot;))[0]&gt;0&amp;&amp;i[0]&lt;4?1:+(i[0]+i[1])),!a&amp;&amp;o&amp;&amp;(!(i=o.match(/Edge\/(\d+)/))||i[1]&gt;=74)&amp;&amp;(i=o.match(/Chrome\/(\d+)/))&amp;&amp;(a=+i[1]),n.exports=a},{&quot;../internals/engine-user-agent&quot;:256,&quot;../internals/global&quot;:274}],258:[function(t,n,l){n.exports=[&quot;constructor&quot;,&quot;hasOwnProperty&quot;,&quot;isPrototypeOf&quot;,&quot;propertyIsEnumerable&quot;,&quot;toLocaleString&quot;,&quot;toString&quot;,&quot;valueOf&quot;]},{}],259:[function(t,n,l){var i=t(&quot;../internals/global&quot;),a=t(&quot;../internals/object-get-own-property-descriptor&quot;).f,u=t(&quot;../internals/create-non-enumerable-property&quot;),o=t(&quot;../internals/define-built-in&quot;),s=t(&quot;../internals/define-global-property&quot;),c=t(&quot;../internals/copy-constructor-properties&quot;),f=t(&quot;../internals/is-forced&quot;);n.exports=function(h,m){var p,v,g,b,x,_=h.target,C=h.global,O=h.stat;if(p=C?i:O?i[_]||s(_,{}):(i[_]||{}).prototype)for(v in m){if(b=m[v],g=h.dontCallGetSet?(x=a(p,v))&amp;&amp;x.value:p[v],!f(C?v:_+(O?&quot;.&quot;:&quot;#&quot;)+v,h.forced)&amp;&amp;g!==void 0){if(typeof b==typeof g)continue;c(b,g)}(h.sham||g&amp;&amp;g.sham)&amp;&amp;u(b,&quot;sham&quot;,!0),o(p,v,b,h)}}},{&quot;../internals/copy-constructor-properties&quot;:237,&quot;../internals/create-non-enumerable-property&quot;:241,&quot;../internals/define-built-in&quot;:245,&quot;../internals/define-global-property&quot;:246,&quot;../internals/global&quot;:274,&quot;../internals/is-forced&quot;:287,&quot;../internals/object-get-own-property-descriptor&quot;:309}],260:[function(t,n,l){n.exports=function(i){try{return!!i()}catch{return!0}}},{}],261:[function(t,n,l){var i=t(&quot;../internals/function-bind-native&quot;),a=Function.prototype,u=a.apply,o=a.call;n.exports=typeof Reflect==&quot;object&quot;&amp;&amp;Reflect.apply||(i?o.bind(u):function(){return o.apply(u,arguments)})},{&quot;../internals/function-bind-native&quot;:263}],262:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this-clause&quot;),a=t(&quot;../internals/a-callable&quot;),u=t(&quot;../internals/function-bind-native&quot;),o=i(i.bind);n.exports=function(s,c){return a(s),c===void 0?s:u?o(s,c):function(){return s.apply(c,arguments)}}},{&quot;../internals/a-callable&quot;:222,&quot;../internals/function-bind-native&quot;:263,&quot;../internals/function-uncurry-this-clause&quot;:267}],263:[function(t,n,l){var i=t(&quot;../internals/fails&quot;);n.exports=!i((function(){var a=(function(){}).bind();return typeof a!=&quot;function&quot;||a.hasOwnProperty(&quot;prototype&quot;)}))},{&quot;../internals/fails&quot;:260}],264:[function(t,n,l){var i=t(&quot;../internals/function-bind-native&quot;),a=Function.prototype.call;n.exports=i?a.bind(a):function(){return a.apply(a,arguments)}},{&quot;../internals/function-bind-native&quot;:263}],265:[function(t,n,l){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/has-own-property&quot;),u=Function.prototype,o=i&amp;&amp;Object.getOwnPropertyDescriptor,s=a(u,&quot;name&quot;),c=s&amp;&amp;(function(){}).name===&quot;something&quot;,f=s&amp;&amp;(!i||i&amp;&amp;o(u,&quot;name&quot;).configurable);n.exports={EXISTS:s,PROPER:c,CONFIGURABLE:f}},{&quot;../internals/descriptors&quot;:247,&quot;../internals/has-own-property&quot;:275}],266:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/a-callable&quot;);n.exports=function(u,o,s){try{return i(a(Object.getOwnPropertyDescriptor(u,o)[s]))}catch{}}},{&quot;../internals/a-callable&quot;:222,&quot;../internals/function-uncurry-this&quot;:268}],267:[function(t,n,l){var i=t(&quot;../internals/classof-raw&quot;),a=t(&quot;../internals/function-uncurry-this&quot;);n.exports=function(u){if(i(u)===&quot;Function&quot;)return a(u)}},{&quot;../internals/classof-raw&quot;:235,&quot;../internals/function-uncurry-this&quot;:268}],268:[function(t,n,l){var i=t(&quot;../internals/function-bind-native&quot;),a=Function.prototype,u=a.call,o=i&amp;&amp;a.bind.bind(u,u);n.exports=i?o:function(s){return function(){return u.apply(s,arguments)}}},{&quot;../internals/function-bind-native&quot;:263}],269:[function(t,n,l){var i=t(&quot;../internals/global&quot;),a=t(&quot;../internals/is-callable&quot;),u=function(o){return a(o)?o:void 0};n.exports=function(o,s){return arguments.length&lt;2?u(i[o]):i[o]&amp;&amp;i[o][s]}},{&quot;../internals/global&quot;:274,&quot;../internals/is-callable&quot;:285}],270:[function(t,n,l){var i=t(&quot;../internals/classof&quot;),a=t(&quot;../internals/get-method&quot;),u=t(&quot;../internals/is-null-or-undefined&quot;),o=t(&quot;../internals/iterators&quot;),s=t(&quot;../internals/well-known-symbol&quot;)(&quot;iterator&quot;);n.exports=function(c){if(!u(c))return a(c,s)||a(c,&quot;@@iterator&quot;)||o[i(c)]}},{&quot;../internals/classof&quot;:236,&quot;../internals/get-method&quot;:273,&quot;../internals/is-null-or-undefined&quot;:288,&quot;../internals/iterators&quot;:298,&quot;../internals/well-known-symbol&quot;:357}],271:[function(t,n,l){var i=t(&quot;../internals/function-call&quot;),a=t(&quot;../internals/a-callable&quot;),u=t(&quot;../internals/an-object&quot;),o=t(&quot;../internals/try-to-string&quot;),s=t(&quot;../internals/get-iterator-method&quot;),c=TypeError;n.exports=function(f,h){var m=arguments.length&lt;2?s(f):h;if(a(m))return u(i(m,f));throw new c(o(f)+&quot; is not iterable&quot;)}},{&quot;../internals/a-callable&quot;:222,&quot;../internals/an-object&quot;:227,&quot;../internals/function-call&quot;:264,&quot;../internals/get-iterator-method&quot;:270,&quot;../internals/try-to-string&quot;:349}],272:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/is-array&quot;),u=t(&quot;../internals/is-callable&quot;),o=t(&quot;../internals/classof-raw&quot;),s=t(&quot;../internals/to-string&quot;),c=i([].push);n.exports=function(f){if(u(f))return f;if(a(f)){for(var h=f.length,m=[],p=0;p&lt;h;p++){var v=f[p];typeof v==&quot;string&quot;?c(m,v):typeof v!=&quot;number&quot;&amp;&amp;o(v)!==&quot;Number&quot;&amp;&amp;o(v)!==&quot;String&quot;||c(m,s(v))}var g=m.length,b=!0;return function(x,_){if(b)return b=!1,_;if(a(this))return _;for(var C=0;C&lt;g;C++)if(m[C]===x)return _}}}},{&quot;../internals/classof-raw&quot;:235,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/is-array&quot;:284,&quot;../internals/is-callable&quot;:285,&quot;../internals/to-string&quot;:348}],273:[function(t,n,l){var i=t(&quot;../internals/a-callable&quot;),a=t(&quot;../internals/is-null-or-undefined&quot;);n.exports=function(u,o){var s=u[o];return a(s)?void 0:i(s)}},{&quot;../internals/a-callable&quot;:222,&quot;../internals/is-null-or-undefined&quot;:288}],274:[function(t,n,l){(function(i){(function(){var a=function(u){return u&amp;&amp;u.Math===Math&amp;&amp;u};n.exports=a(typeof globalThis==&quot;object&quot;&amp;&amp;globalThis)||a(typeof window==&quot;object&quot;&amp;&amp;window)||a(typeof self==&quot;object&quot;&amp;&amp;self)||a(typeof i==&quot;object&quot;&amp;&amp;i)||(function(){return this})()||this||Function(&quot;return this&quot;)()}).call(this)}).call(this,typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],275:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/to-object&quot;),u=i({}.hasOwnProperty);n.exports=Object.hasOwn||function(o,s){return u(a(o),s)}},{&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/to-object&quot;:344}],276:[function(t,n,l){n.exports={}},{}],277:[function(t,n,l){n.exports=function(i,a){try{arguments.length===1?console.error(i):console.error(i,a)}catch{}}},{}],278:[function(t,n,l){var i=t(&quot;../internals/get-built-in&quot;);n.exports=i(&quot;document&quot;,&quot;documentElement&quot;)},{&quot;../internals/get-built-in&quot;:269}],279:[function(t,n,l){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/document-create-element&quot;);n.exports=!i&amp;&amp;!a((function(){return Object.defineProperty(u(&quot;div&quot;),&quot;a&quot;,{get:function(){return 7}}).a!==7}))},{&quot;../internals/descriptors&quot;:247,&quot;../internals/document-create-element&quot;:249,&quot;../internals/fails&quot;:260}],280:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/classof-raw&quot;),o=Object,s=i(&quot;&quot;.split);n.exports=a((function(){return!o(&quot;z&quot;).propertyIsEnumerable(0)}))?function(c){return u(c)===&quot;String&quot;?s(c,&quot;&quot;):o(c)}:o},{&quot;../internals/classof-raw&quot;:235,&quot;../internals/fails&quot;:260,&quot;../internals/function-uncurry-this&quot;:268}],281:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/shared-store&quot;),o=i(Function.toString);a(u.inspectSource)||(u.inspectSource=function(s){return o(s)}),n.exports=u.inspectSource},{&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/is-callable&quot;:285,&quot;../internals/shared-store&quot;:333}],282:[function(t,n,l){var i,a,u,o=t(&quot;../internals/weak-map-basic-detection&quot;),s=t(&quot;../internals/global&quot;),c=t(&quot;../internals/is-object&quot;),f=t(&quot;../internals/create-non-enumerable-property&quot;),h=t(&quot;../internals/has-own-property&quot;),m=t(&quot;../internals/shared-store&quot;),p=t(&quot;../internals/shared-key&quot;),v=t(&quot;../internals/hidden-keys&quot;),g=s.TypeError,b=s.WeakMap;if(o||m.state){var x=m.state||(m.state=new b);x.get=x.get,x.has=x.has,x.set=x.set,i=function(C,O){if(x.has(C))throw new g(&quot;Object already initialized&quot;);return O.facade=C,x.set(C,O),O},a=function(C){return x.get(C)||{}},u=function(C){return x.has(C)}}else{var _=p(&quot;state&quot;);v[_]=!0,i=function(C,O){if(h(C,_))throw new g(&quot;Object already initialized&quot;);return O.facade=C,f(C,_,O),O},a=function(C){return h(C,_)?C[_]:{}},u=function(C){return h(C,_)}}n.exports={set:i,get:a,has:u,enforce:function(C){return u(C)?a(C):i(C,{})},getterFor:function(C){return function(O){var R;if(!c(O)||(R=a(O)).type!==C)throw new g(&quot;Incompatible receiver, &quot;+C+&quot; required&quot;);return R}}}},{&quot;../internals/create-non-enumerable-property&quot;:241,&quot;../internals/global&quot;:274,&quot;../internals/has-own-property&quot;:275,&quot;../internals/hidden-keys&quot;:276,&quot;../internals/is-object&quot;:289,&quot;../internals/shared-key&quot;:332,&quot;../internals/shared-store&quot;:333,&quot;../internals/weak-map-basic-detection&quot;:354}],283:[function(t,n,l){var i=t(&quot;../internals/well-known-symbol&quot;),a=t(&quot;../internals/iterators&quot;),u=i(&quot;iterator&quot;),o=Array.prototype;n.exports=function(s){return s!==void 0&amp;&amp;(a.Array===s||o[u]===s)}},{&quot;../internals/iterators&quot;:298,&quot;../internals/well-known-symbol&quot;:357}],284:[function(t,n,l){var i=t(&quot;../internals/classof-raw&quot;);n.exports=Array.isArray||function(a){return i(a)===&quot;Array&quot;}},{&quot;../internals/classof-raw&quot;:235}],285:[function(t,n,l){var i=t(&quot;../internals/document-all&quot;),a=i.all;n.exports=i.IS_HTMLDDA?function(u){return typeof u==&quot;function&quot;||u===a}:function(u){return typeof u==&quot;function&quot;}},{&quot;../internals/document-all&quot;:248}],286:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/is-callable&quot;),o=t(&quot;../internals/classof&quot;),s=t(&quot;../internals/get-built-in&quot;),c=t(&quot;../internals/inspect-source&quot;),f=function(){},h=[],m=s(&quot;Reflect&quot;,&quot;construct&quot;),p=/^\s*(?:class|function)\b/,v=i(p.exec),g=!p.test(f),b=function(_){if(!u(_))return!1;try{return m(f,h,_),!0}catch{return!1}},x=function(_){if(!u(_))return!1;switch(o(_)){case&quot;AsyncFunction&quot;:case&quot;GeneratorFunction&quot;:case&quot;AsyncGeneratorFunction&quot;:return!1}try{return g||!!v(p,c(_))}catch{return!0}};x.sham=!0,n.exports=!m||a((function(){var _;return b(b.call)||!b(Object)||!b((function(){_=!0}))||_}))?x:b},{&quot;../internals/classof&quot;:236,&quot;../internals/fails&quot;:260,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/get-built-in&quot;:269,&quot;../internals/inspect-source&quot;:281,&quot;../internals/is-callable&quot;:285}],287:[function(t,n,l){var i=t(&quot;../internals/fails&quot;),a=t(&quot;../internals/is-callable&quot;),u=/#|\.prototype\./,o=function(m,p){var v=c[s(m)];return v===h||v!==f&amp;&amp;(a(p)?i(p):!!p)},s=o.normalize=function(m){return String(m).replace(u,&quot;.&quot;).toLowerCase()},c=o.data={},f=o.NATIVE=&quot;N&quot;,h=o.POLYFILL=&quot;P&quot;;n.exports=o},{&quot;../internals/fails&quot;:260,&quot;../internals/is-callable&quot;:285}],288:[function(t,n,l){n.exports=function(i){return i==null}},{}],289:[function(t,n,l){var i=t(&quot;../internals/is-callable&quot;),a=t(&quot;../internals/document-all&quot;),u=a.all;n.exports=a.IS_HTMLDDA?function(o){return typeof o==&quot;object&quot;?o!==null:i(o)||o===u}:function(o){return typeof o==&quot;object&quot;?o!==null:i(o)}},{&quot;../internals/document-all&quot;:248,&quot;../internals/is-callable&quot;:285}],290:[function(t,n,l){n.exports=!1},{}],291:[function(t,n,l){var i=t(&quot;../internals/is-object&quot;),a=t(&quot;../internals/classof-raw&quot;),u=t(&quot;../internals/well-known-symbol&quot;)(&quot;match&quot;);n.exports=function(o){var s;return i(o)&amp;&amp;((s=o[u])!==void 0?!!s:a(o)===&quot;RegExp&quot;)}},{&quot;../internals/classof-raw&quot;:235,&quot;../internals/is-object&quot;:289,&quot;../internals/well-known-symbol&quot;:357}],292:[function(t,n,l){var i=t(&quot;../internals/get-built-in&quot;),a=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/object-is-prototype-of&quot;),o=t(&quot;../internals/use-symbol-as-uid&quot;),s=Object;n.exports=o?function(c){return typeof c==&quot;symbol&quot;}:function(c){var f=i(&quot;Symbol&quot;);return a(f)&amp;&amp;u(f.prototype,s(c))}},{&quot;../internals/get-built-in&quot;:269,&quot;../internals/is-callable&quot;:285,&quot;../internals/object-is-prototype-of&quot;:314,&quot;../internals/use-symbol-as-uid&quot;:351}],293:[function(t,n,l){var i=t(&quot;../internals/function-bind-context&quot;),a=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/an-object&quot;),o=t(&quot;../internals/try-to-string&quot;),s=t(&quot;../internals/is-array-iterator-method&quot;),c=t(&quot;../internals/length-of-array-like&quot;),f=t(&quot;../internals/object-is-prototype-of&quot;),h=t(&quot;../internals/get-iterator&quot;),m=t(&quot;../internals/get-iterator-method&quot;),p=t(&quot;../internals/iterator-close&quot;),v=TypeError,g=function(x,_){this.stopped=x,this.result=_},b=g.prototype;n.exports=function(x,_,C){var O,R,H,L,q,W,K,U=C&amp;&amp;C.that,P=!(!C||!C.AS_ENTRIES),D=!(!C||!C.IS_RECORD),E=!(!C||!C.IS_ITERATOR),j=!(!C||!C.INTERRUPTED),k=i(_,U),S=function(M){return O&amp;&amp;p(O,&quot;normal&quot;,M),new g(!0,M)},N=function(M){return P?(u(M),j?k(M[0],M[1],S):k(M[0],M[1])):j?k(M,S):k(M)};if(D)O=x.iterator;else if(E)O=x;else{if(!(R=m(x)))throw new v(o(x)+&quot; is not iterable&quot;);if(s(R)){for(H=0,L=c(x);L&gt;H;H++)if((q=N(x[H]))&amp;&amp;f(b,q))return q;return new g(!1)}O=h(x,R)}for(W=D?x.next:O.next;!(K=a(W,O)).done;){try{q=N(K.value)}catch(M){p(O,&quot;throw&quot;,M)}if(typeof q==&quot;object&quot;&amp;&amp;q&amp;&amp;f(b,q))return q}return new g(!1)}},{&quot;../internals/an-object&quot;:227,&quot;../internals/function-bind-context&quot;:262,&quot;../internals/function-call&quot;:264,&quot;../internals/get-iterator&quot;:271,&quot;../internals/get-iterator-method&quot;:270,&quot;../internals/is-array-iterator-method&quot;:283,&quot;../internals/iterator-close&quot;:294,&quot;../internals/length-of-array-like&quot;:299,&quot;../internals/object-is-prototype-of&quot;:314,&quot;../internals/try-to-string&quot;:349}],294:[function(t,n,l){var i=t(&quot;../internals/function-call&quot;),a=t(&quot;../internals/an-object&quot;),u=t(&quot;../internals/get-method&quot;);n.exports=function(o,s,c){var f,h;a(o);try{if(!(f=u(o,&quot;return&quot;))){if(s===&quot;throw&quot;)throw c;return c}f=i(f,o)}catch(m){h=!0,f=m}if(s===&quot;throw&quot;)throw c;if(h)throw f;return a(f),c}},{&quot;../internals/an-object&quot;:227,&quot;../internals/function-call&quot;:264,&quot;../internals/get-method&quot;:273}],295:[function(t,n,l){var i=t(&quot;../internals/iterators-core&quot;).IteratorPrototype,a=t(&quot;../internals/object-create&quot;),u=t(&quot;../internals/create-property-descriptor&quot;),o=t(&quot;../internals/set-to-string-tag&quot;),s=t(&quot;../internals/iterators&quot;),c=function(){return this};n.exports=function(f,h,m,p){var v=h+&quot; Iterator&quot;;return f.prototype=a(i,{next:u(+!p,m)}),o(f,v,!1,!0),s[v]=c,f}},{&quot;../internals/create-property-descriptor&quot;:242,&quot;../internals/iterators&quot;:298,&quot;../internals/iterators-core&quot;:297,&quot;../internals/object-create&quot;:306,&quot;../internals/set-to-string-tag&quot;:331}],296:[function(t,n,l){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/is-pure&quot;),o=t(&quot;../internals/function-name&quot;),s=t(&quot;../internals/is-callable&quot;),c=t(&quot;../internals/iterator-create-constructor&quot;),f=t(&quot;../internals/object-get-prototype-of&quot;),h=t(&quot;../internals/object-set-prototype-of&quot;),m=t(&quot;../internals/set-to-string-tag&quot;),p=t(&quot;../internals/create-non-enumerable-property&quot;),v=t(&quot;../internals/define-built-in&quot;),g=t(&quot;../internals/well-known-symbol&quot;),b=t(&quot;../internals/iterators&quot;),x=t(&quot;../internals/iterators-core&quot;),_=o.PROPER,C=o.CONFIGURABLE,O=x.IteratorPrototype,R=x.BUGGY_SAFARI_ITERATORS,H=g(&quot;iterator&quot;),L=function(){return this};n.exports=function(q,W,K,U,P,D,E){c(K,W,U);var j,k,S,N=function($){if($===P&amp;&amp;Z)return Z;if(!R&amp;&amp;$&amp;&amp;$ in B)return B[$];switch($){case&quot;keys&quot;:case&quot;values&quot;:case&quot;entries&quot;:return function(){return new K(this,$)}}return function(){return new K(this)}},M=W+&quot; Iterator&quot;,I=!1,B=q.prototype,Y=B[H]||B[&quot;@@iterator&quot;]||P&amp;&amp;B[P],Z=!R&amp;&amp;Y||N(P),ie=W===&quot;Array&quot;&amp;&amp;B.entries||Y;if(ie&amp;&amp;(j=f(ie.call(new q)))!==Object.prototype&amp;&amp;j.next&amp;&amp;(u||f(j)===O||(h?h(j,O):s(j[H])||v(j,H,L)),m(j,M,!0,!0),u&amp;&amp;(b[M]=L)),_&amp;&amp;P===&quot;values&quot;&amp;&amp;Y&amp;&amp;Y.name!==&quot;values&quot;&amp;&amp;(!u&amp;&amp;C?p(B,&quot;name&quot;,&quot;values&quot;):(I=!0,Z=function(){return a(Y,this)})),P)if(k={values:N(&quot;values&quot;),keys:D?Z:N(&quot;keys&quot;),entries:N(&quot;entries&quot;)},E)for(S in k)(R||I||!(S in B))&amp;&amp;v(B,S,k[S]);else i({target:W,proto:!0,forced:R||I},k);return u&amp;&amp;!E||B[H]===Z||v(B,H,Z,{name:P}),b[W]=Z,k}},{&quot;../internals/create-non-enumerable-property&quot;:241,&quot;../internals/define-built-in&quot;:245,&quot;../internals/export&quot;:259,&quot;../internals/function-call&quot;:264,&quot;../internals/function-name&quot;:265,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-pure&quot;:290,&quot;../internals/iterator-create-constructor&quot;:295,&quot;../internals/iterators&quot;:298,&quot;../internals/iterators-core&quot;:297,&quot;../internals/object-get-prototype-of&quot;:313,&quot;../internals/object-set-prototype-of&quot;:318,&quot;../internals/set-to-string-tag&quot;:331,&quot;../internals/well-known-symbol&quot;:357}],297:[function(t,n,l){var i,a,u,o=t(&quot;../internals/fails&quot;),s=t(&quot;../internals/is-callable&quot;),c=t(&quot;../internals/is-object&quot;),f=t(&quot;../internals/object-create&quot;),h=t(&quot;../internals/object-get-prototype-of&quot;),m=t(&quot;../internals/define-built-in&quot;),p=t(&quot;../internals/well-known-symbol&quot;),v=t(&quot;../internals/is-pure&quot;),g=p(&quot;iterator&quot;),b=!1;[].keys&amp;&amp;(&quot;next&quot;in(u=[].keys())?(a=h(h(u)))!==Object.prototype&amp;&amp;(i=a):b=!0),!c(i)||o((function(){var x={};return i[g].call(x)!==x}))?i={}:v&amp;&amp;(i=f(i)),s(i[g])||m(i,g,(function(){return this})),n.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:b}},{&quot;../internals/define-built-in&quot;:245,&quot;../internals/fails&quot;:260,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-object&quot;:289,&quot;../internals/is-pure&quot;:290,&quot;../internals/object-create&quot;:306,&quot;../internals/object-get-prototype-of&quot;:313,&quot;../internals/well-known-symbol&quot;:357}],298:[function(t,n,l){arguments[4][276][0].apply(l,arguments)},{dup:276}],299:[function(t,n,l){var i=t(&quot;../internals/to-length&quot;);n.exports=function(a){return i(a.length)}},{&quot;../internals/to-length&quot;:343}],300:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/is-callable&quot;),o=t(&quot;../internals/has-own-property&quot;),s=t(&quot;../internals/descriptors&quot;),c=t(&quot;../internals/function-name&quot;).CONFIGURABLE,f=t(&quot;../internals/inspect-source&quot;),h=t(&quot;../internals/internal-state&quot;),m=h.enforce,p=h.get,v=String,g=Object.defineProperty,b=i(&quot;&quot;.slice),x=i(&quot;&quot;.replace),_=i([].join),C=s&amp;&amp;!a((function(){return g((function(){}),&quot;length&quot;,{value:8}).length!==8})),O=String(String).split(&quot;String&quot;),R=n.exports=function(H,L,q){b(v(L),0,7)===&quot;Symbol(&quot;&amp;&amp;(L=&quot;[&quot;+x(v(L),/^Symbol\(([^)]*)\)/,&quot;$1&quot;)+&quot;]&quot;),q&amp;&amp;q.getter&amp;&amp;(L=&quot;get &quot;+L),q&amp;&amp;q.setter&amp;&amp;(L=&quot;set &quot;+L),(!o(H,&quot;name&quot;)||c&amp;&amp;H.name!==L)&amp;&amp;(s?g(H,&quot;name&quot;,{value:L,configurable:!0}):H.name=L),C&amp;&amp;q&amp;&amp;o(q,&quot;arity&quot;)&amp;&amp;H.length!==q.arity&amp;&amp;g(H,&quot;length&quot;,{value:q.arity});try{q&amp;&amp;o(q,&quot;constructor&quot;)&amp;&amp;q.constructor?s&amp;&amp;g(H,&quot;prototype&quot;,{writable:!1}):H.prototype&amp;&amp;(H.prototype=void 0)}catch{}var W=m(H);return o(W,&quot;source&quot;)||(W.source=_(O,typeof L==&quot;string&quot;?L:&quot;&quot;)),H};Function.prototype.toString=R((function(){return u(this)&amp;&amp;p(this).source||f(this)}),&quot;toString&quot;)},{&quot;../internals/descriptors&quot;:247,&quot;../internals/fails&quot;:260,&quot;../internals/function-name&quot;:265,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/has-own-property&quot;:275,&quot;../internals/inspect-source&quot;:281,&quot;../internals/internal-state&quot;:282,&quot;../internals/is-callable&quot;:285}],301:[function(t,n,l){var i=Math.ceil,a=Math.floor;n.exports=Math.trunc||function(u){var o=+u;return(o&gt;0?a:i)(o)}},{}],302:[function(t,n,l){var i,a,u,o,s,c=t(&quot;../internals/global&quot;),f=t(&quot;../internals/function-bind-context&quot;),h=t(&quot;../internals/object-get-own-property-descriptor&quot;).f,m=t(&quot;../internals/task&quot;).set,p=t(&quot;../internals/queue&quot;),v=t(&quot;../internals/engine-is-ios&quot;),g=t(&quot;../internals/engine-is-ios-pebble&quot;),b=t(&quot;../internals/engine-is-webos-webkit&quot;),x=t(&quot;../internals/engine-is-node&quot;),_=c.MutationObserver||c.WebKitMutationObserver,C=c.document,O=c.process,R=c.Promise,H=h(c,&quot;queueMicrotask&quot;),L=H&amp;&amp;H.value;if(!L){var q=new p,W=function(){var K,U;for(x&amp;&amp;(K=O.domain)&amp;&amp;K.exit();U=q.get();)try{U()}catch(P){throw q.head&amp;&amp;i(),P}K&amp;&amp;K.enter()};v||x||b||!_||!C?!g&amp;&amp;R&amp;&amp;R.resolve?((o=R.resolve(void 0)).constructor=R,s=f(o.then,o),i=function(){s(W)}):x?i=function(){O.nextTick(W)}:(m=f(m,c),i=function(){m(W)}):(a=!0,u=C.createTextNode(&quot;&quot;),new _(W).observe(u,{characterData:!0}),i=function(){u.data=a=!a}),L=function(K){q.head||i(),q.add(K)}}n.exports=L},{&quot;../internals/engine-is-ios&quot;:253,&quot;../internals/engine-is-ios-pebble&quot;:252,&quot;../internals/engine-is-node&quot;:254,&quot;../internals/engine-is-webos-webkit&quot;:255,&quot;../internals/function-bind-context&quot;:262,&quot;../internals/global&quot;:274,&quot;../internals/object-get-own-property-descriptor&quot;:309,&quot;../internals/queue&quot;:328,&quot;../internals/task&quot;:339}],303:[function(t,n,l){var i=t(&quot;../internals/a-callable&quot;),a=TypeError,u=function(o){var s,c;this.promise=new o((function(f,h){if(s!==void 0||c!==void 0)throw new a(&quot;Bad Promise constructor&quot;);s=f,c=h})),this.resolve=i(s),this.reject=i(c)};n.exports.f=function(o){return new u(o)}},{&quot;../internals/a-callable&quot;:222}],304:[function(t,n,l){var i=t(&quot;../internals/is-regexp&quot;),a=TypeError;n.exports=function(u){if(i(u))throw new a(&quot;The method doesn&#039;t accept regular expressions&quot;);return u}},{&quot;../internals/is-regexp&quot;:291}],305:[function(t,n,l){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/function-call&quot;),o=t(&quot;../internals/fails&quot;),s=t(&quot;../internals/object-keys&quot;),c=t(&quot;../internals/object-get-own-property-symbols&quot;),f=t(&quot;../internals/object-property-is-enumerable&quot;),h=t(&quot;../internals/to-object&quot;),m=t(&quot;../internals/indexed-object&quot;),p=Object.assign,v=Object.defineProperty,g=a([].concat);n.exports=!p||o((function(){if(i&amp;&amp;p({b:1},p(v({},&quot;a&quot;,{enumerable:!0,get:function(){v(this,&quot;b&quot;,{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},x={},_=Symbol(&quot;assign detection&quot;);return b[_]=7,&quot;abcdefghijklmnopqrst&quot;.split(&quot;&quot;).forEach((function(C){x[C]=C})),p({},b)[_]!==7||s(p({},x)).join(&quot;&quot;)!==&quot;abcdefghijklmnopqrst&quot;}))?function(b,x){for(var _=h(b),C=arguments.length,O=1,R=c.f,H=f.f;C&gt;O;)for(var L,q=m(arguments[O++]),W=R?g(s(q),R(q)):s(q),K=W.length,U=0;K&gt;U;)L=W[U++],i&amp;&amp;!u(H,q,L)||(_[L]=q[L]);return _}:p},{&quot;../internals/descriptors&quot;:247,&quot;../internals/fails&quot;:260,&quot;../internals/function-call&quot;:264,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/indexed-object&quot;:280,&quot;../internals/object-get-own-property-symbols&quot;:312,&quot;../internals/object-keys&quot;:316,&quot;../internals/object-property-is-enumerable&quot;:317,&quot;../internals/to-object&quot;:344}],306:[function(t,n,l){var i,a=t(&quot;../internals/an-object&quot;),u=t(&quot;../internals/object-define-properties&quot;),o=t(&quot;../internals/enum-bug-keys&quot;),s=t(&quot;../internals/hidden-keys&quot;),c=t(&quot;../internals/html&quot;),f=t(&quot;../internals/document-create-element&quot;),h=t(&quot;../internals/shared-key&quot;),m=h(&quot;IE_PROTO&quot;),p=function(){},v=function(x){return&quot;&lt;script&gt;&quot;+x+&quot;&lt;\/script&gt;&quot;},g=function(x){x.write(v(&quot;&quot;)),x.close();var _=x.parentWindow.Object;return x=null,_},b=function(){try{i=new ActiveXObject(&quot;htmlfile&quot;)}catch{}var x,_;b=typeof document&lt;&quot;u&quot;?document.domain&amp;&amp;i?g(i):((_=f(&quot;iframe&quot;)).style.display=&quot;none&quot;,c.appendChild(_),_.src=&quot;javascript:&quot;,(x=_.contentWindow.document).open(),x.write(v(&quot;document.F=Object&quot;)),x.close(),x.F):g(i);for(var C=o.length;C--;)delete b.prototype[o[C]];return b()};s[m]=!0,n.exports=Object.create||function(x,_){var C;return x!==null?(p.prototype=a(x),C=new p,p.prototype=null,C[m]=x):C=b(),_===void 0?C:u.f(C,_)}},{&quot;../internals/an-object&quot;:227,&quot;../internals/document-create-element&quot;:249,&quot;../internals/enum-bug-keys&quot;:258,&quot;../internals/hidden-keys&quot;:276,&quot;../internals/html&quot;:278,&quot;../internals/object-define-properties&quot;:307,&quot;../internals/shared-key&quot;:332}],307:[function(t,n,l){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/v8-prototype-define-bug&quot;),u=t(&quot;../internals/object-define-property&quot;),o=t(&quot;../internals/an-object&quot;),s=t(&quot;../internals/to-indexed-object&quot;),c=t(&quot;../internals/object-keys&quot;);l.f=i&amp;&amp;!a?Object.defineProperties:function(f,h){o(f);for(var m,p=s(h),v=c(h),g=v.length,b=0;g&gt;b;)u.f(f,m=v[b++],p[m]);return f}},{&quot;../internals/an-object&quot;:227,&quot;../internals/descriptors&quot;:247,&quot;../internals/object-define-property&quot;:308,&quot;../internals/object-keys&quot;:316,&quot;../internals/to-indexed-object&quot;:341,&quot;../internals/v8-prototype-define-bug&quot;:352}],308:[function(t,n,l){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/ie8-dom-define&quot;),u=t(&quot;../internals/v8-prototype-define-bug&quot;),o=t(&quot;../internals/an-object&quot;),s=t(&quot;../internals/to-property-key&quot;),c=TypeError,f=Object.defineProperty,h=Object.getOwnPropertyDescriptor;l.f=i?u?function(m,p,v){if(o(m),p=s(p),o(v),typeof m==&quot;function&quot;&amp;&amp;p===&quot;prototype&quot;&amp;&amp;&quot;value&quot;in v&amp;&amp;&quot;writable&quot;in v&amp;&amp;!v.writable){var g=h(m,p);g&amp;&amp;g.writable&amp;&amp;(m[p]=v.value,v={configurable:&quot;configurable&quot;in v?v.configurable:g.configurable,enumerable:&quot;enumerable&quot;in v?v.enumerable:g.enumerable,writable:!1})}return f(m,p,v)}:f:function(m,p,v){if(o(m),p=s(p),o(v),a)try{return f(m,p,v)}catch{}if(&quot;get&quot;in v||&quot;set&quot;in v)throw new c(&quot;Accessors not supported&quot;);return&quot;value&quot;in v&amp;&amp;(m[p]=v.value),m}},{&quot;../internals/an-object&quot;:227,&quot;../internals/descriptors&quot;:247,&quot;../internals/ie8-dom-define&quot;:279,&quot;../internals/to-property-key&quot;:346,&quot;../internals/v8-prototype-define-bug&quot;:352}],309:[function(t,n,l){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/object-property-is-enumerable&quot;),o=t(&quot;../internals/create-property-descriptor&quot;),s=t(&quot;../internals/to-indexed-object&quot;),c=t(&quot;../internals/to-property-key&quot;),f=t(&quot;../internals/has-own-property&quot;),h=t(&quot;../internals/ie8-dom-define&quot;),m=Object.getOwnPropertyDescriptor;l.f=i?m:function(p,v){if(p=s(p),v=c(v),h)try{return m(p,v)}catch{}if(f(p,v))return o(!a(u.f,p,v),p[v])}},{&quot;../internals/create-property-descriptor&quot;:242,&quot;../internals/descriptors&quot;:247,&quot;../internals/function-call&quot;:264,&quot;../internals/has-own-property&quot;:275,&quot;../internals/ie8-dom-define&quot;:279,&quot;../internals/object-property-is-enumerable&quot;:317,&quot;../internals/to-indexed-object&quot;:341,&quot;../internals/to-property-key&quot;:346}],310:[function(t,n,l){var i=t(&quot;../internals/classof-raw&quot;),a=t(&quot;../internals/to-indexed-object&quot;),u=t(&quot;../internals/object-get-own-property-names&quot;).f,o=t(&quot;../internals/array-slice-simple&quot;),s=typeof window==&quot;object&quot;&amp;&amp;window&amp;&amp;Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];n.exports.f=function(c){return s&amp;&amp;i(c)===&quot;Window&quot;?(function(f){try{return u(f)}catch{return o(s)}})(c):u(a(c))}},{&quot;../internals/array-slice-simple&quot;:230,&quot;../internals/classof-raw&quot;:235,&quot;../internals/object-get-own-property-names&quot;:311,&quot;../internals/to-indexed-object&quot;:341}],311:[function(t,n,l){var i=t(&quot;../internals/object-keys-internal&quot;),a=t(&quot;../internals/enum-bug-keys&quot;).concat(&quot;length&quot;,&quot;prototype&quot;);l.f=Object.getOwnPropertyNames||function(u){return i(u,a)}},{&quot;../internals/enum-bug-keys&quot;:258,&quot;../internals/object-keys-internal&quot;:315}],312:[function(t,n,l){l.f=Object.getOwnPropertySymbols},{}],313:[function(t,n,l){var i=t(&quot;../internals/has-own-property&quot;),a=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/to-object&quot;),o=t(&quot;../internals/shared-key&quot;),s=t(&quot;../internals/correct-prototype-getter&quot;),c=o(&quot;IE_PROTO&quot;),f=Object,h=f.prototype;n.exports=s?f.getPrototypeOf:function(m){var p=u(m);if(i(p,c))return p[c];var v=p.constructor;return a(v)&amp;&amp;p instanceof v?v.prototype:p instanceof f?h:null}},{&quot;../internals/correct-prototype-getter&quot;:239,&quot;../internals/has-own-property&quot;:275,&quot;../internals/is-callable&quot;:285,&quot;../internals/shared-key&quot;:332,&quot;../internals/to-object&quot;:344}],314:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this&quot;);n.exports=i({}.isPrototypeOf)},{&quot;../internals/function-uncurry-this&quot;:268}],315:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/has-own-property&quot;),u=t(&quot;../internals/to-indexed-object&quot;),o=t(&quot;../internals/array-includes&quot;).indexOf,s=t(&quot;../internals/hidden-keys&quot;),c=i([].push);n.exports=function(f,h){var m,p=u(f),v=0,g=[];for(m in p)!a(s,m)&amp;&amp;a(p,m)&amp;&amp;c(g,m);for(;h.length&gt;v;)a(p,m=h[v++])&amp;&amp;(~o(g,m)||c(g,m));return g}},{&quot;../internals/array-includes&quot;:228,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/has-own-property&quot;:275,&quot;../internals/hidden-keys&quot;:276,&quot;../internals/to-indexed-object&quot;:341}],316:[function(t,n,l){var i=t(&quot;../internals/object-keys-internal&quot;),a=t(&quot;../internals/enum-bug-keys&quot;);n.exports=Object.keys||function(u){return i(u,a)}},{&quot;../internals/enum-bug-keys&quot;:258,&quot;../internals/object-keys-internal&quot;:315}],317:[function(t,n,l){var i={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,u=a&amp;&amp;!i.call({1:2},1);l.f=u?function(o){var s=a(this,o);return!!s&amp;&amp;s.enumerable}:i},{}],318:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this-accessor&quot;),a=t(&quot;../internals/an-object&quot;),u=t(&quot;../internals/a-possible-prototype&quot;);n.exports=Object.setPrototypeOf||(&quot;__proto__&quot;in{}?(function(){var o,s=!1,c={};try{(o=i(Object.prototype,&quot;__proto__&quot;,&quot;set&quot;))(c,[]),s=c instanceof Array}catch{}return function(f,h){return a(f),u(h),s?o(f,h):f.__proto__=h,f}})():void 0)},{&quot;../internals/a-possible-prototype&quot;:224,&quot;../internals/an-object&quot;:227,&quot;../internals/function-uncurry-this-accessor&quot;:266}],319:[function(t,n,l){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/function-uncurry-this&quot;),o=t(&quot;../internals/object-get-prototype-of&quot;),s=t(&quot;../internals/object-keys&quot;),c=t(&quot;../internals/to-indexed-object&quot;),f=u(t(&quot;../internals/object-property-is-enumerable&quot;).f),h=u([].push),m=i&amp;&amp;a((function(){var v=Object.create(null);return v[2]=2,!f(v,2)})),p=function(v){return function(g){for(var b,x=c(g),_=s(x),C=m&amp;&amp;o(x)===null,O=_.length,R=0,H=[];O&gt;R;)b=_[R++],i&amp;&amp;!(C?b in x:f(x,b))||h(H,v?[b,x[b]]:x[b]);return H}};n.exports={entries:p(!0),values:p(!1)}},{&quot;../internals/descriptors&quot;:247,&quot;../internals/fails&quot;:260,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/object-get-prototype-of&quot;:313,&quot;../internals/object-keys&quot;:316,&quot;../internals/object-property-is-enumerable&quot;:317,&quot;../internals/to-indexed-object&quot;:341}],320:[function(t,n,l){var i=t(&quot;../internals/function-call&quot;),a=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/is-object&quot;),o=TypeError;n.exports=function(s,c){var f,h;if(c===&quot;string&quot;&amp;&amp;a(f=s.toString)&amp;&amp;!u(h=i(f,s))||a(f=s.valueOf)&amp;&amp;!u(h=i(f,s))||c!==&quot;string&quot;&amp;&amp;a(f=s.toString)&amp;&amp;!u(h=i(f,s)))return h;throw new o(&quot;Can&#039;t convert object to primitive value&quot;)}},{&quot;../internals/function-call&quot;:264,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-object&quot;:289}],321:[function(t,n,l){var i=t(&quot;../internals/get-built-in&quot;),a=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/object-get-own-property-names&quot;),o=t(&quot;../internals/object-get-own-property-symbols&quot;),s=t(&quot;../internals/an-object&quot;),c=a([].concat);n.exports=i(&quot;Reflect&quot;,&quot;ownKeys&quot;)||function(f){var h=u.f(s(f)),m=o.f;return m?c(h,m(f)):h}},{&quot;../internals/an-object&quot;:227,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/get-built-in&quot;:269,&quot;../internals/object-get-own-property-names&quot;:311,&quot;../internals/object-get-own-property-symbols&quot;:312}],322:[function(t,n,l){var i=t(&quot;../internals/global&quot;);n.exports=i},{&quot;../internals/global&quot;:274}],323:[function(t,n,l){n.exports=function(i){try{return{error:!1,value:i()}}catch(a){return{error:!0,value:a}}}},{}],324:[function(t,n,l){var i=t(&quot;../internals/global&quot;),a=t(&quot;../internals/promise-native-constructor&quot;),u=t(&quot;../internals/is-callable&quot;),o=t(&quot;../internals/is-forced&quot;),s=t(&quot;../internals/inspect-source&quot;),c=t(&quot;../internals/well-known-symbol&quot;),f=t(&quot;../internals/engine-is-browser&quot;),h=t(&quot;../internals/engine-is-deno&quot;),m=t(&quot;../internals/is-pure&quot;),p=t(&quot;../internals/engine-v8-version&quot;),v=a&amp;&amp;a.prototype,g=c(&quot;species&quot;),b=!1,x=u(i.PromiseRejectionEvent),_=o(&quot;Promise&quot;,(function(){var C=s(a),O=C!==String(a);if(!O&amp;&amp;p===66||m&amp;&amp;(!v.catch||!v.finally))return!0;if(!p||p&lt;51||!/native code/.test(C)){var R=new a((function(L){L(1)})),H=function(L){L((function(){}),(function(){}))};if((R.constructor={})[g]=H,!(b=R.then((function(){}))instanceof H))return!0}return!O&amp;&amp;(f||h)&amp;&amp;!x}));n.exports={CONSTRUCTOR:_,REJECTION_EVENT:x,SUBCLASSING:b}},{&quot;../internals/engine-is-browser&quot;:250,&quot;../internals/engine-is-deno&quot;:251,&quot;../internals/engine-v8-version&quot;:257,&quot;../internals/global&quot;:274,&quot;../internals/inspect-source&quot;:281,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-forced&quot;:287,&quot;../internals/is-pure&quot;:290,&quot;../internals/promise-native-constructor&quot;:325,&quot;../internals/well-known-symbol&quot;:357}],325:[function(t,n,l){var i=t(&quot;../internals/global&quot;);n.exports=i.Promise},{&quot;../internals/global&quot;:274}],326:[function(t,n,l){var i=t(&quot;../internals/an-object&quot;),a=t(&quot;../internals/is-object&quot;),u=t(&quot;../internals/new-promise-capability&quot;);n.exports=function(o,s){if(i(o),a(s)&amp;&amp;s.constructor===o)return s;var c=u.f(o);return(0,c.resolve)(s),c.promise}},{&quot;../internals/an-object&quot;:227,&quot;../internals/is-object&quot;:289,&quot;../internals/new-promise-capability&quot;:303}],327:[function(t,n,l){var i=t(&quot;../internals/promise-native-constructor&quot;),a=t(&quot;../internals/check-correctness-of-iteration&quot;),u=t(&quot;../internals/promise-constructor-detection&quot;).CONSTRUCTOR;n.exports=u||!a((function(o){i.all(o).then(void 0,(function(){}))}))},{&quot;../internals/check-correctness-of-iteration&quot;:234,&quot;../internals/promise-constructor-detection&quot;:324,&quot;../internals/promise-native-constructor&quot;:325}],328:[function(t,n,l){var i=function(){this.head=null,this.tail=null};i.prototype={add:function(a){var u={item:a,next:null},o=this.tail;o?o.next=u:this.head=u,this.tail=u},get:function(){var a=this.head;if(a)return(this.head=a.next)===null&amp;&amp;(this.tail=null),a.item}},n.exports=i},{}],329:[function(t,n,l){var i=t(&quot;../internals/is-null-or-undefined&quot;),a=TypeError;n.exports=function(u){if(i(u))throw new a(&quot;Can&#039;t call method on &quot;+u);return u}},{&quot;../internals/is-null-or-undefined&quot;:288}],330:[function(t,n,l){var i=t(&quot;../internals/get-built-in&quot;),a=t(&quot;../internals/define-built-in-accessor&quot;),u=t(&quot;../internals/well-known-symbol&quot;),o=t(&quot;../internals/descriptors&quot;),s=u(&quot;species&quot;);n.exports=function(c){var f=i(c);o&amp;&amp;f&amp;&amp;!f[s]&amp;&amp;a(f,s,{configurable:!0,get:function(){return this}})}},{&quot;../internals/define-built-in-accessor&quot;:244,&quot;../internals/descriptors&quot;:247,&quot;../internals/get-built-in&quot;:269,&quot;../internals/well-known-symbol&quot;:357}],331:[function(t,n,l){var i=t(&quot;../internals/object-define-property&quot;).f,a=t(&quot;../internals/has-own-property&quot;),u=t(&quot;../internals/well-known-symbol&quot;)(&quot;toStringTag&quot;);n.exports=function(o,s,c){o&amp;&amp;!c&amp;&amp;(o=o.prototype),o&amp;&amp;!a(o,u)&amp;&amp;i(o,u,{configurable:!0,value:s})}},{&quot;../internals/has-own-property&quot;:275,&quot;../internals/object-define-property&quot;:308,&quot;../internals/well-known-symbol&quot;:357}],332:[function(t,n,l){var i=t(&quot;../internals/shared&quot;),a=t(&quot;../internals/uid&quot;),u=i(&quot;keys&quot;);n.exports=function(o){return u[o]||(u[o]=a(o))}},{&quot;../internals/shared&quot;:334,&quot;../internals/uid&quot;:350}],333:[function(t,n,l){var i=t(&quot;../internals/global&quot;),a=t(&quot;../internals/define-global-property&quot;),u=i[&quot;__core-js_shared__&quot;]||a(&quot;__core-js_shared__&quot;,{});n.exports=u},{&quot;../internals/define-global-property&quot;:246,&quot;../internals/global&quot;:274}],334:[function(t,n,l){var i=t(&quot;../internals/is-pure&quot;),a=t(&quot;../internals/shared-store&quot;);(n.exports=function(u,o){return a[u]||(a[u]=o!==void 0?o:{})})(&quot;versions&quot;,[]).push({version:&quot;3.33.0&quot;,mode:i?&quot;pure&quot;:&quot;global&quot;,copyright:&quot;© 2014-2023 Denis Pushkarev (zloirock.ru)&quot;,license:&quot;https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE&quot;,source:&quot;https://github.com/zloirock/core-js&quot;})},{&quot;../internals/is-pure&quot;:290,&quot;../internals/shared-store&quot;:333}],335:[function(t,n,l){var i=t(&quot;../internals/an-object&quot;),a=t(&quot;../internals/a-constructor&quot;),u=t(&quot;../internals/is-null-or-undefined&quot;),o=t(&quot;../internals/well-known-symbol&quot;)(&quot;species&quot;);n.exports=function(s,c){var f,h=i(s).constructor;return h===void 0||u(f=i(h)[o])?c:a(f)}},{&quot;../internals/a-constructor&quot;:223,&quot;../internals/an-object&quot;:227,&quot;../internals/is-null-or-undefined&quot;:288,&quot;../internals/well-known-symbol&quot;:357}],336:[function(t,n,l){var i=t(&quot;../internals/engine-v8-version&quot;),a=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/global&quot;).String;n.exports=!!Object.getOwnPropertySymbols&amp;&amp;!a((function(){var o=Symbol(&quot;symbol detection&quot;);return!u(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&amp;&amp;i&amp;&amp;i&lt;41}))},{&quot;../internals/engine-v8-version&quot;:257,&quot;../internals/fails&quot;:260,&quot;../internals/global&quot;:274}],337:[function(t,n,l){var i=t(&quot;../internals/function-call&quot;),a=t(&quot;../internals/get-built-in&quot;),u=t(&quot;../internals/well-known-symbol&quot;),o=t(&quot;../internals/define-built-in&quot;);n.exports=function(){var s=a(&quot;Symbol&quot;),c=s&amp;&amp;s.prototype,f=c&amp;&amp;c.valueOf,h=u(&quot;toPrimitive&quot;);c&amp;&amp;!c[h]&amp;&amp;o(c,h,(function(m){return i(f,this)}),{arity:1})}},{&quot;../internals/define-built-in&quot;:245,&quot;../internals/function-call&quot;:264,&quot;../internals/get-built-in&quot;:269,&quot;../internals/well-known-symbol&quot;:357}],338:[function(t,n,l){var i=t(&quot;../internals/symbol-constructor-detection&quot;);n.exports=i&amp;&amp;!!Symbol.for&amp;&amp;!!Symbol.keyFor},{&quot;../internals/symbol-constructor-detection&quot;:336}],339:[function(t,n,l){var i,a,u,o,s=t(&quot;../internals/global&quot;),c=t(&quot;../internals/function-apply&quot;),f=t(&quot;../internals/function-bind-context&quot;),h=t(&quot;../internals/is-callable&quot;),m=t(&quot;../internals/has-own-property&quot;),p=t(&quot;../internals/fails&quot;),v=t(&quot;../internals/html&quot;),g=t(&quot;../internals/array-slice&quot;),b=t(&quot;../internals/document-create-element&quot;),x=t(&quot;../internals/validate-arguments-length&quot;),_=t(&quot;../internals/engine-is-ios&quot;),C=t(&quot;../internals/engine-is-node&quot;),O=s.setImmediate,R=s.clearImmediate,H=s.process,L=s.Dispatch,q=s.Function,W=s.MessageChannel,K=s.String,U=0,P={};p((function(){i=s.location}));var D=function(S){if(m(P,S)){var N=P[S];delete P[S],N()}},E=function(S){return function(){D(S)}},j=function(S){D(S.data)},k=function(S){s.postMessage(K(S),i.protocol+&quot;//&quot;+i.host)};O&amp;&amp;R||(O=function(S){x(arguments.length,1);var N=h(S)?S:q(S),M=g(arguments,1);return P[++U]=function(){c(N,void 0,M)},a(U),U},R=function(S){delete P[S]},C?a=function(S){H.nextTick(E(S))}:L&amp;&amp;L.now?a=function(S){L.now(E(S))}:W&amp;&amp;!_?(o=(u=new W).port2,u.port1.onmessage=j,a=f(o.postMessage,o)):s.addEventListener&amp;&amp;h(s.postMessage)&amp;&amp;!s.importScripts&amp;&amp;i&amp;&amp;i.protocol!==&quot;file:&quot;&amp;&amp;!p(k)?(a=k,s.addEventListener(&quot;message&quot;,j,!1)):a=&quot;onreadystatechange&quot;in b(&quot;script&quot;)?function(S){v.appendChild(b(&quot;script&quot;)).onreadystatechange=function(){v.removeChild(this),D(S)}}:function(S){setTimeout(E(S),0)}),n.exports={set:O,clear:R}},{&quot;../internals/array-slice&quot;:231,&quot;../internals/document-create-element&quot;:249,&quot;../internals/engine-is-ios&quot;:253,&quot;../internals/engine-is-node&quot;:254,&quot;../internals/fails&quot;:260,&quot;../internals/function-apply&quot;:261,&quot;../internals/function-bind-context&quot;:262,&quot;../internals/global&quot;:274,&quot;../internals/has-own-property&quot;:275,&quot;../internals/html&quot;:278,&quot;../internals/is-callable&quot;:285,&quot;../internals/validate-arguments-length&quot;:353}],340:[function(t,n,l){var i=t(&quot;../internals/to-integer-or-infinity&quot;),a=Math.max,u=Math.min;n.exports=function(o,s){var c=i(o);return c&lt;0?a(c+s,0):u(c,s)}},{&quot;../internals/to-integer-or-infinity&quot;:342}],341:[function(t,n,l){var i=t(&quot;../internals/indexed-object&quot;),a=t(&quot;../internals/require-object-coercible&quot;);n.exports=function(u){return i(a(u))}},{&quot;../internals/indexed-object&quot;:280,&quot;../internals/require-object-coercible&quot;:329}],342:[function(t,n,l){var i=t(&quot;../internals/math-trunc&quot;);n.exports=function(a){var u=+a;return u!=u||u===0?0:i(u)}},{&quot;../internals/math-trunc&quot;:301}],343:[function(t,n,l){var i=t(&quot;../internals/to-integer-or-infinity&quot;),a=Math.min;n.exports=function(u){return u&gt;0?a(i(u),9007199254740991):0}},{&quot;../internals/to-integer-or-infinity&quot;:342}],344:[function(t,n,l){var i=t(&quot;../internals/require-object-coercible&quot;),a=Object;n.exports=function(u){return a(i(u))}},{&quot;../internals/require-object-coercible&quot;:329}],345:[function(t,n,l){var i=t(&quot;../internals/function-call&quot;),a=t(&quot;../internals/is-object&quot;),u=t(&quot;../internals/is-symbol&quot;),o=t(&quot;../internals/get-method&quot;),s=t(&quot;../internals/ordinary-to-primitive&quot;),c=t(&quot;../internals/well-known-symbol&quot;),f=TypeError,h=c(&quot;toPrimitive&quot;);n.exports=function(m,p){if(!a(m)||u(m))return m;var v,g=o(m,h);if(g){if(p===void 0&amp;&amp;(p=&quot;default&quot;),v=i(g,m,p),!a(v)||u(v))return v;throw new f(&quot;Can&#039;t convert object to primitive value&quot;)}return p===void 0&amp;&amp;(p=&quot;number&quot;),s(m,p)}},{&quot;../internals/function-call&quot;:264,&quot;../internals/get-method&quot;:273,&quot;../internals/is-object&quot;:289,&quot;../internals/is-symbol&quot;:292,&quot;../internals/ordinary-to-primitive&quot;:320,&quot;../internals/well-known-symbol&quot;:357}],346:[function(t,n,l){var i=t(&quot;../internals/to-primitive&quot;),a=t(&quot;../internals/is-symbol&quot;);n.exports=function(u){var o=i(u,&quot;string&quot;);return a(o)?o:o+&quot;&quot;}},{&quot;../internals/is-symbol&quot;:292,&quot;../internals/to-primitive&quot;:345}],347:[function(t,n,l){var i={};i[t(&quot;../internals/well-known-symbol&quot;)(&quot;toStringTag&quot;)]=&quot;z&quot;,n.exports=String(i)===&quot;[object z]&quot;},{&quot;../internals/well-known-symbol&quot;:357}],348:[function(t,n,l){var i=t(&quot;../internals/classof&quot;),a=String;n.exports=function(u){if(i(u)===&quot;Symbol&quot;)throw new TypeError(&quot;Cannot convert a Symbol value to a string&quot;);return a(u)}},{&quot;../internals/classof&quot;:236}],349:[function(t,n,l){var i=String;n.exports=function(a){try{return i(a)}catch{return&quot;Object&quot;}}},{}],350:[function(t,n,l){var i=t(&quot;../internals/function-uncurry-this&quot;),a=0,u=Math.random(),o=i(1 .toString);n.exports=function(s){return&quot;Symbol(&quot;+(s===void 0?&quot;&quot;:s)+&quot;)_&quot;+o(++a+u,36)}},{&quot;../internals/function-uncurry-this&quot;:268}],351:[function(t,n,l){var i=t(&quot;../internals/symbol-constructor-detection&quot;);n.exports=i&amp;&amp;!Symbol.sham&amp;&amp;typeof Symbol.iterator==&quot;symbol&quot;},{&quot;../internals/symbol-constructor-detection&quot;:336}],352:[function(t,n,l){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/fails&quot;);n.exports=i&amp;&amp;a((function(){return Object.defineProperty((function(){}),&quot;prototype&quot;,{value:42,writable:!1}).prototype!==42}))},{&quot;../internals/descriptors&quot;:247,&quot;../internals/fails&quot;:260}],353:[function(t,n,l){var i=TypeError;n.exports=function(a,u){if(a&lt;u)throw new i(&quot;Not enough arguments&quot;);return a}},{}],354:[function(t,n,l){var i=t(&quot;../internals/global&quot;),a=t(&quot;../internals/is-callable&quot;),u=i.WeakMap;n.exports=a(u)&amp;&amp;/native code/.test(String(u))},{&quot;../internals/global&quot;:274,&quot;../internals/is-callable&quot;:285}],355:[function(t,n,l){var i=t(&quot;../internals/path&quot;),a=t(&quot;../internals/has-own-property&quot;),u=t(&quot;../internals/well-known-symbol-wrapped&quot;),o=t(&quot;../internals/object-define-property&quot;).f;n.exports=function(s){var c=i.Symbol||(i.Symbol={});a(c,s)||o(c,s,{value:u.f(s)})}},{&quot;../internals/has-own-property&quot;:275,&quot;../internals/object-define-property&quot;:308,&quot;../internals/path&quot;:322,&quot;../internals/well-known-symbol-wrapped&quot;:356}],356:[function(t,n,l){var i=t(&quot;../internals/well-known-symbol&quot;);l.f=i},{&quot;../internals/well-known-symbol&quot;:357}],357:[function(t,n,l){var i=t(&quot;../internals/global&quot;),a=t(&quot;../internals/shared&quot;),u=t(&quot;../internals/has-own-property&quot;),o=t(&quot;../internals/uid&quot;),s=t(&quot;../internals/symbol-constructor-detection&quot;),c=t(&quot;../internals/use-symbol-as-uid&quot;),f=i.Symbol,h=a(&quot;wks&quot;),m=c?f.for||f:f&amp;&amp;f.withoutSetter||o;n.exports=function(p){return u(h,p)||(h[p]=s&amp;&amp;u(f,p)?f[p]:m(&quot;Symbol.&quot;+p)),h[p]}},{&quot;../internals/global&quot;:274,&quot;../internals/has-own-property&quot;:275,&quot;../internals/shared&quot;:334,&quot;../internals/symbol-constructor-detection&quot;:336,&quot;../internals/uid&quot;:350,&quot;../internals/use-symbol-as-uid&quot;:351}],358:[function(t,n,l){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/array-iteration&quot;).findIndex,u=t(&quot;../internals/add-to-unscopables&quot;),o=!0;&quot;findIndex&quot;in[]&amp;&amp;Array(1).findIndex((function(){o=!1})),i({target:&quot;Array&quot;,proto:!0,forced:o},{findIndex:function(s){return a(this,s,arguments.length&gt;1?arguments[1]:void 0)}}),u(&quot;findIndex&quot;)},{&quot;../internals/add-to-unscopables&quot;:225,&quot;../internals/array-iteration&quot;:229,&quot;../internals/export&quot;:259}],359:[function(t,n,l){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/array-iteration&quot;).find,u=t(&quot;../internals/add-to-unscopables&quot;),o=!0;&quot;find&quot;in[]&amp;&amp;Array(1).find((function(){o=!1})),i({target:&quot;Array&quot;,proto:!0,forced:o},{find:function(s){return a(this,s,arguments.length&gt;1?arguments[1]:void 0)}}),u(&quot;find&quot;)},{&quot;../internals/add-to-unscopables&quot;:225,&quot;../internals/array-iteration&quot;:229,&quot;../internals/export&quot;:259}],360:[function(t,n,l){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/array-includes&quot;).includes,u=t(&quot;../internals/fails&quot;),o=t(&quot;../internals/add-to-unscopables&quot;);i({target:&quot;Array&quot;,proto:!0,forced:u((function(){return!Array(1).includes()}))},{includes:function(s){return a(this,s,arguments.length&gt;1?arguments[1]:void 0)}}),o(&quot;includes&quot;)},{&quot;../internals/add-to-unscopables&quot;:225,&quot;../internals/array-includes&quot;:228,&quot;../internals/export&quot;:259,&quot;../internals/fails&quot;:260}],361:[function(t,n,l){var i=t(&quot;../internals/to-indexed-object&quot;),a=t(&quot;../internals/add-to-unscopables&quot;),u=t(&quot;../internals/iterators&quot;),o=t(&quot;../internals/internal-state&quot;),s=t(&quot;../internals/object-define-property&quot;).f,c=t(&quot;../internals/iterator-define&quot;),f=t(&quot;../internals/create-iter-result-object&quot;),h=t(&quot;../internals/is-pure&quot;),m=t(&quot;../internals/descriptors&quot;),p=o.set,v=o.getterFor(&quot;Array Iterator&quot;);n.exports=c(Array,&quot;Array&quot;,(function(b,x){p(this,{type:&quot;Array Iterator&quot;,target:i(b),index:0,kind:x})}),(function(){var b=v(this),x=b.target,_=b.kind,C=b.index++;if(!x||C&gt;=x.length)return b.target=void 0,f(void 0,!0);switch(_){case&quot;keys&quot;:return f(C,!1);case&quot;values&quot;:return f(x[C],!1)}return f([C,x[C]],!1)}),&quot;values&quot;);var g=u.Arguments=u.Array;if(a(&quot;keys&quot;),a(&quot;values&quot;),a(&quot;entries&quot;),!h&amp;&amp;m&amp;&amp;g.name!==&quot;values&quot;)try{s(g,&quot;name&quot;,{value:&quot;values&quot;})}catch{}},{&quot;../internals/add-to-unscopables&quot;:225,&quot;../internals/create-iter-result-object&quot;:240,&quot;../internals/descriptors&quot;:247,&quot;../internals/internal-state&quot;:282,&quot;../internals/is-pure&quot;:290,&quot;../internals/iterator-define&quot;:296,&quot;../internals/iterators&quot;:298,&quot;../internals/object-define-property&quot;:308,&quot;../internals/to-indexed-object&quot;:341}],362:[function(t,n,l){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/get-built-in&quot;),u=t(&quot;../internals/function-apply&quot;),o=t(&quot;../internals/function-call&quot;),s=t(&quot;../internals/function-uncurry-this&quot;),c=t(&quot;../internals/fails&quot;),f=t(&quot;../internals/is-callable&quot;),h=t(&quot;../internals/is-symbol&quot;),m=t(&quot;../internals/array-slice&quot;),p=t(&quot;../internals/get-json-replacer-function&quot;),v=t(&quot;../internals/symbol-constructor-detection&quot;),g=String,b=a(&quot;JSON&quot;,&quot;stringify&quot;),x=s(/./.exec),_=s(&quot;&quot;.charAt),C=s(&quot;&quot;.charCodeAt),O=s(&quot;&quot;.replace),R=s(1 .toString),H=/[\uD800-\uDFFF]/g,L=/^[\uD800-\uDBFF]$/,q=/^[\uDC00-\uDFFF]$/,W=!v||c((function(){var D=a(&quot;Symbol&quot;)(&quot;stringify detection&quot;);return b([D])!==&quot;[null]&quot;||b({a:D})!==&quot;{}&quot;||b(Object(D))!==&quot;{}&quot;})),K=c((function(){return b(&quot;\uDF06\uD834&quot;)!==&#039;&quot;\\udf06\\ud834&quot;&#039;||b(&quot;\uDEAD&quot;)!==&#039;&quot;\\udead&quot;&#039;})),U=function(D,E){var j=m(arguments),k=p(E);if(f(k)||D!==void 0&amp;&amp;!h(D))return j[1]=function(S,N){if(f(k)&amp;&amp;(N=o(k,this,g(S),N)),!h(N))return N},u(b,null,j)},P=function(D,E,j){var k=_(j,E-1),S=_(j,E+1);return x(L,D)&amp;&amp;!x(q,S)||x(q,D)&amp;&amp;!x(L,k)?&quot;\\u&quot;+R(C(D,0),16):D};b&amp;&amp;i({target:&quot;JSON&quot;,stat:!0,arity:3,forced:W||K},{stringify:function(D,E,j){var k=m(arguments),S=u(W?U:b,null,k);return K&amp;&amp;typeof S==&quot;string&quot;?O(S,H,P):S}})},{&quot;../internals/array-slice&quot;:231,&quot;../internals/export&quot;:259,&quot;../internals/fails&quot;:260,&quot;../internals/function-apply&quot;:261,&quot;../internals/function-call&quot;:264,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/get-built-in&quot;:269,&quot;../internals/get-json-replacer-function&quot;:272,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-symbol&quot;:292,&quot;../internals/symbol-constructor-detection&quot;:336}],363:[function(t,n,l){t(&quot;../internals/export&quot;)({target:&quot;Number&quot;,stat:!0},{isNaN:function(i){return i!=i}})},{&quot;../internals/export&quot;:259}],364:[function(t,n,l){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/object-assign&quot;);i({target:&quot;Object&quot;,stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},{&quot;../internals/export&quot;:259,&quot;../internals/object-assign&quot;:305}],365:[function(t,n,l){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/symbol-constructor-detection&quot;),u=t(&quot;../internals/fails&quot;),o=t(&quot;../internals/object-get-own-property-symbols&quot;),s=t(&quot;../internals/to-object&quot;);i({target:&quot;Object&quot;,stat:!0,forced:!a||u((function(){o.f(1)}))},{getOwnPropertySymbols:function(c){var f=o.f;return f?f(s(c)):[]}})},{&quot;../internals/export&quot;:259,&quot;../internals/fails&quot;:260,&quot;../internals/object-get-own-property-symbols&quot;:312,&quot;../internals/symbol-constructor-detection&quot;:336,&quot;../internals/to-object&quot;:344}],366:[function(t,n,l){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/to-object&quot;),u=t(&quot;../internals/object-keys&quot;);i({target:&quot;Object&quot;,stat:!0,forced:t(&quot;../internals/fails&quot;)((function(){u(1)}))},{keys:function(o){return u(a(o))}})},{&quot;../internals/export&quot;:259,&quot;../internals/fails&quot;:260,&quot;../internals/object-keys&quot;:316,&quot;../internals/to-object&quot;:344}],367:[function(t,n,l){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/object-to-array&quot;).values;i({target:&quot;Object&quot;,stat:!0},{values:function(u){return a(u)}})},{&quot;../internals/export&quot;:259,&quot;../internals/object-to-array&quot;:319}],368:[function(t,n,l){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/a-callable&quot;),o=t(&quot;../internals/new-promise-capability&quot;),s=t(&quot;../internals/perform&quot;),c=t(&quot;../internals/iterate&quot;);i({target:&quot;Promise&quot;,stat:!0,forced:t(&quot;../internals/promise-statics-incorrect-iteration&quot;)},{all:function(f){var h=this,m=o.f(h),p=m.resolve,v=m.reject,g=s((function(){var b=u(h.resolve),x=[],_=0,C=1;c(f,(function(O){var R=_++,H=!1;C++,a(b,h,O).then((function(L){H||(H=!0,x[R]=L,--C||p(x))}),v)})),--C||p(x)}));return g.error&amp;&amp;v(g.value),m.promise}})},{&quot;../internals/a-callable&quot;:222,&quot;../internals/export&quot;:259,&quot;../internals/function-call&quot;:264,&quot;../internals/iterate&quot;:293,&quot;../internals/new-promise-capability&quot;:303,&quot;../internals/perform&quot;:323,&quot;../internals/promise-statics-incorrect-iteration&quot;:327}],369:[function(t,n,l){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/is-pure&quot;),u=t(&quot;../internals/promise-constructor-detection&quot;).CONSTRUCTOR,o=t(&quot;../internals/promise-native-constructor&quot;),s=t(&quot;../internals/get-built-in&quot;),c=t(&quot;../internals/is-callable&quot;),f=t(&quot;../internals/define-built-in&quot;),h=o&amp;&amp;o.prototype;if(i({target:&quot;Promise&quot;,proto:!0,forced:u,real:!0},{catch:function(p){return this.then(void 0,p)}}),!a&amp;&amp;c(o)){var m=s(&quot;Promise&quot;).prototype.catch;h.catch!==m&amp;&amp;f(h,&quot;catch&quot;,m,{unsafe:!0})}},{&quot;../internals/define-built-in&quot;:245,&quot;../internals/export&quot;:259,&quot;../internals/get-built-in&quot;:269,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-pure&quot;:290,&quot;../internals/promise-constructor-detection&quot;:324,&quot;../internals/promise-native-constructor&quot;:325}],370:[function(t,n,l){var i,a,u,o=t(&quot;../internals/export&quot;),s=t(&quot;../internals/is-pure&quot;),c=t(&quot;../internals/engine-is-node&quot;),f=t(&quot;../internals/global&quot;),h=t(&quot;../internals/function-call&quot;),m=t(&quot;../internals/define-built-in&quot;),p=t(&quot;../internals/object-set-prototype-of&quot;),v=t(&quot;../internals/set-to-string-tag&quot;),g=t(&quot;../internals/set-species&quot;),b=t(&quot;../internals/a-callable&quot;),x=t(&quot;../internals/is-callable&quot;),_=t(&quot;../internals/is-object&quot;),C=t(&quot;../internals/an-instance&quot;),O=t(&quot;../internals/species-constructor&quot;),R=t(&quot;../internals/task&quot;).set,H=t(&quot;../internals/microtask&quot;),L=t(&quot;../internals/host-report-errors&quot;),q=t(&quot;../internals/perform&quot;),W=t(&quot;../internals/queue&quot;),K=t(&quot;../internals/internal-state&quot;),U=t(&quot;../internals/promise-native-constructor&quot;),P=t(&quot;../internals/promise-constructor-detection&quot;),D=t(&quot;../internals/new-promise-capability&quot;),E=P.CONSTRUCTOR,j=P.REJECTION_EVENT,k=P.SUBCLASSING,S=K.getterFor(&quot;Promise&quot;),N=K.set,M=U&amp;&amp;U.prototype,I=U,B=M,Y=f.TypeError,Z=f.document,ie=f.process,$=D.f,ee=$,z=!!(Z&amp;&amp;Z.createEvent&amp;&amp;f.dispatchEvent),T=function(he){var ce;return!(!_(he)||!x(ce=he.then))&amp;&amp;ce},X=function(he,ce){var ge,ye,pe,le=ce.value,Ce=ce.state===1,Ae=Ce?he.ok:he.fail,je=he.resolve,Pe=he.reject,Qe=he.domain;try{Ae?(Ce||(ce.rejection===2&amp;&amp;de(ce),ce.rejection=1),Ae===!0?ge=le:(Qe&amp;&amp;Qe.enter(),ge=Ae(le),Qe&amp;&amp;(Qe.exit(),pe=!0)),ge===he.promise?Pe(new Y(&quot;Promise-chain cycle&quot;)):(ye=T(ge))?h(ye,ge,je,Pe):je(ge)):Pe(le)}catch(Ue){Qe&amp;&amp;!pe&amp;&amp;Qe.exit(),Pe(Ue)}},re=function(he,ce){he.notified||(he.notified=!0,H((function(){for(var ge,ye=he.reactions;ge=ye.get();)X(ge,he);he.notified=!1,ce&amp;&amp;!he.rejection&amp;&amp;Q(he)})))},ne=function(he,ce,ge){var ye,pe;z?((ye=Z.createEvent(&quot;Event&quot;)).promise=ce,ye.reason=ge,ye.initEvent(he,!1,!0),f.dispatchEvent(ye)):ye={promise:ce,reason:ge},!j&amp;&amp;(pe=f[&quot;on&quot;+he])?pe(ye):he===&quot;unhandledrejection&quot;&amp;&amp;L(&quot;Unhandled promise rejection&quot;,ge)},Q=function(he){h(R,f,(function(){var ce,ge=he.facade,ye=he.value;if(te(he)&amp;&amp;(ce=q((function(){c?ie.emit(&quot;unhandledRejection&quot;,ye,ge):ne(&quot;unhandledrejection&quot;,ge,ye)})),he.rejection=c||te(he)?2:1,ce.error))throw ce.value}))},te=function(he){return he.rejection!==1&amp;&amp;!he.parent},de=function(he){h(R,f,(function(){var ce=he.facade;c?ie.emit(&quot;rejectionHandled&quot;,ce):ne(&quot;rejectionhandled&quot;,ce,he.value)}))},oe=function(he,ce,ge){return function(ye){he(ce,ye,ge)}},se=function(he,ce,ge){he.done||(he.done=!0,ge&amp;&amp;(he=ge),he.value=ce,he.state=2,re(he,!0))},fe=function(he,ce,ge){if(!he.done){he.done=!0,ge&amp;&amp;(he=ge);try{if(he.facade===ce)throw new Y(&quot;Promise can&#039;t be resolved itself&quot;);var ye=T(ce);ye?H((function(){var pe={done:!1};try{h(ye,ce,oe(fe,pe,he),oe(se,pe,he))}catch(le){se(pe,le,he)}})):(he.value=ce,he.state=1,re(he,!1))}catch(pe){se({done:!1},pe,he)}}};if(E&amp;&amp;(B=(I=function(he){C(this,B),b(he),h(i,this);var ce=S(this);try{he(oe(fe,ce),oe(se,ce))}catch(ge){se(ce,ge)}}).prototype,(i=function(he){N(this,{type:&quot;Promise&quot;,done:!1,notified:!1,parent:!1,reactions:new W,rejection:!1,state:0,value:void 0})}).prototype=m(B,&quot;then&quot;,(function(he,ce){var ge=S(this),ye=$(O(this,I));return ge.parent=!0,ye.ok=!x(he)||he,ye.fail=x(ce)&amp;&amp;ce,ye.domain=c?ie.domain:void 0,ge.state===0?ge.reactions.add(ye):H((function(){X(ye,ge)})),ye.promise})),a=function(){var he=new i,ce=S(he);this.promise=he,this.resolve=oe(fe,ce),this.reject=oe(se,ce)},D.f=$=function(he){return he===I||he===void 0?new a(he):ee(he)},!s&amp;&amp;x(U)&amp;&amp;M!==Object.prototype)){u=M.then,k||m(M,&quot;then&quot;,(function(he,ce){var ge=this;return new I((function(ye,pe){h(u,ge,ye,pe)})).then(he,ce)}),{unsafe:!0});try{delete M.constructor}catch{}p&amp;&amp;p(M,B)}o({global:!0,constructor:!0,wrap:!0,forced:E},{Promise:I}),v(I,&quot;Promise&quot;,!1,!0),g(&quot;Promise&quot;)},{&quot;../internals/a-callable&quot;:222,&quot;../internals/an-instance&quot;:226,&quot;../internals/define-built-in&quot;:245,&quot;../internals/engine-is-node&quot;:254,&quot;../internals/export&quot;:259,&quot;../internals/function-call&quot;:264,&quot;../internals/global&quot;:274,&quot;../internals/host-report-errors&quot;:277,&quot;../internals/internal-state&quot;:282,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-object&quot;:289,&quot;../internals/is-pure&quot;:290,&quot;../internals/microtask&quot;:302,&quot;../internals/new-promise-capability&quot;:303,&quot;../internals/object-set-prototype-of&quot;:318,&quot;../internals/perform&quot;:323,&quot;../internals/promise-constructor-detection&quot;:324,&quot;../internals/promise-native-constructor&quot;:325,&quot;../internals/queue&quot;:328,&quot;../internals/set-species&quot;:330,&quot;../internals/set-to-string-tag&quot;:331,&quot;../internals/species-constructor&quot;:335,&quot;../internals/task&quot;:339}],371:[function(t,n,l){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/is-pure&quot;),u=t(&quot;../internals/promise-native-constructor&quot;),o=t(&quot;../internals/fails&quot;),s=t(&quot;../internals/get-built-in&quot;),c=t(&quot;../internals/is-callable&quot;),f=t(&quot;../internals/species-constructor&quot;),h=t(&quot;../internals/promise-resolve&quot;),m=t(&quot;../internals/define-built-in&quot;),p=u&amp;&amp;u.prototype;if(i({target:&quot;Promise&quot;,proto:!0,real:!0,forced:!!u&amp;&amp;o((function(){p.finally.call({then:function(){}},(function(){}))}))},{finally:function(g){var b=f(this,s(&quot;Promise&quot;)),x=c(g);return this.then(x?function(_){return h(b,g()).then((function(){return _}))}:g,x?function(_){return h(b,g()).then((function(){throw _}))}:g)}}),!a&amp;&amp;c(u)){var v=s(&quot;Promise&quot;).prototype.finally;p.finally!==v&amp;&amp;m(p,&quot;finally&quot;,v,{unsafe:!0})}},{&quot;../internals/define-built-in&quot;:245,&quot;../internals/export&quot;:259,&quot;../internals/fails&quot;:260,&quot;../internals/get-built-in&quot;:269,&quot;../internals/is-callable&quot;:285,&quot;../internals/is-pure&quot;:290,&quot;../internals/promise-native-constructor&quot;:325,&quot;../internals/promise-resolve&quot;:326,&quot;../internals/species-constructor&quot;:335}],372:[function(t,n,l){t(&quot;../modules/es.promise.constructor&quot;),t(&quot;../modules/es.promise.all&quot;),t(&quot;../modules/es.promise.catch&quot;),t(&quot;../modules/es.promise.race&quot;),t(&quot;../modules/es.promise.reject&quot;),t(&quot;../modules/es.promise.resolve&quot;)},{&quot;../modules/es.promise.all&quot;:368,&quot;../modules/es.promise.catch&quot;:369,&quot;../modules/es.promise.constructor&quot;:370,&quot;../modules/es.promise.race&quot;:373,&quot;../modules/es.promise.reject&quot;:374,&quot;../modules/es.promise.resolve&quot;:375}],373:[function(t,n,l){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/a-callable&quot;),o=t(&quot;../internals/new-promise-capability&quot;),s=t(&quot;../internals/perform&quot;),c=t(&quot;../internals/iterate&quot;);i({target:&quot;Promise&quot;,stat:!0,forced:t(&quot;../internals/promise-statics-incorrect-iteration&quot;)},{race:function(f){var h=this,m=o.f(h),p=m.reject,v=s((function(){var g=u(h.resolve);c(f,(function(b){a(g,h,b).then(m.resolve,p)}))}));return v.error&amp;&amp;p(v.value),m.promise}})},{&quot;../internals/a-callable&quot;:222,&quot;../internals/export&quot;:259,&quot;../internals/function-call&quot;:264,&quot;../internals/iterate&quot;:293,&quot;../internals/new-promise-capability&quot;:303,&quot;../internals/perform&quot;:323,&quot;../internals/promise-statics-incorrect-iteration&quot;:327}],374:[function(t,n,l){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/new-promise-capability&quot;);i({target:&quot;Promise&quot;,stat:!0,forced:t(&quot;../internals/promise-constructor-detection&quot;).CONSTRUCTOR},{reject:function(o){var s=u.f(this);return a(s.reject,void 0,o),s.promise}})},{&quot;../internals/export&quot;:259,&quot;../internals/function-call&quot;:264,&quot;../internals/new-promise-capability&quot;:303,&quot;../internals/promise-constructor-detection&quot;:324}],375:[function(t,n,l){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/get-built-in&quot;),u=t(&quot;../internals/is-pure&quot;),o=t(&quot;../internals/promise-native-constructor&quot;),s=t(&quot;../internals/promise-constructor-detection&quot;).CONSTRUCTOR,c=t(&quot;../internals/promise-resolve&quot;),f=a(&quot;Promise&quot;),h=u&amp;&amp;!s;i({target:&quot;Promise&quot;,stat:!0,forced:u||s},{resolve:function(m){return c(h&amp;&amp;this===f?o:this,m)}})},{&quot;../internals/export&quot;:259,&quot;../internals/get-built-in&quot;:269,&quot;../internals/is-pure&quot;:290,&quot;../internals/promise-constructor-detection&quot;:324,&quot;../internals/promise-native-constructor&quot;:325,&quot;../internals/promise-resolve&quot;:326}],376:[function(t,n,l){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/to-absolute-index&quot;),o=RangeError,s=String.fromCharCode,c=String.fromCodePoint,f=a([].join);i({target:&quot;String&quot;,stat:!0,arity:1,forced:!!c&amp;&amp;c.length!==1},{fromCodePoint:function(h){for(var m,p=[],v=arguments.length,g=0;v&gt;g;){if(m=+arguments[g++],u(m,1114111)!==m)throw new o(m+&quot; is not a valid code point&quot;);p[g]=m&lt;65536?s(m):s(55296+((m-=65536)&gt;&gt;10),m%1024+56320)}return f(p,&quot;&quot;)}})},{&quot;../internals/export&quot;:259,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/to-absolute-index&quot;:340}],377:[function(t,n,l){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/not-a-regexp&quot;),o=t(&quot;../internals/require-object-coercible&quot;),s=t(&quot;../internals/to-string&quot;),c=t(&quot;../internals/correct-is-regexp-logic&quot;),f=a(&quot;&quot;.indexOf);i({target:&quot;String&quot;,proto:!0,forced:!c(&quot;includes&quot;)},{includes:function(h){return!!~f(s(o(this)),s(u(h)),arguments.length&gt;1?arguments[1]:void 0)}})},{&quot;../internals/correct-is-regexp-logic&quot;:238,&quot;../internals/export&quot;:259,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/not-a-regexp&quot;:304,&quot;../internals/require-object-coercible&quot;:329,&quot;../internals/to-string&quot;:348}],378:[function(t,n,l){t(&quot;../internals/well-known-symbol-define&quot;)(&quot;asyncIterator&quot;)},{&quot;../internals/well-known-symbol-define&quot;:355}],379:[function(t,n,l){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/global&quot;),u=t(&quot;../internals/function-call&quot;),o=t(&quot;../internals/function-uncurry-this&quot;),s=t(&quot;../internals/is-pure&quot;),c=t(&quot;../internals/descriptors&quot;),f=t(&quot;../internals/symbol-constructor-detection&quot;),h=t(&quot;../internals/fails&quot;),m=t(&quot;../internals/has-own-property&quot;),p=t(&quot;../internals/object-is-prototype-of&quot;),v=t(&quot;../internals/an-object&quot;),g=t(&quot;../internals/to-indexed-object&quot;),b=t(&quot;../internals/to-property-key&quot;),x=t(&quot;../internals/to-string&quot;),_=t(&quot;../internals/create-property-descriptor&quot;),C=t(&quot;../internals/object-create&quot;),O=t(&quot;../internals/object-keys&quot;),R=t(&quot;../internals/object-get-own-property-names&quot;),H=t(&quot;../internals/object-get-own-property-names-external&quot;),L=t(&quot;../internals/object-get-own-property-symbols&quot;),q=t(&quot;../internals/object-get-own-property-descriptor&quot;),W=t(&quot;../internals/object-define-property&quot;),K=t(&quot;../internals/object-define-properties&quot;),U=t(&quot;../internals/object-property-is-enumerable&quot;),P=t(&quot;../internals/define-built-in&quot;),D=t(&quot;../internals/define-built-in-accessor&quot;),E=t(&quot;../internals/shared&quot;),j=t(&quot;../internals/shared-key&quot;),k=t(&quot;../internals/hidden-keys&quot;),S=t(&quot;../internals/uid&quot;),N=t(&quot;../internals/well-known-symbol&quot;),M=t(&quot;../internals/well-known-symbol-wrapped&quot;),I=t(&quot;../internals/well-known-symbol-define&quot;),B=t(&quot;../internals/symbol-define-to-primitive&quot;),Y=t(&quot;../internals/set-to-string-tag&quot;),Z=t(&quot;../internals/internal-state&quot;),ie=t(&quot;../internals/array-iteration&quot;).forEach,$=j(&quot;hidden&quot;),ee=Z.set,z=Z.getterFor(&quot;Symbol&quot;),T=Object.prototype,X=a.Symbol,re=X&amp;&amp;X.prototype,ne=a.RangeError,Q=a.TypeError,te=a.QObject,de=q.f,oe=W.f,se=H.f,fe=U.f,he=o([].push),ce=E(&quot;symbols&quot;),ge=E(&quot;op-symbols&quot;),ye=E(&quot;wks&quot;),pe=!te||!te.prototype||!te.prototype.findChild,le=function(qe,ze,Ye){var et=de(T,ze);et&amp;&amp;delete T[ze],oe(qe,ze,Ye),et&amp;&amp;qe!==T&amp;&amp;oe(T,ze,et)},Ce=c&amp;&amp;h((function(){return C(oe({},&quot;a&quot;,{get:function(){return oe(this,&quot;a&quot;,{value:7}).a}})).a!==7}))?le:oe,Ae=function(qe,ze){var Ye=ce[qe]=C(re);return ee(Ye,{type:&quot;Symbol&quot;,tag:qe,description:ze}),c||(Ye.description=ze),Ye},je=function(qe,ze,Ye){qe===T&amp;&amp;je(ge,ze,Ye),v(qe);var et=b(ze);return v(Ye),m(ce,et)?(Ye.enumerable?(m(qe,$)&amp;&amp;qe[$][et]&amp;&amp;(qe[$][et]=!1),Ye=C(Ye,{enumerable:_(0,!1)})):(m(qe,$)||oe(qe,$,_(1,{})),qe[$][et]=!0),Ce(qe,et,Ye)):oe(qe,et,Ye)},Pe=function(qe,ze){v(qe);var Ye=g(ze),et=O(Ye).concat(rt(Ye));return ie(et,(function(Je){c&amp;&amp;!u(Qe,Ye,Je)||je(qe,Je,Ye[Je])})),qe},Qe=function(qe){var ze=b(qe),Ye=u(fe,this,ze);return!(this===T&amp;&amp;m(ce,ze)&amp;&amp;!m(ge,ze))&amp;&amp;(!(Ye||!m(this,ze)||!m(ce,ze)||m(this,$)&amp;&amp;this[$][ze])||Ye)},Ue=function(qe,ze){var Ye=g(qe),et=b(ze);if(Ye!==T||!m(ce,et)||m(ge,et)){var Je=de(Ye,et);return!Je||!m(ce,et)||m(Ye,$)&amp;&amp;Ye[$][et]||(Je.enumerable=!0),Je}},Xe=function(qe){var ze=se(g(qe)),Ye=[];return ie(ze,(function(et){m(ce,et)||m(k,et)||he(Ye,et)})),Ye},rt=function(qe){var ze=qe===T,Ye=se(ze?ge:g(qe)),et=[];return ie(Ye,(function(Je){!m(ce,Je)||ze&amp;&amp;!m(T,Je)||he(et,ce[Je])})),et};f||(P(re=(X=function(){if(p(re,this))throw new Q(&quot;Symbol is not a constructor&quot;);var qe=arguments.length&amp;&amp;arguments[0]!==void 0?x(arguments[0]):void 0,ze=S(qe),Ye=function(et){this===T&amp;&amp;u(Ye,ge,et),m(this,$)&amp;&amp;m(this[$],ze)&amp;&amp;(this[$][ze]=!1);var Je=_(1,et);try{Ce(this,ze,Je)}catch(Rt){if(!(Rt instanceof ne))throw Rt;le(this,ze,Je)}};return c&amp;&amp;pe&amp;&amp;Ce(T,ze,{configurable:!0,set:Ye}),Ae(ze,qe)}).prototype,&quot;toString&quot;,(function(){return z(this).tag})),P(X,&quot;withoutSetter&quot;,(function(qe){return Ae(S(qe),qe)})),U.f=Qe,W.f=je,K.f=Pe,q.f=Ue,R.f=H.f=Xe,L.f=rt,M.f=function(qe){return Ae(N(qe),qe)},c&amp;&amp;(D(re,&quot;description&quot;,{configurable:!0,get:function(){return z(this).description}}),s||P(T,&quot;propertyIsEnumerable&quot;,Qe,{unsafe:!0}))),i({global:!0,constructor:!0,wrap:!0,forced:!f,sham:!f},{Symbol:X}),ie(O(ye),(function(qe){I(qe)})),i({target:&quot;Symbol&quot;,stat:!0,forced:!f},{useSetter:function(){pe=!0},useSimple:function(){pe=!1}}),i({target:&quot;Object&quot;,stat:!0,forced:!f,sham:!c},{create:function(qe,ze){return ze===void 0?C(qe):Pe(C(qe),ze)},defineProperty:je,defineProperties:Pe,getOwnPropertyDescriptor:Ue}),i({target:&quot;Object&quot;,stat:!0,forced:!f},{getOwnPropertyNames:Xe}),B(),Y(X,&quot;Symbol&quot;),k[$]=!0},{&quot;../internals/an-object&quot;:227,&quot;../internals/array-iteration&quot;:229,&quot;../internals/create-property-descriptor&quot;:242,&quot;../internals/define-built-in&quot;:245,&quot;../internals/define-built-in-accessor&quot;:244,&quot;../internals/descriptors&quot;:247,&quot;../internals/export&quot;:259,&quot;../internals/fails&quot;:260,&quot;../internals/function-call&quot;:264,&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/global&quot;:274,&quot;../internals/has-own-property&quot;:275,&quot;../internals/hidden-keys&quot;:276,&quot;../internals/internal-state&quot;:282,&quot;../internals/is-pure&quot;:290,&quot;../internals/object-create&quot;:306,&quot;../internals/object-define-properties&quot;:307,&quot;../internals/object-define-property&quot;:308,&quot;../internals/object-get-own-property-descriptor&quot;:309,&quot;../internals/object-get-own-property-names&quot;:311,&quot;../internals/object-get-own-property-names-external&quot;:310,&quot;../internals/object-get-own-property-symbols&quot;:312,&quot;../internals/object-is-prototype-of&quot;:314,&quot;../internals/object-keys&quot;:316,&quot;../internals/object-property-is-enumerable&quot;:317,&quot;../internals/set-to-string-tag&quot;:331,&quot;../internals/shared&quot;:334,&quot;../internals/shared-key&quot;:332,&quot;../internals/symbol-constructor-detection&quot;:336,&quot;../internals/symbol-define-to-primitive&quot;:337,&quot;../internals/to-indexed-object&quot;:341,&quot;../internals/to-property-key&quot;:346,&quot;../internals/to-string&quot;:348,&quot;../internals/uid&quot;:350,&quot;../internals/well-known-symbol&quot;:357,&quot;../internals/well-known-symbol-define&quot;:355,&quot;../internals/well-known-symbol-wrapped&quot;:356}],380:[function(t,n,l){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/get-built-in&quot;),u=t(&quot;../internals/has-own-property&quot;),o=t(&quot;../internals/to-string&quot;),s=t(&quot;../internals/shared&quot;),c=t(&quot;../internals/symbol-registry-detection&quot;),f=s(&quot;string-to-symbol-registry&quot;),h=s(&quot;symbol-to-string-registry&quot;);i({target:&quot;Symbol&quot;,stat:!0,forced:!c},{for:function(m){var p=o(m);if(u(f,p))return f[p];var v=a(&quot;Symbol&quot;)(p);return f[p]=v,h[v]=p,v}})},{&quot;../internals/export&quot;:259,&quot;../internals/get-built-in&quot;:269,&quot;../internals/has-own-property&quot;:275,&quot;../internals/shared&quot;:334,&quot;../internals/symbol-registry-detection&quot;:338,&quot;../internals/to-string&quot;:348}],381:[function(t,n,l){t(&quot;../modules/es.symbol.constructor&quot;),t(&quot;../modules/es.symbol.for&quot;),t(&quot;../modules/es.symbol.key-for&quot;),t(&quot;../modules/es.json.stringify&quot;),t(&quot;../modules/es.object.get-own-property-symbols&quot;)},{&quot;../modules/es.json.stringify&quot;:362,&quot;../modules/es.object.get-own-property-symbols&quot;:365,&quot;../modules/es.symbol.constructor&quot;:379,&quot;../modules/es.symbol.for&quot;:380,&quot;../modules/es.symbol.key-for&quot;:382}],382:[function(t,n,l){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/has-own-property&quot;),u=t(&quot;../internals/is-symbol&quot;),o=t(&quot;../internals/try-to-string&quot;),s=t(&quot;../internals/shared&quot;),c=t(&quot;../internals/symbol-registry-detection&quot;),f=s(&quot;symbol-to-string-registry&quot;);i({target:&quot;Symbol&quot;,stat:!0,forced:!c},{keyFor:function(h){if(!u(h))throw new TypeError(o(h)+&quot; is not a symbol&quot;);if(a(f,h))return f[h]}})},{&quot;../internals/export&quot;:259,&quot;../internals/has-own-property&quot;:275,&quot;../internals/is-symbol&quot;:292,&quot;../internals/shared&quot;:334,&quot;../internals/symbol-registry-detection&quot;:338,&quot;../internals/try-to-string&quot;:349}],383:[function(t,n,l){function i(a){return Object.prototype.toString.call(a)}l.isArray=function(a){return Array.isArray?Array.isArray(a):i(a)===&quot;[object Array]&quot;},l.isBoolean=function(a){return typeof a==&quot;boolean&quot;},l.isNull=function(a){return a===null},l.isNullOrUndefined=function(a){return a==null},l.isNumber=function(a){return typeof a==&quot;number&quot;},l.isString=function(a){return typeof a==&quot;string&quot;},l.isSymbol=function(a){return typeof a==&quot;symbol&quot;},l.isUndefined=function(a){return a===void 0},l.isRegExp=function(a){return i(a)===&quot;[object RegExp]&quot;},l.isObject=function(a){return typeof a==&quot;object&quot;&amp;&amp;a!==null},l.isDate=function(a){return i(a)===&quot;[object Date]&quot;},l.isError=function(a){return i(a)===&quot;[object Error]&quot;||a instanceof Error},l.isFunction=function(a){return typeof a==&quot;function&quot;},l.isPrimitive=function(a){return a===null||typeof a==&quot;boolean&quot;||typeof a==&quot;number&quot;||typeof a==&quot;string&quot;||typeof a==&quot;symbol&quot;||a===void 0},l.isBuffer=t(&quot;buffer&quot;).Buffer.isBuffer},{buffer:220}],384:[function(t,n,l){(function(i){(function(){var a=t(&quot;elliptic&quot;),u=t(&quot;bn.js&quot;);n.exports=function(f){return new s(f)};var o={secp256k1:{name:&quot;secp256k1&quot;,byteLength:32},secp224r1:{name:&quot;p224&quot;,byteLength:28},prime256v1:{name:&quot;p256&quot;,byteLength:32},prime192v1:{name:&quot;p192&quot;,byteLength:24},ed25519:{name:&quot;ed25519&quot;,byteLength:32},secp384r1:{name:&quot;p384&quot;,byteLength:48},secp521r1:{name:&quot;p521&quot;,byteLength:66}};function s(f){this.curveType=o[f],this.curveType||(this.curveType={name:f}),this.curve=new a.ec(this.curveType.name),this.keys=void 0}function c(f,h,m){Array.isArray(f)||(f=f.toArray());var p=new i(f);if(m&amp;&amp;p.length&lt;m){var v=new i(m-p.length);v.fill(0),p=i.concat([v,p])}return h?p.toString(h):p}o.p224=o.secp224r1,o.p256=o.secp256r1=o.prime256v1,o.p192=o.secp192r1=o.prime192v1,o.p384=o.secp384r1,o.p521=o.secp521r1,s.prototype.generateKeys=function(f,h){return this.keys=this.curve.genKeyPair(),this.getPublicKey(f,h)},s.prototype.computeSecret=function(f,h,m){return h=h||&quot;utf8&quot;,i.isBuffer(f)||(f=new i(f,h)),c(this.curve.keyFromPublic(f).getPublic().mul(this.keys.getPrivate()).getX(),m,this.curveType.byteLength)},s.prototype.getPublicKey=function(f,h){var m=this.keys.getPublic(h===&quot;compressed&quot;,!0);return h===&quot;hybrid&quot;&amp;&amp;(m[m.length-1]%2?m[0]=7:m[0]=6),c(m,f)},s.prototype.getPrivateKey=function(f){return c(this.keys.getPrivate(),f)},s.prototype.setPublicKey=function(f,h){return h=h||&quot;utf8&quot;,i.isBuffer(f)||(f=new i(f,h)),this.keys._importPublic(f),this},s.prototype.setPrivateKey=function(f,h){h=h||&quot;utf8&quot;,i.isBuffer(f)||(f=new i(f,h));var m=new u(f);return m=m.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(m),this}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;bn.js&quot;:385,buffer:220,elliptic:405}],385:[function(t,n,l){arguments[4][184][0].apply(l,arguments)},{buffer:188,dup:184}],386:[function(t,n,l){var i=t(&quot;inherits&quot;),a=t(&quot;md5.js&quot;),u=t(&quot;ripemd160&quot;),o=t(&quot;sha.js&quot;),s=t(&quot;cipher-base&quot;);function c(f){s.call(this,&quot;digest&quot;),this._hash=f}i(c,s),c.prototype._update=function(f){this._hash.update(f)},c.prototype._final=function(){return this._hash.digest()},n.exports=function(f){return(f=f.toLowerCase())===&quot;md5&quot;?new a:f===&quot;rmd160&quot;||f===&quot;ripemd160&quot;?new u:new c(o(f))}},{&quot;cipher-base&quot;:221,inherits:440,&quot;md5.js&quot;:450,ripemd160:493,&quot;sha.js&quot;:498}],387:[function(t,n,l){var i=t(&quot;md5.js&quot;);n.exports=function(a){return new i().update(a).digest()}},{&quot;md5.js&quot;:450}],388:[function(t,n,l){var i=t(&quot;inherits&quot;),a=t(&quot;./legacy&quot;),u=t(&quot;cipher-base&quot;),o=t(&quot;safe-buffer&quot;).Buffer,s=t(&quot;create-hash/md5&quot;),c=t(&quot;ripemd160&quot;),f=t(&quot;sha.js&quot;),h=o.alloc(128);function m(p,v){u.call(this,&quot;digest&quot;),typeof v==&quot;string&quot;&amp;&amp;(v=o.from(v));var g=p===&quot;sha512&quot;||p===&quot;sha384&quot;?128:64;this._alg=p,this._key=v,v.length&gt;g?v=(p===&quot;rmd160&quot;?new c:f(p)).update(v).digest():v.length&lt;g&amp;&amp;(v=o.concat([v,h],g));for(var b=this._ipad=o.allocUnsafe(g),x=this._opad=o.allocUnsafe(g),_=0;_&lt;g;_++)b[_]=54^v[_],x[_]=92^v[_];this._hash=p===&quot;rmd160&quot;?new c:f(p),this._hash.update(b)}i(m,u),m.prototype._update=function(p){this._hash.update(p)},m.prototype._final=function(){var p=this._hash.digest();return(this._alg===&quot;rmd160&quot;?new c:f(this._alg)).update(this._opad).update(p).digest()},n.exports=function(p,v){return(p=p.toLowerCase())===&quot;rmd160&quot;||p===&quot;ripemd160&quot;?new m(&quot;rmd160&quot;,v):p===&quot;md5&quot;?new a(s,v):new m(p,v)}},{&quot;./legacy&quot;:389,&quot;cipher-base&quot;:221,&quot;create-hash/md5&quot;:387,inherits:440,ripemd160:493,&quot;safe-buffer&quot;:494,&quot;sha.js&quot;:498}],389:[function(t,n,l){var i=t(&quot;inherits&quot;),a=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;cipher-base&quot;),o=a.alloc(128);function s(c,f){u.call(this,&quot;digest&quot;),typeof f==&quot;string&quot;&amp;&amp;(f=a.from(f)),this._alg=c,this._key=f,f.length&gt;64?f=c(f):f.length&lt;64&amp;&amp;(f=a.concat([f,o],64));for(var h=this._ipad=a.allocUnsafe(64),m=this._opad=a.allocUnsafe(64),p=0;p&lt;64;p++)h[p]=54^f[p],m[p]=92^f[p];this._hash=[h]}i(s,u),s.prototype._update=function(c){this._hash.push(c)},s.prototype._final=function(){var c=this._alg(a.concat(this._hash));return this._alg(a.concat([this._opad,c]))},n.exports=s},{&quot;cipher-base&quot;:221,inherits:440,&quot;safe-buffer&quot;:494}],390:[function(t,n,l){l.randomBytes=l.rng=l.pseudoRandomBytes=l.prng=t(&quot;randombytes&quot;),l.createHash=l.Hash=t(&quot;create-hash&quot;),l.createHmac=l.Hmac=t(&quot;create-hmac&quot;);var i=t(&quot;browserify-sign/algos&quot;),a=Object.keys(i),u=[&quot;sha1&quot;,&quot;sha224&quot;,&quot;sha256&quot;,&quot;sha384&quot;,&quot;sha512&quot;,&quot;md5&quot;,&quot;rmd160&quot;].concat(a);l.getHashes=function(){return u};var o=t(&quot;pbkdf2&quot;);l.pbkdf2=o.pbkdf2,l.pbkdf2Sync=o.pbkdf2Sync;var s=t(&quot;browserify-cipher&quot;);l.Cipher=s.Cipher,l.createCipher=s.createCipher,l.Cipheriv=s.Cipheriv,l.createCipheriv=s.createCipheriv,l.Decipher=s.Decipher,l.createDecipher=s.createDecipher,l.Decipheriv=s.Decipheriv,l.createDecipheriv=s.createDecipheriv,l.getCiphers=s.getCiphers,l.listCiphers=s.listCiphers;var c=t(&quot;diffie-hellman&quot;);l.DiffieHellmanGroup=c.DiffieHellmanGroup,l.createDiffieHellmanGroup=c.createDiffieHellmanGroup,l.getDiffieHellman=c.getDiffieHellman,l.createDiffieHellman=c.createDiffieHellman,l.DiffieHellman=c.DiffieHellman;var f=t(&quot;browserify-sign&quot;);l.createSign=f.createSign,l.Sign=f.Sign,l.createVerify=f.createVerify,l.Verify=f.Verify,l.createECDH=t(&quot;create-ecdh&quot;);var h=t(&quot;public-encrypt&quot;);l.publicEncrypt=h.publicEncrypt,l.privateEncrypt=h.privateEncrypt,l.publicDecrypt=h.publicDecrypt,l.privateDecrypt=h.privateDecrypt;var m=t(&quot;randomfill&quot;);l.randomFill=m.randomFill,l.randomFillSync=m.randomFillSync,l.createCredentials=function(){throw new Error([&quot;sorry, createCredentials is not implemented yet&quot;,&quot;we accept pull requests&quot;,&quot;https://github.com/crypto-browserify/crypto-browserify&quot;].join(`
`))},l.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{&quot;browserify-cipher&quot;:206,&quot;browserify-sign&quot;:213,&quot;browserify-sign/algos&quot;:210,&quot;create-ecdh&quot;:384,&quot;create-hash&quot;:386,&quot;create-hmac&quot;:388,&quot;diffie-hellman&quot;:400,pbkdf2:460,&quot;public-encrypt&quot;:468,randombytes:475,randomfill:476}],391:[function(t,n,l){(function(i,a){typeof l==&quot;object&quot;&amp;&amp;n!==void 0?n.exports=a():(i=typeof globalThis&lt;&quot;u&quot;?globalThis:i||self).dayjs=a()})(void 0,(function(){var i=6e4,a=36e5,u=&quot;millisecond&quot;,o=&quot;second&quot;,s=&quot;minute&quot;,c=&quot;hour&quot;,f=&quot;day&quot;,h=&quot;week&quot;,m=&quot;month&quot;,p=&quot;quarter&quot;,v=&quot;year&quot;,g=&quot;date&quot;,b=&quot;Invalid Date&quot;,x=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,_=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C={name:&quot;en&quot;,weekdays:&quot;Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday&quot;.split(&quot;_&quot;),months:&quot;January_February_March_April_May_June_July_August_September_October_November_December&quot;.split(&quot;_&quot;),ordinal:function(j){var k=[&quot;th&quot;,&quot;st&quot;,&quot;nd&quot;,&quot;rd&quot;],S=j%100;return&quot;[&quot;+j+(k[(S-20)%10]||k[S]||k[0])+&quot;]&quot;}},O=function(j,k,S){var N=String(j);return!N||N.length&gt;=k?j:&quot;&quot;+Array(k+1-N.length).join(S)+j},R={s:O,z:function(j){var k=-j.utcOffset(),S=Math.abs(k),N=Math.floor(S/60),M=S%60;return(k&lt;=0?&quot;+&quot;:&quot;-&quot;)+O(N,2,&quot;0&quot;)+&quot;:&quot;+O(M,2,&quot;0&quot;)},m:function j(k,S){if(k.date()&lt;S.date())return-j(S,k);var N=12*(S.year()-k.year())+(S.month()-k.month()),M=k.clone().add(N,m),I=S-M&lt;0,B=k.clone().add(N+(I?-1:1),m);return+(-(N+(S-M)/(I?M-B:B-M))||0)},a:function(j){return j&lt;0?Math.ceil(j)||0:Math.floor(j)},p:function(j){return{M:m,y:v,w:h,d:f,D:g,h:c,m:s,s:o,ms:u,Q:p}[j]||String(j||&quot;&quot;).toLowerCase().replace(/s$/,&quot;&quot;)},u:function(j){return j===void 0}},H=&quot;en&quot;,L={};L[H]=C;var q=&quot;$isDayjsObject&quot;,W=function(j){return j instanceof D||!(!j||!j[q])},K=function j(k,S,N){var M;if(!k)return H;if(typeof k==&quot;string&quot;){var I=k.toLowerCase();L[I]&amp;&amp;(M=I),S&amp;&amp;(L[I]=S,M=I);var B=k.split(&quot;-&quot;);if(!M&amp;&amp;B.length&gt;1)return j(B[0])}else{var Y=k.name;L[Y]=k,M=Y}return!N&amp;&amp;M&amp;&amp;(H=M),M||!N&amp;&amp;H},U=function(j,k){if(W(j))return j.clone();var S=typeof k==&quot;object&quot;?k:{};return S.date=j,S.args=arguments,new D(S)},P=R;P.l=K,P.i=W,P.w=function(j,k){return U(j,{locale:k.$L,utc:k.$u,x:k.$x,$offset:k.$offset})};var D=(function(){function j(S){this.$L=K(S.locale,null,!0),this.parse(S),this.$x=this.$x||S.x||{},this[q]=!0}var k=j.prototype;return k.parse=function(S){this.$d=(function(N){var M=N.date,I=N.utc;if(M===null)return new Date(NaN);if(P.u(M))return new Date;if(M instanceof Date)return new Date(M);if(typeof M==&quot;string&quot;&amp;&amp;!/Z$/i.test(M)){var B=M.match(x);if(B){var Y=B[2]-1||0,Z=(B[7]||&quot;0&quot;).substring(0,3);return I?new Date(Date.UTC(B[1],Y,B[3]||1,B[4]||0,B[5]||0,B[6]||0,Z)):new Date(B[1],Y,B[3]||1,B[4]||0,B[5]||0,B[6]||0,Z)}}return new Date(M)})(S),this.init()},k.init=function(){var S=this.$d;this.$y=S.getFullYear(),this.$M=S.getMonth(),this.$D=S.getDate(),this.$W=S.getDay(),this.$H=S.getHours(),this.$m=S.getMinutes(),this.$s=S.getSeconds(),this.$ms=S.getMilliseconds()},k.$utils=function(){return P},k.isValid=function(){return this.$d.toString()!==b},k.isSame=function(S,N){var M=U(S);return this.startOf(N)&lt;=M&amp;&amp;M&lt;=this.endOf(N)},k.isAfter=function(S,N){return U(S)&lt;this.startOf(N)},k.isBefore=function(S,N){return this.endOf(N)&lt;U(S)},k.$g=function(S,N,M){return P.u(S)?this[N]:this.set(M,S)},k.unix=function(){return Math.floor(this.valueOf()/1e3)},k.valueOf=function(){return this.$d.getTime()},k.startOf=function(S,N){var M=this,I=!!P.u(N)||N,B=P.p(S),Y=function(re,ne){var Q=P.w(M.$u?Date.UTC(M.$y,ne,re):new Date(M.$y,ne,re),M);return I?Q:Q.endOf(f)},Z=function(re,ne){return P.w(M.toDate()[re].apply(M.toDate(&quot;s&quot;),(I?[0,0,0,0]:[23,59,59,999]).slice(ne)),M)},ie=this.$W,$=this.$M,ee=this.$D,z=&quot;set&quot;+(this.$u?&quot;UTC&quot;:&quot;&quot;);switch(B){case v:return I?Y(1,0):Y(31,11);case m:return I?Y(1,$):Y(0,$+1);case h:var T=this.$locale().weekStart||0,X=(ie&lt;T?ie+7:ie)-T;return Y(I?ee-X:ee+(6-X),$);case f:case g:return Z(z+&quot;Hours&quot;,0);case c:return Z(z+&quot;Minutes&quot;,1);case s:return Z(z+&quot;Seconds&quot;,2);case o:return Z(z+&quot;Milliseconds&quot;,3);default:return this.clone()}},k.endOf=function(S){return this.startOf(S,!1)},k.$set=function(S,N){var M,I=P.p(S),B=&quot;set&quot;+(this.$u?&quot;UTC&quot;:&quot;&quot;),Y=(M={},M[f]=B+&quot;Date&quot;,M[g]=B+&quot;Date&quot;,M[m]=B+&quot;Month&quot;,M[v]=B+&quot;FullYear&quot;,M[c]=B+&quot;Hours&quot;,M[s]=B+&quot;Minutes&quot;,M[o]=B+&quot;Seconds&quot;,M[u]=B+&quot;Milliseconds&quot;,M)[I],Z=I===f?this.$D+(N-this.$W):N;if(I===m||I===v){var ie=this.clone().set(g,1);ie.$d[Y](Z),ie.init(),this.$d=ie.set(g,Math.min(this.$D,ie.daysInMonth())).$d}else Y&amp;&amp;this.$d[Y](Z);return this.init(),this},k.set=function(S,N){return this.clone().$set(S,N)},k.get=function(S){return this[P.p(S)]()},k.add=function(S,N){var M,I=this;S=Number(S);var B=P.p(N),Y=function($){var ee=U(I);return P.w(ee.date(ee.date()+Math.round($*S)),I)};if(B===m)return this.set(m,this.$M+S);if(B===v)return this.set(v,this.$y+S);if(B===f)return Y(1);if(B===h)return Y(7);var Z=(M={},M[s]=i,M[c]=a,M[o]=1e3,M)[B]||1,ie=this.$d.getTime()+S*Z;return P.w(ie,this)},k.subtract=function(S,N){return this.add(-1*S,N)},k.format=function(S){var N=this,M=this.$locale();if(!this.isValid())return M.invalidDate||b;var I=S||&quot;YYYY-MM-DDTHH:mm:ssZ&quot;,B=P.z(this),Y=this.$H,Z=this.$m,ie=this.$M,$=M.weekdays,ee=M.months,z=M.meridiem,T=function(ne,Q,te,de){return ne&amp;&amp;(ne[Q]||ne(N,I))||te[Q].slice(0,de)},X=function(ne){return P.s(Y%12||12,ne,&quot;0&quot;)},re=z||function(ne,Q,te){var de=ne&lt;12?&quot;AM&quot;:&quot;PM&quot;;return te?de.toLowerCase():de};return I.replace(_,(function(ne,Q){return Q||(function(te){switch(te){case&quot;YY&quot;:return String(N.$y).slice(-2);case&quot;YYYY&quot;:return P.s(N.$y,4,&quot;0&quot;);case&quot;M&quot;:return ie+1;case&quot;MM&quot;:return P.s(ie+1,2,&quot;0&quot;);case&quot;MMM&quot;:return T(M.monthsShort,ie,ee,3);case&quot;MMMM&quot;:return T(ee,ie);case&quot;D&quot;:return N.$D;case&quot;DD&quot;:return P.s(N.$D,2,&quot;0&quot;);case&quot;d&quot;:return String(N.$W);case&quot;dd&quot;:return T(M.weekdaysMin,N.$W,$,2);case&quot;ddd&quot;:return T(M.weekdaysShort,N.$W,$,3);case&quot;dddd&quot;:return $[N.$W];case&quot;H&quot;:return String(Y);case&quot;HH&quot;:return P.s(Y,2,&quot;0&quot;);case&quot;h&quot;:return X(1);case&quot;hh&quot;:return X(2);case&quot;a&quot;:return re(Y,Z,!0);case&quot;A&quot;:return re(Y,Z,!1);case&quot;m&quot;:return String(Z);case&quot;mm&quot;:return P.s(Z,2,&quot;0&quot;);case&quot;s&quot;:return String(N.$s);case&quot;ss&quot;:return P.s(N.$s,2,&quot;0&quot;);case&quot;SSS&quot;:return P.s(N.$ms,3,&quot;0&quot;);case&quot;Z&quot;:return B}return null})(ne)||B.replace(&quot;:&quot;,&quot;&quot;)}))},k.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},k.diff=function(S,N,M){var I,B=this,Y=P.p(N),Z=U(S),ie=(Z.utcOffset()-this.utcOffset())*i,$=this-Z,ee=function(){return P.m(B,Z)};switch(Y){case v:I=ee()/12;break;case m:I=ee();break;case p:I=ee()/3;break;case h:I=($-ie)/6048e5;break;case f:I=($-ie)/864e5;break;case c:I=$/a;break;case s:I=$/i;break;case o:I=$/1e3;break;default:I=$}return M?I:P.a(I)},k.daysInMonth=function(){return this.endOf(m).$D},k.$locale=function(){return L[this.$L]},k.locale=function(S,N){if(!S)return this.$L;var M=this.clone(),I=K(S,N,!0);return I&amp;&amp;(M.$L=I),M},k.clone=function(){return P.w(this.$d,this)},k.toDate=function(){return new Date(this.valueOf())},k.toJSON=function(){return this.isValid()?this.toISOString():null},k.toISOString=function(){return this.$d.toISOString()},k.toString=function(){return this.$d.toUTCString()},j})(),E=D.prototype;return U.prototype=E,[[&quot;$ms&quot;,u],[&quot;$s&quot;,o],[&quot;$m&quot;,s],[&quot;$H&quot;,c],[&quot;$W&quot;,f],[&quot;$M&quot;,m],[&quot;$y&quot;,v],[&quot;$D&quot;,g]].forEach((function(j){E[j[1]]=function(k){return this.$g(k,j[0],j[1])}})),U.extend=function(j,k){return j.$i||(j(k,D,U),j.$i=!0),U},U.locale=K,U.isDayjs=W,U.unix=function(j){return U(1e3*j)},U.en=L[H],U.Ls=L,U.p={},U}))},{}],392:[function(t,n,l){(function(i,a){typeof l==&quot;object&quot;&amp;&amp;n!==void 0?n.exports=a():(i=typeof globalThis&lt;&quot;u&quot;?globalThis:i||self).dayjs_plugin_customParseFormat=a()})(void 0,(function(){var i={LTS:&quot;h:mm:ss A&quot;,LT:&quot;h:mm A&quot;,L:&quot;MM/DD/YYYY&quot;,LL:&quot;MMMM D, YYYY&quot;,LLL:&quot;MMMM D, YYYY h:mm A&quot;,LLLL:&quot;dddd, MMMM D, YYYY h:mm A&quot;},a=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,u=/\d\d/,o=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,c={},f=function(x){return(x=+x)+(x&gt;68?1900:2e3)},h=function(x){return function(_){this[x]=+_}},m=[/[+-]\d\d:?(\d\d)?|Z/,function(x){(this.zone||(this.zone={})).offset=(function(_){if(!_||_===&quot;Z&quot;)return 0;var C=_.match(/([+-]|\d\d)/g),O=60*C[1]+(+C[2]||0);return O===0?0:C[0]===&quot;+&quot;?-O:O})(x)}],p=function(x){var _=c[x];return _&amp;&amp;(_.indexOf?_:_.s.concat(_.f))},v=function(x,_){var C,O=c.meridiem;if(O){for(var R=1;R&lt;=24;R+=1)if(x.indexOf(O(R,0,_))&gt;-1){C=R&gt;12;break}}else C=x===(_?&quot;pm&quot;:&quot;PM&quot;);return C},g={A:[s,function(x){this.afternoon=v(x,!1)}],a:[s,function(x){this.afternoon=v(x,!0)}],S:[/\d/,function(x){this.milliseconds=100*+x}],SS:[u,function(x){this.milliseconds=10*+x}],SSS:[/\d{3}/,function(x){this.milliseconds=+x}],s:[o,h(&quot;seconds&quot;)],ss:[o,h(&quot;seconds&quot;)],m:[o,h(&quot;minutes&quot;)],mm:[o,h(&quot;minutes&quot;)],H:[o,h(&quot;hours&quot;)],h:[o,h(&quot;hours&quot;)],HH:[o,h(&quot;hours&quot;)],hh:[o,h(&quot;hours&quot;)],D:[o,h(&quot;day&quot;)],DD:[u,h(&quot;day&quot;)],Do:[s,function(x){var _=c.ordinal,C=x.match(/\d+/);if(this.day=C[0],_)for(var O=1;O&lt;=31;O+=1)_(O).replace(/\[|\]/g,&quot;&quot;)===x&amp;&amp;(this.day=O)}],M:[o,h(&quot;month&quot;)],MM:[u,h(&quot;month&quot;)],MMM:[s,function(x){var _=p(&quot;months&quot;),C=(p(&quot;monthsShort&quot;)||_.map((function(O){return O.slice(0,3)}))).indexOf(x)+1;if(C&lt;1)throw new Error;this.month=C%12||C}],MMMM:[s,function(x){var _=p(&quot;months&quot;).indexOf(x)+1;if(_&lt;1)throw new Error;this.month=_%12||_}],Y:[/[+-]?\d+/,h(&quot;year&quot;)],YY:[u,function(x){this.year=f(x)}],YYYY:[/\d{4}/,h(&quot;year&quot;)],Z:m,ZZ:m};function b(x){var _,C;_=x,C=c&amp;&amp;c.formats;for(var O=(x=_.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(U,P,D){var E=D&amp;&amp;D.toUpperCase();return P||C[D]||i[D]||C[E].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(j,k,S){return k||S.slice(1)}))}))).match(a),R=O.length,H=0;H&lt;R;H+=1){var L=O[H],q=g[L],W=q&amp;&amp;q[0],K=q&amp;&amp;q[1];O[H]=K?{regex:W,parser:K}:L.replace(/^\[|\]$/g,&quot;&quot;)}return function(U){for(var P={},D=0,E=0;D&lt;R;D+=1){var j=O[D];if(typeof j==&quot;string&quot;)E+=j.length;else{var k=j.regex,S=j.parser,N=U.slice(E),M=k.exec(N)[0];S.call(P,M),U=U.replace(M,&quot;&quot;)}}return(function(I){var B=I.afternoon;if(B!==void 0){var Y=I.hours;B?Y&lt;12&amp;&amp;(I.hours+=12):Y===12&amp;&amp;(I.hours=0),delete I.afternoon}})(P),P}}return function(x,_,C){C.p.customParseFormat=!0,x&amp;&amp;x.parseTwoDigitYear&amp;&amp;(f=x.parseTwoDigitYear);var O=_.prototype,R=O.parse;O.parse=function(H){var L=H.date,q=H.utc,W=H.args;this.$u=q;var K=W[1];if(typeof K==&quot;string&quot;){var U=W[2]===!0,P=W[3]===!0,D=U||P,E=W[2];P&amp;&amp;(E=W[2]),c=this.$locale(),!U&amp;&amp;E&amp;&amp;(c=C.Ls[E]),this.$d=(function(N,M,I){try{if([&quot;x&quot;,&quot;X&quot;].indexOf(M)&gt;-1)return new Date((M===&quot;X&quot;?1e3:1)*N);var B=b(M)(N),Y=B.year,Z=B.month,ie=B.day,$=B.hours,ee=B.minutes,z=B.seconds,T=B.milliseconds,X=B.zone,re=new Date,ne=ie||(Y||Z?1:re.getDate()),Q=Y||re.getFullYear(),te=0;Y&amp;&amp;!Z||(te=Z&gt;0?Z-1:re.getMonth());var de=$||0,oe=ee||0,se=z||0,fe=T||0;return X?new Date(Date.UTC(Q,te,ne,de,oe,se,fe+60*X.offset*1e3)):I?new Date(Date.UTC(Q,te,ne,de,oe,se,fe)):new Date(Q,te,ne,de,oe,se,fe)}catch{return new Date(&quot;&quot;)}})(L,K,q),this.init(),E&amp;&amp;E!==!0&amp;&amp;(this.$L=this.locale(E).$L),D&amp;&amp;L!=this.format(K)&amp;&amp;(this.$d=new Date(&quot;&quot;)),c={}}else if(K instanceof Array)for(var j=K.length,k=1;k&lt;=j;k+=1){W[1]=K[k-1];var S=C.apply(this,W);if(S.isValid()){this.$d=S.$d,this.$L=S.$L,this.init();break}k===j&amp;&amp;(this.$d=new Date(&quot;&quot;))}else R.call(this,H)}}}))},{}],393:[function(t,n,l){(function(i,a){typeof l==&quot;object&quot;&amp;&amp;n!==void 0?n.exports=a():(i=typeof globalThis&lt;&quot;u&quot;?globalThis:i||self).dayjs_plugin_utc=a()})(void 0,(function(){var i=&quot;minute&quot;,a=/[+-]\d\d(?::?\d\d)?/g,u=/([+-]|\d\d)/g;return function(o,s,c){var f=s.prototype;c.utc=function(x){var _={date:x,utc:!0,args:arguments};return new s(_)},f.utc=function(x){var _=c(this.toDate(),{locale:this.$L,utc:!0});return x?_.add(this.utcOffset(),i):_},f.local=function(){return c(this.toDate(),{locale:this.$L,utc:!1})};var h=f.parse;f.parse=function(x){x.utc&amp;&amp;(this.$u=!0),this.$utils().u(x.$offset)||(this.$offset=x.$offset),h.call(this,x)};var m=f.init;f.init=function(){if(this.$u){var x=this.$d;this.$y=x.getUTCFullYear(),this.$M=x.getUTCMonth(),this.$D=x.getUTCDate(),this.$W=x.getUTCDay(),this.$H=x.getUTCHours(),this.$m=x.getUTCMinutes(),this.$s=x.getUTCSeconds(),this.$ms=x.getUTCMilliseconds()}else m.call(this)};var p=f.utcOffset;f.utcOffset=function(x,_){var C=this.$utils().u;if(C(x))return this.$u?0:C(this.$offset)?p.call(this):this.$offset;if(typeof x==&quot;string&quot;&amp;&amp;(x=(function(L){L===void 0&amp;&amp;(L=&quot;&quot;);var q=L.match(a);if(!q)return null;var W=(&quot;&quot;+q[0]).match(u)||[&quot;-&quot;,0,0],K=W[0],U=60*+W[1]+ +W[2];return U===0?0:K===&quot;+&quot;?U:-U})(x))===null)return this;var O=Math.abs(x)&lt;=16?60*x:x,R=this;if(_)return R.$offset=O,R.$u=x===0,R;if(x!==0){var H=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(R=this.local().add(O+H,i)).$offset=O,R.$x.$localOffset=H}else R=this.utc();return R};var v=f.format;f.format=function(x){var _=x||(this.$u?&quot;YYYY-MM-DDTHH:mm:ss[Z]&quot;:&quot;&quot;);return v.call(this,_)},f.valueOf=function(){var x=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*x},f.isUTC=function(){return!!this.$u},f.toISOString=function(){return this.toDate().toISOString()},f.toString=function(){return this.toDate().toUTCString()};var g=f.toDate;f.toDate=function(x){return x===&quot;s&quot;&amp;&amp;this.$offset?c(this.format(&quot;YYYY-MM-DD HH:mm:ss:SSS&quot;)).toDate():g.call(this)};var b=f.diff;f.diff=function(x,_,C){if(x&amp;&amp;this.$u===x.$u)return b.call(this,x,_,C);var O=this.local(),R=c(x).local();return b.call(O,R,_,C)}}}))},{}],394:[function(t,n,l){l.utils=t(&quot;./des/utils&quot;),l.Cipher=t(&quot;./des/cipher&quot;),l.DES=t(&quot;./des/des&quot;),l.CBC=t(&quot;./des/cbc&quot;),l.EDE=t(&quot;./des/ede&quot;)},{&quot;./des/cbc&quot;:395,&quot;./des/cipher&quot;:396,&quot;./des/des&quot;:397,&quot;./des/ede&quot;:398,&quot;./des/utils&quot;:399}],395:[function(t,n,l){var i=t(&quot;minimalistic-assert&quot;),a=t(&quot;inherits&quot;),u={};function o(s){i.equal(s.length,8,&quot;Invalid IV length&quot;),this.iv=new Array(8);for(var c=0;c&lt;this.iv.length;c++)this.iv[c]=s[c]}l.instantiate=function(s){function c(p){s.call(this,p),this._cbcInit()}a(c,s);for(var f=Object.keys(u),h=0;h&lt;f.length;h++){var m=f[h];c.prototype[m]=u[m]}return c.create=function(p){return new c(p)},c},u._cbcInit=function(){var s=new o(this.options.iv);this._cbcState=s},u._update=function(s,c,f,h){var m=this._cbcState,p=this.constructor.super_.prototype,v=m.iv;if(this.type===&quot;encrypt&quot;){for(var g=0;g&lt;this.blockSize;g++)v[g]^=s[c+g];for(p._update.call(this,v,0,f,h),g=0;g&lt;this.blockSize;g++)v[g]=f[h+g]}else{for(p._update.call(this,s,c,f,h),g=0;g&lt;this.blockSize;g++)f[h+g]^=v[g];for(g=0;g&lt;this.blockSize;g++)v[g]=s[c+g]}}},{inherits:440,&quot;minimalistic-assert&quot;:453}],396:[function(t,n,l){var i=t(&quot;minimalistic-assert&quot;);function a(u){this.options=u,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=u.padding!==!1}n.exports=a,a.prototype._init=function(){},a.prototype.update=function(u){return u.length===0?[]:this.type===&quot;decrypt&quot;?this._updateDecrypt(u):this._updateEncrypt(u)},a.prototype._buffer=function(u,o){for(var s=Math.min(this.buffer.length-this.bufferOff,u.length-o),c=0;c&lt;s;c++)this.buffer[this.bufferOff+c]=u[o+c];return this.bufferOff+=s,s},a.prototype._flushBuffer=function(u,o){return this._update(this.buffer,0,u,o),this.bufferOff=0,this.blockSize},a.prototype._updateEncrypt=function(u){var o=0,s=0,c=(this.bufferOff+u.length)/this.blockSize|0,f=new Array(c*this.blockSize);this.bufferOff!==0&amp;&amp;(o+=this._buffer(u,o),this.bufferOff===this.buffer.length&amp;&amp;(s+=this._flushBuffer(f,s)));for(var h=u.length-(u.length-o)%this.blockSize;o&lt;h;o+=this.blockSize)this._update(u,o,f,s),s+=this.blockSize;for(;o&lt;u.length;o++,this.bufferOff++)this.buffer[this.bufferOff]=u[o];return f},a.prototype._updateDecrypt=function(u){for(var o=0,s=0,c=Math.ceil((this.bufferOff+u.length)/this.blockSize)-1,f=new Array(c*this.blockSize);c&gt;0;c--)o+=this._buffer(u,o),s+=this._flushBuffer(f,s);return o+=this._buffer(u,o),f},a.prototype.final=function(u){var o,s;return u&amp;&amp;(o=this.update(u)),s=this.type===&quot;encrypt&quot;?this._finalEncrypt():this._finalDecrypt(),o?o.concat(s):s},a.prototype._pad=function(u,o){if(o===0)return!1;for(;o&lt;u.length;)u[o++]=0;return!0},a.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var u=new Array(this.blockSize);return this._update(this.buffer,0,u,0),u},a.prototype._unpad=function(u){return u},a.prototype._finalDecrypt=function(){i.equal(this.bufferOff,this.blockSize,&quot;Not enough data to decrypt&quot;);var u=new Array(this.blockSize);return this._flushBuffer(u,0),this._unpad(u)}},{&quot;minimalistic-assert&quot;:453}],397:[function(t,n,l){var i=t(&quot;minimalistic-assert&quot;),a=t(&quot;inherits&quot;),u=t(&quot;./utils&quot;),o=t(&quot;./cipher&quot;);function s(){this.tmp=new Array(2),this.keys=null}function c(h){o.call(this,h);var m=new s;this._desState=m,this.deriveKeys(m,h.key)}a(c,o),n.exports=c,c.create=function(h){return new c(h)};var f=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];c.prototype.deriveKeys=function(h,m){h.keys=new Array(32),i.equal(m.length,this.blockSize,&quot;Invalid key length&quot;);var p=u.readUInt32BE(m,0),v=u.readUInt32BE(m,4);u.pc1(p,v,h.tmp,0),p=h.tmp[0],v=h.tmp[1];for(var g=0;g&lt;h.keys.length;g+=2){var b=f[g&gt;&gt;&gt;1];p=u.r28shl(p,b),v=u.r28shl(v,b),u.pc2(p,v,h.keys,g)}},c.prototype._update=function(h,m,p,v){var g=this._desState,b=u.readUInt32BE(h,m),x=u.readUInt32BE(h,m+4);u.ip(b,x,g.tmp,0),b=g.tmp[0],x=g.tmp[1],this.type===&quot;encrypt&quot;?this._encrypt(g,b,x,g.tmp,0):this._decrypt(g,b,x,g.tmp,0),b=g.tmp[0],x=g.tmp[1],u.writeUInt32BE(p,b,v),u.writeUInt32BE(p,x,v+4)},c.prototype._pad=function(h,m){if(this.padding===!1)return!1;for(var p=h.length-m,v=m;v&lt;h.length;v++)h[v]=p;return!0},c.prototype._unpad=function(h){if(this.padding===!1)return h;for(var m=h[h.length-1],p=h.length-m;p&lt;h.length;p++)i.equal(h[p],m);return h.slice(0,h.length-m)},c.prototype._encrypt=function(h,m,p,v,g){for(var b=m,x=p,_=0;_&lt;h.keys.length;_+=2){var C=h.keys[_],O=h.keys[_+1];u.expand(x,h.tmp,0),C^=h.tmp[0],O^=h.tmp[1];var R=u.substitute(C,O),H=x;x=(b^u.permute(R))&gt;&gt;&gt;0,b=H}u.rip(x,b,v,g)},c.prototype._decrypt=function(h,m,p,v,g){for(var b=p,x=m,_=h.keys.length-2;_&gt;=0;_-=2){var C=h.keys[_],O=h.keys[_+1];u.expand(b,h.tmp,0),C^=h.tmp[0],O^=h.tmp[1];var R=u.substitute(C,O),H=b;b=(x^u.permute(R))&gt;&gt;&gt;0,x=H}u.rip(b,x,v,g)}},{&quot;./cipher&quot;:396,&quot;./utils&quot;:399,inherits:440,&quot;minimalistic-assert&quot;:453}],398:[function(t,n,l){var i=t(&quot;minimalistic-assert&quot;),a=t(&quot;inherits&quot;),u=t(&quot;./cipher&quot;),o=t(&quot;./des&quot;);function s(f,h){i.equal(h.length,24,&quot;Invalid key length&quot;);var m=h.slice(0,8),p=h.slice(8,16),v=h.slice(16,24);this.ciphers=f===&quot;encrypt&quot;?[o.create({type:&quot;encrypt&quot;,key:m}),o.create({type:&quot;decrypt&quot;,key:p}),o.create({type:&quot;encrypt&quot;,key:v})]:[o.create({type:&quot;decrypt&quot;,key:v}),o.create({type:&quot;encrypt&quot;,key:p}),o.create({type:&quot;decrypt&quot;,key:m})]}function c(f){u.call(this,f);var h=new s(this.type,this.options.key);this._edeState=h}a(c,u),n.exports=c,c.create=function(f){return new c(f)},c.prototype._update=function(f,h,m,p){var v=this._edeState;v.ciphers[0]._update(f,h,m,p),v.ciphers[1]._update(m,p,m,p),v.ciphers[2]._update(m,p,m,p)},c.prototype._pad=o.prototype._pad,c.prototype._unpad=o.prototype._unpad},{&quot;./cipher&quot;:396,&quot;./des&quot;:397,inherits:440,&quot;minimalistic-assert&quot;:453}],399:[function(t,n,l){l.readUInt32BE=function(o,s){return(o[0+s]&lt;&lt;24|o[1+s]&lt;&lt;16|o[2+s]&lt;&lt;8|o[3+s])&gt;&gt;&gt;0},l.writeUInt32BE=function(o,s,c){o[0+c]=s&gt;&gt;&gt;24,o[1+c]=s&gt;&gt;&gt;16&amp;255,o[2+c]=s&gt;&gt;&gt;8&amp;255,o[3+c]=255&amp;s},l.ip=function(o,s,c,f){for(var h=0,m=0,p=6;p&gt;=0;p-=2){for(var v=0;v&lt;=24;v+=8)h&lt;&lt;=1,h|=s&gt;&gt;&gt;v+p&amp;1;for(v=0;v&lt;=24;v+=8)h&lt;&lt;=1,h|=o&gt;&gt;&gt;v+p&amp;1}for(p=6;p&gt;=0;p-=2){for(v=1;v&lt;=25;v+=8)m&lt;&lt;=1,m|=s&gt;&gt;&gt;v+p&amp;1;for(v=1;v&lt;=25;v+=8)m&lt;&lt;=1,m|=o&gt;&gt;&gt;v+p&amp;1}c[f+0]=h&gt;&gt;&gt;0,c[f+1]=m&gt;&gt;&gt;0},l.rip=function(o,s,c,f){for(var h=0,m=0,p=0;p&lt;4;p++)for(var v=24;v&gt;=0;v-=8)h&lt;&lt;=1,h|=s&gt;&gt;&gt;v+p&amp;1,h&lt;&lt;=1,h|=o&gt;&gt;&gt;v+p&amp;1;for(p=4;p&lt;8;p++)for(v=24;v&gt;=0;v-=8)m&lt;&lt;=1,m|=s&gt;&gt;&gt;v+p&amp;1,m&lt;&lt;=1,m|=o&gt;&gt;&gt;v+p&amp;1;c[f+0]=h&gt;&gt;&gt;0,c[f+1]=m&gt;&gt;&gt;0},l.pc1=function(o,s,c,f){for(var h=0,m=0,p=7;p&gt;=5;p--){for(var v=0;v&lt;=24;v+=8)h&lt;&lt;=1,h|=s&gt;&gt;v+p&amp;1;for(v=0;v&lt;=24;v+=8)h&lt;&lt;=1,h|=o&gt;&gt;v+p&amp;1}for(v=0;v&lt;=24;v+=8)h&lt;&lt;=1,h|=s&gt;&gt;v+p&amp;1;for(p=1;p&lt;=3;p++){for(v=0;v&lt;=24;v+=8)m&lt;&lt;=1,m|=s&gt;&gt;v+p&amp;1;for(v=0;v&lt;=24;v+=8)m&lt;&lt;=1,m|=o&gt;&gt;v+p&amp;1}for(v=0;v&lt;=24;v+=8)m&lt;&lt;=1,m|=o&gt;&gt;v+p&amp;1;c[f+0]=h&gt;&gt;&gt;0,c[f+1]=m&gt;&gt;&gt;0},l.r28shl=function(o,s){return o&lt;&lt;s&amp;268435455|o&gt;&gt;&gt;28-s};var i=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];l.pc2=function(o,s,c,f){for(var h=0,m=0,p=i.length&gt;&gt;&gt;1,v=0;v&lt;p;v++)h&lt;&lt;=1,h|=o&gt;&gt;&gt;i[v]&amp;1;for(v=p;v&lt;i.length;v++)m&lt;&lt;=1,m|=s&gt;&gt;&gt;i[v]&amp;1;c[f+0]=h&gt;&gt;&gt;0,c[f+1]=m&gt;&gt;&gt;0},l.expand=function(o,s,c){var f=0,h=0;f=(1&amp;o)&lt;&lt;5|o&gt;&gt;&gt;27;for(var m=23;m&gt;=15;m-=4)f&lt;&lt;=6,f|=o&gt;&gt;&gt;m&amp;63;for(m=11;m&gt;=3;m-=4)h|=o&gt;&gt;&gt;m&amp;63,h&lt;&lt;=6;h|=(31&amp;o)&lt;&lt;1|o&gt;&gt;&gt;31,s[c+0]=f&gt;&gt;&gt;0,s[c+1]=h&gt;&gt;&gt;0};var a=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];l.substitute=function(o,s){for(var c=0,f=0;f&lt;4;f++)c&lt;&lt;=4,c|=a[64*f+(o&gt;&gt;&gt;18-6*f&amp;63)];for(f=0;f&lt;4;f++)c&lt;&lt;=4,c|=a[256+64*f+(s&gt;&gt;&gt;18-6*f&amp;63)];return c&gt;&gt;&gt;0};var u=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];l.permute=function(o){for(var s=0,c=0;c&lt;u.length;c++)s&lt;&lt;=1,s|=o&gt;&gt;&gt;u[c]&amp;1;return s&gt;&gt;&gt;0},l.padSplit=function(o,s,c){for(var f=o.toString(2);f.length&lt;s;)f=&quot;0&quot;+f;for(var h=[],m=0;m&lt;s;m+=c)h.push(f.slice(m,m+c));return h.join(&quot; &quot;)}},{}],400:[function(t,n,l){(function(i){(function(){var a=t(&quot;./lib/generatePrime&quot;),u=t(&quot;./lib/primes.json&quot;),o=t(&quot;./lib/dh&quot;),s={binary:!0,hex:!0,base64:!0};l.DiffieHellmanGroup=l.createDiffieHellmanGroup=l.getDiffieHellman=function(c){var f=new i(u[c].prime,&quot;hex&quot;),h=new i(u[c].gen,&quot;hex&quot;);return new o(f,h)},l.createDiffieHellman=l.DiffieHellman=function c(f,h,m,p){return i.isBuffer(h)||s[h]===void 0?c(f,&quot;binary&quot;,h,m):(h=h||&quot;binary&quot;,p=p||&quot;binary&quot;,m=m||new i([2]),i.isBuffer(m)||(m=new i(m,p)),typeof f==&quot;number&quot;?new o(a(f,m),m,!0):(i.isBuffer(f)||(f=new i(f,h)),new o(f,m,!0)))}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;./lib/dh&quot;:401,&quot;./lib/generatePrime&quot;:402,&quot;./lib/primes.json&quot;:403,buffer:220}],401:[function(t,n,l){(function(i){(function(){var a=t(&quot;bn.js&quot;),u=new(t(&quot;miller-rabin&quot;)),o=new a(24),s=new a(11),c=new a(10),f=new a(3),h=new a(7),m=t(&quot;./generatePrime&quot;),p=t(&quot;randombytes&quot;);function v(C,O){return O=O||&quot;utf8&quot;,i.isBuffer(C)||(C=new i(C,O)),this._pub=new a(C),this}function g(C,O){return O=O||&quot;utf8&quot;,i.isBuffer(C)||(C=new i(C,O)),this._priv=new a(C),this}n.exports=x;var b={};function x(C,O,R){this.setGenerator(O),this.__prime=new a(C),this._prime=a.mont(this.__prime),this._primeLen=C.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,R?(this.setPublicKey=v,this.setPrivateKey=g):this._primeCode=8}function _(C,O){var R=new i(C.toArray());return O?R.toString(O):R}Object.defineProperty(x.prototype,&quot;verifyError&quot;,{enumerable:!0,get:function(){return typeof this._primeCode!=&quot;number&quot;&amp;&amp;(this._primeCode=(function(C,O){var R=O.toString(&quot;hex&quot;),H=[R,C.toString(16)].join(&quot;_&quot;);if(H in b)return b[H];var L,q=0;if(C.isEven()||!m.simpleSieve||!m.fermatTest(C)||!u.test(C))return q+=1,q+=R===&quot;02&quot;||R===&quot;05&quot;?8:4,b[H]=q,q;switch(u.test(C.shrn(1))||(q+=2),R){case&quot;02&quot;:C.mod(o).cmp(s)&amp;&amp;(q+=8);break;case&quot;05&quot;:(L=C.mod(c)).cmp(f)&amp;&amp;L.cmp(h)&amp;&amp;(q+=8);break;default:q+=4}return b[H]=q,q})(this.__prime,this.__gen)),this._primeCode}}),x.prototype.generateKeys=function(){return this._priv||(this._priv=new a(p(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},x.prototype.computeSecret=function(C){var O=(C=(C=new a(C)).toRed(this._prime)).redPow(this._priv).fromRed(),R=new i(O.toArray()),H=this.getPrime();if(R.length&lt;H.length){var L=new i(H.length-R.length);L.fill(0),R=i.concat([L,R])}return R},x.prototype.getPublicKey=function(C){return _(this._pub,C)},x.prototype.getPrivateKey=function(C){return _(this._priv,C)},x.prototype.getPrime=function(C){return _(this.__prime,C)},x.prototype.getGenerator=function(C){return _(this._gen,C)},x.prototype.setGenerator=function(C,O){return O=O||&quot;utf8&quot;,i.isBuffer(C)||(C=new i(C,O)),this.__gen=C,this._gen=new a(C),this}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;./generatePrime&quot;:402,&quot;bn.js&quot;:404,buffer:220,&quot;miller-rabin&quot;:451,randombytes:475}],402:[function(t,n,l){var i=t(&quot;randombytes&quot;);n.exports=C,C.simpleSieve=x,C.fermatTest=_;var a=t(&quot;bn.js&quot;),u=new a(24),o=new(t(&quot;miller-rabin&quot;)),s=new a(1),c=new a(2),f=new a(5),h=(new a(16),new a(8),new a(10)),m=new a(3),p=(new a(7),new a(11)),v=new a(4),g=(new a(12),null);function b(){if(g!==null)return g;var O=[];O[0]=2;for(var R=1,H=3;H&lt;1048576;H+=2){for(var L=Math.ceil(Math.sqrt(H)),q=0;q&lt;R&amp;&amp;O[q]&lt;=L&amp;&amp;H%O[q]!=0;q++);R!==q&amp;&amp;O[q]&lt;=L||(O[R++]=H)}return g=O,O}function x(O){for(var R=b(),H=0;H&lt;R.length;H++)if(O.modn(R[H])===0)return O.cmpn(R[H])===0;return!0}function _(O){var R=a.mont(O);return c.toRed(R).redPow(O.subn(1)).fromRed().cmpn(1)===0}function C(O,R){if(O&lt;16)return new a(R===2||R===5?[140,123]:[140,39]);var H,L;for(R=new a(R);;){for(H=new a(i(Math.ceil(O/8)));H.bitLength()&gt;O;)H.ishrn(1);if(H.isEven()&amp;&amp;H.iadd(s),H.testn(1)||H.iadd(c),R.cmp(c)){if(!R.cmp(f))for(;H.mod(h).cmp(m);)H.iadd(v)}else for(;H.mod(u).cmp(p);)H.iadd(v);if(x(L=H.shrn(1))&amp;&amp;x(H)&amp;&amp;_(L)&amp;&amp;_(H)&amp;&amp;o.test(L)&amp;&amp;o.test(H))return H}}},{&quot;bn.js&quot;:404,&quot;miller-rabin&quot;:451,randombytes:475}],403:[function(t,n,l){n.exports={modp1:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff&quot;},modp2:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff&quot;},modp5:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff&quot;},modp14:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff&quot;},modp15:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff&quot;},modp16:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff&quot;},modp17:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff&quot;},modp18:{gen:&quot;02&quot;,prime:&quot;ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff&quot;}}},{}],404:[function(t,n,l){arguments[4][184][0].apply(l,arguments)},{buffer:188,dup:184}],405:[function(t,n,l){var i=l;i.version=t(&quot;../package.json&quot;).version,i.utils=t(&quot;./elliptic/utils&quot;),i.rand=t(&quot;brorand&quot;),i.curve=t(&quot;./elliptic/curve&quot;),i.curves=t(&quot;./elliptic/curves&quot;),i.ec=t(&quot;./elliptic/ec&quot;),i.eddsa=t(&quot;./elliptic/eddsa&quot;)},{&quot;../package.json&quot;:421,&quot;./elliptic/curve&quot;:408,&quot;./elliptic/curves&quot;:411,&quot;./elliptic/ec&quot;:412,&quot;./elliptic/eddsa&quot;:415,&quot;./elliptic/utils&quot;:419,brorand:187}],406:[function(t,n,l){var i=t(&quot;bn.js&quot;),a=t(&quot;../utils&quot;),u=a.getNAF,o=a.getJSF,s=a.assert;function c(h,m){this.type=h,this.p=new i(m.p,16),this.red=m.prime?i.red(m.prime):i.mont(this.p),this.zero=new i(0).toRed(this.red),this.one=new i(1).toRed(this.red),this.two=new i(2).toRed(this.red),this.n=m.n&amp;&amp;new i(m.n,16),this.g=m.g&amp;&amp;this.pointFromJSON(m.g,m.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var p=this.n&amp;&amp;this.p.div(this.n);!p||p.cmpn(100)&gt;0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function f(h,m){this.curve=h,this.type=m,this.precomputed=null}n.exports=c,c.prototype.point=function(){throw new Error(&quot;Not implemented&quot;)},c.prototype.validate=function(){throw new Error(&quot;Not implemented&quot;)},c.prototype._fixedNafMul=function(h,m){s(h.precomputed);var p=h._getDoubles(),v=u(m,1,this._bitLength),g=(1&lt;&lt;p.step+1)-(p.step%2==0?2:1);g/=3;var b,x,_=[];for(b=0;b&lt;v.length;b+=p.step){x=0;for(var C=b+p.step-1;C&gt;=b;C--)x=(x&lt;&lt;1)+v[C];_.push(x)}for(var O=this.jpoint(null,null,null),R=this.jpoint(null,null,null),H=g;H&gt;0;H--){for(b=0;b&lt;_.length;b++)(x=_[b])===H?R=R.mixedAdd(p.points[b]):x===-H&amp;&amp;(R=R.mixedAdd(p.points[b].neg()));O=O.add(R)}return O.toP()},c.prototype._wnafMul=function(h,m){var p=4,v=h._getNAFPoints(p);p=v.wnd;for(var g=v.points,b=u(m,p,this._bitLength),x=this.jpoint(null,null,null),_=b.length-1;_&gt;=0;_--){for(var C=0;_&gt;=0&amp;&amp;b[_]===0;_--)C++;if(_&gt;=0&amp;&amp;C++,x=x.dblp(C),_&lt;0)break;var O=b[_];s(O!==0),x=h.type===&quot;affine&quot;?O&gt;0?x.mixedAdd(g[O-1&gt;&gt;1]):x.mixedAdd(g[-O-1&gt;&gt;1].neg()):O&gt;0?x.add(g[O-1&gt;&gt;1]):x.add(g[-O-1&gt;&gt;1].neg())}return h.type===&quot;affine&quot;?x.toP():x},c.prototype._wnafMulAdd=function(h,m,p,v,g){var b,x,_,C=this._wnafT1,O=this._wnafT2,R=this._wnafT3,H=0;for(b=0;b&lt;v;b++){var L=(_=m[b])._getNAFPoints(h);C[b]=L.wnd,O[b]=L.points}for(b=v-1;b&gt;=1;b-=2){var q=b-1,W=b;if(C[q]===1&amp;&amp;C[W]===1){var K=[m[q],null,null,m[W]];m[q].y.cmp(m[W].y)===0?(K[1]=m[q].add(m[W]),K[2]=m[q].toJ().mixedAdd(m[W].neg())):m[q].y.cmp(m[W].y.redNeg())===0?(K[1]=m[q].toJ().mixedAdd(m[W]),K[2]=m[q].add(m[W].neg())):(K[1]=m[q].toJ().mixedAdd(m[W]),K[2]=m[q].toJ().mixedAdd(m[W].neg()));var U=[-3,-1,-5,-7,0,7,5,1,3],P=o(p[q],p[W]);for(H=Math.max(P[0].length,H),R[q]=new Array(H),R[W]=new Array(H),x=0;x&lt;H;x++){var D=0|P[0][x],E=0|P[1][x];R[q][x]=U[3*(D+1)+(E+1)],R[W][x]=0,O[q]=K}}else R[q]=u(p[q],C[q],this._bitLength),R[W]=u(p[W],C[W],this._bitLength),H=Math.max(R[q].length,H),H=Math.max(R[W].length,H)}var j=this.jpoint(null,null,null),k=this._wnafT4;for(b=H;b&gt;=0;b--){for(var S=0;b&gt;=0;){var N=!0;for(x=0;x&lt;v;x++)k[x]=0|R[x][b],k[x]!==0&amp;&amp;(N=!1);if(!N)break;S++,b--}if(b&gt;=0&amp;&amp;S++,j=j.dblp(S),b&lt;0)break;for(x=0;x&lt;v;x++){var M=k[x];M!==0&amp;&amp;(M&gt;0?_=O[x][M-1&gt;&gt;1]:M&lt;0&amp;&amp;(_=O[x][-M-1&gt;&gt;1].neg()),j=_.type===&quot;affine&quot;?j.mixedAdd(_):j.add(_))}}for(b=0;b&lt;v;b++)O[b]=null;return g?j:j.toP()},c.BasePoint=f,f.prototype.eq=function(){throw new Error(&quot;Not implemented&quot;)},f.prototype.validate=function(){return this.curve.validate(this)},c.prototype.decodePoint=function(h,m){h=a.toArray(h,m);var p=this.p.byteLength();if((h[0]===4||h[0]===6||h[0]===7)&amp;&amp;h.length-1==2*p)return h[0]===6?s(h[h.length-1]%2==0):h[0]===7&amp;&amp;s(h[h.length-1]%2==1),this.point(h.slice(1,1+p),h.slice(1+p,1+2*p));if((h[0]===2||h[0]===3)&amp;&amp;h.length-1===p)return this.pointFromX(h.slice(1,1+p),h[0]===3);throw new Error(&quot;Unknown point format&quot;)},f.prototype.encodeCompressed=function(h){return this.encode(h,!0)},f.prototype._encode=function(h){var m=this.curve.p.byteLength(),p=this.getX().toArray(&quot;be&quot;,m);return h?[this.getY().isEven()?2:3].concat(p):[4].concat(p,this.getY().toArray(&quot;be&quot;,m))},f.prototype.encode=function(h,m){return a.encode(this._encode(m),h)},f.prototype.precompute=function(h){if(this.precomputed)return this;var m={doubles:null,naf:null,beta:null};return m.naf=this._getNAFPoints(8),m.doubles=this._getDoubles(4,h),m.beta=this._getBeta(),this.precomputed=m,this},f.prototype._hasDoubles=function(h){if(!this.precomputed)return!1;var m=this.precomputed.doubles;return!!m&amp;&amp;m.points.length&gt;=Math.ceil((h.bitLength()+1)/m.step)},f.prototype._getDoubles=function(h,m){if(this.precomputed&amp;&amp;this.precomputed.doubles)return this.precomputed.doubles;for(var p=[this],v=this,g=0;g&lt;m;g+=h){for(var b=0;b&lt;h;b++)v=v.dbl();p.push(v)}return{step:h,points:p}},f.prototype._getNAFPoints=function(h){if(this.precomputed&amp;&amp;this.precomputed.naf)return this.precomputed.naf;for(var m=[this],p=(1&lt;&lt;h)-1,v=p===1?null:this.dbl(),g=1;g&lt;p;g++)m[g]=m[g-1].add(v);return{wnd:h,points:m}},f.prototype._getBeta=function(){return null},f.prototype.dblp=function(h){for(var m=this,p=0;p&lt;h;p++)m=m.dbl();return m}},{&quot;../utils&quot;:419,&quot;bn.js&quot;:420}],407:[function(t,n,l){var i=t(&quot;../utils&quot;),a=t(&quot;bn.js&quot;),u=t(&quot;inherits&quot;),o=t(&quot;./base&quot;),s=i.assert;function c(h){this.twisted=(0|h.a)!=1,this.mOneA=this.twisted&amp;&amp;(0|h.a)==-1,this.extended=this.mOneA,o.call(this,&quot;edwards&quot;,h),this.a=new a(h.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new a(h.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new a(h.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(0|h.c)==1}function f(h,m,p,v,g){o.BasePoint.call(this,h,&quot;projective&quot;),m===null&amp;&amp;p===null&amp;&amp;v===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new a(m,16),this.y=new a(p,16),this.z=v?new a(v,16):this.curve.one,this.t=g&amp;&amp;new a(g,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&amp;&amp;!this.t.red&amp;&amp;(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&amp;&amp;!this.t&amp;&amp;(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}u(c,o),n.exports=c,c.prototype._mulA=function(h){return this.mOneA?h.redNeg():this.a.redMul(h)},c.prototype._mulC=function(h){return this.oneC?h:this.c.redMul(h)},c.prototype.jpoint=function(h,m,p,v){return this.point(h,m,p,v)},c.prototype.pointFromX=function(h,m){(h=new a(h,16)).red||(h=h.toRed(this.red));var p=h.redSqr(),v=this.c2.redSub(this.a.redMul(p)),g=this.one.redSub(this.c2.redMul(this.d).redMul(p)),b=v.redMul(g.redInvm()),x=b.redSqrt();if(x.redSqr().redSub(b).cmp(this.zero)!==0)throw new Error(&quot;invalid point&quot;);var _=x.fromRed().isOdd();return(m&amp;&amp;!_||!m&amp;&amp;_)&amp;&amp;(x=x.redNeg()),this.point(h,x)},c.prototype.pointFromY=function(h,m){(h=new a(h,16)).red||(h=h.toRed(this.red));var p=h.redSqr(),v=p.redSub(this.c2),g=p.redMul(this.d).redMul(this.c2).redSub(this.a),b=v.redMul(g.redInvm());if(b.cmp(this.zero)===0){if(m)throw new Error(&quot;invalid point&quot;);return this.point(this.zero,h)}var x=b.redSqrt();if(x.redSqr().redSub(b).cmp(this.zero)!==0)throw new Error(&quot;invalid point&quot;);return x.fromRed().isOdd()!==m&amp;&amp;(x=x.redNeg()),this.point(x,h)},c.prototype.validate=function(h){if(h.isInfinity())return!0;h.normalize();var m=h.x.redSqr(),p=h.y.redSqr(),v=m.redMul(this.a).redAdd(p),g=this.c2.redMul(this.one.redAdd(this.d.redMul(m).redMul(p)));return v.cmp(g)===0},u(f,o.BasePoint),c.prototype.pointFromJSON=function(h){return f.fromJSON(this,h)},c.prototype.point=function(h,m,p,v){return new f(this,h,m,p,v)},f.fromJSON=function(h,m){return new f(h,m[0],m[1],m[2])},f.prototype.inspect=function(){return this.isInfinity()?&quot;&lt;EC Point Infinity&gt;&quot;:&quot;&lt;EC Point x: &quot;+this.x.fromRed().toString(16,2)+&quot; y: &quot;+this.y.fromRed().toString(16,2)+&quot; z: &quot;+this.z.fromRed().toString(16,2)+&quot;&gt;&quot;},f.prototype.isInfinity=function(){return this.x.cmpn(0)===0&amp;&amp;(this.y.cmp(this.z)===0||this.zOne&amp;&amp;this.y.cmp(this.curve.c)===0)},f.prototype._extDbl=function(){var h=this.x.redSqr(),m=this.y.redSqr(),p=this.z.redSqr();p=p.redIAdd(p);var v=this.curve._mulA(h),g=this.x.redAdd(this.y).redSqr().redISub(h).redISub(m),b=v.redAdd(m),x=b.redSub(p),_=v.redSub(m),C=g.redMul(x),O=b.redMul(_),R=g.redMul(_),H=x.redMul(b);return this.curve.point(C,O,H,R)},f.prototype._projDbl=function(){var h,m,p,v,g,b,x=this.x.redAdd(this.y).redSqr(),_=this.x.redSqr(),C=this.y.redSqr();if(this.curve.twisted){var O=(v=this.curve._mulA(_)).redAdd(C);this.zOne?(h=x.redSub(_).redSub(C).redMul(O.redSub(this.curve.two)),m=O.redMul(v.redSub(C)),p=O.redSqr().redSub(O).redSub(O)):(g=this.z.redSqr(),b=O.redSub(g).redISub(g),h=x.redSub(_).redISub(C).redMul(b),m=O.redMul(v.redSub(C)),p=O.redMul(b))}else v=_.redAdd(C),g=this.curve._mulC(this.z).redSqr(),b=v.redSub(g).redSub(g),h=this.curve._mulC(x.redISub(v)).redMul(b),m=this.curve._mulC(v).redMul(_.redISub(C)),p=v.redMul(b);return this.curve.point(h,m,p)},f.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},f.prototype._extAdd=function(h){var m=this.y.redSub(this.x).redMul(h.y.redSub(h.x)),p=this.y.redAdd(this.x).redMul(h.y.redAdd(h.x)),v=this.t.redMul(this.curve.dd).redMul(h.t),g=this.z.redMul(h.z.redAdd(h.z)),b=p.redSub(m),x=g.redSub(v),_=g.redAdd(v),C=p.redAdd(m),O=b.redMul(x),R=_.redMul(C),H=b.redMul(C),L=x.redMul(_);return this.curve.point(O,R,L,H)},f.prototype._projAdd=function(h){var m,p,v=this.z.redMul(h.z),g=v.redSqr(),b=this.x.redMul(h.x),x=this.y.redMul(h.y),_=this.curve.d.redMul(b).redMul(x),C=g.redSub(_),O=g.redAdd(_),R=this.x.redAdd(this.y).redMul(h.x.redAdd(h.y)).redISub(b).redISub(x),H=v.redMul(C).redMul(R);return this.curve.twisted?(m=v.redMul(O).redMul(x.redSub(this.curve._mulA(b))),p=C.redMul(O)):(m=v.redMul(O).redMul(x.redSub(b)),p=this.curve._mulC(C).redMul(O)),this.curve.point(H,m,p)},f.prototype.add=function(h){return this.isInfinity()?h:h.isInfinity()?this:this.curve.extended?this._extAdd(h):this._projAdd(h)},f.prototype.mul=function(h){return this._hasDoubles(h)?this.curve._fixedNafMul(this,h):this.curve._wnafMul(this,h)},f.prototype.mulAdd=function(h,m,p){return this.curve._wnafMulAdd(1,[this,m],[h,p],2,!1)},f.prototype.jmulAdd=function(h,m,p){return this.curve._wnafMulAdd(1,[this,m],[h,p],2,!0)},f.prototype.normalize=function(){if(this.zOne)return this;var h=this.z.redInvm();return this.x=this.x.redMul(h),this.y=this.y.redMul(h),this.t&amp;&amp;(this.t=this.t.redMul(h)),this.z=this.curve.one,this.zOne=!0,this},f.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&amp;&amp;this.t.redNeg())},f.prototype.getX=function(){return this.normalize(),this.x.fromRed()},f.prototype.getY=function(){return this.normalize(),this.y.fromRed()},f.prototype.eq=function(h){return this===h||this.getX().cmp(h.getX())===0&amp;&amp;this.getY().cmp(h.getY())===0},f.prototype.eqXToP=function(h){var m=h.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(m)===0)return!0;for(var p=h.clone(),v=this.curve.redN.redMul(this.z);;){if(p.iadd(this.curve.n),p.cmp(this.curve.p)&gt;=0)return!1;if(m.redIAdd(v),this.x.cmp(m)===0)return!0}},f.prototype.toP=f.prototype.normalize,f.prototype.mixedAdd=f.prototype.add},{&quot;../utils&quot;:419,&quot;./base&quot;:406,&quot;bn.js&quot;:420,inherits:440}],408:[function(t,n,l){var i=l;i.base=t(&quot;./base&quot;),i.short=t(&quot;./short&quot;),i.mont=t(&quot;./mont&quot;),i.edwards=t(&quot;./edwards&quot;)},{&quot;./base&quot;:406,&quot;./edwards&quot;:407,&quot;./mont&quot;:409,&quot;./short&quot;:410}],409:[function(t,n,l){var i=t(&quot;bn.js&quot;),a=t(&quot;inherits&quot;),u=t(&quot;./base&quot;),o=t(&quot;../utils&quot;);function s(f){u.call(this,&quot;mont&quot;,f),this.a=new i(f.a,16).toRed(this.red),this.b=new i(f.b,16).toRed(this.red),this.i4=new i(4).toRed(this.red).redInvm(),this.two=new i(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(f,h,m){u.BasePoint.call(this,f,&quot;projective&quot;),h===null&amp;&amp;m===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new i(h,16),this.z=new i(m,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}a(s,u),n.exports=s,s.prototype.validate=function(f){var h=f.normalize().x,m=h.redSqr(),p=m.redMul(h).redAdd(m.redMul(this.a)).redAdd(h);return p.redSqrt().redSqr().cmp(p)===0},a(c,u.BasePoint),s.prototype.decodePoint=function(f,h){return this.point(o.toArray(f,h),1)},s.prototype.point=function(f,h){return new c(this,f,h)},s.prototype.pointFromJSON=function(f){return c.fromJSON(this,f)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray(&quot;be&quot;,this.curve.p.byteLength())},c.fromJSON=function(f,h){return new c(f,h[0],h[1]||f.one)},c.prototype.inspect=function(){return this.isInfinity()?&quot;&lt;EC Point Infinity&gt;&quot;:&quot;&lt;EC Point x: &quot;+this.x.fromRed().toString(16,2)+&quot; z: &quot;+this.z.fromRed().toString(16,2)+&quot;&gt;&quot;},c.prototype.isInfinity=function(){return this.z.cmpn(0)===0},c.prototype.dbl=function(){var f=this.x.redAdd(this.z).redSqr(),h=this.x.redSub(this.z).redSqr(),m=f.redSub(h),p=f.redMul(h),v=m.redMul(h.redAdd(this.curve.a24.redMul(m)));return this.curve.point(p,v)},c.prototype.add=function(){throw new Error(&quot;Not supported on Montgomery curve&quot;)},c.prototype.diffAdd=function(f,h){var m=this.x.redAdd(this.z),p=this.x.redSub(this.z),v=f.x.redAdd(f.z),g=f.x.redSub(f.z).redMul(m),b=v.redMul(p),x=h.z.redMul(g.redAdd(b).redSqr()),_=h.x.redMul(g.redISub(b).redSqr());return this.curve.point(x,_)},c.prototype.mul=function(f){for(var h=f.clone(),m=this,p=this.curve.point(null,null),v=[];h.cmpn(0)!==0;h.iushrn(1))v.push(h.andln(1));for(var g=v.length-1;g&gt;=0;g--)v[g]===0?(m=m.diffAdd(p,this),p=p.dbl()):(p=m.diffAdd(p,this),m=m.dbl());return p},c.prototype.mulAdd=function(){throw new Error(&quot;Not supported on Montgomery curve&quot;)},c.prototype.jumlAdd=function(){throw new Error(&quot;Not supported on Montgomery curve&quot;)},c.prototype.eq=function(f){return this.getX().cmp(f.getX())===0},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{&quot;../utils&quot;:419,&quot;./base&quot;:406,&quot;bn.js&quot;:420,inherits:440}],410:[function(t,n,l){var i=t(&quot;../utils&quot;),a=t(&quot;bn.js&quot;),u=t(&quot;inherits&quot;),o=t(&quot;./base&quot;),s=i.assert;function c(m){o.call(this,&quot;short&quot;,m),this.a=new a(m.a,16).toRed(this.red),this.b=new a(m.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(m),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function f(m,p,v,g){o.BasePoint.call(this,m,&quot;affine&quot;),p===null&amp;&amp;v===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new a(p,16),this.y=new a(v,16),g&amp;&amp;(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function h(m,p,v,g){o.BasePoint.call(this,m,&quot;jacobian&quot;),p===null&amp;&amp;v===null&amp;&amp;g===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new a(0)):(this.x=new a(p,16),this.y=new a(v,16),this.z=new a(g,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}u(c,o),n.exports=c,c.prototype._getEndomorphism=function(m){if(this.zeroA&amp;&amp;this.g&amp;&amp;this.n&amp;&amp;this.p.modn(3)===1){var p,v;if(m.beta)p=new a(m.beta,16).toRed(this.red);else{var g=this._getEndoRoots(this.p);p=(p=g[0].cmp(g[1])&lt;0?g[0]:g[1]).toRed(this.red)}if(m.lambda)v=new a(m.lambda,16);else{var b=this._getEndoRoots(this.n);this.g.mul(b[0]).x.cmp(this.g.x.redMul(p))===0?v=b[0]:(v=b[1],s(this.g.mul(v).x.cmp(this.g.x.redMul(p))===0))}return{beta:p,lambda:v,basis:m.basis?m.basis.map((function(x){return{a:new a(x.a,16),b:new a(x.b,16)}})):this._getEndoBasis(v)}}},c.prototype._getEndoRoots=function(m){var p=m===this.p?this.red:a.mont(m),v=new a(2).toRed(p).redInvm(),g=v.redNeg(),b=new a(3).toRed(p).redNeg().redSqrt().redMul(v);return[g.redAdd(b).fromRed(),g.redSub(b).fromRed()]},c.prototype._getEndoBasis=function(m){for(var p,v,g,b,x,_,C,O,R,H=this.n.ushrn(Math.floor(this.n.bitLength()/2)),L=m,q=this.n.clone(),W=new a(1),K=new a(0),U=new a(0),P=new a(1),D=0;L.cmpn(0)!==0;){var E=q.div(L);O=q.sub(E.mul(L)),R=U.sub(E.mul(W));var j=P.sub(E.mul(K));if(!g&amp;&amp;O.cmp(H)&lt;0)p=C.neg(),v=W,g=O.neg(),b=R;else if(g&amp;&amp;++D==2)break;C=O,q=L,L=O,U=W,W=R,P=K,K=j}x=O.neg(),_=R;var k=g.sqr().add(b.sqr());return x.sqr().add(_.sqr()).cmp(k)&gt;=0&amp;&amp;(x=p,_=v),g.negative&amp;&amp;(g=g.neg(),b=b.neg()),x.negative&amp;&amp;(x=x.neg(),_=_.neg()),[{a:g,b},{a:x,b:_}]},c.prototype._endoSplit=function(m){var p=this.endo.basis,v=p[0],g=p[1],b=g.b.mul(m).divRound(this.n),x=v.b.neg().mul(m).divRound(this.n),_=b.mul(v.a),C=x.mul(g.a),O=b.mul(v.b),R=x.mul(g.b);return{k1:m.sub(_).sub(C),k2:O.add(R).neg()}},c.prototype.pointFromX=function(m,p){(m=new a(m,16)).red||(m=m.toRed(this.red));var v=m.redSqr().redMul(m).redIAdd(m.redMul(this.a)).redIAdd(this.b),g=v.redSqrt();if(g.redSqr().redSub(v).cmp(this.zero)!==0)throw new Error(&quot;invalid point&quot;);var b=g.fromRed().isOdd();return(p&amp;&amp;!b||!p&amp;&amp;b)&amp;&amp;(g=g.redNeg()),this.point(m,g)},c.prototype.validate=function(m){if(m.inf)return!0;var p=m.x,v=m.y,g=this.a.redMul(p),b=p.redSqr().redMul(p).redIAdd(g).redIAdd(this.b);return v.redSqr().redISub(b).cmpn(0)===0},c.prototype._endoWnafMulAdd=function(m,p,v){for(var g=this._endoWnafT1,b=this._endoWnafT2,x=0;x&lt;m.length;x++){var _=this._endoSplit(p[x]),C=m[x],O=C._getBeta();_.k1.negative&amp;&amp;(_.k1.ineg(),C=C.neg(!0)),_.k2.negative&amp;&amp;(_.k2.ineg(),O=O.neg(!0)),g[2*x]=C,g[2*x+1]=O,b[2*x]=_.k1,b[2*x+1]=_.k2}for(var R=this._wnafMulAdd(1,g,b,2*x,v),H=0;H&lt;2*x;H++)g[H]=null,b[H]=null;return R},u(f,o.BasePoint),c.prototype.point=function(m,p,v){return new f(this,m,p,v)},c.prototype.pointFromJSON=function(m,p){return f.fromJSON(this,m,p)},f.prototype._getBeta=function(){if(this.curve.endo){var m=this.precomputed;if(m&amp;&amp;m.beta)return m.beta;var p=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(m){var v=this.curve,g=function(b){return v.point(b.x.redMul(v.endo.beta),b.y)};m.beta=p,p.precomputed={beta:null,naf:m.naf&amp;&amp;{wnd:m.naf.wnd,points:m.naf.points.map(g)},doubles:m.doubles&amp;&amp;{step:m.doubles.step,points:m.doubles.points.map(g)}}}return p}},f.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&amp;&amp;{doubles:this.precomputed.doubles&amp;&amp;{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&amp;&amp;{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},f.fromJSON=function(m,p,v){typeof p==&quot;string&quot;&amp;&amp;(p=JSON.parse(p));var g=m.point(p[0],p[1],v);if(!p[2])return g;function b(_){return m.point(_[0],_[1],v)}var x=p[2];return g.precomputed={beta:null,doubles:x.doubles&amp;&amp;{step:x.doubles.step,points:[g].concat(x.doubles.points.map(b))},naf:x.naf&amp;&amp;{wnd:x.naf.wnd,points:[g].concat(x.naf.points.map(b))}},g},f.prototype.inspect=function(){return this.isInfinity()?&quot;&lt;EC Point Infinity&gt;&quot;:&quot;&lt;EC Point x: &quot;+this.x.fromRed().toString(16,2)+&quot; y: &quot;+this.y.fromRed().toString(16,2)+&quot;&gt;&quot;},f.prototype.isInfinity=function(){return this.inf},f.prototype.add=function(m){if(this.inf)return m;if(m.inf)return this;if(this.eq(m))return this.dbl();if(this.neg().eq(m))return this.curve.point(null,null);if(this.x.cmp(m.x)===0)return this.curve.point(null,null);var p=this.y.redSub(m.y);p.cmpn(0)!==0&amp;&amp;(p=p.redMul(this.x.redSub(m.x).redInvm()));var v=p.redSqr().redISub(this.x).redISub(m.x),g=p.redMul(this.x.redSub(v)).redISub(this.y);return this.curve.point(v,g)},f.prototype.dbl=function(){if(this.inf)return this;var m=this.y.redAdd(this.y);if(m.cmpn(0)===0)return this.curve.point(null,null);var p=this.curve.a,v=this.x.redSqr(),g=m.redInvm(),b=v.redAdd(v).redIAdd(v).redIAdd(p).redMul(g),x=b.redSqr().redISub(this.x.redAdd(this.x)),_=b.redMul(this.x.redSub(x)).redISub(this.y);return this.curve.point(x,_)},f.prototype.getX=function(){return this.x.fromRed()},f.prototype.getY=function(){return this.y.fromRed()},f.prototype.mul=function(m){return m=new a(m,16),this.isInfinity()?this:this._hasDoubles(m)?this.curve._fixedNafMul(this,m):this.curve.endo?this.curve._endoWnafMulAdd([this],[m]):this.curve._wnafMul(this,m)},f.prototype.mulAdd=function(m,p,v){var g=[this,p],b=[m,v];return this.curve.endo?this.curve._endoWnafMulAdd(g,b):this.curve._wnafMulAdd(1,g,b,2)},f.prototype.jmulAdd=function(m,p,v){var g=[this,p],b=[m,v];return this.curve.endo?this.curve._endoWnafMulAdd(g,b,!0):this.curve._wnafMulAdd(1,g,b,2,!0)},f.prototype.eq=function(m){return this===m||this.inf===m.inf&amp;&amp;(this.inf||this.x.cmp(m.x)===0&amp;&amp;this.y.cmp(m.y)===0)},f.prototype.neg=function(m){if(this.inf)return this;var p=this.curve.point(this.x,this.y.redNeg());if(m&amp;&amp;this.precomputed){var v=this.precomputed,g=function(b){return b.neg()};p.precomputed={naf:v.naf&amp;&amp;{wnd:v.naf.wnd,points:v.naf.points.map(g)},doubles:v.doubles&amp;&amp;{step:v.doubles.step,points:v.doubles.points.map(g)}}}return p},f.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},u(h,o.BasePoint),c.prototype.jpoint=function(m,p,v){return new h(this,m,p,v)},h.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var m=this.z.redInvm(),p=m.redSqr(),v=this.x.redMul(p),g=this.y.redMul(p).redMul(m);return this.curve.point(v,g)},h.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},h.prototype.add=function(m){if(this.isInfinity())return m;if(m.isInfinity())return this;var p=m.z.redSqr(),v=this.z.redSqr(),g=this.x.redMul(p),b=m.x.redMul(v),x=this.y.redMul(p.redMul(m.z)),_=m.y.redMul(v.redMul(this.z)),C=g.redSub(b),O=x.redSub(_);if(C.cmpn(0)===0)return O.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var R=C.redSqr(),H=R.redMul(C),L=g.redMul(R),q=O.redSqr().redIAdd(H).redISub(L).redISub(L),W=O.redMul(L.redISub(q)).redISub(x.redMul(H)),K=this.z.redMul(m.z).redMul(C);return this.curve.jpoint(q,W,K)},h.prototype.mixedAdd=function(m){if(this.isInfinity())return m.toJ();if(m.isInfinity())return this;var p=this.z.redSqr(),v=this.x,g=m.x.redMul(p),b=this.y,x=m.y.redMul(p).redMul(this.z),_=v.redSub(g),C=b.redSub(x);if(_.cmpn(0)===0)return C.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var O=_.redSqr(),R=O.redMul(_),H=v.redMul(O),L=C.redSqr().redIAdd(R).redISub(H).redISub(H),q=C.redMul(H.redISub(L)).redISub(b.redMul(R)),W=this.z.redMul(_);return this.curve.jpoint(L,q,W)},h.prototype.dblp=function(m){if(m===0)return this;if(this.isInfinity())return this;if(!m)return this.dbl();var p;if(this.curve.zeroA||this.curve.threeA){var v=this;for(p=0;p&lt;m;p++)v=v.dbl();return v}var g=this.curve.a,b=this.curve.tinv,x=this.x,_=this.y,C=this.z,O=C.redSqr().redSqr(),R=_.redAdd(_);for(p=0;p&lt;m;p++){var H=x.redSqr(),L=R.redSqr(),q=L.redSqr(),W=H.redAdd(H).redIAdd(H).redIAdd(g.redMul(O)),K=x.redMul(L),U=W.redSqr().redISub(K.redAdd(K)),P=K.redISub(U),D=W.redMul(P);D=D.redIAdd(D).redISub(q);var E=R.redMul(C);p+1&lt;m&amp;&amp;(O=O.redMul(q)),x=U,C=E,R=D}return this.curve.jpoint(x,R.redMul(b),C)},h.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},h.prototype._zeroDbl=function(){var m,p,v;if(this.zOne){var g=this.x.redSqr(),b=this.y.redSqr(),x=b.redSqr(),_=this.x.redAdd(b).redSqr().redISub(g).redISub(x);_=_.redIAdd(_);var C=g.redAdd(g).redIAdd(g),O=C.redSqr().redISub(_).redISub(_),R=x.redIAdd(x);R=(R=R.redIAdd(R)).redIAdd(R),m=O,p=C.redMul(_.redISub(O)).redISub(R),v=this.y.redAdd(this.y)}else{var H=this.x.redSqr(),L=this.y.redSqr(),q=L.redSqr(),W=this.x.redAdd(L).redSqr().redISub(H).redISub(q);W=W.redIAdd(W);var K=H.redAdd(H).redIAdd(H),U=K.redSqr(),P=q.redIAdd(q);P=(P=P.redIAdd(P)).redIAdd(P),m=U.redISub(W).redISub(W),p=K.redMul(W.redISub(m)).redISub(P),v=(v=this.y.redMul(this.z)).redIAdd(v)}return this.curve.jpoint(m,p,v)},h.prototype._threeDbl=function(){var m,p,v;if(this.zOne){var g=this.x.redSqr(),b=this.y.redSqr(),x=b.redSqr(),_=this.x.redAdd(b).redSqr().redISub(g).redISub(x);_=_.redIAdd(_);var C=g.redAdd(g).redIAdd(g).redIAdd(this.curve.a),O=C.redSqr().redISub(_).redISub(_);m=O;var R=x.redIAdd(x);R=(R=R.redIAdd(R)).redIAdd(R),p=C.redMul(_.redISub(O)).redISub(R),v=this.y.redAdd(this.y)}else{var H=this.z.redSqr(),L=this.y.redSqr(),q=this.x.redMul(L),W=this.x.redSub(H).redMul(this.x.redAdd(H));W=W.redAdd(W).redIAdd(W);var K=q.redIAdd(q),U=(K=K.redIAdd(K)).redAdd(K);m=W.redSqr().redISub(U),v=this.y.redAdd(this.z).redSqr().redISub(L).redISub(H);var P=L.redSqr();P=(P=(P=P.redIAdd(P)).redIAdd(P)).redIAdd(P),p=W.redMul(K.redISub(m)).redISub(P)}return this.curve.jpoint(m,p,v)},h.prototype._dbl=function(){var m=this.curve.a,p=this.x,v=this.y,g=this.z,b=g.redSqr().redSqr(),x=p.redSqr(),_=v.redSqr(),C=x.redAdd(x).redIAdd(x).redIAdd(m.redMul(b)),O=p.redAdd(p),R=(O=O.redIAdd(O)).redMul(_),H=C.redSqr().redISub(R.redAdd(R)),L=R.redISub(H),q=_.redSqr();q=(q=(q=q.redIAdd(q)).redIAdd(q)).redIAdd(q);var W=C.redMul(L).redISub(q),K=v.redAdd(v).redMul(g);return this.curve.jpoint(H,W,K)},h.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var m=this.x.redSqr(),p=this.y.redSqr(),v=this.z.redSqr(),g=p.redSqr(),b=m.redAdd(m).redIAdd(m),x=b.redSqr(),_=this.x.redAdd(p).redSqr().redISub(m).redISub(g),C=(_=(_=(_=_.redIAdd(_)).redAdd(_).redIAdd(_)).redISub(x)).redSqr(),O=g.redIAdd(g);O=(O=(O=O.redIAdd(O)).redIAdd(O)).redIAdd(O);var R=b.redIAdd(_).redSqr().redISub(x).redISub(C).redISub(O),H=p.redMul(R);H=(H=H.redIAdd(H)).redIAdd(H);var L=this.x.redMul(C).redISub(H);L=(L=L.redIAdd(L)).redIAdd(L);var q=this.y.redMul(R.redMul(O.redISub(R)).redISub(_.redMul(C)));q=(q=(q=q.redIAdd(q)).redIAdd(q)).redIAdd(q);var W=this.z.redAdd(_).redSqr().redISub(v).redISub(C);return this.curve.jpoint(L,q,W)},h.prototype.mul=function(m,p){return m=new a(m,p),this.curve._wnafMul(this,m)},h.prototype.eq=function(m){if(m.type===&quot;affine&quot;)return this.eq(m.toJ());if(this===m)return!0;var p=this.z.redSqr(),v=m.z.redSqr();if(this.x.redMul(v).redISub(m.x.redMul(p)).cmpn(0)!==0)return!1;var g=p.redMul(this.z),b=v.redMul(m.z);return this.y.redMul(b).redISub(m.y.redMul(g)).cmpn(0)===0},h.prototype.eqXToP=function(m){var p=this.z.redSqr(),v=m.toRed(this.curve.red).redMul(p);if(this.x.cmp(v)===0)return!0;for(var g=m.clone(),b=this.curve.redN.redMul(p);;){if(g.iadd(this.curve.n),g.cmp(this.curve.p)&gt;=0)return!1;if(v.redIAdd(b),this.x.cmp(v)===0)return!0}},h.prototype.inspect=function(){return this.isInfinity()?&quot;&lt;EC JPoint Infinity&gt;&quot;:&quot;&lt;EC JPoint x: &quot;+this.x.toString(16,2)+&quot; y: &quot;+this.y.toString(16,2)+&quot; z: &quot;+this.z.toString(16,2)+&quot;&gt;&quot;},h.prototype.isInfinity=function(){return this.z.cmpn(0)===0}},{&quot;../utils&quot;:419,&quot;./base&quot;:406,&quot;bn.js&quot;:420,inherits:440}],411:[function(t,n,l){var i,a=l,u=t(&quot;hash.js&quot;),o=t(&quot;./curve&quot;),s=t(&quot;./utils&quot;).assert;function c(h){h.type===&quot;short&quot;?this.curve=new o.short(h):h.type===&quot;edwards&quot;?this.curve=new o.edwards(h):this.curve=new o.mont(h),this.g=this.curve.g,this.n=this.curve.n,this.hash=h.hash,s(this.g.validate(),&quot;Invalid curve&quot;),s(this.g.mul(this.n).isInfinity(),&quot;Invalid curve, G*N != O&quot;)}function f(h,m){Object.defineProperty(a,h,{configurable:!0,enumerable:!0,get:function(){var p=new c(m);return Object.defineProperty(a,h,{configurable:!0,enumerable:!0,value:p}),p}})}a.PresetCurve=c,f(&quot;p192&quot;,{type:&quot;short&quot;,prime:&quot;p192&quot;,p:&quot;ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff&quot;,a:&quot;ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc&quot;,b:&quot;64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1&quot;,n:&quot;ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831&quot;,hash:u.sha256,gRed:!1,g:[&quot;188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012&quot;,&quot;07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811&quot;]}),f(&quot;p224&quot;,{type:&quot;short&quot;,prime:&quot;p224&quot;,p:&quot;ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001&quot;,a:&quot;ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe&quot;,b:&quot;b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4&quot;,n:&quot;ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d&quot;,hash:u.sha256,gRed:!1,g:[&quot;b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21&quot;,&quot;bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34&quot;]}),f(&quot;p256&quot;,{type:&quot;short&quot;,prime:null,p:&quot;ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff&quot;,a:&quot;ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc&quot;,b:&quot;5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b&quot;,n:&quot;ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551&quot;,hash:u.sha256,gRed:!1,g:[&quot;6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296&quot;,&quot;4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5&quot;]}),f(&quot;p384&quot;,{type:&quot;short&quot;,prime:null,p:&quot;ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff&quot;,a:&quot;ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc&quot;,b:&quot;b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef&quot;,n:&quot;ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973&quot;,hash:u.sha384,gRed:!1,g:[&quot;aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7&quot;,&quot;3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f&quot;]}),f(&quot;p521&quot;,{type:&quot;short&quot;,prime:null,p:&quot;000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff&quot;,a:&quot;000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc&quot;,b:&quot;00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00&quot;,n:&quot;000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409&quot;,hash:u.sha512,gRed:!1,g:[&quot;000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66&quot;,&quot;00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650&quot;]}),f(&quot;curve25519&quot;,{type:&quot;mont&quot;,prime:&quot;p25519&quot;,p:&quot;7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed&quot;,a:&quot;76d06&quot;,b:&quot;1&quot;,n:&quot;1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed&quot;,hash:u.sha256,gRed:!1,g:[&quot;9&quot;]}),f(&quot;ed25519&quot;,{type:&quot;edwards&quot;,prime:&quot;p25519&quot;,p:&quot;7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed&quot;,a:&quot;-1&quot;,c:&quot;1&quot;,d:&quot;52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3&quot;,n:&quot;1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed&quot;,hash:u.sha256,gRed:!1,g:[&quot;216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a&quot;,&quot;6666666666666666666666666666666666666666666666666666666666666658&quot;]});try{i=t(&quot;./precomputed/secp256k1&quot;)}catch{i=void 0}f(&quot;secp256k1&quot;,{type:&quot;short&quot;,prime:&quot;k256&quot;,p:&quot;ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f&quot;,a:&quot;0&quot;,b:&quot;7&quot;,n:&quot;ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141&quot;,h:&quot;1&quot;,hash:u.sha256,beta:&quot;7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee&quot;,lambda:&quot;5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72&quot;,basis:[{a:&quot;3086d221a7d46bcde86c90e49284eb15&quot;,b:&quot;-e4437ed6010e88286f547fa90abfe4c3&quot;},{a:&quot;114ca50f7a8e2f3f657c1108d9d44cfd8&quot;,b:&quot;3086d221a7d46bcde86c90e49284eb15&quot;}],gRed:!1,g:[&quot;79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798&quot;,&quot;483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8&quot;,i]})},{&quot;./curve&quot;:408,&quot;./precomputed/secp256k1&quot;:418,&quot;./utils&quot;:419,&quot;hash.js&quot;:426}],412:[function(t,n,l){var i=t(&quot;bn.js&quot;),a=t(&quot;hmac-drbg&quot;),u=t(&quot;../utils&quot;),o=t(&quot;../curves&quot;),s=t(&quot;brorand&quot;),c=u.assert,f=t(&quot;./key&quot;),h=t(&quot;./signature&quot;);function m(p){if(!(this instanceof m))return new m(p);typeof p==&quot;string&quot;&amp;&amp;(c(Object.prototype.hasOwnProperty.call(o,p),&quot;Unknown curve &quot;+p),p=o[p]),p instanceof o.PresetCurve&amp;&amp;(p={curve:p}),this.curve=p.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=p.curve.g,this.g.precompute(p.curve.n.bitLength()+1),this.hash=p.hash||p.curve.hash}n.exports=m,m.prototype.keyPair=function(p){return new f(this,p)},m.prototype.keyFromPrivate=function(p,v){return f.fromPrivate(this,p,v)},m.prototype.keyFromPublic=function(p,v){return f.fromPublic(this,p,v)},m.prototype.genKeyPair=function(p){p||(p={});for(var v=new a({hash:this.hash,pers:p.pers,persEnc:p.persEnc||&quot;utf8&quot;,entropy:p.entropy||s(this.hash.hmacStrength),entropyEnc:p.entropy&amp;&amp;p.entropyEnc||&quot;utf8&quot;,nonce:this.n.toArray()}),g=this.n.byteLength(),b=this.n.sub(new i(2));;){var x=new i(v.generate(g));if(!(x.cmp(b)&gt;0))return x.iaddn(1),this.keyFromPrivate(x)}},m.prototype._truncateToN=function(p,v){var g=8*p.byteLength()-this.n.bitLength();return g&gt;0&amp;&amp;(p=p.ushrn(g)),!v&amp;&amp;p.cmp(this.n)&gt;=0?p.sub(this.n):p},m.prototype.sign=function(p,v,g,b){typeof g==&quot;object&quot;&amp;&amp;(b=g,g=null),b||(b={}),v=this.keyFromPrivate(v,g),p=this._truncateToN(new i(p,16));for(var x=this.n.byteLength(),_=v.getPrivate().toArray(&quot;be&quot;,x),C=p.toArray(&quot;be&quot;,x),O=new a({hash:this.hash,entropy:_,nonce:C,pers:b.pers,persEnc:b.persEnc||&quot;utf8&quot;}),R=this.n.sub(new i(1)),H=0;;H++){var L=b.k?b.k(H):new i(O.generate(this.n.byteLength()));if(!((L=this._truncateToN(L,!0)).cmpn(1)&lt;=0||L.cmp(R)&gt;=0)){var q=this.g.mul(L);if(!q.isInfinity()){var W=q.getX(),K=W.umod(this.n);if(K.cmpn(0)!==0){var U=L.invm(this.n).mul(K.mul(v.getPrivate()).iadd(p));if((U=U.umod(this.n)).cmpn(0)!==0){var P=(q.getY().isOdd()?1:0)|(W.cmp(K)!==0?2:0);return b.canonical&amp;&amp;U.cmp(this.nh)&gt;0&amp;&amp;(U=this.n.sub(U),P^=1),new h({r:K,s:U,recoveryParam:P})}}}}}},m.prototype.verify=function(p,v,g,b){p=this._truncateToN(new i(p,16)),g=this.keyFromPublic(g,b);var x=(v=new h(v,&quot;hex&quot;)).r,_=v.s;if(x.cmpn(1)&lt;0||x.cmp(this.n)&gt;=0||_.cmpn(1)&lt;0||_.cmp(this.n)&gt;=0)return!1;var C,O=_.invm(this.n),R=O.mul(p).umod(this.n),H=O.mul(x).umod(this.n);return this.curve._maxwellTrick?!(C=this.g.jmulAdd(R,g.getPublic(),H)).isInfinity()&amp;&amp;C.eqXToP(x):!(C=this.g.mulAdd(R,g.getPublic(),H)).isInfinity()&amp;&amp;C.getX().umod(this.n).cmp(x)===0},m.prototype.recoverPubKey=function(p,v,g,b){c((3&amp;g)===g,&quot;The recovery param is more than two bits&quot;),v=new h(v,b);var x=this.n,_=new i(p),C=v.r,O=v.s,R=1&amp;g,H=g&gt;&gt;1;if(C.cmp(this.curve.p.umod(this.curve.n))&gt;=0&amp;&amp;H)throw new Error(&quot;Unable to find sencond key candinate&quot;);C=H?this.curve.pointFromX(C.add(this.curve.n),R):this.curve.pointFromX(C,R);var L=v.r.invm(x),q=x.sub(_).mul(L).umod(x),W=O.mul(L).umod(x);return this.g.mulAdd(q,C,W)},m.prototype.getKeyRecoveryParam=function(p,v,g,b){if((v=new h(v,b)).recoveryParam!==null)return v.recoveryParam;for(var x=0;x&lt;4;x++){var _;try{_=this.recoverPubKey(p,v,x)}catch{continue}if(_.eq(g))return x}throw new Error(&quot;Unable to find valid recovery factor&quot;)}},{&quot;../curves&quot;:411,&quot;../utils&quot;:419,&quot;./key&quot;:413,&quot;./signature&quot;:414,&quot;bn.js&quot;:420,brorand:187,&quot;hmac-drbg&quot;:438}],413:[function(t,n,l){var i=t(&quot;bn.js&quot;),a=t(&quot;../utils&quot;).assert;function u(o,s){this.ec=o,this.priv=null,this.pub=null,s.priv&amp;&amp;this._importPrivate(s.priv,s.privEnc),s.pub&amp;&amp;this._importPublic(s.pub,s.pubEnc)}n.exports=u,u.fromPublic=function(o,s,c){return s instanceof u?s:new u(o,{pub:s,pubEnc:c})},u.fromPrivate=function(o,s,c){return s instanceof u?s:new u(o,{priv:s,privEnc:c})},u.prototype.validate=function(){var o=this.getPublic();return o.isInfinity()?{result:!1,reason:&quot;Invalid public key&quot;}:o.validate()?o.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:&quot;Public key * N != O&quot;}:{result:!1,reason:&quot;Public key is not a point&quot;}},u.prototype.getPublic=function(o,s){return typeof o==&quot;string&quot;&amp;&amp;(s=o,o=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),s?this.pub.encode(s,o):this.pub},u.prototype.getPrivate=function(o){return o===&quot;hex&quot;?this.priv.toString(16,2):this.priv},u.prototype._importPrivate=function(o,s){this.priv=new i(o,s||16),this.priv=this.priv.umod(this.ec.curve.n)},u.prototype._importPublic=function(o,s){if(o.x||o.y)return this.ec.curve.type===&quot;mont&quot;?a(o.x,&quot;Need x coordinate&quot;):this.ec.curve.type!==&quot;short&quot;&amp;&amp;this.ec.curve.type!==&quot;edwards&quot;||a(o.x&amp;&amp;o.y,&quot;Need both x and y coordinate&quot;),void(this.pub=this.ec.curve.point(o.x,o.y));this.pub=this.ec.curve.decodePoint(o,s)},u.prototype.derive=function(o){return o.validate()||a(o.validate(),&quot;public point not validated&quot;),o.mul(this.priv).getX()},u.prototype.sign=function(o,s,c){return this.ec.sign(o,this,s,c)},u.prototype.verify=function(o,s){return this.ec.verify(o,s,this)},u.prototype.inspect=function(){return&quot;&lt;Key priv: &quot;+(this.priv&amp;&amp;this.priv.toString(16,2))+&quot; pub: &quot;+(this.pub&amp;&amp;this.pub.inspect())+&quot; &gt;&quot;}},{&quot;../utils&quot;:419,&quot;bn.js&quot;:420}],414:[function(t,n,l){var i=t(&quot;bn.js&quot;),a=t(&quot;../utils&quot;),u=a.assert;function o(m,p){if(m instanceof o)return m;this._importDER(m,p)||(u(m.r&amp;&amp;m.s,&quot;Signature without r or s&quot;),this.r=new i(m.r,16),this.s=new i(m.s,16),m.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=m.recoveryParam)}function s(){this.place=0}function c(m,p){var v=m[p.place++];if(!(128&amp;v))return v;var g=15&amp;v;if(g===0||g&gt;4)return!1;for(var b=0,x=0,_=p.place;x&lt;g;x++,_++)b&lt;&lt;=8,b|=m[_],b&gt;&gt;&gt;=0;return!(b&lt;=127)&amp;&amp;(p.place=_,b)}function f(m){for(var p=0,v=m.length-1;!m[p]&amp;&amp;!(128&amp;m[p+1])&amp;&amp;p&lt;v;)p++;return p===0?m:m.slice(p)}function h(m,p){if(p&lt;128)m.push(p);else{var v=1+(Math.log(p)/Math.LN2&gt;&gt;&gt;3);for(m.push(128|v);--v;)m.push(p&gt;&gt;&gt;(v&lt;&lt;3)&amp;255);m.push(p)}}n.exports=o,o.prototype._importDER=function(m,p){m=a.toArray(m,p);var v=new s;if(m[v.place++]!==48)return!1;var g=c(m,v);if(g===!1||g+v.place!==m.length||m[v.place++]!==2)return!1;var b=c(m,v);if(b===!1)return!1;var x=m.slice(v.place,b+v.place);if(v.place+=b,m[v.place++]!==2)return!1;var _=c(m,v);if(_===!1||m.length!==_+v.place)return!1;var C=m.slice(v.place,_+v.place);if(x[0]===0){if(!(128&amp;x[1]))return!1;x=x.slice(1)}if(C[0]===0){if(!(128&amp;C[1]))return!1;C=C.slice(1)}return this.r=new i(x),this.s=new i(C),this.recoveryParam=null,!0},o.prototype.toDER=function(m){var p=this.r.toArray(),v=this.s.toArray();for(128&amp;p[0]&amp;&amp;(p=[0].concat(p)),128&amp;v[0]&amp;&amp;(v=[0].concat(v)),p=f(p),v=f(v);!(v[0]||128&amp;v[1]);)v=v.slice(1);var g=[2];h(g,p.length),(g=g.concat(p)).push(2),h(g,v.length);var b=g.concat(v),x=[48];return h(x,b.length),x=x.concat(b),a.encode(x,m)}},{&quot;../utils&quot;:419,&quot;bn.js&quot;:420}],415:[function(t,n,l){var i=t(&quot;hash.js&quot;),a=t(&quot;../curves&quot;),u=t(&quot;../utils&quot;),o=u.assert,s=u.parseBytes,c=t(&quot;./key&quot;),f=t(&quot;./signature&quot;);function h(m){if(o(m===&quot;ed25519&quot;,&quot;only tested with ed25519 so far&quot;),!(this instanceof h))return new h(m);m=a[m].curve,this.curve=m,this.g=m.g,this.g.precompute(m.n.bitLength()+1),this.pointClass=m.point().constructor,this.encodingLength=Math.ceil(m.n.bitLength()/8),this.hash=i.sha512}n.exports=h,h.prototype.sign=function(m,p){m=s(m);var v=this.keyFromSecret(p),g=this.hashInt(v.messagePrefix(),m),b=this.g.mul(g),x=this.encodePoint(b),_=this.hashInt(x,v.pubBytes(),m).mul(v.priv()),C=g.add(_).umod(this.curve.n);return this.makeSignature({R:b,S:C,Rencoded:x})},h.prototype.verify=function(m,p,v){m=s(m),p=this.makeSignature(p);var g=this.keyFromPublic(v),b=this.hashInt(p.Rencoded(),g.pubBytes(),m),x=this.g.mul(p.S());return p.R().add(g.pub().mul(b)).eq(x)},h.prototype.hashInt=function(){for(var m=this.hash(),p=0;p&lt;arguments.length;p++)m.update(arguments[p]);return u.intFromLE(m.digest()).umod(this.curve.n)},h.prototype.keyFromPublic=function(m){return c.fromPublic(this,m)},h.prototype.keyFromSecret=function(m){return c.fromSecret(this,m)},h.prototype.makeSignature=function(m){return m instanceof f?m:new f(this,m)},h.prototype.encodePoint=function(m){var p=m.getY().toArray(&quot;le&quot;,this.encodingLength);return p[this.encodingLength-1]|=m.getX().isOdd()?128:0,p},h.prototype.decodePoint=function(m){var p=(m=u.parseBytes(m)).length-1,v=m.slice(0,p).concat(-129&amp;m[p]),g=(128&amp;m[p])!=0,b=u.intFromLE(v);return this.curve.pointFromY(b,g)},h.prototype.encodeInt=function(m){return m.toArray(&quot;le&quot;,this.encodingLength)},h.prototype.decodeInt=function(m){return u.intFromLE(m)},h.prototype.isPoint=function(m){return m instanceof this.pointClass}},{&quot;../curves&quot;:411,&quot;../utils&quot;:419,&quot;./key&quot;:416,&quot;./signature&quot;:417,&quot;hash.js&quot;:426}],416:[function(t,n,l){var i=t(&quot;../utils&quot;),a=i.assert,u=i.parseBytes,o=i.cachedProperty;function s(c,f){this.eddsa=c,this._secret=u(f.secret),c.isPoint(f.pub)?this._pub=f.pub:this._pubBytes=u(f.pub)}s.fromPublic=function(c,f){return f instanceof s?f:new s(c,{pub:f})},s.fromSecret=function(c,f){return f instanceof s?f:new s(c,{secret:f})},s.prototype.secret=function(){return this._secret},o(s,&quot;pubBytes&quot;,(function(){return this.eddsa.encodePoint(this.pub())})),o(s,&quot;pub&quot;,(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),o(s,&quot;privBytes&quot;,(function(){var c=this.eddsa,f=this.hash(),h=c.encodingLength-1,m=f.slice(0,c.encodingLength);return m[0]&amp;=248,m[h]&amp;=127,m[h]|=64,m})),o(s,&quot;priv&quot;,(function(){return this.eddsa.decodeInt(this.privBytes())})),o(s,&quot;hash&quot;,(function(){return this.eddsa.hash().update(this.secret()).digest()})),o(s,&quot;messagePrefix&quot;,(function(){return this.hash().slice(this.eddsa.encodingLength)})),s.prototype.sign=function(c){return a(this._secret,&quot;KeyPair can only verify&quot;),this.eddsa.sign(c,this)},s.prototype.verify=function(c,f){return this.eddsa.verify(c,f,this)},s.prototype.getSecret=function(c){return a(this._secret,&quot;KeyPair is public only&quot;),i.encode(this.secret(),c)},s.prototype.getPublic=function(c){return i.encode(this.pubBytes(),c)},n.exports=s},{&quot;../utils&quot;:419}],417:[function(t,n,l){var i=t(&quot;bn.js&quot;),a=t(&quot;../utils&quot;),u=a.assert,o=a.cachedProperty,s=a.parseBytes;function c(f,h){this.eddsa=f,typeof h!=&quot;object&quot;&amp;&amp;(h=s(h)),Array.isArray(h)&amp;&amp;(h={R:h.slice(0,f.encodingLength),S:h.slice(f.encodingLength)}),u(h.R&amp;&amp;h.S,&quot;Signature without R or S&quot;),f.isPoint(h.R)&amp;&amp;(this._R=h.R),h.S instanceof i&amp;&amp;(this._S=h.S),this._Rencoded=Array.isArray(h.R)?h.R:h.Rencoded,this._Sencoded=Array.isArray(h.S)?h.S:h.Sencoded}o(c,&quot;S&quot;,(function(){return this.eddsa.decodeInt(this.Sencoded())})),o(c,&quot;R&quot;,(function(){return this.eddsa.decodePoint(this.Rencoded())})),o(c,&quot;Rencoded&quot;,(function(){return this.eddsa.encodePoint(this.R())})),o(c,&quot;Sencoded&quot;,(function(){return this.eddsa.encodeInt(this.S())})),c.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},c.prototype.toHex=function(){return a.encode(this.toBytes(),&quot;hex&quot;).toUpperCase()},n.exports=c},{&quot;../utils&quot;:419,&quot;bn.js&quot;:420}],418:[function(t,n,l){n.exports={doubles:{step:4,points:[[&quot;e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a&quot;,&quot;f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821&quot;],[&quot;8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508&quot;,&quot;11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf&quot;],[&quot;175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739&quot;,&quot;d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695&quot;],[&quot;363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640&quot;,&quot;4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9&quot;],[&quot;8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c&quot;,&quot;4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36&quot;],[&quot;723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda&quot;,&quot;96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f&quot;],[&quot;eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa&quot;,&quot;5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999&quot;],[&quot;100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0&quot;,&quot;cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09&quot;],[&quot;e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d&quot;,&quot;9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d&quot;],[&quot;feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d&quot;,&quot;e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088&quot;],[&quot;da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1&quot;,&quot;9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d&quot;],[&quot;53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0&quot;,&quot;5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8&quot;],[&quot;8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047&quot;,&quot;10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a&quot;],[&quot;385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862&quot;,&quot;283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453&quot;],[&quot;6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7&quot;,&quot;7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160&quot;],[&quot;3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd&quot;,&quot;56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0&quot;],[&quot;85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83&quot;,&quot;7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6&quot;],[&quot;948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a&quot;,&quot;53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589&quot;],[&quot;6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8&quot;,&quot;bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17&quot;],[&quot;e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d&quot;,&quot;4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda&quot;],[&quot;e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725&quot;,&quot;7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd&quot;],[&quot;213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754&quot;,&quot;4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2&quot;],[&quot;4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c&quot;,&quot;17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6&quot;],[&quot;fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6&quot;,&quot;6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f&quot;],[&quot;76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39&quot;,&quot;c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01&quot;],[&quot;c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891&quot;,&quot;893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3&quot;],[&quot;d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b&quot;,&quot;febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f&quot;],[&quot;b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03&quot;,&quot;2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7&quot;],[&quot;e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d&quot;,&quot;eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78&quot;],[&quot;a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070&quot;,&quot;7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1&quot;],[&quot;90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4&quot;,&quot;e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150&quot;],[&quot;8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da&quot;,&quot;662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82&quot;],[&quot;e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11&quot;,&quot;1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc&quot;],[&quot;8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e&quot;,&quot;efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b&quot;],[&quot;e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41&quot;,&quot;2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51&quot;],[&quot;b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef&quot;,&quot;67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45&quot;],[&quot;d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8&quot;,&quot;db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120&quot;],[&quot;324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d&quot;,&quot;648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84&quot;],[&quot;4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96&quot;,&quot;35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d&quot;],[&quot;9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd&quot;,&quot;ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d&quot;],[&quot;6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5&quot;,&quot;9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8&quot;],[&quot;a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266&quot;,&quot;40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8&quot;],[&quot;7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71&quot;,&quot;34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac&quot;],[&quot;928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac&quot;,&quot;c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f&quot;],[&quot;85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751&quot;,&quot;1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962&quot;],[&quot;ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e&quot;,&quot;493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907&quot;],[&quot;827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241&quot;,&quot;c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec&quot;],[&quot;eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3&quot;,&quot;be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d&quot;],[&quot;e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f&quot;,&quot;4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414&quot;],[&quot;1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19&quot;,&quot;aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd&quot;],[&quot;146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be&quot;,&quot;b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0&quot;],[&quot;fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9&quot;,&quot;6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811&quot;],[&quot;da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2&quot;,&quot;8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1&quot;],[&quot;a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13&quot;,&quot;7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c&quot;],[&quot;174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c&quot;,&quot;ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73&quot;],[&quot;959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba&quot;,&quot;2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd&quot;],[&quot;d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151&quot;,&quot;e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405&quot;],[&quot;64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073&quot;,&quot;d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589&quot;],[&quot;8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458&quot;,&quot;38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e&quot;],[&quot;13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b&quot;,&quot;69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27&quot;],[&quot;bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366&quot;,&quot;d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1&quot;],[&quot;8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa&quot;,&quot;40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482&quot;],[&quot;8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0&quot;,&quot;620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945&quot;],[&quot;dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787&quot;,&quot;7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573&quot;],[&quot;f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e&quot;,&quot;ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82&quot;]]},naf:{wnd:7,points:[[&quot;f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9&quot;,&quot;388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672&quot;],[&quot;2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4&quot;,&quot;d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6&quot;],[&quot;5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc&quot;,&quot;6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da&quot;],[&quot;acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe&quot;,&quot;cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37&quot;],[&quot;774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb&quot;,&quot;d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b&quot;],[&quot;f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8&quot;,&quot;ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81&quot;],[&quot;d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e&quot;,&quot;581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58&quot;],[&quot;defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34&quot;,&quot;4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77&quot;],[&quot;2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c&quot;,&quot;85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a&quot;],[&quot;352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5&quot;,&quot;321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c&quot;],[&quot;2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f&quot;,&quot;2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67&quot;],[&quot;9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714&quot;,&quot;73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402&quot;],[&quot;daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729&quot;,&quot;a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55&quot;],[&quot;c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db&quot;,&quot;2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482&quot;],[&quot;6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4&quot;,&quot;e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82&quot;],[&quot;1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5&quot;,&quot;b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396&quot;],[&quot;605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479&quot;,&quot;2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49&quot;],[&quot;62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d&quot;,&quot;80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf&quot;],[&quot;80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f&quot;,&quot;1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a&quot;],[&quot;7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb&quot;,&quot;d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7&quot;],[&quot;d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9&quot;,&quot;eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933&quot;],[&quot;49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963&quot;,&quot;758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a&quot;],[&quot;77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74&quot;,&quot;958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6&quot;],[&quot;f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530&quot;,&quot;e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37&quot;],[&quot;463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b&quot;,&quot;5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e&quot;],[&quot;f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247&quot;,&quot;cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6&quot;],[&quot;caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1&quot;,&quot;cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476&quot;],[&quot;2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120&quot;,&quot;4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40&quot;],[&quot;7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435&quot;,&quot;91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61&quot;],[&quot;754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18&quot;,&quot;673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683&quot;],[&quot;e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8&quot;,&quot;59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5&quot;],[&quot;186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb&quot;,&quot;3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b&quot;],[&quot;df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f&quot;,&quot;55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417&quot;],[&quot;5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143&quot;,&quot;efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868&quot;],[&quot;290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba&quot;,&quot;e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a&quot;],[&quot;af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45&quot;,&quot;f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6&quot;],[&quot;766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a&quot;,&quot;744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996&quot;],[&quot;59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e&quot;,&quot;c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e&quot;],[&quot;f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8&quot;,&quot;e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d&quot;],[&quot;7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c&quot;,&quot;30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2&quot;],[&quot;948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519&quot;,&quot;e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e&quot;],[&quot;7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab&quot;,&quot;100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437&quot;],[&quot;3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca&quot;,&quot;ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311&quot;],[&quot;d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf&quot;,&quot;8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4&quot;],[&quot;1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610&quot;,&quot;68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575&quot;],[&quot;733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4&quot;,&quot;f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d&quot;],[&quot;15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c&quot;,&quot;d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d&quot;],[&quot;a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940&quot;,&quot;edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629&quot;],[&quot;e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980&quot;,&quot;a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06&quot;],[&quot;311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3&quot;,&quot;66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374&quot;],[&quot;34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf&quot;,&quot;9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee&quot;],[&quot;f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63&quot;,&quot;4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1&quot;],[&quot;d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448&quot;,&quot;fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b&quot;],[&quot;32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf&quot;,&quot;5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661&quot;],[&quot;7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5&quot;,&quot;8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6&quot;],[&quot;ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6&quot;,&quot;8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e&quot;],[&quot;16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5&quot;,&quot;5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d&quot;],[&quot;eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99&quot;,&quot;f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc&quot;],[&quot;78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51&quot;,&quot;f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4&quot;],[&quot;494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5&quot;,&quot;42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c&quot;],[&quot;a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5&quot;,&quot;204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b&quot;],[&quot;c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997&quot;,&quot;4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913&quot;],[&quot;841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881&quot;,&quot;73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154&quot;],[&quot;5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5&quot;,&quot;39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865&quot;],[&quot;36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66&quot;,&quot;d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc&quot;],[&quot;336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726&quot;,&quot;ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224&quot;],[&quot;8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede&quot;,&quot;6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e&quot;],[&quot;1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94&quot;,&quot;60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6&quot;],[&quot;85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31&quot;,&quot;3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511&quot;],[&quot;29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51&quot;,&quot;b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b&quot;],[&quot;a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252&quot;,&quot;ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2&quot;],[&quot;4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5&quot;,&quot;cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c&quot;],[&quot;d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b&quot;,&quot;6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3&quot;],[&quot;ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4&quot;,&quot;322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d&quot;],[&quot;af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f&quot;,&quot;6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700&quot;],[&quot;e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889&quot;,&quot;2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4&quot;],[&quot;591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246&quot;,&quot;b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196&quot;],[&quot;11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984&quot;,&quot;998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4&quot;],[&quot;3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a&quot;,&quot;b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257&quot;],[&quot;cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030&quot;,&quot;bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13&quot;],[&quot;c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197&quot;,&quot;6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096&quot;],[&quot;c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593&quot;,&quot;c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38&quot;],[&quot;a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef&quot;,&quot;21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f&quot;],[&quot;347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38&quot;,&quot;60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448&quot;],[&quot;da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a&quot;,&quot;49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a&quot;],[&quot;c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111&quot;,&quot;5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4&quot;],[&quot;4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502&quot;,&quot;7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437&quot;],[&quot;3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea&quot;,&quot;be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7&quot;],[&quot;cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26&quot;,&quot;8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d&quot;],[&quot;b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986&quot;,&quot;39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a&quot;],[&quot;d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e&quot;,&quot;62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54&quot;],[&quot;48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4&quot;,&quot;25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77&quot;],[&quot;dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda&quot;,&quot;ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517&quot;],[&quot;6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859&quot;,&quot;cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10&quot;],[&quot;e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f&quot;,&quot;f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125&quot;],[&quot;eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c&quot;,&quot;6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e&quot;],[&quot;13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942&quot;,&quot;fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1&quot;],[&quot;ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a&quot;,&quot;1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2&quot;],[&quot;b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80&quot;,&quot;5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423&quot;],[&quot;ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d&quot;,&quot;438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8&quot;],[&quot;8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1&quot;,&quot;cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758&quot;],[&quot;52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63&quot;,&quot;c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375&quot;],[&quot;e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352&quot;,&quot;6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d&quot;],[&quot;7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193&quot;,&quot;ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec&quot;],[&quot;5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00&quot;,&quot;9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0&quot;],[&quot;32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58&quot;,&quot;ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c&quot;],[&quot;e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7&quot;,&quot;d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4&quot;],[&quot;8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8&quot;,&quot;c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f&quot;],[&quot;4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e&quot;,&quot;67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649&quot;],[&quot;3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d&quot;,&quot;cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826&quot;],[&quot;674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b&quot;,&quot;299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5&quot;],[&quot;d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f&quot;,&quot;f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87&quot;],[&quot;30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6&quot;,&quot;462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b&quot;],[&quot;be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297&quot;,&quot;62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc&quot;],[&quot;93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a&quot;,&quot;7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c&quot;],[&quot;b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c&quot;,&quot;ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f&quot;],[&quot;d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52&quot;,&quot;4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a&quot;],[&quot;d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb&quot;,&quot;bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46&quot;],[&quot;463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065&quot;,&quot;bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f&quot;],[&quot;7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917&quot;,&quot;603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03&quot;],[&quot;74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9&quot;,&quot;cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08&quot;],[&quot;30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3&quot;,&quot;553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8&quot;],[&quot;9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57&quot;,&quot;712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373&quot;],[&quot;176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66&quot;,&quot;ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3&quot;],[&quot;75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8&quot;,&quot;9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8&quot;],[&quot;809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721&quot;,&quot;9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1&quot;],[&quot;1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180&quot;,&quot;4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9&quot;]]}}},{}],419:[function(t,n,l){var i=l,a=t(&quot;bn.js&quot;),u=t(&quot;minimalistic-assert&quot;),o=t(&quot;minimalistic-crypto-utils&quot;);i.assert=u,i.toArray=o.toArray,i.zero2=o.zero2,i.toHex=o.toHex,i.encode=o.encode,i.getNAF=function(s,c,f){var h=new Array(Math.max(s.bitLength(),f)+1);h.fill(0);for(var m=1&lt;&lt;c+1,p=s.clone(),v=0;v&lt;h.length;v++){var g,b=p.andln(m-1);p.isOdd()?(g=b&gt;(m&gt;&gt;1)-1?(m&gt;&gt;1)-b:b,p.isubn(g)):g=0,h[v]=g,p.iushrn(1)}return h},i.getJSF=function(s,c){var f=[[],[]];s=s.clone(),c=c.clone();for(var h,m=0,p=0;s.cmpn(-m)&gt;0||c.cmpn(-p)&gt;0;){var v,g,b=s.andln(3)+m&amp;3,x=c.andln(3)+p&amp;3;b===3&amp;&amp;(b=-1),x===3&amp;&amp;(x=-1),v=(1&amp;b)==0?0:(h=s.andln(7)+m&amp;7)!==3&amp;&amp;h!==5||x!==2?b:-b,f[0].push(v),g=(1&amp;x)==0?0:(h=c.andln(7)+p&amp;7)!==3&amp;&amp;h!==5||b!==2?x:-x,f[1].push(g),2*m===v+1&amp;&amp;(m=1-m),2*p===g+1&amp;&amp;(p=1-p),s.iushrn(1),c.iushrn(1)}return f},i.cachedProperty=function(s,c,f){var h=&quot;_&quot;+c;s.prototype[c]=function(){return this[h]!==void 0?this[h]:this[h]=f.call(this)}},i.parseBytes=function(s){return typeof s==&quot;string&quot;?i.toArray(s,&quot;hex&quot;):s},i.intFromLE=function(s){return new a(s,&quot;hex&quot;,&quot;le&quot;)}},{&quot;bn.js&quot;:420,&quot;minimalistic-assert&quot;:453,&quot;minimalistic-crypto-utils&quot;:454}],420:[function(t,n,l){arguments[4][184][0].apply(l,arguments)},{buffer:188,dup:184}],421:[function(t,n,l){n.exports={name:&quot;elliptic&quot;,version:&quot;6.5.4&quot;,description:&quot;EC cryptography&quot;,main:&quot;lib/elliptic.js&quot;,files:[&quot;lib&quot;],scripts:{lint:&quot;eslint lib test&quot;,&quot;lint:fix&quot;:&quot;npm run lint -- --fix&quot;,unit:&quot;istanbul test _mocha --reporter=spec test/index.js&quot;,test:&quot;npm run lint &amp;&amp; npm run unit&quot;,version:&quot;grunt dist &amp;&amp; git add dist/&quot;},repository:{type:&quot;git&quot;,url:&quot;git@github.com:indutny/elliptic&quot;},keywords:[&quot;EC&quot;,&quot;Elliptic&quot;,&quot;curve&quot;,&quot;Cryptography&quot;],author:&quot;Fedor Indutny &lt;fedor@indutny.com&gt;&quot;,license:&quot;MIT&quot;,bugs:{url:&quot;https://github.com/indutny/elliptic/issues&quot;},homepage:&quot;https://github.com/indutny/elliptic&quot;,devDependencies:{brfs:&quot;^2.0.2&quot;,coveralls:&quot;^3.1.0&quot;,eslint:&quot;^7.6.0&quot;,grunt:&quot;^1.2.1&quot;,&quot;grunt-browserify&quot;:&quot;^5.3.0&quot;,&quot;grunt-cli&quot;:&quot;^1.3.2&quot;,&quot;grunt-contrib-connect&quot;:&quot;^3.0.0&quot;,&quot;grunt-contrib-copy&quot;:&quot;^1.0.0&quot;,&quot;grunt-contrib-uglify&quot;:&quot;^5.0.0&quot;,&quot;grunt-mocha-istanbul&quot;:&quot;^5.0.2&quot;,&quot;grunt-saucelabs&quot;:&quot;^9.0.1&quot;,istanbul:&quot;^0.4.5&quot;,mocha:&quot;^8.0.1&quot;},dependencies:{&quot;bn.js&quot;:&quot;^4.11.9&quot;,brorand:&quot;^1.1.0&quot;,&quot;hash.js&quot;:&quot;^1.0.0&quot;,&quot;hmac-drbg&quot;:&quot;^1.0.1&quot;,inherits:&quot;^2.0.4&quot;,&quot;minimalistic-assert&quot;:&quot;^1.0.1&quot;,&quot;minimalistic-crypto-utils&quot;:&quot;^1.0.1&quot;}}},{}],422:[function(t,n,l){var i=Object.create||function(L){var q=function(){};return q.prototype=L,new q},a=Object.keys||function(L){var q=[];for(var W in L)Object.prototype.hasOwnProperty.call(L,W)&amp;&amp;q.push(W);return W},u=Function.prototype.bind||function(L){var q=this;return function(){return q.apply(L,arguments)}};function o(){this._events&amp;&amp;Object.prototype.hasOwnProperty.call(this,&quot;_events&quot;)||(this._events=i(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}n.exports=o,o.EventEmitter=o,o.prototype._events=void 0,o.prototype._maxListeners=void 0;var s,c=10;try{var f={};Object.defineProperty&amp;&amp;Object.defineProperty(f,&quot;x&quot;,{value:0}),s=f.x===0}catch{s=!1}function h(L){return L._maxListeners===void 0?o.defaultMaxListeners:L._maxListeners}function m(L,q,W){if(q)L.call(W);else for(var K=L.length,U=H(L,K),P=0;P&lt;K;++P)U[P].call(W)}function p(L,q,W,K){if(q)L.call(W,K);else for(var U=L.length,P=H(L,U),D=0;D&lt;U;++D)P[D].call(W,K)}function v(L,q,W,K,U){if(q)L.call(W,K,U);else for(var P=L.length,D=H(L,P),E=0;E&lt;P;++E)D[E].call(W,K,U)}function g(L,q,W,K,U,P){if(q)L.call(W,K,U,P);else for(var D=L.length,E=H(L,D),j=0;j&lt;D;++j)E[j].call(W,K,U,P)}function b(L,q,W,K){if(q)L.apply(W,K);else for(var U=L.length,P=H(L,U),D=0;D&lt;U;++D)P[D].apply(W,K)}function x(L,q,W,K){var U,P,D;if(typeof W!=&quot;function&quot;)throw new TypeError(&#039;&quot;listener&quot; argument must be a function&#039;);if((P=L._events)?(P.newListener&amp;&amp;(L.emit(&quot;newListener&quot;,q,W.listener?W.listener:W),P=L._events),D=P[q]):(P=L._events=i(null),L._eventsCount=0),D){if(typeof D==&quot;function&quot;?D=P[q]=K?[W,D]:[D,W]:K?D.unshift(W):D.push(W),!D.warned&amp;&amp;(U=h(L))&amp;&amp;U&gt;0&amp;&amp;D.length&gt;U){D.warned=!0;var E=new Error(&quot;Possible EventEmitter memory leak detected. &quot;+D.length+&#039; &quot;&#039;+String(q)+&#039;&quot; listeners added. Use emitter.setMaxListeners() to increase limit.&#039;);E.name=&quot;MaxListenersExceededWarning&quot;,E.emitter=L,E.type=q,E.count=D.length,typeof console==&quot;object&quot;&amp;&amp;console.warn&amp;&amp;console.warn(&quot;%s: %s&quot;,E.name,E.message)}}else D=P[q]=W,++L._eventsCount;return L}function _(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var L=new Array(arguments.length),q=0;q&lt;L.length;++q)L[q]=arguments[q];this.listener.apply(this.target,L)}}function C(L,q,W){var K={fired:!1,wrapFn:void 0,target:L,type:q,listener:W},U=u.call(_,K);return U.listener=W,K.wrapFn=U,U}function O(L,q,W){var K=L._events;if(!K)return[];var U=K[q];return U?typeof U==&quot;function&quot;?W?[U.listener||U]:[U]:W?(function(P){for(var D=new Array(P.length),E=0;E&lt;D.length;++E)D[E]=P[E].listener||P[E];return D})(U):H(U,U.length):[]}function R(L){var q=this._events;if(q){var W=q[L];if(typeof W==&quot;function&quot;)return 1;if(W)return W.length}return 0}function H(L,q){for(var W=new Array(q),K=0;K&lt;q;++K)W[K]=L[K];return W}s?Object.defineProperty(o,&quot;defaultMaxListeners&quot;,{enumerable:!0,get:function(){return c},set:function(L){if(typeof L!=&quot;number&quot;||L&lt;0||L!=L)throw new TypeError(&#039;&quot;defaultMaxListeners&quot; must be a positive number&#039;);c=L}}):o.defaultMaxListeners=c,o.prototype.setMaxListeners=function(L){if(typeof L!=&quot;number&quot;||L&lt;0||isNaN(L))throw new TypeError(&#039;&quot;n&quot; argument must be a positive number&#039;);return this._maxListeners=L,this},o.prototype.getMaxListeners=function(){return h(this)},o.prototype.emit=function(L){var q,W,K,U,P,D,E=L===&quot;error&quot;;if(D=this._events)E=E&amp;&amp;D.error==null;else if(!E)return!1;if(E){if(arguments.length&gt;1&amp;&amp;(q=arguments[1]),q instanceof Error)throw q;var j=new Error(&#039;Unhandled &quot;error&quot; event. (&#039;+q+&quot;)&quot;);throw j.context=q,j}if(!(W=D[L]))return!1;var k=typeof W==&quot;function&quot;;switch(K=arguments.length){case 1:m(W,k,this);break;case 2:p(W,k,this,arguments[1]);break;case 3:v(W,k,this,arguments[1],arguments[2]);break;case 4:g(W,k,this,arguments[1],arguments[2],arguments[3]);break;default:for(U=new Array(K-1),P=1;P&lt;K;P++)U[P-1]=arguments[P];b(W,k,this,U)}return!0},o.prototype.addListener=function(L,q){return x(this,L,q,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(L,q){return x(this,L,q,!0)},o.prototype.once=function(L,q){if(typeof q!=&quot;function&quot;)throw new TypeError(&#039;&quot;listener&quot; argument must be a function&#039;);return this.on(L,C(this,L,q)),this},o.prototype.prependOnceListener=function(L,q){if(typeof q!=&quot;function&quot;)throw new TypeError(&#039;&quot;listener&quot; argument must be a function&#039;);return this.prependListener(L,C(this,L,q)),this},o.prototype.removeListener=function(L,q){var W,K,U,P,D;if(typeof q!=&quot;function&quot;)throw new TypeError(&#039;&quot;listener&quot; argument must be a function&#039;);if(!(K=this._events))return this;if(!(W=K[L]))return this;if(W===q||W.listener===q)--this._eventsCount==0?this._events=i(null):(delete K[L],K.removeListener&amp;&amp;this.emit(&quot;removeListener&quot;,L,W.listener||q));else if(typeof W!=&quot;function&quot;){for(U=-1,P=W.length-1;P&gt;=0;P--)if(W[P]===q||W[P].listener===q){D=W[P].listener,U=P;break}if(U&lt;0)return this;U===0?W.shift():(function(E,j){for(var k=j,S=k+1,N=E.length;S&lt;N;k+=1,S+=1)E[k]=E[S];E.pop()})(W,U),W.length===1&amp;&amp;(K[L]=W[0]),K.removeListener&amp;&amp;this.emit(&quot;removeListener&quot;,L,D||q)}return this},o.prototype.removeAllListeners=function(L){var q,W,K;if(!(W=this._events))return this;if(!W.removeListener)return arguments.length===0?(this._events=i(null),this._eventsCount=0):W[L]&amp;&amp;(--this._eventsCount==0?this._events=i(null):delete W[L]),this;if(arguments.length===0){var U,P=a(W);for(K=0;K&lt;P.length;++K)(U=P[K])!==&quot;removeListener&quot;&amp;&amp;this.removeAllListeners(U);return this.removeAllListeners(&quot;removeListener&quot;),this._events=i(null),this._eventsCount=0,this}if(typeof(q=W[L])==&quot;function&quot;)this.removeListener(L,q);else if(q)for(K=q.length-1;K&gt;=0;K--)this.removeListener(L,q[K]);return this},o.prototype.listeners=function(L){return O(this,L,!0)},o.prototype.rawListeners=function(L){return O(this,L,!1)},o.listenerCount=function(L,q){return typeof L.listenerCount==&quot;function&quot;?L.listenerCount(q):R.call(L,q)},o.prototype.listenerCount=R,o.prototype.eventNames=function(){return this._eventsCount&gt;0?Reflect.ownKeys(this._events):[]}},{}],423:[function(t,n,l){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;md5.js&quot;);n.exports=function(u,o,s,c){if(i.isBuffer(u)||(u=i.from(u,&quot;binary&quot;)),o&amp;&amp;(i.isBuffer(o)||(o=i.from(o,&quot;binary&quot;)),o.length!==8))throw new RangeError(&quot;salt should be Buffer with 8 byte length&quot;);for(var f=s/8,h=i.alloc(f),m=i.alloc(c||0),p=i.alloc(0);f&gt;0||c&gt;0;){var v=new a;v.update(p),v.update(u),o&amp;&amp;v.update(o),p=v.digest();var g=0;if(f&gt;0){var b=h.length-f;g=Math.min(f,p.length),p.copy(h,b,0,g),f-=g}if(g&lt;p.length&amp;&amp;c&gt;0){var x=m.length-c,_=Math.min(c,p.length-g);p.copy(m,x,g,g+_),c-=_}}return p.fill(0),{key:h,iv:m}}},{&quot;md5.js&quot;:450,&quot;safe-buffer&quot;:494}],424:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.CsvParserStream=l.ParserOptions=l.parseFile=l.parseStream=l.parseString=l.parse=l.FormatterOptions=l.CsvFormatterStream=l.writeToPath=l.writeToString=l.writeToBuffer=l.writeToStream=l.write=l.format=void 0;var i=t(&quot;@fast-csv/format&quot;);Object.defineProperty(l,&quot;format&quot;,{enumerable:!0,get:function(){return i.format}}),Object.defineProperty(l,&quot;write&quot;,{enumerable:!0,get:function(){return i.write}}),Object.defineProperty(l,&quot;writeToStream&quot;,{enumerable:!0,get:function(){return i.writeToStream}}),Object.defineProperty(l,&quot;writeToBuffer&quot;,{enumerable:!0,get:function(){return i.writeToBuffer}}),Object.defineProperty(l,&quot;writeToString&quot;,{enumerable:!0,get:function(){return i.writeToString}}),Object.defineProperty(l,&quot;writeToPath&quot;,{enumerable:!0,get:function(){return i.writeToPath}}),Object.defineProperty(l,&quot;CsvFormatterStream&quot;,{enumerable:!0,get:function(){return i.CsvFormatterStream}}),Object.defineProperty(l,&quot;FormatterOptions&quot;,{enumerable:!0,get:function(){return i.FormatterOptions}});var a=t(&quot;@fast-csv/parse&quot;);Object.defineProperty(l,&quot;parse&quot;,{enumerable:!0,get:function(){return a.parse}}),Object.defineProperty(l,&quot;parseString&quot;,{enumerable:!0,get:function(){return a.parseString}}),Object.defineProperty(l,&quot;parseStream&quot;,{enumerable:!0,get:function(){return a.parseStream}}),Object.defineProperty(l,&quot;parseFile&quot;,{enumerable:!0,get:function(){return a.parseFile}}),Object.defineProperty(l,&quot;ParserOptions&quot;,{enumerable:!0,get:function(){return a.ParserOptions}}),Object.defineProperty(l,&quot;CsvParserStream&quot;,{enumerable:!0,get:function(){return a.CsvParserStream}})},{&quot;@fast-csv/format&quot;:151,&quot;@fast-csv/parse&quot;:155}],425:[function(t,n,l){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;readable-stream&quot;).Transform;function u(o){a.call(this),this._block=i.allocUnsafe(o),this._blockSize=o,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}t(&quot;inherits&quot;)(u,a),u.prototype._transform=function(o,s,c){var f=null;try{this.update(o,s)}catch(h){f=h}c(f)},u.prototype._flush=function(o){var s=null;try{this.push(this.digest())}catch(c){s=c}o(s)},u.prototype.update=function(o,s){if((function(v,g){if(!i.isBuffer(v)&amp;&amp;typeof v!=&quot;string&quot;)throw new TypeError(g+&quot; must be a string or a buffer&quot;)})(o,&quot;Data&quot;),this._finalized)throw new Error(&quot;Digest already called&quot;);i.isBuffer(o)||(o=i.from(o,s));for(var c=this._block,f=0;this._blockOffset+o.length-f&gt;=this._blockSize;){for(var h=this._blockOffset;h&lt;this._blockSize;)c[h++]=o[f++];this._update(),this._blockOffset=0}for(;f&lt;o.length;)c[this._blockOffset++]=o[f++];for(var m=0,p=8*o.length;p&gt;0;++m)this._length[m]+=p,(p=this._length[m]/4294967296|0)&gt;0&amp;&amp;(this._length[m]-=4294967296*p);return this},u.prototype._update=function(){throw new Error(&quot;_update is not implemented&quot;)},u.prototype.digest=function(o){if(this._finalized)throw new Error(&quot;Digest already called&quot;);this._finalized=!0;var s=this._digest();o!==void 0&amp;&amp;(s=s.toString(o)),this._block.fill(0),this._blockOffset=0;for(var c=0;c&lt;4;++c)this._length[c]=0;return s},u.prototype._digest=function(){throw new Error(&quot;_digest is not implemented&quot;)},n.exports=u},{inherits:440,&quot;readable-stream&quot;:491,&quot;safe-buffer&quot;:494}],426:[function(t,n,l){var i=l;i.utils=t(&quot;./hash/utils&quot;),i.common=t(&quot;./hash/common&quot;),i.sha=t(&quot;./hash/sha&quot;),i.ripemd=t(&quot;./hash/ripemd&quot;),i.hmac=t(&quot;./hash/hmac&quot;),i.sha1=i.sha.sha1,i.sha256=i.sha.sha256,i.sha224=i.sha.sha224,i.sha384=i.sha.sha384,i.sha512=i.sha.sha512,i.ripemd160=i.ripemd.ripemd160},{&quot;./hash/common&quot;:427,&quot;./hash/hmac&quot;:428,&quot;./hash/ripemd&quot;:429,&quot;./hash/sha&quot;:430,&quot;./hash/utils&quot;:437}],427:[function(t,n,l){var i=t(&quot;./utils&quot;),a=t(&quot;minimalistic-assert&quot;);function u(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian=&quot;big&quot;,this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}l.BlockHash=u,u.prototype.update=function(o,s){if(o=i.toArray(o,s),this.pending?this.pending=this.pending.concat(o):this.pending=o,this.pendingTotal+=o.length,this.pending.length&gt;=this._delta8){var c=(o=this.pending).length%this._delta8;this.pending=o.slice(o.length-c,o.length),this.pending.length===0&amp;&amp;(this.pending=null),o=i.join32(o,0,o.length-c,this.endian);for(var f=0;f&lt;o.length;f+=this._delta32)this._update(o,f,f+this._delta32)}return this},u.prototype.digest=function(o){return this.update(this._pad()),a(this.pending===null),this._digest(o)},u.prototype._pad=function(){var o=this.pendingTotal,s=this._delta8,c=s-(o+this.padLength)%s,f=new Array(c+this.padLength);f[0]=128;for(var h=1;h&lt;c;h++)f[h]=0;if(o&lt;&lt;=3,this.endian===&quot;big&quot;){for(var m=8;m&lt;this.padLength;m++)f[h++]=0;f[h++]=0,f[h++]=0,f[h++]=0,f[h++]=0,f[h++]=o&gt;&gt;&gt;24&amp;255,f[h++]=o&gt;&gt;&gt;16&amp;255,f[h++]=o&gt;&gt;&gt;8&amp;255,f[h++]=255&amp;o}else for(f[h++]=255&amp;o,f[h++]=o&gt;&gt;&gt;8&amp;255,f[h++]=o&gt;&gt;&gt;16&amp;255,f[h++]=o&gt;&gt;&gt;24&amp;255,f[h++]=0,f[h++]=0,f[h++]=0,f[h++]=0,m=8;m&lt;this.padLength;m++)f[h++]=0;return f}},{&quot;./utils&quot;:437,&quot;minimalistic-assert&quot;:453}],428:[function(t,n,l){var i=t(&quot;./utils&quot;),a=t(&quot;minimalistic-assert&quot;);function u(o,s,c){if(!(this instanceof u))return new u(o,s,c);this.Hash=o,this.blockSize=o.blockSize/8,this.outSize=o.outSize/8,this.inner=null,this.outer=null,this._init(i.toArray(s,c))}n.exports=u,u.prototype._init=function(o){o.length&gt;this.blockSize&amp;&amp;(o=new this.Hash().update(o).digest()),a(o.length&lt;=this.blockSize);for(var s=o.length;s&lt;this.blockSize;s++)o.push(0);for(s=0;s&lt;o.length;s++)o[s]^=54;for(this.inner=new this.Hash().update(o),s=0;s&lt;o.length;s++)o[s]^=106;this.outer=new this.Hash().update(o)},u.prototype.update=function(o,s){return this.inner.update(o,s),this},u.prototype.digest=function(o){return this.outer.update(this.inner.digest()),this.outer.digest(o)}},{&quot;./utils&quot;:437,&quot;minimalistic-assert&quot;:453}],429:[function(t,n,l){var i=t(&quot;./utils&quot;),a=t(&quot;./common&quot;),u=i.rotl32,o=i.sum32,s=i.sum32_3,c=i.sum32_4,f=a.BlockHash;function h(){if(!(this instanceof h))return new h;f.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian=&quot;little&quot;}function m(C,O,R,H){return C&lt;=15?O^R^H:C&lt;=31?O&amp;R|~O&amp;H:C&lt;=47?(O|~R)^H:C&lt;=63?O&amp;H|R&amp;~H:O^(R|~H)}function p(C){return C&lt;=15?0:C&lt;=31?1518500249:C&lt;=47?1859775393:C&lt;=63?2400959708:2840853838}function v(C){return C&lt;=15?1352829926:C&lt;=31?1548603684:C&lt;=47?1836072691:C&lt;=63?2053994217:0}i.inherits(h,f),l.ripemd160=h,h.blockSize=512,h.outSize=160,h.hmacStrength=192,h.padLength=64,h.prototype._update=function(C,O){for(var R=this.h[0],H=this.h[1],L=this.h[2],q=this.h[3],W=this.h[4],K=R,U=H,P=L,D=q,E=W,j=0;j&lt;80;j++){var k=o(u(c(R,m(j,H,L,q),C[g[j]+O],p(j)),x[j]),W);R=W,W=q,q=u(L,10),L=H,H=k,k=o(u(c(K,m(79-j,U,P,D),C[b[j]+O],v(j)),_[j]),E),K=E,E=D,D=u(P,10),P=U,U=k}k=s(this.h[1],L,D),this.h[1]=s(this.h[2],q,E),this.h[2]=s(this.h[3],W,K),this.h[3]=s(this.h[4],R,U),this.h[4]=s(this.h[0],H,P),this.h[0]=k},h.prototype._digest=function(C){return C===&quot;hex&quot;?i.toHex32(this.h,&quot;little&quot;):i.split32(this.h,&quot;little&quot;)};var g=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],b=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],x=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],_=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},{&quot;./common&quot;:427,&quot;./utils&quot;:437}],430:[function(t,n,l){l.sha1=t(&quot;./sha/1&quot;),l.sha224=t(&quot;./sha/224&quot;),l.sha256=t(&quot;./sha/256&quot;),l.sha384=t(&quot;./sha/384&quot;),l.sha512=t(&quot;./sha/512&quot;)},{&quot;./sha/1&quot;:431,&quot;./sha/224&quot;:432,&quot;./sha/256&quot;:433,&quot;./sha/384&quot;:434,&quot;./sha/512&quot;:435}],431:[function(t,n,l){var i=t(&quot;../utils&quot;),a=t(&quot;../common&quot;),u=t(&quot;./common&quot;),o=i.rotl32,s=i.sum32,c=i.sum32_5,f=u.ft_1,h=a.BlockHash,m=[1518500249,1859775393,2400959708,3395469782];function p(){if(!(this instanceof p))return new p;h.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}i.inherits(p,h),n.exports=p,p.blockSize=512,p.outSize=160,p.hmacStrength=80,p.padLength=64,p.prototype._update=function(v,g){for(var b=this.W,x=0;x&lt;16;x++)b[x]=v[g+x];for(;x&lt;b.length;x++)b[x]=o(b[x-3]^b[x-8]^b[x-14]^b[x-16],1);var _=this.h[0],C=this.h[1],O=this.h[2],R=this.h[3],H=this.h[4];for(x=0;x&lt;b.length;x++){var L=~~(x/20),q=c(o(_,5),f(L,C,O,R),H,b[x],m[L]);H=R,R=O,O=o(C,30),C=_,_=q}this.h[0]=s(this.h[0],_),this.h[1]=s(this.h[1],C),this.h[2]=s(this.h[2],O),this.h[3]=s(this.h[3],R),this.h[4]=s(this.h[4],H)},p.prototype._digest=function(v){return v===&quot;hex&quot;?i.toHex32(this.h,&quot;big&quot;):i.split32(this.h,&quot;big&quot;)}},{&quot;../common&quot;:427,&quot;../utils&quot;:437,&quot;./common&quot;:436}],432:[function(t,n,l){var i=t(&quot;../utils&quot;),a=t(&quot;./256&quot;);function u(){if(!(this instanceof u))return new u;a.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}i.inherits(u,a),n.exports=u,u.blockSize=512,u.outSize=224,u.hmacStrength=192,u.padLength=64,u.prototype._digest=function(o){return o===&quot;hex&quot;?i.toHex32(this.h.slice(0,7),&quot;big&quot;):i.split32(this.h.slice(0,7),&quot;big&quot;)}},{&quot;../utils&quot;:437,&quot;./256&quot;:433}],433:[function(t,n,l){var i=t(&quot;../utils&quot;),a=t(&quot;../common&quot;),u=t(&quot;./common&quot;),o=t(&quot;minimalistic-assert&quot;),s=i.sum32,c=i.sum32_4,f=i.sum32_5,h=u.ch32,m=u.maj32,p=u.s0_256,v=u.s1_256,g=u.g0_256,b=u.g1_256,x=a.BlockHash,_=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function C(){if(!(this instanceof C))return new C;x.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=_,this.W=new Array(64)}i.inherits(C,x),n.exports=C,C.blockSize=512,C.outSize=256,C.hmacStrength=192,C.padLength=64,C.prototype._update=function(O,R){for(var H=this.W,L=0;L&lt;16;L++)H[L]=O[R+L];for(;L&lt;H.length;L++)H[L]=c(b(H[L-2]),H[L-7],g(H[L-15]),H[L-16]);var q=this.h[0],W=this.h[1],K=this.h[2],U=this.h[3],P=this.h[4],D=this.h[5],E=this.h[6],j=this.h[7];for(o(this.k.length===H.length),L=0;L&lt;H.length;L++){var k=f(j,v(P),h(P,D,E),this.k[L],H[L]),S=s(p(q),m(q,W,K));j=E,E=D,D=P,P=s(U,k),U=K,K=W,W=q,q=s(k,S)}this.h[0]=s(this.h[0],q),this.h[1]=s(this.h[1],W),this.h[2]=s(this.h[2],K),this.h[3]=s(this.h[3],U),this.h[4]=s(this.h[4],P),this.h[5]=s(this.h[5],D),this.h[6]=s(this.h[6],E),this.h[7]=s(this.h[7],j)},C.prototype._digest=function(O){return O===&quot;hex&quot;?i.toHex32(this.h,&quot;big&quot;):i.split32(this.h,&quot;big&quot;)}},{&quot;../common&quot;:427,&quot;../utils&quot;:437,&quot;./common&quot;:436,&quot;minimalistic-assert&quot;:453}],434:[function(t,n,l){var i=t(&quot;../utils&quot;),a=t(&quot;./512&quot;);function u(){if(!(this instanceof u))return new u;a.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}i.inherits(u,a),n.exports=u,u.blockSize=1024,u.outSize=384,u.hmacStrength=192,u.padLength=128,u.prototype._digest=function(o){return o===&quot;hex&quot;?i.toHex32(this.h.slice(0,12),&quot;big&quot;):i.split32(this.h.slice(0,12),&quot;big&quot;)}},{&quot;../utils&quot;:437,&quot;./512&quot;:435}],435:[function(t,n,l){var i=t(&quot;../utils&quot;),a=t(&quot;../common&quot;),u=t(&quot;minimalistic-assert&quot;),o=i.rotr64_hi,s=i.rotr64_lo,c=i.shr64_hi,f=i.shr64_lo,h=i.sum64,m=i.sum64_hi,p=i.sum64_lo,v=i.sum64_4_hi,g=i.sum64_4_lo,b=i.sum64_5_hi,x=i.sum64_5_lo,_=a.BlockHash,C=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function O(){if(!(this instanceof O))return new O;_.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=C,this.W=new Array(160)}function R(S,N,M,I,B){var Y=S&amp;M^~S&amp;B;return Y&lt;0&amp;&amp;(Y+=4294967296),Y}function H(S,N,M,I,B,Y){var Z=N&amp;I^~N&amp;Y;return Z&lt;0&amp;&amp;(Z+=4294967296),Z}function L(S,N,M,I,B){var Y=S&amp;M^S&amp;B^M&amp;B;return Y&lt;0&amp;&amp;(Y+=4294967296),Y}function q(S,N,M,I,B,Y){var Z=N&amp;I^N&amp;Y^I&amp;Y;return Z&lt;0&amp;&amp;(Z+=4294967296),Z}function W(S,N){var M=o(S,N,28)^o(N,S,2)^o(N,S,7);return M&lt;0&amp;&amp;(M+=4294967296),M}function K(S,N){var M=s(S,N,28)^s(N,S,2)^s(N,S,7);return M&lt;0&amp;&amp;(M+=4294967296),M}function U(S,N){var M=o(S,N,14)^o(S,N,18)^o(N,S,9);return M&lt;0&amp;&amp;(M+=4294967296),M}function P(S,N){var M=s(S,N,14)^s(S,N,18)^s(N,S,9);return M&lt;0&amp;&amp;(M+=4294967296),M}function D(S,N){var M=o(S,N,1)^o(S,N,8)^c(S,N,7);return M&lt;0&amp;&amp;(M+=4294967296),M}function E(S,N){var M=s(S,N,1)^s(S,N,8)^f(S,N,7);return M&lt;0&amp;&amp;(M+=4294967296),M}function j(S,N){var M=o(S,N,19)^o(N,S,29)^c(S,N,6);return M&lt;0&amp;&amp;(M+=4294967296),M}function k(S,N){var M=s(S,N,19)^s(N,S,29)^f(S,N,6);return M&lt;0&amp;&amp;(M+=4294967296),M}i.inherits(O,_),n.exports=O,O.blockSize=1024,O.outSize=512,O.hmacStrength=192,O.padLength=128,O.prototype._prepareBlock=function(S,N){for(var M=this.W,I=0;I&lt;32;I++)M[I]=S[N+I];for(;I&lt;M.length;I+=2){var B=j(M[I-4],M[I-3]),Y=k(M[I-4],M[I-3]),Z=M[I-14],ie=M[I-13],$=D(M[I-30],M[I-29]),ee=E(M[I-30],M[I-29]),z=M[I-32],T=M[I-31];M[I]=v(B,Y,Z,ie,$,ee,z,T),M[I+1]=g(B,Y,Z,ie,$,ee,z,T)}},O.prototype._update=function(S,N){this._prepareBlock(S,N);var M=this.W,I=this.h[0],B=this.h[1],Y=this.h[2],Z=this.h[3],ie=this.h[4],$=this.h[5],ee=this.h[6],z=this.h[7],T=this.h[8],X=this.h[9],re=this.h[10],ne=this.h[11],Q=this.h[12],te=this.h[13],de=this.h[14],oe=this.h[15];u(this.k.length===M.length);for(var se=0;se&lt;M.length;se+=2){var fe=de,he=oe,ce=U(T,X),ge=P(T,X),ye=R(T,X,re,ne,Q),pe=H(T,X,re,ne,Q,te),le=this.k[se],Ce=this.k[se+1],Ae=M[se],je=M[se+1],Pe=b(fe,he,ce,ge,ye,pe,le,Ce,Ae,je),Qe=x(fe,he,ce,ge,ye,pe,le,Ce,Ae,je);fe=W(I,B),he=K(I,B),ce=L(I,B,Y,Z,ie),ge=q(I,B,Y,Z,ie,$);var Ue=m(fe,he,ce,ge),Xe=p(fe,he,ce,ge);de=Q,oe=te,Q=re,te=ne,re=T,ne=X,T=m(ee,z,Pe,Qe),X=p(z,z,Pe,Qe),ee=ie,z=$,ie=Y,$=Z,Y=I,Z=B,I=m(Pe,Qe,Ue,Xe),B=p(Pe,Qe,Ue,Xe)}h(this.h,0,I,B),h(this.h,2,Y,Z),h(this.h,4,ie,$),h(this.h,6,ee,z),h(this.h,8,T,X),h(this.h,10,re,ne),h(this.h,12,Q,te),h(this.h,14,de,oe)},O.prototype._digest=function(S){return S===&quot;hex&quot;?i.toHex32(this.h,&quot;big&quot;):i.split32(this.h,&quot;big&quot;)}},{&quot;../common&quot;:427,&quot;../utils&quot;:437,&quot;minimalistic-assert&quot;:453}],436:[function(t,n,l){var i=t(&quot;../utils&quot;).rotr32;function a(s,c,f){return s&amp;c^~s&amp;f}function u(s,c,f){return s&amp;c^s&amp;f^c&amp;f}function o(s,c,f){return s^c^f}l.ft_1=function(s,c,f,h){return s===0?a(c,f,h):s===1||s===3?o(c,f,h):s===2?u(c,f,h):void 0},l.ch32=a,l.maj32=u,l.p32=o,l.s0_256=function(s){return i(s,2)^i(s,13)^i(s,22)},l.s1_256=function(s){return i(s,6)^i(s,11)^i(s,25)},l.g0_256=function(s){return i(s,7)^i(s,18)^s&gt;&gt;&gt;3},l.g1_256=function(s){return i(s,17)^i(s,19)^s&gt;&gt;&gt;10}},{&quot;../utils&quot;:437}],437:[function(t,n,l){var i=t(&quot;minimalistic-assert&quot;),a=t(&quot;inherits&quot;);function u(f,h){return(64512&amp;f.charCodeAt(h))==55296&amp;&amp;!(h&lt;0||h+1&gt;=f.length)&amp;&amp;(64512&amp;f.charCodeAt(h+1))==56320}function o(f){return(f&gt;&gt;&gt;24|f&gt;&gt;&gt;8&amp;65280|f&lt;&lt;8&amp;16711680|(255&amp;f)&lt;&lt;24)&gt;&gt;&gt;0}function s(f){return f.length===1?&quot;0&quot;+f:f}function c(f){return f.length===7?&quot;0&quot;+f:f.length===6?&quot;00&quot;+f:f.length===5?&quot;000&quot;+f:f.length===4?&quot;0000&quot;+f:f.length===3?&quot;00000&quot;+f:f.length===2?&quot;000000&quot;+f:f.length===1?&quot;0000000&quot;+f:f}l.inherits=a,l.toArray=function(f,h){if(Array.isArray(f))return f.slice();if(!f)return[];var m=[];if(typeof f==&quot;string&quot;)if(h){if(h===&quot;hex&quot;)for((f=f.replace(/[^a-z0-9]+/gi,&quot;&quot;)).length%2!=0&amp;&amp;(f=&quot;0&quot;+f),v=0;v&lt;f.length;v+=2)m.push(parseInt(f[v]+f[v+1],16))}else for(var p=0,v=0;v&lt;f.length;v++){var g=f.charCodeAt(v);g&lt;128?m[p++]=g:g&lt;2048?(m[p++]=g&gt;&gt;6|192,m[p++]=63&amp;g|128):u(f,v)?(g=65536+((1023&amp;g)&lt;&lt;10)+(1023&amp;f.charCodeAt(++v)),m[p++]=g&gt;&gt;18|240,m[p++]=g&gt;&gt;12&amp;63|128,m[p++]=g&gt;&gt;6&amp;63|128,m[p++]=63&amp;g|128):(m[p++]=g&gt;&gt;12|224,m[p++]=g&gt;&gt;6&amp;63|128,m[p++]=63&amp;g|128)}else for(v=0;v&lt;f.length;v++)m[v]=0|f[v];return m},l.toHex=function(f){for(var h=&quot;&quot;,m=0;m&lt;f.length;m++)h+=s(f[m].toString(16));return h},l.htonl=o,l.toHex32=function(f,h){for(var m=&quot;&quot;,p=0;p&lt;f.length;p++){var v=f[p];h===&quot;little&quot;&amp;&amp;(v=o(v)),m+=c(v.toString(16))}return m},l.zero2=s,l.zero8=c,l.join32=function(f,h,m,p){var v=m-h;i(v%4==0);for(var g=new Array(v/4),b=0,x=h;b&lt;g.length;b++,x+=4){var _;_=p===&quot;big&quot;?f[x]&lt;&lt;24|f[x+1]&lt;&lt;16|f[x+2]&lt;&lt;8|f[x+3]:f[x+3]&lt;&lt;24|f[x+2]&lt;&lt;16|f[x+1]&lt;&lt;8|f[x],g[b]=_&gt;&gt;&gt;0}return g},l.split32=function(f,h){for(var m=new Array(4*f.length),p=0,v=0;p&lt;f.length;p++,v+=4){var g=f[p];h===&quot;big&quot;?(m[v]=g&gt;&gt;&gt;24,m[v+1]=g&gt;&gt;&gt;16&amp;255,m[v+2]=g&gt;&gt;&gt;8&amp;255,m[v+3]=255&amp;g):(m[v+3]=g&gt;&gt;&gt;24,m[v+2]=g&gt;&gt;&gt;16&amp;255,m[v+1]=g&gt;&gt;&gt;8&amp;255,m[v]=255&amp;g)}return m},l.rotr32=function(f,h){return f&gt;&gt;&gt;h|f&lt;&lt;32-h},l.rotl32=function(f,h){return f&lt;&lt;h|f&gt;&gt;&gt;32-h},l.sum32=function(f,h){return f+h&gt;&gt;&gt;0},l.sum32_3=function(f,h,m){return f+h+m&gt;&gt;&gt;0},l.sum32_4=function(f,h,m,p){return f+h+m+p&gt;&gt;&gt;0},l.sum32_5=function(f,h,m,p,v){return f+h+m+p+v&gt;&gt;&gt;0},l.sum64=function(f,h,m,p){var v=f[h],g=p+f[h+1]&gt;&gt;&gt;0,b=(g&lt;p?1:0)+m+v;f[h]=b&gt;&gt;&gt;0,f[h+1]=g},l.sum64_hi=function(f,h,m,p){return(h+p&gt;&gt;&gt;0&lt;h?1:0)+f+m&gt;&gt;&gt;0},l.sum64_lo=function(f,h,m,p){return h+p&gt;&gt;&gt;0},l.sum64_4_hi=function(f,h,m,p,v,g,b,x){var _=0,C=h;return _+=(C=C+p&gt;&gt;&gt;0)&lt;h?1:0,_+=(C=C+g&gt;&gt;&gt;0)&lt;g?1:0,f+m+v+b+(_+=(C=C+x&gt;&gt;&gt;0)&lt;x?1:0)&gt;&gt;&gt;0},l.sum64_4_lo=function(f,h,m,p,v,g,b,x){return h+p+g+x&gt;&gt;&gt;0},l.sum64_5_hi=function(f,h,m,p,v,g,b,x,_,C){var O=0,R=h;return O+=(R=R+p&gt;&gt;&gt;0)&lt;h?1:0,O+=(R=R+g&gt;&gt;&gt;0)&lt;g?1:0,O+=(R=R+x&gt;&gt;&gt;0)&lt;x?1:0,f+m+v+b+_+(O+=(R=R+C&gt;&gt;&gt;0)&lt;C?1:0)&gt;&gt;&gt;0},l.sum64_5_lo=function(f,h,m,p,v,g,b,x,_,C){return h+p+g+x+C&gt;&gt;&gt;0},l.rotr64_hi=function(f,h,m){return(h&lt;&lt;32-m|f&gt;&gt;&gt;m)&gt;&gt;&gt;0},l.rotr64_lo=function(f,h,m){return(f&lt;&lt;32-m|h&gt;&gt;&gt;m)&gt;&gt;&gt;0},l.shr64_hi=function(f,h,m){return f&gt;&gt;&gt;m},l.shr64_lo=function(f,h,m){return(f&lt;&lt;32-m|h&gt;&gt;&gt;m)&gt;&gt;&gt;0}},{inherits:440,&quot;minimalistic-assert&quot;:453}],438:[function(t,n,l){var i=t(&quot;hash.js&quot;),a=t(&quot;minimalistic-crypto-utils&quot;),u=t(&quot;minimalistic-assert&quot;);function o(s){if(!(this instanceof o))return new o(s);this.hash=s.hash,this.predResist=!!s.predResist,this.outLen=this.hash.outSize,this.minEntropy=s.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var c=a.toArray(s.entropy,s.entropyEnc||&quot;hex&quot;),f=a.toArray(s.nonce,s.nonceEnc||&quot;hex&quot;),h=a.toArray(s.pers,s.persEnc||&quot;hex&quot;);u(c.length&gt;=this.minEntropy/8,&quot;Not enough entropy. Minimum is: &quot;+this.minEntropy+&quot; bits&quot;),this._init(c,f,h)}n.exports=o,o.prototype._init=function(s,c,f){var h=s.concat(c).concat(f);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var m=0;m&lt;this.V.length;m++)this.K[m]=0,this.V[m]=1;this._update(h),this._reseed=1,this.reseedInterval=281474976710656},o.prototype._hmac=function(){return new i.hmac(this.hash,this.K)},o.prototype._update=function(s){var c=this._hmac().update(this.V).update([0]);s&amp;&amp;(c=c.update(s)),this.K=c.digest(),this.V=this._hmac().update(this.V).digest(),s&amp;&amp;(this.K=this._hmac().update(this.V).update([1]).update(s).digest(),this.V=this._hmac().update(this.V).digest())},o.prototype.reseed=function(s,c,f,h){typeof c!=&quot;string&quot;&amp;&amp;(h=f,f=c,c=null),s=a.toArray(s,c),f=a.toArray(f,h),u(s.length&gt;=this.minEntropy/8,&quot;Not enough entropy. Minimum is: &quot;+this.minEntropy+&quot; bits&quot;),this._update(s.concat(f||[])),this._reseed=1},o.prototype.generate=function(s,c,f,h){if(this._reseed&gt;this.reseedInterval)throw new Error(&quot;Reseed is required&quot;);typeof c!=&quot;string&quot;&amp;&amp;(h=f,f=c,c=null),f&amp;&amp;(f=a.toArray(f,h||&quot;hex&quot;),this._update(f));for(var m=[];m.length&lt;s;)this.V=this._hmac().update(this.V).digest(),m=m.concat(this.V);var p=m.slice(0,s);return this._update(f),this._reseed++,a.encode(p,c)}},{&quot;hash.js&quot;:426,&quot;minimalistic-assert&quot;:453,&quot;minimalistic-crypto-utils&quot;:454}],439:[function(t,n,l){l.read=function(i,a,u,o,s){var c,f,h=8*s-o-1,m=(1&lt;&lt;h)-1,p=m&gt;&gt;1,v=-7,g=u?s-1:0,b=u?-1:1,x=i[a+g];for(g+=b,c=x&amp;(1&lt;&lt;-v)-1,x&gt;&gt;=-v,v+=h;v&gt;0;c=256*c+i[a+g],g+=b,v-=8);for(f=c&amp;(1&lt;&lt;-v)-1,c&gt;&gt;=-v,v+=o;v&gt;0;f=256*f+i[a+g],g+=b,v-=8);if(c===0)c=1-p;else{if(c===m)return f?NaN:1/0*(x?-1:1);f+=Math.pow(2,o),c-=p}return(x?-1:1)*f*Math.pow(2,c-o)},l.write=function(i,a,u,o,s,c){var f,h,m,p=8*c-s-1,v=(1&lt;&lt;p)-1,g=v&gt;&gt;1,b=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=o?0:c-1,_=o?1:-1,C=a&lt;0||a===0&amp;&amp;1/a&lt;0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(h=isNaN(a)?1:0,f=v):(f=Math.floor(Math.log(a)/Math.LN2),a*(m=Math.pow(2,-f))&lt;1&amp;&amp;(f--,m*=2),(a+=f+g&gt;=1?b/m:b*Math.pow(2,1-g))*m&gt;=2&amp;&amp;(f++,m/=2),f+g&gt;=v?(h=0,f=v):f+g&gt;=1?(h=(a*m-1)*Math.pow(2,s),f+=g):(h=a*Math.pow(2,g-1)*Math.pow(2,s),f=0));s&gt;=8;i[u+x]=255&amp;h,x+=_,h/=256,s-=8);for(f=f&lt;&lt;s|h,p+=s;p&gt;0;i[u+x]=255&amp;f,x+=_,f/=256,p-=8);i[u+x-_]|=128*C}},{}],440:[function(t,n,l){typeof Object.create==&quot;function&quot;?n.exports=function(i,a){a&amp;&amp;(i.super_=a,i.prototype=Object.create(a.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}))}:n.exports=function(i,a){if(a){i.super_=a;var u=function(){};u.prototype=a.prototype,i.prototype=new u,i.prototype.constructor=i}}},{}],441:[function(t,n,l){(function(i,a,u,o,s,c,f,h){(function(){(function(m){typeof l==&quot;object&quot;&amp;&amp;n!==void 0?n.exports=m():(typeof window&lt;&quot;u&quot;?window:a!==void 0?a:typeof self&lt;&quot;u&quot;?self:this).JSZip=m()})((function(){return(function m(p,v,g){function b(C,O){if(!v[C]){if(!p[C]){var R=typeof t==&quot;function&quot;&amp;&amp;t;if(!O&amp;&amp;R)return R(C,!0);if(x)return x(C,!0);var H=new Error(&quot;Cannot find module &#039;&quot;+C+&quot;&#039;&quot;);throw H.code=&quot;MODULE_NOT_FOUND&quot;,H}var L=v[C]={exports:{}};p[C][0].call(L.exports,(function(q){return b(p[C][1][q]||q)}),L,L.exports,m,p,v,g)}return v[C].exports}for(var x=typeof t==&quot;function&quot;&amp;&amp;t,_=0;_&lt;g.length;_++)b(g[_]);return b})({1:[function(m,p,v){var g=m(&quot;./utils&quot;),b=m(&quot;./support&quot;),x=&quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=&quot;;v.encode=function(_){for(var C,O,R,H,L,q,W,K=[],U=0,P=_.length,D=P,E=g.getTypeOf(_)!==&quot;string&quot;;U&lt;_.length;)D=P-U,R=E?(C=_[U++],O=U&lt;P?_[U++]:0,U&lt;P?_[U++]:0):(C=_.charCodeAt(U++),O=U&lt;P?_.charCodeAt(U++):0,U&lt;P?_.charCodeAt(U++):0),H=C&gt;&gt;2,L=(3&amp;C)&lt;&lt;4|O&gt;&gt;4,q=1&lt;D?(15&amp;O)&lt;&lt;2|R&gt;&gt;6:64,W=2&lt;D?63&amp;R:64,K.push(x.charAt(H)+x.charAt(L)+x.charAt(q)+x.charAt(W));return K.join(&quot;&quot;)},v.decode=function(_){var C,O,R,H,L,q,W=0,K=0,U=&quot;data:&quot;;if(_.substr(0,U.length)===U)throw new Error(&quot;Invalid base64 input, it looks like a data url.&quot;);var P,D=3*(_=_.replace(/[^A-Za-z0-9+/=]/g,&quot;&quot;)).length/4;if(_.charAt(_.length-1)===x.charAt(64)&amp;&amp;D--,_.charAt(_.length-2)===x.charAt(64)&amp;&amp;D--,D%1!=0)throw new Error(&quot;Invalid base64 input, bad content length.&quot;);for(P=b.uint8array?new Uint8Array(0|D):new Array(0|D);W&lt;_.length;)C=x.indexOf(_.charAt(W++))&lt;&lt;2|(H=x.indexOf(_.charAt(W++)))&gt;&gt;4,O=(15&amp;H)&lt;&lt;4|(L=x.indexOf(_.charAt(W++)))&gt;&gt;2,R=(3&amp;L)&lt;&lt;6|(q=x.indexOf(_.charAt(W++))),P[K++]=C,L!==64&amp;&amp;(P[K++]=O),q!==64&amp;&amp;(P[K++]=R);return P}},{&quot;./support&quot;:30,&quot;./utils&quot;:32}],2:[function(m,p,v){var g=m(&quot;./external&quot;),b=m(&quot;./stream/DataWorker&quot;),x=m(&quot;./stream/Crc32Probe&quot;),_=m(&quot;./stream/DataLengthProbe&quot;);function C(O,R,H,L,q){this.compressedSize=O,this.uncompressedSize=R,this.crc32=H,this.compression=L,this.compressedContent=q}C.prototype={getContentWorker:function(){var O=new b(g.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new _(&quot;data_length&quot;)),R=this;return O.on(&quot;end&quot;,(function(){if(this.streamInfo.data_length!==R.uncompressedSize)throw new Error(&quot;Bug : uncompressed data size mismatch&quot;)})),O},getCompressedWorker:function(){return new b(g.Promise.resolve(this.compressedContent)).withStreamInfo(&quot;compressedSize&quot;,this.compressedSize).withStreamInfo(&quot;uncompressedSize&quot;,this.uncompressedSize).withStreamInfo(&quot;crc32&quot;,this.crc32).withStreamInfo(&quot;compression&quot;,this.compression)}},C.createWorkerFrom=function(O,R,H){return O.pipe(new x).pipe(new _(&quot;uncompressedSize&quot;)).pipe(R.compressWorker(H)).pipe(new _(&quot;compressedSize&quot;)).withStreamInfo(&quot;compression&quot;,R)},p.exports=C},{&quot;./external&quot;:6,&quot;./stream/Crc32Probe&quot;:25,&quot;./stream/DataLengthProbe&quot;:26,&quot;./stream/DataWorker&quot;:27}],3:[function(m,p,v){var g=m(&quot;./stream/GenericWorker&quot;);v.STORE={magic:&quot;\0\0&quot;,compressWorker:function(){return new g(&quot;STORE compression&quot;)},uncompressWorker:function(){return new g(&quot;STORE decompression&quot;)}},v.DEFLATE=m(&quot;./flate&quot;)},{&quot;./flate&quot;:7,&quot;./stream/GenericWorker&quot;:28}],4:[function(m,p,v){var g=m(&quot;./utils&quot;),b=(function(){for(var x,_=[],C=0;C&lt;256;C++){x=C;for(var O=0;O&lt;8;O++)x=1&amp;x?3988292384^x&gt;&gt;&gt;1:x&gt;&gt;&gt;1;_[C]=x}return _})();p.exports=function(x,_){return x!==void 0&amp;&amp;x.length?g.getTypeOf(x)!==&quot;string&quot;?(function(C,O,R,H){var L=b,q=0+R;C^=-1;for(var W=0;W&lt;q;W++)C=C&gt;&gt;&gt;8^L[255&amp;(C^O[W])];return-1^C})(0|_,x,x.length):(function(C,O,R,H){var L=b,q=0+R;C^=-1;for(var W=0;W&lt;q;W++)C=C&gt;&gt;&gt;8^L[255&amp;(C^O.charCodeAt(W))];return-1^C})(0|_,x,x.length):0}},{&quot;./utils&quot;:32}],5:[function(m,p,v){v.base64=!1,v.binary=!1,v.dir=!1,v.createFolders=!0,v.date=null,v.compression=null,v.compressionOptions=null,v.comment=null,v.unixPermissions=null,v.dosPermissions=null},{}],6:[function(m,p,v){var g;g=typeof Promise&lt;&quot;u&quot;?Promise:m(&quot;lie&quot;),p.exports={Promise:g}},{lie:37}],7:[function(m,p,v){var g=typeof Uint8Array&lt;&quot;u&quot;&amp;&amp;typeof Uint16Array&lt;&quot;u&quot;&amp;&amp;typeof Uint32Array&lt;&quot;u&quot;,b=m(&quot;pako&quot;),x=m(&quot;./utils&quot;),_=m(&quot;./stream/GenericWorker&quot;),C=g?&quot;uint8array&quot;:&quot;array&quot;;function O(R,H){_.call(this,&quot;FlateWorker/&quot;+R),this._pako=null,this._pakoAction=R,this._pakoOptions=H,this.meta={}}v.magic=&quot;\b\0&quot;,x.inherits(O,_),O.prototype.processChunk=function(R){this.meta=R.meta,this._pako===null&amp;&amp;this._createPako(),this._pako.push(x.transformTo(C,R.data),!1)},O.prototype.flush=function(){_.prototype.flush.call(this),this._pako===null&amp;&amp;this._createPako(),this._pako.push([],!0)},O.prototype.cleanUp=function(){_.prototype.cleanUp.call(this),this._pako=null},O.prototype._createPako=function(){this._pako=new b[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var R=this;this._pako.onData=function(H){R.push({data:H,meta:R.meta})}},v.compressWorker=function(R){return new O(&quot;Deflate&quot;,R)},v.uncompressWorker=function(){return new O(&quot;Inflate&quot;,{})}},{&quot;./stream/GenericWorker&quot;:28,&quot;./utils&quot;:32,pako:38}],8:[function(m,p,v){function g(L,q){var W,K=&quot;&quot;;for(W=0;W&lt;q;W++)K+=String.fromCharCode(255&amp;L),L&gt;&gt;&gt;=8;return K}function b(L,q,W,K,U,P){var D,E,j=L.file,k=L.compression,S=P!==C.utf8encode,N=x.transformTo(&quot;string&quot;,P(j.name)),M=x.transformTo(&quot;string&quot;,C.utf8encode(j.name)),I=j.comment,B=x.transformTo(&quot;string&quot;,P(I)),Y=x.transformTo(&quot;string&quot;,C.utf8encode(I)),Z=M.length!==j.name.length,ie=Y.length!==I.length,$=&quot;&quot;,ee=&quot;&quot;,z=&quot;&quot;,T=j.dir,X=j.date,re={crc32:0,compressedSize:0,uncompressedSize:0};q&amp;&amp;!W||(re.crc32=L.crc32,re.compressedSize=L.compressedSize,re.uncompressedSize=L.uncompressedSize);var ne=0;q&amp;&amp;(ne|=8),S||!Z&amp;&amp;!ie||(ne|=2048);var Q=0,te=0;T&amp;&amp;(Q|=16),U===&quot;UNIX&quot;?(te=798,Q|=(function(oe,se){var fe=oe;return oe||(fe=se?16893:33204),(65535&amp;fe)&lt;&lt;16})(j.unixPermissions,T)):(te=20,Q|=(function(oe){return 63&amp;(oe||0)})(j.dosPermissions)),D=X.getUTCHours(),D&lt;&lt;=6,D|=X.getUTCMinutes(),D&lt;&lt;=5,D|=X.getUTCSeconds()/2,E=X.getUTCFullYear()-1980,E&lt;&lt;=4,E|=X.getUTCMonth()+1,E&lt;&lt;=5,E|=X.getUTCDate(),Z&amp;&amp;(ee=g(1,1)+g(O(N),4)+M,$+=&quot;up&quot;+g(ee.length,2)+ee),ie&amp;&amp;(z=g(1,1)+g(O(B),4)+Y,$+=&quot;uc&quot;+g(z.length,2)+z);var de=&quot;&quot;;return de+=`
\0`,de+=g(ne,2),de+=k.magic,de+=g(D,2),de+=g(E,2),de+=g(re.crc32,4),de+=g(re.compressedSize,4),de+=g(re.uncompressedSize,4),de+=g(N.length,2),de+=g($.length,2),{fileRecord:R.LOCAL_FILE_HEADER+de+N+$,dirRecord:R.CENTRAL_FILE_HEADER+g(te,2)+de+g(B.length,2)+&quot;\0\0\0\0&quot;+g(Q,4)+g(K,4)+N+$+B}}var x=m(&quot;../utils&quot;),_=m(&quot;../stream/GenericWorker&quot;),C=m(&quot;../utf8&quot;),O=m(&quot;../crc32&quot;),R=m(&quot;../signature&quot;);function H(L,q,W,K){_.call(this,&quot;ZipFileWorker&quot;),this.bytesWritten=0,this.zipComment=q,this.zipPlatform=W,this.encodeFileName=K,this.streamFiles=L,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}x.inherits(H,_),H.prototype.push=function(L){var q=L.meta.percent||0,W=this.entriesCount,K=this._sources.length;this.accumulate?this.contentBuffer.push(L):(this.bytesWritten+=L.data.length,_.prototype.push.call(this,{data:L.data,meta:{currentFile:this.currentFile,percent:W?(q+100*(W-K-1))/W:100}}))},H.prototype.openedSource=function(L){this.currentSourceOffset=this.bytesWritten,this.currentFile=L.file.name;var q=this.streamFiles&amp;&amp;!L.file.dir;if(q){var W=b(L,q,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:W.fileRecord,meta:{percent:0}})}else this.accumulate=!0},H.prototype.closedSource=function(L){this.accumulate=!1;var q=this.streamFiles&amp;&amp;!L.file.dir,W=b(L,q,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(W.dirRecord),q)this.push({data:(function(K){return R.DATA_DESCRIPTOR+g(K.crc32,4)+g(K.compressedSize,4)+g(K.uncompressedSize,4)})(L),meta:{percent:100}});else for(this.push({data:W.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},H.prototype.flush=function(){for(var L=this.bytesWritten,q=0;q&lt;this.dirRecords.length;q++)this.push({data:this.dirRecords[q],meta:{percent:100}});var W=this.bytesWritten-L,K=(function(U,P,D,E,j){var k=x.transformTo(&quot;string&quot;,j(E));return R.CENTRAL_DIRECTORY_END+&quot;\0\0\0\0&quot;+g(U,2)+g(U,2)+g(P,4)+g(D,4)+g(k.length,2)+k})(this.dirRecords.length,W,L,this.zipComment,this.encodeFileName);this.push({data:K,meta:{percent:100}})},H.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},H.prototype.registerPrevious=function(L){this._sources.push(L);var q=this;return L.on(&quot;data&quot;,(function(W){q.processChunk(W)})),L.on(&quot;end&quot;,(function(){q.closedSource(q.previous.streamInfo),q._sources.length?q.prepareNextSource():q.end()})),L.on(&quot;error&quot;,(function(W){q.error(W)})),this},H.prototype.resume=function(){return!!_.prototype.resume.call(this)&amp;&amp;(!this.previous&amp;&amp;this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},H.prototype.error=function(L){var q=this._sources;if(!_.prototype.error.call(this,L))return!1;for(var W=0;W&lt;q.length;W++)try{q[W].error(L)}catch{}return!0},H.prototype.lock=function(){_.prototype.lock.call(this);for(var L=this._sources,q=0;q&lt;L.length;q++)L[q].lock()},p.exports=H},{&quot;../crc32&quot;:4,&quot;../signature&quot;:23,&quot;../stream/GenericWorker&quot;:28,&quot;../utf8&quot;:31,&quot;../utils&quot;:32}],9:[function(m,p,v){var g=m(&quot;../compressions&quot;),b=m(&quot;./ZipFileWorker&quot;);v.generateWorker=function(x,_,C){var O=new b(_.streamFiles,C,_.platform,_.encodeFileName),R=0;try{x.forEach((function(H,L){R++;var q=(function(P,D){var E=P||D,j=g[E];if(!j)throw new Error(E+&quot; is not a valid compression method !&quot;);return j})(L.options.compression,_.compression),W=L.options.compressionOptions||_.compressionOptions||{},K=L.dir,U=L.date;L._compressWorker(q,W).withStreamInfo(&quot;file&quot;,{name:H,dir:K,date:U,comment:L.comment||&quot;&quot;,unixPermissions:L.unixPermissions,dosPermissions:L.dosPermissions}).pipe(O)})),O.entriesCount=R}catch(H){O.error(H)}return O}},{&quot;../compressions&quot;:3,&quot;./ZipFileWorker&quot;:8}],10:[function(m,p,v){function g(){if(!(this instanceof g))return new g;if(arguments.length)throw new Error(&quot;The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.&quot;);this.files=Object.create(null),this.comment=null,this.root=&quot;&quot;,this.clone=function(){var b=new g;for(var x in this)typeof this[x]!=&quot;function&quot;&amp;&amp;(b[x]=this[x]);return b}}(g.prototype=m(&quot;./object&quot;)).loadAsync=m(&quot;./load&quot;),g.support=m(&quot;./support&quot;),g.defaults=m(&quot;./defaults&quot;),g.version=&quot;3.10.1&quot;,g.loadAsync=function(b,x){return new g().loadAsync(b,x)},g.external=m(&quot;./external&quot;),p.exports=g},{&quot;./defaults&quot;:5,&quot;./external&quot;:6,&quot;./load&quot;:11,&quot;./object&quot;:15,&quot;./support&quot;:30}],11:[function(m,p,v){var g=m(&quot;./utils&quot;),b=m(&quot;./external&quot;),x=m(&quot;./utf8&quot;),_=m(&quot;./zipEntries&quot;),C=m(&quot;./stream/Crc32Probe&quot;),O=m(&quot;./nodejsUtils&quot;);function R(H){return new b.Promise((function(L,q){var W=H.decompressed.getContentWorker().pipe(new C);W.on(&quot;error&quot;,(function(K){q(K)})).on(&quot;end&quot;,(function(){W.streamInfo.crc32!==H.decompressed.crc32?q(new Error(&quot;Corrupted zip : CRC32 mismatch&quot;)):L()})).resume()}))}p.exports=function(H,L){var q=this;return L=g.extend(L||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:x.utf8decode}),O.isNode&amp;&amp;O.isStream(H)?b.Promise.reject(new Error(&quot;JSZip can&#039;t accept a stream when loading a zip file.&quot;)):g.prepareContent(&quot;the loaded zip file&quot;,H,!0,L.optimizedBinaryString,L.base64).then((function(W){var K=new _(L);return K.load(W),K})).then((function(W){var K=[b.Promise.resolve(W)],U=W.files;if(L.checkCRC32)for(var P=0;P&lt;U.length;P++)K.push(R(U[P]));return b.Promise.all(K)})).then((function(W){for(var K=W.shift(),U=K.files,P=0;P&lt;U.length;P++){var D=U[P],E=D.fileNameStr,j=g.resolve(D.fileNameStr);q.file(j,D.decompressed,{binary:!0,optimizedBinaryString:!0,date:D.date,dir:D.dir,comment:D.fileCommentStr.length?D.fileCommentStr:null,unixPermissions:D.unixPermissions,dosPermissions:D.dosPermissions,createFolders:L.createFolders}),D.dir||(q.file(j).unsafeOriginalName=E)}return K.zipComment.length&amp;&amp;(q.comment=K.zipComment),q}))}},{&quot;./external&quot;:6,&quot;./nodejsUtils&quot;:14,&quot;./stream/Crc32Probe&quot;:25,&quot;./utf8&quot;:31,&quot;./utils&quot;:32,&quot;./zipEntries&quot;:33}],12:[function(m,p,v){var g=m(&quot;../utils&quot;),b=m(&quot;../stream/GenericWorker&quot;);function x(_,C){b.call(this,&quot;Nodejs stream input adapter for &quot;+_),this._upstreamEnded=!1,this._bindStream(C)}g.inherits(x,b),x.prototype._bindStream=function(_){var C=this;(this._stream=_).pause(),_.on(&quot;data&quot;,(function(O){C.push({data:O,meta:{percent:0}})})).on(&quot;error&quot;,(function(O){C.isPaused?this.generatedError=O:C.error(O)})).on(&quot;end&quot;,(function(){C.isPaused?C._upstreamEnded=!0:C.end()}))},x.prototype.pause=function(){return!!b.prototype.pause.call(this)&amp;&amp;(this._stream.pause(),!0)},x.prototype.resume=function(){return!!b.prototype.resume.call(this)&amp;&amp;(this._upstreamEnded?this.end():this._stream.resume(),!0)},p.exports=x},{&quot;../stream/GenericWorker&quot;:28,&quot;../utils&quot;:32}],13:[function(m,p,v){var g=m(&quot;readable-stream&quot;).Readable;function b(x,_,C){g.call(this,_),this._helper=x;var O=this;x.on(&quot;data&quot;,(function(R,H){O.push(R)||O._helper.pause(),C&amp;&amp;C(H)})).on(&quot;error&quot;,(function(R){O.emit(&quot;error&quot;,R)})).on(&quot;end&quot;,(function(){O.push(null)}))}m(&quot;../utils&quot;).inherits(b,g),b.prototype._read=function(){this._helper.resume()},p.exports=b},{&quot;../utils&quot;:32,&quot;readable-stream&quot;:16}],14:[function(m,p,v){p.exports={isNode:u!==void 0,newBufferFrom:function(g,b){if(u.from&amp;&amp;u.from!==Uint8Array.from)return u.from(g,b);if(typeof g==&quot;number&quot;)throw new Error(&#039;The &quot;data&quot; argument must not be a number&#039;);return new u(g,b)},allocBuffer:function(g){if(u.alloc)return u.alloc(g);var b=new u(g);return b.fill(0),b},isBuffer:function(g){return u.isBuffer(g)},isStream:function(g){return g&amp;&amp;typeof g.on==&quot;function&quot;&amp;&amp;typeof g.pause==&quot;function&quot;&amp;&amp;typeof g.resume==&quot;function&quot;}}},{}],15:[function(m,p,v){function g(j,k,S){var N,M=x.getTypeOf(k),I=x.extend(S||{},O);I.date=I.date||new Date,I.compression!==null&amp;&amp;(I.compression=I.compression.toUpperCase()),typeof I.unixPermissions==&quot;string&quot;&amp;&amp;(I.unixPermissions=parseInt(I.unixPermissions,8)),I.unixPermissions&amp;&amp;16384&amp;I.unixPermissions&amp;&amp;(I.dir=!0),I.dosPermissions&amp;&amp;16&amp;I.dosPermissions&amp;&amp;(I.dir=!0),I.dir&amp;&amp;(j=U(j)),I.createFolders&amp;&amp;(N=K(j))&amp;&amp;P.call(this,N,!0);var B=M===&quot;string&quot;&amp;&amp;I.binary===!1&amp;&amp;I.base64===!1;S&amp;&amp;S.binary!==void 0||(I.binary=!B),(k instanceof R&amp;&amp;k.uncompressedSize===0||I.dir||!k||k.length===0)&amp;&amp;(I.base64=!1,I.binary=!0,k=&quot;&quot;,I.compression=&quot;STORE&quot;,M=&quot;string&quot;);var Y;Y=k instanceof R||k instanceof _?k:q.isNode&amp;&amp;q.isStream(k)?new W(j,k):x.prepareContent(j,k,I.binary,I.optimizedBinaryString,I.base64);var Z=new H(j,Y,I);this.files[j]=Z}var b=m(&quot;./utf8&quot;),x=m(&quot;./utils&quot;),_=m(&quot;./stream/GenericWorker&quot;),C=m(&quot;./stream/StreamHelper&quot;),O=m(&quot;./defaults&quot;),R=m(&quot;./compressedObject&quot;),H=m(&quot;./zipObject&quot;),L=m(&quot;./generate&quot;),q=m(&quot;./nodejsUtils&quot;),W=m(&quot;./nodejs/NodejsStreamInputAdapter&quot;),K=function(j){j.slice(-1)===&quot;/&quot;&amp;&amp;(j=j.substring(0,j.length-1));var k=j.lastIndexOf(&quot;/&quot;);return 0&lt;k?j.substring(0,k):&quot;&quot;},U=function(j){return j.slice(-1)!==&quot;/&quot;&amp;&amp;(j+=&quot;/&quot;),j},P=function(j,k){return k=k!==void 0?k:O.createFolders,j=U(j),this.files[j]||g.call(this,j,null,{dir:!0,createFolders:k}),this.files[j]};function D(j){return Object.prototype.toString.call(j)===&quot;[object RegExp]&quot;}var E={load:function(){throw new Error(&quot;This method has been removed in JSZip 3.0, please check the upgrade guide.&quot;)},forEach:function(j){var k,S,N;for(k in this.files)N=this.files[k],(S=k.slice(this.root.length,k.length))&amp;&amp;k.slice(0,this.root.length)===this.root&amp;&amp;j(S,N)},filter:function(j){var k=[];return this.forEach((function(S,N){j(S,N)&amp;&amp;k.push(N)})),k},file:function(j,k,S){if(arguments.length!==1)return j=this.root+j,g.call(this,j,k,S),this;if(D(j)){var N=j;return this.filter((function(I,B){return!B.dir&amp;&amp;N.test(I)}))}var M=this.files[this.root+j];return M&amp;&amp;!M.dir?M:null},folder:function(j){if(!j)return this;if(D(j))return this.filter((function(M,I){return I.dir&amp;&amp;j.test(M)}));var k=this.root+j,S=P.call(this,k),N=this.clone();return N.root=S.name,N},remove:function(j){j=this.root+j;var k=this.files[j];if(k||(j.slice(-1)!==&quot;/&quot;&amp;&amp;(j+=&quot;/&quot;),k=this.files[j]),k&amp;&amp;!k.dir)delete this.files[j];else for(var S=this.filter((function(M,I){return I.name.slice(0,j.length)===j})),N=0;N&lt;S.length;N++)delete this.files[S[N].name];return this},generate:function(){throw new Error(&quot;This method has been removed in JSZip 3.0, please check the upgrade guide.&quot;)},generateInternalStream:function(j){var k,S={};try{if((S=x.extend(j||{},{streamFiles:!1,compression:&quot;STORE&quot;,compressionOptions:null,type:&quot;&quot;,platform:&quot;DOS&quot;,comment:null,mimeType:&quot;application/zip&quot;,encodeFileName:b.utf8encode})).type=S.type.toLowerCase(),S.compression=S.compression.toUpperCase(),S.type===&quot;binarystring&quot;&amp;&amp;(S.type=&quot;string&quot;),!S.type)throw new Error(&quot;No output type specified.&quot;);x.checkSupport(S.type),S.platform!==&quot;darwin&quot;&amp;&amp;S.platform!==&quot;freebsd&quot;&amp;&amp;S.platform!==&quot;linux&quot;&amp;&amp;S.platform!==&quot;sunos&quot;||(S.platform=&quot;UNIX&quot;),S.platform===&quot;win32&quot;&amp;&amp;(S.platform=&quot;DOS&quot;);var N=S.comment||this.comment||&quot;&quot;;k=L.generateWorker(this,S,N)}catch(M){(k=new _(&quot;error&quot;)).error(M)}return new C(k,S.type||&quot;string&quot;,S.mimeType)},generateAsync:function(j,k){return this.generateInternalStream(j).accumulate(k)},generateNodeStream:function(j,k){return(j=j||{}).type||(j.type=&quot;nodebuffer&quot;),this.generateInternalStream(j).toNodejsStream(k)}};p.exports=E},{&quot;./compressedObject&quot;:2,&quot;./defaults&quot;:5,&quot;./generate&quot;:9,&quot;./nodejs/NodejsStreamInputAdapter&quot;:12,&quot;./nodejsUtils&quot;:14,&quot;./stream/GenericWorker&quot;:28,&quot;./stream/StreamHelper&quot;:29,&quot;./utf8&quot;:31,&quot;./utils&quot;:32,&quot;./zipObject&quot;:35}],16:[function(m,p,v){p.exports=m(&quot;stream&quot;)},{stream:void 0}],17:[function(m,p,v){var g=m(&quot;./DataReader&quot;);function b(x){g.call(this,x);for(var _=0;_&lt;this.data.length;_++)x[_]=255&amp;x[_]}m(&quot;../utils&quot;).inherits(b,g),b.prototype.byteAt=function(x){return this.data[this.zero+x]},b.prototype.lastIndexOfSignature=function(x){for(var _=x.charCodeAt(0),C=x.charCodeAt(1),O=x.charCodeAt(2),R=x.charCodeAt(3),H=this.length-4;0&lt;=H;--H)if(this.data[H]===_&amp;&amp;this.data[H+1]===C&amp;&amp;this.data[H+2]===O&amp;&amp;this.data[H+3]===R)return H-this.zero;return-1},b.prototype.readAndCheckSignature=function(x){var _=x.charCodeAt(0),C=x.charCodeAt(1),O=x.charCodeAt(2),R=x.charCodeAt(3),H=this.readData(4);return _===H[0]&amp;&amp;C===H[1]&amp;&amp;O===H[2]&amp;&amp;R===H[3]},b.prototype.readData=function(x){if(this.checkOffset(x),x===0)return[];var _=this.data.slice(this.zero+this.index,this.zero+this.index+x);return this.index+=x,_},p.exports=b},{&quot;../utils&quot;:32,&quot;./DataReader&quot;:18}],18:[function(m,p,v){var g=m(&quot;../utils&quot;);function b(x){this.data=x,this.length=x.length,this.index=0,this.zero=0}b.prototype={checkOffset:function(x){this.checkIndex(this.index+x)},checkIndex:function(x){if(this.length&lt;this.zero+x||x&lt;0)throw new Error(&quot;End of data reached (data length = &quot;+this.length+&quot;, asked index = &quot;+x+&quot;). Corrupted zip ?&quot;)},setIndex:function(x){this.checkIndex(x),this.index=x},skip:function(x){this.setIndex(this.index+x)},byteAt:function(){},readInt:function(x){var _,C=0;for(this.checkOffset(x),_=this.index+x-1;_&gt;=this.index;_--)C=(C&lt;&lt;8)+this.byteAt(_);return this.index+=x,C},readString:function(x){return g.transformTo(&quot;string&quot;,this.readData(x))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var x=this.readInt(4);return new Date(Date.UTC(1980+(x&gt;&gt;25&amp;127),(x&gt;&gt;21&amp;15)-1,x&gt;&gt;16&amp;31,x&gt;&gt;11&amp;31,x&gt;&gt;5&amp;63,(31&amp;x)&lt;&lt;1))}},p.exports=b},{&quot;../utils&quot;:32}],19:[function(m,p,v){var g=m(&quot;./Uint8ArrayReader&quot;);function b(x){g.call(this,x)}m(&quot;../utils&quot;).inherits(b,g),b.prototype.readData=function(x){this.checkOffset(x);var _=this.data.slice(this.zero+this.index,this.zero+this.index+x);return this.index+=x,_},p.exports=b},{&quot;../utils&quot;:32,&quot;./Uint8ArrayReader&quot;:21}],20:[function(m,p,v){var g=m(&quot;./DataReader&quot;);function b(x){g.call(this,x)}m(&quot;../utils&quot;).inherits(b,g),b.prototype.byteAt=function(x){return this.data.charCodeAt(this.zero+x)},b.prototype.lastIndexOfSignature=function(x){return this.data.lastIndexOf(x)-this.zero},b.prototype.readAndCheckSignature=function(x){return x===this.readData(4)},b.prototype.readData=function(x){this.checkOffset(x);var _=this.data.slice(this.zero+this.index,this.zero+this.index+x);return this.index+=x,_},p.exports=b},{&quot;../utils&quot;:32,&quot;./DataReader&quot;:18}],21:[function(m,p,v){var g=m(&quot;./ArrayReader&quot;);function b(x){g.call(this,x)}m(&quot;../utils&quot;).inherits(b,g),b.prototype.readData=function(x){if(this.checkOffset(x),x===0)return new Uint8Array(0);var _=this.data.subarray(this.zero+this.index,this.zero+this.index+x);return this.index+=x,_},p.exports=b},{&quot;../utils&quot;:32,&quot;./ArrayReader&quot;:17}],22:[function(m,p,v){var g=m(&quot;../utils&quot;),b=m(&quot;../support&quot;),x=m(&quot;./ArrayReader&quot;),_=m(&quot;./StringReader&quot;),C=m(&quot;./NodeBufferReader&quot;),O=m(&quot;./Uint8ArrayReader&quot;);p.exports=function(R){var H=g.getTypeOf(R);return g.checkSupport(H),H!==&quot;string&quot;||b.uint8array?H===&quot;nodebuffer&quot;?new C(R):b.uint8array?new O(g.transformTo(&quot;uint8array&quot;,R)):new x(g.transformTo(&quot;array&quot;,R)):new _(R)}},{&quot;../support&quot;:30,&quot;../utils&quot;:32,&quot;./ArrayReader&quot;:17,&quot;./NodeBufferReader&quot;:19,&quot;./StringReader&quot;:20,&quot;./Uint8ArrayReader&quot;:21}],23:[function(m,p,v){v.LOCAL_FILE_HEADER=&quot;PK&quot;,v.CENTRAL_FILE_HEADER=&quot;PK&quot;,v.CENTRAL_DIRECTORY_END=&quot;PK&quot;,v.ZIP64_CENTRAL_DIRECTORY_LOCATOR=&quot;PK\x07&quot;,v.ZIP64_CENTRAL_DIRECTORY_END=&quot;PK&quot;,v.DATA_DESCRIPTOR=&quot;PK\x07\b&quot;},{}],24:[function(m,p,v){var g=m(&quot;./GenericWorker&quot;),b=m(&quot;../utils&quot;);function x(_){g.call(this,&quot;ConvertWorker to &quot;+_),this.destType=_}b.inherits(x,g),x.prototype.processChunk=function(_){this.push({data:b.transformTo(this.destType,_.data),meta:_.meta})},p.exports=x},{&quot;../utils&quot;:32,&quot;./GenericWorker&quot;:28}],25:[function(m,p,v){var g=m(&quot;./GenericWorker&quot;),b=m(&quot;../crc32&quot;);function x(){g.call(this,&quot;Crc32Probe&quot;),this.withStreamInfo(&quot;crc32&quot;,0)}m(&quot;../utils&quot;).inherits(x,g),x.prototype.processChunk=function(_){this.streamInfo.crc32=b(_.data,this.streamInfo.crc32||0),this.push(_)},p.exports=x},{&quot;../crc32&quot;:4,&quot;../utils&quot;:32,&quot;./GenericWorker&quot;:28}],26:[function(m,p,v){var g=m(&quot;../utils&quot;),b=m(&quot;./GenericWorker&quot;);function x(_){b.call(this,&quot;DataLengthProbe for &quot;+_),this.propName=_,this.withStreamInfo(_,0)}g.inherits(x,b),x.prototype.processChunk=function(_){if(_){var C=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=C+_.data.length}b.prototype.processChunk.call(this,_)},p.exports=x},{&quot;../utils&quot;:32,&quot;./GenericWorker&quot;:28}],27:[function(m,p,v){var g=m(&quot;../utils&quot;),b=m(&quot;./GenericWorker&quot;);function x(_){b.call(this,&quot;DataWorker&quot;);var C=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type=&quot;&quot;,this._tickScheduled=!1,_.then((function(O){C.dataIsReady=!0,C.data=O,C.max=O&amp;&amp;O.length||0,C.type=g.getTypeOf(O),C.isPaused||C._tickAndRepeat()}),(function(O){C.error(O)}))}g.inherits(x,b),x.prototype.cleanUp=function(){b.prototype.cleanUp.call(this),this.data=null},x.prototype.resume=function(){return!!b.prototype.resume.call(this)&amp;&amp;(!this._tickScheduled&amp;&amp;this.dataIsReady&amp;&amp;(this._tickScheduled=!0,g.delay(this._tickAndRepeat,[],this)),!0)},x.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(g.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},x.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var _=null,C=Math.min(this.max,this.index+16384);if(this.index&gt;=this.max)return this.end();switch(this.type){case&quot;string&quot;:_=this.data.substring(this.index,C);break;case&quot;uint8array&quot;:_=this.data.subarray(this.index,C);break;case&quot;array&quot;:case&quot;nodebuffer&quot;:_=this.data.slice(this.index,C)}return this.index=C,this.push({data:_,meta:{percent:this.max?this.index/this.max*100:0}})},p.exports=x},{&quot;../utils&quot;:32,&quot;./GenericWorker&quot;:28}],28:[function(m,p,v){function g(b){this.name=b||&quot;default&quot;,this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}g.prototype={push:function(b){this.emit(&quot;data&quot;,b)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit(&quot;end&quot;),this.cleanUp(),this.isFinished=!0}catch(b){this.emit(&quot;error&quot;,b)}return!0},error:function(b){return!this.isFinished&amp;&amp;(this.isPaused?this.generatedError=b:(this.isFinished=!0,this.emit(&quot;error&quot;,b),this.previous&amp;&amp;this.previous.error(b),this.cleanUp()),!0)},on:function(b,x){return this._listeners[b].push(x),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(b,x){if(this._listeners[b])for(var _=0;_&lt;this._listeners[b].length;_++)this._listeners[b][_].call(this,x)},pipe:function(b){return b.registerPrevious(this)},registerPrevious:function(b){if(this.isLocked)throw new Error(&quot;The stream &#039;&quot;+this+&quot;&#039; has already been used.&quot;);this.streamInfo=b.streamInfo,this.mergeStreamInfo(),this.previous=b;var x=this;return b.on(&quot;data&quot;,(function(_){x.processChunk(_)})),b.on(&quot;end&quot;,(function(){x.end()})),b.on(&quot;error&quot;,(function(_){x.error(_)})),this},pause:function(){return!this.isPaused&amp;&amp;!this.isFinished&amp;&amp;(this.isPaused=!0,this.previous&amp;&amp;this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var b=this.isPaused=!1;return this.generatedError&amp;&amp;(this.error(this.generatedError),b=!0),this.previous&amp;&amp;this.previous.resume(),!b},flush:function(){},processChunk:function(b){this.push(b)},withStreamInfo:function(b,x){return this.extraStreamInfo[b]=x,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var b in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,b)&amp;&amp;(this.streamInfo[b]=this.extraStreamInfo[b])},lock:function(){if(this.isLocked)throw new Error(&quot;The stream &#039;&quot;+this+&quot;&#039; has already been used.&quot;);this.isLocked=!0,this.previous&amp;&amp;this.previous.lock()},toString:function(){var b=&quot;Worker &quot;+this.name;return this.previous?this.previous+&quot; -&gt; &quot;+b:b}},p.exports=g},{}],29:[function(m,p,v){var g=m(&quot;../utils&quot;),b=m(&quot;./ConvertWorker&quot;),x=m(&quot;./GenericWorker&quot;),_=m(&quot;../base64&quot;),C=m(&quot;../support&quot;),O=m(&quot;../external&quot;),R=null;if(C.nodestream)try{R=m(&quot;../nodejs/NodejsStreamOutputAdapter&quot;)}catch{}function H(L,q,W){var K=q;switch(q){case&quot;blob&quot;:case&quot;arraybuffer&quot;:K=&quot;uint8array&quot;;break;case&quot;base64&quot;:K=&quot;string&quot;}try{this._internalType=K,this._outputType=q,this._mimeType=W,g.checkSupport(K),this._worker=L.pipe(new b(K)),L.lock()}catch(U){this._worker=new x(&quot;error&quot;),this._worker.error(U)}}H.prototype={accumulate:function(L){return(function(q,W){return new O.Promise((function(K,U){var P=[],D=q._internalType,E=q._outputType,j=q._mimeType;q.on(&quot;data&quot;,(function(k,S){P.push(k),W&amp;&amp;W(S)})).on(&quot;error&quot;,(function(k){P=[],U(k)})).on(&quot;end&quot;,(function(){try{var k=(function(S,N,M){switch(S){case&quot;blob&quot;:return g.newBlob(g.transformTo(&quot;arraybuffer&quot;,N),M);case&quot;base64&quot;:return _.encode(N);default:return g.transformTo(S,N)}})(E,(function(S,N){var M,I=0,B=null,Y=0;for(M=0;M&lt;N.length;M++)Y+=N[M].length;switch(S){case&quot;string&quot;:return N.join(&quot;&quot;);case&quot;array&quot;:return Array.prototype.concat.apply([],N);case&quot;uint8array&quot;:for(B=new Uint8Array(Y),M=0;M&lt;N.length;M++)B.set(N[M],I),I+=N[M].length;return B;case&quot;nodebuffer&quot;:return u.concat(N);default:throw new Error(&quot;concat : unsupported type &#039;&quot;+S+&quot;&#039;&quot;)}})(D,P),j);K(k)}catch(S){U(S)}P=[]})).resume()}))})(this,L)},on:function(L,q){var W=this;return L===&quot;data&quot;?this._worker.on(L,(function(K){q.call(W,K.data,K.meta)})):this._worker.on(L,(function(){g.delay(q,arguments,W)})),this},resume:function(){return g.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(L){if(g.checkSupport(&quot;nodestream&quot;),this._outputType!==&quot;nodebuffer&quot;)throw new Error(this._outputType+&quot; is not supported by this method&quot;);return new R(this,{objectMode:this._outputType!==&quot;nodebuffer&quot;},L)}},p.exports=H},{&quot;../base64&quot;:1,&quot;../external&quot;:6,&quot;../nodejs/NodejsStreamOutputAdapter&quot;:13,&quot;../support&quot;:30,&quot;../utils&quot;:32,&quot;./ConvertWorker&quot;:24,&quot;./GenericWorker&quot;:28}],30:[function(m,p,v){if(v.base64=!0,v.array=!0,v.string=!0,v.arraybuffer=typeof ArrayBuffer&lt;&quot;u&quot;&amp;&amp;typeof Uint8Array&lt;&quot;u&quot;,v.nodebuffer=u!==void 0,v.uint8array=typeof Uint8Array&lt;&quot;u&quot;,typeof ArrayBuffer&gt;&quot;u&quot;)v.blob=!1;else{var g=new ArrayBuffer(0);try{v.blob=new Blob([g],{type:&quot;application/zip&quot;}).size===0}catch{try{var b=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);b.append(g),v.blob=b.getBlob(&quot;application/zip&quot;).size===0}catch{v.blob=!1}}}try{v.nodestream=!!m(&quot;readable-stream&quot;).Readable}catch{v.nodestream=!1}},{&quot;readable-stream&quot;:16}],31:[function(m,p,v){for(var g=m(&quot;./utils&quot;),b=m(&quot;./support&quot;),x=m(&quot;./nodejsUtils&quot;),_=m(&quot;./stream/GenericWorker&quot;),C=new Array(256),O=0;O&lt;256;O++)C[O]=252&lt;=O?6:248&lt;=O?5:240&lt;=O?4:224&lt;=O?3:192&lt;=O?2:1;function R(){_.call(this,&quot;utf-8 decode&quot;),this.leftOver=null}function H(){_.call(this,&quot;utf-8 encode&quot;)}C[254]=C[254]=1,v.utf8encode=function(L){return b.nodebuffer?x.newBufferFrom(L,&quot;utf-8&quot;):(function(q){var W,K,U,P,D,E=q.length,j=0;for(P=0;P&lt;E;P++)(64512&amp;(K=q.charCodeAt(P)))==55296&amp;&amp;P+1&lt;E&amp;&amp;(64512&amp;(U=q.charCodeAt(P+1)))==56320&amp;&amp;(K=65536+(K-55296&lt;&lt;10)+(U-56320),P++),j+=K&lt;128?1:K&lt;2048?2:K&lt;65536?3:4;for(W=b.uint8array?new Uint8Array(j):new Array(j),P=D=0;D&lt;j;P++)(64512&amp;(K=q.charCodeAt(P)))==55296&amp;&amp;P+1&lt;E&amp;&amp;(64512&amp;(U=q.charCodeAt(P+1)))==56320&amp;&amp;(K=65536+(K-55296&lt;&lt;10)+(U-56320),P++),K&lt;128?W[D++]=K:(K&lt;2048?W[D++]=192|K&gt;&gt;&gt;6:(K&lt;65536?W[D++]=224|K&gt;&gt;&gt;12:(W[D++]=240|K&gt;&gt;&gt;18,W[D++]=128|K&gt;&gt;&gt;12&amp;63),W[D++]=128|K&gt;&gt;&gt;6&amp;63),W[D++]=128|63&amp;K);return W})(L)},v.utf8decode=function(L){return b.nodebuffer?g.transformTo(&quot;nodebuffer&quot;,L).toString(&quot;utf-8&quot;):(function(q){var W,K,U,P,D=q.length,E=new Array(2*D);for(W=K=0;W&lt;D;)if((U=q[W++])&lt;128)E[K++]=U;else if(4&lt;(P=C[U]))E[K++]=65533,W+=P-1;else{for(U&amp;=P===2?31:P===3?15:7;1&lt;P&amp;&amp;W&lt;D;)U=U&lt;&lt;6|63&amp;q[W++],P--;1&lt;P?E[K++]=65533:U&lt;65536?E[K++]=U:(U-=65536,E[K++]=55296|U&gt;&gt;10&amp;1023,E[K++]=56320|1023&amp;U)}return E.length!==K&amp;&amp;(E.subarray?E=E.subarray(0,K):E.length=K),g.applyFromCharCode(E)})(L=g.transformTo(b.uint8array?&quot;uint8array&quot;:&quot;array&quot;,L))},g.inherits(R,_),R.prototype.processChunk=function(L){var q=g.transformTo(b.uint8array?&quot;uint8array&quot;:&quot;array&quot;,L.data);if(this.leftOver&amp;&amp;this.leftOver.length){if(b.uint8array){var W=q;(q=new Uint8Array(W.length+this.leftOver.length)).set(this.leftOver,0),q.set(W,this.leftOver.length)}else q=this.leftOver.concat(q);this.leftOver=null}var K=(function(P,D){var E;for((D=D||P.length)&gt;P.length&amp;&amp;(D=P.length),E=D-1;0&lt;=E&amp;&amp;(192&amp;P[E])==128;)E--;return E&lt;0||E===0?D:E+C[P[E]]&gt;D?E:D})(q),U=q;K!==q.length&amp;&amp;(b.uint8array?(U=q.subarray(0,K),this.leftOver=q.subarray(K,q.length)):(U=q.slice(0,K),this.leftOver=q.slice(K,q.length))),this.push({data:v.utf8decode(U),meta:L.meta})},R.prototype.flush=function(){this.leftOver&amp;&amp;this.leftOver.length&amp;&amp;(this.push({data:v.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},v.Utf8DecodeWorker=R,g.inherits(H,_),H.prototype.processChunk=function(L){this.push({data:v.utf8encode(L.data),meta:L.meta})},v.Utf8EncodeWorker=H},{&quot;./nodejsUtils&quot;:14,&quot;./stream/GenericWorker&quot;:28,&quot;./support&quot;:30,&quot;./utils&quot;:32}],32:[function(m,p,v){var g=m(&quot;./support&quot;),b=m(&quot;./base64&quot;),x=m(&quot;./nodejsUtils&quot;),_=m(&quot;./external&quot;);function C(W){return W}function O(W,K){for(var U=0;U&lt;W.length;++U)K[U]=255&amp;W.charCodeAt(U);return K}m(&quot;setimmediate&quot;),v.newBlob=function(W,K){v.checkSupport(&quot;blob&quot;);try{return new Blob([W],{type:K})}catch{try{var U=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return U.append(W),U.getBlob(K)}catch{throw new Error(&quot;Bug : can&#039;t construct the Blob.&quot;)}}};var R={stringifyByChunk:function(W,K,U){var P=[],D=0,E=W.length;if(E&lt;=U)return String.fromCharCode.apply(null,W);for(;D&lt;E;)K===&quot;array&quot;||K===&quot;nodebuffer&quot;?P.push(String.fromCharCode.apply(null,W.slice(D,Math.min(D+U,E)))):P.push(String.fromCharCode.apply(null,W.subarray(D,Math.min(D+U,E)))),D+=U;return P.join(&quot;&quot;)},stringifyByChar:function(W){for(var K=&quot;&quot;,U=0;U&lt;W.length;U++)K+=String.fromCharCode(W[U]);return K},applyCanBeUsed:{uint8array:(function(){try{return g.uint8array&amp;&amp;String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}})(),nodebuffer:(function(){try{return g.nodebuffer&amp;&amp;String.fromCharCode.apply(null,x.allocBuffer(1)).length===1}catch{return!1}})()}};function H(W){var K=65536,U=v.getTypeOf(W),P=!0;if(U===&quot;uint8array&quot;?P=R.applyCanBeUsed.uint8array:U===&quot;nodebuffer&quot;&amp;&amp;(P=R.applyCanBeUsed.nodebuffer),P)for(;1&lt;K;)try{return R.stringifyByChunk(W,U,K)}catch{K=Math.floor(K/2)}return R.stringifyByChar(W)}function L(W,K){for(var U=0;U&lt;W.length;U++)K[U]=W[U];return K}v.applyFromCharCode=H;var q={};q.string={string:C,array:function(W){return O(W,new Array(W.length))},arraybuffer:function(W){return q.string.uint8array(W).buffer},uint8array:function(W){return O(W,new Uint8Array(W.length))},nodebuffer:function(W){return O(W,x.allocBuffer(W.length))}},q.array={string:H,array:C,arraybuffer:function(W){return new Uint8Array(W).buffer},uint8array:function(W){return new Uint8Array(W)},nodebuffer:function(W){return x.newBufferFrom(W)}},q.arraybuffer={string:function(W){return H(new Uint8Array(W))},array:function(W){return L(new Uint8Array(W),new Array(W.byteLength))},arraybuffer:C,uint8array:function(W){return new Uint8Array(W)},nodebuffer:function(W){return x.newBufferFrom(new Uint8Array(W))}},q.uint8array={string:H,array:function(W){return L(W,new Array(W.length))},arraybuffer:function(W){return W.buffer},uint8array:C,nodebuffer:function(W){return x.newBufferFrom(W)}},q.nodebuffer={string:H,array:function(W){return L(W,new Array(W.length))},arraybuffer:function(W){return q.nodebuffer.uint8array(W).buffer},uint8array:function(W){return L(W,new Uint8Array(W.length))},nodebuffer:C},v.transformTo=function(W,K){if(K=K||&quot;&quot;,!W)return K;v.checkSupport(W);var U=v.getTypeOf(K);return q[U][W](K)},v.resolve=function(W){for(var K=W.split(&quot;/&quot;),U=[],P=0;P&lt;K.length;P++){var D=K[P];D===&quot;.&quot;||D===&quot;&quot;&amp;&amp;P!==0&amp;&amp;P!==K.length-1||(D===&quot;..&quot;?U.pop():U.push(D))}return U.join(&quot;/&quot;)},v.getTypeOf=function(W){return typeof W==&quot;string&quot;?&quot;string&quot;:Object.prototype.toString.call(W)===&quot;[object Array]&quot;?&quot;array&quot;:g.nodebuffer&amp;&amp;x.isBuffer(W)?&quot;nodebuffer&quot;:g.uint8array&amp;&amp;W instanceof Uint8Array?&quot;uint8array&quot;:g.arraybuffer&amp;&amp;W instanceof ArrayBuffer?&quot;arraybuffer&quot;:void 0},v.checkSupport=function(W){if(!g[W.toLowerCase()])throw new Error(W+&quot; is not supported by this platform&quot;)},v.MAX_VALUE_16BITS=65535,v.MAX_VALUE_32BITS=-1,v.pretty=function(W){var K,U,P=&quot;&quot;;for(U=0;U&lt;(W||&quot;&quot;).length;U++)P+=&quot;\\x&quot;+((K=W.charCodeAt(U))&lt;16?&quot;0&quot;:&quot;&quot;)+K.toString(16).toUpperCase();return P},v.delay=function(W,K,U){h((function(){W.apply(U||null,K||[])}))},v.inherits=function(W,K){function U(){}U.prototype=K.prototype,W.prototype=new U},v.extend=function(){var W,K,U={};for(W=0;W&lt;arguments.length;W++)for(K in arguments[W])Object.prototype.hasOwnProperty.call(arguments[W],K)&amp;&amp;U[K]===void 0&amp;&amp;(U[K]=arguments[W][K]);return U},v.prepareContent=function(W,K,U,P,D){return _.Promise.resolve(K).then((function(E){return g.blob&amp;&amp;(E instanceof Blob||[&quot;[object File]&quot;,&quot;[object Blob]&quot;].indexOf(Object.prototype.toString.call(E))!==-1)&amp;&amp;typeof FileReader&lt;&quot;u&quot;?new _.Promise((function(j,k){var S=new FileReader;S.onload=function(N){j(N.target.result)},S.onerror=function(N){k(N.target.error)},S.readAsArrayBuffer(E)})):E})).then((function(E){var j=v.getTypeOf(E);return j?(j===&quot;arraybuffer&quot;?E=v.transformTo(&quot;uint8array&quot;,E):j===&quot;string&quot;&amp;&amp;(D?E=b.decode(E):U&amp;&amp;P!==!0&amp;&amp;(E=(function(k){return O(k,g.uint8array?new Uint8Array(k.length):new Array(k.length))})(E))),E):_.Promise.reject(new Error(&quot;Can&#039;t read the data of &#039;&quot;+W+&quot;&#039;. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?&quot;))}))}},{&quot;./base64&quot;:1,&quot;./external&quot;:6,&quot;./nodejsUtils&quot;:14,&quot;./support&quot;:30,setimmediate:54}],33:[function(m,p,v){var g=m(&quot;./reader/readerFor&quot;),b=m(&quot;./utils&quot;),x=m(&quot;./signature&quot;),_=m(&quot;./zipEntry&quot;),C=m(&quot;./support&quot;);function O(R){this.files=[],this.loadOptions=R}O.prototype={checkSignature:function(R){if(!this.reader.readAndCheckSignature(R)){this.reader.index-=4;var H=this.reader.readString(4);throw new Error(&quot;Corrupted zip or bug: unexpected signature (&quot;+b.pretty(H)+&quot;, expected &quot;+b.pretty(R)+&quot;)&quot;)}},isSignature:function(R,H){var L=this.reader.index;this.reader.setIndex(R);var q=this.reader.readString(4)===H;return this.reader.setIndex(L),q},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var R=this.reader.readData(this.zipCommentLength),H=C.uint8array?&quot;uint8array&quot;:&quot;array&quot;,L=b.transformTo(H,R);this.zipComment=this.loadOptions.decodeFileName(L)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var R,H,L,q=this.zip64EndOfCentralSize-44;0&lt;q;)R=this.reader.readInt(2),H=this.reader.readInt(4),L=this.reader.readData(H),this.zip64ExtensibleData[R]={id:R,length:H,value:L}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1&lt;this.disksCount)throw new Error(&quot;Multi-volumes zip are not supported&quot;)},readLocalFiles:function(){var R,H;for(R=0;R&lt;this.files.length;R++)H=this.files[R],this.reader.setIndex(H.localHeaderOffset),this.checkSignature(x.LOCAL_FILE_HEADER),H.readLocalPart(this.reader),H.handleUTF8(),H.processAttributes()},readCentralDir:function(){var R;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(x.CENTRAL_FILE_HEADER);)(R=new _({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(R);if(this.centralDirRecords!==this.files.length&amp;&amp;this.centralDirRecords!==0&amp;&amp;this.files.length===0)throw new Error(&quot;Corrupted zip or bug: expected &quot;+this.centralDirRecords+&quot; records in central dir, got &quot;+this.files.length)},readEndOfCentral:function(){var R=this.reader.lastIndexOfSignature(x.CENTRAL_DIRECTORY_END);if(R&lt;0)throw this.isSignature(0,x.LOCAL_FILE_HEADER)?new Error(&quot;Corrupted zip: can&#039;t find end of central directory&quot;):new Error(&quot;Can&#039;t find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html&quot;);this.reader.setIndex(R);var H=R;if(this.checkSignature(x.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===b.MAX_VALUE_16BITS||this.diskWithCentralDirStart===b.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===b.MAX_VALUE_16BITS||this.centralDirRecords===b.MAX_VALUE_16BITS||this.centralDirSize===b.MAX_VALUE_32BITS||this.centralDirOffset===b.MAX_VALUE_32BITS){if(this.zip64=!0,(R=this.reader.lastIndexOfSignature(x.ZIP64_CENTRAL_DIRECTORY_LOCATOR))&lt;0)throw new Error(&quot;Corrupted zip: can&#039;t find the ZIP64 end of central directory locator&quot;);if(this.reader.setIndex(R),this.checkSignature(x.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,x.ZIP64_CENTRAL_DIRECTORY_END)&amp;&amp;(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(x.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir&lt;0))throw new Error(&quot;Corrupted zip: can&#039;t find the ZIP64 end of central directory&quot;);this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(x.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var L=this.centralDirOffset+this.centralDirSize;this.zip64&amp;&amp;(L+=20,L+=12+this.zip64EndOfCentralSize);var q=H-L;if(0&lt;q)this.isSignature(H,x.CENTRAL_FILE_HEADER)||(this.reader.zero=q);else if(q&lt;0)throw new Error(&quot;Corrupted zip: missing &quot;+Math.abs(q)+&quot; bytes.&quot;)},prepareReader:function(R){this.reader=g(R)},load:function(R){this.prepareReader(R),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},p.exports=O},{&quot;./reader/readerFor&quot;:22,&quot;./signature&quot;:23,&quot;./support&quot;:30,&quot;./utils&quot;:32,&quot;./zipEntry&quot;:34}],34:[function(m,p,v){var g=m(&quot;./reader/readerFor&quot;),b=m(&quot;./utils&quot;),x=m(&quot;./compressedObject&quot;),_=m(&quot;./crc32&quot;),C=m(&quot;./utf8&quot;),O=m(&quot;./compressions&quot;),R=m(&quot;./support&quot;);function H(L,q){this.options=L,this.loadOptions=q}H.prototype={isEncrypted:function(){return(1&amp;this.bitFlag)==1},useUTF8:function(){return(2048&amp;this.bitFlag)==2048},readLocalPart:function(L){var q,W;if(L.skip(22),this.fileNameLength=L.readInt(2),W=L.readInt(2),this.fileName=L.readData(this.fileNameLength),L.skip(W),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error(&quot;Bug or corrupted zip : didn&#039;t get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)&quot;);if((q=(function(K){for(var U in O)if(Object.prototype.hasOwnProperty.call(O,U)&amp;&amp;O[U].magic===K)return O[U];return null})(this.compressionMethod))===null)throw new Error(&quot;Corrupted zip : compression &quot;+b.pretty(this.compressionMethod)+&quot; unknown (inner file : &quot;+b.transformTo(&quot;string&quot;,this.fileName)+&quot;)&quot;);this.decompressed=new x(this.compressedSize,this.uncompressedSize,this.crc32,q,L.readData(this.compressedSize))},readCentralPart:function(L){this.versionMadeBy=L.readInt(2),L.skip(2),this.bitFlag=L.readInt(2),this.compressionMethod=L.readString(2),this.date=L.readDate(),this.crc32=L.readInt(4),this.compressedSize=L.readInt(4),this.uncompressedSize=L.readInt(4);var q=L.readInt(2);if(this.extraFieldsLength=L.readInt(2),this.fileCommentLength=L.readInt(2),this.diskNumberStart=L.readInt(2),this.internalFileAttributes=L.readInt(2),this.externalFileAttributes=L.readInt(4),this.localHeaderOffset=L.readInt(4),this.isEncrypted())throw new Error(&quot;Encrypted zip are not supported&quot;);L.skip(q),this.readExtraFields(L),this.parseZIP64ExtraField(L),this.fileComment=L.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var L=this.versionMadeBy&gt;&gt;8;this.dir=!!(16&amp;this.externalFileAttributes),L==0&amp;&amp;(this.dosPermissions=63&amp;this.externalFileAttributes),L==3&amp;&amp;(this.unixPermissions=this.externalFileAttributes&gt;&gt;16&amp;65535),this.dir||this.fileNameStr.slice(-1)!==&quot;/&quot;||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var L=g(this.extraFields[1].value);this.uncompressedSize===b.MAX_VALUE_32BITS&amp;&amp;(this.uncompressedSize=L.readInt(8)),this.compressedSize===b.MAX_VALUE_32BITS&amp;&amp;(this.compressedSize=L.readInt(8)),this.localHeaderOffset===b.MAX_VALUE_32BITS&amp;&amp;(this.localHeaderOffset=L.readInt(8)),this.diskNumberStart===b.MAX_VALUE_32BITS&amp;&amp;(this.diskNumberStart=L.readInt(4))}},readExtraFields:function(L){var q,W,K,U=L.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});L.index+4&lt;U;)q=L.readInt(2),W=L.readInt(2),K=L.readData(W),this.extraFields[q]={id:q,length:W,value:K};L.setIndex(U)},handleUTF8:function(){var L=R.uint8array?&quot;uint8array&quot;:&quot;array&quot;;if(this.useUTF8())this.fileNameStr=C.utf8decode(this.fileName),this.fileCommentStr=C.utf8decode(this.fileComment);else{var q=this.findExtraFieldUnicodePath();if(q!==null)this.fileNameStr=q;else{var W=b.transformTo(L,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(W)}var K=this.findExtraFieldUnicodeComment();if(K!==null)this.fileCommentStr=K;else{var U=b.transformTo(L,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(U)}}},findExtraFieldUnicodePath:function(){var L=this.extraFields[28789];if(L){var q=g(L.value);return q.readInt(1)!==1||_(this.fileName)!==q.readInt(4)?null:C.utf8decode(q.readData(L.length-5))}return null},findExtraFieldUnicodeComment:function(){var L=this.extraFields[25461];if(L){var q=g(L.value);return q.readInt(1)!==1||_(this.fileComment)!==q.readInt(4)?null:C.utf8decode(q.readData(L.length-5))}return null}},p.exports=H},{&quot;./compressedObject&quot;:2,&quot;./compressions&quot;:3,&quot;./crc32&quot;:4,&quot;./reader/readerFor&quot;:22,&quot;./support&quot;:30,&quot;./utf8&quot;:31,&quot;./utils&quot;:32}],35:[function(m,p,v){function g(q,W,K){this.name=q,this.dir=K.dir,this.date=K.date,this.comment=K.comment,this.unixPermissions=K.unixPermissions,this.dosPermissions=K.dosPermissions,this._data=W,this._dataBinary=K.binary,this.options={compression:K.compression,compressionOptions:K.compressionOptions}}var b=m(&quot;./stream/StreamHelper&quot;),x=m(&quot;./stream/DataWorker&quot;),_=m(&quot;./utf8&quot;),C=m(&quot;./compressedObject&quot;),O=m(&quot;./stream/GenericWorker&quot;);g.prototype={internalStream:function(q){var W=null,K=&quot;string&quot;;try{if(!q)throw new Error(&quot;No output type specified.&quot;);var U=(K=q.toLowerCase())===&quot;string&quot;||K===&quot;text&quot;;K!==&quot;binarystring&quot;&amp;&amp;K!==&quot;text&quot;||(K=&quot;string&quot;),W=this._decompressWorker();var P=!this._dataBinary;P&amp;&amp;!U&amp;&amp;(W=W.pipe(new _.Utf8EncodeWorker)),!P&amp;&amp;U&amp;&amp;(W=W.pipe(new _.Utf8DecodeWorker))}catch(D){(W=new O(&quot;error&quot;)).error(D)}return new b(W,K,&quot;&quot;)},async:function(q,W){return this.internalStream(q).accumulate(W)},nodeStream:function(q,W){return this.internalStream(q||&quot;nodebuffer&quot;).toNodejsStream(W)},_compressWorker:function(q,W){if(this._data instanceof C&amp;&amp;this._data.compression.magic===q.magic)return this._data.getCompressedWorker();var K=this._decompressWorker();return this._dataBinary||(K=K.pipe(new _.Utf8EncodeWorker)),C.createWorkerFrom(K,q,W)},_decompressWorker:function(){return this._data instanceof C?this._data.getContentWorker():this._data instanceof O?this._data:new x(this._data)}};for(var R=[&quot;asText&quot;,&quot;asBinary&quot;,&quot;asNodeBuffer&quot;,&quot;asUint8Array&quot;,&quot;asArrayBuffer&quot;],H=function(){throw new Error(&quot;This method has been removed in JSZip 3.0, please check the upgrade guide.&quot;)},L=0;L&lt;R.length;L++)g.prototype[R[L]]=H;p.exports=g},{&quot;./compressedObject&quot;:2,&quot;./stream/DataWorker&quot;:27,&quot;./stream/GenericWorker&quot;:28,&quot;./stream/StreamHelper&quot;:29,&quot;./utf8&quot;:31}],36:[function(m,p,v){(function(g){var b,x,_=g.MutationObserver||g.WebKitMutationObserver;if(_){var C=0,O=new _(q),R=g.document.createTextNode(&quot;&quot;);O.observe(R,{characterData:!0}),b=function(){R.data=C=++C%2}}else if(g.setImmediate||g.MessageChannel===void 0)b=&quot;document&quot;in g&amp;&amp;&quot;onreadystatechange&quot;in g.document.createElement(&quot;script&quot;)?function(){var W=g.document.createElement(&quot;script&quot;);W.onreadystatechange=function(){q(),W.onreadystatechange=null,W.parentNode.removeChild(W),W=null},g.document.documentElement.appendChild(W)}:function(){setTimeout(q,0)};else{var H=new g.MessageChannel;H.port1.onmessage=q,b=function(){H.port2.postMessage(0)}}var L=[];function q(){var W,K;x=!0;for(var U=L.length;U;){for(K=L,L=[],W=-1;++W&lt;U;)K[W]();U=L.length}x=!1}p.exports=function(W){L.push(W)!==1||x||b()}}).call(this,a!==void 0?a:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],37:[function(m,p,v){var g=m(&quot;immediate&quot;);function b(){}var x={},_=[&quot;REJECTED&quot;],C=[&quot;FULFILLED&quot;],O=[&quot;PENDING&quot;];function R(U){if(typeof U!=&quot;function&quot;)throw new TypeError(&quot;resolver must be a function&quot;);this.state=O,this.queue=[],this.outcome=void 0,U!==b&amp;&amp;W(this,U)}function H(U,P,D){this.promise=U,typeof P==&quot;function&quot;&amp;&amp;(this.onFulfilled=P,this.callFulfilled=this.otherCallFulfilled),typeof D==&quot;function&quot;&amp;&amp;(this.onRejected=D,this.callRejected=this.otherCallRejected)}function L(U,P,D){g((function(){var E;try{E=P(D)}catch(j){return x.reject(U,j)}E===U?x.reject(U,new TypeError(&quot;Cannot resolve promise with itself&quot;)):x.resolve(U,E)}))}function q(U){var P=U&amp;&amp;U.then;if(U&amp;&amp;(typeof U==&quot;object&quot;||typeof U==&quot;function&quot;)&amp;&amp;typeof P==&quot;function&quot;)return function(){P.apply(U,arguments)}}function W(U,P){var D=!1;function E(S){D||(D=!0,x.reject(U,S))}function j(S){D||(D=!0,x.resolve(U,S))}var k=K((function(){P(j,E)}));k.status===&quot;error&quot;&amp;&amp;E(k.value)}function K(U,P){var D={};try{D.value=U(P),D.status=&quot;success&quot;}catch(E){D.status=&quot;error&quot;,D.value=E}return D}(p.exports=R).prototype.finally=function(U){if(typeof U!=&quot;function&quot;)return this;var P=this.constructor;return this.then((function(D){return P.resolve(U()).then((function(){return D}))}),(function(D){return P.resolve(U()).then((function(){throw D}))}))},R.prototype.catch=function(U){return this.then(null,U)},R.prototype.then=function(U,P){if(typeof U!=&quot;function&quot;&amp;&amp;this.state===C||typeof P!=&quot;function&quot;&amp;&amp;this.state===_)return this;var D=new this.constructor(b);return this.state!==O?L(D,this.state===C?U:P,this.outcome):this.queue.push(new H(D,U,P)),D},H.prototype.callFulfilled=function(U){x.resolve(this.promise,U)},H.prototype.otherCallFulfilled=function(U){L(this.promise,this.onFulfilled,U)},H.prototype.callRejected=function(U){x.reject(this.promise,U)},H.prototype.otherCallRejected=function(U){L(this.promise,this.onRejected,U)},x.resolve=function(U,P){var D=K(q,P);if(D.status===&quot;error&quot;)return x.reject(U,D.value);var E=D.value;if(E)W(U,E);else{U.state=C,U.outcome=P;for(var j=-1,k=U.queue.length;++j&lt;k;)U.queue[j].callFulfilled(P)}return U},x.reject=function(U,P){U.state=_,U.outcome=P;for(var D=-1,E=U.queue.length;++D&lt;E;)U.queue[D].callRejected(P);return U},R.resolve=function(U){return U instanceof this?U:x.resolve(new this(b),U)},R.reject=function(U){var P=new this(b);return x.reject(P,U)},R.all=function(U){var P=this;if(Object.prototype.toString.call(U)!==&quot;[object Array]&quot;)return this.reject(new TypeError(&quot;must be an array&quot;));var D=U.length,E=!1;if(!D)return this.resolve([]);for(var j=new Array(D),k=0,S=-1,N=new this(b);++S&lt;D;)M(U[S],S);return N;function M(I,B){P.resolve(I).then((function(Y){j[B]=Y,++k!==D||E||(E=!0,x.resolve(N,j))}),(function(Y){E||(E=!0,x.reject(N,Y))}))}},R.race=function(U){if(Object.prototype.toString.call(U)!==&quot;[object Array]&quot;)return this.reject(new TypeError(&quot;must be an array&quot;));var P=U.length,D=!1;if(!P)return this.resolve([]);for(var E,j=-1,k=new this(b);++j&lt;P;)E=U[j],this.resolve(E).then((function(S){D||(D=!0,x.resolve(k,S))}),(function(S){D||(D=!0,x.reject(k,S))}));return k}},{immediate:36}],38:[function(m,p,v){var g={};(0,m(&quot;./lib/utils/common&quot;).assign)(g,m(&quot;./lib/deflate&quot;),m(&quot;./lib/inflate&quot;),m(&quot;./lib/zlib/constants&quot;)),p.exports=g},{&quot;./lib/deflate&quot;:39,&quot;./lib/inflate&quot;:40,&quot;./lib/utils/common&quot;:41,&quot;./lib/zlib/constants&quot;:44}],39:[function(m,p,v){var g=m(&quot;./zlib/deflate&quot;),b=m(&quot;./utils/common&quot;),x=m(&quot;./utils/strings&quot;),_=m(&quot;./zlib/messages&quot;),C=m(&quot;./zlib/zstream&quot;),O=Object.prototype.toString;function R(L){if(!(this instanceof R))return new R(L);this.options=b.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:&quot;&quot;},L||{});var q=this.options;q.raw&amp;&amp;0&lt;q.windowBits?q.windowBits=-q.windowBits:q.gzip&amp;&amp;0&lt;q.windowBits&amp;&amp;q.windowBits&lt;16&amp;&amp;(q.windowBits+=16),this.err=0,this.msg=&quot;&quot;,this.ended=!1,this.chunks=[],this.strm=new C,this.strm.avail_out=0;var W=g.deflateInit2(this.strm,q.level,q.method,q.windowBits,q.memLevel,q.strategy);if(W!==0)throw new Error(_[W]);if(q.header&amp;&amp;g.deflateSetHeader(this.strm,q.header),q.dictionary){var K;if(K=typeof q.dictionary==&quot;string&quot;?x.string2buf(q.dictionary):O.call(q.dictionary)===&quot;[object ArrayBuffer]&quot;?new Uint8Array(q.dictionary):q.dictionary,(W=g.deflateSetDictionary(this.strm,K))!==0)throw new Error(_[W]);this._dict_set=!0}}function H(L,q){var W=new R(q);if(W.push(L,!0),W.err)throw W.msg||_[W.err];return W.result}R.prototype.push=function(L,q){var W,K,U=this.strm,P=this.options.chunkSize;if(this.ended)return!1;K=q===~~q?q:q===!0?4:0,typeof L==&quot;string&quot;?U.input=x.string2buf(L):O.call(L)===&quot;[object ArrayBuffer]&quot;?U.input=new Uint8Array(L):U.input=L,U.next_in=0,U.avail_in=U.input.length;do{if(U.avail_out===0&amp;&amp;(U.output=new b.Buf8(P),U.next_out=0,U.avail_out=P),(W=g.deflate(U,K))!==1&amp;&amp;W!==0)return this.onEnd(W),!(this.ended=!0);U.avail_out!==0&amp;&amp;(U.avail_in!==0||K!==4&amp;&amp;K!==2)||(this.options.to===&quot;string&quot;?this.onData(x.buf2binstring(b.shrinkBuf(U.output,U.next_out))):this.onData(b.shrinkBuf(U.output,U.next_out)))}while((0&lt;U.avail_in||U.avail_out===0)&amp;&amp;W!==1);return K===4?(W=g.deflateEnd(this.strm),this.onEnd(W),this.ended=!0,W===0):K!==2||(this.onEnd(0),!(U.avail_out=0))},R.prototype.onData=function(L){this.chunks.push(L)},R.prototype.onEnd=function(L){L===0&amp;&amp;(this.options.to===&quot;string&quot;?this.result=this.chunks.join(&quot;&quot;):this.result=b.flattenChunks(this.chunks)),this.chunks=[],this.err=L,this.msg=this.strm.msg},v.Deflate=R,v.deflate=H,v.deflateRaw=function(L,q){return(q=q||{}).raw=!0,H(L,q)},v.gzip=function(L,q){return(q=q||{}).gzip=!0,H(L,q)}},{&quot;./utils/common&quot;:41,&quot;./utils/strings&quot;:42,&quot;./zlib/deflate&quot;:46,&quot;./zlib/messages&quot;:51,&quot;./zlib/zstream&quot;:53}],40:[function(m,p,v){var g=m(&quot;./zlib/inflate&quot;),b=m(&quot;./utils/common&quot;),x=m(&quot;./utils/strings&quot;),_=m(&quot;./zlib/constants&quot;),C=m(&quot;./zlib/messages&quot;),O=m(&quot;./zlib/zstream&quot;),R=m(&quot;./zlib/gzheader&quot;),H=Object.prototype.toString;function L(W){if(!(this instanceof L))return new L(W);this.options=b.assign({chunkSize:16384,windowBits:0,to:&quot;&quot;},W||{});var K=this.options;K.raw&amp;&amp;0&lt;=K.windowBits&amp;&amp;K.windowBits&lt;16&amp;&amp;(K.windowBits=-K.windowBits,K.windowBits===0&amp;&amp;(K.windowBits=-15)),!(0&lt;=K.windowBits&amp;&amp;K.windowBits&lt;16)||W&amp;&amp;W.windowBits||(K.windowBits+=32),15&lt;K.windowBits&amp;&amp;K.windowBits&lt;48&amp;&amp;(15&amp;K.windowBits)==0&amp;&amp;(K.windowBits|=15),this.err=0,this.msg=&quot;&quot;,this.ended=!1,this.chunks=[],this.strm=new O,this.strm.avail_out=0;var U=g.inflateInit2(this.strm,K.windowBits);if(U!==_.Z_OK)throw new Error(C[U]);this.header=new R,g.inflateGetHeader(this.strm,this.header)}function q(W,K){var U=new L(K);if(U.push(W,!0),U.err)throw U.msg||C[U.err];return U.result}L.prototype.push=function(W,K){var U,P,D,E,j,k,S=this.strm,N=this.options.chunkSize,M=this.options.dictionary,I=!1;if(this.ended)return!1;P=K===~~K?K:K===!0?_.Z_FINISH:_.Z_NO_FLUSH,typeof W==&quot;string&quot;?S.input=x.binstring2buf(W):H.call(W)===&quot;[object ArrayBuffer]&quot;?S.input=new Uint8Array(W):S.input=W,S.next_in=0,S.avail_in=S.input.length;do{if(S.avail_out===0&amp;&amp;(S.output=new b.Buf8(N),S.next_out=0,S.avail_out=N),(U=g.inflate(S,_.Z_NO_FLUSH))===_.Z_NEED_DICT&amp;&amp;M&amp;&amp;(k=typeof M==&quot;string&quot;?x.string2buf(M):H.call(M)===&quot;[object ArrayBuffer]&quot;?new Uint8Array(M):M,U=g.inflateSetDictionary(this.strm,k)),U===_.Z_BUF_ERROR&amp;&amp;I===!0&amp;&amp;(U=_.Z_OK,I=!1),U!==_.Z_STREAM_END&amp;&amp;U!==_.Z_OK)return this.onEnd(U),!(this.ended=!0);S.next_out&amp;&amp;(S.avail_out!==0&amp;&amp;U!==_.Z_STREAM_END&amp;&amp;(S.avail_in!==0||P!==_.Z_FINISH&amp;&amp;P!==_.Z_SYNC_FLUSH)||(this.options.to===&quot;string&quot;?(D=x.utf8border(S.output,S.next_out),E=S.next_out-D,j=x.buf2string(S.output,D),S.next_out=E,S.avail_out=N-E,E&amp;&amp;b.arraySet(S.output,S.output,D,E,0),this.onData(j)):this.onData(b.shrinkBuf(S.output,S.next_out)))),S.avail_in===0&amp;&amp;S.avail_out===0&amp;&amp;(I=!0)}while((0&lt;S.avail_in||S.avail_out===0)&amp;&amp;U!==_.Z_STREAM_END);return U===_.Z_STREAM_END&amp;&amp;(P=_.Z_FINISH),P===_.Z_FINISH?(U=g.inflateEnd(this.strm),this.onEnd(U),this.ended=!0,U===_.Z_OK):P!==_.Z_SYNC_FLUSH||(this.onEnd(_.Z_OK),!(S.avail_out=0))},L.prototype.onData=function(W){this.chunks.push(W)},L.prototype.onEnd=function(W){W===_.Z_OK&amp;&amp;(this.options.to===&quot;string&quot;?this.result=this.chunks.join(&quot;&quot;):this.result=b.flattenChunks(this.chunks)),this.chunks=[],this.err=W,this.msg=this.strm.msg},v.Inflate=L,v.inflate=q,v.inflateRaw=function(W,K){return(K=K||{}).raw=!0,q(W,K)},v.ungzip=q},{&quot;./utils/common&quot;:41,&quot;./utils/strings&quot;:42,&quot;./zlib/constants&quot;:44,&quot;./zlib/gzheader&quot;:47,&quot;./zlib/inflate&quot;:49,&quot;./zlib/messages&quot;:51,&quot;./zlib/zstream&quot;:53}],41:[function(m,p,v){var g=typeof Uint8Array&lt;&quot;u&quot;&amp;&amp;typeof Uint16Array&lt;&quot;u&quot;&amp;&amp;typeof Int32Array&lt;&quot;u&quot;;v.assign=function(_){for(var C=Array.prototype.slice.call(arguments,1);C.length;){var O=C.shift();if(O){if(typeof O!=&quot;object&quot;)throw new TypeError(O+&quot;must be non-object&quot;);for(var R in O)O.hasOwnProperty(R)&amp;&amp;(_[R]=O[R])}}return _},v.shrinkBuf=function(_,C){return _.length===C?_:_.subarray?_.subarray(0,C):(_.length=C,_)};var b={arraySet:function(_,C,O,R,H){if(C.subarray&amp;&amp;_.subarray)_.set(C.subarray(O,O+R),H);else for(var L=0;L&lt;R;L++)_[H+L]=C[O+L]},flattenChunks:function(_){var C,O,R,H,L,q;for(C=R=0,O=_.length;C&lt;O;C++)R+=_[C].length;for(q=new Uint8Array(R),C=H=0,O=_.length;C&lt;O;C++)L=_[C],q.set(L,H),H+=L.length;return q}},x={arraySet:function(_,C,O,R,H){for(var L=0;L&lt;R;L++)_[H+L]=C[O+L]},flattenChunks:function(_){return[].concat.apply([],_)}};v.setTyped=function(_){_?(v.Buf8=Uint8Array,v.Buf16=Uint16Array,v.Buf32=Int32Array,v.assign(v,b)):(v.Buf8=Array,v.Buf16=Array,v.Buf32=Array,v.assign(v,x))},v.setTyped(g)},{}],42:[function(m,p,v){var g=m(&quot;./common&quot;),b=!0,x=!0;try{String.fromCharCode.apply(null,[0])}catch{b=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{x=!1}for(var _=new g.Buf8(256),C=0;C&lt;256;C++)_[C]=252&lt;=C?6:248&lt;=C?5:240&lt;=C?4:224&lt;=C?3:192&lt;=C?2:1;function O(R,H){if(H&lt;65537&amp;&amp;(R.subarray&amp;&amp;x||!R.subarray&amp;&amp;b))return String.fromCharCode.apply(null,g.shrinkBuf(R,H));for(var L=&quot;&quot;,q=0;q&lt;H;q++)L+=String.fromCharCode(R[q]);return L}_[254]=_[254]=1,v.string2buf=function(R){var H,L,q,W,K,U=R.length,P=0;for(W=0;W&lt;U;W++)(64512&amp;(L=R.charCodeAt(W)))==55296&amp;&amp;W+1&lt;U&amp;&amp;(64512&amp;(q=R.charCodeAt(W+1)))==56320&amp;&amp;(L=65536+(L-55296&lt;&lt;10)+(q-56320),W++),P+=L&lt;128?1:L&lt;2048?2:L&lt;65536?3:4;for(H=new g.Buf8(P),W=K=0;K&lt;P;W++)(64512&amp;(L=R.charCodeAt(W)))==55296&amp;&amp;W+1&lt;U&amp;&amp;(64512&amp;(q=R.charCodeAt(W+1)))==56320&amp;&amp;(L=65536+(L-55296&lt;&lt;10)+(q-56320),W++),L&lt;128?H[K++]=L:(L&lt;2048?H[K++]=192|L&gt;&gt;&gt;6:(L&lt;65536?H[K++]=224|L&gt;&gt;&gt;12:(H[K++]=240|L&gt;&gt;&gt;18,H[K++]=128|L&gt;&gt;&gt;12&amp;63),H[K++]=128|L&gt;&gt;&gt;6&amp;63),H[K++]=128|63&amp;L);return H},v.buf2binstring=function(R){return O(R,R.length)},v.binstring2buf=function(R){for(var H=new g.Buf8(R.length),L=0,q=H.length;L&lt;q;L++)H[L]=R.charCodeAt(L);return H},v.buf2string=function(R,H){var L,q,W,K,U=H||R.length,P=new Array(2*U);for(L=q=0;L&lt;U;)if((W=R[L++])&lt;128)P[q++]=W;else if(4&lt;(K=_[W]))P[q++]=65533,L+=K-1;else{for(W&amp;=K===2?31:K===3?15:7;1&lt;K&amp;&amp;L&lt;U;)W=W&lt;&lt;6|63&amp;R[L++],K--;1&lt;K?P[q++]=65533:W&lt;65536?P[q++]=W:(W-=65536,P[q++]=55296|W&gt;&gt;10&amp;1023,P[q++]=56320|1023&amp;W)}return O(P,q)},v.utf8border=function(R,H){var L;for((H=H||R.length)&gt;R.length&amp;&amp;(H=R.length),L=H-1;0&lt;=L&amp;&amp;(192&amp;R[L])==128;)L--;return L&lt;0||L===0?H:L+_[R[L]]&gt;H?L:H}},{&quot;./common&quot;:41}],43:[function(m,p,v){p.exports=function(g,b,x,_){for(var C=65535&amp;g|0,O=g&gt;&gt;&gt;16&amp;65535|0,R=0;x!==0;){for(x-=R=2e3&lt;x?2e3:x;O=O+(C=C+b[_++]|0)|0,--R;);C%=65521,O%=65521}return C|O&lt;&lt;16|0}},{}],44:[function(m,p,v){p.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(m,p,v){var g=(function(){for(var b,x=[],_=0;_&lt;256;_++){b=_;for(var C=0;C&lt;8;C++)b=1&amp;b?3988292384^b&gt;&gt;&gt;1:b&gt;&gt;&gt;1;x[_]=b}return x})();p.exports=function(b,x,_,C){var O=g,R=C+_;b^=-1;for(var H=C;H&lt;R;H++)b=b&gt;&gt;&gt;8^O[255&amp;(b^x[H])];return-1^b}},{}],46:[function(m,p,v){var g,b=m(&quot;../utils/common&quot;),x=m(&quot;./trees&quot;),_=m(&quot;./adler32&quot;),C=m(&quot;./crc32&quot;),O=m(&quot;./messages&quot;),R=-2,H=258,L=262,q=113;function W($,ee){return $.msg=O[ee],ee}function K($){return($&lt;&lt;1)-(4&lt;$?9:0)}function U($){for(var ee=$.length;0&lt;=--ee;)$[ee]=0}function P($){var ee=$.state,z=ee.pending;z&gt;$.avail_out&amp;&amp;(z=$.avail_out),z!==0&amp;&amp;(b.arraySet($.output,ee.pending_buf,ee.pending_out,z,$.next_out),$.next_out+=z,ee.pending_out+=z,$.total_out+=z,$.avail_out-=z,ee.pending-=z,ee.pending===0&amp;&amp;(ee.pending_out=0))}function D($,ee){x._tr_flush_block($,0&lt;=$.block_start?$.block_start:-1,$.strstart-$.block_start,ee),$.block_start=$.strstart,P($.strm)}function E($,ee){$.pending_buf[$.pending++]=ee}function j($,ee){$.pending_buf[$.pending++]=ee&gt;&gt;&gt;8&amp;255,$.pending_buf[$.pending++]=255&amp;ee}function k($,ee){var z,T,X=$.max_chain_length,re=$.strstart,ne=$.prev_length,Q=$.nice_match,te=$.strstart&gt;$.w_size-L?$.strstart-($.w_size-L):0,de=$.window,oe=$.w_mask,se=$.prev,fe=$.strstart+H,he=de[re+ne-1],ce=de[re+ne];$.prev_length&gt;=$.good_match&amp;&amp;(X&gt;&gt;=2),Q&gt;$.lookahead&amp;&amp;(Q=$.lookahead);do if(de[(z=ee)+ne]===ce&amp;&amp;de[z+ne-1]===he&amp;&amp;de[z]===de[re]&amp;&amp;de[++z]===de[re+1]){re+=2,z++;do;while(de[++re]===de[++z]&amp;&amp;de[++re]===de[++z]&amp;&amp;de[++re]===de[++z]&amp;&amp;de[++re]===de[++z]&amp;&amp;de[++re]===de[++z]&amp;&amp;de[++re]===de[++z]&amp;&amp;de[++re]===de[++z]&amp;&amp;de[++re]===de[++z]&amp;&amp;re&lt;fe);if(T=H-(fe-re),re=fe-H,ne&lt;T){if($.match_start=ee,Q&lt;=(ne=T))break;he=de[re+ne-1],ce=de[re+ne]}}while((ee=se[ee&amp;oe])&gt;te&amp;&amp;--X!=0);return ne&lt;=$.lookahead?ne:$.lookahead}function S($){var ee,z,T,X,re,ne,Q,te,de,oe,se=$.w_size;do{if(X=$.window_size-$.lookahead-$.strstart,$.strstart&gt;=se+(se-L)){for(b.arraySet($.window,$.window,se,se,0),$.match_start-=se,$.strstart-=se,$.block_start-=se,ee=z=$.hash_size;T=$.head[--ee],$.head[ee]=se&lt;=T?T-se:0,--z;);for(ee=z=se;T=$.prev[--ee],$.prev[ee]=se&lt;=T?T-se:0,--z;);X+=se}if($.strm.avail_in===0)break;if(ne=$.strm,Q=$.window,te=$.strstart+$.lookahead,oe=void 0,(de=X)&lt;(oe=ne.avail_in)&amp;&amp;(oe=de),z=oe===0?0:(ne.avail_in-=oe,b.arraySet(Q,ne.input,ne.next_in,oe,te),ne.state.wrap===1?ne.adler=_(ne.adler,Q,oe,te):ne.state.wrap===2&amp;&amp;(ne.adler=C(ne.adler,Q,oe,te)),ne.next_in+=oe,ne.total_in+=oe,oe),$.lookahead+=z,$.lookahead+$.insert&gt;=3)for(re=$.strstart-$.insert,$.ins_h=$.window[re],$.ins_h=($.ins_h&lt;&lt;$.hash_shift^$.window[re+1])&amp;$.hash_mask;$.insert&amp;&amp;($.ins_h=($.ins_h&lt;&lt;$.hash_shift^$.window[re+3-1])&amp;$.hash_mask,$.prev[re&amp;$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=re,re++,$.insert--,!($.lookahead+$.insert&lt;3)););}while($.lookahead&lt;L&amp;&amp;$.strm.avail_in!==0)}function N($,ee){for(var z,T;;){if($.lookahead&lt;L){if(S($),$.lookahead&lt;L&amp;&amp;ee===0)return 1;if($.lookahead===0)break}if(z=0,$.lookahead&gt;=3&amp;&amp;($.ins_h=($.ins_h&lt;&lt;$.hash_shift^$.window[$.strstart+3-1])&amp;$.hash_mask,z=$.prev[$.strstart&amp;$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart),z!==0&amp;&amp;$.strstart-z&lt;=$.w_size-L&amp;&amp;($.match_length=k($,z)),$.match_length&gt;=3)if(T=x._tr_tally($,$.strstart-$.match_start,$.match_length-3),$.lookahead-=$.match_length,$.match_length&lt;=$.max_lazy_match&amp;&amp;$.lookahead&gt;=3){for($.match_length--;$.strstart++,$.ins_h=($.ins_h&lt;&lt;$.hash_shift^$.window[$.strstart+3-1])&amp;$.hash_mask,z=$.prev[$.strstart&amp;$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart,--$.match_length!=0;);$.strstart++}else $.strstart+=$.match_length,$.match_length=0,$.ins_h=$.window[$.strstart],$.ins_h=($.ins_h&lt;&lt;$.hash_shift^$.window[$.strstart+1])&amp;$.hash_mask;else T=x._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++;if(T&amp;&amp;(D($,!1),$.strm.avail_out===0))return 1}return $.insert=$.strstart&lt;2?$.strstart:2,ee===4?(D($,!0),$.strm.avail_out===0?3:4):$.last_lit&amp;&amp;(D($,!1),$.strm.avail_out===0)?1:2}function M($,ee){for(var z,T,X;;){if($.lookahead&lt;L){if(S($),$.lookahead&lt;L&amp;&amp;ee===0)return 1;if($.lookahead===0)break}if(z=0,$.lookahead&gt;=3&amp;&amp;($.ins_h=($.ins_h&lt;&lt;$.hash_shift^$.window[$.strstart+3-1])&amp;$.hash_mask,z=$.prev[$.strstart&amp;$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart),$.prev_length=$.match_length,$.prev_match=$.match_start,$.match_length=2,z!==0&amp;&amp;$.prev_length&lt;$.max_lazy_match&amp;&amp;$.strstart-z&lt;=$.w_size-L&amp;&amp;($.match_length=k($,z),$.match_length&lt;=5&amp;&amp;($.strategy===1||$.match_length===3&amp;&amp;4096&lt;$.strstart-$.match_start)&amp;&amp;($.match_length=2)),$.prev_length&gt;=3&amp;&amp;$.match_length&lt;=$.prev_length){for(X=$.strstart+$.lookahead-3,T=x._tr_tally($,$.strstart-1-$.prev_match,$.prev_length-3),$.lookahead-=$.prev_length-1,$.prev_length-=2;++$.strstart&lt;=X&amp;&amp;($.ins_h=($.ins_h&lt;&lt;$.hash_shift^$.window[$.strstart+3-1])&amp;$.hash_mask,z=$.prev[$.strstart&amp;$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart),--$.prev_length!=0;);if($.match_available=0,$.match_length=2,$.strstart++,T&amp;&amp;(D($,!1),$.strm.avail_out===0))return 1}else if($.match_available){if((T=x._tr_tally($,0,$.window[$.strstart-1]))&amp;&amp;D($,!1),$.strstart++,$.lookahead--,$.strm.avail_out===0)return 1}else $.match_available=1,$.strstart++,$.lookahead--}return $.match_available&amp;&amp;(T=x._tr_tally($,0,$.window[$.strstart-1]),$.match_available=0),$.insert=$.strstart&lt;2?$.strstart:2,ee===4?(D($,!0),$.strm.avail_out===0?3:4):$.last_lit&amp;&amp;(D($,!1),$.strm.avail_out===0)?1:2}function I($,ee,z,T,X){this.good_length=$,this.max_lazy=ee,this.nice_length=z,this.max_chain=T,this.func=X}function B(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new b.Buf16(1146),this.dyn_dtree=new b.Buf16(122),this.bl_tree=new b.Buf16(78),U(this.dyn_ltree),U(this.dyn_dtree),U(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new b.Buf16(16),this.heap=new b.Buf16(573),U(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new b.Buf16(573),U(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Y($){var ee;return $&amp;&amp;$.state?($.total_in=$.total_out=0,$.data_type=2,(ee=$.state).pending=0,ee.pending_out=0,ee.wrap&lt;0&amp;&amp;(ee.wrap=-ee.wrap),ee.status=ee.wrap?42:q,$.adler=ee.wrap===2?0:1,ee.last_flush=0,x._tr_init(ee),0):W($,R)}function Z($){var ee=Y($);return ee===0&amp;&amp;(function(z){z.window_size=2*z.w_size,U(z.head),z.max_lazy_match=g[z.level].max_lazy,z.good_match=g[z.level].good_length,z.nice_match=g[z.level].nice_length,z.max_chain_length=g[z.level].max_chain,z.strstart=0,z.block_start=0,z.lookahead=0,z.insert=0,z.match_length=z.prev_length=2,z.match_available=0,z.ins_h=0})($.state),ee}function ie($,ee,z,T,X,re){if(!$)return R;var ne=1;if(ee===-1&amp;&amp;(ee=6),T&lt;0?(ne=0,T=-T):15&lt;T&amp;&amp;(ne=2,T-=16),X&lt;1||9&lt;X||z!==8||T&lt;8||15&lt;T||ee&lt;0||9&lt;ee||re&lt;0||4&lt;re)return W($,R);T===8&amp;&amp;(T=9);var Q=new B;return($.state=Q).strm=$,Q.wrap=ne,Q.gzhead=null,Q.w_bits=T,Q.w_size=1&lt;&lt;Q.w_bits,Q.w_mask=Q.w_size-1,Q.hash_bits=X+7,Q.hash_size=1&lt;&lt;Q.hash_bits,Q.hash_mask=Q.hash_size-1,Q.hash_shift=~~((Q.hash_bits+3-1)/3),Q.window=new b.Buf8(2*Q.w_size),Q.head=new b.Buf16(Q.hash_size),Q.prev=new b.Buf16(Q.w_size),Q.lit_bufsize=1&lt;&lt;X+6,Q.pending_buf_size=4*Q.lit_bufsize,Q.pending_buf=new b.Buf8(Q.pending_buf_size),Q.d_buf=1*Q.lit_bufsize,Q.l_buf=3*Q.lit_bufsize,Q.level=ee,Q.strategy=re,Q.method=z,Z($)}g=[new I(0,0,0,0,(function($,ee){var z=65535;for(z&gt;$.pending_buf_size-5&amp;&amp;(z=$.pending_buf_size-5);;){if($.lookahead&lt;=1){if(S($),$.lookahead===0&amp;&amp;ee===0)return 1;if($.lookahead===0)break}$.strstart+=$.lookahead,$.lookahead=0;var T=$.block_start+z;if(($.strstart===0||$.strstart&gt;=T)&amp;&amp;($.lookahead=$.strstart-T,$.strstart=T,D($,!1),$.strm.avail_out===0)||$.strstart-$.block_start&gt;=$.w_size-L&amp;&amp;(D($,!1),$.strm.avail_out===0))return 1}return $.insert=0,ee===4?(D($,!0),$.strm.avail_out===0?3:4):($.strstart&gt;$.block_start&amp;&amp;(D($,!1),$.strm.avail_out),1)})),new I(4,4,8,4,N),new I(4,5,16,8,N),new I(4,6,32,32,N),new I(4,4,16,16,M),new I(8,16,32,32,M),new I(8,16,128,128,M),new I(8,32,128,256,M),new I(32,128,258,1024,M),new I(32,258,258,4096,M)],v.deflateInit=function($,ee){return ie($,ee,8,15,8,0)},v.deflateInit2=ie,v.deflateReset=Z,v.deflateResetKeep=Y,v.deflateSetHeader=function($,ee){return $&amp;&amp;$.state?$.state.wrap!==2?R:($.state.gzhead=ee,0):R},v.deflate=function($,ee){var z,T,X,re;if(!$||!$.state||5&lt;ee||ee&lt;0)return $?W($,R):R;if(T=$.state,!$.output||!$.input&amp;&amp;$.avail_in!==0||T.status===666&amp;&amp;ee!==4)return W($,$.avail_out===0?-5:R);if(T.strm=$,z=T.last_flush,T.last_flush=ee,T.status===42)if(T.wrap===2)$.adler=0,E(T,31),E(T,139),E(T,8),T.gzhead?(E(T,(T.gzhead.text?1:0)+(T.gzhead.hcrc?2:0)+(T.gzhead.extra?4:0)+(T.gzhead.name?8:0)+(T.gzhead.comment?16:0)),E(T,255&amp;T.gzhead.time),E(T,T.gzhead.time&gt;&gt;8&amp;255),E(T,T.gzhead.time&gt;&gt;16&amp;255),E(T,T.gzhead.time&gt;&gt;24&amp;255),E(T,T.level===9?2:2&lt;=T.strategy||T.level&lt;2?4:0),E(T,255&amp;T.gzhead.os),T.gzhead.extra&amp;&amp;T.gzhead.extra.length&amp;&amp;(E(T,255&amp;T.gzhead.extra.length),E(T,T.gzhead.extra.length&gt;&gt;8&amp;255)),T.gzhead.hcrc&amp;&amp;($.adler=C($.adler,T.pending_buf,T.pending,0)),T.gzindex=0,T.status=69):(E(T,0),E(T,0),E(T,0),E(T,0),E(T,0),E(T,T.level===9?2:2&lt;=T.strategy||T.level&lt;2?4:0),E(T,3),T.status=q);else{var ne=8+(T.w_bits-8&lt;&lt;4)&lt;&lt;8;ne|=(2&lt;=T.strategy||T.level&lt;2?0:T.level&lt;6?1:T.level===6?2:3)&lt;&lt;6,T.strstart!==0&amp;&amp;(ne|=32),ne+=31-ne%31,T.status=q,j(T,ne),T.strstart!==0&amp;&amp;(j(T,$.adler&gt;&gt;&gt;16),j(T,65535&amp;$.adler)),$.adler=1}if(T.status===69)if(T.gzhead.extra){for(X=T.pending;T.gzindex&lt;(65535&amp;T.gzhead.extra.length)&amp;&amp;(T.pending!==T.pending_buf_size||(T.gzhead.hcrc&amp;&amp;T.pending&gt;X&amp;&amp;($.adler=C($.adler,T.pending_buf,T.pending-X,X)),P($),X=T.pending,T.pending!==T.pending_buf_size));)E(T,255&amp;T.gzhead.extra[T.gzindex]),T.gzindex++;T.gzhead.hcrc&amp;&amp;T.pending&gt;X&amp;&amp;($.adler=C($.adler,T.pending_buf,T.pending-X,X)),T.gzindex===T.gzhead.extra.length&amp;&amp;(T.gzindex=0,T.status=73)}else T.status=73;if(T.status===73)if(T.gzhead.name){X=T.pending;do{if(T.pending===T.pending_buf_size&amp;&amp;(T.gzhead.hcrc&amp;&amp;T.pending&gt;X&amp;&amp;($.adler=C($.adler,T.pending_buf,T.pending-X,X)),P($),X=T.pending,T.pending===T.pending_buf_size)){re=1;break}re=T.gzindex&lt;T.gzhead.name.length?255&amp;T.gzhead.name.charCodeAt(T.gzindex++):0,E(T,re)}while(re!==0);T.gzhead.hcrc&amp;&amp;T.pending&gt;X&amp;&amp;($.adler=C($.adler,T.pending_buf,T.pending-X,X)),re===0&amp;&amp;(T.gzindex=0,T.status=91)}else T.status=91;if(T.status===91)if(T.gzhead.comment){X=T.pending;do{if(T.pending===T.pending_buf_size&amp;&amp;(T.gzhead.hcrc&amp;&amp;T.pending&gt;X&amp;&amp;($.adler=C($.adler,T.pending_buf,T.pending-X,X)),P($),X=T.pending,T.pending===T.pending_buf_size)){re=1;break}re=T.gzindex&lt;T.gzhead.comment.length?255&amp;T.gzhead.comment.charCodeAt(T.gzindex++):0,E(T,re)}while(re!==0);T.gzhead.hcrc&amp;&amp;T.pending&gt;X&amp;&amp;($.adler=C($.adler,T.pending_buf,T.pending-X,X)),re===0&amp;&amp;(T.status=103)}else T.status=103;if(T.status===103&amp;&amp;(T.gzhead.hcrc?(T.pending+2&gt;T.pending_buf_size&amp;&amp;P($),T.pending+2&lt;=T.pending_buf_size&amp;&amp;(E(T,255&amp;$.adler),E(T,$.adler&gt;&gt;8&amp;255),$.adler=0,T.status=q)):T.status=q),T.pending!==0){if(P($),$.avail_out===0)return T.last_flush=-1,0}else if($.avail_in===0&amp;&amp;K(ee)&lt;=K(z)&amp;&amp;ee!==4)return W($,-5);if(T.status===666&amp;&amp;$.avail_in!==0)return W($,-5);if($.avail_in!==0||T.lookahead!==0||ee!==0&amp;&amp;T.status!==666){var Q=T.strategy===2?(function(te,de){for(var oe;;){if(te.lookahead===0&amp;&amp;(S(te),te.lookahead===0)){if(de===0)return 1;break}if(te.match_length=0,oe=x._tr_tally(te,0,te.window[te.strstart]),te.lookahead--,te.strstart++,oe&amp;&amp;(D(te,!1),te.strm.avail_out===0))return 1}return te.insert=0,de===4?(D(te,!0),te.strm.avail_out===0?3:4):te.last_lit&amp;&amp;(D(te,!1),te.strm.avail_out===0)?1:2})(T,ee):T.strategy===3?(function(te,de){for(var oe,se,fe,he,ce=te.window;;){if(te.lookahead&lt;=H){if(S(te),te.lookahead&lt;=H&amp;&amp;de===0)return 1;if(te.lookahead===0)break}if(te.match_length=0,te.lookahead&gt;=3&amp;&amp;0&lt;te.strstart&amp;&amp;(se=ce[fe=te.strstart-1])===ce[++fe]&amp;&amp;se===ce[++fe]&amp;&amp;se===ce[++fe]){he=te.strstart+H;do;while(se===ce[++fe]&amp;&amp;se===ce[++fe]&amp;&amp;se===ce[++fe]&amp;&amp;se===ce[++fe]&amp;&amp;se===ce[++fe]&amp;&amp;se===ce[++fe]&amp;&amp;se===ce[++fe]&amp;&amp;se===ce[++fe]&amp;&amp;fe&lt;he);te.match_length=H-(he-fe),te.match_length&gt;te.lookahead&amp;&amp;(te.match_length=te.lookahead)}if(te.match_length&gt;=3?(oe=x._tr_tally(te,1,te.match_length-3),te.lookahead-=te.match_length,te.strstart+=te.match_length,te.match_length=0):(oe=x._tr_tally(te,0,te.window[te.strstart]),te.lookahead--,te.strstart++),oe&amp;&amp;(D(te,!1),te.strm.avail_out===0))return 1}return te.insert=0,de===4?(D(te,!0),te.strm.avail_out===0?3:4):te.last_lit&amp;&amp;(D(te,!1),te.strm.avail_out===0)?1:2})(T,ee):g[T.level].func(T,ee);if(Q!==3&amp;&amp;Q!==4||(T.status=666),Q===1||Q===3)return $.avail_out===0&amp;&amp;(T.last_flush=-1),0;if(Q===2&amp;&amp;(ee===1?x._tr_align(T):ee!==5&amp;&amp;(x._tr_stored_block(T,0,0,!1),ee===3&amp;&amp;(U(T.head),T.lookahead===0&amp;&amp;(T.strstart=0,T.block_start=0,T.insert=0))),P($),$.avail_out===0))return T.last_flush=-1,0}return ee!==4?0:T.wrap&lt;=0?1:(T.wrap===2?(E(T,255&amp;$.adler),E(T,$.adler&gt;&gt;8&amp;255),E(T,$.adler&gt;&gt;16&amp;255),E(T,$.adler&gt;&gt;24&amp;255),E(T,255&amp;$.total_in),E(T,$.total_in&gt;&gt;8&amp;255),E(T,$.total_in&gt;&gt;16&amp;255),E(T,$.total_in&gt;&gt;24&amp;255)):(j(T,$.adler&gt;&gt;&gt;16),j(T,65535&amp;$.adler)),P($),0&lt;T.wrap&amp;&amp;(T.wrap=-T.wrap),T.pending!==0?0:1)},v.deflateEnd=function($){var ee;return $&amp;&amp;$.state?(ee=$.state.status)!==42&amp;&amp;ee!==69&amp;&amp;ee!==73&amp;&amp;ee!==91&amp;&amp;ee!==103&amp;&amp;ee!==q&amp;&amp;ee!==666?W($,R):($.state=null,ee===q?W($,-3):0):R},v.deflateSetDictionary=function($,ee){var z,T,X,re,ne,Q,te,de,oe=ee.length;if(!$||!$.state||(re=(z=$.state).wrap)===2||re===1&amp;&amp;z.status!==42||z.lookahead)return R;for(re===1&amp;&amp;($.adler=_($.adler,ee,oe,0)),z.wrap=0,oe&gt;=z.w_size&amp;&amp;(re===0&amp;&amp;(U(z.head),z.strstart=0,z.block_start=0,z.insert=0),de=new b.Buf8(z.w_size),b.arraySet(de,ee,oe-z.w_size,z.w_size,0),ee=de,oe=z.w_size),ne=$.avail_in,Q=$.next_in,te=$.input,$.avail_in=oe,$.next_in=0,$.input=ee,S(z);z.lookahead&gt;=3;){for(T=z.strstart,X=z.lookahead-2;z.ins_h=(z.ins_h&lt;&lt;z.hash_shift^z.window[T+3-1])&amp;z.hash_mask,z.prev[T&amp;z.w_mask]=z.head[z.ins_h],z.head[z.ins_h]=T,T++,--X;);z.strstart=T,z.lookahead=2,S(z)}return z.strstart+=z.lookahead,z.block_start=z.strstart,z.insert=z.lookahead,z.lookahead=0,z.match_length=z.prev_length=2,z.match_available=0,$.next_in=Q,$.input=te,$.avail_in=ne,z.wrap=re,0},v.deflateInfo=&quot;pako deflate (from Nodeca project)&quot;},{&quot;../utils/common&quot;:41,&quot;./adler32&quot;:43,&quot;./crc32&quot;:45,&quot;./messages&quot;:51,&quot;./trees&quot;:52}],47:[function(m,p,v){p.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name=&quot;&quot;,this.comment=&quot;&quot;,this.hcrc=0,this.done=!1}},{}],48:[function(m,p,v){p.exports=function(g,b){var x,_,C,O,R,H,L,q,W,K,U,P,D,E,j,k,S,N,M,I,B,Y,Z,ie,$;x=g.state,_=g.next_in,ie=g.input,C=_+(g.avail_in-5),O=g.next_out,$=g.output,R=O-(b-g.avail_out),H=O+(g.avail_out-257),L=x.dmax,q=x.wsize,W=x.whave,K=x.wnext,U=x.window,P=x.hold,D=x.bits,E=x.lencode,j=x.distcode,k=(1&lt;&lt;x.lenbits)-1,S=(1&lt;&lt;x.distbits)-1;e:do{D&lt;15&amp;&amp;(P+=ie[_++]&lt;&lt;D,D+=8,P+=ie[_++]&lt;&lt;D,D+=8),N=E[P&amp;k];t:for(;;){if(P&gt;&gt;&gt;=M=N&gt;&gt;&gt;24,D-=M,(M=N&gt;&gt;&gt;16&amp;255)==0)$[O++]=65535&amp;N;else{if(!(16&amp;M)){if((64&amp;M)==0){N=E[(65535&amp;N)+(P&amp;(1&lt;&lt;M)-1)];continue t}if(32&amp;M){x.mode=12;break e}g.msg=&quot;invalid literal/length code&quot;,x.mode=30;break e}I=65535&amp;N,(M&amp;=15)&amp;&amp;(D&lt;M&amp;&amp;(P+=ie[_++]&lt;&lt;D,D+=8),I+=P&amp;(1&lt;&lt;M)-1,P&gt;&gt;&gt;=M,D-=M),D&lt;15&amp;&amp;(P+=ie[_++]&lt;&lt;D,D+=8,P+=ie[_++]&lt;&lt;D,D+=8),N=j[P&amp;S];r:for(;;){if(P&gt;&gt;&gt;=M=N&gt;&gt;&gt;24,D-=M,!(16&amp;(M=N&gt;&gt;&gt;16&amp;255))){if((64&amp;M)==0){N=j[(65535&amp;N)+(P&amp;(1&lt;&lt;M)-1)];continue r}g.msg=&quot;invalid distance code&quot;,x.mode=30;break e}if(B=65535&amp;N,D&lt;(M&amp;=15)&amp;&amp;(P+=ie[_++]&lt;&lt;D,(D+=8)&lt;M&amp;&amp;(P+=ie[_++]&lt;&lt;D,D+=8)),L&lt;(B+=P&amp;(1&lt;&lt;M)-1)){g.msg=&quot;invalid distance too far back&quot;,x.mode=30;break e}if(P&gt;&gt;&gt;=M,D-=M,(M=O-R)&lt;B){if(W&lt;(M=B-M)&amp;&amp;x.sane){g.msg=&quot;invalid distance too far back&quot;,x.mode=30;break e}if(Z=U,(Y=0)===K){if(Y+=q-M,M&lt;I){for(I-=M;$[O++]=U[Y++],--M;);Y=O-B,Z=$}}else if(K&lt;M){if(Y+=q+K-M,(M-=K)&lt;I){for(I-=M;$[O++]=U[Y++],--M;);if(Y=0,K&lt;I){for(I-=M=K;$[O++]=U[Y++],--M;);Y=O-B,Z=$}}}else if(Y+=K-M,M&lt;I){for(I-=M;$[O++]=U[Y++],--M;);Y=O-B,Z=$}for(;2&lt;I;)$[O++]=Z[Y++],$[O++]=Z[Y++],$[O++]=Z[Y++],I-=3;I&amp;&amp;($[O++]=Z[Y++],1&lt;I&amp;&amp;($[O++]=Z[Y++]))}else{for(Y=O-B;$[O++]=$[Y++],$[O++]=$[Y++],$[O++]=$[Y++],2&lt;(I-=3););I&amp;&amp;($[O++]=$[Y++],1&lt;I&amp;&amp;($[O++]=$[Y++]))}break}}break}}while(_&lt;C&amp;&amp;O&lt;H);_-=I=D&gt;&gt;3,P&amp;=(1&lt;&lt;(D-=I&lt;&lt;3))-1,g.next_in=_,g.next_out=O,g.avail_in=_&lt;C?C-_+5:5-(_-C),g.avail_out=O&lt;H?H-O+257:257-(O-H),x.hold=P,x.bits=D}},{}],49:[function(m,p,v){var g=m(&quot;../utils/common&quot;),b=m(&quot;./adler32&quot;),x=m(&quot;./crc32&quot;),_=m(&quot;./inffast&quot;),C=m(&quot;./inftrees&quot;),O=-2;function R(k){return(k&gt;&gt;&gt;24&amp;255)+(k&gt;&gt;&gt;8&amp;65280)+((65280&amp;k)&lt;&lt;8)+((255&amp;k)&lt;&lt;24)}function H(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new g.Buf16(320),this.work=new g.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function L(k){var S;return k&amp;&amp;k.state?(S=k.state,k.total_in=k.total_out=S.total=0,k.msg=&quot;&quot;,S.wrap&amp;&amp;(k.adler=1&amp;S.wrap),S.mode=1,S.last=0,S.havedict=0,S.dmax=32768,S.head=null,S.hold=0,S.bits=0,S.lencode=S.lendyn=new g.Buf32(852),S.distcode=S.distdyn=new g.Buf32(592),S.sane=1,S.back=-1,0):O}function q(k){var S;return k&amp;&amp;k.state?((S=k.state).wsize=0,S.whave=0,S.wnext=0,L(k)):O}function W(k,S){var N,M;return k&amp;&amp;k.state?(M=k.state,S&lt;0?(N=0,S=-S):(N=1+(S&gt;&gt;4),S&lt;48&amp;&amp;(S&amp;=15)),S&amp;&amp;(S&lt;8||15&lt;S)?O:(M.window!==null&amp;&amp;M.wbits!==S&amp;&amp;(M.window=null),M.wrap=N,M.wbits=S,q(k))):O}function K(k,S){var N,M;return k?(M=new H,(k.state=M).window=null,(N=W(k,S))!==0&amp;&amp;(k.state=null),N):O}var U,P,D=!0;function E(k){if(D){var S;for(U=new g.Buf32(512),P=new g.Buf32(32),S=0;S&lt;144;)k.lens[S++]=8;for(;S&lt;256;)k.lens[S++]=9;for(;S&lt;280;)k.lens[S++]=7;for(;S&lt;288;)k.lens[S++]=8;for(C(1,k.lens,0,288,U,0,k.work,{bits:9}),S=0;S&lt;32;)k.lens[S++]=5;C(2,k.lens,0,32,P,0,k.work,{bits:5}),D=!1}k.lencode=U,k.lenbits=9,k.distcode=P,k.distbits=5}function j(k,S,N,M){var I,B=k.state;return B.window===null&amp;&amp;(B.wsize=1&lt;&lt;B.wbits,B.wnext=0,B.whave=0,B.window=new g.Buf8(B.wsize)),M&gt;=B.wsize?(g.arraySet(B.window,S,N-B.wsize,B.wsize,0),B.wnext=0,B.whave=B.wsize):(M&lt;(I=B.wsize-B.wnext)&amp;&amp;(I=M),g.arraySet(B.window,S,N-M,I,B.wnext),(M-=I)?(g.arraySet(B.window,S,N-M,M,0),B.wnext=M,B.whave=B.wsize):(B.wnext+=I,B.wnext===B.wsize&amp;&amp;(B.wnext=0),B.whave&lt;B.wsize&amp;&amp;(B.whave+=I))),0}v.inflateReset=q,v.inflateReset2=W,v.inflateResetKeep=L,v.inflateInit=function(k){return K(k,15)},v.inflateInit2=K,v.inflate=function(k,S){var N,M,I,B,Y,Z,ie,$,ee,z,T,X,re,ne,Q,te,de,oe,se,fe,he,ce,ge,ye,pe=0,le=new g.Buf8(4),Ce=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!k||!k.state||!k.output||!k.input&amp;&amp;k.avail_in!==0)return O;(N=k.state).mode===12&amp;&amp;(N.mode=13),Y=k.next_out,I=k.output,ie=k.avail_out,B=k.next_in,M=k.input,Z=k.avail_in,$=N.hold,ee=N.bits,z=Z,T=ie,ce=0;e:for(;;)switch(N.mode){case 1:if(N.wrap===0){N.mode=13;break}for(;ee&lt;16;){if(Z===0)break e;Z--,$+=M[B++]&lt;&lt;ee,ee+=8}if(2&amp;N.wrap&amp;&amp;$===35615){le[N.check=0]=255&amp;$,le[1]=$&gt;&gt;&gt;8&amp;255,N.check=x(N.check,le,2,0),ee=$=0,N.mode=2;break}if(N.flags=0,N.head&amp;&amp;(N.head.done=!1),!(1&amp;N.wrap)||(((255&amp;$)&lt;&lt;8)+($&gt;&gt;8))%31){k.msg=&quot;incorrect header check&quot;,N.mode=30;break}if((15&amp;$)!=8){k.msg=&quot;unknown compression method&quot;,N.mode=30;break}if(ee-=4,he=8+(15&amp;($&gt;&gt;&gt;=4)),N.wbits===0)N.wbits=he;else if(he&gt;N.wbits){k.msg=&quot;invalid window size&quot;,N.mode=30;break}N.dmax=1&lt;&lt;he,k.adler=N.check=1,N.mode=512&amp;$?10:12,ee=$=0;break;case 2:for(;ee&lt;16;){if(Z===0)break e;Z--,$+=M[B++]&lt;&lt;ee,ee+=8}if(N.flags=$,(255&amp;N.flags)!=8){k.msg=&quot;unknown compression method&quot;,N.mode=30;break}if(57344&amp;N.flags){k.msg=&quot;unknown header flags set&quot;,N.mode=30;break}N.head&amp;&amp;(N.head.text=$&gt;&gt;8&amp;1),512&amp;N.flags&amp;&amp;(le[0]=255&amp;$,le[1]=$&gt;&gt;&gt;8&amp;255,N.check=x(N.check,le,2,0)),ee=$=0,N.mode=3;case 3:for(;ee&lt;32;){if(Z===0)break e;Z--,$+=M[B++]&lt;&lt;ee,ee+=8}N.head&amp;&amp;(N.head.time=$),512&amp;N.flags&amp;&amp;(le[0]=255&amp;$,le[1]=$&gt;&gt;&gt;8&amp;255,le[2]=$&gt;&gt;&gt;16&amp;255,le[3]=$&gt;&gt;&gt;24&amp;255,N.check=x(N.check,le,4,0)),ee=$=0,N.mode=4;case 4:for(;ee&lt;16;){if(Z===0)break e;Z--,$+=M[B++]&lt;&lt;ee,ee+=8}N.head&amp;&amp;(N.head.xflags=255&amp;$,N.head.os=$&gt;&gt;8),512&amp;N.flags&amp;&amp;(le[0]=255&amp;$,le[1]=$&gt;&gt;&gt;8&amp;255,N.check=x(N.check,le,2,0)),ee=$=0,N.mode=5;case 5:if(1024&amp;N.flags){for(;ee&lt;16;){if(Z===0)break e;Z--,$+=M[B++]&lt;&lt;ee,ee+=8}N.length=$,N.head&amp;&amp;(N.head.extra_len=$),512&amp;N.flags&amp;&amp;(le[0]=255&amp;$,le[1]=$&gt;&gt;&gt;8&amp;255,N.check=x(N.check,le,2,0)),ee=$=0}else N.head&amp;&amp;(N.head.extra=null);N.mode=6;case 6:if(1024&amp;N.flags&amp;&amp;(Z&lt;(X=N.length)&amp;&amp;(X=Z),X&amp;&amp;(N.head&amp;&amp;(he=N.head.extra_len-N.length,N.head.extra||(N.head.extra=new Array(N.head.extra_len)),g.arraySet(N.head.extra,M,B,X,he)),512&amp;N.flags&amp;&amp;(N.check=x(N.check,M,X,B)),Z-=X,B+=X,N.length-=X),N.length))break e;N.length=0,N.mode=7;case 7:if(2048&amp;N.flags){if(Z===0)break e;for(X=0;he=M[B+X++],N.head&amp;&amp;he&amp;&amp;N.length&lt;65536&amp;&amp;(N.head.name+=String.fromCharCode(he)),he&amp;&amp;X&lt;Z;);if(512&amp;N.flags&amp;&amp;(N.check=x(N.check,M,X,B)),Z-=X,B+=X,he)break e}else N.head&amp;&amp;(N.head.name=null);N.length=0,N.mode=8;case 8:if(4096&amp;N.flags){if(Z===0)break e;for(X=0;he=M[B+X++],N.head&amp;&amp;he&amp;&amp;N.length&lt;65536&amp;&amp;(N.head.comment+=String.fromCharCode(he)),he&amp;&amp;X&lt;Z;);if(512&amp;N.flags&amp;&amp;(N.check=x(N.check,M,X,B)),Z-=X,B+=X,he)break e}else N.head&amp;&amp;(N.head.comment=null);N.mode=9;case 9:if(512&amp;N.flags){for(;ee&lt;16;){if(Z===0)break e;Z--,$+=M[B++]&lt;&lt;ee,ee+=8}if($!==(65535&amp;N.check)){k.msg=&quot;header crc mismatch&quot;,N.mode=30;break}ee=$=0}N.head&amp;&amp;(N.head.hcrc=N.flags&gt;&gt;9&amp;1,N.head.done=!0),k.adler=N.check=0,N.mode=12;break;case 10:for(;ee&lt;32;){if(Z===0)break e;Z--,$+=M[B++]&lt;&lt;ee,ee+=8}k.adler=N.check=R($),ee=$=0,N.mode=11;case 11:if(N.havedict===0)return k.next_out=Y,k.avail_out=ie,k.next_in=B,k.avail_in=Z,N.hold=$,N.bits=ee,2;k.adler=N.check=1,N.mode=12;case 12:if(S===5||S===6)break e;case 13:if(N.last){$&gt;&gt;&gt;=7&amp;ee,ee-=7&amp;ee,N.mode=27;break}for(;ee&lt;3;){if(Z===0)break e;Z--,$+=M[B++]&lt;&lt;ee,ee+=8}switch(N.last=1&amp;$,ee-=1,3&amp;($&gt;&gt;&gt;=1)){case 0:N.mode=14;break;case 1:if(E(N),N.mode=20,S!==6)break;$&gt;&gt;&gt;=2,ee-=2;break e;case 2:N.mode=17;break;case 3:k.msg=&quot;invalid block type&quot;,N.mode=30}$&gt;&gt;&gt;=2,ee-=2;break;case 14:for($&gt;&gt;&gt;=7&amp;ee,ee-=7&amp;ee;ee&lt;32;){if(Z===0)break e;Z--,$+=M[B++]&lt;&lt;ee,ee+=8}if((65535&amp;$)!=($&gt;&gt;&gt;16^65535)){k.msg=&quot;invalid stored block lengths&quot;,N.mode=30;break}if(N.length=65535&amp;$,ee=$=0,N.mode=15,S===6)break e;case 15:N.mode=16;case 16:if(X=N.length){if(Z&lt;X&amp;&amp;(X=Z),ie&lt;X&amp;&amp;(X=ie),X===0)break e;g.arraySet(I,M,B,X,Y),Z-=X,B+=X,ie-=X,Y+=X,N.length-=X;break}N.mode=12;break;case 17:for(;ee&lt;14;){if(Z===0)break e;Z--,$+=M[B++]&lt;&lt;ee,ee+=8}if(N.nlen=257+(31&amp;$),$&gt;&gt;&gt;=5,ee-=5,N.ndist=1+(31&amp;$),$&gt;&gt;&gt;=5,ee-=5,N.ncode=4+(15&amp;$),$&gt;&gt;&gt;=4,ee-=4,286&lt;N.nlen||30&lt;N.ndist){k.msg=&quot;too many length or distance symbols&quot;,N.mode=30;break}N.have=0,N.mode=18;case 18:for(;N.have&lt;N.ncode;){for(;ee&lt;3;){if(Z===0)break e;Z--,$+=M[B++]&lt;&lt;ee,ee+=8}N.lens[Ce[N.have++]]=7&amp;$,$&gt;&gt;&gt;=3,ee-=3}for(;N.have&lt;19;)N.lens[Ce[N.have++]]=0;if(N.lencode=N.lendyn,N.lenbits=7,ge={bits:N.lenbits},ce=C(0,N.lens,0,19,N.lencode,0,N.work,ge),N.lenbits=ge.bits,ce){k.msg=&quot;invalid code lengths set&quot;,N.mode=30;break}N.have=0,N.mode=19;case 19:for(;N.have&lt;N.nlen+N.ndist;){for(;te=(pe=N.lencode[$&amp;(1&lt;&lt;N.lenbits)-1])&gt;&gt;&gt;16&amp;255,de=65535&amp;pe,!((Q=pe&gt;&gt;&gt;24)&lt;=ee);){if(Z===0)break e;Z--,$+=M[B++]&lt;&lt;ee,ee+=8}if(de&lt;16)$&gt;&gt;&gt;=Q,ee-=Q,N.lens[N.have++]=de;else{if(de===16){for(ye=Q+2;ee&lt;ye;){if(Z===0)break e;Z--,$+=M[B++]&lt;&lt;ee,ee+=8}if($&gt;&gt;&gt;=Q,ee-=Q,N.have===0){k.msg=&quot;invalid bit length repeat&quot;,N.mode=30;break}he=N.lens[N.have-1],X=3+(3&amp;$),$&gt;&gt;&gt;=2,ee-=2}else if(de===17){for(ye=Q+3;ee&lt;ye;){if(Z===0)break e;Z--,$+=M[B++]&lt;&lt;ee,ee+=8}ee-=Q,he=0,X=3+(7&amp;($&gt;&gt;&gt;=Q)),$&gt;&gt;&gt;=3,ee-=3}else{for(ye=Q+7;ee&lt;ye;){if(Z===0)break e;Z--,$+=M[B++]&lt;&lt;ee,ee+=8}ee-=Q,he=0,X=11+(127&amp;($&gt;&gt;&gt;=Q)),$&gt;&gt;&gt;=7,ee-=7}if(N.have+X&gt;N.nlen+N.ndist){k.msg=&quot;invalid bit length repeat&quot;,N.mode=30;break}for(;X--;)N.lens[N.have++]=he}}if(N.mode===30)break;if(N.lens[256]===0){k.msg=&quot;invalid code -- missing end-of-block&quot;,N.mode=30;break}if(N.lenbits=9,ge={bits:N.lenbits},ce=C(1,N.lens,0,N.nlen,N.lencode,0,N.work,ge),N.lenbits=ge.bits,ce){k.msg=&quot;invalid literal/lengths set&quot;,N.mode=30;break}if(N.distbits=6,N.distcode=N.distdyn,ge={bits:N.distbits},ce=C(2,N.lens,N.nlen,N.ndist,N.distcode,0,N.work,ge),N.distbits=ge.bits,ce){k.msg=&quot;invalid distances set&quot;,N.mode=30;break}if(N.mode=20,S===6)break e;case 20:N.mode=21;case 21:if(6&lt;=Z&amp;&amp;258&lt;=ie){k.next_out=Y,k.avail_out=ie,k.next_in=B,k.avail_in=Z,N.hold=$,N.bits=ee,_(k,T),Y=k.next_out,I=k.output,ie=k.avail_out,B=k.next_in,M=k.input,Z=k.avail_in,$=N.hold,ee=N.bits,N.mode===12&amp;&amp;(N.back=-1);break}for(N.back=0;te=(pe=N.lencode[$&amp;(1&lt;&lt;N.lenbits)-1])&gt;&gt;&gt;16&amp;255,de=65535&amp;pe,!((Q=pe&gt;&gt;&gt;24)&lt;=ee);){if(Z===0)break e;Z--,$+=M[B++]&lt;&lt;ee,ee+=8}if(te&amp;&amp;(240&amp;te)==0){for(oe=Q,se=te,fe=de;te=(pe=N.lencode[fe+(($&amp;(1&lt;&lt;oe+se)-1)&gt;&gt;oe)])&gt;&gt;&gt;16&amp;255,de=65535&amp;pe,!(oe+(Q=pe&gt;&gt;&gt;24)&lt;=ee);){if(Z===0)break e;Z--,$+=M[B++]&lt;&lt;ee,ee+=8}$&gt;&gt;&gt;=oe,ee-=oe,N.back+=oe}if($&gt;&gt;&gt;=Q,ee-=Q,N.back+=Q,N.length=de,te===0){N.mode=26;break}if(32&amp;te){N.back=-1,N.mode=12;break}if(64&amp;te){k.msg=&quot;invalid literal/length code&quot;,N.mode=30;break}N.extra=15&amp;te,N.mode=22;case 22:if(N.extra){for(ye=N.extra;ee&lt;ye;){if(Z===0)break e;Z--,$+=M[B++]&lt;&lt;ee,ee+=8}N.length+=$&amp;(1&lt;&lt;N.extra)-1,$&gt;&gt;&gt;=N.extra,ee-=N.extra,N.back+=N.extra}N.was=N.length,N.mode=23;case 23:for(;te=(pe=N.distcode[$&amp;(1&lt;&lt;N.distbits)-1])&gt;&gt;&gt;16&amp;255,de=65535&amp;pe,!((Q=pe&gt;&gt;&gt;24)&lt;=ee);){if(Z===0)break e;Z--,$+=M[B++]&lt;&lt;ee,ee+=8}if((240&amp;te)==0){for(oe=Q,se=te,fe=de;te=(pe=N.distcode[fe+(($&amp;(1&lt;&lt;oe+se)-1)&gt;&gt;oe)])&gt;&gt;&gt;16&amp;255,de=65535&amp;pe,!(oe+(Q=pe&gt;&gt;&gt;24)&lt;=ee);){if(Z===0)break e;Z--,$+=M[B++]&lt;&lt;ee,ee+=8}$&gt;&gt;&gt;=oe,ee-=oe,N.back+=oe}if($&gt;&gt;&gt;=Q,ee-=Q,N.back+=Q,64&amp;te){k.msg=&quot;invalid distance code&quot;,N.mode=30;break}N.offset=de,N.extra=15&amp;te,N.mode=24;case 24:if(N.extra){for(ye=N.extra;ee&lt;ye;){if(Z===0)break e;Z--,$+=M[B++]&lt;&lt;ee,ee+=8}N.offset+=$&amp;(1&lt;&lt;N.extra)-1,$&gt;&gt;&gt;=N.extra,ee-=N.extra,N.back+=N.extra}if(N.offset&gt;N.dmax){k.msg=&quot;invalid distance too far back&quot;,N.mode=30;break}N.mode=25;case 25:if(ie===0)break e;if(X=T-ie,N.offset&gt;X){if((X=N.offset-X)&gt;N.whave&amp;&amp;N.sane){k.msg=&quot;invalid distance too far back&quot;,N.mode=30;break}re=X&gt;N.wnext?(X-=N.wnext,N.wsize-X):N.wnext-X,X&gt;N.length&amp;&amp;(X=N.length),ne=N.window}else ne=I,re=Y-N.offset,X=N.length;for(ie&lt;X&amp;&amp;(X=ie),ie-=X,N.length-=X;I[Y++]=ne[re++],--X;);N.length===0&amp;&amp;(N.mode=21);break;case 26:if(ie===0)break e;I[Y++]=N.length,ie--,N.mode=21;break;case 27:if(N.wrap){for(;ee&lt;32;){if(Z===0)break e;Z--,$|=M[B++]&lt;&lt;ee,ee+=8}if(T-=ie,k.total_out+=T,N.total+=T,T&amp;&amp;(k.adler=N.check=N.flags?x(N.check,I,T,Y-T):b(N.check,I,T,Y-T)),T=ie,(N.flags?$:R($))!==N.check){k.msg=&quot;incorrect data check&quot;,N.mode=30;break}ee=$=0}N.mode=28;case 28:if(N.wrap&amp;&amp;N.flags){for(;ee&lt;32;){if(Z===0)break e;Z--,$+=M[B++]&lt;&lt;ee,ee+=8}if($!==(4294967295&amp;N.total)){k.msg=&quot;incorrect length check&quot;,N.mode=30;break}ee=$=0}N.mode=29;case 29:ce=1;break e;case 30:ce=-3;break e;case 31:return-4;default:return O}return k.next_out=Y,k.avail_out=ie,k.next_in=B,k.avail_in=Z,N.hold=$,N.bits=ee,(N.wsize||T!==k.avail_out&amp;&amp;N.mode&lt;30&amp;&amp;(N.mode&lt;27||S!==4))&amp;&amp;j(k,k.output,k.next_out,T-k.avail_out)?(N.mode=31,-4):(z-=k.avail_in,T-=k.avail_out,k.total_in+=z,k.total_out+=T,N.total+=T,N.wrap&amp;&amp;T&amp;&amp;(k.adler=N.check=N.flags?x(N.check,I,T,k.next_out-T):b(N.check,I,T,k.next_out-T)),k.data_type=N.bits+(N.last?64:0)+(N.mode===12?128:0)+(N.mode===20||N.mode===15?256:0),(z==0&amp;&amp;T===0||S===4)&amp;&amp;ce===0&amp;&amp;(ce=-5),ce)},v.inflateEnd=function(k){if(!k||!k.state)return O;var S=k.state;return S.window&amp;&amp;(S.window=null),k.state=null,0},v.inflateGetHeader=function(k,S){var N;return k&amp;&amp;k.state?(2&amp;(N=k.state).wrap)==0?O:((N.head=S).done=!1,0):O},v.inflateSetDictionary=function(k,S){var N,M=S.length;return k&amp;&amp;k.state?(N=k.state).wrap!==0&amp;&amp;N.mode!==11?O:N.mode===11&amp;&amp;b(1,S,M,0)!==N.check?-3:j(k,S,M,M)?(N.mode=31,-4):(N.havedict=1,0):O},v.inflateInfo=&quot;pako inflate (from Nodeca project)&quot;},{&quot;../utils/common&quot;:41,&quot;./adler32&quot;:43,&quot;./crc32&quot;:45,&quot;./inffast&quot;:48,&quot;./inftrees&quot;:50}],50:[function(m,p,v){var g=m(&quot;../utils/common&quot;),b=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],x=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],_=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],C=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];p.exports=function(O,R,H,L,q,W,K,U){var P,D,E,j,k,S,N,M,I,B=U.bits,Y=0,Z=0,ie=0,$=0,ee=0,z=0,T=0,X=0,re=0,ne=0,Q=null,te=0,de=new g.Buf16(16),oe=new g.Buf16(16),se=null,fe=0;for(Y=0;Y&lt;=15;Y++)de[Y]=0;for(Z=0;Z&lt;L;Z++)de[R[H+Z]]++;for(ee=B,$=15;1&lt;=$&amp;&amp;de[$]===0;$--);if($&lt;ee&amp;&amp;(ee=$),$===0)return q[W++]=20971520,q[W++]=20971520,U.bits=1,0;for(ie=1;ie&lt;$&amp;&amp;de[ie]===0;ie++);for(ee&lt;ie&amp;&amp;(ee=ie),Y=X=1;Y&lt;=15;Y++)if(X&lt;&lt;=1,(X-=de[Y])&lt;0)return-1;if(0&lt;X&amp;&amp;(O===0||$!==1))return-1;for(oe[1]=0,Y=1;Y&lt;15;Y++)oe[Y+1]=oe[Y]+de[Y];for(Z=0;Z&lt;L;Z++)R[H+Z]!==0&amp;&amp;(K[oe[R[H+Z]]++]=Z);if(S=O===0?(Q=se=K,19):O===1?(Q=b,te-=257,se=x,fe-=257,256):(Q=_,se=C,-1),Y=ie,k=W,T=Z=ne=0,E=-1,j=(re=1&lt;&lt;(z=ee))-1,O===1&amp;&amp;852&lt;re||O===2&amp;&amp;592&lt;re)return 1;for(;;){for(N=Y-T,I=K[Z]&lt;S?(M=0,K[Z]):K[Z]&gt;S?(M=se[fe+K[Z]],Q[te+K[Z]]):(M=96,0),P=1&lt;&lt;Y-T,ie=D=1&lt;&lt;z;q[k+(ne&gt;&gt;T)+(D-=P)]=N&lt;&lt;24|M&lt;&lt;16|I|0,D!==0;);for(P=1&lt;&lt;Y-1;ne&amp;P;)P&gt;&gt;=1;if(P!==0?(ne&amp;=P-1,ne+=P):ne=0,Z++,--de[Y]==0){if(Y===$)break;Y=R[H+K[Z]]}if(ee&lt;Y&amp;&amp;(ne&amp;j)!==E){for(T===0&amp;&amp;(T=ee),k+=ie,X=1&lt;&lt;(z=Y-T);z+T&lt;$&amp;&amp;!((X-=de[z+T])&lt;=0);)z++,X&lt;&lt;=1;if(re+=1&lt;&lt;z,O===1&amp;&amp;852&lt;re||O===2&amp;&amp;592&lt;re)return 1;q[E=ne&amp;j]=ee&lt;&lt;24|z&lt;&lt;16|k-W|0}}return ne!==0&amp;&amp;(q[k+ne]=Y-T&lt;&lt;24|64&lt;&lt;16|0),U.bits=ee,0}},{&quot;../utils/common&quot;:41}],51:[function(m,p,v){p.exports={2:&quot;need dictionary&quot;,1:&quot;stream end&quot;,0:&quot;&quot;,&quot;-1&quot;:&quot;file error&quot;,&quot;-2&quot;:&quot;stream error&quot;,&quot;-3&quot;:&quot;data error&quot;,&quot;-4&quot;:&quot;insufficient memory&quot;,&quot;-5&quot;:&quot;buffer error&quot;,&quot;-6&quot;:&quot;incompatible version&quot;}},{}],52:[function(m,p,v){var g=m(&quot;../utils/common&quot;);function b(se){for(var fe=se.length;0&lt;=--fe;)se[fe]=0}var x=256,_=286,C=30,O=15,R=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],H=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],L=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],q=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],W=new Array(576);b(W);var K=new Array(60);b(K);var U=new Array(512);b(U);var P=new Array(256);b(P);var D=new Array(29);b(D);var E,j,k,S=new Array(C);function N(se,fe,he,ce,ge){this.static_tree=se,this.extra_bits=fe,this.extra_base=he,this.elems=ce,this.max_length=ge,this.has_stree=se&amp;&amp;se.length}function M(se,fe){this.dyn_tree=se,this.max_code=0,this.stat_desc=fe}function I(se){return se&lt;256?U[se]:U[256+(se&gt;&gt;&gt;7)]}function B(se,fe){se.pending_buf[se.pending++]=255&amp;fe,se.pending_buf[se.pending++]=fe&gt;&gt;&gt;8&amp;255}function Y(se,fe,he){se.bi_valid&gt;16-he?(se.bi_buf|=fe&lt;&lt;se.bi_valid&amp;65535,B(se,se.bi_buf),se.bi_buf=fe&gt;&gt;16-se.bi_valid,se.bi_valid+=he-16):(se.bi_buf|=fe&lt;&lt;se.bi_valid&amp;65535,se.bi_valid+=he)}function Z(se,fe,he){Y(se,he[2*fe],he[2*fe+1])}function ie(se,fe){for(var he=0;he|=1&amp;se,se&gt;&gt;&gt;=1,he&lt;&lt;=1,0&lt;--fe;);return he&gt;&gt;&gt;1}function $(se,fe,he){var ce,ge,ye=new Array(16),pe=0;for(ce=1;ce&lt;=O;ce++)ye[ce]=pe=pe+he[ce-1]&lt;&lt;1;for(ge=0;ge&lt;=fe;ge++){var le=se[2*ge+1];le!==0&amp;&amp;(se[2*ge]=ie(ye[le]++,le))}}function ee(se){var fe;for(fe=0;fe&lt;_;fe++)se.dyn_ltree[2*fe]=0;for(fe=0;fe&lt;C;fe++)se.dyn_dtree[2*fe]=0;for(fe=0;fe&lt;19;fe++)se.bl_tree[2*fe]=0;se.dyn_ltree[512]=1,se.opt_len=se.static_len=0,se.last_lit=se.matches=0}function z(se){8&lt;se.bi_valid?B(se,se.bi_buf):0&lt;se.bi_valid&amp;&amp;(se.pending_buf[se.pending++]=se.bi_buf),se.bi_buf=0,se.bi_valid=0}function T(se,fe,he,ce){var ge=2*fe,ye=2*he;return se[ge]&lt;se[ye]||se[ge]===se[ye]&amp;&amp;ce[fe]&lt;=ce[he]}function X(se,fe,he){for(var ce=se.heap[he],ge=he&lt;&lt;1;ge&lt;=se.heap_len&amp;&amp;(ge&lt;se.heap_len&amp;&amp;T(fe,se.heap[ge+1],se.heap[ge],se.depth)&amp;&amp;ge++,!T(fe,ce,se.heap[ge],se.depth));)se.heap[he]=se.heap[ge],he=ge,ge&lt;&lt;=1;se.heap[he]=ce}function re(se,fe,he){var ce,ge,ye,pe,le=0;if(se.last_lit!==0)for(;ce=se.pending_buf[se.d_buf+2*le]&lt;&lt;8|se.pending_buf[se.d_buf+2*le+1],ge=se.pending_buf[se.l_buf+le],le++,ce===0?Z(se,ge,fe):(Z(se,(ye=P[ge])+x+1,fe),(pe=R[ye])!==0&amp;&amp;Y(se,ge-=D[ye],pe),Z(se,ye=I(--ce),he),(pe=H[ye])!==0&amp;&amp;Y(se,ce-=S[ye],pe)),le&lt;se.last_lit;);Z(se,256,fe)}function ne(se,fe){var he,ce,ge,ye=fe.dyn_tree,pe=fe.stat_desc.static_tree,le=fe.stat_desc.has_stree,Ce=fe.stat_desc.elems,Ae=-1;for(se.heap_len=0,se.heap_max=573,he=0;he&lt;Ce;he++)ye[2*he]!==0?(se.heap[++se.heap_len]=Ae=he,se.depth[he]=0):ye[2*he+1]=0;for(;se.heap_len&lt;2;)ye[2*(ge=se.heap[++se.heap_len]=Ae&lt;2?++Ae:0)]=1,se.depth[ge]=0,se.opt_len--,le&amp;&amp;(se.static_len-=pe[2*ge+1]);for(fe.max_code=Ae,he=se.heap_len&gt;&gt;1;1&lt;=he;he--)X(se,ye,he);for(ge=Ce;he=se.heap[1],se.heap[1]=se.heap[se.heap_len--],X(se,ye,1),ce=se.heap[1],se.heap[--se.heap_max]=he,se.heap[--se.heap_max]=ce,ye[2*ge]=ye[2*he]+ye[2*ce],se.depth[ge]=(se.depth[he]&gt;=se.depth[ce]?se.depth[he]:se.depth[ce])+1,ye[2*he+1]=ye[2*ce+1]=ge,se.heap[1]=ge++,X(se,ye,1),2&lt;=se.heap_len;);se.heap[--se.heap_max]=se.heap[1],(function(je,Pe){var Qe,Ue,Xe,rt,qe,ze,Ye=Pe.dyn_tree,et=Pe.max_code,Je=Pe.stat_desc.static_tree,Rt=Pe.stat_desc.has_stree,qt=Pe.stat_desc.extra_bits,st=Pe.stat_desc.extra_base,Tt=Pe.stat_desc.max_length,jt=0;for(rt=0;rt&lt;=O;rt++)je.bl_count[rt]=0;for(Ye[2*je.heap[je.heap_max]+1]=0,Qe=je.heap_max+1;Qe&lt;573;Qe++)Tt&lt;(rt=Ye[2*Ye[2*(Ue=je.heap[Qe])+1]+1]+1)&amp;&amp;(rt=Tt,jt++),Ye[2*Ue+1]=rt,et&lt;Ue||(je.bl_count[rt]++,qe=0,st&lt;=Ue&amp;&amp;(qe=qt[Ue-st]),ze=Ye[2*Ue],je.opt_len+=ze*(rt+qe),Rt&amp;&amp;(je.static_len+=ze*(Je[2*Ue+1]+qe)));if(jt!==0){do{for(rt=Tt-1;je.bl_count[rt]===0;)rt--;je.bl_count[rt]--,je.bl_count[rt+1]+=2,je.bl_count[Tt]--,jt-=2}while(0&lt;jt);for(rt=Tt;rt!==0;rt--)for(Ue=je.bl_count[rt];Ue!==0;)et&lt;(Xe=je.heap[--Qe])||(Ye[2*Xe+1]!==rt&amp;&amp;(je.opt_len+=(rt-Ye[2*Xe+1])*Ye[2*Xe],Ye[2*Xe+1]=rt),Ue--)}})(se,fe),$(ye,Ae,se.bl_count)}function Q(se,fe,he){var ce,ge,ye=-1,pe=fe[1],le=0,Ce=7,Ae=4;for(pe===0&amp;&amp;(Ce=138,Ae=3),fe[2*(he+1)+1]=65535,ce=0;ce&lt;=he;ce++)ge=pe,pe=fe[2*(ce+1)+1],++le&lt;Ce&amp;&amp;ge===pe||(le&lt;Ae?se.bl_tree[2*ge]+=le:ge!==0?(ge!==ye&amp;&amp;se.bl_tree[2*ge]++,se.bl_tree[32]++):le&lt;=10?se.bl_tree[34]++:se.bl_tree[36]++,ye=ge,Ae=(le=0)===pe?(Ce=138,3):ge===pe?(Ce=6,3):(Ce=7,4))}function te(se,fe,he){var ce,ge,ye=-1,pe=fe[1],le=0,Ce=7,Ae=4;for(pe===0&amp;&amp;(Ce=138,Ae=3),ce=0;ce&lt;=he;ce++)if(ge=pe,pe=fe[2*(ce+1)+1],!(++le&lt;Ce&amp;&amp;ge===pe)){if(le&lt;Ae)for(;Z(se,ge,se.bl_tree),--le!=0;);else ge!==0?(ge!==ye&amp;&amp;(Z(se,ge,se.bl_tree),le--),Z(se,16,se.bl_tree),Y(se,le-3,2)):le&lt;=10?(Z(se,17,se.bl_tree),Y(se,le-3,3)):(Z(se,18,se.bl_tree),Y(se,le-11,7));ye=ge,Ae=(le=0)===pe?(Ce=138,3):ge===pe?(Ce=6,3):(Ce=7,4)}}b(S);var de=!1;function oe(se,fe,he,ce){Y(se,0+(ce?1:0),3),(function(ge,ye,pe,le){z(ge),B(ge,pe),B(ge,~pe),g.arraySet(ge.pending_buf,ge.window,ye,pe,ge.pending),ge.pending+=pe})(se,fe,he)}v._tr_init=function(se){de||((function(){var fe,he,ce,ge,ye,pe=new Array(16);for(ge=ce=0;ge&lt;28;ge++)for(D[ge]=ce,fe=0;fe&lt;1&lt;&lt;R[ge];fe++)P[ce++]=ge;for(P[ce-1]=ge,ge=ye=0;ge&lt;16;ge++)for(S[ge]=ye,fe=0;fe&lt;1&lt;&lt;H[ge];fe++)U[ye++]=ge;for(ye&gt;&gt;=7;ge&lt;C;ge++)for(S[ge]=ye&lt;&lt;7,fe=0;fe&lt;1&lt;&lt;H[ge]-7;fe++)U[256+ye++]=ge;for(he=0;he&lt;=O;he++)pe[he]=0;for(fe=0;fe&lt;=143;)W[2*fe+1]=8,fe++,pe[8]++;for(;fe&lt;=255;)W[2*fe+1]=9,fe++,pe[9]++;for(;fe&lt;=279;)W[2*fe+1]=7,fe++,pe[7]++;for(;fe&lt;=287;)W[2*fe+1]=8,fe++,pe[8]++;for($(W,287,pe),fe=0;fe&lt;C;fe++)K[2*fe+1]=5,K[2*fe]=ie(fe,5);E=new N(W,R,257,_,O),j=new N(K,H,0,C,O),k=new N(new Array(0),L,0,19,7)})(),de=!0),se.l_desc=new M(se.dyn_ltree,E),se.d_desc=new M(se.dyn_dtree,j),se.bl_desc=new M(se.bl_tree,k),se.bi_buf=0,se.bi_valid=0,ee(se)},v._tr_stored_block=oe,v._tr_flush_block=function(se,fe,he,ce){var ge,ye,pe=0;0&lt;se.level?(se.strm.data_type===2&amp;&amp;(se.strm.data_type=(function(le){var Ce,Ae=4093624447;for(Ce=0;Ce&lt;=31;Ce++,Ae&gt;&gt;&gt;=1)if(1&amp;Ae&amp;&amp;le.dyn_ltree[2*Ce]!==0)return 0;if(le.dyn_ltree[18]!==0||le.dyn_ltree[20]!==0||le.dyn_ltree[26]!==0)return 1;for(Ce=32;Ce&lt;x;Ce++)if(le.dyn_ltree[2*Ce]!==0)return 1;return 0})(se)),ne(se,se.l_desc),ne(se,se.d_desc),pe=(function(le){var Ce;for(Q(le,le.dyn_ltree,le.l_desc.max_code),Q(le,le.dyn_dtree,le.d_desc.max_code),ne(le,le.bl_desc),Ce=18;3&lt;=Ce&amp;&amp;le.bl_tree[2*q[Ce]+1]===0;Ce--);return le.opt_len+=3*(Ce+1)+5+5+4,Ce})(se),ge=se.opt_len+3+7&gt;&gt;&gt;3,(ye=se.static_len+3+7&gt;&gt;&gt;3)&lt;=ge&amp;&amp;(ge=ye)):ge=ye=he+5,he+4&lt;=ge&amp;&amp;fe!==-1?oe(se,fe,he,ce):se.strategy===4||ye===ge?(Y(se,2+(ce?1:0),3),re(se,W,K)):(Y(se,4+(ce?1:0),3),(function(le,Ce,Ae,je){var Pe;for(Y(le,Ce-257,5),Y(le,Ae-1,5),Y(le,je-4,4),Pe=0;Pe&lt;je;Pe++)Y(le,le.bl_tree[2*q[Pe]+1],3);te(le,le.dyn_ltree,Ce-1),te(le,le.dyn_dtree,Ae-1)})(se,se.l_desc.max_code+1,se.d_desc.max_code+1,pe+1),re(se,se.dyn_ltree,se.dyn_dtree)),ee(se),ce&amp;&amp;z(se)},v._tr_tally=function(se,fe,he){return se.pending_buf[se.d_buf+2*se.last_lit]=fe&gt;&gt;&gt;8&amp;255,se.pending_buf[se.d_buf+2*se.last_lit+1]=255&amp;fe,se.pending_buf[se.l_buf+se.last_lit]=255&amp;he,se.last_lit++,fe===0?se.dyn_ltree[2*he]++:(se.matches++,fe--,se.dyn_ltree[2*(P[he]+x+1)]++,se.dyn_dtree[2*I(fe)]++),se.last_lit===se.lit_bufsize-1},v._tr_align=function(se){Y(se,2,3),Z(se,256,W),(function(fe){fe.bi_valid===16?(B(fe,fe.bi_buf),fe.bi_buf=0,fe.bi_valid=0):8&lt;=fe.bi_valid&amp;&amp;(fe.pending_buf[fe.pending++]=255&amp;fe.bi_buf,fe.bi_buf&gt;&gt;=8,fe.bi_valid-=8)})(se)}},{&quot;../utils/common&quot;:41}],53:[function(m,p,v){p.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg=&quot;&quot;,this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(m,p,v){(function(g){(function(b,x){if(!b.setImmediate){var _,C,O,R,H=1,L={},q=!1,W=b.document,K=Object.getPrototypeOf&amp;&amp;Object.getPrototypeOf(b);K=K&amp;&amp;K.setTimeout?K:b,_={}.toString.call(b.process)===&quot;[object process]&quot;?function(E){i.nextTick((function(){P(E)}))}:(function(){if(b.postMessage&amp;&amp;!b.importScripts){var E=!0,j=b.onmessage;return b.onmessage=function(){E=!1},b.postMessage(&quot;&quot;,&quot;*&quot;),b.onmessage=j,E}})()?(R=&quot;setImmediate$&quot;+Math.random()+&quot;$&quot;,b.addEventListener?b.addEventListener(&quot;message&quot;,D,!1):b.attachEvent(&quot;onmessage&quot;,D),function(E){b.postMessage(R+E,&quot;*&quot;)}):b.MessageChannel?((O=new MessageChannel).port1.onmessage=function(E){P(E.data)},function(E){O.port2.postMessage(E)}):W&amp;&amp;&quot;onreadystatechange&quot;in W.createElement(&quot;script&quot;)?(C=W.documentElement,function(E){var j=W.createElement(&quot;script&quot;);j.onreadystatechange=function(){P(E),j.onreadystatechange=null,C.removeChild(j),j=null},C.appendChild(j)}):function(E){setTimeout(P,0,E)},K.setImmediate=function(E){typeof E!=&quot;function&quot;&amp;&amp;(E=new Function(&quot;&quot;+E));for(var j=new Array(arguments.length-1),k=0;k&lt;j.length;k++)j[k]=arguments[k+1];var S={callback:E,args:j};return L[H]=S,_(H),H++},K.clearImmediate=U}function U(E){delete L[E]}function P(E){if(q)setTimeout(P,0,E);else{var j=L[E];if(j){q=!0;try{(function(k){var S=k.callback,N=k.args;switch(N.length){case 0:S();break;case 1:S(N[0]);break;case 2:S(N[0],N[1]);break;case 3:S(N[0],N[1],N[2]);break;default:S.apply(void 0,N)}})(j)}finally{U(E),q=!1}}}}function D(E){E.source===b&amp;&amp;typeof E.data==&quot;string&quot;&amp;&amp;E.data.indexOf(R)===0&amp;&amp;P(+E.data.slice(R.length))}})(typeof self&gt;&quot;u&quot;?g===void 0?this:g:self)}).call(this,a!==void 0?a:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}]},{},[10])(10)}))}).call(this)}).call(this,t(&quot;_process&quot;),typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{},t(&quot;buffer&quot;).Buffer,arguments[3],arguments[4],arguments[5],arguments[6],t(&quot;timers&quot;).setImmediate)},{_process:467,buffer:220,timers:523}],442:[function(t,n,l){(function(i){(function(){var a=/[\\^$.*+?()[\]{}|]/g,u=RegExp(a.source),o=typeof i==&quot;object&quot;&amp;&amp;i&amp;&amp;i.Object===Object&amp;&amp;i,s=typeof self==&quot;object&quot;&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,c=o||s||Function(&quot;return this&quot;)(),f=Object.prototype.toString,h=c.Symbol,m=h?h.prototype:void 0,p=m?m.toString:void 0;function v(g){if(typeof g==&quot;string&quot;)return g;if((function(x){return typeof x==&quot;symbol&quot;||(function(_){return!!_&amp;&amp;typeof _==&quot;object&quot;})(x)&amp;&amp;f.call(x)==&quot;[object Symbol]&quot;})(g))return p?p.call(g):&quot;&quot;;var b=g+&quot;&quot;;return b==&quot;0&quot;&amp;&amp;1/g==-1/0?&quot;-0&quot;:b}n.exports=function(g){var b;return(g=(b=g)==null?&quot;&quot;:v(b))&amp;&amp;u.test(g)?g.replace(a,&quot;\\$&amp;&quot;):g}}).call(this)}).call(this,typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],443:[function(t,n,l){(function(i){(function(){var a=&quot;[object Arguments]&quot;,u=&quot;[object Map]&quot;,o=&quot;[object Object]&quot;,s=&quot;[object Set]&quot;,c=/\.|\[(?:[^[\]]*|([&quot;&#039;])(?:(?!\1)[^\\]|\\.)*?\1)\]/,f=/^\w*$/,h=/^\./,m=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|([&quot;&#039;])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,p=/\\(\\)?/g,v=/^\[object .+?Constructor\]$/,g=/^(?:0|[1-9]\d*)$/,b={};b[&quot;[object Float32Array]&quot;]=b[&quot;[object Float64Array]&quot;]=b[&quot;[object Int8Array]&quot;]=b[&quot;[object Int16Array]&quot;]=b[&quot;[object Int32Array]&quot;]=b[&quot;[object Uint8Array]&quot;]=b[&quot;[object Uint8ClampedArray]&quot;]=b[&quot;[object Uint16Array]&quot;]=b[&quot;[object Uint32Array]&quot;]=!0,b[a]=b[&quot;[object Array]&quot;]=b[&quot;[object ArrayBuffer]&quot;]=b[&quot;[object Boolean]&quot;]=b[&quot;[object DataView]&quot;]=b[&quot;[object Date]&quot;]=b[&quot;[object Error]&quot;]=b[&quot;[object Function]&quot;]=b[u]=b[&quot;[object Number]&quot;]=b[o]=b[&quot;[object RegExp]&quot;]=b[s]=b[&quot;[object String]&quot;]=b[&quot;[object WeakMap]&quot;]=!1;var x=typeof i==&quot;object&quot;&amp;&amp;i&amp;&amp;i.Object===Object&amp;&amp;i,_=typeof self==&quot;object&quot;&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,C=x||_||Function(&quot;return this&quot;)(),O=typeof l==&quot;object&quot;&amp;&amp;l&amp;&amp;!l.nodeType&amp;&amp;l,R=O&amp;&amp;typeof n==&quot;object&quot;&amp;&amp;n&amp;&amp;!n.nodeType&amp;&amp;n,H=R&amp;&amp;R.exports===O&amp;&amp;x.process,L=(function(){try{return H&amp;&amp;H.binding(&quot;util&quot;)}catch{}})(),q=L&amp;&amp;L.isTypedArray;function W(me,_e,Ie,Fe){for(var Se=-1,De=me?me.length:0;++Se&lt;De;){var Be=me[Se];_e(Fe,Be,Ie(Be),me)}return Fe}function K(me,_e){for(var Ie=-1,Fe=me?me.length:0;++Ie&lt;Fe;)if(_e(me[Ie],Ie,me))return!0;return!1}function U(me){var _e=!1;if(me!=null&amp;&amp;typeof me.toString!=&quot;function&quot;)try{_e=!!(me+&quot;&quot;)}catch{}return _e}function P(me){var _e=-1,Ie=Array(me.size);return me.forEach((function(Fe,Se){Ie[++_e]=[Se,Fe]})),Ie}function D(me){var _e=-1,Ie=Array(me.size);return me.forEach((function(Fe){Ie[++_e]=Fe})),Ie}var E,j,k,S=Array.prototype,N=Function.prototype,M=Object.prototype,I=C[&quot;__core-js_shared__&quot;],B=(E=/[^.]+$/.exec(I&amp;&amp;I.keys&amp;&amp;I.keys.IE_PROTO||&quot;&quot;))?&quot;Symbol(src)_1.&quot;+E:&quot;&quot;,Y=N.toString,Z=M.hasOwnProperty,ie=M.toString,$=RegExp(&quot;^&quot;+Y.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,&quot;\\$&amp;&quot;).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,&quot;$1.*?&quot;)+&quot;$&quot;),ee=C.Symbol,z=C.Uint8Array,T=M.propertyIsEnumerable,X=S.splice,re=(j=Object.keys,k=Object,function(me){return j(k(me))}),ne=ct(C,&quot;DataView&quot;),Q=ct(C,&quot;Map&quot;),te=ct(C,&quot;Promise&quot;),de=ct(C,&quot;Set&quot;),oe=ct(C,&quot;WeakMap&quot;),se=ct(Object,&quot;create&quot;),fe=ke(ne),he=ke(Q),ce=ke(te),ge=ke(de),ye=ke(oe),pe=ee?ee.prototype:void 0,le=pe?pe.valueOf:void 0,Ce=pe?pe.toString:void 0;function Ae(me){var _e=-1,Ie=me?me.length:0;for(this.clear();++_e&lt;Ie;){var Fe=me[_e];this.set(Fe[0],Fe[1])}}function je(me){var _e=-1,Ie=me?me.length:0;for(this.clear();++_e&lt;Ie;){var Fe=me[_e];this.set(Fe[0],Fe[1])}}function Pe(me){var _e=-1,Ie=me?me.length:0;for(this.clear();++_e&lt;Ie;){var Fe=me[_e];this.set(Fe[0],Fe[1])}}function Qe(me){var _e=-1,Ie=me?me.length:0;for(this.__data__=new Pe;++_e&lt;Ie;)this.add(me[_e])}function Ue(me){this.__data__=new je(me)}function Xe(me,_e){var Ie=gt(me)||kt(me)?(function(Be,Ct){for(var pt=-1,Et=Array(Be);++pt&lt;Be;)Et[pt]=Ct(pt);return Et})(me.length,String):[],Fe=Ie.length,Se=!!Fe;for(var De in me)!Z.call(me,De)||Se&amp;&amp;(De==&quot;length&quot;||Ht(De,Fe))||Ie.push(De);return Ie}function rt(me,_e){for(var Ie=me.length;Ie--;)if(Ze(me[Ie][0],_e))return Ie;return-1}function qe(me,_e,Ie,Fe){return Ye(me,(function(Se,De,Be){_e(Fe,Se,Ie(Se),Be)})),Fe}Ae.prototype.clear=function(){this.__data__=se?se(null):{}},Ae.prototype.delete=function(me){return this.has(me)&amp;&amp;delete this.__data__[me]},Ae.prototype.get=function(me){var _e=this.__data__;if(se){var Ie=_e[me];return Ie===&quot;__lodash_hash_undefined__&quot;?void 0:Ie}return Z.call(_e,me)?_e[me]:void 0},Ae.prototype.has=function(me){var _e=this.__data__;return se?_e[me]!==void 0:Z.call(_e,me)},Ae.prototype.set=function(me,_e){return this.__data__[me]=se&amp;&amp;_e===void 0?&quot;__lodash_hash_undefined__&quot;:_e,this},je.prototype.clear=function(){this.__data__=[]},je.prototype.delete=function(me){var _e=this.__data__,Ie=rt(_e,me);return!(Ie&lt;0)&amp;&amp;(Ie==_e.length-1?_e.pop():X.call(_e,Ie,1),!0)},je.prototype.get=function(me){var _e=this.__data__,Ie=rt(_e,me);return Ie&lt;0?void 0:_e[Ie][1]},je.prototype.has=function(me){return rt(this.__data__,me)&gt;-1},je.prototype.set=function(me,_e){var Ie=this.__data__,Fe=rt(Ie,me);return Fe&lt;0?Ie.push([me,_e]):Ie[Fe][1]=_e,this},Pe.prototype.clear=function(){this.__data__={hash:new Ae,map:new(Q||je),string:new Ae}},Pe.prototype.delete=function(me){return Bt(this,me).delete(me)},Pe.prototype.get=function(me){return Bt(this,me).get(me)},Pe.prototype.has=function(me){return Bt(this,me).has(me)},Pe.prototype.set=function(me,_e){return Bt(this,me).set(me,_e),this},Qe.prototype.add=Qe.prototype.push=function(me){return this.__data__.set(me,&quot;__lodash_hash_undefined__&quot;),this},Qe.prototype.has=function(me){return this.__data__.has(me)},Ue.prototype.clear=function(){this.__data__=new je},Ue.prototype.delete=function(me){return this.__data__.delete(me)},Ue.prototype.get=function(me){return this.__data__.get(me)},Ue.prototype.has=function(me){return this.__data__.has(me)},Ue.prototype.set=function(me,_e){var Ie=this.__data__;if(Ie instanceof je){var Fe=Ie.__data__;if(!Q||Fe.length&lt;199)return Fe.push([me,_e]),this;Ie=this.__data__=new Pe(Fe)}return Ie.set(me,_e),this};var ze,Ye=(ze=function(me,_e){return me&amp;&amp;et(me,_e,or)},function(me,_e){if(me==null)return me;if(!tt(me))return ze(me,_e);for(var Ie=me.length,Fe=-1,Se=Object(me);++Fe&lt;Ie&amp;&amp;_e(Se[Fe],Fe,Se)!==!1;);return me}),et=(function(me){return function(_e,Ie,Fe){for(var Se=-1,De=Object(_e),Be=Fe(_e),Ct=Be.length;Ct--;){var pt=Be[++Se];if(Ie(De[pt],pt,De)===!1)break}return _e}})();function Je(me,_e){for(var Ie=0,Fe=(_e=yt(_e,me)?[_e]:St(_e)).length;me!=null&amp;&amp;Ie&lt;Fe;)me=me[be(_e[Ie++])];return Ie&amp;&amp;Ie==Fe?me:void 0}function Rt(me,_e){return me!=null&amp;&amp;_e in Object(me)}function qt(me,_e,Ie,Fe,Se){return me===_e||(me==null||_e==null||!Ot(me)&amp;&amp;!ir(_e)?me!=me&amp;&amp;_e!=_e:(function(De,Be,Ct,pt,Et,lt){var zt=gt(De),Yt=gt(Be),Qt=&quot;[object Array]&quot;,ur=&quot;[object Array]&quot;;zt||(Qt=(Qt=$t(De))==a?o:Qt),Yt||(ur=(ur=$t(Be))==a?o:ur);var hr=Qt==o&amp;&amp;!U(De),Cr=ur==o&amp;&amp;!U(Be),Vr=Qt==ur;if(Vr&amp;&amp;!hr)return lt||(lt=new Ue),zt||cr(De)?It(De,Be,Ct,pt,Et,lt):(function(Pt,Vt,gn,wi,Vi,Ft,Fr){switch(gn){case&quot;[object DataView]&quot;:if(Pt.byteLength!=Vt.byteLength||Pt.byteOffset!=Vt.byteOffset)return!1;Pt=Pt.buffer,Vt=Vt.buffer;case&quot;[object ArrayBuffer]&quot;:return!(Pt.byteLength!=Vt.byteLength||!wi(new z(Pt),new z(Vt)));case&quot;[object Boolean]&quot;:case&quot;[object Date]&quot;:case&quot;[object Number]&quot;:return Ze(+Pt,+Vt);case&quot;[object Error]&quot;:return Pt.name==Vt.name&amp;&amp;Pt.message==Vt.message;case&quot;[object RegExp]&quot;:case&quot;[object String]&quot;:return Pt==Vt+&quot;&quot;;case u:var vn=P;case s:var qi=2&amp;Ft;if(vn||(vn=D),Pt.size!=Vt.size&amp;&amp;!qi)return!1;var ms=Fr.get(Pt);if(ms)return ms==Vt;Ft|=1,Fr.set(Pt,Vt);var Hi=It(vn(Pt),vn(Vt),wi,Vi,Ft,Fr);return Fr.delete(Pt),Hi;case&quot;[object Symbol]&quot;:if(le)return le.call(Pt)==le.call(Vt)}return!1})(De,Be,Qt,Ct,pt,Et,lt);if(!(2&amp;Et)){var nn=hr&amp;&amp;Z.call(De,&quot;__wrapped__&quot;),pn=Cr&amp;&amp;Z.call(Be,&quot;__wrapped__&quot;);if(nn||pn){var bi=nn?De.value():De,xi=pn?Be.value():Be;return lt||(lt=new Ue),Ct(bi,xi,pt,Et,lt)}}return Vr?(lt||(lt=new Ue),(function(Pt,Vt,gn,wi,Vi,Ft){var Fr=2&amp;Vi,vn=or(Pt),qi=vn.length,ms=or(Vt).length;if(qi!=ms&amp;&amp;!Fr)return!1;for(var Hi=qi;Hi--;){var Br=vn[Hi];if(!(Fr?Br in Vt:Z.call(Vt,Br)))return!1}var Wi=Ft.get(Pt);if(Wi&amp;&amp;Ft.get(Vt))return Wi==Vt;var li=!0;Ft.set(Pt,Vt),Ft.set(Vt,Pt);for(var Fn=Fr;++Hi&lt;qi;){Br=vn[Hi];var Cn=Pt[Br],En=Vt[Br];if(wi)var Ki=Fr?wi(En,Cn,Br,Vt,Pt,Ft):wi(Cn,En,Br,Pt,Vt,Ft);if(!(Ki===void 0?Cn===En||gn(Cn,En,wi,Vi,Ft):Ki)){li=!1;break}Fn||(Fn=Br==&quot;constructor&quot;)}if(li&amp;&amp;!Fn){var _i=Pt.constructor,An=Vt.constructor;_i==An||!(&quot;constructor&quot;in Pt)||!(&quot;constructor&quot;in Vt)||typeof _i==&quot;function&quot;&amp;&amp;_i instanceof _i&amp;&amp;typeof An==&quot;function&quot;&amp;&amp;An instanceof An||(li=!1)}return Ft.delete(Pt),Ft.delete(Vt),li})(De,Be,Ct,pt,Et,lt)):!1})(me,_e,qt,Ie,Fe,Se))}function st(me){return!(!Ot(me)||(function(_e){return!!B&amp;&amp;B in _e})(me))&amp;&amp;(_t(me)||U(me)?$:v).test(ke(me))}function Tt(me){return typeof me==&quot;function&quot;?me:me==null?Tr:typeof me==&quot;object&quot;?gt(me)?(function(Fe,Se){return yt(Fe)&amp;&amp;Ut(Se)?Xt(be(Fe),Se):function(De){var Be=(function(Ct,pt,Et){var lt=Ct==null?void 0:Je(Ct,pt);return lt===void 0?Et:lt})(De,Fe);return Be===void 0&amp;&amp;Be===Se?(function(Ct,pt){return Ct!=null&amp;&amp;(function(Et,lt,zt){lt=yt(lt,Et)?[lt]:St(lt);for(var Yt,Qt=-1,ur=lt.length;++Qt&lt;ur;){var hr=be(lt[Qt]);if(!(Yt=Et!=null&amp;&amp;zt(Et,hr)))break;Et=Et[hr]}return Yt||!!(ur=Et?Et.length:0)&amp;&amp;bt(ur)&amp;&amp;Ht(hr,ur)&amp;&amp;(gt(Et)||kt(Et))})(Ct,pt,Rt)})(De,Fe):qt(Se,Be,void 0,3)}})(me[0],me[1]):(function(Fe){var Se=(function(De){for(var Be=or(De),Ct=Be.length;Ct--;){var pt=Be[Ct],Et=De[pt];Be[Ct]=[pt,Et,Ut(Et)]}return Be})(Fe);return Se.length==1&amp;&amp;Se[0][2]?Xt(Se[0][0],Se[0][1]):function(De){return De===Fe||(function(Be,Ct,pt,Et){var lt=pt.length,zt=lt;if(Be==null)return!zt;for(Be=Object(Be);lt--;){var Yt=pt[lt];if(Yt[2]?Yt[1]!==Be[Yt[0]]:!(Yt[0]in Be))return!1}for(;++lt&lt;zt;){var Qt=(Yt=pt[lt])[0],ur=Be[Qt],hr=Yt[1];if(Yt[2]){if(ur===void 0&amp;&amp;!(Qt in Be))return!1}else{var Cr=new Ue,Vr;if(!(Vr===void 0?qt(hr,ur,Et,3,Cr):Vr))return!1}}return!0})(De,Fe,Se)}})(me):yt(_e=me)?(Ie=be(_e),function(Fe){return Fe?.[Ie]}):(function(Fe){return function(Se){return Je(Se,Fe)}})(_e);var _e,Ie}function jt(me){if(Ie=(_e=me)&amp;&amp;_e.constructor,Fe=typeof Ie==&quot;function&quot;&amp;&amp;Ie.prototype||M,_e!==Fe)return re(me);var _e,Ie,Fe,Se=[];for(var De in Object(me))Z.call(me,De)&amp;&amp;De!=&quot;constructor&quot;&amp;&amp;Se.push(De);return Se}function St(me){return gt(me)?me:Nt(me)}function It(me,_e,Ie,Fe,Se,De){var Be=2&amp;Se,Ct=me.length,pt=_e.length;if(Ct!=pt&amp;&amp;!(Be&amp;&amp;pt&gt;Ct))return!1;var Et=De.get(me);if(Et&amp;&amp;De.get(_e))return Et==_e;var lt=-1,zt=!0,Yt=1&amp;Se?new Qe:void 0;for(De.set(me,_e),De.set(_e,me);++lt&lt;Ct;){var Qt=me[lt],ur=_e[lt];if(Fe)var hr=Be?Fe(ur,Qt,lt,_e,me,De):Fe(Qt,ur,lt,me,_e,De);if(hr!==void 0){if(hr)continue;zt=!1;break}if(Yt){if(!K(_e,(function(Cr,Vr){if(!Yt.has(Vr)&amp;&amp;(Qt===Cr||Ie(Qt,Cr,Fe,Se,De)))return Yt.add(Vr)}))){zt=!1;break}}else if(Qt!==ur&amp;&amp;!Ie(Qt,ur,Fe,Se,De)){zt=!1;break}}return De.delete(me),De.delete(_e),zt}function Bt(me,_e){var Ie,Fe,Se=me.__data__;return((Fe=typeof(Ie=_e))==&quot;string&quot;||Fe==&quot;number&quot;||Fe==&quot;symbol&quot;||Fe==&quot;boolean&quot;?Ie!==&quot;__proto__&quot;:Ie===null)?Se[typeof _e==&quot;string&quot;?&quot;string&quot;:&quot;hash&quot;]:Se.map}function ct(me,_e){var Ie=(function(Fe,Se){return Fe?.[Se]})(me,_e);return st(Ie)?Ie:void 0}var $t=function(me){return ie.call(me)};function Ht(me,_e){return!!(_e=_e??9007199254740991)&amp;&amp;(typeof me==&quot;number&quot;||g.test(me))&amp;&amp;me&gt;-1&amp;&amp;me%1==0&amp;&amp;me&lt;_e}function yt(me,_e){if(gt(me))return!1;var Ie=typeof me;return!(Ie!=&quot;number&quot;&amp;&amp;Ie!=&quot;symbol&quot;&amp;&amp;Ie!=&quot;boolean&quot;&amp;&amp;me!=null&amp;&amp;!Lt(me))||f.test(me)||!c.test(me)||_e!=null&amp;&amp;me in Object(_e)}function Ut(me){return me==me&amp;&amp;!Ot(me)}function Xt(me,_e){return function(Ie){return Ie!=null&amp;&amp;Ie[me]===_e&amp;&amp;(_e!==void 0||me in Object(Ie))}}(ne&amp;&amp;$t(new ne(new ArrayBuffer(1)))!=&quot;[object DataView]&quot;||Q&amp;&amp;$t(new Q)!=u||te&amp;&amp;$t(te.resolve())!=&quot;[object Promise]&quot;||de&amp;&amp;$t(new de)!=s||oe&amp;&amp;$t(new oe)!=&quot;[object WeakMap]&quot;)&amp;&amp;($t=function(me){var _e=ie.call(me),Ie=_e==o?me.constructor:void 0,Fe=Ie?ke(Ie):void 0;if(Fe)switch(Fe){case fe:return&quot;[object DataView]&quot;;case he:return u;case ce:return&quot;[object Promise]&quot;;case ge:return s;case ye:return&quot;[object WeakMap]&quot;}return _e});var Nt=ft((function(me){var _e;me=(_e=me)==null?&quot;&quot;:(function(Fe){if(typeof Fe==&quot;string&quot;)return Fe;if(Lt(Fe))return Ce?Ce.call(Fe):&quot;&quot;;var Se=Fe+&quot;&quot;;return Se==&quot;0&quot;&amp;&amp;1/Fe==-1/0?&quot;-0&quot;:Se})(_e);var Ie=[];return h.test(me)&amp;&amp;Ie.push(&quot;&quot;),me.replace(m,(function(Fe,Se,De,Be){Ie.push(De?Be.replace(p,&quot;$1&quot;):Se||Fe)})),Ie}));function be(me){if(typeof me==&quot;string&quot;||Lt(me))return me;var _e=me+&quot;&quot;;return _e==&quot;0&quot;&amp;&amp;1/me==-1/0?&quot;-0&quot;:_e}function ke(me){if(me!=null){try{return Y.call(me)}catch{}try{return me+&quot;&quot;}catch{}}return&quot;&quot;}var Te,Ke=(Te=function(me,_e,Ie){Z.call(me,Ie)?me[Ie].push(_e):me[Ie]=[_e]},function(me,_e){var Ie=gt(me)?W:qe,Fe={};return Ie(me,Te,Tt(_e),Fe)});function ft(me,_e){if(typeof me!=&quot;function&quot;||_e&amp;&amp;typeof _e!=&quot;function&quot;)throw new TypeError(&quot;Expected a function&quot;);var Ie=function(){var Fe=arguments,Se=_e?_e.apply(this,Fe):Fe[0],De=Ie.cache;if(De.has(Se))return De.get(Se);var Be=me.apply(this,Fe);return Ie.cache=De.set(Se,Be),Be};return Ie.cache=new(ft.Cache||Pe),Ie}function Ze(me,_e){return me===_e||me!=me&amp;&amp;_e!=_e}function kt(me){return(function(_e){return ir(_e)&amp;&amp;tt(_e)})(me)&amp;&amp;Z.call(me,&quot;callee&quot;)&amp;&amp;(!T.call(me,&quot;callee&quot;)||ie.call(me)==a)}ft.Cache=Pe;var gt=Array.isArray;function tt(me){return me!=null&amp;&amp;bt(me.length)&amp;&amp;!_t(me)}function _t(me){var _e=Ot(me)?ie.call(me):&quot;&quot;;return _e==&quot;[object Function]&quot;||_e==&quot;[object GeneratorFunction]&quot;}function bt(me){return typeof me==&quot;number&quot;&amp;&amp;me&gt;-1&amp;&amp;me%1==0&amp;&amp;me&lt;=9007199254740991}function Ot(me){var _e=typeof me;return!!me&amp;&amp;(_e==&quot;object&quot;||_e==&quot;function&quot;)}function ir(me){return!!me&amp;&amp;typeof me==&quot;object&quot;}function Lt(me){return typeof me==&quot;symbol&quot;||ir(me)&amp;&amp;ie.call(me)==&quot;[object Symbol]&quot;}var cr=q?(function(me){return function(_e){return me(_e)}})(q):function(me){return ir(me)&amp;&amp;bt(me.length)&amp;&amp;!!b[ie.call(me)]};function or(me){return tt(me)?Xe(me):jt(me)}function Tr(me){return me}n.exports=Ke}).call(this)}).call(this,typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],444:[function(t,n,l){var i=Object.prototype.toString;n.exports=function(a){return a===!0||a===!1||(function(u){return!!u&amp;&amp;typeof u==&quot;object&quot;})(a)&amp;&amp;i.call(a)==&quot;[object Boolean]&quot;}},{}],445:[function(t,n,l){(function(i){(function(){var a=&quot;[object Arguments]&quot;,u=&quot;[object Map]&quot;,o=&quot;[object Object]&quot;,s=&quot;[object Set]&quot;,c=/^\[object .+?Constructor\]$/,f=/^(?:0|[1-9]\d*)$/,h={};h[&quot;[object Float32Array]&quot;]=h[&quot;[object Float64Array]&quot;]=h[&quot;[object Int8Array]&quot;]=h[&quot;[object Int16Array]&quot;]=h[&quot;[object Int32Array]&quot;]=h[&quot;[object Uint8Array]&quot;]=h[&quot;[object Uint8ClampedArray]&quot;]=h[&quot;[object Uint16Array]&quot;]=h[&quot;[object Uint32Array]&quot;]=!0,h[a]=h[&quot;[object Array]&quot;]=h[&quot;[object ArrayBuffer]&quot;]=h[&quot;[object Boolean]&quot;]=h[&quot;[object DataView]&quot;]=h[&quot;[object Date]&quot;]=h[&quot;[object Error]&quot;]=h[&quot;[object Function]&quot;]=h[u]=h[&quot;[object Number]&quot;]=h[o]=h[&quot;[object RegExp]&quot;]=h[s]=h[&quot;[object String]&quot;]=h[&quot;[object WeakMap]&quot;]=!1;var m=typeof i==&quot;object&quot;&amp;&amp;i&amp;&amp;i.Object===Object&amp;&amp;i,p=typeof self==&quot;object&quot;&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,v=m||p||Function(&quot;return this&quot;)(),g=typeof l==&quot;object&quot;&amp;&amp;l&amp;&amp;!l.nodeType&amp;&amp;l,b=g&amp;&amp;typeof n==&quot;object&quot;&amp;&amp;n&amp;&amp;!n.nodeType&amp;&amp;n,x=b&amp;&amp;b.exports===g,_=x&amp;&amp;m.process,C=(function(){try{return _&amp;&amp;_.binding&amp;&amp;_.binding(&quot;util&quot;)}catch{}})(),O=C&amp;&amp;C.isTypedArray;function R(be,ke){for(var Te=-1,Ke=be==null?0:be.length;++Te&lt;Ke;)if(ke(be[Te],Te,be))return!0;return!1}function H(be){var ke=-1,Te=Array(be.size);return be.forEach((function(Ke,ft){Te[++ke]=[ft,Ke]})),Te}function L(be){var ke=-1,Te=Array(be.size);return be.forEach((function(Ke){Te[++ke]=Ke})),Te}var q,W,K,U=Array.prototype,P=Function.prototype,D=Object.prototype,E=v[&quot;__core-js_shared__&quot;],j=P.toString,k=D.hasOwnProperty,S=(q=/[^.]+$/.exec(E&amp;&amp;E.keys&amp;&amp;E.keys.IE_PROTO||&quot;&quot;))?&quot;Symbol(src)_1.&quot;+q:&quot;&quot;,N=D.toString,M=RegExp(&quot;^&quot;+j.call(k).replace(/[\\^$.*+?()[\]{}|]/g,&quot;\\$&amp;&quot;).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,&quot;$1.*?&quot;)+&quot;$&quot;),I=x?v.Buffer:void 0,B=v.Symbol,Y=v.Uint8Array,Z=D.propertyIsEnumerable,ie=U.splice,$=B?B.toStringTag:void 0,ee=Object.getOwnPropertySymbols,z=I?I.isBuffer:void 0,T=(W=Object.keys,K=Object,function(be){return W(K(be))}),X=Rt(v,&quot;DataView&quot;),re=Rt(v,&quot;Map&quot;),ne=Rt(v,&quot;Promise&quot;),Q=Rt(v,&quot;Set&quot;),te=Rt(v,&quot;WeakMap&quot;),de=Rt(Object,&quot;create&quot;),oe=jt(X),se=jt(re),fe=jt(ne),he=jt(Q),ce=jt(te),ge=B?B.prototype:void 0,ye=ge?ge.valueOf:void 0;function pe(be){var ke=-1,Te=be==null?0:be.length;for(this.clear();++ke&lt;Te;){var Ke=be[ke];this.set(Ke[0],Ke[1])}}function le(be){var ke=-1,Te=be==null?0:be.length;for(this.clear();++ke&lt;Te;){var Ke=be[ke];this.set(Ke[0],Ke[1])}}function Ce(be){var ke=-1,Te=be==null?0:be.length;for(this.clear();++ke&lt;Te;){var Ke=be[ke];this.set(Ke[0],Ke[1])}}function Ae(be){var ke=-1,Te=be==null?0:be.length;for(this.__data__=new Ce;++ke&lt;Te;)this.add(be[ke])}function je(be){var ke=this.__data__=new le(be);this.size=ke.size}function Pe(be,ke){var Te=Bt(be),Ke=!Te&amp;&amp;It(be),ft=!Te&amp;&amp;!Ke&amp;&amp;ct(be),Ze=!Te&amp;&amp;!Ke&amp;&amp;!ft&amp;&amp;Xt(be),kt=Te||Ke||ft||Ze,gt=kt?(function(bt,Ot){for(var ir=-1,Lt=Array(bt);++ir&lt;bt;)Lt[ir]=Ot(ir);return Lt})(be.length,String):[],tt=gt.length;for(var _t in be)!k.call(be,_t)||kt&amp;&amp;(_t==&quot;length&quot;||ft&amp;&amp;(_t==&quot;offset&quot;||_t==&quot;parent&quot;)||Ze&amp;&amp;(_t==&quot;buffer&quot;||_t==&quot;byteLength&quot;||_t==&quot;byteOffset&quot;)||Tt(_t,tt))||gt.push(_t);return gt}function Qe(be,ke){for(var Te=be.length;Te--;)if(St(be[Te][0],ke))return Te;return-1}function Ue(be){return be==null?be===void 0?&quot;[object Undefined]&quot;:&quot;[object Null]&quot;:$&amp;&amp;$ in Object(be)?(function(ke){var Te=k.call(ke,$),Ke=ke[$];try{ke[$]=void 0;var ft=!0}catch{}var Ze=N.call(ke);return ft&amp;&amp;(Te?ke[$]=Ke:delete ke[$]),Ze})(be):(function(ke){return N.call(ke)})(be)}function Xe(be){return Ut(be)&amp;&amp;Ue(be)==a}function rt(be,ke,Te,Ke,ft){return be===ke||(be==null||ke==null||!Ut(be)&amp;&amp;!Ut(ke)?be!=be&amp;&amp;ke!=ke:(function(Ze,kt,gt,tt,_t,bt){var Ot=Bt(Ze),ir=Bt(kt),Lt=Ot?&quot;[object Array]&quot;:st(Ze),cr=ir?&quot;[object Array]&quot;:st(kt),or=(Lt=Lt==a?o:Lt)==o,Tr=(cr=cr==a?o:cr)==o,me=Lt==cr;if(me&amp;&amp;ct(Ze)){if(!ct(kt))return!1;Ot=!0,or=!1}if(me&amp;&amp;!or)return bt||(bt=new je),Ot||Xt(Ze)?Ye(Ze,kt,gt,tt,_t,bt):(function(De,Be,Ct,pt,Et,lt,zt){switch(Ct){case&quot;[object DataView]&quot;:if(De.byteLength!=Be.byteLength||De.byteOffset!=Be.byteOffset)return!1;De=De.buffer,Be=Be.buffer;case&quot;[object ArrayBuffer]&quot;:return!(De.byteLength!=Be.byteLength||!lt(new Y(De),new Y(Be)));case&quot;[object Boolean]&quot;:case&quot;[object Date]&quot;:case&quot;[object Number]&quot;:return St(+De,+Be);case&quot;[object Error]&quot;:return De.name==Be.name&amp;&amp;De.message==Be.message;case&quot;[object RegExp]&quot;:case&quot;[object String]&quot;:return De==Be+&quot;&quot;;case u:var Yt=H;case s:var Qt=1&amp;pt;if(Yt||(Yt=L),De.size!=Be.size&amp;&amp;!Qt)return!1;var ur=zt.get(De);if(ur)return ur==Be;pt|=2,zt.set(De,Be);var hr=Ye(Yt(De),Yt(Be),pt,Et,lt,zt);return zt.delete(De),hr;case&quot;[object Symbol]&quot;:if(ye)return ye.call(De)==ye.call(Be)}return!1})(Ze,kt,Lt,gt,tt,_t,bt);if(!(1&amp;gt)){var _e=or&amp;&amp;k.call(Ze,&quot;__wrapped__&quot;),Ie=Tr&amp;&amp;k.call(kt,&quot;__wrapped__&quot;);if(_e||Ie){var Fe=_e?Ze.value():Ze,Se=Ie?kt.value():kt;return bt||(bt=new je),_t(Fe,Se,gt,tt,bt)}}return me?(bt||(bt=new je),(function(De,Be,Ct,pt,Et,lt){var zt=1&amp;Ct,Yt=et(De),Qt=Yt.length,ur=et(Be).length;if(Qt!=ur&amp;&amp;!zt)return!1;for(var hr=Qt;hr--;){var Cr=Yt[hr];if(!(zt?Cr in Be:k.call(Be,Cr)))return!1}var Vr=lt.get(De);if(Vr&amp;&amp;lt.get(Be))return Vr==Be;var nn=!0;lt.set(De,Be),lt.set(Be,De);for(var pn=zt;++hr&lt;Qt;){Cr=Yt[hr];var bi=De[Cr],xi=Be[Cr];if(pt)var Pt=zt?pt(xi,bi,Cr,Be,De,lt):pt(bi,xi,Cr,De,Be,lt);if(!(Pt===void 0?bi===xi||Et(bi,xi,Ct,pt,lt):Pt)){nn=!1;break}pn||(pn=Cr==&quot;constructor&quot;)}if(nn&amp;&amp;!pn){var Vt=De.constructor,gn=Be.constructor;Vt==gn||!(&quot;constructor&quot;in De)||!(&quot;constructor&quot;in Be)||typeof Vt==&quot;function&quot;&amp;&amp;Vt instanceof Vt&amp;&amp;typeof gn==&quot;function&quot;&amp;&amp;gn instanceof gn||(nn=!1)}return lt.delete(De),lt.delete(Be),nn})(Ze,kt,gt,tt,_t,bt)):!1})(be,ke,Te,Ke,rt,ft))}function qe(be){return!(!yt(be)||(function(ke){return!!S&amp;&amp;S in ke})(be))&amp;&amp;($t(be)?M:c).test(jt(be))}function ze(be){if(Te=(ke=be)&amp;&amp;ke.constructor,Ke=typeof Te==&quot;function&quot;&amp;&amp;Te.prototype||D,ke!==Ke)return T(be);var ke,Te,Ke,ft=[];for(var Ze in Object(be))k.call(be,Ze)&amp;&amp;Ze!=&quot;constructor&quot;&amp;&amp;ft.push(Ze);return ft}function Ye(be,ke,Te,Ke,ft,Ze){var kt=1&amp;Te,gt=be.length,tt=ke.length;if(gt!=tt&amp;&amp;!(kt&amp;&amp;tt&gt;gt))return!1;var _t=Ze.get(be);if(_t&amp;&amp;Ze.get(ke))return _t==ke;var bt=-1,Ot=!0,ir=2&amp;Te?new Ae:void 0;for(Ze.set(be,ke),Ze.set(ke,be);++bt&lt;gt;){var Lt=be[bt],cr=ke[bt];if(Ke)var or=kt?Ke(cr,Lt,bt,ke,be,Ze):Ke(Lt,cr,bt,be,ke,Ze);if(or!==void 0){if(or)continue;Ot=!1;break}if(ir){if(!R(ke,(function(Tr,me){if(_e=me,!ir.has(_e)&amp;&amp;(Lt===Tr||ft(Lt,Tr,Te,Ke,Ze)))return ir.push(me);var _e}))){Ot=!1;break}}else if(Lt!==cr&amp;&amp;!ft(Lt,cr,Te,Ke,Ze)){Ot=!1;break}}return Ze.delete(be),Ze.delete(ke),Ot}function et(be){return(function(ke,Te,Ke){var ft=Te(ke);return Bt(ke)?ft:(function(Ze,kt){for(var gt=-1,tt=kt.length,_t=Ze.length;++gt&lt;tt;)Ze[_t+gt]=kt[gt];return Ze})(ft,Ke(ke))})(be,Nt,qt)}function Je(be,ke){var Te,Ke,ft=be.__data__;return((Ke=typeof(Te=ke))==&quot;string&quot;||Ke==&quot;number&quot;||Ke==&quot;symbol&quot;||Ke==&quot;boolean&quot;?Te!==&quot;__proto__&quot;:Te===null)?ft[typeof ke==&quot;string&quot;?&quot;string&quot;:&quot;hash&quot;]:ft.map}function Rt(be,ke){var Te=(function(Ke,ft){return Ke?.[ft]})(be,ke);return qe(Te)?Te:void 0}pe.prototype.clear=function(){this.__data__=de?de(null):{},this.size=0},pe.prototype.delete=function(be){var ke=this.has(be)&amp;&amp;delete this.__data__[be];return this.size-=ke?1:0,ke},pe.prototype.get=function(be){var ke=this.__data__;if(de){var Te=ke[be];return Te===&quot;__lodash_hash_undefined__&quot;?void 0:Te}return k.call(ke,be)?ke[be]:void 0},pe.prototype.has=function(be){var ke=this.__data__;return de?ke[be]!==void 0:k.call(ke,be)},pe.prototype.set=function(be,ke){var Te=this.__data__;return this.size+=this.has(be)?0:1,Te[be]=de&amp;&amp;ke===void 0?&quot;__lodash_hash_undefined__&quot;:ke,this},le.prototype.clear=function(){this.__data__=[],this.size=0},le.prototype.delete=function(be){var ke=this.__data__,Te=Qe(ke,be);return!(Te&lt;0)&amp;&amp;(Te==ke.length-1?ke.pop():ie.call(ke,Te,1),--this.size,!0)},le.prototype.get=function(be){var ke=this.__data__,Te=Qe(ke,be);return Te&lt;0?void 0:ke[Te][1]},le.prototype.has=function(be){return Qe(this.__data__,be)&gt;-1},le.prototype.set=function(be,ke){var Te=this.__data__,Ke=Qe(Te,be);return Ke&lt;0?(++this.size,Te.push([be,ke])):Te[Ke][1]=ke,this},Ce.prototype.clear=function(){this.size=0,this.__data__={hash:new pe,map:new(re||le),string:new pe}},Ce.prototype.delete=function(be){var ke=Je(this,be).delete(be);return this.size-=ke?1:0,ke},Ce.prototype.get=function(be){return Je(this,be).get(be)},Ce.prototype.has=function(be){return Je(this,be).has(be)},Ce.prototype.set=function(be,ke){var Te=Je(this,be),Ke=Te.size;return Te.set(be,ke),this.size+=Te.size==Ke?0:1,this},Ae.prototype.add=Ae.prototype.push=function(be){return this.__data__.set(be,&quot;__lodash_hash_undefined__&quot;),this},Ae.prototype.has=function(be){return this.__data__.has(be)},je.prototype.clear=function(){this.__data__=new le,this.size=0},je.prototype.delete=function(be){var ke=this.__data__,Te=ke.delete(be);return this.size=ke.size,Te},je.prototype.get=function(be){return this.__data__.get(be)},je.prototype.has=function(be){return this.__data__.has(be)},je.prototype.set=function(be,ke){var Te=this.__data__;if(Te instanceof le){var Ke=Te.__data__;if(!re||Ke.length&lt;199)return Ke.push([be,ke]),this.size=++Te.size,this;Te=this.__data__=new Ce(Ke)}return Te.set(be,ke),this.size=Te.size,this};var qt=ee?function(be){return be==null?[]:(be=Object(be),(function(ke,Te){for(var Ke=-1,ft=ke==null?0:ke.length,Ze=0,kt=[];++Ke&lt;ft;){var gt=ke[Ke];Te(gt,Ke,ke)&amp;&amp;(kt[Ze++]=gt)}return kt})(ee(be),(function(ke){return Z.call(be,ke)})))}:function(){return[]},st=Ue;function Tt(be,ke){return!!(ke=ke??9007199254740991)&amp;&amp;(typeof be==&quot;number&quot;||f.test(be))&amp;&amp;be&gt;-1&amp;&amp;be%1==0&amp;&amp;be&lt;ke}function jt(be){if(be!=null){try{return j.call(be)}catch{}try{return be+&quot;&quot;}catch{}}return&quot;&quot;}function St(be,ke){return be===ke||be!=be&amp;&amp;ke!=ke}(X&amp;&amp;st(new X(new ArrayBuffer(1)))!=&quot;[object DataView]&quot;||re&amp;&amp;st(new re)!=u||ne&amp;&amp;st(ne.resolve())!=&quot;[object Promise]&quot;||Q&amp;&amp;st(new Q)!=s||te&amp;&amp;st(new te)!=&quot;[object WeakMap]&quot;)&amp;&amp;(st=function(be){var ke=Ue(be),Te=ke==o?be.constructor:void 0,Ke=Te?jt(Te):&quot;&quot;;if(Ke)switch(Ke){case oe:return&quot;[object DataView]&quot;;case se:return u;case fe:return&quot;[object Promise]&quot;;case he:return s;case ce:return&quot;[object WeakMap]&quot;}return ke});var It=Xe((function(){return arguments})())?Xe:function(be){return Ut(be)&amp;&amp;k.call(be,&quot;callee&quot;)&amp;&amp;!Z.call(be,&quot;callee&quot;)},Bt=Array.isArray,ct=z||function(){return!1};function $t(be){if(!yt(be))return!1;var ke=Ue(be);return ke==&quot;[object Function]&quot;||ke==&quot;[object GeneratorFunction]&quot;||ke==&quot;[object AsyncFunction]&quot;||ke==&quot;[object Proxy]&quot;}function Ht(be){return typeof be==&quot;number&quot;&amp;&amp;be&gt;-1&amp;&amp;be%1==0&amp;&amp;be&lt;=9007199254740991}function yt(be){var ke=typeof be;return be!=null&amp;&amp;(ke==&quot;object&quot;||ke==&quot;function&quot;)}function Ut(be){return be!=null&amp;&amp;typeof be==&quot;object&quot;}var Xt=O?(function(be){return function(ke){return be(ke)}})(O):function(be){return Ut(be)&amp;&amp;Ht(be.length)&amp;&amp;!!h[Ue(be)]};function Nt(be){return(ke=be)!=null&amp;&amp;Ht(ke.length)&amp;&amp;!$t(ke)?Pe(be):ze(be);var ke}n.exports=function(be,ke){return rt(be,ke)}}).call(this)}).call(this,typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],446:[function(t,n,l){(function(i){(function(){var a=typeof i==&quot;object&quot;&amp;&amp;i&amp;&amp;i.Object===Object&amp;&amp;i,u=typeof self==&quot;object&quot;&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,o=a||u||Function(&quot;return this&quot;)(),s=Object.prototype,c=s.hasOwnProperty,f=s.toString,h=o.Symbol,m=h?h.toStringTag:void 0;function p(v){return v==null?v===void 0?&quot;[object Undefined]&quot;:&quot;[object Null]&quot;:m&amp;&amp;m in Object(v)?(function(g){var b=c.call(g,m),x=g[m];try{g[m]=void 0;var _=!0}catch{}var C=f.call(g);return _&amp;&amp;(b?g[m]=x:delete g[m]),C})(v):(function(g){return f.call(g)})(v)}n.exports=function(v){if(!(function(b){var x=typeof b;return b!=null&amp;&amp;(x==&quot;object&quot;||x==&quot;function&quot;)})(v))return!1;var g=p(v);return g==&quot;[object Function]&quot;||g==&quot;[object GeneratorFunction]&quot;||g==&quot;[object AsyncFunction]&quot;||g==&quot;[object Proxy]&quot;}}).call(this)}).call(this,typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],447:[function(t,n,l){n.exports=function(i){return i==null}},{}],448:[function(t,n,l){n.exports=function(i){return i===void 0}},{}],449:[function(t,n,l){(function(i){(function(){var a=/^\[object .+?Constructor\]$/,u=typeof i==&quot;object&quot;&amp;&amp;i&amp;&amp;i.Object===Object&amp;&amp;i,o=typeof self==&quot;object&quot;&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,s=u||o||Function(&quot;return this&quot;)();function c(B,Y){return!!(B&amp;&amp;B.length)&amp;&amp;(function(Z,ie,$){if(ie!=ie)return(function(T,X,re,ne){for(var Q=T.length,te=re+-1;++te&lt;Q;)if(X(T[te],te,T))return te;return-1})(Z,f,$);for(var ee=$-1,z=Z.length;++ee&lt;z;)if(Z[ee]===ie)return ee;return-1})(B,Y,0)&gt;-1}function f(B){return B!=B}function h(B,Y){return B.has(Y)}function m(B){var Y=-1,Z=Array(B.size);return B.forEach((function(ie){Z[++Y]=ie})),Z}var p,v=Array.prototype,g=Function.prototype,b=Object.prototype,x=s[&quot;__core-js_shared__&quot;],_=(p=/[^.]+$/.exec(x&amp;&amp;x.keys&amp;&amp;x.keys.IE_PROTO||&quot;&quot;))?&quot;Symbol(src)_1.&quot;+p:&quot;&quot;,C=g.toString,O=b.hasOwnProperty,R=b.toString,H=RegExp(&quot;^&quot;+C.call(O).replace(/[\\^$.*+?()[\]{}|]/g,&quot;\\$&amp;&quot;).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,&quot;$1.*?&quot;)+&quot;$&quot;),L=v.splice,q=M(s,&quot;Map&quot;),W=M(s,&quot;Set&quot;),K=M(Object,&quot;create&quot;);function U(B){var Y=-1,Z=B?B.length:0;for(this.clear();++Y&lt;Z;){var ie=B[Y];this.set(ie[0],ie[1])}}function P(B){var Y=-1,Z=B?B.length:0;for(this.clear();++Y&lt;Z;){var ie=B[Y];this.set(ie[0],ie[1])}}function D(B){var Y=-1,Z=B?B.length:0;for(this.clear();++Y&lt;Z;){var ie=B[Y];this.set(ie[0],ie[1])}}function E(B){var Y=-1,Z=B?B.length:0;for(this.__data__=new D;++Y&lt;Z;)this.add(B[Y])}function j(B,Y){for(var Z,ie,$=B.length;$--;)if((Z=B[$][0])===(ie=Y)||Z!=Z&amp;&amp;ie!=ie)return $;return-1}function k(B){return!(!I(B)||(Y=B,_&amp;&amp;_ in Y))&amp;&amp;((function(Z){var ie=I(Z)?R.call(Z):&quot;&quot;;return ie==&quot;[object Function]&quot;||ie==&quot;[object GeneratorFunction]&quot;})(B)||(function(Z){var ie=!1;if(Z!=null&amp;&amp;typeof Z.toString!=&quot;function&quot;)try{ie=!!(Z+&quot;&quot;)}catch{}return ie})(B)?H:a).test((function(Z){if(Z!=null){try{return C.call(Z)}catch{}try{return Z+&quot;&quot;}catch{}}return&quot;&quot;})(B));var Y}U.prototype.clear=function(){this.__data__=K?K(null):{}},U.prototype.delete=function(B){return this.has(B)&amp;&amp;delete this.__data__[B]},U.prototype.get=function(B){var Y=this.__data__;if(K){var Z=Y[B];return Z===&quot;__lodash_hash_undefined__&quot;?void 0:Z}return O.call(Y,B)?Y[B]:void 0},U.prototype.has=function(B){var Y=this.__data__;return K?Y[B]!==void 0:O.call(Y,B)},U.prototype.set=function(B,Y){return this.__data__[B]=K&amp;&amp;Y===void 0?&quot;__lodash_hash_undefined__&quot;:Y,this},P.prototype.clear=function(){this.__data__=[]},P.prototype.delete=function(B){var Y=this.__data__,Z=j(Y,B);return!(Z&lt;0)&amp;&amp;(Z==Y.length-1?Y.pop():L.call(Y,Z,1),!0)},P.prototype.get=function(B){var Y=this.__data__,Z=j(Y,B);return Z&lt;0?void 0:Y[Z][1]},P.prototype.has=function(B){return j(this.__data__,B)&gt;-1},P.prototype.set=function(B,Y){var Z=this.__data__,ie=j(Z,B);return ie&lt;0?Z.push([B,Y]):Z[ie][1]=Y,this},D.prototype.clear=function(){this.__data__={hash:new U,map:new(q||P),string:new U}},D.prototype.delete=function(B){return N(this,B).delete(B)},D.prototype.get=function(B){return N(this,B).get(B)},D.prototype.has=function(B){return N(this,B).has(B)},D.prototype.set=function(B,Y){return N(this,B).set(B,Y),this},E.prototype.add=E.prototype.push=function(B){return this.__data__.set(B,&quot;__lodash_hash_undefined__&quot;),this},E.prototype.has=function(B){return this.__data__.has(B)};var S=W&amp;&amp;1/m(new W([,-0]))[1]==1/0?function(B){return new W(B)}:function(){};function N(B,Y){var Z,ie,$=B.__data__;return((ie=typeof(Z=Y))==&quot;string&quot;||ie==&quot;number&quot;||ie==&quot;symbol&quot;||ie==&quot;boolean&quot;?Z!==&quot;__proto__&quot;:Z===null)?$[typeof Y==&quot;string&quot;?&quot;string&quot;:&quot;hash&quot;]:$.map}function M(B,Y){var Z=(function(ie,$){return ie?.[$]})(B,Y);return k(Z)?Z:void 0}function I(B){var Y=typeof B;return!!B&amp;&amp;(Y==&quot;object&quot;||Y==&quot;function&quot;)}n.exports=function(B){return B&amp;&amp;B.length?(function(Y,Z,ie){var $=-1,ee=c,z=Y.length,T=!0,X=[],re=X;if(z&gt;=200){var ne=S(Y);if(ne)return m(ne);T=!1,ee=h,re=new E}else re=X;e:for(;++$&lt;z;){var Q=Y[$],te=Q;if(Q=Q!==0?Q:0,T&amp;&amp;te==te){for(var de=re.length;de--;)if(re[de]===te)continue e;X.push(Q)}else ee(re,te,ie)||(re!==X&amp;&amp;re.push(te),X.push(Q))}return X})(B):[]}}).call(this)}).call(this,typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],450:[function(t,n,l){var i=t(&quot;inherits&quot;),a=t(&quot;hash-base&quot;),u=t(&quot;safe-buffer&quot;).Buffer,o=new Array(16);function s(){a.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(v,g){return v&lt;&lt;g|v&gt;&gt;&gt;32-g}function f(v,g,b,x,_,C,O){return c(v+(g&amp;b|~g&amp;x)+_+C|0,O)+g|0}function h(v,g,b,x,_,C,O){return c(v+(g&amp;x|b&amp;~x)+_+C|0,O)+g|0}function m(v,g,b,x,_,C,O){return c(v+(g^b^x)+_+C|0,O)+g|0}function p(v,g,b,x,_,C,O){return c(v+(b^(g|~x))+_+C|0,O)+g|0}i(s,a),s.prototype._update=function(){for(var v=o,g=0;g&lt;16;++g)v[g]=this._block.readInt32LE(4*g);var b=this._a,x=this._b,_=this._c,C=this._d;b=f(b,x,_,C,v[0],3614090360,7),C=f(C,b,x,_,v[1],3905402710,12),_=f(_,C,b,x,v[2],606105819,17),x=f(x,_,C,b,v[3],3250441966,22),b=f(b,x,_,C,v[4],4118548399,7),C=f(C,b,x,_,v[5],1200080426,12),_=f(_,C,b,x,v[6],2821735955,17),x=f(x,_,C,b,v[7],4249261313,22),b=f(b,x,_,C,v[8],1770035416,7),C=f(C,b,x,_,v[9],2336552879,12),_=f(_,C,b,x,v[10],4294925233,17),x=f(x,_,C,b,v[11],2304563134,22),b=f(b,x,_,C,v[12],1804603682,7),C=f(C,b,x,_,v[13],4254626195,12),_=f(_,C,b,x,v[14],2792965006,17),b=h(b,x=f(x,_,C,b,v[15],1236535329,22),_,C,v[1],4129170786,5),C=h(C,b,x,_,v[6],3225465664,9),_=h(_,C,b,x,v[11],643717713,14),x=h(x,_,C,b,v[0],3921069994,20),b=h(b,x,_,C,v[5],3593408605,5),C=h(C,b,x,_,v[10],38016083,9),_=h(_,C,b,x,v[15],3634488961,14),x=h(x,_,C,b,v[4],3889429448,20),b=h(b,x,_,C,v[9],568446438,5),C=h(C,b,x,_,v[14],3275163606,9),_=h(_,C,b,x,v[3],4107603335,14),x=h(x,_,C,b,v[8],1163531501,20),b=h(b,x,_,C,v[13],2850285829,5),C=h(C,b,x,_,v[2],4243563512,9),_=h(_,C,b,x,v[7],1735328473,14),b=m(b,x=h(x,_,C,b,v[12],2368359562,20),_,C,v[5],4294588738,4),C=m(C,b,x,_,v[8],2272392833,11),_=m(_,C,b,x,v[11],1839030562,16),x=m(x,_,C,b,v[14],4259657740,23),b=m(b,x,_,C,v[1],2763975236,4),C=m(C,b,x,_,v[4],1272893353,11),_=m(_,C,b,x,v[7],4139469664,16),x=m(x,_,C,b,v[10],3200236656,23),b=m(b,x,_,C,v[13],681279174,4),C=m(C,b,x,_,v[0],3936430074,11),_=m(_,C,b,x,v[3],3572445317,16),x=m(x,_,C,b,v[6],76029189,23),b=m(b,x,_,C,v[9],3654602809,4),C=m(C,b,x,_,v[12],3873151461,11),_=m(_,C,b,x,v[15],530742520,16),b=p(b,x=m(x,_,C,b,v[2],3299628645,23),_,C,v[0],4096336452,6),C=p(C,b,x,_,v[7],1126891415,10),_=p(_,C,b,x,v[14],2878612391,15),x=p(x,_,C,b,v[5],4237533241,21),b=p(b,x,_,C,v[12],1700485571,6),C=p(C,b,x,_,v[3],2399980690,10),_=p(_,C,b,x,v[10],4293915773,15),x=p(x,_,C,b,v[1],2240044497,21),b=p(b,x,_,C,v[8],1873313359,6),C=p(C,b,x,_,v[15],4264355552,10),_=p(_,C,b,x,v[6],2734768916,15),x=p(x,_,C,b,v[13],1309151649,21),b=p(b,x,_,C,v[4],4149444226,6),C=p(C,b,x,_,v[11],3174756917,10),_=p(_,C,b,x,v[2],718787259,15),x=p(x,_,C,b,v[9],3951481745,21),this._a=this._a+b|0,this._b=this._b+x|0,this._c=this._c+_|0,this._d=this._d+C|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset&gt;56&amp;&amp;(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var v=u.allocUnsafe(16);return v.writeInt32LE(this._a,0),v.writeInt32LE(this._b,4),v.writeInt32LE(this._c,8),v.writeInt32LE(this._d,12),v},n.exports=s},{&quot;hash-base&quot;:425,inherits:440,&quot;safe-buffer&quot;:494}],451:[function(t,n,l){var i=t(&quot;bn.js&quot;),a=t(&quot;brorand&quot;);function u(o){this.rand=o||new a.Rand}n.exports=u,u.create=function(o){return new u(o)},u.prototype._randbelow=function(o){var s=o.bitLength(),c=Math.ceil(s/8);do var f=new i(this.rand.generate(c));while(f.cmp(o)&gt;=0);return f},u.prototype._randrange=function(o,s){var c=s.sub(o);return o.add(this._randbelow(c))},u.prototype.test=function(o,s,c){var f=o.bitLength(),h=i.mont(o),m=new i(1).toRed(h);s||(s=Math.max(1,f/48|0));for(var p=o.subn(1),v=0;!p.testn(v);v++);for(var g=o.shrn(v),b=p.toRed(h);s&gt;0;s--){var x=this._randrange(new i(2),p);c&amp;&amp;c(x);var _=x.toRed(h).redPow(g);if(_.cmp(m)!==0&amp;&amp;_.cmp(b)!==0){for(var C=1;C&lt;v;C++){if((_=_.redSqr()).cmp(m)===0)return!1;if(_.cmp(b)===0)break}if(C===v)return!1}}return!0},u.prototype.getDivisor=function(o,s){var c=o.bitLength(),f=i.mont(o),h=new i(1).toRed(f);s||(s=Math.max(1,c/48|0));for(var m=o.subn(1),p=0;!m.testn(p);p++);for(var v=o.shrn(p),g=m.toRed(f);s&gt;0;s--){var b=this._randrange(new i(2),m),x=o.gcd(b);if(x.cmpn(1)!==0)return x;var _=b.toRed(f).redPow(v);if(_.cmp(h)!==0&amp;&amp;_.cmp(g)!==0){for(var C=1;C&lt;p;C++){if((_=_.redSqr()).cmp(h)===0)return _.fromRed().subn(1).gcd(o);if(_.cmp(g)===0)break}if(C===p)return(_=_.redSqr()).fromRed().subn(1).gcd(o)}}return!1}},{&quot;bn.js&quot;:452,brorand:187}],452:[function(t,n,l){arguments[4][184][0].apply(l,arguments)},{buffer:188,dup:184}],453:[function(t,n,l){function i(a,u){if(!a)throw new Error(u||&quot;Assertion failed&quot;)}n.exports=i,i.equal=function(a,u,o){if(a!=u)throw new Error(o||&quot;Assertion failed: &quot;+a+&quot; != &quot;+u)}},{}],454:[function(t,n,l){var i=l;function a(o){return o.length===1?&quot;0&quot;+o:o}function u(o){for(var s=&quot;&quot;,c=0;c&lt;o.length;c++)s+=a(o[c].toString(16));return s}i.toArray=function(o,s){if(Array.isArray(o))return o.slice();if(!o)return[];var c=[];if(typeof o!=&quot;string&quot;){for(var f=0;f&lt;o.length;f++)c[f]=0|o[f];return c}if(s===&quot;hex&quot;)for((o=o.replace(/[^a-z0-9]+/gi,&quot;&quot;)).length%2!=0&amp;&amp;(o=&quot;0&quot;+o),f=0;f&lt;o.length;f+=2)c.push(parseInt(o[f]+o[f+1],16));else for(f=0;f&lt;o.length;f++){var h=o.charCodeAt(f),m=h&gt;&gt;8,p=255&amp;h;m?c.push(m,p):c.push(p)}return c},i.zero2=a,i.toHex=u,i.encode=function(o,s){return s===&quot;hex&quot;?u(o):o}},{}],455:[function(t,n,l){n.exports={&quot;2.16.840.1.101.3.4.1.1&quot;:&quot;aes-128-ecb&quot;,&quot;2.16.840.1.101.3.4.1.2&quot;:&quot;aes-128-cbc&quot;,&quot;2.16.840.1.101.3.4.1.3&quot;:&quot;aes-128-ofb&quot;,&quot;2.16.840.1.101.3.4.1.4&quot;:&quot;aes-128-cfb&quot;,&quot;2.16.840.1.101.3.4.1.21&quot;:&quot;aes-192-ecb&quot;,&quot;2.16.840.1.101.3.4.1.22&quot;:&quot;aes-192-cbc&quot;,&quot;2.16.840.1.101.3.4.1.23&quot;:&quot;aes-192-ofb&quot;,&quot;2.16.840.1.101.3.4.1.24&quot;:&quot;aes-192-cfb&quot;,&quot;2.16.840.1.101.3.4.1.41&quot;:&quot;aes-256-ecb&quot;,&quot;2.16.840.1.101.3.4.1.42&quot;:&quot;aes-256-cbc&quot;,&quot;2.16.840.1.101.3.4.1.43&quot;:&quot;aes-256-ofb&quot;,&quot;2.16.840.1.101.3.4.1.44&quot;:&quot;aes-256-cfb&quot;}},{}],456:[function(t,n,l){var i=t(&quot;asn1.js&quot;);l.certificate=t(&quot;./certificate&quot;);var a=i.define(&quot;RSAPrivateKey&quot;,(function(){this.seq().obj(this.key(&quot;version&quot;).int(),this.key(&quot;modulus&quot;).int(),this.key(&quot;publicExponent&quot;).int(),this.key(&quot;privateExponent&quot;).int(),this.key(&quot;prime1&quot;).int(),this.key(&quot;prime2&quot;).int(),this.key(&quot;exponent1&quot;).int(),this.key(&quot;exponent2&quot;).int(),this.key(&quot;coefficient&quot;).int())}));l.RSAPrivateKey=a;var u=i.define(&quot;RSAPublicKey&quot;,(function(){this.seq().obj(this.key(&quot;modulus&quot;).int(),this.key(&quot;publicExponent&quot;).int())}));l.RSAPublicKey=u;var o=i.define(&quot;SubjectPublicKeyInfo&quot;,(function(){this.seq().obj(this.key(&quot;algorithm&quot;).use(s),this.key(&quot;subjectPublicKey&quot;).bitstr())}));l.PublicKey=o;var s=i.define(&quot;AlgorithmIdentifier&quot;,(function(){this.seq().obj(this.key(&quot;algorithm&quot;).objid(),this.key(&quot;none&quot;).null_().optional(),this.key(&quot;curve&quot;).objid().optional(),this.key(&quot;params&quot;).seq().obj(this.key(&quot;p&quot;).int(),this.key(&quot;q&quot;).int(),this.key(&quot;g&quot;).int()).optional())})),c=i.define(&quot;PrivateKeyInfo&quot;,(function(){this.seq().obj(this.key(&quot;version&quot;).int(),this.key(&quot;algorithm&quot;).use(s),this.key(&quot;subjectPrivateKey&quot;).octstr())}));l.PrivateKey=c;var f=i.define(&quot;EncryptedPrivateKeyInfo&quot;,(function(){this.seq().obj(this.key(&quot;algorithm&quot;).seq().obj(this.key(&quot;id&quot;).objid(),this.key(&quot;decrypt&quot;).seq().obj(this.key(&quot;kde&quot;).seq().obj(this.key(&quot;id&quot;).objid(),this.key(&quot;kdeparams&quot;).seq().obj(this.key(&quot;salt&quot;).octstr(),this.key(&quot;iters&quot;).int())),this.key(&quot;cipher&quot;).seq().obj(this.key(&quot;algo&quot;).objid(),this.key(&quot;iv&quot;).octstr()))),this.key(&quot;subjectPrivateKey&quot;).octstr())}));l.EncryptedPrivateKey=f;var h=i.define(&quot;DSAPrivateKey&quot;,(function(){this.seq().obj(this.key(&quot;version&quot;).int(),this.key(&quot;p&quot;).int(),this.key(&quot;q&quot;).int(),this.key(&quot;g&quot;).int(),this.key(&quot;pub_key&quot;).int(),this.key(&quot;priv_key&quot;).int())}));l.DSAPrivateKey=h,l.DSAparam=i.define(&quot;DSAparam&quot;,(function(){this.int()}));var m=i.define(&quot;ECPrivateKey&quot;,(function(){this.seq().obj(this.key(&quot;version&quot;).int(),this.key(&quot;privateKey&quot;).octstr(),this.key(&quot;parameters&quot;).optional().explicit(0).use(p),this.key(&quot;publicKey&quot;).optional().explicit(1).bitstr())}));l.ECPrivateKey=m;var p=i.define(&quot;ECParameters&quot;,(function(){this.choice({namedCurve:this.objid()})}));l.signature=i.define(&quot;signature&quot;,(function(){this.seq().obj(this.key(&quot;r&quot;).int(),this.key(&quot;s&quot;).int())}))},{&quot;./certificate&quot;:457,&quot;asn1.js&quot;:170}],457:[function(t,n,l){var i=t(&quot;asn1.js&quot;),a=i.define(&quot;Time&quot;,(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),u=i.define(&quot;AttributeTypeValue&quot;,(function(){this.seq().obj(this.key(&quot;type&quot;).objid(),this.key(&quot;value&quot;).any())})),o=i.define(&quot;AlgorithmIdentifier&quot;,(function(){this.seq().obj(this.key(&quot;algorithm&quot;).objid(),this.key(&quot;parameters&quot;).optional(),this.key(&quot;curve&quot;).objid().optional())})),s=i.define(&quot;SubjectPublicKeyInfo&quot;,(function(){this.seq().obj(this.key(&quot;algorithm&quot;).use(o),this.key(&quot;subjectPublicKey&quot;).bitstr())})),c=i.define(&quot;RelativeDistinguishedName&quot;,(function(){this.setof(u)})),f=i.define(&quot;RDNSequence&quot;,(function(){this.seqof(c)})),h=i.define(&quot;Name&quot;,(function(){this.choice({rdnSequence:this.use(f)})})),m=i.define(&quot;Validity&quot;,(function(){this.seq().obj(this.key(&quot;notBefore&quot;).use(a),this.key(&quot;notAfter&quot;).use(a))})),p=i.define(&quot;Extension&quot;,(function(){this.seq().obj(this.key(&quot;extnID&quot;).objid(),this.key(&quot;critical&quot;).bool().def(!1),this.key(&quot;extnValue&quot;).octstr())})),v=i.define(&quot;TBSCertificate&quot;,(function(){this.seq().obj(this.key(&quot;version&quot;).explicit(0).int().optional(),this.key(&quot;serialNumber&quot;).int(),this.key(&quot;signature&quot;).use(o),this.key(&quot;issuer&quot;).use(h),this.key(&quot;validity&quot;).use(m),this.key(&quot;subject&quot;).use(h),this.key(&quot;subjectPublicKeyInfo&quot;).use(s),this.key(&quot;issuerUniqueID&quot;).implicit(1).bitstr().optional(),this.key(&quot;subjectUniqueID&quot;).implicit(2).bitstr().optional(),this.key(&quot;extensions&quot;).explicit(3).seqof(p).optional())})),g=i.define(&quot;X509Certificate&quot;,(function(){this.seq().obj(this.key(&quot;tbsCertificate&quot;).use(v),this.key(&quot;signatureAlgorithm&quot;).use(o),this.key(&quot;signatureValue&quot;).bitstr())}));n.exports=g},{&quot;asn1.js&quot;:170}],458:[function(t,n,l){var i=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,a=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,u=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,o=t(&quot;evp_bytestokey&quot;),s=t(&quot;browserify-aes&quot;),c=t(&quot;safe-buffer&quot;).Buffer;n.exports=function(f,h){var m,p=f.toString(),v=p.match(i);if(v){var g=&quot;aes&quot;+v[1],b=c.from(v[2],&quot;hex&quot;),x=c.from(v[3].replace(/[\r\n]/g,&quot;&quot;),&quot;base64&quot;),_=o(h,b.slice(0,8),parseInt(v[1],10)).key,C=[],O=s.createDecipheriv(g,_,b);C.push(O.update(x)),C.push(O.final()),m=c.concat(C)}else{var R=p.match(u);m=c.from(R[2].replace(/[\r\n]/g,&quot;&quot;),&quot;base64&quot;)}return{tag:p.match(a)[1],data:m}}},{&quot;browserify-aes&quot;:191,evp_bytestokey:423,&quot;safe-buffer&quot;:494}],459:[function(t,n,l){var i=t(&quot;./asn1&quot;),a=t(&quot;./aesid.json&quot;),u=t(&quot;./fixProc&quot;),o=t(&quot;browserify-aes&quot;),s=t(&quot;pbkdf2&quot;),c=t(&quot;safe-buffer&quot;).Buffer;function f(h){var m;typeof h!=&quot;object&quot;||c.isBuffer(h)||(m=h.passphrase,h=h.key),typeof h==&quot;string&quot;&amp;&amp;(h=c.from(h));var p,v,g=u(h,m),b=g.tag,x=g.data;switch(b){case&quot;CERTIFICATE&quot;:v=i.certificate.decode(x,&quot;der&quot;).tbsCertificate.subjectPublicKeyInfo;case&quot;PUBLIC KEY&quot;:switch(v||(v=i.PublicKey.decode(x,&quot;der&quot;)),p=v.algorithm.algorithm.join(&quot;.&quot;)){case&quot;1.2.840.113549.1.1.1&quot;:return i.RSAPublicKey.decode(v.subjectPublicKey.data,&quot;der&quot;);case&quot;1.2.840.10045.2.1&quot;:return v.subjectPrivateKey=v.subjectPublicKey,{type:&quot;ec&quot;,data:v};case&quot;1.2.840.10040.4.1&quot;:return v.algorithm.params.pub_key=i.DSAparam.decode(v.subjectPublicKey.data,&quot;der&quot;),{type:&quot;dsa&quot;,data:v.algorithm.params};default:throw new Error(&quot;unknown key id &quot;+p)}case&quot;ENCRYPTED PRIVATE KEY&quot;:x=(function(_,C){var O=_.algorithm.decrypt.kde.kdeparams.salt,R=parseInt(_.algorithm.decrypt.kde.kdeparams.iters.toString(),10),H=a[_.algorithm.decrypt.cipher.algo.join(&quot;.&quot;)],L=_.algorithm.decrypt.cipher.iv,q=_.subjectPrivateKey,W=parseInt(H.split(&quot;-&quot;)[1],10)/8,K=s.pbkdf2Sync(C,O,R,W,&quot;sha1&quot;),U=o.createDecipheriv(H,K,L),P=[];return P.push(U.update(q)),P.push(U.final()),c.concat(P)})(x=i.EncryptedPrivateKey.decode(x,&quot;der&quot;),m);case&quot;PRIVATE KEY&quot;:switch(p=(v=i.PrivateKey.decode(x,&quot;der&quot;)).algorithm.algorithm.join(&quot;.&quot;)){case&quot;1.2.840.113549.1.1.1&quot;:return i.RSAPrivateKey.decode(v.subjectPrivateKey,&quot;der&quot;);case&quot;1.2.840.10045.2.1&quot;:return{curve:v.algorithm.curve,privateKey:i.ECPrivateKey.decode(v.subjectPrivateKey,&quot;der&quot;).privateKey};case&quot;1.2.840.10040.4.1&quot;:return v.algorithm.params.priv_key=i.DSAparam.decode(v.subjectPrivateKey,&quot;der&quot;),{type:&quot;dsa&quot;,params:v.algorithm.params};default:throw new Error(&quot;unknown key id &quot;+p)}case&quot;RSA PUBLIC KEY&quot;:return i.RSAPublicKey.decode(x,&quot;der&quot;);case&quot;RSA PRIVATE KEY&quot;:return i.RSAPrivateKey.decode(x,&quot;der&quot;);case&quot;DSA PRIVATE KEY&quot;:return{type:&quot;dsa&quot;,params:i.DSAPrivateKey.decode(x,&quot;der&quot;)};case&quot;EC PRIVATE KEY&quot;:return{curve:(x=i.ECPrivateKey.decode(x,&quot;der&quot;)).parameters.value,privateKey:x.privateKey};default:throw new Error(&quot;unknown key type &quot;+b)}}n.exports=f,f.signature=i.signature},{&quot;./aesid.json&quot;:455,&quot;./asn1&quot;:456,&quot;./fixProc&quot;:458,&quot;browserify-aes&quot;:191,pbkdf2:460,&quot;safe-buffer&quot;:494}],460:[function(t,n,l){l.pbkdf2=t(&quot;./lib/async&quot;),l.pbkdf2Sync=t(&quot;./lib/sync&quot;)},{&quot;./lib/async&quot;:461,&quot;./lib/sync&quot;:464}],461:[function(t,n,l){(function(i){(function(){var a,u,o=t(&quot;safe-buffer&quot;).Buffer,s=t(&quot;./precondition&quot;),c=t(&quot;./default-encoding&quot;),f=t(&quot;./sync&quot;),h=t(&quot;./to-buffer&quot;),m=i.crypto&amp;&amp;i.crypto.subtle,p={sha:&quot;SHA-1&quot;,&quot;sha-1&quot;:&quot;SHA-1&quot;,sha1:&quot;SHA-1&quot;,sha256:&quot;SHA-256&quot;,&quot;sha-256&quot;:&quot;SHA-256&quot;,sha384:&quot;SHA-384&quot;,&quot;sha-384&quot;:&quot;SHA-384&quot;,&quot;sha-512&quot;:&quot;SHA-512&quot;,sha512:&quot;SHA-512&quot;},v=[];function g(){return u||(u=i.process&amp;&amp;i.process.nextTick?i.process.nextTick:i.queueMicrotask?i.queueMicrotask:i.setImmediate?i.setImmediate:i.setTimeout)}function b(x,_,C,O,R){return m.importKey(&quot;raw&quot;,x,{name:&quot;PBKDF2&quot;},!1,[&quot;deriveBits&quot;]).then((function(H){return m.deriveBits({name:&quot;PBKDF2&quot;,salt:_,iterations:C,hash:{name:R}},H,O&lt;&lt;3)})).then((function(H){return o.from(H)}))}n.exports=function(x,_,C,O,R,H){typeof R==&quot;function&quot;&amp;&amp;(H=R,R=void 0);var L=p[(R=R||&quot;sha1&quot;).toLowerCase()];if(L&amp;&amp;typeof i.Promise==&quot;function&quot;){if(s(C,O),x=h(x,c,&quot;Password&quot;),_=h(_,c,&quot;Salt&quot;),typeof H!=&quot;function&quot;)throw new Error(&quot;No callback provided to pbkdf2&quot;);(function(q,W){q.then((function(K){g()((function(){W(null,K)}))}),(function(K){g()((function(){W(K)}))}))})((function(q){if(i.process&amp;&amp;!i.process.browser||!m||!m.importKey||!m.deriveBits)return Promise.resolve(!1);if(v[q]!==void 0)return v[q];var W=b(a=a||o.alloc(8),a,10,128,q).then((function(){return!0})).catch((function(){return!1}));return v[q]=W,W})(L).then((function(q){return q?b(x,_,C,O,L):f(x,_,C,O,R)})),H)}else g()((function(){var q;try{q=f(x,_,C,O,R)}catch(W){return H(W)}H(null,q)}))}}).call(this)}).call(this,typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{&quot;./default-encoding&quot;:462,&quot;./precondition&quot;:463,&quot;./sync&quot;:464,&quot;./to-buffer&quot;:465,&quot;safe-buffer&quot;:494}],462:[function(t,n,l){(function(i,a){(function(){var u;a.process&amp;&amp;a.process.browser?u=&quot;utf-8&quot;:a.process&amp;&amp;a.process.version?u=parseInt(i.version.split(&quot;.&quot;)[0].slice(1),10)&gt;=6?&quot;utf-8&quot;:&quot;binary&quot;:u=&quot;utf-8&quot;,n.exports=u}).call(this)}).call(this,t(&quot;_process&quot;),typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{_process:467}],463:[function(t,n,l){var i=Math.pow(2,30)-1;n.exports=function(a,u){if(typeof a!=&quot;number&quot;)throw new TypeError(&quot;Iterations not a number&quot;);if(a&lt;0)throw new TypeError(&quot;Bad iterations&quot;);if(typeof u!=&quot;number&quot;)throw new TypeError(&quot;Key length not a number&quot;);if(u&lt;0||u&gt;i||u!=u)throw new TypeError(&quot;Bad key length&quot;)}},{}],464:[function(t,n,l){var i=t(&quot;create-hash/md5&quot;),a=t(&quot;ripemd160&quot;),u=t(&quot;sha.js&quot;),o=t(&quot;safe-buffer&quot;).Buffer,s=t(&quot;./precondition&quot;),c=t(&quot;./default-encoding&quot;),f=t(&quot;./to-buffer&quot;),h=o.alloc(128),m={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function p(v,g,b){var x=(function(L){function q(W){return u(L).update(W).digest()}return L===&quot;rmd160&quot;||L===&quot;ripemd160&quot;?function(W){return new a().update(W).digest()}:L===&quot;md5&quot;?i:q})(v),_=v===&quot;sha512&quot;||v===&quot;sha384&quot;?128:64;g.length&gt;_?g=x(g):g.length&lt;_&amp;&amp;(g=o.concat([g,h],_));for(var C=o.allocUnsafe(_+m[v]),O=o.allocUnsafe(_+m[v]),R=0;R&lt;_;R++)C[R]=54^g[R],O[R]=92^g[R];var H=o.allocUnsafe(_+b+4);C.copy(H,0,0,_),this.ipad1=H,this.ipad2=C,this.opad=O,this.alg=v,this.blocksize=_,this.hash=x,this.size=m[v]}p.prototype.run=function(v,g){return v.copy(g,this.blocksize),this.hash(g).copy(this.opad,this.blocksize),this.hash(this.opad)},n.exports=function(v,g,b,x,_){s(b,x);var C=new p(_=_||&quot;sha1&quot;,v=f(v,c,&quot;Password&quot;),(g=f(g,c,&quot;Salt&quot;)).length),O=o.allocUnsafe(x),R=o.allocUnsafe(g.length+4);g.copy(R,0,0,g.length);for(var H=0,L=m[_],q=Math.ceil(x/L),W=1;W&lt;=q;W++){R.writeUInt32BE(W,g.length);for(var K=C.run(R,C.ipad1),U=K,P=1;P&lt;b;P++){U=C.run(U,C.ipad2);for(var D=0;D&lt;L;D++)K[D]^=U[D]}K.copy(O,H),H+=L}return O}},{&quot;./default-encoding&quot;:462,&quot;./precondition&quot;:463,&quot;./to-buffer&quot;:465,&quot;create-hash/md5&quot;:387,ripemd160:493,&quot;safe-buffer&quot;:494,&quot;sha.js&quot;:498}],465:[function(t,n,l){var i=t(&quot;safe-buffer&quot;).Buffer;n.exports=function(a,u,o){if(i.isBuffer(a))return a;if(typeof a==&quot;string&quot;)return i.from(a,u);if(ArrayBuffer.isView(a))return i.from(a.buffer);throw new TypeError(o+&quot; must be a string, a Buffer, a typed array or a DataView&quot;)}},{&quot;safe-buffer&quot;:494}],466:[function(t,n,l){(function(i){(function(){i===void 0||!i.version||i.version.indexOf(&quot;v0.&quot;)===0||i.version.indexOf(&quot;v1.&quot;)===0&amp;&amp;i.version.indexOf(&quot;v1.8.&quot;)!==0?n.exports={nextTick:function(a,u,o,s){if(typeof a!=&quot;function&quot;)throw new TypeError(&#039;&quot;callback&quot; argument must be a function&#039;);var c,f,h=arguments.length;switch(h){case 0:case 1:return i.nextTick(a);case 2:return i.nextTick((function(){a.call(null,u)}));case 3:return i.nextTick((function(){a.call(null,u,o)}));case 4:return i.nextTick((function(){a.call(null,u,o,s)}));default:for(c=new Array(h-1),f=0;f&lt;c.length;)c[f++]=arguments[f];return i.nextTick((function(){a.apply(null,c)}))}}}:n.exports=i}).call(this)}).call(this,t(&quot;_process&quot;))},{_process:467}],467:[function(t,n,l){var i,a,u=n.exports={};function o(){throw new Error(&quot;setTimeout has not been defined&quot;)}function s(){throw new Error(&quot;clearTimeout has not been defined&quot;)}function c(_){if(i===setTimeout)return setTimeout(_,0);if((i===o||!i)&amp;&amp;setTimeout)return i=setTimeout,setTimeout(_,0);try{return i(_,0)}catch{try{return i.call(null,_,0)}catch{return i.call(this,_,0)}}}(function(){try{i=typeof setTimeout==&quot;function&quot;?setTimeout:o}catch{i=o}try{a=typeof clearTimeout==&quot;function&quot;?clearTimeout:s}catch{a=s}})();var f,h=[],m=!1,p=-1;function v(){m&amp;&amp;f&amp;&amp;(m=!1,f.length?h=f.concat(h):p=-1,h.length&amp;&amp;g())}function g(){if(!m){var _=c(v);m=!0;for(var C=h.length;C;){for(f=h,h=[];++p&lt;C;)f&amp;&amp;f[p].run();p=-1,C=h.length}f=null,m=!1,(function(O){if(a===clearTimeout)return clearTimeout(O);if((a===s||!a)&amp;&amp;clearTimeout)return a=clearTimeout,clearTimeout(O);try{a(O)}catch{try{return a.call(null,O)}catch{return a.call(this,O)}}})(_)}}function b(_,C){this.fun=_,this.array=C}function x(){}u.nextTick=function(_){var C=new Array(arguments.length-1);if(arguments.length&gt;1)for(var O=1;O&lt;arguments.length;O++)C[O-1]=arguments[O];h.push(new b(_,C)),h.length!==1||m||c(g)},b.prototype.run=function(){this.fun.apply(null,this.array)},u.title=&quot;browser&quot;,u.browser=!0,u.env={},u.argv=[],u.version=&quot;&quot;,u.versions={},u.on=x,u.addListener=x,u.once=x,u.off=x,u.removeListener=x,u.removeAllListeners=x,u.emit=x,u.prependListener=x,u.prependOnceListener=x,u.listeners=function(_){return[]},u.binding=function(_){throw new Error(&quot;process.binding is not supported&quot;)},u.cwd=function(){return&quot;/&quot;},u.chdir=function(_){throw new Error(&quot;process.chdir is not supported&quot;)},u.umask=function(){return 0}},{}],468:[function(t,n,l){l.publicEncrypt=t(&quot;./publicEncrypt&quot;),l.privateDecrypt=t(&quot;./privateDecrypt&quot;),l.privateEncrypt=function(i,a){return l.publicEncrypt(i,a,!0)},l.publicDecrypt=function(i,a){return l.privateDecrypt(i,a,!0)}},{&quot;./privateDecrypt&quot;:471,&quot;./publicEncrypt&quot;:472}],469:[function(t,n,l){var i=t(&quot;create-hash&quot;),a=t(&quot;safe-buffer&quot;).Buffer;function u(o){var s=a.allocUnsafe(4);return s.writeUInt32BE(o,0),s}n.exports=function(o,s){for(var c,f=a.alloc(0),h=0;f.length&lt;s;)c=u(h++),f=a.concat([f,i(&quot;sha1&quot;).update(o).update(c).digest()]);return f.slice(0,s)}},{&quot;create-hash&quot;:386,&quot;safe-buffer&quot;:494}],470:[function(t,n,l){arguments[4][184][0].apply(l,arguments)},{buffer:188,dup:184}],471:[function(t,n,l){var i=t(&quot;parse-asn1&quot;),a=t(&quot;./mgf&quot;),u=t(&quot;./xor&quot;),o=t(&quot;bn.js&quot;),s=t(&quot;browserify-rsa&quot;),c=t(&quot;create-hash&quot;),f=t(&quot;./withPublic&quot;),h=t(&quot;safe-buffer&quot;).Buffer;n.exports=function(m,p,v){var g;g=m.padding?m.padding:v?1:4;var b,x=i(m),_=x.modulus.byteLength();if(p.length&gt;_||new o(p).cmp(x.modulus)&gt;=0)throw new Error(&quot;decryption error&quot;);b=v?f(new o(p),x):s(p,x);var C=h.alloc(_-b.length);if(b=h.concat([C,b],_),g===4)return(function(O,R){var H=O.modulus.byteLength(),L=c(&quot;sha1&quot;).update(h.alloc(0)).digest(),q=L.length;if(R[0]!==0)throw new Error(&quot;decryption error&quot;);var W=R.slice(1,q+1),K=R.slice(q+1),U=u(W,a(K,q)),P=u(K,a(U,H-q-1));if((function(E,j){E=h.from(E),j=h.from(j);var k=0,S=E.length;E.length!==j.length&amp;&amp;(k++,S=Math.min(E.length,j.length));for(var N=-1;++N&lt;S;)k+=E[N]^j[N];return k})(L,P.slice(0,q)))throw new Error(&quot;decryption error&quot;);for(var D=q;P[D]===0;)D++;if(P[D++]!==1)throw new Error(&quot;decryption error&quot;);return P.slice(D)})(x,b);if(g===1)return(function(O,R,H){for(var L=R.slice(0,2),q=2,W=0;R[q++]!==0;)if(q&gt;=R.length){W++;break}var K=R.slice(2,q-1);if((L.toString(&quot;hex&quot;)!==&quot;0002&quot;&amp;&amp;!H||L.toString(&quot;hex&quot;)!==&quot;0001&quot;&amp;&amp;H)&amp;&amp;W++,K.length&lt;8&amp;&amp;W++,W)throw new Error(&quot;decryption error&quot;);return R.slice(q)})(0,b,v);if(g===3)return b;throw new Error(&quot;unknown padding&quot;)}},{&quot;./mgf&quot;:469,&quot;./withPublic&quot;:473,&quot;./xor&quot;:474,&quot;bn.js&quot;:470,&quot;browserify-rsa&quot;:209,&quot;create-hash&quot;:386,&quot;parse-asn1&quot;:459,&quot;safe-buffer&quot;:494}],472:[function(t,n,l){var i=t(&quot;parse-asn1&quot;),a=t(&quot;randombytes&quot;),u=t(&quot;create-hash&quot;),o=t(&quot;./mgf&quot;),s=t(&quot;./xor&quot;),c=t(&quot;bn.js&quot;),f=t(&quot;./withPublic&quot;),h=t(&quot;browserify-rsa&quot;),m=t(&quot;safe-buffer&quot;).Buffer;n.exports=function(p,v,g){var b;b=p.padding?p.padding:g?1:4;var x,_=i(p);if(b===4)x=(function(C,O){var R=C.modulus.byteLength(),H=O.length,L=u(&quot;sha1&quot;).update(m.alloc(0)).digest(),q=L.length,W=2*q;if(H&gt;R-W-2)throw new Error(&quot;message too long&quot;);var K=m.alloc(R-H-W-2),U=R-q-1,P=a(q),D=s(m.concat([L,K,m.alloc(1,1),O],U),o(P,U)),E=s(P,o(D,q));return new c(m.concat([m.alloc(1),E,D],R))})(_,v);else if(b===1)x=(function(C,O,R){var H,L=O.length,q=C.modulus.byteLength();if(L&gt;q-11)throw new Error(&quot;message too long&quot;);return H=R?m.alloc(q-L-3,255):(function(W){for(var K,U=m.allocUnsafe(W),P=0,D=a(2*W),E=0;P&lt;W;)E===D.length&amp;&amp;(D=a(2*W),E=0),(K=D[E++])&amp;&amp;(U[P++]=K);return U})(q-L-3),new c(m.concat([m.from([0,R?1:2]),H,m.alloc(1),O],q))})(_,v,g);else{if(b!==3)throw new Error(&quot;unknown padding&quot;);if((x=new c(v)).cmp(_.modulus)&gt;=0)throw new Error(&quot;data too long for modulus&quot;)}return g?h(x,_):f(x,_)}},{&quot;./mgf&quot;:469,&quot;./withPublic&quot;:473,&quot;./xor&quot;:474,&quot;bn.js&quot;:470,&quot;browserify-rsa&quot;:209,&quot;create-hash&quot;:386,&quot;parse-asn1&quot;:459,randombytes:475,&quot;safe-buffer&quot;:494}],473:[function(t,n,l){var i=t(&quot;bn.js&quot;),a=t(&quot;safe-buffer&quot;).Buffer;n.exports=function(u,o){return a.from(u.toRed(i.mont(o.modulus)).redPow(new i(o.publicExponent)).fromRed().toArray())}},{&quot;bn.js&quot;:470,&quot;safe-buffer&quot;:494}],474:[function(t,n,l){n.exports=function(i,a){for(var u=i.length,o=-1;++o&lt;u;)i[o]^=a[o];return i}},{}],475:[function(t,n,l){(function(i,a){(function(){var u=t(&quot;safe-buffer&quot;).Buffer,o=a.crypto||a.msCrypto;o&amp;&amp;o.getRandomValues?n.exports=function(s,c){if(s&gt;4294967295)throw new RangeError(&quot;requested too many random bytes&quot;);var f=u.allocUnsafe(s);if(s&gt;0)if(s&gt;65536)for(var h=0;h&lt;s;h+=65536)o.getRandomValues(f.slice(h,h+65536));else o.getRandomValues(f);return typeof c==&quot;function&quot;?i.nextTick((function(){c(null,f)})):f}:n.exports=function(){throw new Error(`Secure random number generation is not supported by this browser.
Use Chrome, Firefox or Internet Explorer 11`)}}).call(this)}).call(this,t(&quot;_process&quot;),typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{_process:467,&quot;safe-buffer&quot;:494}],476:[function(t,n,l){(function(i,a){(function(){function u(){throw new Error(`secure random number generation not supported by this browser
use chrome, FireFox or Internet Explorer 11`)}var o=t(&quot;safe-buffer&quot;),s=t(&quot;randombytes&quot;),c=o.Buffer,f=o.kMaxLength,h=a.crypto||a.msCrypto,m=Math.pow(2,32)-1;function p(b,x){if(typeof b!=&quot;number&quot;||b!=b)throw new TypeError(&quot;offset must be a number&quot;);if(b&gt;m||b&lt;0)throw new TypeError(&quot;offset must be a uint32&quot;);if(b&gt;f||b&gt;x)throw new RangeError(&quot;offset out of range&quot;)}function v(b,x,_){if(typeof b!=&quot;number&quot;||b!=b)throw new TypeError(&quot;size must be a number&quot;);if(b&gt;m||b&lt;0)throw new TypeError(&quot;size must be a uint32&quot;);if(b+x&gt;_||b&gt;f)throw new RangeError(&quot;buffer too small&quot;)}function g(b,x,_,C){if(i.browser){var O=b.buffer,R=new Uint8Array(O,x,_);return h.getRandomValues(R),C?void i.nextTick((function(){C(null,b)})):b}if(!C)return s(_).copy(b,x),b;s(_,(function(H,L){if(H)return C(H);L.copy(b,x),C(null,b)}))}h&amp;&amp;h.getRandomValues||!i.browser?(l.randomFill=function(b,x,_,C){if(!(c.isBuffer(b)||b instanceof a.Uint8Array))throw new TypeError(&#039;&quot;buf&quot; argument must be a Buffer or Uint8Array&#039;);if(typeof x==&quot;function&quot;)C=x,x=0,_=b.length;else if(typeof _==&quot;function&quot;)C=_,_=b.length-x;else if(typeof C!=&quot;function&quot;)throw new TypeError(&#039;&quot;cb&quot; argument must be a function&#039;);return p(x,b.length),v(_,x,b.length),g(b,x,_,C)},l.randomFillSync=function(b,x,_){if(x===void 0&amp;&amp;(x=0),!(c.isBuffer(b)||b instanceof a.Uint8Array))throw new TypeError(&#039;&quot;buf&quot; argument must be a Buffer or Uint8Array&#039;);return p(x,b.length),_===void 0&amp;&amp;(_=b.length-x),v(_,x,b.length),g(b,x,_)}):(l.randomFill=u,l.randomFillSync=u)}).call(this)}).call(this,t(&quot;_process&quot;),typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{_process:467,randombytes:475,&quot;safe-buffer&quot;:494}],477:[function(t,n,l){var i={};function a(o,s,c){c||(c=Error);var f=(function(h){var m,p;function v(g,b,x){return h.call(this,(function(_,C,O){return typeof s==&quot;string&quot;?s:s(_,C,O)})(g,b,x))||this}return p=h,(m=v).prototype=Object.create(p.prototype),m.prototype.constructor=m,m.__proto__=p,v})(c);f.prototype.name=c.name,f.prototype.code=o,i[o]=f}function u(o,s){if(Array.isArray(o)){var c=o.length;return o=o.map((function(f){return String(f)})),c&gt;2?&quot;one of &quot;.concat(s,&quot; &quot;).concat(o.slice(0,c-1).join(&quot;, &quot;),&quot;, or &quot;)+o[c-1]:c===2?&quot;one of &quot;.concat(s,&quot; &quot;).concat(o[0],&quot; or &quot;).concat(o[1]):&quot;of &quot;.concat(s,&quot; &quot;).concat(o[0])}return&quot;of &quot;.concat(s,&quot; &quot;).concat(String(o))}a(&quot;ERR_INVALID_OPT_VALUE&quot;,(function(o,s){return&#039;The value &quot;&#039;+s+&#039;&quot; is invalid for option &quot;&#039;+o+&#039;&quot;&#039;}),TypeError),a(&quot;ERR_INVALID_ARG_TYPE&quot;,(function(o,s,c){var f,h,m;if(typeof s==&quot;string&quot;&amp;&amp;(h=&quot;not &quot;,s.substr(0,h.length)===h)?(f=&quot;must not be&quot;,s=s.replace(/^not /,&quot;&quot;)):f=&quot;must be&quot;,(function(v,g,b){return(b===void 0||b&gt;v.length)&amp;&amp;(b=v.length),v.substring(b-g.length,b)===g})(o,&quot; argument&quot;))m=&quot;The &quot;.concat(o,&quot; &quot;).concat(f,&quot; &quot;).concat(u(s,&quot;type&quot;));else{var p=(function(v,g,b){return typeof b!=&quot;number&quot;&amp;&amp;(b=0),!(b+g.length&gt;v.length)&amp;&amp;v.indexOf(g,b)!==-1})(o,&quot;.&quot;)?&quot;property&quot;:&quot;argument&quot;;m=&#039;The &quot;&#039;.concat(o,&#039;&quot; &#039;).concat(p,&quot; &quot;).concat(f,&quot; &quot;).concat(u(s,&quot;type&quot;))}return m+=&quot;. Received type &quot;.concat(typeof c)}),TypeError),a(&quot;ERR_STREAM_PUSH_AFTER_EOF&quot;,&quot;stream.push() after EOF&quot;),a(&quot;ERR_METHOD_NOT_IMPLEMENTED&quot;,(function(o){return&quot;The &quot;+o+&quot; method is not implemented&quot;})),a(&quot;ERR_STREAM_PREMATURE_CLOSE&quot;,&quot;Premature close&quot;),a(&quot;ERR_STREAM_DESTROYED&quot;,(function(o){return&quot;Cannot call &quot;+o+&quot; after a stream was destroyed&quot;})),a(&quot;ERR_MULTIPLE_CALLBACK&quot;,&quot;Callback called multiple times&quot;),a(&quot;ERR_STREAM_CANNOT_PIPE&quot;,&quot;Cannot pipe, not readable&quot;),a(&quot;ERR_STREAM_WRITE_AFTER_END&quot;,&quot;write after end&quot;),a(&quot;ERR_STREAM_NULL_VALUES&quot;,&quot;May not write null values to stream&quot;,TypeError),a(&quot;ERR_UNKNOWN_ENCODING&quot;,(function(o){return&quot;Unknown encoding: &quot;+o}),TypeError),a(&quot;ERR_STREAM_UNSHIFT_AFTER_END_EVENT&quot;,&quot;stream.unshift() after end event&quot;),n.exports.codes=i},{}],478:[function(t,n,l){(function(i){(function(){var a=Object.keys||function(v){var g=[];for(var b in v)g.push(b);return g};n.exports=h;var u=t(&quot;./_stream_readable&quot;),o=t(&quot;./_stream_writable&quot;);t(&quot;inherits&quot;)(h,u);for(var s=a(o.prototype),c=0;c&lt;s.length;c++){var f=s[c];h.prototype[f]||(h.prototype[f]=o.prototype[f])}function h(v){if(!(this instanceof h))return new h(v);u.call(this,v),o.call(this,v),this.allowHalfOpen=!0,v&amp;&amp;(v.readable===!1&amp;&amp;(this.readable=!1),v.writable===!1&amp;&amp;(this.writable=!1),v.allowHalfOpen===!1&amp;&amp;(this.allowHalfOpen=!1,this.once(&quot;end&quot;,m)))}function m(){this._writableState.ended||i.nextTick(p,this)}function p(v){v.end()}Object.defineProperty(h.prototype,&quot;writableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(h.prototype,&quot;writableBuffer&quot;,{enumerable:!1,get:function(){return this._writableState&amp;&amp;this._writableState.getBuffer()}}),Object.defineProperty(h.prototype,&quot;writableLength&quot;,{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(h.prototype,&quot;destroyed&quot;,{enumerable:!1,get:function(){return this._readableState!==void 0&amp;&amp;this._writableState!==void 0&amp;&amp;this._readableState.destroyed&amp;&amp;this._writableState.destroyed},set:function(v){this._readableState!==void 0&amp;&amp;this._writableState!==void 0&amp;&amp;(this._readableState.destroyed=v,this._writableState.destroyed=v)}})}).call(this)}).call(this,t(&quot;_process&quot;))},{&quot;./_stream_readable&quot;:480,&quot;./_stream_writable&quot;:482,_process:467,inherits:440}],479:[function(t,n,l){n.exports=a;var i=t(&quot;./_stream_transform&quot;);function a(u){if(!(this instanceof a))return new a(u);i.call(this,u)}t(&quot;inherits&quot;)(a,i),a.prototype._transform=function(u,o,s){s(null,u)}},{&quot;./_stream_transform&quot;:481,inherits:440}],480:[function(t,n,l){(function(i,a){(function(){var u;n.exports=U,U.ReadableState=K,t(&quot;events&quot;).EventEmitter;var o=function(z,T){return z.listeners(T).length},s=t(&quot;./internal/streams/stream&quot;),c=t(&quot;buffer&quot;).Buffer,f=(a!==void 0?a:typeof window&lt;&quot;u&quot;?window:typeof self&lt;&quot;u&quot;?self:{}).Uint8Array||function(){},h,m=t(&quot;util&quot;);h=m&amp;&amp;m.debuglog?m.debuglog(&quot;stream&quot;):function(){};var p,v,g,b=t(&quot;./internal/streams/buffer_list&quot;),x=t(&quot;./internal/streams/destroy&quot;),_=t(&quot;./internal/streams/state&quot;).getHighWaterMark,C=t(&quot;../errors&quot;).codes,O=C.ERR_INVALID_ARG_TYPE,R=C.ERR_STREAM_PUSH_AFTER_EOF,H=C.ERR_METHOD_NOT_IMPLEMENTED,L=C.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;t(&quot;inherits&quot;)(U,s);var q=x.errorOrDestroy,W=[&quot;error&quot;,&quot;close&quot;,&quot;destroy&quot;,&quot;pause&quot;,&quot;resume&quot;];function K(z,T,X){u=u||t(&quot;./_stream_duplex&quot;),z=z||{},typeof X!=&quot;boolean&quot;&amp;&amp;(X=T instanceof u),this.objectMode=!!z.objectMode,X&amp;&amp;(this.objectMode=this.objectMode||!!z.readableObjectMode),this.highWaterMark=_(this,z,&quot;readableHighWaterMark&quot;,X),this.buffer=new b,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=z.emitClose!==!1,this.autoDestroy=!!z.autoDestroy,this.destroyed=!1,this.defaultEncoding=z.defaultEncoding||&quot;utf8&quot;,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,z.encoding&amp;&amp;(p||(p=t(&quot;string_decoder/&quot;).StringDecoder),this.decoder=new p(z.encoding),this.encoding=z.encoding)}function U(z){if(u=u||t(&quot;./_stream_duplex&quot;),!(this instanceof U))return new U(z);var T=this instanceof u;this._readableState=new K(z,this,T),this.readable=!0,z&amp;&amp;(typeof z.read==&quot;function&quot;&amp;&amp;(this._read=z.read),typeof z.destroy==&quot;function&quot;&amp;&amp;(this._destroy=z.destroy)),s.call(this)}function P(z,T,X,re,ne){h(&quot;readableAddChunk&quot;,T);var Q,te=z._readableState;if(T===null)te.reading=!1,(function(de,oe){if(h(&quot;onEofChunk&quot;),!oe.ended){if(oe.decoder){var se=oe.decoder.end();se&amp;&amp;se.length&amp;&amp;(oe.buffer.push(se),oe.length+=oe.objectMode?1:se.length)}oe.ended=!0,oe.sync?j(de):(oe.needReadable=!1,oe.emittedReadable||(oe.emittedReadable=!0,k(de)))}})(z,te);else if(ne||(Q=(function(de,oe){var se;fe=oe,c.isBuffer(fe)||fe instanceof f||typeof oe==&quot;string&quot;||oe===void 0||de.objectMode||(se=new O(&quot;chunk&quot;,[&quot;string&quot;,&quot;Buffer&quot;,&quot;Uint8Array&quot;],oe));var fe;return se})(te,T)),Q)q(z,Q);else if(te.objectMode||T&amp;&amp;T.length&gt;0)if(typeof T==&quot;string&quot;||te.objectMode||Object.getPrototypeOf(T)===c.prototype||(T=(function(de){return c.from(de)})(T)),re)te.endEmitted?q(z,new L):D(z,te,T,!0);else if(te.ended)q(z,new R);else{if(te.destroyed)return!1;te.reading=!1,te.decoder&amp;&amp;!X?(T=te.decoder.write(T),te.objectMode||T.length!==0?D(z,te,T,!1):S(z,te)):D(z,te,T,!1)}else re||(te.reading=!1,S(z,te));return!te.ended&amp;&amp;(te.length&lt;te.highWaterMark||te.length===0)}function D(z,T,X,re){T.flowing&amp;&amp;T.length===0&amp;&amp;!T.sync?(T.awaitDrain=0,z.emit(&quot;data&quot;,X)):(T.length+=T.objectMode?1:X.length,re?T.buffer.unshift(X):T.buffer.push(X),T.needReadable&amp;&amp;j(z)),S(z,T)}Object.defineProperty(U.prototype,&quot;destroyed&quot;,{enumerable:!1,get:function(){return this._readableState!==void 0&amp;&amp;this._readableState.destroyed},set:function(z){this._readableState&amp;&amp;(this._readableState.destroyed=z)}}),U.prototype.destroy=x.destroy,U.prototype._undestroy=x.undestroy,U.prototype._destroy=function(z,T){T(z)},U.prototype.push=function(z,T){var X,re=this._readableState;return re.objectMode?X=!0:typeof z==&quot;string&quot;&amp;&amp;((T=T||re.defaultEncoding)!==re.encoding&amp;&amp;(z=c.from(z,T),T=&quot;&quot;),X=!0),P(this,z,T,!1,X)},U.prototype.unshift=function(z){return P(this,z,null,!0,!1)},U.prototype.isPaused=function(){return this._readableState.flowing===!1},U.prototype.setEncoding=function(z){p||(p=t(&quot;string_decoder/&quot;).StringDecoder);var T=new p(z);this._readableState.decoder=T,this._readableState.encoding=this._readableState.decoder.encoding;for(var X=this._readableState.buffer.head,re=&quot;&quot;;X!==null;)re+=T.write(X.data),X=X.next;return this._readableState.buffer.clear(),re!==&quot;&quot;&amp;&amp;this._readableState.buffer.push(re),this._readableState.length=re.length,this};function E(z,T){return z&lt;=0||T.length===0&amp;&amp;T.ended?0:T.objectMode?1:z!=z?T.flowing&amp;&amp;T.length?T.buffer.head.data.length:T.length:(z&gt;T.highWaterMark&amp;&amp;(T.highWaterMark=(function(X){return X&gt;=1073741824?X=1073741824:(X--,X|=X&gt;&gt;&gt;1,X|=X&gt;&gt;&gt;2,X|=X&gt;&gt;&gt;4,X|=X&gt;&gt;&gt;8,X|=X&gt;&gt;&gt;16,X++),X})(z)),z&lt;=T.length?z:T.ended?T.length:(T.needReadable=!0,0))}function j(z){var T=z._readableState;h(&quot;emitReadable&quot;,T.needReadable,T.emittedReadable),T.needReadable=!1,T.emittedReadable||(h(&quot;emitReadable&quot;,T.flowing),T.emittedReadable=!0,i.nextTick(k,z))}function k(z){var T=z._readableState;h(&quot;emitReadable_&quot;,T.destroyed,T.length,T.ended),T.destroyed||!T.length&amp;&amp;!T.ended||(z.emit(&quot;readable&quot;),T.emittedReadable=!1),T.needReadable=!T.flowing&amp;&amp;!T.ended&amp;&amp;T.length&lt;=T.highWaterMark,Y(z)}function S(z,T){T.readingMore||(T.readingMore=!0,i.nextTick(N,z,T))}function N(z,T){for(;!T.reading&amp;&amp;!T.ended&amp;&amp;(T.length&lt;T.highWaterMark||T.flowing&amp;&amp;T.length===0);){var X=T.length;if(h(&quot;maybeReadMore read 0&quot;),z.read(0),X===T.length)break}T.readingMore=!1}function M(z){var T=z._readableState;T.readableListening=z.listenerCount(&quot;readable&quot;)&gt;0,T.resumeScheduled&amp;&amp;!T.paused?T.flowing=!0:z.listenerCount(&quot;data&quot;)&gt;0&amp;&amp;z.resume()}function I(z){h(&quot;readable nexttick read 0&quot;),z.read(0)}function B(z,T){h(&quot;resume&quot;,T.reading),T.reading||z.read(0),T.resumeScheduled=!1,z.emit(&quot;resume&quot;),Y(z),T.flowing&amp;&amp;!T.reading&amp;&amp;z.read(0)}function Y(z){var T=z._readableState;for(h(&quot;flow&quot;,T.flowing);T.flowing&amp;&amp;z.read()!==null;);}function Z(z,T){return T.length===0?null:(T.objectMode?X=T.buffer.shift():!z||z&gt;=T.length?(X=T.decoder?T.buffer.join(&quot;&quot;):T.buffer.length===1?T.buffer.first():T.buffer.concat(T.length),T.buffer.clear()):X=T.buffer.consume(z,T.decoder),X);var X}function ie(z){var T=z._readableState;h(&quot;endReadable&quot;,T.endEmitted),T.endEmitted||(T.ended=!0,i.nextTick($,T,z))}function $(z,T){if(h(&quot;endReadableNT&quot;,z.endEmitted,z.length),!z.endEmitted&amp;&amp;z.length===0&amp;&amp;(z.endEmitted=!0,T.readable=!1,T.emit(&quot;end&quot;),z.autoDestroy)){var X=T._writableState;(!X||X.autoDestroy&amp;&amp;X.finished)&amp;&amp;T.destroy()}}function ee(z,T){for(var X=0,re=z.length;X&lt;re;X++)if(z[X]===T)return X;return-1}U.prototype.read=function(z){h(&quot;read&quot;,z),z=parseInt(z,10);var T=this._readableState,X=z;if(z!==0&amp;&amp;(T.emittedReadable=!1),z===0&amp;&amp;T.needReadable&amp;&amp;((T.highWaterMark!==0?T.length&gt;=T.highWaterMark:T.length&gt;0)||T.ended))return h(&quot;read: emitReadable&quot;,T.length,T.ended),T.length===0&amp;&amp;T.ended?ie(this):j(this),null;if((z=E(z,T))===0&amp;&amp;T.ended)return T.length===0&amp;&amp;ie(this),null;var re,ne=T.needReadable;return h(&quot;need readable&quot;,ne),(T.length===0||T.length-z&lt;T.highWaterMark)&amp;&amp;h(&quot;length less than watermark&quot;,ne=!0),T.ended||T.reading?h(&quot;reading or ended&quot;,ne=!1):ne&amp;&amp;(h(&quot;do read&quot;),T.reading=!0,T.sync=!0,T.length===0&amp;&amp;(T.needReadable=!0),this._read(T.highWaterMark),T.sync=!1,T.reading||(z=E(X,T))),(re=z&gt;0?Z(z,T):null)===null?(T.needReadable=T.length&lt;=T.highWaterMark,z=0):(T.length-=z,T.awaitDrain=0),T.length===0&amp;&amp;(T.ended||(T.needReadable=!0),X!==z&amp;&amp;T.ended&amp;&amp;ie(this)),re!==null&amp;&amp;this.emit(&quot;data&quot;,re),re},U.prototype._read=function(z){q(this,new H(&quot;_read()&quot;))},U.prototype.pipe=function(z,T){var X=this,re=this._readableState;switch(re.pipesCount){case 0:re.pipes=z;break;case 1:re.pipes=[re.pipes,z];break;default:re.pipes.push(z)}re.pipesCount+=1,h(&quot;pipe count=%d opts=%j&quot;,re.pipesCount,T);var ne=(!T||T.end!==!1)&amp;&amp;z!==i.stdout&amp;&amp;z!==i.stderr?te:ge;function Q(ye,pe){h(&quot;onunpipe&quot;),ye===X&amp;&amp;pe&amp;&amp;pe.hasUnpiped===!1&amp;&amp;(pe.hasUnpiped=!0,h(&quot;cleanup&quot;),z.removeListener(&quot;close&quot;,he),z.removeListener(&quot;finish&quot;,ce),z.removeListener(&quot;drain&quot;,de),z.removeListener(&quot;error&quot;,fe),z.removeListener(&quot;unpipe&quot;,Q),X.removeListener(&quot;end&quot;,te),X.removeListener(&quot;end&quot;,ge),X.removeListener(&quot;data&quot;,se),oe=!0,!re.awaitDrain||z._writableState&amp;&amp;!z._writableState.needDrain||de())}function te(){h(&quot;onend&quot;),z.end()}re.endEmitted?i.nextTick(ne):X.once(&quot;end&quot;,ne),z.on(&quot;unpipe&quot;,Q);var de=(function(ye){return function(){var pe=ye._readableState;h(&quot;pipeOnDrain&quot;,pe.awaitDrain),pe.awaitDrain&amp;&amp;pe.awaitDrain--,pe.awaitDrain===0&amp;&amp;o(ye,&quot;data&quot;)&amp;&amp;(pe.flowing=!0,Y(ye))}})(X);z.on(&quot;drain&quot;,de);var oe=!1;function se(ye){h(&quot;ondata&quot;);var pe=z.write(ye);h(&quot;dest.write&quot;,pe),pe===!1&amp;&amp;((re.pipesCount===1&amp;&amp;re.pipes===z||re.pipesCount&gt;1&amp;&amp;ee(re.pipes,z)!==-1)&amp;&amp;!oe&amp;&amp;(h(&quot;false write response, pause&quot;,re.awaitDrain),re.awaitDrain++),X.pause())}function fe(ye){h(&quot;onerror&quot;,ye),ge(),z.removeListener(&quot;error&quot;,fe),o(z,&quot;error&quot;)===0&amp;&amp;q(z,ye)}function he(){z.removeListener(&quot;finish&quot;,ce),ge()}function ce(){h(&quot;onfinish&quot;),z.removeListener(&quot;close&quot;,he),ge()}function ge(){h(&quot;unpipe&quot;),X.unpipe(z)}return X.on(&quot;data&quot;,se),(function(ye,pe,le){if(typeof ye.prependListener==&quot;function&quot;)return ye.prependListener(pe,le);ye._events&amp;&amp;ye._events[pe]?Array.isArray(ye._events[pe])?ye._events[pe].unshift(le):ye._events[pe]=[le,ye._events[pe]]:ye.on(pe,le)})(z,&quot;error&quot;,fe),z.once(&quot;close&quot;,he),z.once(&quot;finish&quot;,ce),z.emit(&quot;pipe&quot;,X),re.flowing||(h(&quot;pipe resume&quot;),X.resume()),z},U.prototype.unpipe=function(z){var T=this._readableState,X={hasUnpiped:!1};if(T.pipesCount===0)return this;if(T.pipesCount===1)return z&amp;&amp;z!==T.pipes||(z||(z=T.pipes),T.pipes=null,T.pipesCount=0,T.flowing=!1,z&amp;&amp;z.emit(&quot;unpipe&quot;,this,X)),this;if(!z){var re=T.pipes,ne=T.pipesCount;T.pipes=null,T.pipesCount=0,T.flowing=!1;for(var Q=0;Q&lt;ne;Q++)re[Q].emit(&quot;unpipe&quot;,this,{hasUnpiped:!1});return this}var te=ee(T.pipes,z);return te===-1||(T.pipes.splice(te,1),T.pipesCount-=1,T.pipesCount===1&amp;&amp;(T.pipes=T.pipes[0]),z.emit(&quot;unpipe&quot;,this,X)),this},U.prototype.on=function(z,T){var X=s.prototype.on.call(this,z,T),re=this._readableState;return z===&quot;data&quot;?(re.readableListening=this.listenerCount(&quot;readable&quot;)&gt;0,re.flowing!==!1&amp;&amp;this.resume()):z===&quot;readable&quot;&amp;&amp;(re.endEmitted||re.readableListening||(re.readableListening=re.needReadable=!0,re.flowing=!1,re.emittedReadable=!1,h(&quot;on readable&quot;,re.length,re.reading),re.length?j(this):re.reading||i.nextTick(I,this))),X},U.prototype.addListener=U.prototype.on,U.prototype.removeListener=function(z,T){var X=s.prototype.removeListener.call(this,z,T);return z===&quot;readable&quot;&amp;&amp;i.nextTick(M,this),X},U.prototype.removeAllListeners=function(z){var T=s.prototype.removeAllListeners.apply(this,arguments);return z!==&quot;readable&quot;&amp;&amp;z!==void 0||i.nextTick(M,this),T},U.prototype.resume=function(){var z=this._readableState;return z.flowing||(h(&quot;resume&quot;),z.flowing=!z.readableListening,(function(T,X){X.resumeScheduled||(X.resumeScheduled=!0,i.nextTick(B,T,X))})(this,z)),z.paused=!1,this},U.prototype.pause=function(){return h(&quot;call pause flowing=%j&quot;,this._readableState.flowing),this._readableState.flowing!==!1&amp;&amp;(h(&quot;pause&quot;),this._readableState.flowing=!1,this.emit(&quot;pause&quot;)),this._readableState.paused=!0,this},U.prototype.wrap=function(z){var T=this,X=this._readableState,re=!1;for(var ne in z.on(&quot;end&quot;,(function(){if(h(&quot;wrapped end&quot;),X.decoder&amp;&amp;!X.ended){var te=X.decoder.end();te&amp;&amp;te.length&amp;&amp;T.push(te)}T.push(null)})),z.on(&quot;data&quot;,(function(te){h(&quot;wrapped data&quot;),X.decoder&amp;&amp;(te=X.decoder.write(te)),X.objectMode&amp;&amp;te==null||(X.objectMode||te&amp;&amp;te.length)&amp;&amp;(T.push(te)||(re=!0,z.pause()))})),z)this[ne]===void 0&amp;&amp;typeof z[ne]==&quot;function&quot;&amp;&amp;(this[ne]=(function(te){return function(){return z[te].apply(z,arguments)}})(ne));for(var Q=0;Q&lt;W.length;Q++)z.on(W[Q],this.emit.bind(this,W[Q]));return this._read=function(te){h(&quot;wrapped _read&quot;,te),re&amp;&amp;(re=!1,z.resume())},this},typeof Symbol==&quot;function&quot;&amp;&amp;(U.prototype[Symbol.asyncIterator]=function(){return v===void 0&amp;&amp;(v=t(&quot;./internal/streams/async_iterator&quot;)),v(this)}),Object.defineProperty(U.prototype,&quot;readableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(U.prototype,&quot;readableBuffer&quot;,{enumerable:!1,get:function(){return this._readableState&amp;&amp;this._readableState.buffer}}),Object.defineProperty(U.prototype,&quot;readableFlowing&quot;,{enumerable:!1,get:function(){return this._readableState.flowing},set:function(z){this._readableState&amp;&amp;(this._readableState.flowing=z)}}),U._fromList=Z,Object.defineProperty(U.prototype,&quot;readableLength&quot;,{enumerable:!1,get:function(){return this._readableState.length}}),typeof Symbol==&quot;function&quot;&amp;&amp;(U.from=function(z,T){return g===void 0&amp;&amp;(g=t(&quot;./internal/streams/from&quot;)),g(U,z,T)})}).call(this)}).call(this,t(&quot;_process&quot;),typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{&quot;../errors&quot;:477,&quot;./_stream_duplex&quot;:478,&quot;./internal/streams/async_iterator&quot;:483,&quot;./internal/streams/buffer_list&quot;:484,&quot;./internal/streams/destroy&quot;:485,&quot;./internal/streams/from&quot;:487,&quot;./internal/streams/state&quot;:489,&quot;./internal/streams/stream&quot;:490,_process:467,buffer:220,events:422,inherits:440,&quot;string_decoder/&quot;:522,util:188}],481:[function(t,n,l){n.exports=h;var i=t(&quot;../errors&quot;).codes,a=i.ERR_METHOD_NOT_IMPLEMENTED,u=i.ERR_MULTIPLE_CALLBACK,o=i.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=i.ERR_TRANSFORM_WITH_LENGTH_0,c=t(&quot;./_stream_duplex&quot;);function f(v,g){var b=this._transformState;b.transforming=!1;var x=b.writecb;if(x===null)return this.emit(&quot;error&quot;,new u);b.writechunk=null,b.writecb=null,g!=null&amp;&amp;this.push(g),x(v);var _=this._readableState;_.reading=!1,(_.needReadable||_.length&lt;_.highWaterMark)&amp;&amp;this._read(_.highWaterMark)}function h(v){if(!(this instanceof h))return new h(v);c.call(this,v),this._transformState={afterTransform:f.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,v&amp;&amp;(typeof v.transform==&quot;function&quot;&amp;&amp;(this._transform=v.transform),typeof v.flush==&quot;function&quot;&amp;&amp;(this._flush=v.flush)),this.on(&quot;prefinish&quot;,m)}function m(){var v=this;typeof this._flush!=&quot;function&quot;||this._readableState.destroyed?p(this,null,null):this._flush((function(g,b){p(v,g,b)}))}function p(v,g,b){if(g)return v.emit(&quot;error&quot;,g);if(b!=null&amp;&amp;v.push(b),v._writableState.length)throw new s;if(v._transformState.transforming)throw new o;return v.push(null)}t(&quot;inherits&quot;)(h,c),h.prototype.push=function(v,g){return this._transformState.needTransform=!1,c.prototype.push.call(this,v,g)},h.prototype._transform=function(v,g,b){b(new a(&quot;_transform()&quot;))},h.prototype._write=function(v,g,b){var x=this._transformState;if(x.writecb=b,x.writechunk=v,x.writeencoding=g,!x.transforming){var _=this._readableState;(x.needTransform||_.needReadable||_.length&lt;_.highWaterMark)&amp;&amp;this._read(_.highWaterMark)}},h.prototype._read=function(v){var g=this._transformState;g.writechunk===null||g.transforming?g.needTransform=!0:(g.transforming=!0,this._transform(g.writechunk,g.writeencoding,g.afterTransform))},h.prototype._destroy=function(v,g){c.prototype._destroy.call(this,v,(function(b){g(b)}))}},{&quot;../errors&quot;:477,&quot;./_stream_duplex&quot;:478,inherits:440}],482:[function(t,n,l){(function(i,a){(function(){function u(N){var M=this;this.next=null,this.entry=null,this.finish=function(){(function(I,B,Y){var Z=I.entry;for(I.entry=null;Z;){var ie=Z.callback;B.pendingcb--,ie(Y),Z=Z.next}B.corkedRequestsFree.next=I})(M,N)}}var o;n.exports=U,U.WritableState=K;var s={deprecate:t(&quot;util-deprecate&quot;)},c=t(&quot;./internal/streams/stream&quot;),f=t(&quot;buffer&quot;).Buffer,h=(a!==void 0?a:typeof window&lt;&quot;u&quot;?window:typeof self&lt;&quot;u&quot;?self:{}).Uint8Array||function(){},m,p=t(&quot;./internal/streams/destroy&quot;),v=t(&quot;./internal/streams/state&quot;).getHighWaterMark,g=t(&quot;../errors&quot;).codes,b=g.ERR_INVALID_ARG_TYPE,x=g.ERR_METHOD_NOT_IMPLEMENTED,_=g.ERR_MULTIPLE_CALLBACK,C=g.ERR_STREAM_CANNOT_PIPE,O=g.ERR_STREAM_DESTROYED,R=g.ERR_STREAM_NULL_VALUES,H=g.ERR_STREAM_WRITE_AFTER_END,L=g.ERR_UNKNOWN_ENCODING,q=p.errorOrDestroy;function W(){}function K(N,M,I){o=o||t(&quot;./_stream_duplex&quot;),N=N||{},typeof I!=&quot;boolean&quot;&amp;&amp;(I=M instanceof o),this.objectMode=!!N.objectMode,I&amp;&amp;(this.objectMode=this.objectMode||!!N.writableObjectMode),this.highWaterMark=v(this,N,&quot;writableHighWaterMark&quot;,I),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var B=N.decodeStrings===!1;this.decodeStrings=!B,this.defaultEncoding=N.defaultEncoding||&quot;utf8&quot;,this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Y){(function(Z,ie){var $=Z._writableState,ee=$.sync,z=$.writecb;if(typeof z!=&quot;function&quot;)throw new _;if((function(X){X.writing=!1,X.writecb=null,X.length-=X.writelen,X.writelen=0})($),ie)(function(X,re,ne,Q,te){--re.pendingcb,ne?(i.nextTick(te,Q),i.nextTick(S,X,re),X._writableState.errorEmitted=!0,q(X,Q)):(te(Q),X._writableState.errorEmitted=!0,q(X,Q),S(X,re))})(Z,$,ee,ie,z);else{var T=j($)||Z.destroyed;T||$.corked||$.bufferProcessing||!$.bufferedRequest||E(Z,$),ee?i.nextTick(D,Z,$,T,z):D(Z,$,T,z)}})(M,Y)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=N.emitClose!==!1,this.autoDestroy=!!N.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new u(this)}function U(N){var M=this instanceof(o=o||t(&quot;./_stream_duplex&quot;));if(!M&amp;&amp;!m.call(U,this))return new U(N);this._writableState=new K(N,this,M),this.writable=!0,N&amp;&amp;(typeof N.write==&quot;function&quot;&amp;&amp;(this._write=N.write),typeof N.writev==&quot;function&quot;&amp;&amp;(this._writev=N.writev),typeof N.destroy==&quot;function&quot;&amp;&amp;(this._destroy=N.destroy),typeof N.final==&quot;function&quot;&amp;&amp;(this._final=N.final)),c.call(this)}function P(N,M,I,B,Y,Z,ie){M.writelen=B,M.writecb=ie,M.writing=!0,M.sync=!0,M.destroyed?M.onwrite(new O(&quot;write&quot;)):I?N._writev(Y,M.onwrite):N._write(Y,Z,M.onwrite),M.sync=!1}function D(N,M,I,B){I||(function(Y,Z){Z.length===0&amp;&amp;Z.needDrain&amp;&amp;(Z.needDrain=!1,Y.emit(&quot;drain&quot;))})(N,M),M.pendingcb--,B(),S(N,M)}function E(N,M){M.bufferProcessing=!0;var I=M.bufferedRequest;if(N._writev&amp;&amp;I&amp;&amp;I.next){var B=M.bufferedRequestCount,Y=new Array(B),Z=M.corkedRequestsFree;Z.entry=I;for(var ie=0,$=!0;I;)Y[ie]=I,I.isBuf||($=!1),I=I.next,ie+=1;Y.allBuffers=$,P(N,M,!0,M.length,Y,&quot;&quot;,Z.finish),M.pendingcb++,M.lastBufferedRequest=null,Z.next?(M.corkedRequestsFree=Z.next,Z.next=null):M.corkedRequestsFree=new u(M),M.bufferedRequestCount=0}else{for(;I;){var ee=I.chunk,z=I.encoding,T=I.callback;if(P(N,M,!1,M.objectMode?1:ee.length,ee,z,T),I=I.next,M.bufferedRequestCount--,M.writing)break}I===null&amp;&amp;(M.lastBufferedRequest=null)}M.bufferedRequest=I,M.bufferProcessing=!1}function j(N){return N.ending&amp;&amp;N.length===0&amp;&amp;N.bufferedRequest===null&amp;&amp;!N.finished&amp;&amp;!N.writing}function k(N,M){N._final((function(I){M.pendingcb--,I&amp;&amp;q(N,I),M.prefinished=!0,N.emit(&quot;prefinish&quot;),S(N,M)}))}function S(N,M){var I=j(M);if(I&amp;&amp;((function(Y,Z){Z.prefinished||Z.finalCalled||(typeof Y._final!=&quot;function&quot;||Z.destroyed?(Z.prefinished=!0,Y.emit(&quot;prefinish&quot;)):(Z.pendingcb++,Z.finalCalled=!0,i.nextTick(k,Y,Z)))})(N,M),M.pendingcb===0&amp;&amp;(M.finished=!0,N.emit(&quot;finish&quot;),M.autoDestroy))){var B=N._readableState;(!B||B.autoDestroy&amp;&amp;B.endEmitted)&amp;&amp;N.destroy()}return I}t(&quot;inherits&quot;)(U,c),K.prototype.getBuffer=function(){for(var N=this.bufferedRequest,M=[];N;)M.push(N),N=N.next;return M},(function(){try{Object.defineProperty(K.prototype,&quot;buffer&quot;,{get:s.deprecate((function(){return this.getBuffer()}),&quot;_writableState.buffer is deprecated. Use _writableState.getBuffer instead.&quot;,&quot;DEP0003&quot;)})}catch{}})(),typeof Symbol==&quot;function&quot;&amp;&amp;Symbol.hasInstance&amp;&amp;typeof Function.prototype[Symbol.hasInstance]==&quot;function&quot;?(m=Function.prototype[Symbol.hasInstance],Object.defineProperty(U,Symbol.hasInstance,{value:function(N){return!!m.call(this,N)||this===U&amp;&amp;N&amp;&amp;N._writableState instanceof K}})):m=function(N){return N instanceof this},U.prototype.pipe=function(){q(this,new C)},U.prototype.write=function(N,M,I){var B,Y=this._writableState,Z=!1,ie=!Y.objectMode&amp;&amp;(B=N,f.isBuffer(B)||B instanceof h);return ie&amp;&amp;!f.isBuffer(N)&amp;&amp;(N=(function($){return f.from($)})(N)),typeof M==&quot;function&quot;&amp;&amp;(I=M,M=null),ie?M=&quot;buffer&quot;:M||(M=Y.defaultEncoding),typeof I!=&quot;function&quot;&amp;&amp;(I=W),Y.ending?(function($,ee){var z=new H;q($,z),i.nextTick(ee,z)})(this,I):(ie||(function($,ee,z,T){var X;return z===null?X=new R:typeof z==&quot;string&quot;||ee.objectMode||(X=new b(&quot;chunk&quot;,[&quot;string&quot;,&quot;Buffer&quot;],z)),!X||(q($,X),i.nextTick(T,X),!1)})(this,Y,N,I))&amp;&amp;(Y.pendingcb++,Z=(function($,ee,z,T,X,re){if(!z){var ne=(function(oe,se,fe){return oe.objectMode||oe.decodeStrings===!1||typeof se!=&quot;string&quot;||(se=f.from(se,fe)),se})(ee,T,X);T!==ne&amp;&amp;(z=!0,X=&quot;buffer&quot;,T=ne)}var Q=ee.objectMode?1:T.length;ee.length+=Q;var te=ee.length&lt;ee.highWaterMark;if(te||(ee.needDrain=!0),ee.writing||ee.corked){var de=ee.lastBufferedRequest;ee.lastBufferedRequest={chunk:T,encoding:X,isBuf:z,callback:re,next:null},de?de.next=ee.lastBufferedRequest:ee.bufferedRequest=ee.lastBufferedRequest,ee.bufferedRequestCount+=1}else P($,ee,!1,Q,T,X,re);return te})(this,Y,ie,N,M,I)),Z},U.prototype.cork=function(){this._writableState.corked++},U.prototype.uncork=function(){var N=this._writableState;N.corked&amp;&amp;(N.corked--,N.writing||N.corked||N.bufferProcessing||!N.bufferedRequest||E(this,N))},U.prototype.setDefaultEncoding=function(N){if(typeof N==&quot;string&quot;&amp;&amp;(N=N.toLowerCase()),!([&quot;hex&quot;,&quot;utf8&quot;,&quot;utf-8&quot;,&quot;ascii&quot;,&quot;binary&quot;,&quot;base64&quot;,&quot;ucs2&quot;,&quot;ucs-2&quot;,&quot;utf16le&quot;,&quot;utf-16le&quot;,&quot;raw&quot;].indexOf((N+&quot;&quot;).toLowerCase())&gt;-1))throw new L(N);return this._writableState.defaultEncoding=N,this},Object.defineProperty(U.prototype,&quot;writableBuffer&quot;,{enumerable:!1,get:function(){return this._writableState&amp;&amp;this._writableState.getBuffer()}}),Object.defineProperty(U.prototype,&quot;writableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),U.prototype._write=function(N,M,I){I(new x(&quot;_write()&quot;))},U.prototype._writev=null,U.prototype.end=function(N,M,I){var B=this._writableState;return typeof N==&quot;function&quot;?(I=N,N=null,M=null):typeof M==&quot;function&quot;&amp;&amp;(I=M,M=null),N!=null&amp;&amp;this.write(N,M),B.corked&amp;&amp;(B.corked=1,this.uncork()),B.ending||(function(Y,Z,ie){Z.ending=!0,S(Y,Z),ie&amp;&amp;(Z.finished?i.nextTick(ie):Y.once(&quot;finish&quot;,ie)),Z.ended=!0,Y.writable=!1})(this,B,I),this},Object.defineProperty(U.prototype,&quot;writableLength&quot;,{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(U.prototype,&quot;destroyed&quot;,{enumerable:!1,get:function(){return this._writableState!==void 0&amp;&amp;this._writableState.destroyed},set:function(N){this._writableState&amp;&amp;(this._writableState.destroyed=N)}}),U.prototype.destroy=p.destroy,U.prototype._undestroy=p.undestroy,U.prototype._destroy=function(N,M){M(N)}}).call(this)}).call(this,t(&quot;_process&quot;),typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{&quot;../errors&quot;:477,&quot;./_stream_duplex&quot;:478,&quot;./internal/streams/destroy&quot;:485,&quot;./internal/streams/state&quot;:489,&quot;./internal/streams/stream&quot;:490,_process:467,buffer:220,inherits:440,&quot;util-deprecate&quot;:524}],483:[function(t,n,l){(function(i){(function(){var a;function u(O,R,H){return(R=(function(L){var q=(function(W,K){if(typeof W!=&quot;object&quot;||W===null)return W;var U=W[Symbol.toPrimitive];if(U!==void 0){var P=U.call(W,K);if(typeof P!=&quot;object&quot;)return P;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(K===&quot;string&quot;?String:Number)(W)})(L,&quot;string&quot;);return typeof q==&quot;symbol&quot;?q:String(q)})(R))in O?Object.defineProperty(O,R,{value:H,enumerable:!0,configurable:!0,writable:!0}):O[R]=H,O}var o=t(&quot;./end-of-stream&quot;),s=Symbol(&quot;lastResolve&quot;),c=Symbol(&quot;lastReject&quot;),f=Symbol(&quot;error&quot;),h=Symbol(&quot;ended&quot;),m=Symbol(&quot;lastPromise&quot;),p=Symbol(&quot;handlePromise&quot;),v=Symbol(&quot;stream&quot;);function g(O,R){return{value:O,done:R}}function b(O){var R=O[s];if(R!==null){var H=O[v].read();H!==null&amp;&amp;(O[m]=null,O[s]=null,O[c]=null,R(g(H,!1)))}}function x(O){i.nextTick(b,O)}var _=Object.getPrototypeOf((function(){})),C=Object.setPrototypeOf((u(a={get stream(){return this[v]},next:function(){var O=this,R=this[f];if(R!==null)return Promise.reject(R);if(this[h])return Promise.resolve(g(void 0,!0));if(this[v].destroyed)return new Promise((function(W,K){i.nextTick((function(){O[f]?K(O[f]):W(g(void 0,!0))}))}));var H,L=this[m];if(L)H=new Promise((function(W,K){return function(U,P){W.then((function(){K[h]?U(g(void 0,!0)):K[p](U,P)}),P)}})(L,this));else{var q=this[v].read();if(q!==null)return Promise.resolve(g(q,!1));H=new Promise(this[p])}return this[m]=H,H}},Symbol.asyncIterator,(function(){return this})),u(a,&quot;return&quot;,(function(){var O=this;return new Promise((function(R,H){O[v].destroy(null,(function(L){L?H(L):R(g(void 0,!0))}))}))})),a),_);n.exports=function(O){var R,H=Object.create(C,(u(R={},v,{value:O,writable:!0}),u(R,s,{value:null,writable:!0}),u(R,c,{value:null,writable:!0}),u(R,f,{value:null,writable:!0}),u(R,h,{value:O._readableState.endEmitted,writable:!0}),u(R,p,{value:function(L,q){var W=H[v].read();W?(H[m]=null,H[s]=null,H[c]=null,L(g(W,!1))):(H[s]=L,H[c]=q)},writable:!0}),R));return H[m]=null,o(O,(function(L){if(L&amp;&amp;L.code!==&quot;ERR_STREAM_PREMATURE_CLOSE&quot;){var q=H[c];return q!==null&amp;&amp;(H[m]=null,H[s]=null,H[c]=null,q(L)),void(H[f]=L)}var W=H[s];W!==null&amp;&amp;(H[m]=null,H[s]=null,H[c]=null,W(g(void 0,!0))),H[h]=!0})),O.on(&quot;readable&quot;,x.bind(null,H)),H}}).call(this)}).call(this,t(&quot;_process&quot;))},{&quot;./end-of-stream&quot;:486,_process:467}],484:[function(t,n,l){function i(m,p){var v=Object.keys(m);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(m);p&amp;&amp;(g=g.filter((function(b){return Object.getOwnPropertyDescriptor(m,b).enumerable}))),v.push.apply(v,g)}return v}function a(m){for(var p=1;p&lt;arguments.length;p++){var v=arguments[p]!=null?arguments[p]:{};p%2?i(Object(v),!0).forEach((function(g){u(m,g,v[g])})):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(v)):i(Object(v)).forEach((function(g){Object.defineProperty(m,g,Object.getOwnPropertyDescriptor(v,g))}))}return m}function u(m,p,v){return(p=s(p))in m?Object.defineProperty(m,p,{value:v,enumerable:!0,configurable:!0,writable:!0}):m[p]=v,m}function o(m,p){for(var v=0;v&lt;p.length;v++){var g=p[v];g.enumerable=g.enumerable||!1,g.configurable=!0,&quot;value&quot;in g&amp;&amp;(g.writable=!0),Object.defineProperty(m,s(g.key),g)}}function s(m){var p=(function(v,g){if(typeof v!=&quot;object&quot;||v===null)return v;var b=v[Symbol.toPrimitive];if(b!==void 0){var x=b.call(v,g);if(typeof x!=&quot;object&quot;)return x;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(g===&quot;string&quot;?String:Number)(v)})(m,&quot;string&quot;);return typeof p==&quot;symbol&quot;?p:String(p)}var c=t(&quot;buffer&quot;).Buffer,f=t(&quot;util&quot;).inspect,h=f&amp;&amp;f.custom||&quot;inspect&quot;;n.exports=(function(){function m(){(function(g,b){if(!(g instanceof b))throw new TypeError(&quot;Cannot call a class as a function&quot;)})(this,m),this.head=null,this.tail=null,this.length=0}var p,v;return p=m,(v=[{key:&quot;push&quot;,value:function(g){var b={data:g,next:null};this.length&gt;0?this.tail.next=b:this.head=b,this.tail=b,++this.length}},{key:&quot;unshift&quot;,value:function(g){var b={data:g,next:this.head};this.length===0&amp;&amp;(this.tail=b),this.head=b,++this.length}},{key:&quot;shift&quot;,value:function(){if(this.length!==0){var g=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,g}}},{key:&quot;clear&quot;,value:function(){this.head=this.tail=null,this.length=0}},{key:&quot;join&quot;,value:function(g){if(this.length===0)return&quot;&quot;;for(var b=this.head,x=&quot;&quot;+b.data;b=b.next;)x+=g+b.data;return x}},{key:&quot;concat&quot;,value:function(g){if(this.length===0)return c.alloc(0);for(var b,x,_,C=c.allocUnsafe(g&gt;&gt;&gt;0),O=this.head,R=0;O;)b=O.data,x=C,_=R,c.prototype.copy.call(b,x,_),R+=O.data.length,O=O.next;return C}},{key:&quot;consume&quot;,value:function(g,b){var x;return g&lt;this.head.data.length?(x=this.head.data.slice(0,g),this.head.data=this.head.data.slice(g)):x=g===this.head.data.length?this.shift():b?this._getString(g):this._getBuffer(g),x}},{key:&quot;first&quot;,value:function(){return this.head.data}},{key:&quot;_getString&quot;,value:function(g){var b=this.head,x=1,_=b.data;for(g-=_.length;b=b.next;){var C=b.data,O=g&gt;C.length?C.length:g;if(O===C.length?_+=C:_+=C.slice(0,g),(g-=O)==0){O===C.length?(++x,b.next?this.head=b.next:this.head=this.tail=null):(this.head=b,b.data=C.slice(O));break}++x}return this.length-=x,_}},{key:&quot;_getBuffer&quot;,value:function(g){var b=c.allocUnsafe(g),x=this.head,_=1;for(x.data.copy(b),g-=x.data.length;x=x.next;){var C=x.data,O=g&gt;C.length?C.length:g;if(C.copy(b,b.length-g,0,O),(g-=O)==0){O===C.length?(++_,x.next?this.head=x.next:this.head=this.tail=null):(this.head=x,x.data=C.slice(O));break}++_}return this.length-=_,b}},{key:h,value:function(g,b){return f(this,a(a({},b),{},{depth:0,customInspect:!1}))}}])&amp;&amp;o(p.prototype,v),Object.defineProperty(p,&quot;prototype&quot;,{writable:!1}),m})()},{buffer:220,util:188}],485:[function(t,n,l){(function(i){(function(){function a(s,c){o(s,c),u(s)}function u(s){s._writableState&amp;&amp;!s._writableState.emitClose||s._readableState&amp;&amp;!s._readableState.emitClose||s.emit(&quot;close&quot;)}function o(s,c){s.emit(&quot;error&quot;,c)}n.exports={destroy:function(s,c){var f=this,h=this._readableState&amp;&amp;this._readableState.destroyed,m=this._writableState&amp;&amp;this._writableState.destroyed;return h||m?(c?c(s):s&amp;&amp;(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,i.nextTick(o,this,s)):i.nextTick(o,this,s)),this):(this._readableState&amp;&amp;(this._readableState.destroyed=!0),this._writableState&amp;&amp;(this._writableState.destroyed=!0),this._destroy(s||null,(function(p){!c&amp;&amp;p?f._writableState?f._writableState.errorEmitted?i.nextTick(u,f):(f._writableState.errorEmitted=!0,i.nextTick(a,f,p)):i.nextTick(a,f,p):c?(i.nextTick(u,f),c(p)):i.nextTick(u,f)})),this)},undestroy:function(){this._readableState&amp;&amp;(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&amp;&amp;(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(s,c){var f=s._readableState,h=s._writableState;f&amp;&amp;f.autoDestroy||h&amp;&amp;h.autoDestroy?s.destroy(c):s.emit(&quot;error&quot;,c)}}}).call(this)}).call(this,t(&quot;_process&quot;))},{_process:467}],486:[function(t,n,l){var i=t(&quot;../../../errors&quot;).codes.ERR_STREAM_PREMATURE_CLOSE;function a(){}n.exports=function u(o,s,c){if(typeof s==&quot;function&quot;)return u(o,null,s);s||(s={}),c=(function(O){var R=!1;return function(){if(!R){R=!0;for(var H=arguments.length,L=new Array(H),q=0;q&lt;H;q++)L[q]=arguments[q];O.apply(this,L)}}})(c||a);var f=s.readable||s.readable!==!1&amp;&amp;o.readable,h=s.writable||s.writable!==!1&amp;&amp;o.writable,m=function(){o.writable||v()},p=o._writableState&amp;&amp;o._writableState.finished,v=function(){h=!1,p=!0,f||c.call(o)},g=o._readableState&amp;&amp;o._readableState.endEmitted,b=function(){f=!1,g=!0,h||c.call(o)},x=function(O){c.call(o,O)},_=function(){var O;return f&amp;&amp;!g?(o._readableState&amp;&amp;o._readableState.ended||(O=new i),c.call(o,O)):h&amp;&amp;!p?(o._writableState&amp;&amp;o._writableState.ended||(O=new i),c.call(o,O)):void 0},C=function(){o.req.on(&quot;finish&quot;,v)};return(function(O){return O.setHeader&amp;&amp;typeof O.abort==&quot;function&quot;})(o)?(o.on(&quot;complete&quot;,v),o.on(&quot;abort&quot;,_),o.req?C():o.on(&quot;request&quot;,C)):h&amp;&amp;!o._writableState&amp;&amp;(o.on(&quot;end&quot;,m),o.on(&quot;close&quot;,m)),o.on(&quot;end&quot;,b),o.on(&quot;finish&quot;,v),s.error!==!1&amp;&amp;o.on(&quot;error&quot;,x),o.on(&quot;close&quot;,_),function(){o.removeListener(&quot;complete&quot;,v),o.removeListener(&quot;abort&quot;,_),o.removeListener(&quot;request&quot;,C),o.req&amp;&amp;o.req.removeListener(&quot;finish&quot;,v),o.removeListener(&quot;end&quot;,m),o.removeListener(&quot;close&quot;,m),o.removeListener(&quot;finish&quot;,v),o.removeListener(&quot;end&quot;,b),o.removeListener(&quot;error&quot;,x),o.removeListener(&quot;close&quot;,_)}}},{&quot;../../../errors&quot;:477}],487:[function(t,n,l){n.exports=function(){throw new Error(&quot;Readable.from is not available in the browser&quot;)}},{}],488:[function(t,n,l){var i,a=t(&quot;../../../errors&quot;).codes,u=a.ERR_MISSING_ARGS,o=a.ERR_STREAM_DESTROYED;function s(p){if(p)throw p}function c(p,v,g,b){b=(function(C){var O=!1;return function(){O||(O=!0,C.apply(void 0,arguments))}})(b);var x=!1;p.on(&quot;close&quot;,(function(){x=!0})),i===void 0&amp;&amp;(i=t(&quot;./end-of-stream&quot;)),i(p,{readable:v,writable:g},(function(C){if(C)return b(C);x=!0,b()}));var _=!1;return function(C){if(!x&amp;&amp;!_)return _=!0,(function(O){return O.setHeader&amp;&amp;typeof O.abort==&quot;function&quot;})(p)?p.abort():typeof p.destroy==&quot;function&quot;?p.destroy():void b(C||new o(&quot;pipe&quot;))}}function f(p){p()}function h(p,v){return p.pipe(v)}function m(p){return p.length?typeof p[p.length-1]!=&quot;function&quot;?s:p.pop():s}n.exports=function(){for(var p=arguments.length,v=new Array(p),g=0;g&lt;p;g++)v[g]=arguments[g];var b,x=m(v);if(Array.isArray(v[0])&amp;&amp;(v=v[0]),v.length&lt;2)throw new u(&quot;streams&quot;);var _=v.map((function(C,O){var R=O&lt;v.length-1;return c(C,R,O&gt;0,(function(H){b||(b=H),H&amp;&amp;_.forEach(f),R||(_.forEach(f),x(b))}))}));return v.reduce(h)}},{&quot;../../../errors&quot;:477,&quot;./end-of-stream&quot;:486}],489:[function(t,n,l){var i=t(&quot;../../../errors&quot;).codes.ERR_INVALID_OPT_VALUE;n.exports={getHighWaterMark:function(a,u,o,s){var c=(function(f,h,m){return f.highWaterMark!=null?f.highWaterMark:h?f[m]:null})(u,s,o);if(c!=null){if(!isFinite(c)||Math.floor(c)!==c||c&lt;0)throw new i(s?o:&quot;highWaterMark&quot;,c);return Math.floor(c)}return a.objectMode?16:16384}}},{&quot;../../../errors&quot;:477}],490:[function(t,n,l){n.exports=t(&quot;events&quot;).EventEmitter},{events:422}],491:[function(t,n,l){(l=n.exports=t(&quot;./lib/_stream_readable.js&quot;)).Stream=l,l.Readable=l,l.Writable=t(&quot;./lib/_stream_writable.js&quot;),l.Duplex=t(&quot;./lib/_stream_duplex.js&quot;),l.Transform=t(&quot;./lib/_stream_transform.js&quot;),l.PassThrough=t(&quot;./lib/_stream_passthrough.js&quot;),l.finished=t(&quot;./lib/internal/streams/end-of-stream.js&quot;),l.pipeline=t(&quot;./lib/internal/streams/pipeline.js&quot;)},{&quot;./lib/_stream_duplex.js&quot;:478,&quot;./lib/_stream_passthrough.js&quot;:479,&quot;./lib/_stream_readable.js&quot;:480,&quot;./lib/_stream_transform.js&quot;:481,&quot;./lib/_stream_writable.js&quot;:482,&quot;./lib/internal/streams/end-of-stream.js&quot;:486,&quot;./lib/internal/streams/pipeline.js&quot;:488}],492:[function(t,n,l){var i=(function(a){var u=Object.prototype,o=u.hasOwnProperty,s=Object.defineProperty||function(S,N,M){S[N]=M.value},c=typeof Symbol==&quot;function&quot;?Symbol:{},f=c.iterator||&quot;@@iterator&quot;,h=c.asyncIterator||&quot;@@asyncIterator&quot;,m=c.toStringTag||&quot;@@toStringTag&quot;;function p(S,N,M){return Object.defineProperty(S,N,{value:M,enumerable:!0,configurable:!0,writable:!0}),S[N]}try{p({},&quot;&quot;)}catch{p=function(N,M,I){return N[M]=I}}function v(S,N,M,I){var B=N&amp;&amp;N.prototype instanceof x?N:x,Y=Object.create(B.prototype),Z=new E(I||[]);return s(Y,&quot;_invoke&quot;,{value:K(S,M,Z)}),Y}function g(S,N,M){try{return{type:&quot;normal&quot;,arg:S.call(N,M)}}catch(I){return{type:&quot;throw&quot;,arg:I}}}a.wrap=v;var b={};function x(){}function _(){}function C(){}var O={};p(O,f,(function(){return this}));var R=Object.getPrototypeOf,H=R&amp;&amp;R(R(j([])));H&amp;&amp;H!==u&amp;&amp;o.call(H,f)&amp;&amp;(O=H);var L=C.prototype=x.prototype=Object.create(O);function q(S){[&quot;next&quot;,&quot;throw&quot;,&quot;return&quot;].forEach((function(N){p(S,N,(function(M){return this._invoke(N,M)}))}))}function W(S,N){var M;s(this,&quot;_invoke&quot;,{value:function(I,B){function Y(){return new N((function(Z,ie){(function $(ee,z,T,X){var re=g(S[ee],S,z);if(re.type!==&quot;throw&quot;){var ne=re.arg,Q=ne.value;return Q&amp;&amp;typeof Q==&quot;object&quot;&amp;&amp;o.call(Q,&quot;__await&quot;)?N.resolve(Q.__await).then((function(te){$(&quot;next&quot;,te,T,X)}),(function(te){$(&quot;throw&quot;,te,T,X)})):N.resolve(Q).then((function(te){ne.value=te,T(ne)}),(function(te){return $(&quot;throw&quot;,te,T,X)}))}X(re.arg)})(I,B,Z,ie)}))}return M=M?M.then(Y,Y):Y()}})}function K(S,N,M){var I=&quot;suspendedStart&quot;;return function(B,Y){if(I===&quot;executing&quot;)throw new Error(&quot;Generator is already running&quot;);if(I===&quot;completed&quot;){if(B===&quot;throw&quot;)throw Y;return k()}for(M.method=B,M.arg=Y;;){var Z=M.delegate;if(Z){var ie=U(Z,M);if(ie){if(ie===b)continue;return ie}}if(M.method===&quot;next&quot;)M.sent=M._sent=M.arg;else if(M.method===&quot;throw&quot;){if(I===&quot;suspendedStart&quot;)throw I=&quot;completed&quot;,M.arg;M.dispatchException(M.arg)}else M.method===&quot;return&quot;&amp;&amp;M.abrupt(&quot;return&quot;,M.arg);I=&quot;executing&quot;;var $=g(S,N,M);if($.type===&quot;normal&quot;){if(I=M.done?&quot;completed&quot;:&quot;suspendedYield&quot;,$.arg===b)continue;return{value:$.arg,done:M.done}}$.type===&quot;throw&quot;&amp;&amp;(I=&quot;completed&quot;,M.method=&quot;throw&quot;,M.arg=$.arg)}}}function U(S,N){var M=N.method,I=S.iterator[M];if(I===void 0)return N.delegate=null,M===&quot;throw&quot;&amp;&amp;S.iterator.return&amp;&amp;(N.method=&quot;return&quot;,N.arg=void 0,U(S,N),N.method===&quot;throw&quot;)||M!==&quot;return&quot;&amp;&amp;(N.method=&quot;throw&quot;,N.arg=new TypeError(&quot;The iterator does not provide a &#039;&quot;+M+&quot;&#039; method&quot;)),b;var B=g(I,S.iterator,N.arg);if(B.type===&quot;throw&quot;)return N.method=&quot;throw&quot;,N.arg=B.arg,N.delegate=null,b;var Y=B.arg;return Y?Y.done?(N[S.resultName]=Y.value,N.next=S.nextLoc,N.method!==&quot;return&quot;&amp;&amp;(N.method=&quot;next&quot;,N.arg=void 0),N.delegate=null,b):Y:(N.method=&quot;throw&quot;,N.arg=new TypeError(&quot;iterator result is not an object&quot;),N.delegate=null,b)}function P(S){var N={tryLoc:S[0]};1 in S&amp;&amp;(N.catchLoc=S[1]),2 in S&amp;&amp;(N.finallyLoc=S[2],N.afterLoc=S[3]),this.tryEntries.push(N)}function D(S){var N=S.completion||{};N.type=&quot;normal&quot;,delete N.arg,S.completion=N}function E(S){this.tryEntries=[{tryLoc:&quot;root&quot;}],S.forEach(P,this),this.reset(!0)}function j(S){if(S){var N=S[f];if(N)return N.call(S);if(typeof S.next==&quot;function&quot;)return S;if(!isNaN(S.length)){var M=-1,I=function B(){for(;++M&lt;S.length;)if(o.call(S,M))return B.value=S[M],B.done=!1,B;return B.value=void 0,B.done=!0,B};return I.next=I}}return{next:k}}function k(){return{value:void 0,done:!0}}return _.prototype=C,s(L,&quot;constructor&quot;,{value:C,configurable:!0}),s(C,&quot;constructor&quot;,{value:_,configurable:!0}),_.displayName=p(C,m,&quot;GeneratorFunction&quot;),a.isGeneratorFunction=function(S){var N=typeof S==&quot;function&quot;&amp;&amp;S.constructor;return!!N&amp;&amp;(N===_||(N.displayName||N.name)===&quot;GeneratorFunction&quot;)},a.mark=function(S){return Object.setPrototypeOf?Object.setPrototypeOf(S,C):(S.__proto__=C,p(S,m,&quot;GeneratorFunction&quot;)),S.prototype=Object.create(L),S},a.awrap=function(S){return{__await:S}},q(W.prototype),p(W.prototype,h,(function(){return this})),a.AsyncIterator=W,a.async=function(S,N,M,I,B){B===void 0&amp;&amp;(B=Promise);var Y=new W(v(S,N,M,I),B);return a.isGeneratorFunction(N)?Y:Y.next().then((function(Z){return Z.done?Z.value:Y.next()}))},q(L),p(L,m,&quot;Generator&quot;),p(L,f,(function(){return this})),p(L,&quot;toString&quot;,(function(){return&quot;[object Generator]&quot;})),a.keys=function(S){var N=Object(S),M=[];for(var I in N)M.push(I);return M.reverse(),function B(){for(;M.length;){var Y=M.pop();if(Y in N)return B.value=Y,B.done=!1,B}return B.done=!0,B}},a.values=j,E.prototype={constructor:E,reset:function(S){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method=&quot;next&quot;,this.arg=void 0,this.tryEntries.forEach(D),!S)for(var N in this)N.charAt(0)===&quot;t&quot;&amp;&amp;o.call(this,N)&amp;&amp;!isNaN(+N.slice(1))&amp;&amp;(this[N]=void 0)},stop:function(){this.done=!0;var S=this.tryEntries[0].completion;if(S.type===&quot;throw&quot;)throw S.arg;return this.rval},dispatchException:function(S){if(this.done)throw S;var N=this;function M($,ee){return Y.type=&quot;throw&quot;,Y.arg=S,N.next=$,ee&amp;&amp;(N.method=&quot;next&quot;,N.arg=void 0),!!ee}for(var I=this.tryEntries.length-1;I&gt;=0;--I){var B=this.tryEntries[I],Y=B.completion;if(B.tryLoc===&quot;root&quot;)return M(&quot;end&quot;);if(B.tryLoc&lt;=this.prev){var Z=o.call(B,&quot;catchLoc&quot;),ie=o.call(B,&quot;finallyLoc&quot;);if(Z&amp;&amp;ie){if(this.prev&lt;B.catchLoc)return M(B.catchLoc,!0);if(this.prev&lt;B.finallyLoc)return M(B.finallyLoc)}else if(Z){if(this.prev&lt;B.catchLoc)return M(B.catchLoc,!0)}else{if(!ie)throw new Error(&quot;try statement without catch or finally&quot;);if(this.prev&lt;B.finallyLoc)return M(B.finallyLoc)}}}},abrupt:function(S,N){for(var M=this.tryEntries.length-1;M&gt;=0;--M){var I=this.tryEntries[M];if(I.tryLoc&lt;=this.prev&amp;&amp;o.call(I,&quot;finallyLoc&quot;)&amp;&amp;this.prev&lt;I.finallyLoc){var B=I;break}}B&amp;&amp;(S===&quot;break&quot;||S===&quot;continue&quot;)&amp;&amp;B.tryLoc&lt;=N&amp;&amp;N&lt;=B.finallyLoc&amp;&amp;(B=null);var Y=B?B.completion:{};return Y.type=S,Y.arg=N,B?(this.method=&quot;next&quot;,this.next=B.finallyLoc,b):this.complete(Y)},complete:function(S,N){if(S.type===&quot;throw&quot;)throw S.arg;return S.type===&quot;break&quot;||S.type===&quot;continue&quot;?this.next=S.arg:S.type===&quot;return&quot;?(this.rval=this.arg=S.arg,this.method=&quot;return&quot;,this.next=&quot;end&quot;):S.type===&quot;normal&quot;&amp;&amp;N&amp;&amp;(this.next=N),b},finish:function(S){for(var N=this.tryEntries.length-1;N&gt;=0;--N){var M=this.tryEntries[N];if(M.finallyLoc===S)return this.complete(M.completion,M.afterLoc),D(M),b}},catch:function(S){for(var N=this.tryEntries.length-1;N&gt;=0;--N){var M=this.tryEntries[N];if(M.tryLoc===S){var I=M.completion;if(I.type===&quot;throw&quot;){var B=I.arg;D(M)}return B}}throw new Error(&quot;illegal catch attempt&quot;)},delegateYield:function(S,N,M){return this.delegate={iterator:j(S),resultName:N,nextLoc:M},this.method===&quot;next&quot;&amp;&amp;(this.arg=void 0),b}},a})(typeof n==&quot;object&quot;?n.exports:{});try{regeneratorRuntime=i}catch{typeof globalThis==&quot;object&quot;?globalThis.regeneratorRuntime=i:Function(&quot;r&quot;,&quot;regeneratorRuntime = r&quot;)(i)}},{}],493:[function(t,n,l){var i=t(&quot;buffer&quot;).Buffer,a=t(&quot;inherits&quot;),u=t(&quot;hash-base&quot;),o=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],c=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],f=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],h=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],m=[0,1518500249,1859775393,2400959708,2840853838],p=[1352829926,1548603684,1836072691,2053994217,0];function v(){u.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function g(R,H){return R&lt;&lt;H|R&gt;&gt;&gt;32-H}function b(R,H,L,q,W,K,U,P){return g(R+(H^L^q)+K+U|0,P)+W|0}function x(R,H,L,q,W,K,U,P){return g(R+(H&amp;L|~H&amp;q)+K+U|0,P)+W|0}function _(R,H,L,q,W,K,U,P){return g(R+((H|~L)^q)+K+U|0,P)+W|0}function C(R,H,L,q,W,K,U,P){return g(R+(H&amp;q|L&amp;~q)+K+U|0,P)+W|0}function O(R,H,L,q,W,K,U,P){return g(R+(H^(L|~q))+K+U|0,P)+W|0}a(v,u),v.prototype._update=function(){for(var R=o,H=0;H&lt;16;++H)R[H]=this._block.readInt32LE(4*H);for(var L=0|this._a,q=0|this._b,W=0|this._c,K=0|this._d,U=0|this._e,P=0|this._a,D=0|this._b,E=0|this._c,j=0|this._d,k=0|this._e,S=0;S&lt;80;S+=1){var N,M;S&lt;16?(N=b(L,q,W,K,U,R[s[S]],m[0],f[S]),M=O(P,D,E,j,k,R[c[S]],p[0],h[S])):S&lt;32?(N=x(L,q,W,K,U,R[s[S]],m[1],f[S]),M=C(P,D,E,j,k,R[c[S]],p[1],h[S])):S&lt;48?(N=_(L,q,W,K,U,R[s[S]],m[2],f[S]),M=_(P,D,E,j,k,R[c[S]],p[2],h[S])):S&lt;64?(N=C(L,q,W,K,U,R[s[S]],m[3],f[S]),M=x(P,D,E,j,k,R[c[S]],p[3],h[S])):(N=O(L,q,W,K,U,R[s[S]],m[4],f[S]),M=b(P,D,E,j,k,R[c[S]],p[4],h[S])),L=U,U=K,K=g(W,10),W=q,q=N,P=k,k=j,j=g(E,10),E=D,D=M}var I=this._b+W+j|0;this._b=this._c+K+k|0,this._c=this._d+U+P|0,this._d=this._e+L+D|0,this._e=this._a+q+E|0,this._a=I},v.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset&gt;56&amp;&amp;(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var R=i.alloc?i.alloc(20):new i(20);return R.writeInt32LE(this._a,0),R.writeInt32LE(this._b,4),R.writeInt32LE(this._c,8),R.writeInt32LE(this._d,12),R.writeInt32LE(this._e,16),R},n.exports=v},{buffer:220,&quot;hash-base&quot;:425,inherits:440}],494:[function(t,n,l){var i=t(&quot;buffer&quot;),a=i.Buffer;function u(s,c){for(var f in s)c[f]=s[f]}function o(s,c,f){return a(s,c,f)}a.from&amp;&amp;a.alloc&amp;&amp;a.allocUnsafe&amp;&amp;a.allocUnsafeSlow?n.exports=i:(u(i,l),l.Buffer=o),o.prototype=Object.create(a.prototype),u(a,o),o.from=function(s,c,f){if(typeof s==&quot;number&quot;)throw new TypeError(&quot;Argument must not be a number&quot;);return a(s,c,f)},o.alloc=function(s,c,f){if(typeof s!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);var h=a(s);return c!==void 0?typeof f==&quot;string&quot;?h.fill(c,f):h.fill(c):h.fill(0),h},o.allocUnsafe=function(s){if(typeof s!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);return a(s)},o.allocUnsafeSlow=function(s){if(typeof s!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);return i.SlowBuffer(s)}},{buffer:220}],495:[function(t,n,l){(function(i){(function(){var a,u=t(&quot;buffer&quot;),o=u.Buffer,s={};for(a in u)u.hasOwnProperty(a)&amp;&amp;a!==&quot;SlowBuffer&quot;&amp;&amp;a!==&quot;Buffer&quot;&amp;&amp;(s[a]=u[a]);var c=s.Buffer={};for(a in o)o.hasOwnProperty(a)&amp;&amp;a!==&quot;allocUnsafe&quot;&amp;&amp;a!==&quot;allocUnsafeSlow&quot;&amp;&amp;(c[a]=o[a]);if(s.Buffer.prototype=o.prototype,c.from&amp;&amp;c.from!==Uint8Array.from||(c.from=function(f,h,m){if(typeof f==&quot;number&quot;)throw new TypeError(&#039;The &quot;value&quot; argument must not be of type number. Received type &#039;+typeof f);if(f&amp;&amp;f.length===void 0)throw new TypeError(&quot;The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type &quot;+typeof f);return o(f,h,m)}),c.alloc||(c.alloc=function(f,h,m){if(typeof f!=&quot;number&quot;)throw new TypeError(&#039;The &quot;size&quot; argument must be of type number. Received type &#039;+typeof f);if(f&lt;0||f&gt;=2*(1&lt;&lt;30))throw new RangeError(&#039;The value &quot;&#039;+f+&#039;&quot; is invalid for option &quot;size&quot;&#039;);var p=o(f);return h&amp;&amp;h.length!==0?typeof m==&quot;string&quot;?p.fill(h,m):p.fill(h):p.fill(0),p}),!s.kStringMaxLength)try{s.kStringMaxLength=i.binding(&quot;buffer&quot;).kStringMaxLength}catch{}s.constants||(s.constants={MAX_LENGTH:s.kMaxLength},s.kStringMaxLength&amp;&amp;(s.constants.MAX_STRING_LENGTH=s.kStringMaxLength)),n.exports=s}).call(this)}).call(this,t(&quot;_process&quot;))},{_process:467,buffer:220}],496:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0});const i=t(&quot;xmlchars/xml/1.0/ed5&quot;),a=t(&quot;xmlchars/xml/1.1/ed2&quot;),u=t(&quot;xmlchars/xmlns/1.0/ed3&quot;);var o=i.isS,s=i.isChar,c=i.isNameStartChar,f=i.isNameChar,h=i.S_LIST,m=i.NAME_RE,p=a.isChar,v=u.isNCNameStartChar,g=u.isNCNameChar,b=u.NC_NAME_RE;const x=&quot;http://www.w3.org/XML/1998/namespace&quot;,_=&quot;http://www.w3.org/2000/xmlns/&quot;,C={__proto__:null,xml:x,xmlns:_},O={__proto__:null,amp:&quot;&amp;&quot;,gt:&quot;&gt;&quot;,lt:&quot;&lt;&quot;,quot:&#039;&quot;&#039;,apos:&quot;&#039;&quot;},R=j=&gt;j===34||j===39,H=[34,39],L=[...H,91,62],q=[...H,60,93],W=[61,63,...h],K=[...h,62,38,60];function U(j,k,S){switch(k){case&quot;xml&quot;:S!==x&amp;&amp;j.fail(`xml prefix must be bound to ${x}.`);break;case&quot;xmlns&quot;:S!==_&amp;&amp;j.fail(`xmlns prefix must be bound to ${_}.`)}switch(S){case _:j.fail(k===&quot;&quot;?`the default namespace may not be set to ${S}.`:`may not assign a prefix (even &quot;xmlns&quot;) to the URI ${_}.`);break;case x:switch(k){case&quot;xml&quot;:break;case&quot;&quot;:j.fail(`the default namespace may not be set to ${S}.`);break;default:j.fail(&quot;may not assign the xml namespace to another prefix.&quot;)}}}const P=j=&gt;b.test(j),D=j=&gt;m.test(j);l.EVENTS=[&quot;xmldecl&quot;,&quot;text&quot;,&quot;processinginstruction&quot;,&quot;doctype&quot;,&quot;comment&quot;,&quot;opentagstart&quot;,&quot;attribute&quot;,&quot;opentag&quot;,&quot;closetag&quot;,&quot;cdata&quot;,&quot;error&quot;,&quot;end&quot;,&quot;ready&quot;];const E={xmldecl:&quot;xmldeclHandler&quot;,text:&quot;textHandler&quot;,processinginstruction:&quot;piHandler&quot;,doctype:&quot;doctypeHandler&quot;,comment:&quot;commentHandler&quot;,opentagstart:&quot;openTagStartHandler&quot;,attribute:&quot;attributeHandler&quot;,opentag:&quot;openTagHandler&quot;,closetag:&quot;closeTagHandler&quot;,cdata:&quot;cdataHandler&quot;,error:&quot;errorHandler&quot;,end:&quot;endHandler&quot;,ready:&quot;readyHandler&quot;};l.SaxesParser=class{constructor(j){this.opt=j??{},this.fragmentOpt=!!this.opt.fragment;const k=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=this.opt.position!==!1,this.fileName=this.opt.fileName,k){this.nameStartCheck=v,this.nameCheck=g,this.isName=P,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},C);const S=this.opt.additionalNamespaces;S!=null&amp;&amp;((function(N,M){for(const I of Object.keys(M))U(N,I,M[I])})(this,S),Object.assign(this.ns,S))}else this.nameStartCheck=c,this.nameCheck=f,this.isName=D,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}get closed(){return this._closed}_init(){var j;this.openWakaBang=&quot;&quot;,this.text=&quot;&quot;,this.name=&quot;&quot;,this.piTarget=&quot;&quot;,this.entity=&quot;&quot;,this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk=&quot;&quot;,this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];const{fragmentOpt:k}=this;this.state=k?13:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=k,this.xmlDeclPossible=!k,this.xmlDeclExpects=[&quot;version&quot;],this.entityReturnState=void 0;let{defaultXMLVersion:S}=this.opt;if(S===void 0){if(this.opt.forceXMLVersion===!0)throw new Error(&quot;forceXMLVersion set but defaultXMLVersion is not set&quot;);S=&quot;1.0&quot;}this.setXMLVersion(S),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(O),(j=this.readyHandler)===null||j===void 0||j.call(this)}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(j,k){this[E[j]]=k}off(j){this[E[j]]=void 0}makeError(j){var k;let S=(k=this.fileName)!==null&amp;&amp;k!==void 0?k:&quot;&quot;;return this.trackPosition&amp;&amp;(S.length&gt;0&amp;&amp;(S+=&quot;:&quot;),S+=`${this.line}:${this.column}`),S.length&gt;0&amp;&amp;(S+=&quot;: &quot;),new Error(S+j)}fail(j){const k=this.makeError(j),S=this.errorHandler;if(S===void 0)throw k;return S(k),this}write(j){if(this.closed)return this.fail(&quot;cannot write after close; assign an onready handler.&quot;);let k=!1;j===null?(k=!0,j=&quot;&quot;):typeof j==&quot;object&quot;&amp;&amp;(j=j.toString()),this.carriedFromPrevious!==void 0&amp;&amp;(j=`${this.carriedFromPrevious}${j}`,this.carriedFromPrevious=void 0);let S=j.length;const N=j.charCodeAt(S-1);!k&amp;&amp;(N===13||N&gt;=55296&amp;&amp;N&lt;=56319)&amp;&amp;(this.carriedFromPrevious=j[S-1],S--,j=j.slice(0,S));const{stateTable:M}=this;for(this.chunk=j,this.i=0;this.i&lt;S;)M[this.state].call(this);return this.chunkPosition+=S,k?this.end():this}close(){return this.write(null)}getCode10(){const{chunk:j,i:k}=this;if(this.prevI=k,this.i=k+1,k&gt;=j.length)return-1;const S=j.charCodeAt(k);if(this.column++,S&lt;55296){if(S&gt;=32||S===9)return S;switch(S){case 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:return j.charCodeAt(k+1)===10&amp;&amp;(this.i=k+2),this.line++,this.column=0,this.positionAtNewLine=this.position,-2;default:return this.fail(&quot;disallowed character.&quot;),S}}if(S&gt;56319)return S&gt;=57344&amp;&amp;S&lt;=65533||this.fail(&quot;disallowed character.&quot;),S;const N=65536+1024*(S-55296)+(j.charCodeAt(k+1)-56320);return this.i=k+2,N&gt;1114111&amp;&amp;this.fail(&quot;disallowed character.&quot;),N}getCode11(){const{chunk:j,i:k}=this;if(this.prevI=k,this.i=k+1,k&gt;=j.length)return-1;const S=j.charCodeAt(k);if(this.column++,S&lt;55296){if(S&gt;31&amp;&amp;S&lt;127||S&gt;159&amp;&amp;S!==8232||S===9)return S;switch(S){case 10:return this.line++,this.column=0,this.positionAtNewLine=this.position,10;case 13:{const M=j.charCodeAt(k+1);M!==10&amp;&amp;M!==133||(this.i=k+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,-2;default:return this.fail(&quot;disallowed character.&quot;),S}}if(S&gt;56319)return S&gt;=57344&amp;&amp;S&lt;=65533||this.fail(&quot;disallowed character.&quot;),S;const N=65536+1024*(S-55296)+(j.charCodeAt(k+1)-56320);return this.i=k+2,N&gt;1114111&amp;&amp;this.fail(&quot;disallowed character.&quot;),N}getCodeNorm(){const j=this.getCode();return j===-2?10:j}unget(){this.i=this.prevI,this.column--}captureTo(j){let{i:k}=this;const{chunk:S}=this;for(;;){const N=this.getCode(),M=N===-2,I=M?10:N;if(I===-1||j.includes(I))return this.text+=S.slice(k,this.prevI),I;M&amp;&amp;(this.text+=S.slice(k,this.prevI)+`
`,k=this.i)}}captureToChar(j){let{i:k}=this;const{chunk:S}=this;for(;;){let N=this.getCode();switch(N){case-2:this.text+=S.slice(k,this.prevI)+`
`,k=this.i,N=10;break;case-1:return this.text+=S.slice(k),!1}if(N===j)return this.text+=S.slice(k,this.prevI),!0}}captureNameChars(){const{chunk:j,i:k}=this;for(;;){const S=this.getCode();if(S===-1)return this.name+=j.slice(k),-1;if(!f(S))return this.name+=j.slice(k,this.prevI),S===-2?10:S}}skipSpaces(){for(;;){const j=this.getCodeNorm();if(j===-1||!o(j))return j}}setXMLVersion(j){this.currentXMLVersion=j,j===&quot;1.0&quot;?(this.isChar=s,this.getCode=this.getCode10):(this.isChar=p,this.getCode=this.getCode11)}sBegin(){this.chunk.charCodeAt(0)===65279&amp;&amp;(this.i++,this.column++),this.state=1}sBeginWhitespace(){const j=this.i,k=this.skipSpaces();switch(this.prevI!==j&amp;&amp;(this.xmlDeclPossible=!1),k){case 60:if(this.state=15,this.text.length!==0)throw new Error(&quot;no-empty text at start&quot;);break;case-1:break;default:this.unget(),this.state=13,this.xmlDeclPossible=!1}}sDoctype(){var j;const k=this.captureTo(L);switch(k){case 62:(j=this.doctypeHandler)===null||j===void 0||j.call(this,this.text),this.text=&quot;&quot;,this.state=13,this.doctype=!0;break;case-1:break;default:this.text+=String.fromCodePoint(k),k===91?this.state=4:R(k)&amp;&amp;(this.state=3,this.q=k)}}sDoctypeQuote(){const j=this.q;this.captureToChar(j)&amp;&amp;(this.text+=String.fromCodePoint(j),this.q=null,this.state=2)}sDTD(){const j=this.captureTo(q);j!==-1&amp;&amp;(this.text+=String.fromCodePoint(j),j===93?this.state=2:j===60?this.state=6:R(j)&amp;&amp;(this.state=5,this.q=j))}sDTDQuoted(){const j=this.q;this.captureToChar(j)&amp;&amp;(this.text+=String.fromCodePoint(j),this.state=4,this.q=null)}sDTDOpenWaka(){const j=this.getCodeNorm();switch(this.text+=String.fromCodePoint(j),j){case 33:this.state=7,this.openWakaBang=&quot;&quot;;break;case 63:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){const j=String.fromCodePoint(this.getCodeNorm()),k=this.openWakaBang+=j;this.text+=j,k!==&quot;-&quot;&amp;&amp;(this.state=k===&quot;--&quot;?8:4,this.openWakaBang=&quot;&quot;)}sDTDComment(){this.captureToChar(45)&amp;&amp;(this.text+=&quot;-&quot;,this.state=9)}sDTDCommentEnding(){const j=this.getCodeNorm();this.text+=String.fromCodePoint(j),this.state=j===45?10:8}sDTDCommentEnded(){const j=this.getCodeNorm();this.text+=String.fromCodePoint(j),j===62?this.state=4:(this.fail(&quot;malformed comment.&quot;),this.state=8)}sDTDPI(){this.captureToChar(63)&amp;&amp;(this.text+=&quot;?&quot;,this.state=12)}sDTDPIEnding(){const j=this.getCodeNorm();this.text+=String.fromCodePoint(j),j===62&amp;&amp;(this.state=4)}sText(){this.tags.length!==0?this.handleTextInRoot():this.handleTextOutsideRoot()}sEntity(){let{i:j}=this;const{chunk:k}=this;e:for(;;)switch(this.getCode()){case-2:this.entity+=k.slice(j,this.prevI)+`
`,j=this.i;break;case 59:{const{entityReturnState:S}=this,N=this.entity+k.slice(j,this.prevI);let M;this.state=S,N===&quot;&quot;?(this.fail(&quot;empty entity name.&quot;),M=&quot;&amp;;&quot;):(M=this.parseEntity(N),this.entity=&quot;&quot;),S===13&amp;&amp;this.textHandler===void 0||(this.text+=M);break e}case-1:this.entity+=k.slice(j);break e}}sOpenWaka(){const j=this.getCode();if(c(j))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(j){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang=&quot;&quot;,this.xmlDeclPossible=!1;break;case 63:this.state=23;break;default:this.fail(&quot;disallowed character in tag name&quot;),this.state=13,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case&quot;[CDATA[&quot;:this.sawRoot||this.reportedTextBeforeRoot||(this.fail(&quot;text data outside of root node.&quot;),this.reportedTextBeforeRoot=!0),this.closedRoot&amp;&amp;!this.reportedTextAfterRoot&amp;&amp;(this.fail(&quot;text data outside of root node.&quot;),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang=&quot;&quot;;break;case&quot;--&quot;:this.state=17,this.openWakaBang=&quot;&quot;;break;case&quot;DOCTYPE&quot;:this.state=2,(this.doctype||this.sawRoot)&amp;&amp;this.fail(&quot;inappropriately located doctype declaration.&quot;),this.openWakaBang=&quot;&quot;;break;default:this.openWakaBang.length&gt;=7&amp;&amp;this.fail(&quot;incorrect syntax.&quot;)}}sComment(){this.captureToChar(45)&amp;&amp;(this.state=18)}sCommentEnding(){var j;const k=this.getCodeNorm();k===45?(this.state=19,(j=this.commentHandler)===null||j===void 0||j.call(this,this.text),this.text=&quot;&quot;):(this.text+=&quot;-&quot;+String.fromCodePoint(k),this.state=17)}sCommentEnded(){const j=this.getCodeNorm();j!==62?(this.fail(&quot;malformed comment.&quot;),this.text+=&quot;--&quot;+String.fromCodePoint(j),this.state=17):this.state=13}sCData(){this.captureToChar(93)&amp;&amp;(this.state=21)}sCDataEnding(){const j=this.getCodeNorm();j===93?this.state=22:(this.text+=&quot;]&quot;+String.fromCodePoint(j),this.state=20)}sCDataEnding2(){var j;const k=this.getCodeNorm();switch(k){case 62:(j=this.cdataHandler)===null||j===void 0||j.call(this,this.text),this.text=&quot;&quot;,this.state=13;break;case 93:this.text+=&quot;]&quot;;break;default:this.text+=&quot;]]&quot;+String.fromCodePoint(k),this.state=20}}sPIFirstChar(){const j=this.getCodeNorm();this.nameStartCheck(j)?(this.piTarget+=String.fromCodePoint(j),this.state=24):j===63||o(j)?(this.fail(&quot;processing instruction without a target.&quot;),this.state=j===63?26:25):(this.fail(&quot;disallowed character in processing instruction name.&quot;),this.piTarget+=String.fromCodePoint(j),this.state=24)}sPIRest(){const{chunk:j,i:k}=this;for(;;){const S=this.getCodeNorm();if(S===-1)return void(this.piTarget+=j.slice(k));if(!this.nameCheck(S)){this.piTarget+=j.slice(k,this.prevI);const N=S===63;N||o(S)?this.piTarget===&quot;xml&quot;?(this.xmlDeclPossible||this.fail(&quot;an XML declaration must be at the start of the document.&quot;),this.state=N?33:27):this.state=N?26:25:(this.fail(&quot;disallowed character in processing instruction name.&quot;),this.piTarget+=String.fromCodePoint(S));break}}}sPIBody(){if(this.text.length===0){const j=this.getCodeNorm();j===63?this.state=26:o(j)||(this.text=String.fromCodePoint(j))}else this.captureToChar(63)&amp;&amp;(this.state=26)}sPIEnding(){var j;const k=this.getCodeNorm();if(k===62){const{piTarget:S}=this;S.toLowerCase()===&quot;xml&quot;&amp;&amp;this.fail(&quot;the XML declaration must appear at the start of the document.&quot;),(j=this.piHandler)===null||j===void 0||j.call(this,{target:S,body:this.text}),this.piTarget=this.text=&quot;&quot;,this.state=13}else k===63?this.text+=&quot;?&quot;:(this.text+=&quot;?&quot;+String.fromCodePoint(k),this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){const j=this.skipSpaces();j!==63?j!==-1&amp;&amp;(this.state=28,this.name=String.fromCodePoint(j)):this.state=33}sXMLDeclName(){const j=this.captureTo(W);if(j===63)return this.state=33,this.name+=this.text,this.text=&quot;&quot;,void this.fail(&quot;XML declaration is incomplete.&quot;);if(o(j)||j===61){if(this.name+=this.text,this.text=&quot;&quot;,!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail(&quot;did not expect any more name/value pairs.&quot;);break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(&quot;expected one of &quot;+this.xmlDeclExpects.join(&quot;, &quot;))}this.state=j===61?30:29}}sXMLDeclEq(){const j=this.getCodeNorm();if(j===63)return this.state=33,void this.fail(&quot;XML declaration is incomplete.&quot;);o(j)||(j!==61&amp;&amp;this.fail(&quot;value required.&quot;),this.state=30)}sXMLDeclValueStart(){const j=this.getCodeNorm();if(j===63)return this.state=33,void this.fail(&quot;XML declaration is incomplete.&quot;);o(j)||(R(j)?this.q=j:(this.fail(&quot;value must be quoted.&quot;),this.q=32),this.state=31)}sXMLDeclValue(){const j=this.captureTo([this.q,63]);if(j===63)return this.state=33,this.text=&quot;&quot;,void this.fail(&quot;XML declaration is incomplete.&quot;);if(j===-1)return;const k=this.text;switch(this.text=&quot;&quot;,this.name){case&quot;version&quot;:{this.xmlDeclExpects=[&quot;encoding&quot;,&quot;standalone&quot;];const S=k;this.xmlDecl.version=S,/^1\.[0-9]+$/.test(S)?this.opt.forceXMLVersion||this.setXMLVersion(S):this.fail(&quot;version number must match /^1\\.[0-9]+$/.&quot;);break}case&quot;encoding&quot;:/^[A-Za-z][A-Za-z0-9._-]*$/.test(k)||this.fail(&quot;encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/.&quot;),this.xmlDeclExpects=[&quot;standalone&quot;],this.xmlDecl.encoding=k;break;case&quot;standalone&quot;:k!==&quot;yes&quot;&amp;&amp;k!==&quot;no&quot;&amp;&amp;this.fail(&#039;standalone value must match &quot;yes&quot; or &quot;no&quot;.&#039;),this.xmlDeclExpects=[],this.xmlDecl.standalone=k}this.name=&quot;&quot;,this.state=32}sXMLDeclSeparator(){const j=this.getCodeNorm();j!==63?(o(j)||(this.fail(&quot;whitespace required.&quot;),this.unget()),this.state=27):this.state=33}sXMLDeclEnding(){var j;this.getCodeNorm()===62?(this.piTarget!==&quot;xml&quot;?this.fail(&quot;processing instructions are not allowed before root.&quot;):this.name!==&quot;version&quot;&amp;&amp;this.xmlDeclExpects.includes(&quot;version&quot;)&amp;&amp;this.fail(&quot;XML declaration must contain a version.&quot;),(j=this.xmldeclHandler)===null||j===void 0||j.call(this,this.xmlDecl),this.name=&quot;&quot;,this.piTarget=this.text=&quot;&quot;,this.state=13):this.fail(&quot;The character ? is disallowed anywhere in XML declarations.&quot;),this.xmlDeclPossible=!1}sOpenTag(){var j;const k=this.captureNameChars();if(k===-1)return;const S=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name=&quot;&quot;,this.xmlnsOpt&amp;&amp;(this.topNS=S.ns=Object.create(null)),(j=this.openTagStartHandler)===null||j===void 0||j.call(this,S),this.sawRoot=!0,!this.fragmentOpt&amp;&amp;this.closedRoot&amp;&amp;this.fail(&quot;documents may contain only one root.&quot;),k){case 62:this.openTag();break;case 47:this.state=35;break;default:o(k)||this.fail(&quot;disallowed character in tag name.&quot;),this.state=36}}sOpenTagSlash(){this.getCode()===62?this.openSelfClosingTag():(this.fail(&quot;forward-slash in opening tag not followed by &gt;.&quot;),this.state=36)}sAttrib(){const j=this.skipSpaces();j!==-1&amp;&amp;(c(j)?(this.unget(),this.state=37):j===62?this.openTag():j===47?this.state=35:this.fail(&quot;disallowed character in attribute name.&quot;))}sAttribName(){const j=this.captureNameChars();j===61?this.state=39:o(j)?this.state=38:j===62?(this.fail(&quot;attribute without value.&quot;),this.pushAttrib(this.name,this.name),this.name=this.text=&quot;&quot;,this.openTag()):j!==-1&amp;&amp;this.fail(&quot;disallowed character in attribute name.&quot;)}sAttribNameSawWhite(){const j=this.skipSpaces();switch(j){case-1:return;case 61:this.state=39;break;default:this.fail(&quot;attribute without value.&quot;),this.text=&quot;&quot;,this.name=&quot;&quot;,j===62?this.openTag():c(j)?(this.unget(),this.state=37):(this.fail(&quot;disallowed character in attribute name.&quot;),this.state=36)}}sAttribValue(){const j=this.getCodeNorm();R(j)?(this.q=j,this.state=40):o(j)||(this.fail(&quot;unquoted attribute value.&quot;),this.state=42,this.unget())}sAttribValueQuoted(){const{q:j,chunk:k}=this;let{i:S}=this;for(;;)switch(this.getCode()){case j:return this.pushAttrib(this.name,this.text+k.slice(S,this.prevI)),this.name=this.text=&quot;&quot;,this.q=null,void(this.state=41);case 38:return this.text+=k.slice(S,this.prevI),this.state=14,void(this.entityReturnState=40);case 10:case-2:case 9:this.text+=k.slice(S,this.prevI)+&quot; &quot;,S=this.i;break;case 60:return this.text+=k.slice(S,this.prevI),void this.fail(&quot;disallowed character.&quot;);case-1:return void(this.text+=k.slice(S))}}sAttribValueClosed(){const j=this.getCodeNorm();o(j)?this.state=36:j===62?this.openTag():j===47?this.state=35:c(j)?(this.fail(&quot;no whitespace between attributes.&quot;),this.unget(),this.state=37):this.fail(&quot;disallowed character in attribute name.&quot;)}sAttribValueUnquoted(){const j=this.captureTo(K);switch(j){case 38:this.state=14,this.entityReturnState=42;break;case 60:this.fail(&quot;disallowed character.&quot;);break;case-1:break;default:this.text.includes(&quot;]]&gt;&quot;)&amp;&amp;this.fail(&#039;the string &quot;]]&gt;&quot; is disallowed in char data.&#039;),this.pushAttrib(this.name,this.text),this.name=this.text=&quot;&quot;,j===62?this.openTag():this.state=36}}sCloseTag(){const j=this.captureNameChars();j===62?this.closeTag():o(j)?this.state=44:j!==-1&amp;&amp;this.fail(&quot;disallowed character in closing tag.&quot;)}sCloseTagSawWhite(){switch(this.skipSpaces()){case 62:this.closeTag();break;case-1:break;default:this.fail(&quot;disallowed character in closing tag.&quot;)}}handleTextInRoot(){let{i:j,forbiddenState:k}=this;const{chunk:S,textHandler:N}=this;e:for(;;)switch(this.getCode()){case 60:if(this.state=15,N!==void 0){const{text:M}=this,I=S.slice(j,this.prevI);M.length!==0?(N(M+I),this.text=&quot;&quot;):I.length!==0&amp;&amp;N(I)}k=0;break e;case 38:this.state=14,this.entityReturnState=13,N!==void 0&amp;&amp;(this.text+=S.slice(j,this.prevI)),k=0;break e;case 93:switch(k){case 0:k=1;break;case 1:k=2;break;case 2:break;default:throw new Error(&quot;impossible state&quot;)}break;case 62:k===2&amp;&amp;this.fail(&#039;the string &quot;]]&gt;&quot; is disallowed in char data.&#039;),k=0;break;case-2:N!==void 0&amp;&amp;(this.text+=S.slice(j,this.prevI)+`
`),j=this.i,k=0;break;case-1:N!==void 0&amp;&amp;(this.text+=S.slice(j));break e;default:k=0}this.forbiddenState=k}handleTextOutsideRoot(){let{i:j}=this;const{chunk:k,textHandler:S}=this;let N=!1;e:for(;;){const M=this.getCode();switch(M){case 60:if(this.state=15,S!==void 0){const{text:I}=this,B=k.slice(j,this.prevI);I.length!==0?(S(I+B),this.text=&quot;&quot;):B.length!==0&amp;&amp;S(B)}break e;case 38:this.state=14,this.entityReturnState=13,S!==void 0&amp;&amp;(this.text+=k.slice(j,this.prevI)),N=!0;break e;case-2:S!==void 0&amp;&amp;(this.text+=k.slice(j,this.prevI)+`
`),j=this.i;break;case-1:S!==void 0&amp;&amp;(this.text+=k.slice(j));break e;default:o(M)||(N=!0)}}N&amp;&amp;(this.sawRoot||this.reportedTextBeforeRoot||(this.fail(&quot;text data outside of root node.&quot;),this.reportedTextBeforeRoot=!0),this.closedRoot&amp;&amp;!this.reportedTextAfterRoot&amp;&amp;(this.fail(&quot;text data outside of root node.&quot;),this.reportedTextAfterRoot=!0))}pushAttribNS(j,k){var S;const{prefix:N,local:M}=this.qname(j),I={name:j,prefix:N,local:M,value:k};if(this.attribList.push(I),(S=this.attributeHandler)===null||S===void 0||S.call(this,I),N===&quot;xmlns&quot;){const B=k.trim();this.currentXMLVersion===&quot;1.0&quot;&amp;&amp;B===&quot;&quot;&amp;&amp;this.fail(&quot;invalid attempt to undefine prefix in XML 1.0&quot;),this.topNS[M]=B,U(this,M,B)}else if(j===&quot;xmlns&quot;){const B=k.trim();this.topNS[&quot;&quot;]=B,U(this,&quot;&quot;,B)}}pushAttribPlain(j,k){var S;const N={name:j,value:k};this.attribList.push(N),(S=this.attributeHandler)===null||S===void 0||S.call(this,N)}end(){var j,k;this.sawRoot||this.fail(&quot;document must contain a root element.&quot;);const{tags:S}=this;for(;S.length&gt;0;){const M=S.pop();this.fail(&quot;unclosed tag: &quot;+M.name)}this.state!==0&amp;&amp;this.state!==13&amp;&amp;this.fail(&quot;unexpected end.&quot;);const{text:N}=this;return N.length!==0&amp;&amp;((j=this.textHandler)===null||j===void 0||j.call(this,N),this.text=&quot;&quot;),this._closed=!0,(k=this.endHandler)===null||k===void 0||k.call(this),this._init(),this}resolve(j){var k,S;let N=this.topNS[j];if(N!==void 0)return N;const{tags:M}=this;for(let I=M.length-1;I&gt;=0;I--)if(N=M[I].ns[j],N!==void 0)return N;return N=this.ns[j],N!==void 0?N:(S=(k=this.opt).resolvePrefix)===null||S===void 0?void 0:S.call(k,j)}qname(j){const k=j.indexOf(&quot;:&quot;);if(k===-1)return{prefix:&quot;&quot;,local:j};const S=j.slice(k+1),N=j.slice(0,k);return(N===&quot;&quot;||S===&quot;&quot;||S.includes(&quot;:&quot;))&amp;&amp;this.fail(`malformed name: ${j}.`),{prefix:N,local:S}}processAttribsNS(){var j;const{attribList:k}=this,S=this.tag;{const{prefix:I,local:B}=this.qname(S.name);S.prefix=I,S.local=B;const Y=S.uri=(j=this.resolve(I))!==null&amp;&amp;j!==void 0?j:&quot;&quot;;I!==&quot;&quot;&amp;&amp;(I===&quot;xmlns&quot;&amp;&amp;this.fail(&#039;tags may not have &quot;xmlns&quot; as prefix.&#039;),Y===&quot;&quot;&amp;&amp;(this.fail(`unbound namespace prefix: ${JSON.stringify(I)}.`),S.uri=I))}if(k.length===0)return;const{attributes:N}=S,M=new Set;for(const I of k){const{name:B,prefix:Y,local:Z}=I;let ie,$;Y===&quot;&quot;?(ie=B===&quot;xmlns&quot;?_:&quot;&quot;,$=B):(ie=this.resolve(Y),ie===void 0&amp;&amp;(this.fail(`unbound namespace prefix: ${JSON.stringify(Y)}.`),ie=Y),$=`{${ie}}${Z}`),M.has($)&amp;&amp;this.fail(`duplicate attribute: ${$}.`),M.add($),I.uri=ie,N[B]=I}this.attribList=[]}processAttribsPlain(){const{attribList:j}=this,k=this.tag.attributes;for(const{name:S,value:N}of j)k[S]!==void 0&amp;&amp;this.fail(`duplicate attribute: ${S}.`),k[S]=N;this.attribList=[]}openTag(){var j;this.processAttribs();const{tags:k}=this,S=this.tag;S.isSelfClosing=!1,(j=this.openTagHandler)===null||j===void 0||j.call(this,S),k.push(S),this.state=13,this.name=&quot;&quot;}openSelfClosingTag(){var j,k,S;this.processAttribs();const{tags:N}=this,M=this.tag;M.isSelfClosing=!0,(j=this.openTagHandler)===null||j===void 0||j.call(this,M),(k=this.closeTagHandler)===null||k===void 0||k.call(this,M),(this.tag=(S=N[N.length-1])!==null&amp;&amp;S!==void 0?S:null)===null&amp;&amp;(this.closedRoot=!0),this.state=13,this.name=&quot;&quot;}closeTag(){const{tags:j,name:k}=this;if(this.state=13,this.name=&quot;&quot;,k===&quot;&quot;)return this.fail(&quot;weird empty close tag.&quot;),void(this.text+=&quot;&lt;/&gt;&quot;);const S=this.closeTagHandler;let N=j.length;for(;N-- &gt;0;){const M=this.tag=j.pop();if(this.topNS=M.ns,S?.(M),M.name===k)break;this.fail(&quot;unexpected close tag.&quot;)}N===0?this.closedRoot=!0:N&lt;0&amp;&amp;(this.fail(`unmatched closing tag: ${k}.`),this.text+=`&lt;/${k}&gt;`)}parseEntity(j){if(j[0]!==&quot;#&quot;){const S=this.ENTITIES[j];return S!==void 0?S:(this.fail(this.isName(j)?&quot;undefined entity.&quot;:&quot;disallowed character in entity name.&quot;),`&amp;${j};`)}let k=NaN;return j[1]===&quot;x&quot;&amp;&amp;/^#x[0-9a-f]+$/i.test(j)?k=parseInt(j.slice(2),16):/^#[0-9]+$/.test(j)&amp;&amp;(k=parseInt(j.slice(1),10)),this.isChar(k)?String.fromCodePoint(k):(this.fail(&quot;malformed character entity.&quot;),`&amp;${j};`)}}},{&quot;xmlchars/xml/1.0/ed5&quot;:543,&quot;xmlchars/xml/1.1/ed2&quot;:544,&quot;xmlchars/xmlns/1.0/ed3&quot;:545}],497:[function(t,n,l){var i=t(&quot;safe-buffer&quot;).Buffer;function a(u,o){this._block=i.alloc(u),this._finalSize=o,this._blockSize=u,this._len=0}a.prototype.update=function(u,o){typeof u==&quot;string&quot;&amp;&amp;(o=o||&quot;utf8&quot;,u=i.from(u,o));for(var s=this._block,c=this._blockSize,f=u.length,h=this._len,m=0;m&lt;f;){for(var p=h%c,v=Math.min(f-m,c-p),g=0;g&lt;v;g++)s[p+g]=u[m+g];m+=v,(h+=v)%c==0&amp;&amp;this._update(s)}return this._len+=f,this},a.prototype.digest=function(u){var o=this._len%this._blockSize;this._block[o]=128,this._block.fill(0,o+1),o&gt;=this._finalSize&amp;&amp;(this._update(this._block),this._block.fill(0));var s=8*this._len;if(s&lt;=4294967295)this._block.writeUInt32BE(s,this._blockSize-4);else{var c=(4294967295&amp;s)&gt;&gt;&gt;0,f=(s-c)/4294967296;this._block.writeUInt32BE(f,this._blockSize-8),this._block.writeUInt32BE(c,this._blockSize-4)}this._update(this._block);var h=this._hash();return u?h.toString(u):h},a.prototype._update=function(){throw new Error(&quot;_update must be implemented by subclass&quot;)},n.exports=a},{&quot;safe-buffer&quot;:494}],498:[function(t,n,l){var i=n.exports=function(a){a=a.toLowerCase();var u=i[a];if(!u)throw new Error(a+&quot; is not supported (we accept pull requests)&quot;);return new u};i.sha=t(&quot;./sha&quot;),i.sha1=t(&quot;./sha1&quot;),i.sha224=t(&quot;./sha224&quot;),i.sha256=t(&quot;./sha256&quot;),i.sha384=t(&quot;./sha384&quot;),i.sha512=t(&quot;./sha512&quot;)},{&quot;./sha&quot;:499,&quot;./sha1&quot;:500,&quot;./sha224&quot;:501,&quot;./sha256&quot;:502,&quot;./sha384&quot;:503,&quot;./sha512&quot;:504}],499:[function(t,n,l){var i=t(&quot;inherits&quot;),a=t(&quot;./hash&quot;),u=t(&quot;safe-buffer&quot;).Buffer,o=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,a.call(this,64,56)}function f(m){return m&lt;&lt;30|m&gt;&gt;&gt;2}function h(m,p,v,g){return m===0?p&amp;v|~p&amp;g:m===2?p&amp;v|p&amp;g|v&amp;g:p^v^g}i(c,a),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(m){for(var p,v=this._w,g=0|this._a,b=0|this._b,x=0|this._c,_=0|this._d,C=0|this._e,O=0;O&lt;16;++O)v[O]=m.readInt32BE(4*O);for(;O&lt;80;++O)v[O]=v[O-3]^v[O-8]^v[O-14]^v[O-16];for(var R=0;R&lt;80;++R){var H=~~(R/20),L=0|((p=g)&lt;&lt;5|p&gt;&gt;&gt;27)+h(H,b,x,_)+C+v[R]+o[H];C=_,_=x,x=f(b),b=g,g=L}this._a=g+this._a|0,this._b=b+this._b|0,this._c=x+this._c|0,this._d=_+this._d|0,this._e=C+this._e|0},c.prototype._hash=function(){var m=u.allocUnsafe(20);return m.writeInt32BE(0|this._a,0),m.writeInt32BE(0|this._b,4),m.writeInt32BE(0|this._c,8),m.writeInt32BE(0|this._d,12),m.writeInt32BE(0|this._e,16),m},n.exports=c},{&quot;./hash&quot;:497,inherits:440,&quot;safe-buffer&quot;:494}],500:[function(t,n,l){var i=t(&quot;inherits&quot;),a=t(&quot;./hash&quot;),u=t(&quot;safe-buffer&quot;).Buffer,o=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,a.call(this,64,56)}function f(p){return p&lt;&lt;5|p&gt;&gt;&gt;27}function h(p){return p&lt;&lt;30|p&gt;&gt;&gt;2}function m(p,v,g,b){return p===0?v&amp;g|~v&amp;b:p===2?v&amp;g|v&amp;b|g&amp;b:v^g^b}i(c,a),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(p){for(var v,g=this._w,b=0|this._a,x=0|this._b,_=0|this._c,C=0|this._d,O=0|this._e,R=0;R&lt;16;++R)g[R]=p.readInt32BE(4*R);for(;R&lt;80;++R)g[R]=(v=g[R-3]^g[R-8]^g[R-14]^g[R-16])&lt;&lt;1|v&gt;&gt;&gt;31;for(var H=0;H&lt;80;++H){var L=~~(H/20),q=f(b)+m(L,x,_,C)+O+g[H]+o[L]|0;O=C,C=_,_=h(x),x=b,b=q}this._a=b+this._a|0,this._b=x+this._b|0,this._c=_+this._c|0,this._d=C+this._d|0,this._e=O+this._e|0},c.prototype._hash=function(){var p=u.allocUnsafe(20);return p.writeInt32BE(0|this._a,0),p.writeInt32BE(0|this._b,4),p.writeInt32BE(0|this._c,8),p.writeInt32BE(0|this._d,12),p.writeInt32BE(0|this._e,16),p},n.exports=c},{&quot;./hash&quot;:497,inherits:440,&quot;safe-buffer&quot;:494}],501:[function(t,n,l){var i=t(&quot;inherits&quot;),a=t(&quot;./sha256&quot;),u=t(&quot;./hash&quot;),o=t(&quot;safe-buffer&quot;).Buffer,s=new Array(64);function c(){this.init(),this._w=s,u.call(this,64,56)}i(c,a),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var f=o.allocUnsafe(28);return f.writeInt32BE(this._a,0),f.writeInt32BE(this._b,4),f.writeInt32BE(this._c,8),f.writeInt32BE(this._d,12),f.writeInt32BE(this._e,16),f.writeInt32BE(this._f,20),f.writeInt32BE(this._g,24),f},n.exports=c},{&quot;./hash&quot;:497,&quot;./sha256&quot;:502,inherits:440,&quot;safe-buffer&quot;:494}],502:[function(t,n,l){var i=t(&quot;inherits&quot;),a=t(&quot;./hash&quot;),u=t(&quot;safe-buffer&quot;).Buffer,o=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function c(){this.init(),this._w=s,a.call(this,64,56)}function f(g,b,x){return x^g&amp;(b^x)}function h(g,b,x){return g&amp;b|x&amp;(g|b)}function m(g){return(g&gt;&gt;&gt;2|g&lt;&lt;30)^(g&gt;&gt;&gt;13|g&lt;&lt;19)^(g&gt;&gt;&gt;22|g&lt;&lt;10)}function p(g){return(g&gt;&gt;&gt;6|g&lt;&lt;26)^(g&gt;&gt;&gt;11|g&lt;&lt;21)^(g&gt;&gt;&gt;25|g&lt;&lt;7)}function v(g){return(g&gt;&gt;&gt;7|g&lt;&lt;25)^(g&gt;&gt;&gt;18|g&lt;&lt;14)^g&gt;&gt;&gt;3}i(c,a),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(g){for(var b,x=this._w,_=0|this._a,C=0|this._b,O=0|this._c,R=0|this._d,H=0|this._e,L=0|this._f,q=0|this._g,W=0|this._h,K=0;K&lt;16;++K)x[K]=g.readInt32BE(4*K);for(;K&lt;64;++K)x[K]=0|(((b=x[K-2])&gt;&gt;&gt;17|b&lt;&lt;15)^(b&gt;&gt;&gt;19|b&lt;&lt;13)^b&gt;&gt;&gt;10)+x[K-7]+v(x[K-15])+x[K-16];for(var U=0;U&lt;64;++U){var P=W+p(H)+f(H,L,q)+o[U]+x[U]|0,D=m(_)+h(_,C,O)|0;W=q,q=L,L=H,H=R+P|0,R=O,O=C,C=_,_=P+D|0}this._a=_+this._a|0,this._b=C+this._b|0,this._c=O+this._c|0,this._d=R+this._d|0,this._e=H+this._e|0,this._f=L+this._f|0,this._g=q+this._g|0,this._h=W+this._h|0},c.prototype._hash=function(){var g=u.allocUnsafe(32);return g.writeInt32BE(this._a,0),g.writeInt32BE(this._b,4),g.writeInt32BE(this._c,8),g.writeInt32BE(this._d,12),g.writeInt32BE(this._e,16),g.writeInt32BE(this._f,20),g.writeInt32BE(this._g,24),g.writeInt32BE(this._h,28),g},n.exports=c},{&quot;./hash&quot;:497,inherits:440,&quot;safe-buffer&quot;:494}],503:[function(t,n,l){var i=t(&quot;inherits&quot;),a=t(&quot;./sha512&quot;),u=t(&quot;./hash&quot;),o=t(&quot;safe-buffer&quot;).Buffer,s=new Array(160);function c(){this.init(),this._w=s,u.call(this,128,112)}i(c,a),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var f=o.allocUnsafe(48);function h(m,p,v){f.writeInt32BE(m,v),f.writeInt32BE(p,v+4)}return h(this._ah,this._al,0),h(this._bh,this._bl,8),h(this._ch,this._cl,16),h(this._dh,this._dl,24),h(this._eh,this._el,32),h(this._fh,this._fl,40),f},n.exports=c},{&quot;./hash&quot;:497,&quot;./sha512&quot;:504,inherits:440,&quot;safe-buffer&quot;:494}],504:[function(t,n,l){var i=t(&quot;inherits&quot;),a=t(&quot;./hash&quot;),u=t(&quot;safe-buffer&quot;).Buffer,o=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function c(){this.init(),this._w=s,a.call(this,128,112)}function f(C,O,R){return R^C&amp;(O^R)}function h(C,O,R){return C&amp;O|R&amp;(C|O)}function m(C,O){return(C&gt;&gt;&gt;28|O&lt;&lt;4)^(O&gt;&gt;&gt;2|C&lt;&lt;30)^(O&gt;&gt;&gt;7|C&lt;&lt;25)}function p(C,O){return(C&gt;&gt;&gt;14|O&lt;&lt;18)^(C&gt;&gt;&gt;18|O&lt;&lt;14)^(O&gt;&gt;&gt;9|C&lt;&lt;23)}function v(C,O){return(C&gt;&gt;&gt;1|O&lt;&lt;31)^(C&gt;&gt;&gt;8|O&lt;&lt;24)^C&gt;&gt;&gt;7}function g(C,O){return(C&gt;&gt;&gt;1|O&lt;&lt;31)^(C&gt;&gt;&gt;8|O&lt;&lt;24)^(C&gt;&gt;&gt;7|O&lt;&lt;25)}function b(C,O){return(C&gt;&gt;&gt;19|O&lt;&lt;13)^(O&gt;&gt;&gt;29|C&lt;&lt;3)^C&gt;&gt;&gt;6}function x(C,O){return(C&gt;&gt;&gt;19|O&lt;&lt;13)^(O&gt;&gt;&gt;29|C&lt;&lt;3)^(C&gt;&gt;&gt;6|O&lt;&lt;26)}function _(C,O){return C&gt;&gt;&gt;0&lt;O&gt;&gt;&gt;0?1:0}i(c,a),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(C){for(var O=this._w,R=0|this._ah,H=0|this._bh,L=0|this._ch,q=0|this._dh,W=0|this._eh,K=0|this._fh,U=0|this._gh,P=0|this._hh,D=0|this._al,E=0|this._bl,j=0|this._cl,k=0|this._dl,S=0|this._el,N=0|this._fl,M=0|this._gl,I=0|this._hl,B=0;B&lt;32;B+=2)O[B]=C.readInt32BE(4*B),O[B+1]=C.readInt32BE(4*B+4);for(;B&lt;160;B+=2){var Y=O[B-30],Z=O[B-30+1],ie=v(Y,Z),$=g(Z,Y),ee=b(Y=O[B-4],Z=O[B-4+1]),z=x(Z,Y),T=O[B-14],X=O[B-14+1],re=O[B-32],ne=O[B-32+1],Q=$+X|0,te=ie+T+_(Q,$)|0;te=(te=te+ee+_(Q=Q+z|0,z)|0)+re+_(Q=Q+ne|0,ne)|0,O[B]=te,O[B+1]=Q}for(var de=0;de&lt;160;de+=2){te=O[de],Q=O[de+1];var oe=h(R,H,L),se=h(D,E,j),fe=m(R,D),he=m(D,R),ce=p(W,S),ge=p(S,W),ye=o[de],pe=o[de+1],le=f(W,K,U),Ce=f(S,N,M),Ae=I+ge|0,je=P+ce+_(Ae,I)|0;je=(je=(je=je+le+_(Ae=Ae+Ce|0,Ce)|0)+ye+_(Ae=Ae+pe|0,pe)|0)+te+_(Ae=Ae+Q|0,Q)|0;var Pe=he+se|0,Qe=fe+oe+_(Pe,he)|0;P=U,I=M,U=K,M=N,K=W,N=S,W=q+je+_(S=k+Ae|0,k)|0,q=L,k=j,L=H,j=E,H=R,E=D,R=je+Qe+_(D=Ae+Pe|0,Ae)|0}this._al=this._al+D|0,this._bl=this._bl+E|0,this._cl=this._cl+j|0,this._dl=this._dl+k|0,this._el=this._el+S|0,this._fl=this._fl+N|0,this._gl=this._gl+M|0,this._hl=this._hl+I|0,this._ah=this._ah+R+_(this._al,D)|0,this._bh=this._bh+H+_(this._bl,E)|0,this._ch=this._ch+L+_(this._cl,j)|0,this._dh=this._dh+q+_(this._dl,k)|0,this._eh=this._eh+W+_(this._el,S)|0,this._fh=this._fh+K+_(this._fl,N)|0,this._gh=this._gh+U+_(this._gl,M)|0,this._hh=this._hh+P+_(this._hl,I)|0},c.prototype._hash=function(){var C=u.allocUnsafe(64);function O(R,H,L){C.writeInt32BE(R,L),C.writeInt32BE(H,L+4)}return O(this._ah,this._al,0),O(this._bh,this._bl,8),O(this._ch,this._cl,16),O(this._dh,this._dl,24),O(this._eh,this._el,32),O(this._fh,this._fl,40),O(this._gh,this._gl,48),O(this._hh,this._hl,56),C},n.exports=c},{&quot;./hash&quot;:497,inherits:440,&quot;safe-buffer&quot;:494}],505:[function(t,n,l){n.exports=a;var i=t(&quot;events&quot;).EventEmitter;function a(){i.call(this)}t(&quot;inherits&quot;)(a,i),a.Readable=t(&quot;readable-stream/readable.js&quot;),a.Writable=t(&quot;readable-stream/writable.js&quot;),a.Duplex=t(&quot;readable-stream/duplex.js&quot;),a.Transform=t(&quot;readable-stream/transform.js&quot;),a.PassThrough=t(&quot;readable-stream/passthrough.js&quot;),a.Stream=a,a.prototype.pipe=function(u,o){var s=this;function c(b){u.writable&amp;&amp;u.write(b)===!1&amp;&amp;s.pause&amp;&amp;s.pause()}function f(){s.readable&amp;&amp;s.resume&amp;&amp;s.resume()}s.on(&quot;data&quot;,c),u.on(&quot;drain&quot;,f),u._isStdio||o&amp;&amp;o.end===!1||(s.on(&quot;end&quot;,m),s.on(&quot;close&quot;,p));var h=!1;function m(){h||(h=!0,u.end())}function p(){h||(h=!0,typeof u.destroy==&quot;function&quot;&amp;&amp;u.destroy())}function v(b){if(g(),i.listenerCount(this,&quot;error&quot;)===0)throw b}function g(){s.removeListener(&quot;data&quot;,c),u.removeListener(&quot;drain&quot;,f),s.removeListener(&quot;end&quot;,m),s.removeListener(&quot;close&quot;,p),s.removeListener(&quot;error&quot;,v),u.removeListener(&quot;error&quot;,v),s.removeListener(&quot;end&quot;,g),s.removeListener(&quot;close&quot;,g),u.removeListener(&quot;close&quot;,g)}return s.on(&quot;error&quot;,v),u.on(&quot;error&quot;,v),s.on(&quot;end&quot;,g),s.on(&quot;close&quot;,g),u.on(&quot;close&quot;,g),u.emit(&quot;pipe&quot;,s),u}},{events:422,inherits:440,&quot;readable-stream/duplex.js&quot;:507,&quot;readable-stream/passthrough.js&quot;:516,&quot;readable-stream/readable.js&quot;:517,&quot;readable-stream/transform.js&quot;:518,&quot;readable-stream/writable.js&quot;:519}],506:[function(t,n,l){var i={}.toString;n.exports=Array.isArray||function(a){return i.call(a)==&quot;[object Array]&quot;}},{}],507:[function(t,n,l){n.exports=t(&quot;./lib/_stream_duplex.js&quot;)},{&quot;./lib/_stream_duplex.js&quot;:508}],508:[function(t,n,l){var i=t(&quot;process-nextick-args&quot;),a=Object.keys||function(g){var b=[];for(var x in g)b.push(x);return b};n.exports=m;var u=Object.create(t(&quot;core-util-is&quot;));u.inherits=t(&quot;inherits&quot;);var o=t(&quot;./_stream_readable&quot;),s=t(&quot;./_stream_writable&quot;);u.inherits(m,o);for(var c=a(s.prototype),f=0;f&lt;c.length;f++){var h=c[f];m.prototype[h]||(m.prototype[h]=s.prototype[h])}function m(g){if(!(this instanceof m))return new m(g);o.call(this,g),s.call(this,g),g&amp;&amp;g.readable===!1&amp;&amp;(this.readable=!1),g&amp;&amp;g.writable===!1&amp;&amp;(this.writable=!1),this.allowHalfOpen=!0,g&amp;&amp;g.allowHalfOpen===!1&amp;&amp;(this.allowHalfOpen=!1),this.once(&quot;end&quot;,p)}function p(){this.allowHalfOpen||this._writableState.ended||i.nextTick(v,this)}function v(g){g.end()}Object.defineProperty(m.prototype,&quot;writableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(m.prototype,&quot;destroyed&quot;,{get:function(){return this._readableState!==void 0&amp;&amp;this._writableState!==void 0&amp;&amp;this._readableState.destroyed&amp;&amp;this._writableState.destroyed},set:function(g){this._readableState!==void 0&amp;&amp;this._writableState!==void 0&amp;&amp;(this._readableState.destroyed=g,this._writableState.destroyed=g)}}),m.prototype._destroy=function(g,b){this.push(null),this.end(),i.nextTick(b,g)}},{&quot;./_stream_readable&quot;:510,&quot;./_stream_writable&quot;:512,&quot;core-util-is&quot;:383,inherits:440,&quot;process-nextick-args&quot;:466}],509:[function(t,n,l){n.exports=u;var i=t(&quot;./_stream_transform&quot;),a=Object.create(t(&quot;core-util-is&quot;));function u(o){if(!(this instanceof u))return new u(o);i.call(this,o)}a.inherits=t(&quot;inherits&quot;),a.inherits(u,i),u.prototype._transform=function(o,s,c){c(null,o)}},{&quot;./_stream_transform&quot;:511,&quot;core-util-is&quot;:383,inherits:440}],510:[function(t,n,l){(function(i,a){(function(){var u=t(&quot;process-nextick-args&quot;);n.exports=R;var o,s=t(&quot;isarray&quot;);R.ReadableState=O,t(&quot;events&quot;).EventEmitter;var c=function(I,B){return I.listeners(B).length},f=t(&quot;./internal/streams/stream&quot;),h=t(&quot;safe-buffer&quot;).Buffer,m=(a!==void 0?a:typeof window&lt;&quot;u&quot;?window:typeof self&lt;&quot;u&quot;?self:{}).Uint8Array||function(){},p=Object.create(t(&quot;core-util-is&quot;));p.inherits=t(&quot;inherits&quot;);var v=t(&quot;util&quot;),g=void 0;g=v&amp;&amp;v.debuglog?v.debuglog(&quot;stream&quot;):function(){};var b,x=t(&quot;./internal/streams/BufferList&quot;),_=t(&quot;./internal/streams/destroy&quot;);p.inherits(R,f);var C=[&quot;error&quot;,&quot;close&quot;,&quot;destroy&quot;,&quot;pause&quot;,&quot;resume&quot;];function O(I,B){I=I||{};var Y=B instanceof(o=o||t(&quot;./_stream_duplex&quot;));this.objectMode=!!I.objectMode,Y&amp;&amp;(this.objectMode=this.objectMode||!!I.readableObjectMode);var Z=I.highWaterMark,ie=I.readableHighWaterMark,$=this.objectMode?16:16384;this.highWaterMark=Z||Z===0?Z:Y&amp;&amp;(ie||ie===0)?ie:$,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new x,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=I.defaultEncoding||&quot;utf8&quot;,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,I.encoding&amp;&amp;(b||(b=t(&quot;string_decoder/&quot;).StringDecoder),this.decoder=new b(I.encoding),this.encoding=I.encoding)}function R(I){if(o=o||t(&quot;./_stream_duplex&quot;),!(this instanceof R))return new R(I);this._readableState=new O(I,this),this.readable=!0,I&amp;&amp;(typeof I.read==&quot;function&quot;&amp;&amp;(this._read=I.read),typeof I.destroy==&quot;function&quot;&amp;&amp;(this._destroy=I.destroy)),f.call(this)}function H(I,B,Y,Z,ie){var $,ee=I._readableState;return B===null?(ee.reading=!1,(function(z,T){if(!T.ended){if(T.decoder){var X=T.decoder.end();X&amp;&amp;X.length&amp;&amp;(T.buffer.push(X),T.length+=T.objectMode?1:X.length)}T.ended=!0,W(z)}})(I,ee)):(ie||($=(function(z,T){var X;re=T,h.isBuffer(re)||re instanceof m||typeof T==&quot;string&quot;||T===void 0||z.objectMode||(X=new TypeError(&quot;Invalid non-string/buffer chunk&quot;));var re;return X})(ee,B)),$?I.emit(&quot;error&quot;,$):ee.objectMode||B&amp;&amp;B.length&gt;0?(typeof B==&quot;string&quot;||ee.objectMode||Object.getPrototypeOf(B)===h.prototype||(B=(function(z){return h.from(z)})(B)),Z?ee.endEmitted?I.emit(&quot;error&quot;,new Error(&quot;stream.unshift() after end event&quot;)):L(I,ee,B,!0):ee.ended?I.emit(&quot;error&quot;,new Error(&quot;stream.push() after EOF&quot;)):(ee.reading=!1,ee.decoder&amp;&amp;!Y?(B=ee.decoder.write(B),ee.objectMode||B.length!==0?L(I,ee,B,!1):U(I,ee)):L(I,ee,B,!1))):Z||(ee.reading=!1)),(function(z){return!z.ended&amp;&amp;(z.needReadable||z.length&lt;z.highWaterMark||z.length===0)})(ee)}function L(I,B,Y,Z){B.flowing&amp;&amp;B.length===0&amp;&amp;!B.sync?(I.emit(&quot;data&quot;,Y),I.read(0)):(B.length+=B.objectMode?1:Y.length,Z?B.buffer.unshift(Y):B.buffer.push(Y),B.needReadable&amp;&amp;W(I)),U(I,B)}Object.defineProperty(R.prototype,&quot;destroyed&quot;,{get:function(){return this._readableState!==void 0&amp;&amp;this._readableState.destroyed},set:function(I){this._readableState&amp;&amp;(this._readableState.destroyed=I)}}),R.prototype.destroy=_.destroy,R.prototype._undestroy=_.undestroy,R.prototype._destroy=function(I,B){this.push(null),B(I)},R.prototype.push=function(I,B){var Y,Z=this._readableState;return Z.objectMode?Y=!0:typeof I==&quot;string&quot;&amp;&amp;((B=B||Z.defaultEncoding)!==Z.encoding&amp;&amp;(I=h.from(I,B),B=&quot;&quot;),Y=!0),H(this,I,B,!1,Y)},R.prototype.unshift=function(I){return H(this,I,null,!0,!1)},R.prototype.isPaused=function(){return this._readableState.flowing===!1},R.prototype.setEncoding=function(I){return b||(b=t(&quot;string_decoder/&quot;).StringDecoder),this._readableState.decoder=new b(I),this._readableState.encoding=I,this};function q(I,B){return I&lt;=0||B.length===0&amp;&amp;B.ended?0:B.objectMode?1:I!=I?B.flowing&amp;&amp;B.length?B.buffer.head.data.length:B.length:(I&gt;B.highWaterMark&amp;&amp;(B.highWaterMark=(function(Y){return Y&gt;=8388608?Y=8388608:(Y--,Y|=Y&gt;&gt;&gt;1,Y|=Y&gt;&gt;&gt;2,Y|=Y&gt;&gt;&gt;4,Y|=Y&gt;&gt;&gt;8,Y|=Y&gt;&gt;&gt;16,Y++),Y})(I)),I&lt;=B.length?I:B.ended?B.length:(B.needReadable=!0,0))}function W(I){var B=I._readableState;B.needReadable=!1,B.emittedReadable||(g(&quot;emitReadable&quot;,B.flowing),B.emittedReadable=!0,B.sync?u.nextTick(K,I):K(I))}function K(I){g(&quot;emit readable&quot;),I.emit(&quot;readable&quot;),j(I)}function U(I,B){B.readingMore||(B.readingMore=!0,u.nextTick(P,I,B))}function P(I,B){for(var Y=B.length;!B.reading&amp;&amp;!B.flowing&amp;&amp;!B.ended&amp;&amp;B.length&lt;B.highWaterMark&amp;&amp;(g(&quot;maybeReadMore read 0&quot;),I.read(0),Y!==B.length);)Y=B.length;B.readingMore=!1}function D(I){g(&quot;readable nexttick read 0&quot;),I.read(0)}function E(I,B){B.reading||(g(&quot;resume read 0&quot;),I.read(0)),B.resumeScheduled=!1,B.awaitDrain=0,I.emit(&quot;resume&quot;),j(I),B.flowing&amp;&amp;!B.reading&amp;&amp;I.read(0)}function j(I){var B=I._readableState;for(g(&quot;flow&quot;,B.flowing);B.flowing&amp;&amp;I.read()!==null;);}function k(I,B){return B.length===0?null:(B.objectMode?Y=B.buffer.shift():!I||I&gt;=B.length?(Y=B.decoder?B.buffer.join(&quot;&quot;):B.buffer.length===1?B.buffer.head.data:B.buffer.concat(B.length),B.buffer.clear()):Y=(function(Z,ie,$){var ee;return Z&lt;ie.head.data.length?(ee=ie.head.data.slice(0,Z),ie.head.data=ie.head.data.slice(Z)):ee=Z===ie.head.data.length?ie.shift():$?(function(z,T){var X=T.head,re=1,ne=X.data;for(z-=ne.length;X=X.next;){var Q=X.data,te=z&gt;Q.length?Q.length:z;if(te===Q.length?ne+=Q:ne+=Q.slice(0,z),(z-=te)===0){te===Q.length?(++re,X.next?T.head=X.next:T.head=T.tail=null):(T.head=X,X.data=Q.slice(te));break}++re}return T.length-=re,ne})(Z,ie):(function(z,T){var X=h.allocUnsafe(z),re=T.head,ne=1;for(re.data.copy(X),z-=re.data.length;re=re.next;){var Q=re.data,te=z&gt;Q.length?Q.length:z;if(Q.copy(X,X.length-z,0,te),(z-=te)===0){te===Q.length?(++ne,re.next?T.head=re.next:T.head=T.tail=null):(T.head=re,re.data=Q.slice(te));break}++ne}return T.length-=ne,X})(Z,ie),ee})(I,B.buffer,B.decoder),Y);var Y}function S(I){var B=I._readableState;if(B.length&gt;0)throw new Error(&#039;&quot;endReadable()&quot; called on non-empty stream&#039;);B.endEmitted||(B.ended=!0,u.nextTick(N,B,I))}function N(I,B){I.endEmitted||I.length!==0||(I.endEmitted=!0,B.readable=!1,B.emit(&quot;end&quot;))}function M(I,B){for(var Y=0,Z=I.length;Y&lt;Z;Y++)if(I[Y]===B)return Y;return-1}R.prototype.read=function(I){g(&quot;read&quot;,I),I=parseInt(I,10);var B=this._readableState,Y=I;if(I!==0&amp;&amp;(B.emittedReadable=!1),I===0&amp;&amp;B.needReadable&amp;&amp;(B.length&gt;=B.highWaterMark||B.ended))return g(&quot;read: emitReadable&quot;,B.length,B.ended),B.length===0&amp;&amp;B.ended?S(this):W(this),null;if((I=q(I,B))===0&amp;&amp;B.ended)return B.length===0&amp;&amp;S(this),null;var Z,ie=B.needReadable;return g(&quot;need readable&quot;,ie),(B.length===0||B.length-I&lt;B.highWaterMark)&amp;&amp;g(&quot;length less than watermark&quot;,ie=!0),B.ended||B.reading?g(&quot;reading or ended&quot;,ie=!1):ie&amp;&amp;(g(&quot;do read&quot;),B.reading=!0,B.sync=!0,B.length===0&amp;&amp;(B.needReadable=!0),this._read(B.highWaterMark),B.sync=!1,B.reading||(I=q(Y,B))),(Z=I&gt;0?k(I,B):null)===null?(B.needReadable=!0,I=0):B.length-=I,B.length===0&amp;&amp;(B.ended||(B.needReadable=!0),Y!==I&amp;&amp;B.ended&amp;&amp;S(this)),Z!==null&amp;&amp;this.emit(&quot;data&quot;,Z),Z},R.prototype._read=function(I){this.emit(&quot;error&quot;,new Error(&quot;_read() is not implemented&quot;))},R.prototype.pipe=function(I,B){var Y=this,Z=this._readableState;switch(Z.pipesCount){case 0:Z.pipes=I;break;case 1:Z.pipes=[Z.pipes,I];break;default:Z.pipes.push(I)}Z.pipesCount+=1,g(&quot;pipe count=%d opts=%j&quot;,Z.pipesCount,B);var ie=(!B||B.end!==!1)&amp;&amp;I!==i.stdout&amp;&amp;I!==i.stderr?ee:de;function $(oe,se){g(&quot;onunpipe&quot;),oe===Y&amp;&amp;se&amp;&amp;se.hasUnpiped===!1&amp;&amp;(se.hasUnpiped=!0,g(&quot;cleanup&quot;),I.removeListener(&quot;close&quot;,Q),I.removeListener(&quot;finish&quot;,te),I.removeListener(&quot;drain&quot;,z),I.removeListener(&quot;error&quot;,ne),I.removeListener(&quot;unpipe&quot;,$),Y.removeListener(&quot;end&quot;,ee),Y.removeListener(&quot;end&quot;,de),Y.removeListener(&quot;data&quot;,re),T=!0,!Z.awaitDrain||I._writableState&amp;&amp;!I._writableState.needDrain||z())}function ee(){g(&quot;onend&quot;),I.end()}Z.endEmitted?u.nextTick(ie):Y.once(&quot;end&quot;,ie),I.on(&quot;unpipe&quot;,$);var z=(function(oe){return function(){var se=oe._readableState;g(&quot;pipeOnDrain&quot;,se.awaitDrain),se.awaitDrain&amp;&amp;se.awaitDrain--,se.awaitDrain===0&amp;&amp;c(oe,&quot;data&quot;)&amp;&amp;(se.flowing=!0,j(oe))}})(Y);I.on(&quot;drain&quot;,z);var T=!1,X=!1;function re(oe){g(&quot;ondata&quot;),X=!1,I.write(oe)!==!1||X||((Z.pipesCount===1&amp;&amp;Z.pipes===I||Z.pipesCount&gt;1&amp;&amp;M(Z.pipes,I)!==-1)&amp;&amp;!T&amp;&amp;(g(&quot;false write response, pause&quot;,Z.awaitDrain),Z.awaitDrain++,X=!0),Y.pause())}function ne(oe){g(&quot;onerror&quot;,oe),de(),I.removeListener(&quot;error&quot;,ne),c(I,&quot;error&quot;)===0&amp;&amp;I.emit(&quot;error&quot;,oe)}function Q(){I.removeListener(&quot;finish&quot;,te),de()}function te(){g(&quot;onfinish&quot;),I.removeListener(&quot;close&quot;,Q),de()}function de(){g(&quot;unpipe&quot;),Y.unpipe(I)}return Y.on(&quot;data&quot;,re),(function(oe,se,fe){if(typeof oe.prependListener==&quot;function&quot;)return oe.prependListener(se,fe);oe._events&amp;&amp;oe._events[se]?s(oe._events[se])?oe._events[se].unshift(fe):oe._events[se]=[fe,oe._events[se]]:oe.on(se,fe)})(I,&quot;error&quot;,ne),I.once(&quot;close&quot;,Q),I.once(&quot;finish&quot;,te),I.emit(&quot;pipe&quot;,Y),Z.flowing||(g(&quot;pipe resume&quot;),Y.resume()),I},R.prototype.unpipe=function(I){var B=this._readableState,Y={hasUnpiped:!1};if(B.pipesCount===0)return this;if(B.pipesCount===1)return I&amp;&amp;I!==B.pipes||(I||(I=B.pipes),B.pipes=null,B.pipesCount=0,B.flowing=!1,I&amp;&amp;I.emit(&quot;unpipe&quot;,this,Y)),this;if(!I){var Z=B.pipes,ie=B.pipesCount;B.pipes=null,B.pipesCount=0,B.flowing=!1;for(var $=0;$&lt;ie;$++)Z[$].emit(&quot;unpipe&quot;,this,{hasUnpiped:!1});return this}var ee=M(B.pipes,I);return ee===-1||(B.pipes.splice(ee,1),B.pipesCount-=1,B.pipesCount===1&amp;&amp;(B.pipes=B.pipes[0]),I.emit(&quot;unpipe&quot;,this,Y)),this},R.prototype.on=function(I,B){var Y=f.prototype.on.call(this,I,B);if(I===&quot;data&quot;)this._readableState.flowing!==!1&amp;&amp;this.resume();else if(I===&quot;readable&quot;){var Z=this._readableState;Z.endEmitted||Z.readableListening||(Z.readableListening=Z.needReadable=!0,Z.emittedReadable=!1,Z.reading?Z.length&amp;&amp;W(this):u.nextTick(D,this))}return Y},R.prototype.addListener=R.prototype.on,R.prototype.resume=function(){var I=this._readableState;return I.flowing||(g(&quot;resume&quot;),I.flowing=!0,(function(B,Y){Y.resumeScheduled||(Y.resumeScheduled=!0,u.nextTick(E,B,Y))})(this,I)),this},R.prototype.pause=function(){return g(&quot;call pause flowing=%j&quot;,this._readableState.flowing),this._readableState.flowing!==!1&amp;&amp;(g(&quot;pause&quot;),this._readableState.flowing=!1,this.emit(&quot;pause&quot;)),this},R.prototype.wrap=function(I){var B=this,Y=this._readableState,Z=!1;for(var ie in I.on(&quot;end&quot;,(function(){if(g(&quot;wrapped end&quot;),Y.decoder&amp;&amp;!Y.ended){var ee=Y.decoder.end();ee&amp;&amp;ee.length&amp;&amp;B.push(ee)}B.push(null)})),I.on(&quot;data&quot;,(function(ee){g(&quot;wrapped data&quot;),Y.decoder&amp;&amp;(ee=Y.decoder.write(ee)),Y.objectMode&amp;&amp;ee==null||(Y.objectMode||ee&amp;&amp;ee.length)&amp;&amp;(B.push(ee)||(Z=!0,I.pause()))})),I)this[ie]===void 0&amp;&amp;typeof I[ie]==&quot;function&quot;&amp;&amp;(this[ie]=(function(ee){return function(){return I[ee].apply(I,arguments)}})(ie));for(var $=0;$&lt;C.length;$++)I.on(C[$],this.emit.bind(this,C[$]));return this._read=function(ee){g(&quot;wrapped _read&quot;,ee),Z&amp;&amp;(Z=!1,I.resume())},this},Object.defineProperty(R.prototype,&quot;readableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),R._fromList=k}).call(this)}).call(this,t(&quot;_process&quot;),typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{&quot;./_stream_duplex&quot;:508,&quot;./internal/streams/BufferList&quot;:513,&quot;./internal/streams/destroy&quot;:514,&quot;./internal/streams/stream&quot;:515,_process:467,&quot;core-util-is&quot;:383,events:422,inherits:440,isarray:506,&quot;process-nextick-args&quot;:466,&quot;safe-buffer&quot;:520,&quot;string_decoder/&quot;:521,util:188}],511:[function(t,n,l){n.exports=o;var i=t(&quot;./_stream_duplex&quot;),a=Object.create(t(&quot;core-util-is&quot;));function u(f,h){var m=this._transformState;m.transforming=!1;var p=m.writecb;if(!p)return this.emit(&quot;error&quot;,new Error(&quot;write callback called multiple times&quot;));m.writechunk=null,m.writecb=null,h!=null&amp;&amp;this.push(h),p(f);var v=this._readableState;v.reading=!1,(v.needReadable||v.length&lt;v.highWaterMark)&amp;&amp;this._read(v.highWaterMark)}function o(f){if(!(this instanceof o))return new o(f);i.call(this,f),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,f&amp;&amp;(typeof f.transform==&quot;function&quot;&amp;&amp;(this._transform=f.transform),typeof f.flush==&quot;function&quot;&amp;&amp;(this._flush=f.flush)),this.on(&quot;prefinish&quot;,s)}function s(){var f=this;typeof this._flush==&quot;function&quot;?this._flush((function(h,m){c(f,h,m)})):c(this,null,null)}function c(f,h,m){if(h)return f.emit(&quot;error&quot;,h);if(m!=null&amp;&amp;f.push(m),f._writableState.length)throw new Error(&quot;Calling transform done when ws.length != 0&quot;);if(f._transformState.transforming)throw new Error(&quot;Calling transform done when still transforming&quot;);return f.push(null)}a.inherits=t(&quot;inherits&quot;),a.inherits(o,i),o.prototype.push=function(f,h){return this._transformState.needTransform=!1,i.prototype.push.call(this,f,h)},o.prototype._transform=function(f,h,m){throw new Error(&quot;_transform() is not implemented&quot;)},o.prototype._write=function(f,h,m){var p=this._transformState;if(p.writecb=m,p.writechunk=f,p.writeencoding=h,!p.transforming){var v=this._readableState;(p.needTransform||v.needReadable||v.length&lt;v.highWaterMark)&amp;&amp;this._read(v.highWaterMark)}},o.prototype._read=function(f){var h=this._transformState;h.writechunk!==null&amp;&amp;h.writecb&amp;&amp;!h.transforming?(h.transforming=!0,this._transform(h.writechunk,h.writeencoding,h.afterTransform)):h.needTransform=!0},o.prototype._destroy=function(f,h){var m=this;i.prototype._destroy.call(this,f,(function(p){h(p),m.emit(&quot;close&quot;)}))}},{&quot;./_stream_duplex&quot;:508,&quot;core-util-is&quot;:383,inherits:440}],512:[function(t,n,l){(function(i,a,u){(function(){var o=t(&quot;process-nextick-args&quot;);function s(U){var P=this;this.next=null,this.entry=null,this.finish=function(){(function(D,E,j){var k=D.entry;for(D.entry=null;k;){var S=k.callback;E.pendingcb--,S(j),k=k.next}E.corkedRequestsFree.next=D})(P,U)}}n.exports=O;var c,f=!i.browser&amp;&amp;[&quot;v0.10&quot;,&quot;v0.9.&quot;].indexOf(i.version.slice(0,5))&gt;-1?u:o.nextTick;O.WritableState=C;var h=Object.create(t(&quot;core-util-is&quot;));h.inherits=t(&quot;inherits&quot;);var m={deprecate:t(&quot;util-deprecate&quot;)},p=t(&quot;./internal/streams/stream&quot;),v=t(&quot;safe-buffer&quot;).Buffer,g=(a!==void 0?a:typeof window&lt;&quot;u&quot;?window:typeof self&lt;&quot;u&quot;?self:{}).Uint8Array||function(){},b,x=t(&quot;./internal/streams/destroy&quot;);function _(){}function C(U,P){c=c||t(&quot;./_stream_duplex&quot;),U=U||{};var D=P instanceof c;this.objectMode=!!U.objectMode,D&amp;&amp;(this.objectMode=this.objectMode||!!U.writableObjectMode);var E=U.highWaterMark,j=U.writableHighWaterMark,k=this.objectMode?16:16384;this.highWaterMark=E||E===0?E:D&amp;&amp;(j||j===0)?j:k,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var S=U.decodeStrings===!1;this.decodeStrings=!S,this.defaultEncoding=U.defaultEncoding||&quot;utf8&quot;,this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(N){(function(M,I){var B=M._writableState,Y=B.sync,Z=B.writecb;if((function($){$.writing=!1,$.writecb=null,$.length-=$.writelen,$.writelen=0})(B),I)(function($,ee,z,T,X){--ee.pendingcb,z?(o.nextTick(X,T),o.nextTick(K,$,ee),$._writableState.errorEmitted=!0,$.emit(&quot;error&quot;,T)):(X(T),$._writableState.errorEmitted=!0,$.emit(&quot;error&quot;,T),K($,ee))})(M,B,Y,I,Z);else{var ie=q(B);ie||B.corked||B.bufferProcessing||!B.bufferedRequest||L(M,B),Y?f(H,M,B,ie,Z):H(M,B,ie,Z)}})(P,N)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new s(this)}function O(U){if(c=c||t(&quot;./_stream_duplex&quot;),!(b.call(O,this)||this instanceof c))return new O(U);this._writableState=new C(U,this),this.writable=!0,U&amp;&amp;(typeof U.write==&quot;function&quot;&amp;&amp;(this._write=U.write),typeof U.writev==&quot;function&quot;&amp;&amp;(this._writev=U.writev),typeof U.destroy==&quot;function&quot;&amp;&amp;(this._destroy=U.destroy),typeof U.final==&quot;function&quot;&amp;&amp;(this._final=U.final)),p.call(this)}function R(U,P,D,E,j,k,S){P.writelen=E,P.writecb=S,P.writing=!0,P.sync=!0,D?U._writev(j,P.onwrite):U._write(j,k,P.onwrite),P.sync=!1}function H(U,P,D,E){D||(function(j,k){k.length===0&amp;&amp;k.needDrain&amp;&amp;(k.needDrain=!1,j.emit(&quot;drain&quot;))})(U,P),P.pendingcb--,E(),K(U,P)}function L(U,P){P.bufferProcessing=!0;var D=P.bufferedRequest;if(U._writev&amp;&amp;D&amp;&amp;D.next){var E=P.bufferedRequestCount,j=new Array(E),k=P.corkedRequestsFree;k.entry=D;for(var S=0,N=!0;D;)j[S]=D,D.isBuf||(N=!1),D=D.next,S+=1;j.allBuffers=N,R(U,P,!0,P.length,j,&quot;&quot;,k.finish),P.pendingcb++,P.lastBufferedRequest=null,k.next?(P.corkedRequestsFree=k.next,k.next=null):P.corkedRequestsFree=new s(P),P.bufferedRequestCount=0}else{for(;D;){var M=D.chunk,I=D.encoding,B=D.callback;if(R(U,P,!1,P.objectMode?1:M.length,M,I,B),D=D.next,P.bufferedRequestCount--,P.writing)break}D===null&amp;&amp;(P.lastBufferedRequest=null)}P.bufferedRequest=D,P.bufferProcessing=!1}function q(U){return U.ending&amp;&amp;U.length===0&amp;&amp;U.bufferedRequest===null&amp;&amp;!U.finished&amp;&amp;!U.writing}function W(U,P){U._final((function(D){P.pendingcb--,D&amp;&amp;U.emit(&quot;error&quot;,D),P.prefinished=!0,U.emit(&quot;prefinish&quot;),K(U,P)}))}function K(U,P){var D=q(P);return D&amp;&amp;((function(E,j){j.prefinished||j.finalCalled||(typeof E._final==&quot;function&quot;?(j.pendingcb++,j.finalCalled=!0,o.nextTick(W,E,j)):(j.prefinished=!0,E.emit(&quot;prefinish&quot;)))})(U,P),P.pendingcb===0&amp;&amp;(P.finished=!0,U.emit(&quot;finish&quot;))),D}h.inherits(O,p),C.prototype.getBuffer=function(){for(var U=this.bufferedRequest,P=[];U;)P.push(U),U=U.next;return P},(function(){try{Object.defineProperty(C.prototype,&quot;buffer&quot;,{get:m.deprecate((function(){return this.getBuffer()}),&quot;_writableState.buffer is deprecated. Use _writableState.getBuffer instead.&quot;,&quot;DEP0003&quot;)})}catch{}})(),typeof Symbol==&quot;function&quot;&amp;&amp;Symbol.hasInstance&amp;&amp;typeof Function.prototype[Symbol.hasInstance]==&quot;function&quot;?(b=Function.prototype[Symbol.hasInstance],Object.defineProperty(O,Symbol.hasInstance,{value:function(U){return!!b.call(this,U)||this===O&amp;&amp;U&amp;&amp;U._writableState instanceof C}})):b=function(U){return U instanceof this},O.prototype.pipe=function(){this.emit(&quot;error&quot;,new Error(&quot;Cannot pipe, not readable&quot;))},O.prototype.write=function(U,P,D){var E,j=this._writableState,k=!1,S=!j.objectMode&amp;&amp;(E=U,v.isBuffer(E)||E instanceof g);return S&amp;&amp;!v.isBuffer(U)&amp;&amp;(U=(function(N){return v.from(N)})(U)),typeof P==&quot;function&quot;&amp;&amp;(D=P,P=null),S?P=&quot;buffer&quot;:P||(P=j.defaultEncoding),typeof D!=&quot;function&quot;&amp;&amp;(D=_),j.ended?(function(N,M){var I=new Error(&quot;write after end&quot;);N.emit(&quot;error&quot;,I),o.nextTick(M,I)})(this,D):(S||(function(N,M,I,B){var Y=!0,Z=!1;return I===null?Z=new TypeError(&quot;May not write null values to stream&quot;):typeof I==&quot;string&quot;||I===void 0||M.objectMode||(Z=new TypeError(&quot;Invalid non-string/buffer chunk&quot;)),Z&amp;&amp;(N.emit(&quot;error&quot;,Z),o.nextTick(B,Z),Y=!1),Y})(this,j,U,D))&amp;&amp;(j.pendingcb++,k=(function(N,M,I,B,Y,Z){if(!I){var ie=(function(T,X,re){return T.objectMode||T.decodeStrings===!1||typeof X!=&quot;string&quot;||(X=v.from(X,re)),X})(M,B,Y);B!==ie&amp;&amp;(I=!0,Y=&quot;buffer&quot;,B=ie)}var $=M.objectMode?1:B.length;M.length+=$;var ee=M.length&lt;M.highWaterMark;if(ee||(M.needDrain=!0),M.writing||M.corked){var z=M.lastBufferedRequest;M.lastBufferedRequest={chunk:B,encoding:Y,isBuf:I,callback:Z,next:null},z?z.next=M.lastBufferedRequest:M.bufferedRequest=M.lastBufferedRequest,M.bufferedRequestCount+=1}else R(N,M,!1,$,B,Y,Z);return ee})(this,j,S,U,P,D)),k},O.prototype.cork=function(){this._writableState.corked++},O.prototype.uncork=function(){var U=this._writableState;U.corked&amp;&amp;(U.corked--,U.writing||U.corked||U.bufferProcessing||!U.bufferedRequest||L(this,U))},O.prototype.setDefaultEncoding=function(U){if(typeof U==&quot;string&quot;&amp;&amp;(U=U.toLowerCase()),!([&quot;hex&quot;,&quot;utf8&quot;,&quot;utf-8&quot;,&quot;ascii&quot;,&quot;binary&quot;,&quot;base64&quot;,&quot;ucs2&quot;,&quot;ucs-2&quot;,&quot;utf16le&quot;,&quot;utf-16le&quot;,&quot;raw&quot;].indexOf((U+&quot;&quot;).toLowerCase())&gt;-1))throw new TypeError(&quot;Unknown encoding: &quot;+U);return this._writableState.defaultEncoding=U,this},Object.defineProperty(O.prototype,&quot;writableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),O.prototype._write=function(U,P,D){D(new Error(&quot;_write() is not implemented&quot;))},O.prototype._writev=null,O.prototype.end=function(U,P,D){var E=this._writableState;typeof U==&quot;function&quot;?(D=U,U=null,P=null):typeof P==&quot;function&quot;&amp;&amp;(D=P,P=null),U!=null&amp;&amp;this.write(U,P),E.corked&amp;&amp;(E.corked=1,this.uncork()),E.ending||(function(j,k,S){k.ending=!0,K(j,k),S&amp;&amp;(k.finished?o.nextTick(S):j.once(&quot;finish&quot;,S)),k.ended=!0,j.writable=!1})(this,E,D)},Object.defineProperty(O.prototype,&quot;destroyed&quot;,{get:function(){return this._writableState!==void 0&amp;&amp;this._writableState.destroyed},set:function(U){this._writableState&amp;&amp;(this._writableState.destroyed=U)}}),O.prototype.destroy=x.destroy,O.prototype._undestroy=x.undestroy,O.prototype._destroy=function(U,P){this.end(),P(U)}}).call(this)}).call(this,t(&quot;_process&quot;),typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{},t(&quot;timers&quot;).setImmediate)},{&quot;./_stream_duplex&quot;:508,&quot;./internal/streams/destroy&quot;:514,&quot;./internal/streams/stream&quot;:515,_process:467,&quot;core-util-is&quot;:383,inherits:440,&quot;process-nextick-args&quot;:466,&quot;safe-buffer&quot;:520,timers:523,&quot;util-deprecate&quot;:524}],513:[function(t,n,l){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;util&quot;);n.exports=(function(){function u(){(function(o,s){if(!(o instanceof s))throw new TypeError(&quot;Cannot call a class as a function&quot;)})(this,u),this.head=null,this.tail=null,this.length=0}return u.prototype.push=function(o){var s={data:o,next:null};this.length&gt;0?this.tail.next=s:this.head=s,this.tail=s,++this.length},u.prototype.unshift=function(o){var s={data:o,next:this.head};this.length===0&amp;&amp;(this.tail=s),this.head=s,++this.length},u.prototype.shift=function(){if(this.length!==0){var o=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,o}},u.prototype.clear=function(){this.head=this.tail=null,this.length=0},u.prototype.join=function(o){if(this.length===0)return&quot;&quot;;for(var s=this.head,c=&quot;&quot;+s.data;s=s.next;)c+=o+s.data;return c},u.prototype.concat=function(o){if(this.length===0)return i.alloc(0);for(var s,c,f,h=i.allocUnsafe(o&gt;&gt;&gt;0),m=this.head,p=0;m;)s=m.data,c=h,f=p,s.copy(c,f),p+=m.data.length,m=m.next;return h},u})(),a&amp;&amp;a.inspect&amp;&amp;a.inspect.custom&amp;&amp;(n.exports.prototype[a.inspect.custom]=function(){var u=a.inspect({length:this.length});return this.constructor.name+&quot; &quot;+u})},{&quot;safe-buffer&quot;:520,util:188}],514:[function(t,n,l){var i=t(&quot;process-nextick-args&quot;);function a(u,o){u.emit(&quot;error&quot;,o)}n.exports={destroy:function(u,o){var s=this,c=this._readableState&amp;&amp;this._readableState.destroyed,f=this._writableState&amp;&amp;this._writableState.destroyed;return c||f?(o?o(u):u&amp;&amp;(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,i.nextTick(a,this,u)):i.nextTick(a,this,u)),this):(this._readableState&amp;&amp;(this._readableState.destroyed=!0),this._writableState&amp;&amp;(this._writableState.destroyed=!0),this._destroy(u||null,(function(h){!o&amp;&amp;h?s._writableState?s._writableState.errorEmitted||(s._writableState.errorEmitted=!0,i.nextTick(a,s,h)):i.nextTick(a,s,h):o&amp;&amp;o(h)})),this)},undestroy:function(){this._readableState&amp;&amp;(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&amp;&amp;(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{&quot;process-nextick-args&quot;:466}],515:[function(t,n,l){arguments[4][490][0].apply(l,arguments)},{dup:490,events:422}],516:[function(t,n,l){n.exports=t(&quot;./readable&quot;).PassThrough},{&quot;./readable&quot;:517}],517:[function(t,n,l){(l=n.exports=t(&quot;./lib/_stream_readable.js&quot;)).Stream=l,l.Readable=l,l.Writable=t(&quot;./lib/_stream_writable.js&quot;),l.Duplex=t(&quot;./lib/_stream_duplex.js&quot;),l.Transform=t(&quot;./lib/_stream_transform.js&quot;),l.PassThrough=t(&quot;./lib/_stream_passthrough.js&quot;)},{&quot;./lib/_stream_duplex.js&quot;:508,&quot;./lib/_stream_passthrough.js&quot;:509,&quot;./lib/_stream_readable.js&quot;:510,&quot;./lib/_stream_transform.js&quot;:511,&quot;./lib/_stream_writable.js&quot;:512}],518:[function(t,n,l){n.exports=t(&quot;./readable&quot;).Transform},{&quot;./readable&quot;:517}],519:[function(t,n,l){n.exports=t(&quot;./lib/_stream_writable.js&quot;)},{&quot;./lib/_stream_writable.js&quot;:512}],520:[function(t,n,l){arguments[4][217][0].apply(l,arguments)},{buffer:220,dup:217}],521:[function(t,n,l){arguments[4][218][0].apply(l,arguments)},{dup:218,&quot;safe-buffer&quot;:520}],522:[function(t,n,l){arguments[4][218][0].apply(l,arguments)},{dup:218,&quot;safe-buffer&quot;:494}],523:[function(t,n,l){(function(i,a){(function(){var u=t(&quot;process/browser.js&quot;).nextTick,o=Function.prototype.apply,s=Array.prototype.slice,c={},f=0;function h(m,p){this._id=m,this._clearFn=p}l.setTimeout=function(){return new h(o.call(setTimeout,window,arguments),clearTimeout)},l.setInterval=function(){return new h(o.call(setInterval,window,arguments),clearInterval)},l.clearTimeout=l.clearInterval=function(m){m.close()},h.prototype.unref=h.prototype.ref=function(){},h.prototype.close=function(){this._clearFn.call(window,this._id)},l.enroll=function(m,p){clearTimeout(m._idleTimeoutId),m._idleTimeout=p},l.unenroll=function(m){clearTimeout(m._idleTimeoutId),m._idleTimeout=-1},l._unrefActive=l.active=function(m){clearTimeout(m._idleTimeoutId);var p=m._idleTimeout;p&gt;=0&amp;&amp;(m._idleTimeoutId=setTimeout((function(){m._onTimeout&amp;&amp;m._onTimeout()}),p))},l.setImmediate=typeof i==&quot;function&quot;?i:function(m){var p=f++,v=!(arguments.length&lt;2)&amp;&amp;s.call(arguments,1);return c[p]=!0,u((function(){c[p]&amp;&amp;(v?m.apply(null,v):m.call(null),l.clearImmediate(p))})),p},l.clearImmediate=typeof a==&quot;function&quot;?a:function(m){delete c[m]}}).call(this)}).call(this,t(&quot;timers&quot;).setImmediate,t(&quot;timers&quot;).clearImmediate)},{&quot;process/browser.js&quot;:467,timers:523}],524:[function(t,n,l){(function(i){(function(){function a(u){try{if(!i.localStorage)return!1}catch{return!1}var o=i.localStorage[u];return o!=null&amp;&amp;String(o).toLowerCase()===&quot;true&quot;}n.exports=function(u,o){if(a(&quot;noDeprecation&quot;))return u;var s=!1;return function(){if(!s){if(a(&quot;throwDeprecation&quot;))throw new Error(o);a(&quot;traceDeprecation&quot;)?console.trace(o):console.warn(o),s=!0}return u.apply(this,arguments)}}}).call(this)}).call(this,typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],525:[function(t,n,l){typeof Object.create==&quot;function&quot;?n.exports=function(i,a){i.super_=a,i.prototype=Object.create(a.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}})}:n.exports=function(i,a){i.super_=a;var u=function(){};u.prototype=a.prototype,i.prototype=new u,i.prototype.constructor=i}},{}],526:[function(t,n,l){n.exports=function(i){return i&amp;&amp;typeof i==&quot;object&quot;&amp;&amp;typeof i.copy==&quot;function&quot;&amp;&amp;typeof i.fill==&quot;function&quot;&amp;&amp;typeof i.readUInt8==&quot;function&quot;}},{}],527:[function(t,n,l){(function(i,a){(function(){var u=/%[sdj%]/g;l.format=function(j){if(!C(j)){for(var k=[],S=0;S&lt;arguments.length;S++)k.push(c(arguments[S]));return k.join(&quot; &quot;)}S=1;for(var N=arguments,M=N.length,I=String(j).replace(u,(function(Y){if(Y===&quot;%%&quot;)return&quot;%&quot;;if(S&gt;=M)return Y;switch(Y){case&quot;%s&quot;:return String(N[S++]);case&quot;%d&quot;:return Number(N[S++]);case&quot;%j&quot;:try{return JSON.stringify(N[S++])}catch{return&quot;[Circular]&quot;}default:return Y}})),B=N[S];S&lt;M;B=N[++S])x(B)||!H(B)?I+=&quot; &quot;+B:I+=&quot; &quot;+c(B);return I},l.deprecate=function(j,k){if(O(a.process))return function(){return l.deprecate(j,k).apply(this,arguments)};if(i.noDeprecation===!0)return j;var S=!1;return function(){if(!S){if(i.throwDeprecation)throw new Error(k);i.traceDeprecation?console.trace(k):console.error(k),S=!0}return j.apply(this,arguments)}};var o,s={};function c(j,k){var S={seen:[],stylize:h};return arguments.length&gt;=3&amp;&amp;(S.depth=arguments[2]),arguments.length&gt;=4&amp;&amp;(S.colors=arguments[3]),b(k)?S.showHidden=k:k&amp;&amp;l._extend(S,k),O(S.showHidden)&amp;&amp;(S.showHidden=!1),O(S.depth)&amp;&amp;(S.depth=2),O(S.colors)&amp;&amp;(S.colors=!1),O(S.customInspect)&amp;&amp;(S.customInspect=!0),S.colors&amp;&amp;(S.stylize=f),m(S,j,S.depth)}function f(j,k){var S=c.styles[k];return S?&quot;\x1B[&quot;+c.colors[S][0]+&quot;m&quot;+j+&quot;\x1B[&quot;+c.colors[S][1]+&quot;m&quot;:j}function h(j,k){return j}function m(j,k,S){if(j.customInspect&amp;&amp;k&amp;&amp;W(k.inspect)&amp;&amp;k.inspect!==l.inspect&amp;&amp;(!k.constructor||k.constructor.prototype!==k)){var N=k.inspect(S,j);return C(N)||(N=m(j,N,S)),N}var M=(function(z,T){if(O(T))return z.stylize(&quot;undefined&quot;,&quot;undefined&quot;);if(C(T)){var X=&quot;&#039;&quot;+JSON.stringify(T).replace(/^&quot;|&quot;$/g,&quot;&quot;).replace(/&#039;/g,&quot;\\&#039;&quot;).replace(/\\&quot;/g,&#039;&quot;&#039;)+&quot;&#039;&quot;;return z.stylize(X,&quot;string&quot;)}if(_(T))return z.stylize(&quot;&quot;+T,&quot;number&quot;);if(b(T))return z.stylize(&quot;&quot;+T,&quot;boolean&quot;);if(x(T))return z.stylize(&quot;null&quot;,&quot;null&quot;)})(j,k);if(M)return M;var I=Object.keys(k),B=(function(z){var T={};return z.forEach((function(X,re){T[X]=!0})),T})(I);if(j.showHidden&amp;&amp;(I=Object.getOwnPropertyNames(k)),q(k)&amp;&amp;(I.indexOf(&quot;message&quot;)&gt;=0||I.indexOf(&quot;description&quot;)&gt;=0))return p(k);if(I.length===0){if(W(k)){var Y=k.name?&quot;: &quot;+k.name:&quot;&quot;;return j.stylize(&quot;[Function&quot;+Y+&quot;]&quot;,&quot;special&quot;)}if(R(k))return j.stylize(RegExp.prototype.toString.call(k),&quot;regexp&quot;);if(L(k))return j.stylize(Date.prototype.toString.call(k),&quot;date&quot;);if(q(k))return p(k)}var Z,ie=&quot;&quot;,$=!1,ee=[&quot;{&quot;,&quot;}&quot;];return g(k)&amp;&amp;($=!0,ee=[&quot;[&quot;,&quot;]&quot;]),W(k)&amp;&amp;(ie=&quot; [Function&quot;+(k.name?&quot;: &quot;+k.name:&quot;&quot;)+&quot;]&quot;),R(k)&amp;&amp;(ie=&quot; &quot;+RegExp.prototype.toString.call(k)),L(k)&amp;&amp;(ie=&quot; &quot;+Date.prototype.toUTCString.call(k)),q(k)&amp;&amp;(ie=&quot; &quot;+p(k)),I.length!==0||$&amp;&amp;k.length!=0?S&lt;0?R(k)?j.stylize(RegExp.prototype.toString.call(k),&quot;regexp&quot;):j.stylize(&quot;[Object]&quot;,&quot;special&quot;):(j.seen.push(k),Z=$?(function(z,T,X,re,ne){for(var Q=[],te=0,de=T.length;te&lt;de;++te)E(T,String(te))?Q.push(v(z,T,X,re,String(te),!0)):Q.push(&quot;&quot;);return ne.forEach((function(oe){oe.match(/^\d+$/)||Q.push(v(z,T,X,re,oe,!0))})),Q})(j,k,S,B,I):I.map((function(z){return v(j,k,S,B,z,$)})),j.seen.pop(),(function(z,T,X){return z.reduce((function(re,ne){return ne.indexOf(`
`)&gt;=0,re+ne.replace(/\u001b\[\d\d?m/g,&quot;&quot;).length+1}),0)&gt;60?X[0]+(T===&quot;&quot;?&quot;&quot;:T+`
 `)+&quot; &quot;+z.join(`,
  `)+&quot; &quot;+X[1]:X[0]+T+&quot; &quot;+z.join(&quot;, &quot;)+&quot; &quot;+X[1]})(Z,ie,ee)):ee[0]+ie+ee[1]}function p(j){return&quot;[&quot;+Error.prototype.toString.call(j)+&quot;]&quot;}function v(j,k,S,N,M,I){var B,Y,Z;if((Z=Object.getOwnPropertyDescriptor(k,M)||{value:k[M]}).get?Y=Z.set?j.stylize(&quot;[Getter/Setter]&quot;,&quot;special&quot;):j.stylize(&quot;[Getter]&quot;,&quot;special&quot;):Z.set&amp;&amp;(Y=j.stylize(&quot;[Setter]&quot;,&quot;special&quot;)),E(N,M)||(B=&quot;[&quot;+M+&quot;]&quot;),Y||(j.seen.indexOf(Z.value)&lt;0?(Y=x(S)?m(j,Z.value,null):m(j,Z.value,S-1)).indexOf(`
`)&gt;-1&amp;&amp;(Y=I?Y.split(`
`).map((function(ie){return&quot;  &quot;+ie})).join(`
`).substr(2):`
`+Y.split(`
`).map((function(ie){return&quot;   &quot;+ie})).join(`
`)):Y=j.stylize(&quot;[Circular]&quot;,&quot;special&quot;)),O(B)){if(I&amp;&amp;M.match(/^\d+$/))return Y;(B=JSON.stringify(&quot;&quot;+M)).match(/^&quot;([a-zA-Z_][a-zA-Z_0-9]*)&quot;$/)?(B=B.substr(1,B.length-2),B=j.stylize(B,&quot;name&quot;)):(B=B.replace(/&#039;/g,&quot;\\&#039;&quot;).replace(/\\&quot;/g,&#039;&quot;&#039;).replace(/(^&quot;|&quot;$)/g,&quot;&#039;&quot;),B=j.stylize(B,&quot;string&quot;))}return B+&quot;: &quot;+Y}function g(j){return Array.isArray(j)}function b(j){return typeof j==&quot;boolean&quot;}function x(j){return j===null}function _(j){return typeof j==&quot;number&quot;}function C(j){return typeof j==&quot;string&quot;}function O(j){return j===void 0}function R(j){return H(j)&amp;&amp;K(j)===&quot;[object RegExp]&quot;}function H(j){return typeof j==&quot;object&quot;&amp;&amp;j!==null}function L(j){return H(j)&amp;&amp;K(j)===&quot;[object Date]&quot;}function q(j){return H(j)&amp;&amp;(K(j)===&quot;[object Error]&quot;||j instanceof Error)}function W(j){return typeof j==&quot;function&quot;}function K(j){return Object.prototype.toString.call(j)}function U(j){return j&lt;10?&quot;0&quot;+j.toString(10):j.toString(10)}l.debuglog=function(j){if(O(o)&amp;&amp;(o=i.env.NODE_DEBUG||&quot;&quot;),j=j.toUpperCase(),!s[j])if(new RegExp(&quot;\\b&quot;+j+&quot;\\b&quot;,&quot;i&quot;).test(o)){var k=i.pid;s[j]=function(){var S=l.format.apply(l,arguments);console.error(&quot;%s %d: %s&quot;,j,k,S)}}else s[j]=function(){};return s[j]},l.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:&quot;cyan&quot;,number:&quot;yellow&quot;,boolean:&quot;yellow&quot;,undefined:&quot;grey&quot;,null:&quot;bold&quot;,string:&quot;green&quot;,date:&quot;magenta&quot;,regexp:&quot;red&quot;},l.isArray=g,l.isBoolean=b,l.isNull=x,l.isNullOrUndefined=function(j){return j==null},l.isNumber=_,l.isString=C,l.isSymbol=function(j){return typeof j==&quot;symbol&quot;},l.isUndefined=O,l.isRegExp=R,l.isObject=H,l.isDate=L,l.isError=q,l.isFunction=W,l.isPrimitive=function(j){return j===null||typeof j==&quot;boolean&quot;||typeof j==&quot;number&quot;||typeof j==&quot;string&quot;||typeof j==&quot;symbol&quot;||j===void 0},l.isBuffer=t(&quot;./support/isBuffer&quot;);var P=[&quot;Jan&quot;,&quot;Feb&quot;,&quot;Mar&quot;,&quot;Apr&quot;,&quot;May&quot;,&quot;Jun&quot;,&quot;Jul&quot;,&quot;Aug&quot;,&quot;Sep&quot;,&quot;Oct&quot;,&quot;Nov&quot;,&quot;Dec&quot;];function D(){var j=new Date,k=[U(j.getHours()),U(j.getMinutes()),U(j.getSeconds())].join(&quot;:&quot;);return[j.getDate(),P[j.getMonth()],k].join(&quot; &quot;)}function E(j,k){return Object.prototype.hasOwnProperty.call(j,k)}l.log=function(){console.log(&quot;%s - %s&quot;,D(),l.format.apply(l,arguments))},l.inherits=t(&quot;inherits&quot;),l._extend=function(j,k){if(!k||!H(k))return j;for(var S=Object.keys(k),N=S.length;N--;)j[S[N]]=k[S[N]];return j}}).call(this)}).call(this,t(&quot;_process&quot;),typeof Zt&lt;&quot;u&quot;?Zt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{&quot;./support/isBuffer&quot;:526,_process:467,inherits:525}],528:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),Object.defineProperty(l,&quot;v1&quot;,{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(l,&quot;v3&quot;,{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(l,&quot;v4&quot;,{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(l,&quot;v5&quot;,{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(l,&quot;NIL&quot;,{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(l,&quot;version&quot;,{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(l,&quot;validate&quot;,{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(l,&quot;stringify&quot;,{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(l,&quot;parse&quot;,{enumerable:!0,get:function(){return m.default}});var i=p(t(&quot;./v1.js&quot;)),a=p(t(&quot;./v3.js&quot;)),u=p(t(&quot;./v4.js&quot;)),o=p(t(&quot;./v5.js&quot;)),s=p(t(&quot;./nil.js&quot;)),c=p(t(&quot;./version.js&quot;)),f=p(t(&quot;./validate.js&quot;)),h=p(t(&quot;./stringify.js&quot;)),m=p(t(&quot;./parse.js&quot;));function p(v){return v&amp;&amp;v.__esModule?v:{default:v}}},{&quot;./nil.js&quot;:530,&quot;./parse.js&quot;:531,&quot;./stringify.js&quot;:535,&quot;./v1.js&quot;:536,&quot;./v3.js&quot;:537,&quot;./v4.js&quot;:539,&quot;./v5.js&quot;:540,&quot;./validate.js&quot;:541,&quot;./version.js&quot;:542}],529:[function(t,n,l){function i(m){return 14+(m+64&gt;&gt;&gt;9&lt;&lt;4)+1}function a(m,p){const v=(65535&amp;m)+(65535&amp;p);return(m&gt;&gt;16)+(p&gt;&gt;16)+(v&gt;&gt;16)&lt;&lt;16|65535&amp;v}function u(m,p,v,g,b,x){return a((_=a(a(p,m),a(g,x)))&lt;&lt;(C=b)|_&gt;&gt;&gt;32-C,v);var _,C}function o(m,p,v,g,b,x,_){return u(p&amp;v|~p&amp;g,m,p,b,x,_)}function s(m,p,v,g,b,x,_){return u(p&amp;g|v&amp;~g,m,p,b,x,_)}function c(m,p,v,g,b,x,_){return u(p^v^g,m,p,b,x,_)}function f(m,p,v,g,b,x,_){return u(v^(p|~g),m,p,b,x,_)}Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=void 0;var h=function(m){if(typeof m==&quot;string&quot;){const p=unescape(encodeURIComponent(m));m=new Uint8Array(p.length);for(let v=0;v&lt;p.length;++v)m[v]=p.charCodeAt(v)}return(function(p){const v=[],g=32*p.length;for(let b=0;b&lt;g;b+=8){const x=p[b&gt;&gt;5]&gt;&gt;&gt;b%32&amp;255,_=parseInt(&quot;0123456789abcdef&quot;.charAt(x&gt;&gt;&gt;4&amp;15)+&quot;0123456789abcdef&quot;.charAt(15&amp;x),16);v.push(_)}return v})((function(p,v){p[v&gt;&gt;5]|=128&lt;&lt;v%32,p[i(v)-1]=v;let g=1732584193,b=-271733879,x=-1732584194,_=271733878;for(let C=0;C&lt;p.length;C+=16){const O=g,R=b,H=x,L=_;g=o(g,b,x,_,p[C],7,-680876936),_=o(_,g,b,x,p[C+1],12,-389564586),x=o(x,_,g,b,p[C+2],17,606105819),b=o(b,x,_,g,p[C+3],22,-1044525330),g=o(g,b,x,_,p[C+4],7,-176418897),_=o(_,g,b,x,p[C+5],12,1200080426),x=o(x,_,g,b,p[C+6],17,-1473231341),b=o(b,x,_,g,p[C+7],22,-45705983),g=o(g,b,x,_,p[C+8],7,1770035416),_=o(_,g,b,x,p[C+9],12,-1958414417),x=o(x,_,g,b,p[C+10],17,-42063),b=o(b,x,_,g,p[C+11],22,-1990404162),g=o(g,b,x,_,p[C+12],7,1804603682),_=o(_,g,b,x,p[C+13],12,-40341101),x=o(x,_,g,b,p[C+14],17,-1502002290),b=o(b,x,_,g,p[C+15],22,1236535329),g=s(g,b,x,_,p[C+1],5,-165796510),_=s(_,g,b,x,p[C+6],9,-1069501632),x=s(x,_,g,b,p[C+11],14,643717713),b=s(b,x,_,g,p[C],20,-373897302),g=s(g,b,x,_,p[C+5],5,-701558691),_=s(_,g,b,x,p[C+10],9,38016083),x=s(x,_,g,b,p[C+15],14,-660478335),b=s(b,x,_,g,p[C+4],20,-405537848),g=s(g,b,x,_,p[C+9],5,568446438),_=s(_,g,b,x,p[C+14],9,-1019803690),x=s(x,_,g,b,p[C+3],14,-187363961),b=s(b,x,_,g,p[C+8],20,1163531501),g=s(g,b,x,_,p[C+13],5,-1444681467),_=s(_,g,b,x,p[C+2],9,-51403784),x=s(x,_,g,b,p[C+7],14,1735328473),b=s(b,x,_,g,p[C+12],20,-1926607734),g=c(g,b,x,_,p[C+5],4,-378558),_=c(_,g,b,x,p[C+8],11,-2022574463),x=c(x,_,g,b,p[C+11],16,1839030562),b=c(b,x,_,g,p[C+14],23,-35309556),g=c(g,b,x,_,p[C+1],4,-1530992060),_=c(_,g,b,x,p[C+4],11,1272893353),x=c(x,_,g,b,p[C+7],16,-155497632),b=c(b,x,_,g,p[C+10],23,-1094730640),g=c(g,b,x,_,p[C+13],4,681279174),_=c(_,g,b,x,p[C],11,-358537222),x=c(x,_,g,b,p[C+3],16,-722521979),b=c(b,x,_,g,p[C+6],23,76029189),g=c(g,b,x,_,p[C+9],4,-640364487),_=c(_,g,b,x,p[C+12],11,-421815835),x=c(x,_,g,b,p[C+15],16,530742520),b=c(b,x,_,g,p[C+2],23,-995338651),g=f(g,b,x,_,p[C],6,-198630844),_=f(_,g,b,x,p[C+7],10,1126891415),x=f(x,_,g,b,p[C+14],15,-1416354905),b=f(b,x,_,g,p[C+5],21,-57434055),g=f(g,b,x,_,p[C+12],6,1700485571),_=f(_,g,b,x,p[C+3],10,-1894986606),x=f(x,_,g,b,p[C+10],15,-1051523),b=f(b,x,_,g,p[C+1],21,-2054922799),g=f(g,b,x,_,p[C+8],6,1873313359),_=f(_,g,b,x,p[C+15],10,-30611744),x=f(x,_,g,b,p[C+6],15,-1560198380),b=f(b,x,_,g,p[C+13],21,1309151649),g=f(g,b,x,_,p[C+4],6,-145523070),_=f(_,g,b,x,p[C+11],10,-1120210379),x=f(x,_,g,b,p[C+2],15,718787259),b=f(b,x,_,g,p[C+9],21,-343485551),g=a(g,O),b=a(b,R),x=a(x,H),_=a(_,L)}return[g,b,x,_]})((function(p){if(p.length===0)return[];const v=8*p.length,g=new Uint32Array(i(v));for(let b=0;b&lt;v;b+=8)g[b&gt;&gt;5]|=(255&amp;p[b/8])&lt;&lt;b%32;return g})(m),8*m.length))};l.default=h},{}],530:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=void 0,l.default=&quot;00000000-0000-0000-0000-000000000000&quot;},{}],531:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=void 0;var i,a=(i=t(&quot;./validate.js&quot;))&amp;&amp;i.__esModule?i:{default:i},u=function(o){if(!(0,a.default)(o))throw TypeError(&quot;Invalid UUID&quot;);let s;const c=new Uint8Array(16);return c[0]=(s=parseInt(o.slice(0,8),16))&gt;&gt;&gt;24,c[1]=s&gt;&gt;&gt;16&amp;255,c[2]=s&gt;&gt;&gt;8&amp;255,c[3]=255&amp;s,c[4]=(s=parseInt(o.slice(9,13),16))&gt;&gt;&gt;8,c[5]=255&amp;s,c[6]=(s=parseInt(o.slice(14,18),16))&gt;&gt;&gt;8,c[7]=255&amp;s,c[8]=(s=parseInt(o.slice(19,23),16))&gt;&gt;&gt;8,c[9]=255&amp;s,c[10]=(s=parseInt(o.slice(24,36),16))/1099511627776&amp;255,c[11]=s/4294967296&amp;255,c[12]=s&gt;&gt;&gt;24&amp;255,c[13]=s&gt;&gt;&gt;16&amp;255,c[14]=s&gt;&gt;&gt;8&amp;255,c[15]=255&amp;s,c};l.default=u},{&quot;./validate.js&quot;:541}],532:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=void 0,l.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},{}],533:[function(t,n,l){let i;Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=function(){if(!i&amp;&amp;(i=typeof crypto&lt;&quot;u&quot;&amp;&amp;crypto.getRandomValues&amp;&amp;crypto.getRandomValues.bind(crypto)||typeof msCrypto&lt;&quot;u&quot;&amp;&amp;typeof msCrypto.getRandomValues==&quot;function&quot;&amp;&amp;msCrypto.getRandomValues.bind(msCrypto),!i))throw new Error(&quot;crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported&quot;);return i(a)};const a=new Uint8Array(16)},{}],534:[function(t,n,l){function i(o,s,c,f){switch(o){case 0:return s&amp;c^~s&amp;f;case 1:return s^c^f;case 2:return s&amp;c^s&amp;f^c&amp;f;case 3:return s^c^f}}function a(o,s){return o&lt;&lt;s|o&gt;&gt;&gt;32-s}Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=void 0;var u=function(o){const s=[1518500249,1859775393,2400959708,3395469782],c=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof o==&quot;string&quot;){const p=unescape(encodeURIComponent(o));o=[];for(let v=0;v&lt;p.length;++v)o.push(p.charCodeAt(v))}else Array.isArray(o)||(o=Array.prototype.slice.call(o));o.push(128);const f=o.length/4+2,h=Math.ceil(f/16),m=new Array(h);for(let p=0;p&lt;h;++p){const v=new Uint32Array(16);for(let g=0;g&lt;16;++g)v[g]=o[64*p+4*g]&lt;&lt;24|o[64*p+4*g+1]&lt;&lt;16|o[64*p+4*g+2]&lt;&lt;8|o[64*p+4*g+3];m[p]=v}m[h-1][14]=8*(o.length-1)/Math.pow(2,32),m[h-1][14]=Math.floor(m[h-1][14]),m[h-1][15]=8*(o.length-1)&amp;4294967295;for(let p=0;p&lt;h;++p){const v=new Uint32Array(80);for(let O=0;O&lt;16;++O)v[O]=m[p][O];for(let O=16;O&lt;80;++O)v[O]=a(v[O-3]^v[O-8]^v[O-14]^v[O-16],1);let g=c[0],b=c[1],x=c[2],_=c[3],C=c[4];for(let O=0;O&lt;80;++O){const R=Math.floor(O/20),H=a(g,5)+i(R,b,x,_)+C+s[R]+v[O]&gt;&gt;&gt;0;C=_,_=x,x=a(b,30)&gt;&gt;&gt;0,b=g,g=H}c[0]=c[0]+g&gt;&gt;&gt;0,c[1]=c[1]+b&gt;&gt;&gt;0,c[2]=c[2]+x&gt;&gt;&gt;0,c[3]=c[3]+_&gt;&gt;&gt;0,c[4]=c[4]+C&gt;&gt;&gt;0}return[c[0]&gt;&gt;24&amp;255,c[0]&gt;&gt;16&amp;255,c[0]&gt;&gt;8&amp;255,255&amp;c[0],c[1]&gt;&gt;24&amp;255,c[1]&gt;&gt;16&amp;255,c[1]&gt;&gt;8&amp;255,255&amp;c[1],c[2]&gt;&gt;24&amp;255,c[2]&gt;&gt;16&amp;255,c[2]&gt;&gt;8&amp;255,255&amp;c[2],c[3]&gt;&gt;24&amp;255,c[3]&gt;&gt;16&amp;255,c[3]&gt;&gt;8&amp;255,255&amp;c[3],c[4]&gt;&gt;24&amp;255,c[4]&gt;&gt;16&amp;255,c[4]&gt;&gt;8&amp;255,255&amp;c[4]]};l.default=u},{}],535:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=void 0;var i,a=(i=t(&quot;./validate.js&quot;))&amp;&amp;i.__esModule?i:{default:i};const u=[];for(let s=0;s&lt;256;++s)u.push((s+256).toString(16).substr(1));var o=function(s){let c=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:0;const f=(u[s[c+0]]+u[s[c+1]]+u[s[c+2]]+u[s[c+3]]+&quot;-&quot;+u[s[c+4]]+u[s[c+5]]+&quot;-&quot;+u[s[c+6]]+u[s[c+7]]+&quot;-&quot;+u[s[c+8]]+u[s[c+9]]+&quot;-&quot;+u[s[c+10]]+u[s[c+11]]+u[s[c+12]]+u[s[c+13]]+u[s[c+14]]+u[s[c+15]]).toLowerCase();if(!(0,a.default)(f))throw TypeError(&quot;Stringified UUID is invalid&quot;);return f};l.default=o},{&quot;./validate.js&quot;:541}],536:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=void 0;var i=u(t(&quot;./rng.js&quot;)),a=u(t(&quot;./stringify.js&quot;));function u(m){return m&amp;&amp;m.__esModule?m:{default:m}}let o,s,c=0,f=0;var h=function(m,p,v){let g=p&amp;&amp;v||0;const b=p||new Array(16);let x=(m=m||{}).node||o,_=m.clockseq!==void 0?m.clockseq:s;if(x==null||_==null){const q=m.random||(m.rng||i.default)();x==null&amp;&amp;(x=o=[1|q[0],q[1],q[2],q[3],q[4],q[5]]),_==null&amp;&amp;(_=s=16383&amp;(q[6]&lt;&lt;8|q[7]))}let C=m.msecs!==void 0?m.msecs:Date.now(),O=m.nsecs!==void 0?m.nsecs:f+1;const R=C-c+(O-f)/1e4;if(R&lt;0&amp;&amp;m.clockseq===void 0&amp;&amp;(_=_+1&amp;16383),(R&lt;0||C&gt;c)&amp;&amp;m.nsecs===void 0&amp;&amp;(O=0),O&gt;=1e4)throw new Error(&quot;uuid.v1(): Can&#039;t create more than 10M uuids/sec&quot;);c=C,f=O,s=_,C+=122192928e5;const H=(1e4*(268435455&amp;C)+O)%4294967296;b[g++]=H&gt;&gt;&gt;24&amp;255,b[g++]=H&gt;&gt;&gt;16&amp;255,b[g++]=H&gt;&gt;&gt;8&amp;255,b[g++]=255&amp;H;const L=C/4294967296*1e4&amp;268435455;b[g++]=L&gt;&gt;&gt;8&amp;255,b[g++]=255&amp;L,b[g++]=L&gt;&gt;&gt;24&amp;15|16,b[g++]=L&gt;&gt;&gt;16&amp;255,b[g++]=_&gt;&gt;&gt;8|128,b[g++]=255&amp;_;for(let q=0;q&lt;6;++q)b[g+q]=x[q];return p||(0,a.default)(b)};l.default=h},{&quot;./rng.js&quot;:533,&quot;./stringify.js&quot;:535}],537:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=void 0;var i=u(t(&quot;./v35.js&quot;)),a=u(t(&quot;./md5.js&quot;));function u(s){return s&amp;&amp;s.__esModule?s:{default:s}}var o=(0,i.default)(&quot;v3&quot;,48,a.default);l.default=o},{&quot;./md5.js&quot;:529,&quot;./v35.js&quot;:538}],538:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=function(c,f,h){function m(p,v,g,b){if(typeof p==&quot;string&quot;&amp;&amp;(p=(function(_){_=unescape(encodeURIComponent(_));const C=[];for(let O=0;O&lt;_.length;++O)C.push(_.charCodeAt(O));return C})(p)),typeof v==&quot;string&quot;&amp;&amp;(v=(0,a.default)(v)),v.length!==16)throw TypeError(&quot;Namespace must be array-like (16 iterable integer values, 0-255)&quot;);let x=new Uint8Array(16+p.length);if(x.set(v),x.set(p,v.length),x=h(x),x[6]=15&amp;x[6]|f,x[8]=63&amp;x[8]|128,g){b=b||0;for(let _=0;_&lt;16;++_)g[b+_]=x[_];return g}return(0,i.default)(x)}try{m.name=c}catch{}return m.DNS=o,m.URL=s,m},l.URL=l.DNS=void 0;var i=u(t(&quot;./stringify.js&quot;)),a=u(t(&quot;./parse.js&quot;));function u(c){return c&amp;&amp;c.__esModule?c:{default:c}}const o=&quot;6ba7b810-9dad-11d1-80b4-00c04fd430c8&quot;;l.DNS=o;const s=&quot;6ba7b811-9dad-11d1-80b4-00c04fd430c8&quot;;l.URL=s},{&quot;./parse.js&quot;:531,&quot;./stringify.js&quot;:535}],539:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=void 0;var i=u(t(&quot;./rng.js&quot;)),a=u(t(&quot;./stringify.js&quot;));function u(s){return s&amp;&amp;s.__esModule?s:{default:s}}var o=function(s,c,f){const h=(s=s||{}).random||(s.rng||i.default)();if(h[6]=15&amp;h[6]|64,h[8]=63&amp;h[8]|128,c){f=f||0;for(let m=0;m&lt;16;++m)c[f+m]=h[m];return c}return(0,a.default)(h)};l.default=o},{&quot;./rng.js&quot;:533,&quot;./stringify.js&quot;:535}],540:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=void 0;var i=u(t(&quot;./v35.js&quot;)),a=u(t(&quot;./sha1.js&quot;));function u(s){return s&amp;&amp;s.__esModule?s:{default:s}}var o=(0,i.default)(&quot;v5&quot;,80,a.default);l.default=o},{&quot;./sha1.js&quot;:534,&quot;./v35.js&quot;:538}],541:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=void 0;var i,a=(i=t(&quot;./regex.js&quot;))&amp;&amp;i.__esModule?i:{default:i},u=function(o){return typeof o==&quot;string&quot;&amp;&amp;a.default.test(o)};l.default=u},{&quot;./regex.js&quot;:532}],542:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.default=void 0;var i,a=(i=t(&quot;./validate.js&quot;))&amp;&amp;i.__esModule?i:{default:i},u=function(o){if(!(0,a.default)(o))throw TypeError(&quot;Invalid UUID&quot;);return parseInt(o.substr(14,1),16)};l.default=u},{&quot;./validate.js&quot;:541}],543:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.CHAR=`	
\r -퟿-�𐀀-􏿿`,l.S=` 	\r
`,l.NAME_START_CHAR=&quot;:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿&quot;,l.NAME_CHAR=&quot;-&quot;+l.NAME_START_CHAR+&quot;.0-9·̀-ͯ‿-⁀&quot;,l.CHAR_RE=new RegExp(&quot;^[&quot;+l.CHAR+&quot;]$&quot;,&quot;u&quot;),l.S_RE=new RegExp(&quot;^[&quot;+l.S+&quot;]+$&quot;,&quot;u&quot;),l.NAME_START_CHAR_RE=new RegExp(&quot;^[&quot;+l.NAME_START_CHAR+&quot;]$&quot;,&quot;u&quot;),l.NAME_CHAR_RE=new RegExp(&quot;^[&quot;+l.NAME_CHAR+&quot;]$&quot;,&quot;u&quot;),l.NAME_RE=new RegExp(&quot;^[&quot;+l.NAME_START_CHAR+&quot;][&quot;+l.NAME_CHAR+&quot;]*$&quot;,&quot;u&quot;),l.NMTOKEN_RE=new RegExp(&quot;^[&quot;+l.NAME_CHAR+&quot;]+$&quot;,&quot;u&quot;);function i(a){return a&gt;=65&amp;&amp;a&lt;=90||a&gt;=97&amp;&amp;a&lt;=122||a===58||a===95||a===8204||a===8205||a&gt;=192&amp;&amp;a&lt;=214||a&gt;=216&amp;&amp;a&lt;=246||a&gt;=248&amp;&amp;a&lt;=767||a&gt;=880&amp;&amp;a&lt;=893||a&gt;=895&amp;&amp;a&lt;=8191||a&gt;=8304&amp;&amp;a&lt;=8591||a&gt;=11264&amp;&amp;a&lt;=12271||a&gt;=12289&amp;&amp;a&lt;=55295||a&gt;=63744&amp;&amp;a&lt;=64975||a&gt;=65008&amp;&amp;a&lt;=65533||a&gt;=65536&amp;&amp;a&lt;=983039}l.S_LIST=[32,10,13,9],l.isChar=function(a){return a&gt;=32&amp;&amp;a&lt;=55295||a===10||a===13||a===9||a&gt;=57344&amp;&amp;a&lt;=65533||a&gt;=65536&amp;&amp;a&lt;=1114111},l.isS=function(a){return a===32||a===10||a===13||a===9},l.isNameStartChar=i,l.isNameChar=function(a){return i(a)||a&gt;=48&amp;&amp;a&lt;=57||a===45||a===46||a===183||a&gt;=768&amp;&amp;a&lt;=879||a&gt;=8255&amp;&amp;a&lt;=8256}},{}],544:[function(t,n,l){Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.CHAR=&quot;-퟿-�𐀀-􏿿&quot;,l.RESTRICTED_CHAR=&quot;-\b\v\f---&quot;,l.S=` 	\r
`,l.NAME_START_CHAR=&quot;:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿&quot;,l.NAME_CHAR=&quot;-&quot;+l.NAME_START_CHAR+&quot;.0-9·̀-ͯ‿-⁀&quot;,l.CHAR_RE=new RegExp(&quot;^[&quot;+l.CHAR+&quot;]$&quot;,&quot;u&quot;),l.RESTRICTED_CHAR_RE=new RegExp(&quot;^[&quot;+l.RESTRICTED_CHAR+&quot;]$&quot;,&quot;u&quot;),l.S_RE=new RegExp(&quot;^[&quot;+l.S+&quot;]+$&quot;,&quot;u&quot;),l.NAME_START_CHAR_RE=new RegExp(&quot;^[&quot;+l.NAME_START_CHAR+&quot;]$&quot;,&quot;u&quot;),l.NAME_CHAR_RE=new RegExp(&quot;^[&quot;+l.NAME_CHAR+&quot;]$&quot;,&quot;u&quot;),l.NAME_RE=new RegExp(&quot;^[&quot;+l.NAME_START_CHAR+&quot;][&quot;+l.NAME_CHAR+&quot;]*$&quot;,&quot;u&quot;),l.NMTOKEN_RE=new RegExp(&quot;^[&quot;+l.NAME_CHAR+&quot;]+$&quot;,&quot;u&quot;);function i(a){return a&gt;=65&amp;&amp;a&lt;=90||a&gt;=97&amp;&amp;a&lt;=122||a===58||a===95||a===8204||a===8205||a&gt;=192&amp;&amp;a&lt;=214||a&gt;=216&amp;&amp;a&lt;=246||a&gt;=248&amp;&amp;a&lt;=767||a&gt;=880&amp;&amp;a&lt;=893||a&gt;=895&amp;&amp;a&lt;=8191||a&gt;=8304&amp;&amp;a&lt;=8591||a&gt;=11264&amp;&amp;a&lt;=12271||a&gt;=12289&amp;&amp;a&lt;=55295||a&gt;=63744&amp;&amp;a&lt;=64975||a&gt;=65008&amp;&amp;a&lt;=65533||a&gt;=65536&amp;&amp;a&lt;=983039}l.S_LIST=[32,10,13,9],l.isChar=function(a){return a&gt;=1&amp;&amp;a&lt;=55295||a&gt;=57344&amp;&amp;a&lt;=65533||a&gt;=65536&amp;&amp;a&lt;=1114111},l.isRestrictedChar=function(a){return a&gt;=1&amp;&amp;a&lt;=8||a===11||a===12||a&gt;=14&amp;&amp;a&lt;=31||a&gt;=127&amp;&amp;a&lt;=132||a&gt;=134&amp;&amp;a&lt;=159},l.isCharAndNotRestricted=function(a){return a===9||a===10||a===13||a&gt;31&amp;&amp;a&lt;127||a===133||a&gt;159&amp;&amp;a&lt;=55295||a&gt;=57344&amp;&amp;a&lt;=65533||a&gt;=65536&amp;&amp;a&lt;=1114111},l.isS=function(a){return a===32||a===10||a===13||a===9},l.isNameStartChar=i,l.isNameChar=function(a){return i(a)||a&gt;=48&amp;&amp;a&lt;=57||a===45||a===46||a===183||a&gt;=768&amp;&amp;a&lt;=879||a&gt;=8255&amp;&amp;a&lt;=8256}},{}],545:[function(t,n,l){function i(a){return a&gt;=65&amp;&amp;a&lt;=90||a===95||a&gt;=97&amp;&amp;a&lt;=122||a&gt;=192&amp;&amp;a&lt;=214||a&gt;=216&amp;&amp;a&lt;=246||a&gt;=248&amp;&amp;a&lt;=767||a&gt;=880&amp;&amp;a&lt;=893||a&gt;=895&amp;&amp;a&lt;=8191||a&gt;=8204&amp;&amp;a&lt;=8205||a&gt;=8304&amp;&amp;a&lt;=8591||a&gt;=11264&amp;&amp;a&lt;=12271||a&gt;=12289&amp;&amp;a&lt;=55295||a&gt;=63744&amp;&amp;a&lt;=64975||a&gt;=65008&amp;&amp;a&lt;=65533||a&gt;=65536&amp;&amp;a&lt;=983039}Object.defineProperty(l,&quot;__esModule&quot;,{value:!0}),l.NC_NAME_START_CHAR=&quot;A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿&quot;,l.NC_NAME_CHAR=&quot;-&quot;+l.NC_NAME_START_CHAR+&quot;.0-9·̀-ͯ‿-⁀&quot;,l.NC_NAME_START_CHAR_RE=new RegExp(&quot;^[&quot;+l.NC_NAME_START_CHAR+&quot;]$&quot;,&quot;u&quot;),l.NC_NAME_CHAR_RE=new RegExp(&quot;^[&quot;+l.NC_NAME_CHAR+&quot;]$&quot;,&quot;u&quot;),l.NC_NAME_RE=new RegExp(&quot;^[&quot;+l.NC_NAME_START_CHAR+&quot;][&quot;+l.NC_NAME_CHAR+&quot;]*$&quot;,&quot;u&quot;),l.isNCNameStartChar=i,l.isNCNameChar=function(a){return i(a)||a===45||a===46||a&gt;=48&amp;&amp;a&lt;=57||a===183||a&gt;=768&amp;&amp;a&lt;=879||a&gt;=8255&amp;&amp;a&lt;=8256}},{}]},{},[15])(15)}))})(My)),My.exports}var eie=Jne();const tie=ds(eie);function Im(e,r,t){if(e.length===0){alert(&quot;Aucune donnée à exporter&quot;);return}const n=Object.keys(e[0]),i=[n.join(&quot;,&quot;),...e.map(s=&gt;n.map(c=&gt;{const f=s[c];if(f==null)return&quot;&quot;;const h=String(f);return h.includes(&quot;,&quot;)||h.includes(&#039;&quot;&#039;)||h.includes(`
`)?`&quot;${h.replace(/&quot;/g,&#039;&quot;&quot;&#039;)}&quot;`:h}).join(&quot;,&quot;))].join(`
`),a=new Blob([&quot;\uFEFF&quot;+i],{type:&quot;text/csv;charset=utf-8;&quot;}),u=document.createElement(&quot;a&quot;),o=URL.createObjectURL(a);u.setAttribute(&quot;href&quot;,o),u.setAttribute(&quot;download&quot;,`${r}.csv`),u.style.visibility=&quot;hidden&quot;,document.body.appendChild(u),u.click(),document.body.removeChild(u),URL.revokeObjectURL(o)}async function Ua(e,r,t=&quot;Données&quot;,n){if(e.length===0){alert(&quot;Aucune donnée à exporter&quot;);return}const l=Object.keys(e[0]),i=new tie.Workbook,a=i.addWorksheet(t);a.addRow(l);const u=a.getRow(1);u.font={bold:!0},u.fill={type:&quot;pattern&quot;,pattern:&quot;solid&quot;,fgColor:{argb:&quot;FFE5E7EB&quot;}},e.forEach(h=&gt;{const m=l.map(p=&gt;{const v=h[p];return v??&quot;&quot;});a.addRow(m)}),l.forEach((h,m)=&gt;{const p=a.getColumn(m+1);p.width=Math.max(h.length+2,15)});const o=await i.xlsx.writeBuffer(),s=new Blob([o],{type:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet&quot;}),c=document.createElement(&quot;a&quot;),f=URL.createObjectURL(s);c.setAttribute(&quot;href&quot;,f),c.setAttribute(&quot;download&quot;,`${r}.xlsx`),c.style.visibility=&quot;hidden&quot;,document.body.appendChild(c),c.click(),document.body.removeChild(c),URL.revokeObjectURL(f)}function rie(e){return e?e===&quot;marie&quot;?&quot;Marié(e)&quot;:e===&quot;non_marie&quot;?&quot;Non marié(e)&quot;:e:&quot;&quot;}function nie(e){return e?e===&quot;homme&quot;?&quot;Homme&quot;:e===&quot;femme&quot;?&quot;Femme&quot;:e:&quot;&quot;}function iie(e){return e?{primaire:&quot;Primaire&quot;,secondaire_2:&quot;Secondaire 2e cycle&quot;,universitaire:&quot;Universitaire&quot;}[e]||e:&quot;&quot;}function sie(e){return e?{natif:&quot;Natif&quot;,avance:&quot;Avancé&quot;,intermediaire:&quot;Intermédiaire&quot;,faible:&quot;Faible&quot;}[e]||e:&quot;&quot;}function aie(e){return e?{musulmane:&quot;Musulmane&quot;,catholique:&quot;Catholique&quot;,protestante:&quot;Protestante&quot;,pentecotiste:&quot;Pentecôtiste&quot;,evangelique:&quot;Évangélique&quot;,autre:&quot;Autre&quot;}[e]||e:&quot;&quot;}function oie(e){return e?{paypal:&quot;PayPal&quot;,card_visa:&quot;Carte de crédit (Visa)&quot;,mobile_money:&quot;Mobile Money&quot;,national_office:&quot;Bureau national&quot;}[e]||e:&quot;&quot;}function lie(e){return e.amount_due_xof!=null&amp;&amp;e.amount_due_xof&gt;0?`${Number(e.amount_due_xof).toLocaleString(&quot;fr-FR&quot;)} XOF`:e.amount_due_eur!=null&amp;&amp;e.amount_due_eur&gt;0?`${e.amount_due_eur} EUR`:&quot;&quot;}function kk(e,r){return e.map(t=&gt;{const n=t;return{ID:t.id,Événement:t.event?.name||&quot;&quot;,Statut:t.status,Prénom:t.first_name,Nom:t.last_name,Email:t.email,Téléphone:t.phone||&quot;&quot;,Pays:t.country||&quot;&quot;,Ville:t.city||&quot;&quot;,Organisation:t.organization||&quot;&quot;,Poste:t.position||&quot;&quot;,Nationalité:t.nationality||&quot;&quot;,&quot;Leader Haggai&quot;:t.is_haggai_leader?&quot;Oui&quot;:&quot;Non&quot;,&quot;Haggai ID&quot;:t.haggai_id||&quot;&quot;,Formule:r===&quot;seminar&quot;?&quot;&quot;:t.pricing_plan?.title||&quot;&quot;,&quot;Code Formule&quot;:r===&quot;seminar&quot;?&quot;&quot;:t.pricing_plan?.code||&quot;&quot;,&quot;Frais de participation&quot;:lie(t),&quot;Méthode de paiement&quot;:oie(t.payment_method_selected),Devise:t.currency_selected||&quot;&quot;,&quot;Montant XOF&quot;:t.amount_due_xof??&quot;&quot;,&quot;Montant EUR&quot;:t.amount_due_eur??&quot;&quot;,&quot;Résident Ouaga&quot;:t.ouaga_resident_confirmed?&quot;Oui&quot;:&quot;Non&quot;,&quot;Nom conjoint&quot;:t.spouse_fullname||&quot;&quot;,&quot;Email conjoint&quot;:t.spouse_email||&quot;&quot;,&quot;Haggai ID / Année HLE conjoint&quot;:t.spouse_haggai_id||&quot;&quot;,&quot;Souhaite participer (séminaire)&quot;:t.seminar_want_to_participate===&quot;oui&quot;?&quot;Oui&quot;:t.seminar_want_to_participate===&quot;non&quot;?&quot;Non&quot;:&quot;&quot;,&quot;Église ou organisation (séminaire)&quot;:t.seminar_church_organization||&quot;&quot;,&quot;Rôle/Ministère (séminaire)&quot;:t.seminar_role_ministry||&quot;&quot;,&quot;Situation matrimoniale (séminaire)&quot;:rie(t.seminar_marital_status),&quot;Âge (séminaire)&quot;:t.seminar_age??&quot;&quot;,&quot;Genre (séminaire)&quot;:nie(t.seminar_gender),&quot;Question ou préoccupation (séminaire)&quot;:t.seminar_question_or_concern||&quot;&quot;,&quot;Date de naissance (séminaire)&quot;:n.seminar_date_naissance?new Date(n.seminar_date_naissance).toLocaleDateString(&quot;fr-FR&quot;):&quot;&quot;,&quot;Contact d&#039;urgence (séminaire)&quot;:n.seminar_contact_urgence_nom_lien||&quot;&quot;,&quot;Niveau d&#039;études (séminaire)&quot;:iie(n.seminar_niveau_etudes),&quot;Domaines d&#039;étude (séminaire)&quot;:Array.isArray(n.seminar_domaines_etude)?n.seminar_domaines_etude.join(&quot;, &quot;):&quot;&quot;,&quot;Domaine d&#039;étude autre (séminaire)&quot;:n.seminar_domaine_etude_autre||&quot;&quot;,&quot;Niveau français (séminaire)&quot;:sie(n.seminar_niveau_francais),&quot;Besoin lettre d&#039;absence (séminaire)&quot;:n.seminar_besoin_lettre_absence===&quot;oui&quot;?&quot;Oui&quot;:n.seminar_besoin_lettre_absence===&quot;non&quot;?&quot;Non&quot;:&quot;&quot;,&quot;Détails lettre d&#039;absence (séminaire)&quot;:n.seminar_besoin_lettre_details||&quot;&quot;,&quot;Informations santé (séminaire)&quot;:n.seminar_sante_details||&quot;&quot;,&quot;Régime sans sel (séminaire)&quot;:n.seminar_regime_sans_sel===&quot;oui&quot;?&quot;Oui&quot;:n.seminar_regime_sans_sel===&quot;non&quot;?&quot;Non&quot;:&quot;&quot;,&quot;Confession religieuse (séminaire)&quot;:aie(n.seminar_confession_religieuse),&quot;Spécification confession (séminaire)&quot;:n.seminar_confession_religieuse_autre||&quot;&quot;,&quot;Attentes (séminaire)&quot;:n.seminar_fardeau_transformation||&quot;&quot;,&quot;Recommandé par (séminaire)&quot;:n.seminar_recommande_par||&quot;&quot;,&quot;Engagements (séminaire)&quot;:Array.isArray(n.seminar_engagements)?n.seminar_engagements.join(&quot;, &quot;):&quot;&quot;,&quot;Engagements autre (séminaire)&quot;:n.seminar_engagements_autre||&quot;&quot;,&quot;Date de soumission&quot;:t.submitted_at?new Date(t.submitted_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;&quot;,&quot;Date de paiement&quot;:t.paid_at?new Date(t.paid_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;&quot;,&quot;Date de création&quot;:new Date(t.created_at).toLocaleDateString(&quot;fr-FR&quot;)}})}function Nk(e){return e.map(r=&gt;({ID:r.id,Événement:r.event?.name||&quot;&quot;,Statut:r.status,&quot;Nom recommandé&quot;:r.recommended_full_name,Genre:r.recommended_gender===&quot;homme&quot;?&quot;Homme&quot;:&quot;Femme&quot;,Profession:r.recommended_profession,&quot;Pays de résidence&quot;:r.recommended_residence_country,&quot;Téléphone WhatsApp&quot;:r.recommended_phone_whatsapp,&quot;Email recommandé&quot;:r.recommended_email||&quot;&quot;,&quot;Personne contactée avant (recommandeur)&quot;:r.recommender_contacted_person===&quot;oui&quot;?&quot;Oui&quot;:r.recommender_contacted_person===&quot;non&quot;?&quot;Non&quot;:&quot;&quot;,&quot;Prénom recommandeur&quot;:r.recommender_first_name,&quot;Nom recommandeur&quot;:r.recommender_last_name,&quot;Email recommandeur&quot;:r.recommender_email,&quot;Téléphone recommandeur&quot;:r.recommender_phone,&quot;Pays recommandeur&quot;:r.recommender_country||&quot;&quot;,Notes:r.notes||&quot;&quot;,&quot;Date de contact&quot;:r.contacted_at?new Date(r.contacted_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;&quot;,&quot;Date de création&quot;:new Date(r.created_at).toLocaleDateString(&quot;fr-FR&quot;)}))}function Ck(e){return e.map(r=&gt;({ID:r.id,Catégorie:r.category_name??&quot;&quot;,Type:r.category_type===&quot;revenue&quot;?&quot;Recettes&quot;:r.category_type===&quot;expense&quot;?&quot;Dépenses&quot;:&quot;—&quot;,Libellé:r.label??&quot;&quot;,&quot;Prévu (XOF)&quot;:r.amount_planned,&quot;Réalisé (XOF)&quot;:r.amount_realized,Ordre:r.sort_order??0}))}function Ek(e){return e.map(r=&gt;({ID:r.id,Date:r.paid_at?new Date(r.paid_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;&quot;,&quot;Catégorie budget&quot;:r.budget_line_label??&quot;&quot;,Libellé:r.label??&quot;&quot;,&quot;Compte trésorerie&quot;:r.treasury_account_name??&quot;&quot;,&quot;Montant (XOF)&quot;:r.amount,Référence:r.reference??&quot;&quot;}))}function cie(){const[e,r]=Lm(),t=e.get(&quot;view&quot;),n=t===&quot;seminar&quot;||t===&quot;recommendations&quot;?t:&quot;summit&quot;,l=fs(),{isAuthenticated:i,isParticipant:a,loading:u,can:o,roles:s}=Ps(),[c,f]=F.useState({}),[h,m]=F.useState(1),[p,v]=F.useState(20),[g,b]=F.useState(1),[x,_]=F.useState(20),[C,O]=F.useState(null),[R,H]=F.useState(null),[L,q]=F.useState(!1),[W,K]=F.useState(!1),[U,P]=F.useState(!1),[D,E]=F.useState(!1),[j,k]=F.useState(!1),[S,N]=F.useState(!1),[M,I]=F.useState(!1),[B,Y]=F.useState(null),[Z,ie]=F.useState(null),$=F.useRef(null),ee=()=&gt;{const Se=$.current;Se&amp;&amp;(Se.open=!1)},z=F.useMemo(()=&gt;{const Se=c.status;return!Se||Se.length===0?null:Se.length===1?Se[0]:&quot;multiple&quot;},[c.status]),{events:T}=Um(),X=F.useMemo(()=&gt;T.filter(Se=&gt;Se.event_type===&quot;summit&quot;).map(Se=&gt;Se.id),[T]),re=F.useMemo(()=&gt;T.filter(Se=&gt;Se.event_type===&quot;seminar&quot;).map(Se=&gt;Se.id),[T]),ne=s.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!s.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),Q=s.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!s.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),te=s.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!s.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),de=s.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!s.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!s.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),oe=ne||de?!1:o(&quot;registrations.read&quot;),se=Q||te?!1:o(&quot;registrations.read&quot;),fe=ne||te?!1:o(&quot;recommendations.read&quot;),he=oe||se||fe,ce=o(&quot;registrations.update_status&quot;),ge=o(&quot;registrations.send_to_correction&quot;),ye=o(&quot;registrations.update&quot;),pe=o(&quot;registrations.delete&quot;),le=o(&quot;registrations.export&quot;),Ce=(n===&quot;summit&quot;||n===&quot;seminar&quot;)&amp;&amp;s.includes(&quot;COMMISSION_COMMUNICATION&quot;),Ae=s.includes(&quot;COMMISSION_ADMINISTRATION&quot;)&amp;&amp;!s.includes(&quot;SUPER_ADMIN&quot;),je=s.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;)&amp;&amp;!s.includes(&quot;SUPER_ADMIN&quot;),Pe=Ae&amp;&amp;n===&quot;seminar&quot;||je&amp;&amp;n===&quot;summit&quot;,Qe=Pe?!1:ce,Ue=Pe?!1:ye,Xe=Pe?!1:pe,rt=ce&amp;&amp;!(Ae&amp;&amp;C?.event?.event_type===&quot;seminar&quot;)&amp;&amp;!(je&amp;&amp;C?.event?.event_type===&quot;summit&quot;);F.useEffect(()=&gt;{const Se=[];oe&amp;&amp;Se.push(&quot;summit&quot;),se&amp;&amp;Se.push(&quot;seminar&quot;),fe&amp;&amp;Se.push(&quot;recommendations&quot;),Se.length&gt;0&amp;&amp;!Se.includes(n)&amp;&amp;r({view:Se[0]},{replace:!0})},[oe,se,fe,n,r]),F.useEffect(()=&gt;{const Se=$.current;Se&amp;&amp;(Se.open=!1)},[n]);const qe=F.useMemo(()=&gt;{const Se={...c,page:h,per_page:p};return n===&quot;summit&quot;&amp;&amp;X.length&gt;0?(Se.event_type=&quot;summit&quot;,X.length===1?Se.event_id=X[0]:c.event_id&amp;&amp;!X.includes(c.event_id)&amp;&amp;(Se.event_id=void 0)):n===&quot;seminar&quot;&amp;&amp;re.length&gt;0&amp;&amp;(Se.event_type=&quot;seminar&quot;,re.length===1?Se.event_id=re[0]:c.event_id&amp;&amp;!re.includes(c.event_id)&amp;&amp;(Se.event_id=void 0)),Se},[c,h,p,n,X,re]),{data:ze,loading:Ye,error:et,refetch:Je}=xF(qe,he&amp;&amp;i&amp;&amp;(n===&quot;summit&quot;||n===&quot;seminar&quot;)),Rt=F.useMemo(()=&gt;{const Se={created_from:c.created_from,created_to:c.created_to};return n===&quot;summit&quot;&amp;&amp;X.length&gt;0?X.length===1?Se.event_id=X[0]:Se.event_type=&quot;summit&quot;:n===&quot;seminar&quot;&amp;&amp;re.length&gt;0?re.length===1?Se.event_id=re[0]:Se.event_type=&quot;seminar&quot;:qe.event_id&amp;&amp;(Se.event_id=qe.event_id),Se},[n,X,re,c.created_from,c.created_to,qe.event_id]),{data:qt,loading:st,refetch:Tt}=wF(Rt,he&amp;&amp;i&amp;&amp;(n===&quot;summit&quot;||n===&quot;seminar&quot;)),{data:jt,loading:St,error:It,refetch:Bt}=_F({status:c.status,q:c.q,created_from:c.created_from,created_to:c.created_to,page:g,per_page:x},fe&amp;&amp;i),ct=async()=&gt;{I(!0);try{const Se=[Je(),Tt()];fe&amp;&amp;Se.push(Bt()),await Promise.all(Se)}finally{I(!1)}};if(u)return d.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})});if(!i)return d.jsx(ai,{to:&quot;/login&quot;,replace:!0});if(a)return d.jsx(ai,{to:&quot;/account&quot;,replace:!0});if(!he)return d.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center max-w-md&quot;,children:[d.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-semibold text-ink-900 mb-4&quot;,children:&quot;Accès non autorisé&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Vous n&#039;avez pas les permissions nécessaires pour accéder à cette page.&quot;})]})});if(et){if(et.status===403&amp;&amp;(o(&quot;finance.dashboard&quot;)||o(&quot;payments.read&quot;)))return l(&quot;/admin/finance&quot;,{replace:!0}),null;const Se=et.status===401?&quot;Vous devez être connecté pour accéder à cette page.&quot;:et.status===403?&quot;Vous n&#039;avez pas les permissions nécessaires.&quot;:et.data?.message||&quot;Une erreur est survenue.&quot;;return d.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center max-w-md&quot;,children:[d.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-semibold text-ink-900 mb-4&quot;,children:&quot;Erreur&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mb-4&quot;,children:Se}),d.jsx(Le,{variant:&quot;primary&quot;,onClick:()=&gt;window.location.reload(),children:&quot;Recharger la page&quot;})]})})}const $t=Se=&gt;{O(Se),q(!0)},Ht=Se=&gt;{O(Se),K(!0)},yt=Se=&gt;{O(Se),P(!0)},Ut=Se=&gt;{O(Se),E(!0)},Xt=()=&gt;{Je(),Tt(),C&amp;&amp;(q(!1),q(!0))},Nt=()=&gt;{Je(),Tt(),C&amp;&amp;(q(!1),q(!0))},be=()=&gt;{Je(),Tt(),O(null)},ke=Se=&gt;{ie(Se)},Te=()=&gt;{ie(null),Je(),Tt()},Ke=async Se=&gt;{Y(Se.id);try{await eo.resendActivationEmail(Se.id),alert(&quot;Email d’activation renvoyé. Le participant recevra le lien pour confirmer et choisir son mot de passe.&quot;)}catch(De){if(De instanceof Wt){const Be=De.data.errors?.status?.[0]||De.data.errors?.registration?.[0]||De.data.message;alert(Be||De.message)}else alert(&quot;Erreur lors de l’envoi de l’email.&quot;)}finally{Y(null)}},ft=Se=&gt;{m(Se),window.scrollTo({top:0,behavior:&quot;smooth&quot;})},Ze=Se=&gt;{v(Se),m(1)},kt=Se=&gt;{m(1),f(Se===&quot;total&quot;?De=&gt;({...De,status:void 0}):De=&gt;({...De,status:[Se]}))},gt=Se=&gt;{H(Se),console.log(&quot;Recommandation sélectionnée:&quot;,Se),alert(`Recommandation #${Se.id}

Recommandé: ${Se.recommended_full_name}
Email recommandé: ${Se.recommended_email||&quot;-&quot;}
Profession: ${Se.recommended_profession}
Pays: ${Se.recommended_residence_country}

Recommandeur: ${Se.recommender_first_name} ${Se.recommender_last_name} (${Se.recommender_email})`)},tt=Se=&gt;{H(Se),k(!0)},_t=()=&gt;{Bt()},bt=o(&quot;recommendations.delete&quot;),Ot=o(&quot;recommendations.update_status&quot;),ir=Se=&gt;{confirm(`Supprimer la recommandation pour ${Se.recommended_full_name} ? Cette action est irréversible.`)&amp;&amp;Iu.delete(Se.id).then(()=&gt;Bt()).catch(De=&gt;{alert(De?.data?.message??&quot;Erreur lors de la suppression.&quot;)})},Lt=Se=&gt;{b(Se),window.scrollTo({top:0,behavior:&quot;smooth&quot;})},cr=Se=&gt;{_(Se),b(1)},or=async()=&gt;{const Se=[];let De=1,Be=!0;for(;Be;)try{const Ct=await eo.list({...qe,page:De,per_page:100});Se.push(...Ct.data),De&gt;=Ct.meta.last_page?Be=!1:De++}catch(Ct){throw console.error(&quot;Erreur lors de la récupération des inscriptions:&quot;,Ct),Ct}return Se},Tr=async()=&gt;{const Se=[];let De=1,Be=!0;for(;Be;)try{const Ct=await Iu.list({status:c.status,q:c.q,created_from:c.created_from,created_to:c.created_to,page:De,per_page:100});Se.push(...Ct.data),De&gt;=Ct.meta.last_page?Be=!1:De++}catch(Ct){throw console.error(&quot;Erreur lors de la récupération des recommandations:&quot;,Ct),Ct}return Se},me=async()=&gt;{ee(),N(!0);try{const Se=await or(),Be=kk(Se,n===&quot;summit&quot;||n===&quot;seminar&quot;?n:void 0),pt=`inscriptions_${n===&quot;summit&quot;?&quot;sommet&quot;:&quot;seminaire&quot;}_${new Date().toISOString().split(&quot;T&quot;)[0]}`;Im(Be,pt)}catch(Se){alert(&quot;Erreur lors de l&#039;export CSV: &quot;+(Se instanceof Error?Se.message:&quot;Erreur inconnue&quot;))}finally{N(!1)}},_e=async()=&gt;{ee(),N(!0);try{const Se=await or(),Be=kk(Se,n===&quot;summit&quot;||n===&quot;seminar&quot;?n:void 0),pt=`inscriptions_${n===&quot;summit&quot;?&quot;sommet&quot;:&quot;seminaire&quot;}_${new Date().toISOString().split(&quot;T&quot;)[0]}`;await Ua(Be,pt,n===&quot;summit&quot;?&quot;Inscriptions Sommet&quot;:&quot;Inscriptions Séminaire&quot;)}catch(Se){alert(&quot;Erreur lors de l&#039;export XLSX: &quot;+(Se instanceof Error?Se.message:&quot;Erreur inconnue&quot;))}finally{N(!1)}},Ie=async()=&gt;{ee(),N(!0);try{const Se=await Tr(),De=Nk(Se),Be=`recommandations_${new Date().toISOString().split(&quot;T&quot;)[0]}`;Im(De,Be)}catch(Se){alert(&quot;Erreur lors de l&#039;export CSV: &quot;+(Se instanceof Error?Se.message:&quot;Erreur inconnue&quot;))}finally{N(!1)}},Fe=async()=&gt;{ee(),N(!0);try{const Se=await Tr(),De=Nk(Se),Be=`recommandations_${new Date().toISOString().split(&quot;T&quot;)[0]}`;await Ua(De,Be,&quot;Recommandations&quot;)}catch(Se){alert(&quot;Erreur lors de l&#039;export XLSX: &quot;+(Se instanceof Error?Se.message:&quot;Erreur inconnue&quot;))}finally{N(!1)}};return d.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex flex-col&quot;,children:[d.jsx(qm,{showRefresh:!0,refreshing:M,onRefresh:ct}),d.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 flex-1&quot;,children:[d.jsx(Hm,{currentSection:&quot;registrations&quot;,registrationView:n,showSommet:oe,showSeminar:se,showRecommendations:fe,showUsers:!1,showFinance:te||de?!1:o(&quot;finance.dashboard&quot;)||o(&quot;payments.read&quot;),showSettings:ne||Q||te||de?!1:o(&quot;settings.read&quot;)||o(&quot;settings.update&quot;)}),d.jsxs(&quot;main&quot;,{className:&quot;min-w-0 flex-1 lg:ml-48 pb-16 lg:pb-0&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;w-full min-w-0 max-w-full px-3 py-3 sm:px-5 sm:py-6 lg:px-6 lg:py-8&quot;,children:[d.jsx(iB,{title:n===&quot;summit&quot;?&quot;Inscriptions Sommet&quot;:n===&quot;seminar&quot;?&quot;Inscriptions Séminaire&quot;:&quot;Recommandations Séminaire&quot;,subtitle:n===&quot;summit&quot;?&quot;Gérez et suivez toutes les inscriptions au Sommet&quot;:n===&quot;seminar&quot;?&quot;Gérez et suivez toutes les inscriptions au Séminaire&quot;:&quot;Gérez et suivez toutes les recommandations pour le séminaire&quot;,actions:(n===&quot;summit&quot;||n===&quot;seminar&quot;)&amp;&amp;!Ce&amp;&amp;le&amp;&amp;!(Ae&amp;&amp;n===&quot;seminar&quot;)&amp;&amp;!(je&amp;&amp;n===&quot;summit&quot;)||n===&quot;recommendations&quot;&amp;&amp;!Ae&amp;&amp;Ot?d.jsxs(&quot;details&quot;,{ref:$,className:&quot;relative&quot;,children:[d.jsxs(&quot;summary&quot;,{className:&quot;flex max-w-[min(100%,14rem)] cursor-pointer list-none items-center gap-2 rounded-lg border-2 border-brand-900 bg-white px-3 py-2 text-xs font-medium uppercase leading-tight tracking-wider text-brand-900 sm:max-w-none sm:px-4 sm:text-sm [&amp;::-webkit-details-marker]:hidden&quot;,children:[&quot;TELECHARGER LES LISTES&quot;,d.jsx(ib,{className:&quot;h-4 w-4 shrink-0 opacity-70&quot;,&quot;aria-hidden&quot;:!0})]}),d.jsxs(&quot;div&quot;,{className:&quot;absolute right-0 z-50 mt-2 w-56 overflow-hidden rounded-lg border border-gray-200 bg-white py-1 shadow-lg&quot;,onClick:Se=&gt;Se.stopPropagation(),children:[(n===&quot;summit&quot;||n===&quot;seminar&quot;)&amp;&amp;!Ce&amp;&amp;le&amp;&amp;!(Ae&amp;&amp;n===&quot;seminar&quot;)&amp;&amp;!(je&amp;&amp;n===&quot;summit&quot;)?d.jsxs(d.Fragment,{children:[d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,disabled:S,className:&quot;flex w-full items-center gap-2 px-4 py-2.5 text-left text-sm text-ink-900 hover:bg-brand-50 disabled:opacity-50&quot;,onClick:()=&gt;{me()},children:[d.jsx(Dh,{className:&quot;h-4 w-4 shrink-0&quot;,&quot;aria-hidden&quot;:!0}),S?&quot;Export…&quot;:&quot;Export CSV&quot;]}),d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,disabled:S,className:&quot;flex w-full items-center gap-2 px-4 py-2.5 text-left text-sm text-ink-900 hover:bg-brand-50 disabled:opacity-50&quot;,onClick:()=&gt;{_e()},children:[d.jsx(p4,{className:&quot;h-4 w-4 shrink-0&quot;,&quot;aria-hidden&quot;:!0}),S?&quot;Export…&quot;:&quot;Export XLSX&quot;]})]}):null,n===&quot;recommendations&quot;&amp;&amp;!Ae&amp;&amp;Ot?d.jsxs(d.Fragment,{children:[d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,disabled:S,className:&quot;flex w-full items-center gap-2 px-4 py-2.5 text-left text-sm text-ink-900 hover:bg-brand-50 disabled:opacity-50&quot;,onClick:()=&gt;{Ie()},children:[d.jsx(Dh,{className:&quot;h-4 w-4 shrink-0&quot;,&quot;aria-hidden&quot;:!0}),S?&quot;Export…&quot;:&quot;Export CSV&quot;]}),d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,disabled:S,className:&quot;flex w-full items-center gap-2 px-4 py-2.5 text-left text-sm text-ink-900 hover:bg-brand-50 disabled:opacity-50&quot;,onClick:()=&gt;{Fe()},children:[d.jsx(p4,{className:&quot;h-4 w-4 shrink-0&quot;,&quot;aria-hidden&quot;:!0}),S?&quot;Export…&quot;:&quot;Export XLSX&quot;]})]}):null]})]}):void 0}),d.jsx(sB,{children:d.jsx(nB,{filters:c,onFiltersChange:f,hideEventFilter:n===&quot;summit&quot;||n===&quot;seminar&quot;})}),(n===&quot;summit&quot;||n===&quot;seminar&quot;)&amp;&amp;!Ce&amp;&amp;d.jsxs(aB,{children:[d.jsx(&quot;h3&quot;,{className:&quot;mb-1.5 text-xs font-semibold text-ink-800 sm:mb-2 sm:text-sm&quot;,children:&quot;Vue d&#039;ensemble&quot;}),d.jsx(Qne,{counts:qt?.by_status??{},loading:st,activeSingleStatus:z,onKpiClick:kt})]}),n===&quot;summit&quot;||n===&quot;seminar&quot;?d.jsxs(d.Fragment,{children:[d.jsxs(&quot;div&quot;,{className:&quot;mb-2 min-w-0 sm:mb-4&quot;,children:[et&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-xl p-4 mb-4&quot;,children:d.jsxs(&quot;p&quot;,{className:&quot;text-sm text-red-800&quot;,children:[&quot;Erreur lors du chargement des inscriptions: &quot;,et.data?.message||et.message||&quot;Une erreur est survenue&quot;]})}),Ce?d.jsx(dB,{registrations:ze?.data??[],loading:Ye}):d.jsx(uB,{registrations:ze?.data||[],loading:Ye,eventType:n===&quot;summit&quot;||n===&quot;seminar&quot;?n:void 0,onViewDetails:$t,onUpdateStatus:Qe?Ht:void 0,onEdit:Ue?yt:void 0,onDelete:Xe?Ut:void 0,onResendActivation:Ue?Ke:void 0,onResetParticipantPassword:Ue?ke:void 0,canUpdateStatus:Qe,canEdit:Ue,canDelete:Xe,canResendActivation:Ue,canResetParticipantPassword:Ue,resendingActivationId:B})]}),ze?.meta&amp;&amp;ze.meta.last_page&gt;1&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;mb-4 flex min-w-0 flex-wrap items-center justify-between gap-3 rounded-xl bg-white p-3 shadow-soft sm:p-4&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 flex-wrap items-center gap-3&quot;,children:[d.jsxs(&quot;span&quot;,{className:&quot;min-w-0 text-sm text-ink-500&quot;,children:[&quot;Affichage de &quot;,ze.meta.from,&quot; à &quot;,ze.meta.to,&quot; sur&quot;,&quot; &quot;,ze.meta.total,&quot; inscriptions&quot;]}),d.jsxs(&quot;select&quot;,{value:p,onChange:Se=&gt;Ze(Number(Se.target.value)),className:&quot;px-3 py-1 border border-gray-300 rounded-lg text-sm&quot;,children:[d.jsx(&quot;option&quot;,{value:20,children:&quot;20 par page&quot;}),d.jsx(&quot;option&quot;,{value:50,children:&quot;50 par page&quot;}),d.jsx(&quot;option&quot;,{value:100,children:&quot;100 par page&quot;})]})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex shrink-0 items-center gap-2&quot;,children:[d.jsx(Le,{variant:&quot;outline&quot;,onClick:()=&gt;ft(h-1),disabled:h===1,children:&quot;Précédent&quot;}),d.jsxs(&quot;span&quot;,{className:&quot;whitespace-nowrap px-2 text-sm text-ink-500&quot;,children:[&quot;Page &quot;,h,&quot; sur &quot;,ze.meta.last_page]}),d.jsx(Le,{variant:&quot;outline&quot;,onClick:()=&gt;ft(h+1),disabled:h&gt;=ze.meta.last_page,children:&quot;Suivant&quot;})]})]}),!Ce&amp;&amp;d.jsxs(&quot;details&quot;,{className:&quot;mb-6 min-w-0 rounded-xl border border-gray-200 bg-white/90 shadow-sm sm:mb-8&quot;,children:[d.jsxs(&quot;summary&quot;,{className:&quot;flex cursor-pointer list-none items-center justify-between gap-2 px-3 py-2 text-sm font-semibold text-ink-900 sm:px-4 sm:py-3 sm:text-base [&amp;::-webkit-details-marker]:hidden&quot;,children:[&quot;Statistiques&quot;,d.jsx(ib,{className:&quot;h-4 w-4 shrink-0 text-ink-500 sm:h-5 sm:w-5&quot;,&quot;aria-hidden&quot;:!0})]}),d.jsx(&quot;div&quot;,{className:&quot;border-t border-gray-100 px-3 py-3 sm:px-4 sm:py-4&quot;,children:d.jsx(Zne,{stats:qt,loading:st})})]})]}):d.jsxs(d.Fragment,{children:[d.jsxs(&quot;div&quot;,{className:&quot;mb-6 min-w-0&quot;,children:[It&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-xl p-4 mb-4&quot;,children:d.jsxs(&quot;p&quot;,{className:&quot;text-sm text-red-800&quot;,children:[&quot;Erreur lors du chargement des recommandations: &quot;,It.message]})}),d.jsx(fB,{recommendations:jt?.data||[],loading:St,onViewDetails:gt,onTreat:Ot&amp;&amp;!Ae?tt:void 0,onDelete:ir,canDelete:Ae?!1:bt})]}),jt?.meta&amp;&amp;jt.meta.last_page&gt;1&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 flex-wrap items-center justify-between gap-3 rounded-xl bg-white p-3 shadow-soft sm:p-4&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex min-w-0 flex-wrap items-center gap-3&quot;,children:[d.jsxs(&quot;span&quot;,{className:&quot;min-w-0 text-sm text-ink-500&quot;,children:[&quot;Affichage de &quot;,jt.meta.from,&quot; à &quot;,jt.meta.to,&quot; sur&quot;,&quot; &quot;,jt.meta.total,&quot; recommandations&quot;]}),d.jsxs(&quot;select&quot;,{value:x,onChange:Se=&gt;cr(Number(Se.target.value)),className:&quot;px-3 py-1 border border-gray-300 rounded-lg text-sm&quot;,children:[d.jsx(&quot;option&quot;,{value:20,children:&quot;20 par page&quot;}),d.jsx(&quot;option&quot;,{value:50,children:&quot;50 par page&quot;}),d.jsx(&quot;option&quot;,{value:100,children:&quot;100 par page&quot;})]})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex shrink-0 items-center gap-2&quot;,children:[d.jsx(Le,{variant:&quot;outline&quot;,onClick:()=&gt;Lt(g-1),disabled:g===1,children:&quot;Précédent&quot;}),d.jsxs(&quot;span&quot;,{className:&quot;whitespace-nowrap px-2 text-sm text-ink-500&quot;,children:[&quot;Page &quot;,g,&quot; sur &quot;,jt.meta.last_page]}),d.jsx(Le,{variant:&quot;outline&quot;,onClick:()=&gt;Lt(g+1),disabled:g&gt;=jt.meta.last_page,children:&quot;Suivant&quot;})]})]})]})]}),d.jsx(hB,{registration:C,isOpen:L,onClose:()=&gt;{q(!1),O(null)},onUpdateStatus:rt?Ht:void 0,canUpdateStatus:rt,onResetParticipantPassword:Ue?ke:void 0}),Z&amp;&amp;d.jsx(mB,{registration:Z,onClose:()=&gt;ie(null),onSuccess:Te}),d.jsx(pB,{registration:C,isOpen:W,onClose:()=&gt;{K(!1),O(null)},onSuccess:Xt,canSendToCorrection:ge}),d.jsx(gB,{registration:C,isOpen:U,onClose:()=&gt;{P(!1),O(null)},onSuccess:Nt}),d.jsx(vB,{registration:C,isOpen:D,onClose:()=&gt;{E(!1),O(null)},onSuccess:be}),d.jsx(bB,{recommendation:R,isOpen:j,onClose:()=&gt;{k(!1),H(null)},onSuccess:_t})]})]})]})}function uie(){const{isAuthenticated:e,isParticipant:r,loading:t,can:n,roles:l}=Ps(),i=l.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),a=l.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!l.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),u=l.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!l.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),o=l.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),[s,c]=F.useState(&quot;&quot;),[f,h]=F.useState(&quot;&quot;),[m,p]=F.useState(&quot;&quot;),[v,g]=F.useState(!1),[b,x]=F.useState(!1),[_,C]=F.useState(!1),[O,R]=F.useState(null),[H,L]=F.useState({}),q=async W=&gt;{W.preventDefault(),R(null),L({}),C(!1),x(!0);try{await R8.changePassword({current_password:s,new_password:f,new_password_confirmation:m,revoke_other_tokens:v}),C(!0),c(&quot;&quot;),h(&quot;&quot;),p(&quot;&quot;)}catch(K){const U=K;if(R(U.data?.message??&quot;Erreur lors du changement de mot de passe.&quot;),U.data?.errors){const P={};for(const[D,E]of Object.entries(U.data.errors))P[D]=Array.isArray(E)?E[0]:String(E);L(P)}}finally{x(!1)}};return t?d.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):e?r?d.jsx(ai,{to:&quot;/account&quot;,replace:!0}):d.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex flex-col&quot;,children:[d.jsx(qm,{}),d.jsxs(&quot;div&quot;,{className:&quot;flex flex-1&quot;,children:[d.jsx(Hm,{currentSection:&quot;account&quot;,showSommet:i||o?!1:n(&quot;registrations.read&quot;),showSeminar:a||u?!1:n(&quot;registrations.read&quot;),showRecommendations:i||u?!1:n(&quot;recommendations.read&quot;),showUsers:!1,showFinance:u||o?!1:n(&quot;finance.dashboard&quot;)||n(&quot;payments.read&quot;),showSettings:i||a||u||o?!1:n(&quot;settings.read&quot;)||n(&quot;settings.update&quot;)}),d.jsx(&quot;main&quot;,{className:&quot;flex-1 w-full lg:ml-48 pb-16 lg:pb-0&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;w-full px-4 sm:px-6 lg:px-8 py-6 lg:py-8 max-w-xl&quot;,children:[d.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-bold text-ink-900 mb-2&quot;,children:&quot;Mon compte&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mb-6&quot;,children:&quot;Changez votre mot de passe. Optionnel : révoquer les autres sessions (reconnexion requise sur les autres appareils).&quot;}),d.jsxs(Wn,{className:&quot;p-6&quot;,children:[_&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-green-50 border border-green-200 rounded-lg text-sm text-green-700&quot;,children:&quot;Mot de passe mis à jour avec succès.&quot;}),O&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,children:O}),d.jsxs(&quot;form&quot;,{onSubmit:q,className:&quot;space-y-4&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Mot de passe actuel&quot;}),d.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:s,onChange:W=&gt;c(W.target.value),required:!0,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,autoComplete:&quot;current-password&quot;}),H.current_password&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:H.current_password})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nouveau mot de passe&quot;}),d.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:f,onChange:W=&gt;h(W.target.value),required:!0,minLength:8,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,autoComplete:&quot;new-password&quot;}),H.new_password&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:H.new_password})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Confirmer le nouveau mot de passe&quot;}),d.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:m,onChange:W=&gt;p(W.target.value),required:!0,minLength:8,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,autoComplete:&quot;new-password&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,id:&quot;revoke&quot;,checked:v,onChange:W=&gt;g(W.target.checked),className:&quot;rounded border-gray-300&quot;}),d.jsx(&quot;label&quot;,{htmlFor:&quot;revoke&quot;,className:&quot;text-sm text-ink-700&quot;,children:&quot;Révoquer les autres sessions (déconnecter les autres appareils)&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 pt-4&quot;,children:[d.jsx(Le,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:b,children:b?&quot;Enregistrement...&quot;:&quot;Changer le mot de passe&quot;}),d.jsx(jr,{to:&quot;/admin/registrations&quot;,className:&quot;inline-flex items-center px-4 py-2 text-sm font-medium text-ink-700 bg-white border border-gray-300 rounded-lg hover:bg-gray-50&quot;,children:&quot;Retour au tableau de bord&quot;})]})]})]})]})})]})]}):d.jsx(ai,{to:&quot;/login&quot;,replace:!0})}const rM=&quot;fr-FR&quot;,nM=new Intl.NumberFormat(rM,{useGrouping:!0,maximumFractionDigits:0,minimumFractionDigits:0}),die=new Intl.NumberFormat(rM,{useGrouping:!0,minimumFractionDigits:2,maximumFractionDigits:2});function iM(e){return e.replace(/\u202f/g,&quot; &quot;).replace(/\u2009/g,&quot; &quot;)}function sM(e){if(e==null||e===&quot;&quot;)return null;if(typeof e==&quot;number&quot;)return Number.isFinite(e)?e:null;if(typeof e==&quot;string&quot;){const r=e.replace(/\s/g,&quot;&quot;).replace(/\u202f/g,&quot;&quot;).replace(&quot;,&quot;,&quot;.&quot;);if(r===&quot;&quot;)return null;const t=Number(r);return Number.isFinite(t)?t:null}return null}function dr(e){const r=sM(e);return r===null?&quot;—&quot;:`${iM(nM.format(Math.trunc(r)))} XOF`}function fie(e,r){const t=sM(e);if(t===null)return&quot;—&quot;;const n=r!=null&amp;&amp;String(r).trim()!==&quot;&quot;?String(r).trim().toUpperCase():&quot;&quot;,i=iM(n===&quot;EUR&quot;?die.format(t):nM.format(Math.trunc(t)));return n?`${i} ${n}`:i}function Nu(e,r){const t=r!=null?String(r).trim().toUpperCase():&quot;&quot;;return t===&quot;XOF&quot;||t===&quot;FCFA&quot;?dr(e):fie(e,r)}function hie({hasSelectedEvent:e,readOnly:r,alerts:t,table:n,writable:l}){const[i,a]=F.useState(null),{linesError:u,saveMessage:o}=t,{lines:s,loading:c,totals:f,moveLineLoading:h,onMoveUp:m,onMoveDown:p,onOpenEdit:v,onDelete:g}=n;return d.jsxs(d.Fragment,{children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 tracking-tight&quot;,children:&quot;Budget&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:&quot;Lignes d&#039;affectation — recettes et dépenses prévues vs réalisées (XOF).&quot;})]}),e?d.jsxs(d.Fragment,{children:[u&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:u}),o&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-green-50 border border-green-200 rounded-lg text-green-700 text-sm&quot;,children:o}),d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden mb-6 shadow-sm&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto -mx-4 px-4 sm:mx-0 sm:px-0&quot;,children:d.jsxs(&quot;table&quot;,{className:&quot;w-full text-left min-w-[640px]&quot;,children:[d.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:d.jsxs(&quot;tr&quot;,{children:[d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Catégorie&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Type&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Libellé&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-right text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Prévu (XOF)&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-right text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Réalisé (XOF)&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 w-24 text-right text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Actions&quot;})]})}),d.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:c?d.jsx(&quot;tr&quot;,{children:d.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-10 text-center text-ink-500 text-sm&quot;,children:&quot;Chargement des lignes budgétaires…&quot;})}):s.length===0?d.jsx(&quot;tr&quot;,{children:d.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-10 text-center text-ink-600 text-sm leading-relaxed&quot;,children:&quot;Aucune ligne de budget pour cet événement. Utilisez le formulaire ci-dessous pour en ajouter une.&quot;})}):s.map(b=&gt;d.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50/80&quot;,children:[d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium text-ink-900&quot;,children:b.category_name}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:b.category_type===&quot;revenue&quot;?&quot;Recettes&quot;:b.category_type===&quot;expense&quot;?&quot;Dépenses&quot;:&quot;—&quot;}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700 max-w-[200px] truncate&quot;,title:b.label??void 0,children:b.label??&quot;—&quot;}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-900 text-right tabular-nums whitespace-nowrap&quot;,children:dr(b.amount_planned)}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-900 text-right tabular-nums whitespace-nowrap&quot;,children:dr(b.amount_realized)}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:!r&amp;&amp;d.jsx(Js,{rowId:b.id,openMenuId:i,setOpenMenuId:a,onEdit:()=&gt;v(b),editLabel:&quot;Modifier&quot;,menuItems:[{id:&quot;up&quot;,label:&quot;Monter&quot;,onSelect:()=&gt;m(b),disabled:!!h||s[0]?.id===b.id,title:&quot;Monter la ligne&quot;},{id:&quot;down&quot;,label:&quot;Descendre&quot;,onSelect:()=&gt;p(b),disabled:!!h||s[s.length-1]?.id===b.id,title:&quot;Descendre la ligne&quot;},{id:&quot;delete&quot;,label:&quot;Supprimer&quot;,danger:!0,onSelect:()=&gt;g(b),title:&quot;Supprimer la ligne&quot;}]})})]},b.id))})]})}),s.length&gt;0&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;border-t border-gray-200 divide-y divide-gray-200&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;bg-amber-50/50 px-4 py-4&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-xs font-semibold text-ink-600 uppercase tracking-wider mb-3&quot;,children:&quot;Totaux budget (prévu) et équilibrage&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-x-8 gap-y-2 text-sm&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-medium&quot;,children:&quot;Total Recettes (prévu) :&quot;}),&quot; &quot;,d.jsx(&quot;span&quot;,{className:&quot;font-semibold text-ink-900 tabular-nums whitespace-nowrap&quot;,children:dr(f.totalRevenuePlanned)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-medium&quot;,children:&quot;Total Dépenses (prévu) :&quot;}),&quot; &quot;,d.jsx(&quot;span&quot;,{className:&quot;font-semibold text-ink-900 tabular-nums whitespace-nowrap&quot;,children:dr(f.totalExpensePlanned)})]})]}),d.jsx(&quot;div&quot;,{className:&quot;mt-3 pt-3 border-t border-amber-200&quot;,children:f.shortfall&gt;0?d.jsxs(&quot;p&quot;,{className:&quot;text-amber-800 font-medium tabular-nums whitespace-nowrap&quot;,children:[&quot;Fonds à rechercher : &quot;,dr(f.shortfall)]}):f.surplus&gt;0?d.jsxs(&quot;p&quot;,{className:&quot;text-green-800 font-medium tabular-nums whitespace-nowrap&quot;,children:[&quot;Montant restant après dépenses : &quot;,dr(f.surplus)]}):d.jsx(&quot;p&quot;,{className:&quot;text-ink-600 font-medium&quot;,children:&quot;Budget prévu équilibré.&quot;})})]}),d.jsxs(&quot;div&quot;,{className:&quot;bg-green-50/50 px-4 py-4&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-xs font-semibold text-ink-600 uppercase tracking-wider mb-3&quot;,children:&quot;Réalisation&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-x-8 gap-y-2 text-sm&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-medium&quot;,children:&quot;Total Recettes (réalisé) :&quot;}),&quot; &quot;,d.jsx(&quot;span&quot;,{className:&quot;font-semibold text-ink-900 tabular-nums&quot;,children:dr(f.totalRevenueRealized)})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-medium&quot;,children:&quot;Total Dépenses (réalisé) :&quot;}),&quot; &quot;,d.jsx(&quot;span&quot;,{className:&quot;font-semibold text-ink-900 tabular-nums&quot;,children:dr(f.totalExpenseRealized)})]})]}),d.jsxs(&quot;div&quot;,{className:&quot;mt-3 pt-3 border-t border-green-200&quot;,children:[d.jsx(&quot;span&quot;,{className:&quot;text-ink-600 font-medium&quot;,children:&quot;Solde : &quot;}),d.jsx(&quot;span&quot;,{className:`font-semibold tabular-nums whitespace-nowrap ${f.totalRevenueRealized-f.totalExpenseRealized&gt;=0?&quot;text-green-800&quot;:&quot;text-amber-800&quot;}`,children:dr(f.totalRevenueRealized-f.totalExpenseRealized)})]})]})]})]}),l&amp;&amp;d.jsxs(d.Fragment,{children:[d.jsxs(&quot;div&quot;,{className:&quot;p-4 sm:p-5 bg-gray-50 rounded-xl border border-gray-200 mb-4&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-sm font-semibold text-ink-800 mb-3&quot;,children:&quot;Nouvelle ligne de budget&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-12 gap-4 items-end&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-3&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-2 mb-1.5&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700&quot;,children:&quot;Catégorie&quot;}),l.addLine.onOpenCategoryModal?d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:l.addLine.onOpenCategoryModal,className:&quot;text-xs font-semibold text-brand-700 hover:text-brand-900 hover:underline shrink-0&quot;,children:&quot;Nouvelle catégorie&quot;}):null]}),d.jsxs(&quot;select&quot;,{value:l.addLine.categoryId,onChange:b=&gt;l.addLine.onCategoryChange(b.target.value===&quot;&quot;?&quot;&quot;:Number(b.target.value)),className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir -&quot;}),l.addLine.categories.map(b=&gt;d.jsx(&quot;option&quot;,{value:b.id,children:b.name},b.id))]})]}),d.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-4&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Libellé (optionnel)&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.addLine.label,onChange:b=&gt;l.addLine.onLabelChange(b.target.value),placeholder:&quot;Ex. Location cars, Catering&quot;,className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;sm:max-w-[12rem] lg:col-span-2&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Montant prévu (XOF)&quot;}),d.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:0,value:l.addLine.amount||&quot;&quot;,onChange:b=&gt;l.addLine.onAmountChange(parseInt(b.target.value,10)||0),className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;})]}),d.jsx(&quot;div&quot;,{className:&quot;lg:col-span-3 flex sm:justify-start&quot;,children:d.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:l.addLine.onSubmit,disabled:l.addLine.submitting,className:&quot;w-full sm:w-auto min-h-[42px]&quot;,children:l.addLine.submitting?&quot;Ajout en cours…&quot;:&quot;Ajouter une ligne&quot;})})]})]}),l.addLine.error&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:l.addLine.error}),d.jsxs(&quot;div&quot;,{className:&quot;flex flex-col sm:flex-row flex-wrap items-stretch sm:items-center justify-end gap-2&quot;,children:[d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:l.exportBar.onExportCsv,disabled:!!l.exportBar.exportFinanceLoading||l.exportBar.linesCount===0,title:&quot;Exporter le budget au format CSV&quot;,className:&quot;inline-flex items-center justify-center gap-1.5 px-3 py-2 text-sm font-medium border border-gray-300 rounded-lg bg-white text-ink-700 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:[d.jsx(tc,{size:14,&quot;aria-hidden&quot;:!0}),l.exportBar.exportFinanceLoading===&quot;budget-csv&quot;?&quot;Export…&quot;:&quot;Export CSV&quot;]}),d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:l.exportBar.onExportXlsx,disabled:!!l.exportBar.exportFinanceLoading||l.exportBar.linesCount===0,title:&quot;Exporter le budget au format Excel (XLSX)&quot;,className:&quot;inline-flex items-center justify-center gap-1.5 px-3 py-2 text-sm font-medium border border-gray-300 rounded-lg bg-white text-ink-700 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:[d.jsx(tc,{size:14,&quot;aria-hidden&quot;:!0}),l.exportBar.exportFinanceLoading===&quot;budget-xlsx&quot;?&quot;Export…&quot;:&quot;Export XLSX&quot;]}),d.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:l.exportBar.onSave,className:&quot;min-h-[42px]&quot;,children:&quot;Enregistrer le budget&quot;})]})]})]}):d.jsxs(&quot;div&quot;,{className:&quot;rounded-xl border border-dashed border-gray-300 bg-white p-8 text-center text-ink-600 text-sm leading-relaxed&quot;,children:[&quot;Sélectionnez un &quot;,d.jsx(&quot;strong&quot;,{className:&quot;font-semibold text-ink-800&quot;,children:&quot;événement&quot;}),&quot; ci-dessus pour afficher et modifier le budget.&quot;]})]})}function mie({open:e,onClose:r,eventType:t,categories:n,onCategoriesChanged:l,onCreatedSelect:i}){const[a,u]=F.useState(&quot;new&quot;),[o,s]=F.useState(null),[c,f]=F.useState({name:&quot;&quot;,code:&quot;&quot;,type:&quot;expense&quot;,event_type:&quot;&quot;,sort_order:0}),[h,m]=F.useState(!1),[p,v]=F.useState(!1),[g,b]=F.useState(null),x=F.useCallback(()=&gt;{u(&quot;new&quot;),s(null),f({name:&quot;&quot;,code:&quot;&quot;,type:&quot;expense&quot;,event_type:t??&quot;&quot;,sort_order:0}),b(null)},[t]);F.useEffect(()=&gt;{e&amp;&amp;x()},[e,x]);const _=R=&gt;{const H=n.find(L=&gt;L.id===R);H&amp;&amp;(u(&quot;edit&quot;),s(R),f({name:H.name,code:H.code??&quot;&quot;,type:H.type,event_type:H.event_type??&quot;&quot;,sort_order:H.sort_order??0}),b(null))},C=async()=&gt;{const R=c.name.trim();if(!R){b(&quot;Le nom est obligatoire.&quot;);return}m(!0),b(null);const H={name:R,code:c.code.trim()||null,type:c.type,event_type:c.event_type===&quot;&quot;?null:c.event_type,sort_order:c.sort_order};try{if(a===&quot;new&quot;){const L=await Ya.create(H);l(),i?.(L.id),r()}else o!=null&amp;&amp;(await Ya.update(o,H),l(),r())}catch(L){if(L instanceof Wt){const q=L.data?.message??L.message,W=L.data?.errors;b(W&amp;&amp;typeof W==&quot;object&quot;?`${q} ${Object.values(W).flat().join(&quot; &quot;)}`:q)}else b(L instanceof Error?L.message:&quot;Erreur lors de l’enregistrement.&quot;)}finally{m(!1)}},O=async()=&gt;{if(!(o==null||a!==&quot;edit&quot;)&amp;&amp;window.confirm(&quot;Supprimer cette catégorie ? Les lignes de budget qui l’utilisent seront supprimées (effet en cascade).&quot;)){v(!0),b(null);try{await Ya.delete(o),l(),r()}catch(R){R instanceof Wt?b(R.data?.message??R.message??&quot;Suppression impossible.&quot;):b(R instanceof Error?R.message:&quot;Suppression impossible.&quot;)}finally{v(!1)}}};return e?d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-[60] overflow-y-auto&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;flex min-h-full items-center justify-center p-4&quot;,children:[d.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:&quot;fixed inset-0 bg-black/50 transition-opacity&quot;,&quot;aria-hidden&quot;:!0,onClick:()=&gt;!h&amp;&amp;!p&amp;&amp;r()}),d.jsxs(&quot;div&quot;,{className:&quot;relative w-full max-w-lg rounded-xl bg-white shadow-xl border border-gray-200&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-start justify-between gap-3 border-b border-gray-100 px-5 py-4&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Catégorie de budget&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-1&quot;,children:&quot;Créer ou modifier une catégorie (recettes / dépenses).&quot;})]}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!h&amp;&amp;!p&amp;&amp;r(),className:&quot;rounded p-1 text-ink-400 hover:bg-gray-100 hover:text-ink-600&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:d.jsx(vr,{size:22})})]}),d.jsxs(&quot;div&quot;,{className:&quot;px-5 py-4 space-y-4&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Catégorie à éditer&quot;}),d.jsxs(&quot;select&quot;,{value:a===&quot;new&quot;?&quot;&quot;:String(o??&quot;&quot;),onChange:R=&gt;{const H=R.target.value;H===&quot;&quot;?x():_(Number(H))},disabled:h||p,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;— Nouvelle catégorie —&quot;}),n.map(R=&gt;d.jsxs(&quot;option&quot;,{value:R.id,children:[R.name,&quot; (&quot;,R.type===&quot;revenue&quot;?&quot;Recette&quot;:&quot;Dépense&quot;,R.event_type?` · ${R.event_type}`:&quot; · tous types&quot;,&quot;)&quot;]},R.id))]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.name,onChange:R=&gt;f(H=&gt;({...H,name:R.target.value})),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,placeholder:&quot;Ex. Communication, Logistique&quot;,disabled:h||p})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Code (optionnel)&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c.code,onChange:R=&gt;f(H=&gt;({...H,code:R.target.value})),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,placeholder:&quot;Référence courte&quot;,maxLength:50,disabled:h||p})]}),d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 sm:grid-cols-2 gap-3&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Type&quot;}),d.jsxs(&quot;select&quot;,{value:c.type,onChange:R=&gt;f(H=&gt;({...H,type:R.target.value})),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,disabled:h||p,children:[d.jsx(&quot;option&quot;,{value:&quot;expense&quot;,children:&quot;Dépense&quot;}),d.jsx(&quot;option&quot;,{value:&quot;revenue&quot;,children:&quot;Recette&quot;})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Portée événement&quot;}),d.jsxs(&quot;select&quot;,{value:c.event_type===&quot;&quot;?&quot;&quot;:c.event_type,onChange:R=&gt;f(H=&gt;({...H,event_type:R.target.value===&quot;&quot;?&quot;&quot;:R.target.value})),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,disabled:h||p,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous les types d’événements&quot;}),d.jsx(&quot;option&quot;,{value:&quot;summit&quot;,children:&quot;Sommet&quot;}),d.jsx(&quot;option&quot;,{value:&quot;seminar&quot;,children:&quot;Séminaire&quot;}),d.jsx(&quot;option&quot;,{value:&quot;other&quot;,children:&quot;Autre&quot;})]})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Ordre d’affichage&quot;}),d.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:0,value:c.sort_order,onChange:R=&gt;f(H=&gt;({...H,sort_order:parseInt(R.target.value,10)||0})),className:&quot;w-full max-w-[8rem] px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,disabled:h||p})]}),g&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;rounded-lg border border-red-200 bg-red-50 px-3 py-2 text-sm text-red-800&quot;,children:g})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-2 border-t border-gray-100 px-5 py-4 bg-gray-50/80&quot;,children:[d.jsx(&quot;div&quot;,{children:a===&quot;edit&quot;&amp;&amp;d.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,className:&quot;text-red-700 border-red-200 hover:bg-red-50&quot;,disabled:h||p,onClick:()=&gt;{O()},children:p?&quot;Suppression…&quot;:&quot;Supprimer&quot;})}),d.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-2 justify-end&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,disabled:h||p,onClick:r,children:&quot;Annuler&quot;}),d.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,disabled:h||p,onClick:()=&gt;{C()},children:h?&quot;Enregistrement…&quot;:a===&quot;new&quot;?&quot;Créer&quot;:&quot;Enregistrer&quot;})]})]})]})]})}):null}function pie({payments:e,readOnly:r,exportLoading:t=!1,onExportXlsx:n,receipt:l}){const[i,a]=F.useState(null),{error:u,actionPending:o,isLoading:s,onDownloadReceipt:c,onIssueReceipt:f,onSendReceiptEmail:h}=l;return d.jsxs(&quot;section&quot;,{className:&quot;bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden mb-8&quot;,&quot;aria-label&quot;:&quot;Paiements confirmés et reçus&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;px-4 sm:px-5 py-3 bg-brand-50 border-b border-brand-100 flex flex-wrap items-center justify-between gap-2&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-sm font-bold text-ink-900&quot;,children:&quot;Paiements confirmés — Reçus&quot;}),n?d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:n,disabled:t||e.length===0,className:&quot;inline-flex items-center rounded-md border border-gray-300 bg-white px-3 py-1.5 text-xs font-medium text-ink-700 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed shrink-0&quot;,children:t?&quot;Export…&quot;:&quot;Exporter XLSX&quot;}):null]}),u&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mx-4 mt-3 bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:d.jsx(&quot;p&quot;,{className:&quot;text-xs text-red-700&quot;,children:u})}),d.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto -mx-4 px-4 sm:mx-0 sm:px-0&quot;,children:d.jsxs(&quot;table&quot;,{className:&quot;w-full text-sm min-w-[640px]&quot;,children:[d.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:d.jsxs(&quot;tr&quot;,{children:[d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Participant&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Montant&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Date&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Reçu&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-right text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Actions&quot;})]})}),d.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:e.map(m=&gt;{const p=`cp-${m.id}`,v=[];return m.receipt&amp;&amp;v.push({id:&quot;email&quot;,label:s(`payment-${m.id}`,&quot;email&quot;)?&quot;Envoi…&quot;:&quot;Envoyer par e-mail&quot;,onSelect:()=&gt;h(m.id),disabled:o,title:&quot;Envoyer le reçu par email au participant&quot;}),d.jsxs(&quot;tr&quot;,{className:&quot;align-middle hover:bg-gray-50/60&quot;,children:[d.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-900&quot;,children:[d.jsxs(&quot;span&quot;,{className:&quot;font-medium&quot;,children:[m.registration?.first_name,&quot; &quot;,m.registration?.last_name]}),m.registration?.email&amp;&amp;d.jsx(&quot;span&quot;,{className:&quot;block text-xs text-ink-500 truncate max-w-[200px]&quot;,title:m.registration.email,children:m.registration.email})]}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 whitespace-nowrap tabular-nums font-medium text-ink-900&quot;,children:Nu(m.amount,m.currency)}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-600 whitespace-nowrap text-sm&quot;,children:m.paid_at?new Date(m.paid_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;—&quot;}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:m.receipt?d.jsx(&quot;span&quot;,{className:&quot;text-xs font-mono text-ink-700&quot;,children:m.receipt.receipt_number}):d.jsx(&quot;span&quot;,{className:&quot;text-ink-400 text-xs&quot;,children:&quot;Non émis&quot;})}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:r?d.jsx(&quot;span&quot;,{className:&quot;text-ink-400 text-xs&quot;,children:&quot;—&quot;}):m.receipt?d.jsx(Js,{rowId:p,openMenuId:i,setOpenMenuId:a,onView:()=&gt;c(m.receipt.id,m.receipt.receipt_number),viewLabel:&quot;Télécharger&quot;,viewDisabled:o,menuItems:v}):d.jsx(Js,{rowId:p,openMenuId:i,setOpenMenuId:a,onEdit:()=&gt;f(m.id),editLabel:&quot;Générer le reçu&quot;,editDisabled:o,menuItems:[]})})]},m.id)})})]})})]})}function gie({loading:e,rows:r,registrationsForPayment:t,readOnly:n,initPaymentModalOpen:l,exportLoading:i,meta:a,page:u,perPage:o,onPageChange:s,onPerPageChange:c,onInitPayment:f,onView:h,onExportXlsx:m}){const[p,v]=F.useState(null),g=x=&gt;x===&quot;late&quot;?&quot;bg-red-100 text-red-800&quot;:x===&quot;ahead&quot;?&quot;bg-blue-100 text-blue-800&quot;:&quot;bg-green-100 text-green-800&quot;,b=x=&gt;x===&quot;late&quot;?&quot;En retard&quot;:x===&quot;ahead&quot;?&quot;En avance&quot;:&quot;À jour&quot;;return d.jsxs(&quot;section&quot;,{className:&quot;bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden&quot;,&quot;aria-label&quot;:&quot;Liste des débiteurs&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;px-5 py-3.5 bg-brand-50 border-b border-brand-100 flex items-center justify-between gap-3&quot;,children:[d.jsxs(&quot;h3&quot;,{className:&quot;text-sm font-bold text-ink-900 flex items-center gap-2&quot;,children:[d.jsx(Fh,{size:16,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Débiteurs (solde &gt; 0)&quot;]}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:m,disabled:i||e||r.length===0,className:&quot;inline-flex items-center rounded-md border border-gray-300 bg-white px-3 py-1.5 text-xs font-medium text-ink-700 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:i?&quot;Export...&quot;:&quot;Exporter XLSX&quot;})]}),d.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto -mx-4 px-4 sm:mx-0 sm:px-0&quot;,children:d.jsxs(&quot;table&quot;,{className:&quot;w-full text-sm min-w-[760px]&quot;,children:[d.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:d.jsxs(&quot;tr&quot;,{children:[d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Nom&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Email&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Échéances&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-right text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Solde&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Situation&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-right text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Action&quot;})]})}),d.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:e?d.jsx(&quot;tr&quot;,{children:d.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-8 text-ink-500 text-sm text-center&quot;,children:&quot;Chargement de la liste des débiteurs…&quot;})}):r.length===0?d.jsx(&quot;tr&quot;,{children:d.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-8 text-ink-600 text-sm leading-relaxed&quot;,children:&quot;Aucun débiteur avec solde ouvert pour la sélection actuelle (ou tous les comptes sont soldés).&quot;})}):r.map(x=&gt;{const _=t.find(C=&gt;C.id===x.registration_id);return d.jsxs(&quot;tr&quot;,{className:&quot;align-middle hover:bg-gray-50/60&quot;,children:[d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-900 font-medium&quot;,children:x.name}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-600 truncate max-w-[180px]&quot;,title:x.email,children:x.email}),d.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;text-xs text-ink-700 font-medium&quot;,children:x.installments_label??&quot;1 éch.&quot;}),d.jsx(&quot;div&quot;,{className:&quot;text-[11px] text-ink-500&quot;,children:(x.installments_open_count??0)&gt;0?`${x.installments_open_count} restant${(x.installments_open_count??0)&gt;1?&quot;s&quot;:&quot;&quot;}`:&quot;Soldé&quot;})]}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right font-semibold tabular-nums whitespace-nowrap text-ink-900&quot;,children:dr(x.balance)}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:d.jsx(&quot;span&quot;,{className:`px-2 py-0.5 rounded-md text-xs font-medium ${g(x.financial_situation)}`,children:b(x.financial_situation)})}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:_?d.jsx(Js,{rowId:x.registration_id,openMenuId:p,setOpenMenuId:v,onView:()=&gt;h(x.registration_id),viewLabel:&quot;Voir&quot;,menuItems:n?[]:[{id:&quot;collect&quot;,label:&quot;Encaisser&quot;,onSelect:()=&gt;f(_),disabled:l,title:&quot;Saisir un encaissement pour ce participant&quot;}]}):null})]},x.registration_id)})})]})}),a&amp;&amp;a.total&gt;0&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;px-4 py-2 border-t border-gray-100 flex flex-wrap items-center justify-between gap-2&quot;,children:[d.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:a.last_page&gt;1&amp;&amp;a.from!=null&amp;&amp;a.to!=null?`Débiteurs ${a.from} à ${a.to} sur ${a.total}`:`Total : ${a.total} débiteur${a.total!==1?&quot;s&quot;:&quot;&quot;}`}),a.last_page&gt;1&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;text-xs text-ink-500 flex items-center gap-1&quot;,children:[&quot;Par page&quot;,d.jsx(&quot;select&quot;,{value:o,onChange:x=&gt;{c(Number(x.target.value)),s(1)},className:&quot;text-sm border border-gray-300 rounded px-2 py-0.5&quot;,children:[10,20,50].map(x=&gt;d.jsx(&quot;option&quot;,{value:x,children:x},x))})]}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:u&lt;=1,onClick:()=&gt;s(Math.max(1,u-1)),className:&quot;text-xs px-2 py-1 rounded border border-gray-300 disabled:opacity-50 disabled:cursor-not-allowed hover:bg-gray-50&quot;,children:&quot;Précédent&quot;}),d.jsxs(&quot;span&quot;,{className:&quot;text-xs text-ink-600&quot;,children:[&quot;Page &quot;,u,&quot; / &quot;,a.last_page]}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:u&gt;=a.last_page,onClick:()=&gt;s(u+1),className:&quot;text-xs px-2 py-1 rounded border border-gray-300 disabled:opacity-50 disabled:cursor-not-allowed hover:bg-gray-50&quot;,children:&quot;Suivant&quot;})]})]})]})}function vie({hasSelectedEvent:e,readOnly:r,alerts:t,exportRow:n,table:l,form:i}){const{error:a}=t,{rows:u,loading:o,onDelete:s}=l;return d.jsxs(d.Fragment,{children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 tracking-tight&quot;,children:&quot;Dépenses&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:&quot;Saisie et suivi des dépenses liées à l&#039;événement (XOF).&quot;})]}),e?d.jsxs(d.Fragment,{children:[a&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:a}),n&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2 mb-3&quot;,children:[d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:n.onExportCsv,disabled:!!n.exportFinanceLoading,title:&quot;Exporter les dépenses au format CSV&quot;,className:&quot;inline-flex items-center justify-center gap-1.5 px-3 py-2 text-sm font-medium border border-gray-300 rounded-lg bg-white text-ink-700 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:[d.jsx(tc,{size:14,&quot;aria-hidden&quot;:!0}),n.exportFinanceLoading===&quot;expenses-csv&quot;?&quot;Export…&quot;:&quot;Export CSV&quot;]}),d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:n.onExportXlsx,disabled:!!n.exportFinanceLoading,title:&quot;Exporter les dépenses au format Excel (XLSX)&quot;,className:&quot;inline-flex items-center justify-center gap-1.5 px-3 py-2 text-sm font-medium border border-gray-300 rounded-lg bg-white text-ink-700 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:[d.jsx(tc,{size:14,&quot;aria-hidden&quot;:!0}),n.exportFinanceLoading===&quot;expenses-xlsx&quot;?&quot;Export…&quot;:&quot;Export XLSX&quot;]})]}),d.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden mb-6 shadow-sm&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto -mx-4 px-4 sm:mx-0 sm:px-0&quot;,children:d.jsxs(&quot;table&quot;,{className:&quot;w-full text-left min-w-[720px]&quot;,children:[d.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:d.jsxs(&quot;tr&quot;,{children:[d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Date&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Catégorie&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Libellé&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-left text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Compte&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 text-right text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Montant (XOF)&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3.5 w-14 text-right text-xs font-semibold text-ink-700 uppercase tracking-wider&quot;,children:&quot;Action&quot;})]})}),d.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:o?d.jsx(&quot;tr&quot;,{children:d.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-10 text-center text-ink-500 text-sm&quot;,children:&quot;Chargement des dépenses…&quot;})}):u.length===0?d.jsx(&quot;tr&quot;,{children:d.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-10 text-center text-ink-600 text-sm leading-relaxed&quot;,children:&quot;Aucune dépense enregistrée pour cet événement. Utilisez le formulaire ci-dessous pour en ajouter une.&quot;})}):u.map(c=&gt;d.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50/80&quot;,children:[d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700 whitespace-nowrap&quot;,children:c.paid_at?new Date(c.paid_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;—&quot;}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-600 max-w-[140px] truncate&quot;,title:c.budget_line_label??void 0,children:c.budget_line_label??&quot;—&quot;}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium text-ink-900 max-w-[180px] truncate&quot;,title:c.label??void 0,children:c.label??&quot;—&quot;}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700 max-w-[160px] truncate&quot;,title:c.treasury_account_name,children:c.treasury_account_name}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-semibold text-ink-900 text-right tabular-nums whitespace-nowrap&quot;,children:dr(c.amount)}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:!r&amp;&amp;d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;s(c),className:&quot;p-1.5 text-ink-500 hover:text-red-600 hover:bg-red-50 rounded inline-flex&quot;,title:&quot;Supprimer cette dépense&quot;,&quot;aria-label&quot;:&quot;Supprimer cette dépense&quot;,children:d.jsx(vr,{size:16,&quot;aria-hidden&quot;:!0})})})]},c.id))})]})})}),d.jsxs(&quot;div&quot;,{className:&quot;p-4 sm:p-5 bg-gray-50 rounded-xl border border-gray-200 mb-4&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-sm font-semibold text-ink-800 mb-3&quot;,children:&quot;Nouvelle dépense&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6 gap-4 items-end&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Date&quot;}),d.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i.paidAt,onChange:c=&gt;i.onPaidAtChange(c.target.value),className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;sm:col-span-2 lg:col-span-1 xl:col-span-1&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Catégorie budget (optionnel)&quot;}),d.jsxs(&quot;select&quot;,{value:i.budgetLineId,onChange:c=&gt;i.onBudgetLineChange(c.target.value===&quot;&quot;?&quot;&quot;:Number(c.target.value)),className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir -&quot;}),i.budgetLines.map(c=&gt;d.jsx(&quot;option&quot;,{value:c.id,children:c.category_name??c.label??`Ligne #${c.id}`},c.id))]})]}),d.jsxs(&quot;div&quot;,{className:&quot;sm:col-span-2 lg:col-span-2&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Compte de trésorerie *&quot;}),d.jsxs(&quot;select&quot;,{value:i.treasuryAccountId,onChange:c=&gt;i.onTreasuryAccountChange(c.target.value===&quot;&quot;?&quot;&quot;:Number(c.target.value)),className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir -&quot;}),i.treasuryAccounts.map(c=&gt;d.jsxs(&quot;option&quot;,{value:c.id,children:[c.name,&quot; — &quot;,c.context_display]},c.id))]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Montant (XOF) *&quot;}),d.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:1,value:i.amount||&quot;&quot;,onChange:c=&gt;i.onAmountChange(parseInt(c.target.value,10)||0),className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;sm:col-span-2 xl:col-span-1&quot;,children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Libellé *&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:i.label,onChange:c=&gt;i.onLabelChange(c.target.value),placeholder:&quot;Ex. Billets orateurs&quot;,className:&quot;w-full px-3 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 min-h-[42px]&quot;,required:!0})]}),d.jsx(&quot;div&quot;,{className:&quot;sm:col-span-2 xl:col-span-1 flex xl:items-end&quot;,children:d.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:i.onSubmit,disabled:i.submitting,className:&quot;w-full min-h-[42px]&quot;,children:i.submitting?&quot;Ajout en cours…&quot;:&quot;Ajouter une dépense&quot;})})]})]}),i.error&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:i.error})]}):d.jsxs(&quot;div&quot;,{className:&quot;rounded-xl border border-dashed border-gray-300 bg-white p-8 text-center text-ink-600 text-sm leading-relaxed&quot;,children:[&quot;Sélectionnez un &quot;,d.jsx(&quot;strong&quot;,{className:&quot;font-semibold text-ink-800&quot;,children:&quot;événement&quot;}),&quot; pour afficher et saisir les dépenses.&quot;]})]})}function yie({kpi:e}){return d.jsxs(&quot;section&quot;,{className:&quot;space-y-3&quot;,&quot;aria-label&quot;:&quot;Indicateurs clés&quot;,children:[d.jsx(&quot;h4&quot;,{className:&quot;text-xs font-semibold uppercase tracking-wider text-ink-500&quot;,children:&quot;Indicateurs&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-6 gap-4&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-sm p-4 border border-gray-200 min-h-[5.5rem] flex flex-col justify-between&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:[d.jsx(ab,{size:16,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Total dû (inscriptions)&quot;]}),d.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-ink-900 tabular-nums whitespace-nowrap&quot;,children:dr(e.total_due_registrations)})]}),d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-sm p-4 border border-gray-200 min-h-[5.5rem] flex flex-col justify-between&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:[d.jsx(KL,{size:16,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Encaissé confirmé&quot;]}),d.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-green-700 tabular-nums whitespace-nowrap&quot;,children:dr(e.total_confirmed_payments)})]}),d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-sm p-4 border border-gray-200 min-h-[5.5rem] flex flex-col justify-between&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:&quot;Reste à encaisser&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-amber-700 tabular-nums whitespace-nowrap&quot;,children:dr(e.remaining_to_collect)})]}),d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-sm p-4 border border-gray-200 min-h-[5.5rem] flex flex-col justify-between&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:&quot;Dons confirmés&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-green-700 tabular-nums whitespace-nowrap&quot;,children:dr(e.donations_confirmed_total)})]}),d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-sm p-4 border border-gray-200 min-h-[5.5rem] flex flex-col justify-between&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:[d.jsx(sb,{size:16,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;À valider&quot;]}),d.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-ink-900 tabular-nums whitespace-nowrap&quot;,children:e.pending_review_count})]}),d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-sm p-4 border border-gray-200 min-h-[5.5rem] flex flex-col justify-between&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:[d.jsx(Fh,{size:16,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Non soldés / partiels&quot;]}),d.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-ink-900 tabular-nums whitespace-nowrap&quot;,children:e.unpaid_or_partial_count})]})]})]})}function bie({title:e,subtitle:r,showReadOnlyBanner:t}){return d.jsxs(d.Fragment,{children:[d.jsxs(&quot;header&quot;,{className:&quot;mb-8 pb-6 border-b border-gray-200&quot;,children:[d.jsx(&quot;h2&quot;,{className:&quot;text-3xl font-bold text-ink-900 tracking-tight&quot;,children:e}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mt-2 text-base leading-relaxed max-w-3xl&quot;,children:r})]}),t&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;mb-6 p-4 bg-amber-50 border border-amber-200 rounded-xl text-amber-900 text-sm leading-relaxed&quot;,children:[d.jsx(&quot;strong&quot;,{className:&quot;font-semibold&quot;,children:&quot;Mode lecture seule.&quot;}),&quot; Vous pouvez consulter les données mais ne pouvez pas valider, modifier ni exporter.&quot;]})]})}function xie({activeTab:e,onTabChange:r,ariaLabel:t=&quot;Sections finance&quot;}){return d.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-1 border-b border-gray-200 bg-white rounded-t-xl px-1 sm:px-2 pt-1 -mb-px shadow-sm&quot;,role:&quot;tablist&quot;,&quot;aria-label&quot;:t,children:[d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,role:&quot;tab&quot;,&quot;aria-selected&quot;:e===&quot;validation&quot;,onClick:()=&gt;r(&quot;validation&quot;),className:`flex items-center gap-2 px-4 py-3 rounded-t-lg border-b-2 -mb-px text-sm sm:text-base font-semibold transition-colors ${e===&quot;validation&quot;?&quot;border-brand-700 text-brand-700 bg-brand-50/50&quot;:&quot;border-transparent text-ink-500 hover:text-ink-800 hover:bg-gray-50&quot;}`,children:[d.jsx(BL,{size:18,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),d.jsx(&quot;span&quot;,{className:&quot;text-left&quot;,children:&quot;Validation recettes et dons&quot;})]}),d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,role:&quot;tab&quot;,&quot;aria-selected&quot;:e===&quot;budget&quot;,onClick:()=&gt;r(&quot;budget&quot;),className:`flex items-center gap-2 px-4 py-3 rounded-t-lg border-b-2 -mb-px text-sm sm:text-base font-semibold transition-colors ${e===&quot;budget&quot;?&quot;border-brand-700 text-brand-700 bg-brand-50/50&quot;:&quot;border-transparent text-ink-500 hover:text-ink-800 hover:bg-gray-50&quot;}`,children:[d.jsx(T8,{size:18,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Budget&quot;]}),d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,role:&quot;tab&quot;,&quot;aria-selected&quot;:e===&quot;expenses&quot;,onClick:()=&gt;r(&quot;expenses&quot;),className:`flex items-center gap-2 px-4 py-3 rounded-t-lg border-b-2 -mb-px text-sm sm:text-base font-semibold transition-colors ${e===&quot;expenses&quot;?&quot;border-brand-700 text-brand-700 bg-brand-50/50&quot;:&quot;border-transparent text-ink-500 hover:text-ink-800 hover:bg-gray-50&quot;}`,children:[d.jsx(mL,{size:18,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Dépenses&quot;]})]})}function wie({pendingPayments:e,pendingDonations:r,donationsPaymentInProgress:t,readOnly:n,actionLoading:l,onConfirmPayment:i,onRejectPayment:a,onConfirmDonation:u,onRejectDonation:o,onOpenDonationsList:s}){return d.jsxs(&quot;section&quot;,{className:&quot;grid grid-cols-1 lg:grid-cols-3 gap-6 lg:gap-8&quot;,&quot;aria-label&quot;:&quot;Files d&#039;attente validation&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden flex flex-col&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;px-5 py-3.5 bg-brand-50 border-b border-brand-100 text-sm font-bold text-ink-900&quot;,children:&quot;Paiements en attente de validation&quot;}),d.jsx(&quot;div&quot;,{className:&quot;divide-y divide-gray-100 flex-1&quot;,children:e.length===0?d.jsx(&quot;p&quot;,{className:&quot;px-5 py-6 text-ink-600 text-sm leading-relaxed&quot;,children:&quot;Aucun paiement d&#039;inscription en attente de validation pour la sélection actuelle.&quot;}):e.map(c=&gt;d.jsxs(&quot;div&quot;,{className:&quot;px-5 py-3.5 flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[d.jsxs(&quot;p&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:[c.registration?.first_name,&quot; &quot;,c.registration?.last_name]}),d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600 tabular-nums whitespace-nowrap mt-0.5&quot;,children:Nu(c.amount,c.currency)})]}),!n&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 shrink-0 justify-end&quot;,children:[d.jsx(Le,{variant:&quot;primary&quot;,onClick:()=&gt;i(c),disabled:l,title:&quot;Confirmer ce paiement&quot;,&quot;aria-label&quot;:&quot;Confirmer ce paiement&quot;,className:&quot;p-1.5&quot;,children:d.jsx(h4,{size:16,&quot;aria-hidden&quot;:!0})}),d.jsx(Le,{variant:&quot;outline&quot;,onClick:()=&gt;a(c),disabled:l,title:&quot;Rejeter ce paiement&quot;,&quot;aria-label&quot;:&quot;Rejeter ce paiement&quot;,className:&quot;!p-1.5 !px-1.5 !py-1.5&quot;,children:d.jsx(vr,{size:16,&quot;aria-hidden&quot;:!0})})]})]},c.id))})]}),d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden flex flex-col&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;px-5 py-3.5 bg-brand-50 border-b border-brand-100 text-sm font-bold text-ink-900&quot;,children:&quot;Dons en attente de validation&quot;}),d.jsx(&quot;div&quot;,{className:&quot;divide-y divide-gray-100 flex-1&quot;,children:r.length===0?d.jsx(&quot;p&quot;,{className:&quot;px-5 py-6 text-ink-600 text-sm leading-relaxed&quot;,children:&quot;Aucun don en attente de validation pour la sélection actuelle.&quot;}):r.map(c=&gt;d.jsxs(&quot;div&quot;,{className:&quot;px-5 py-3 flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3 text-sm&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;font-semibold text-ink-900 truncate&quot;,title:c.donor_name||&quot;Anonyme&quot;,children:c.donor_name||&quot;Anonyme&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-600 tabular-nums whitespace-nowrap mt-0.5&quot;,children:Nu(c.amount,c.currency)})]}),!n&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 shrink-0 justify-end&quot;,children:[d.jsx(Le,{variant:&quot;primary&quot;,onClick:()=&gt;u(c),disabled:l,title:&quot;Confirmer ce don&quot;,&quot;aria-label&quot;:&quot;Confirmer ce don&quot;,className:&quot;p-1.5&quot;,children:d.jsx(h4,{size:16,&quot;aria-hidden&quot;:!0})}),d.jsx(Le,{variant:&quot;outline&quot;,onClick:()=&gt;o(c),disabled:l,title:&quot;Rejeter ce don&quot;,&quot;aria-label&quot;:&quot;Rejeter ce don&quot;,className:&quot;!p-1.5 !px-1.5 !py-1.5&quot;,children:d.jsx(vr,{size:16,&quot;aria-hidden&quot;:!0})})]})]},c.id))})]}),d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden flex flex-col&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;px-4 sm:px-5 py-3 bg-sky-50 border-b border-sky-100 flex flex-wrap items-center justify-between gap-2&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-sm font-bold text-ink-900&quot;,children:&quot;Dons SycaPay en cours&quot;}),s?d.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:s,className:&quot;text-xs font-semibold shrink-0 !py-1.5 !px-2.5&quot;,children:&quot;Voir la liste des dons&quot;}):null]}),d.jsx(&quot;div&quot;,{className:&quot;divide-y divide-gray-100 flex-1&quot;,children:t.length===0?d.jsx(&quot;p&quot;,{className:&quot;px-5 py-6 text-ink-600 text-sm leading-relaxed&quot;,children:&quot;Aucun don SycaPay en cours pour la sélection actuelle.&quot;}):t.map(c=&gt;d.jsxs(&quot;div&quot;,{className:&quot;px-5 py-3 flex flex-col gap-1.5 text-sm&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;font-semibold text-ink-900 truncate&quot;,title:c.donor_name||&quot;Anonyme&quot;,children:c.donor_name||&quot;Anonyme&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-600 tabular-nums whitespace-nowrap&quot;,children:Nu(c.amount,c.currency)}),d.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:[&quot;Don: &quot;,d.jsx(&quot;span&quot;,{className:&quot;font-medium&quot;,children:c.status}),c.latest_gateway_payment?.status?d.jsxs(d.Fragment,{children:[&quot; &quot;,&quot;• Paiement: &quot;,d.jsx(&quot;span&quot;,{className:&quot;font-medium&quot;,children:c.latest_gateway_payment.status})]}):null]}),c.latest_gateway_payment?.provider_status?d.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:[&quot;Provider: &quot;,c.latest_gateway_payment.provider_status]}):null,c.latest_gateway_payment?.provider_last_error?d.jsx(&quot;p&quot;,{className:&quot;text-xs text-red-700&quot;,children:c.latest_gateway_payment.provider_last_error}):null]},c.id))})]})]})}const Vl=&quot;https://api.sommetfrancophone.org/api&quot;;function fh(e){const{review_note:r,reference:t,proof:n,treasury_account_id:l}=e;if(n){const a=new FormData;return r?.trim()&amp;&amp;a.append(&quot;review_note&quot;,r.trim()),t?.trim()&amp;&amp;a.append(&quot;reference&quot;,t.trim()),l!=null&amp;&amp;a.append(&quot;treasury_account_id&quot;,String(l)),a.append(&quot;proof&quot;,n),a}const i={...r?.trim()&amp;&amp;{review_note:r.trim()},...t?.trim()&amp;&amp;{reference:t.trim()}};return l!=null&amp;&amp;(i.treasury_account_id=Number(l)),i}const ln={async getEvents(){const e=await We.get(&quot;/finance/events&quot;,{requireAuth:!0});return Array.isArray(e)?e:e?.data&amp;&amp;Array.isArray(e.data)?e.data:[]},getDashboard(e){const r={};return e?.event_id!=null&amp;&amp;(r.event_id=e.event_id),We.get(&quot;/finance/dashboard&quot;,{params:Object.keys(r).length?r:void 0,requireAuth:!0})},getDonations(e){const r={};return e?.event_id!=null&amp;&amp;(r.event_id=e.event_id),e?.page!=null&amp;&amp;(r.page=e.page),e?.per_page!=null&amp;&amp;(r.per_page=e.per_page),We.get(&quot;/finance/donations&quot;,{params:Object.keys(r).length?r:void 0,requireAuth:!0,unwrapResponse:!1})},getDonationsExport(e){const r={};return e?.event_id!=null&amp;&amp;(r.event_id=e.event_id),We.get(&quot;/finance/donations/export&quot;,{params:Object.keys(r).length?r:void 0,requireAuth:!0,unwrapResponse:!1})},getDebtors(e){const r={event_id:e.event_id};return e.page!=null&amp;&amp;(r.page=e.page),e.per_page!=null&amp;&amp;(r.per_page=e.per_page),We.get(&quot;/finance/debtors&quot;,{params:r,requireAuth:!0})},getDebtorDetail(e){return We.get(`/finance/debtors/${e}/detail`,{requireAuth:!0})},getDebtorsExport(e){return We.get(&quot;/finance/debtors/export&quot;,{params:{event_id:e.event_id},requireAuth:!0})},getConfirmedPaymentsExport(e){return We.get(&quot;/finance/confirmed-payments/export&quot;,{params:{event_id:e.event_id},requireAuth:!0})},getExpectedPaymentsForMonth(e){const r={event_id:e.event_id,month:e.month};return e.month_scope&amp;&amp;(r.month_scope=e.month_scope),e.installment_status&amp;&amp;(r.installment_status=e.installment_status),e.financial_situation&amp;&amp;(r.financial_situation=e.financial_situation),e.page!=null&amp;&amp;(r.page=e.page),e.per_page!=null&amp;&amp;(r.per_page=e.per_page),We.get(&quot;/finance/reminders/expected-payments&quot;,{params:r,requireAuth:!0,unwrapResponse:!1})},getExpectedPaymentsForMonthExport(e){return We.get(&quot;/finance/reminders/expected-payments/export&quot;,{params:e,requireAuth:!0,unwrapResponse:!1})},confirmPayment(e,r){const t=fh(r??{});return t instanceof FormData?We.postForm(`/finance/payments/${e}/confirm`,t,{requireAuth:!0}):We.post(`/finance/payments/${e}/confirm`,Object.keys(t).length?t:{},{requireAuth:!0})},rejectPayment(e,r){const t=fh(r??{});return t instanceof FormData?We.postForm(`/finance/payments/${e}/reject`,t,{requireAuth:!0}):We.post(`/finance/payments/${e}/reject`,Object.keys(t).length?t:{},{requireAuth:!0})},confirmDonation(e,r){const t=fh(r??{});return t instanceof FormData?We.postForm(`/finance/donations/${e}/confirm`,t,{requireAuth:!0}):We.post(`/finance/donations/${e}/confirm`,Object.keys(t).length?t:{},{requireAuth:!0})},rejectDonation(e,r){const t=fh(r??{});return t instanceof FormData?We.postForm(`/finance/donations/${e}/reject`,t,{requireAuth:!0}):We.post(`/finance/donations/${e}/reject`,Object.keys(t).length?t:{},{requireAuth:!0})},initPayment(e,r){const{amount:t,method:n,paid_at:l,treasury_account_id:i,reference:a,notes:u,proof:o}=r,s=new FormData;return s.append(&quot;amount&quot;,String(t)),s.append(&quot;method&quot;,n),s.append(&quot;paid_at&quot;,l),s.append(&quot;treasury_account_id&quot;,String(i)),a?.trim()&amp;&amp;s.append(&quot;reference&quot;,a.trim()),u?.trim()&amp;&amp;s.append(&quot;notes&quot;,u.trim()),o&amp;&amp;s.append(&quot;proof&quot;,o),We.postForm(`/finance/registrations/${e}/payments`,s,{requireAuth:!0})},issuePaymentReceipt(e){return We.post(`/finance/payments/${e}/receipt`,{},{requireAuth:!0})},sendPaymentReceiptEmail(e){return We.post(`/finance/payments/${e}/receipt/send-email`,{},{requireAuth:!0})},issueDonationReceipt(e){return We.post(`/finance/donations/${e}/receipt`,{},{requireAuth:!0})},downloadReceiptUrl(e){return`${Vl.endsWith(&quot;/&quot;)?Vl.slice(0,-1):Vl}/receipts/${e}/download`},async downloadReceipt(e,r){const n=`${Vl.endsWith(&quot;/&quot;)?Vl.slice(0,-1):Vl}/receipts/${e}/download`,l=typeof window&lt;&quot;u&quot;?localStorage.getItem(&quot;auth_token&quot;):null,i=await fetch(n,{headers:{Accept:&quot;application/pdf&quot;,...l&amp;&amp;{Authorization:`Bearer ${l}`}}});if(!i.ok){const o=await i.json().catch(()=&gt;({message:i.statusText}));throw{status:i.status,data:o}}const a=await i.blob(),u=document.createElement(&quot;a&quot;);u.href=URL.createObjectURL(a),u.download=r||`receipt-${e}.pdf`,u.click(),URL.revokeObjectURL(u.href)}},_ie=&quot;Sommet Haggai Franco 2026&quot;;function Ak(e){return(e??&quot;&quot;).trim().toLowerCase()}function jie(){const{can:e,roles:r,loading:t}=Ps(),{events:n}=Um(),[l,i]=F.useState([]),[a,u]=F.useState(!0),[o,s]=F.useState(null),c=e(&quot;finance.dashboard&quot;)||e(&quot;payments.read&quot;);F.useEffect(()=&gt;{c&amp;&amp;(u(!0),s(null),ln.getEvents().then(i).catch(ue=&gt;{const Re=ue?.data?.message,xt=ue?.status;s(xt===404||Re===&quot;Not Found&quot;?&quot;Module finance indisponible. Vérifiez que l’API est à jour (cache des routes) ou contactez l’administrateur.&quot;:Re??&quot;Impossible de charger les événements.&quot;)}).finally(()=&gt;u(!1)))},[c]);const f=(l?.length?l:n)??[],h=F.useMemo(()=&gt;{if(r.includes(&quot;SUPER_ADMIN&quot;))return[&quot;summit&quot;,&quot;seminar&quot;];if(r.includes(&quot;COMMISSION_FINANCE&quot;))return[&quot;summit&quot;];if(r.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;))return[&quot;seminar&quot;];if(r.includes(&quot;COMMISSARIAT_GENERAL&quot;))return[&quot;summit&quot;,&quot;seminar&quot;];const ue=r.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;),Re=r.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;);return ue&amp;&amp;Re?[&quot;summit&quot;,&quot;seminar&quot;]:ue?[&quot;summit&quot;]:Re?[&quot;seminar&quot;]:[]},[r]),m=r.includes(&quot;COMMISSARIAT_GENERAL&quot;),p=F.useMemo(()=&gt;(f??[]).filter(ue=&gt;h.includes(ue.event_type)),[f,h]),v=F.useMemo(()=&gt;p.length&gt;0?p:r.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;(f?.length??0)&gt;0?f??[]:p,[r,f,p]),[g,b]=F.useState(&quot;&quot;);F.useEffect(()=&gt;{g&amp;&amp;!v.some(ue=&gt;ue.id===g)&amp;&amp;b(&quot;&quot;)},[g,v]),F.useEffect(()=&gt;{if(g===&quot;&quot;&amp;&amp;v.length&gt;0){const ue=Ak(_ie),Re=v.find(xt=&gt;Ak(xt.name)===ue);b(Re?.id??v[0].id)}},[g,v]);const[x,_]=F.useState(null),[C,O]=F.useState(!0),[R,H]=F.useState(null),[L,q]=F.useState(null),[W,K]=F.useState(null),[U,P]=F.useState(&quot;&quot;),[D,E]=F.useState(&quot;&quot;),[j,k]=F.useState(null),[S,N]=F.useState(null),[M,I]=F.useState(&quot;&quot;),[B,Y]=F.useState([]),[Z,ie]=F.useState(0),[$,ee]=F.useState(null),[z,T]=F.useState(&quot;&quot;),[X,re]=F.useState(&quot;mobile_money&quot;),[ne,Q]=F.useState(()=&gt;new Date().toISOString().slice(0,16)),[te,de]=F.useState(&quot;&quot;),[oe,se]=F.useState(&quot;&quot;),[fe,he]=F.useState(null),[ce,ge]=F.useState(null),[ye,pe]=F.useState(!1),[le,Ce]=F.useState(&quot;&quot;),[Ae,je]=F.useState([]),[Pe,Qe]=F.useState([]),[Ue,Xe]=F.useState(null),[rt,qe]=F.useState(null),[ze,Ye]=F.useState([]),[et,Je]=F.useState(!1),[Rt,qt]=F.useState(1),[st,Tt]=F.useState(20),[jt,St]=F.useState(null),[It,Bt]=F.useState(null),[ct,$t]=F.useState(!1),[Ht,yt]=F.useState(null),[Ut,Xt]=F.useState(!1),[Nt,be]=F.useState(!1),[ke,Te]=F.useState(!1),[Ke,ft]=F.useState([]),[Ze,kt]=F.useState(!1),[gt,tt]=F.useState(null),[_t,bt]=F.useState(1),[Ot,ir]=F.useState(20),[Lt,cr]=F.useState(null),[or,Tr]=F.useState(!1),[me,_e]=F.useState(&quot;validation&quot;),[Ie,Fe]=F.useState(&quot;dashboard&quot;),[Se,De]=F.useState(()=&gt;new Date().toISOString().slice(0,7)),[Be,Ct]=F.useState(&quot;exact&quot;),[pt,Et]=F.useState(&quot;all&quot;),[lt,zt]=F.useState(&quot;all&quot;),[Yt,Qt]=F.useState([]),[ur,hr]=F.useState(!1),[Cr,Vr]=F.useState(null),[nn,pn]=F.useState(1),[bi,xi]=F.useState(20),[Pt,Vt]=F.useState(null),[gn,wi]=F.useState(!1),[Vi,Ft]=F.useState([]),[Fr,vn]=F.useState([]),[qi,ms]=F.useState(!1),[Hi,Br]=F.useState(null),[Wi,li]=F.useState(&quot;&quot;),[Fn,Cn]=F.useState(&quot;&quot;),[En,Ki]=F.useState(0),[_i,An]=F.useState(!1),[Fp,uo]=F.useState(null),[fo,_d]=F.useState(null),[pa,ps]=F.useState(null),[Nc,jd]=F.useState(&quot;&quot;),[ga,va]=F.useState(0),[Ts,ho]=F.useState(0),[Sd,kd]=F.useState(0),[ci,mo]=F.useState(!1),[ml,ya]=F.useState(null),[gs,ba]=F.useState(null),[po,Xi]=F.useState(null),[pl,go]=F.useState(!1),[Is,yn]=F.useState([]),[xa,gl]=F.useState(!1),[vo,yo]=F.useState(null),[Cc,Ec]=F.useState([]),[bo,vl]=F.useState([]),[Ac,Bp]=F.useState(()=&gt;new Date().toISOString().slice(0,10)),[Nd,Cd]=F.useState(0),[xo,zp]=F.useState(&quot;&quot;),[yl,$p]=F.useState(&quot;&quot;),[Ed,Ad]=F.useState(&quot;&quot;),[Md,Od]=F.useState(!1),[Up,wa]=F.useState(null),Gi=v.find(ue=&gt;ue.id===g)??f?.find(ue=&gt;ue.id===g),vs=Gi?.event_type??null,Vp=F.useCallback(()=&gt;{c&amp;&amp;(O(!0),H(null),ln.getDashboard(g?{event_id:g}:void 0).then(_).catch(ue=&gt;H(ue?.data?.message||&quot;Erreur chargement dashboard finance.&quot;)).finally(()=&gt;O(!1)))},[c,g]);F.useEffect(()=&gt;{c&amp;&amp;Vp()},[c,g,Z]),F.useEffect(()=&gt;{g&amp;&amp;typeof g==&quot;number&quot;&amp;&amp;(qt(1),pn(1))},[g]),F.useEffect(()=&gt;{const ue=g===&quot;&quot;?null:Number(g);if(!c||me!==&quot;validation&quot;||ue==null||Number.isNaN(ue)){Ye([]),St(null);return}Je(!0),ln.getDebtors({event_id:ue,page:Rt,per_page:st}).then(Re=&gt;{Ye(Array.isArray(Re.data)?Re.data:[]),St(Re.meta??null)}).catch(()=&gt;{Ye([]),St(null)}).finally(()=&gt;Je(!1))},[c,me,g,Rt,st,Z]),F.useEffect(()=&gt;{const ue=g===&quot;&quot;?void 0:Number(g);ke&amp;&amp;(kt(!0),tt(null),ln.getDonations({event_id:Number.isNaN(ue)?void 0:ue,page:_t,per_page:Ot}).then(Re=&gt;{ft(Re.data??[]),cr(Re.meta??null)}).catch(Re=&gt;{ft([]),cr(null),tt(Re?.data?.message??Re?.message??&quot;Erreur lors du chargement des dons.&quot;)}).finally(()=&gt;kt(!1)))},[ke,_t,Ot,g,Z]),F.useEffect(()=&gt;{const ue=g===&quot;&quot;?null:Number(g);if(!c||Ie!==&quot;reminders&quot;||ue==null||Number.isNaN(ue)){Qt([]),Vt(null);return}hr(!0),Vr(null),ln.getExpectedPaymentsForMonth({event_id:ue,month:Se,month_scope:Be,installment_status:pt===&quot;all&quot;?void 0:pt,financial_situation:lt===&quot;all&quot;?void 0:lt,page:nn,per_page:bi}).then(Re=&gt;{Qt(Re.data??[]),Vt(Re.meta??null)}).catch(Re=&gt;{Qt([]),Vt(null),Vr(Re?.data?.message??Re?.message??&quot;Erreur lors du chargement relance.&quot;)}).finally(()=&gt;hr(!1))},[c,Ie,g,Se,Be,pt,lt,nn,bi,Z]);const Mc=F.useCallback(()=&gt;{if(!vs){Ft([]);return}Ya.list({event_type:vs}).then(ue=&gt;Ft(Array.isArray(ue)?ue:[]))},[vs]),wo=F.useCallback(()=&gt;{if(!g||typeof g!=&quot;number&quot;){vn([]);return}ms(!0),Br(null),Fo.list(g).then(vn).catch(ue=&gt;Br(ue?.data?.message??&quot;Erreur chargement des lignes.&quot;)).finally(()=&gt;ms(!1))},[g]);F.useEffect(()=&gt;{me===&quot;budget&quot;&amp;&amp;Mc()},[me,vs,Mc]),F.useEffect(()=&gt;{me!==&quot;budget&quot;||!g||wo()},[me,g,wo]);const Oc=F.useCallback(()=&gt;{!g||typeof g!=&quot;number&quot;||(gl(!0),yo(null),Ug.list(g).then(yn).catch(ue=&gt;yo(ue?.data?.message??&quot;Erreur chargement des dépenses.&quot;)).finally(()=&gt;gl(!1)))},[g]);F.useEffect(()=&gt;{me!==&quot;expenses&quot;||!g||(Oc(),Fo.list(g).then(ue=&gt;{Ec(ue.filter(Re=&gt;Re.category_type===&quot;expense&quot;))}),Ga.list({event_id:g}).then(ue=&gt;{const Re=Array.isArray(ue)?ue:ue?.data??[];vl(Re.filter(xt=&gt;xt.is_active))}))},[me,g,Oc]);const qp=()=&gt;{if(!g||typeof g!=&quot;number&quot;){wa(&quot;Sélectionnez un événement.&quot;);return}if(yl===&quot;&quot;||typeof yl!=&quot;number&quot;){wa(&quot;Choisissez un compte de trésorerie.&quot;);return}const ue=Ed.trim();if(!ue){wa(&quot;Le libellé est obligatoire.&quot;);return}const Re=Number(Nd);if(isNaN(Re)||Re&lt;1){wa(&quot;Montant invalide.&quot;);return}wa(null),Od(!0),Ug.create({event_id:g,treasury_account_id:yl,event_budget_line_id:xo===&quot;&quot;?null:xo,amount:Re,paid_at:Ac,label:ue}).then(xt=&gt;{yn(ut=&gt;[xt,...ut]),Cd(0),Ad(&quot;&quot;)}).catch(xt=&gt;wa(xt?.data?.message??&quot;Erreur lors de l&#039;ajout.&quot;)).finally(()=&gt;Od(!1))},Hp=ue=&gt;{confirm(&quot;Supprimer cette dépense ? La réalisation budgétaire sera mise à jour.&quot;)&amp;&amp;Ug.delete(ue.id).then(()=&gt;yn(Re=&gt;Re.filter(xt=&gt;xt.id!==ue.id))).catch(Re=&gt;yo(Re?.data?.message??&quot;Erreur suppression.&quot;))},Wp=(ue,Re)=&gt;{N(null),q({type:&quot;confirm-payment&quot;,id:ue}),ln.confirmPayment(ue,Re).then(()=&gt;{K(null),P(&quot;&quot;),E(&quot;&quot;),k(null),ie(xt=&gt;xt+1)}).catch(xt=&gt;{N(xt?.data?.message||xt?.message||&quot;Erreur lors de la confirmation.&quot;)}).finally(()=&gt;q(null))},Kp=(ue,Re)=&gt;{N(null),q({type:&quot;reject-payment&quot;,id:ue}),ln.rejectPayment(ue,Re).then(()=&gt;{K(null),P(&quot;&quot;),E(&quot;&quot;),k(null),ie(xt=&gt;xt+1)}).catch(xt=&gt;{N(xt?.data?.message||xt?.message||&quot;Erreur lors du rejet.&quot;)}).finally(()=&gt;q(null))},Xp=(ue,Re)=&gt;{N(null),q({type:&quot;confirm-donation&quot;,id:ue}),ln.confirmDonation(ue,Re).then(()=&gt;{K(null),P(&quot;&quot;),E(&quot;&quot;),k(null),ie(xt=&gt;xt+1)}).catch(xt=&gt;{N(xt?.data?.message||xt?.message||&quot;Erreur lors de la confirmation.&quot;)}).finally(()=&gt;q(null))},Gp=(ue,Re)=&gt;{N(null),q({type:&quot;reject-donation&quot;,id:ue}),ln.rejectDonation(ue,Re).then(()=&gt;{K(null),P(&quot;&quot;),E(&quot;&quot;),k(null),ie(xt=&gt;xt+1)}).catch(xt=&gt;{N(xt?.data?.message||xt?.message||&quot;Erreur lors du rejet.&quot;)}).finally(()=&gt;q(null))},bl=(ue,Re)=&gt;{K({action:ue,target:Re}),P(&quot;&quot;),E(&quot;&quot;),k(null),N(null),I(&quot;&quot;),Y([])};F.useEffect(()=&gt;{if(!W||W.action!==&quot;confirm&quot;||W.target.type!==&quot;payment&quot;)return;const ue=W.target.event_id??&quot;&quot;;Ga.list({event_id:ue}).then(Re=&gt;Y(Array.isArray(Re)?Re:Re?.data??[])).catch(()=&gt;Y([]))},[W]);const Pc=()=&gt;{if(!W)return;if(W.action===&quot;confirm&quot;&amp;&amp;W.target.type===&quot;payment&quot;&amp;&amp;(M===&quot;&quot;||M===void 0)){N(&quot;Veuillez sélectionner le compte de trésorerie impacté par l&#039;encaissement.&quot;);return}const ue={review_note:U.trim()||void 0,reference:D.trim()||void 0,proof:j||void 0,...W.action===&quot;confirm&quot;&amp;&amp;W.target.type===&quot;payment&quot;&amp;&amp;M!==&quot;&quot;&amp;&amp;{treasury_account_id:Number(M)}};W.target.type===&quot;payment&quot;?W.action===&quot;confirm&quot;?Wp(W.target.id,ue):Kp(W.target.id,ue):W.action===&quot;confirm&quot;?Xp(W.target.id,ue):Gp(W.target.id,ue)};F.useEffect(()=&gt;{if(!$?.event?.id){je([]);return}Ga.list({event_id:$.event.id}).then(ue=&gt;je(Array.isArray(ue)?ue:ue?.data??[])).catch(()=&gt;je([]))},[$]);const _o=ue=&gt;{ee(ue),T(String(ue.balance)),re(&quot;mobile_money&quot;),Q(new Date().toISOString().slice(0,16)),de(&quot;&quot;),se(&quot;&quot;),he(null),Ce(&quot;&quot;),ge(null),Qe([])},Tc=F.useMemo(()=&gt;!$||!$.installment_due_items?.length?0:$.installment_due_items.filter(ue=&gt;Pe.includes(ue.index)).reduce((ue,Re)=&gt;ue+Re.amount_due_remaining,0),[$,Pe]),Pd=ue=&gt;{Qe(Re=&gt;Re.includes(ue)?Re.filter(xt=&gt;xt!==ue):[...Re,ue])},Td=()=&gt;{const ue=$?.installment_due_items??[];Qe(ue.map(Re=&gt;Re.index))},Id=()=&gt;Qe([]),Rd=()=&gt;{if(!$)return;if(le===&quot;&quot;||typeof le!=&quot;number&quot;){ge(&quot;Veuillez sélectionner le compte de trésorerie à utiliser.&quot;);return}const ue=parseInt(z,10);if(isNaN(ue)||ue&lt;=0){ge(&quot;Montant invalide.&quot;);return}if(ue&gt;$.balance){ge(`Le montant ne peut pas dépasser le solde (${dr($.balance)}).`);return}if(!te.trim()&amp;&amp;!fe){ge(&quot;Veuillez renseigner la référence transaction et/ou joindre une preuve (image ou scan).&quot;);return}ge(null),pe(!0),ln.initPayment($.id,{amount:ue,method:X,paid_at:new Date(ne).toISOString(),treasury_account_id:Number(le),reference:te.trim()||void 0,notes:oe.trim()||void 0,proof:fe||void 0}).then(()=&gt;{ee(null),ie(Re=&gt;Re+1)}).catch(Re=&gt;{const xt=Re?.data?.message||Re?.message||&quot;Erreur lors de l&#039;enregistrement.&quot;,ut=Re?.data?.errors;ge(ut?Object.values(ut).flat().join(&quot; &quot;):xt)}).finally(()=&gt;pe(!1))},Ic=ue=&gt;{$t(!0),yt(null),Bt(null),ln.getDebtorDetail(ue).then(Re=&gt;Bt(Re.data)).catch(Re=&gt;{yt(Re?.data?.message??Re?.message??&quot;Impossible de charger le détail débiteur.&quot;)}).finally(()=&gt;$t(!1))},_a=async()=&gt;{if(!(!g||typeof g!=&quot;number&quot;)){Xt(!0);try{const Re=((await ln.getDebtorsExport({event_id:g})).data??[]).map(ut=&gt;({&quot;ID inscription&quot;:ut.registration_id,Événement:ut.event_name??&quot;—&quot;,Nom:ut.name,Email:ut.email,&quot;Montant dû&quot;:ut.amount_due,&quot;Déjà payé&quot;:ut.paid,&quot;Solde restant&quot;:ut.balance,Échéances:ut.installments_label,&quot;Échéances restantes&quot;:ut.installments_open_count,Situation:ut.financial_situation_label,&quot;Calendrier des échéances (dates, statuts, montants)&quot;:ut.installments_schedule_detail??&quot;&quot;,&quot;Échéances en retard (résumé relance)&quot;:ut.installments_late_open_summary??&quot;&quot;})),xt=Gi?.slug??g;await Ua(Re,`debiteurs_${xt}_${new Date().toISOString().slice(0,10)}`,&quot;Débiteurs&quot;)}catch(ue){H(ue instanceof Error?ue.message:&quot;Erreur lors de l’export XLSX des débiteurs.&quot;)}finally{Xt(!1)}}},Yp=async()=&gt;{if(!(!g||typeof g!=&quot;number&quot;)){be(!0);try{const Re=((await ln.getConfirmedPaymentsExport({event_id:g})).data??[]).map(ut=&gt;({&quot;ID paiement&quot;:ut.payment_id,&quot;ID inscription&quot;:ut.registration_id??&quot;—&quot;,Événement:ut.event_name??&quot;—&quot;,Participant:ut.participant_name??&quot;—&quot;,Email:ut.participant_email??&quot;—&quot;,Montant:ut.amount,Devise:ut.currency,Méthode:ut.method,&quot;Date paiement&quot;:ut.paid_at?new Date(ut.paid_at).toLocaleString(&quot;fr-FR&quot;):&quot;—&quot;,&quot;Date validation&quot;:ut.reviewed_at?new Date(ut.reviewed_at).toLocaleString(&quot;fr-FR&quot;):&quot;—&quot;,Passerelle:ut.payment_gateway??&quot;—&quot;,&quot;Référence (n° commande SycaPay ou réf. transaction déclarée)&quot;:ut.payment_reference||&quot;—&quot;,&quot;Complément référence (ex. ID transaction agrégateur)&quot;:ut.payment_reference_extra??&quot;—&quot;,&quot;Réf. déclaration (champ brut)&quot;:ut.declared_reference??&quot;—&quot;,&quot;N° commande / provider_ref (brut)&quot;:ut.provider_ref??&quot;—&quot;,&quot;N° reçu&quot;:ut.receipt_number??&quot;—&quot;})),xt=Gi?.slug??g;await Ua(Re,`paiements_confirmes_${xt}_${new Date().toISOString().slice(0,10)}`,&quot;Paiements reçus&quot;)}catch(ue){H(ue instanceof Error?ue.message:&quot;Erreur lors de l’export XLSX des paiements confirmés.&quot;)}finally{be(!1)}}},Zp=async()=&gt;{tt(null),Tr(!0);try{const ue=g===&quot;&quot;?void 0:Number(g),ut=((await ln.getDonationsExport(ue!=null&amp;&amp;!Number.isNaN(ue)?{event_id:ue}:void 0)).data??[]).map(mr=&gt;({ID:mr.id,Événement:mr.event?.name??&quot;—&quot;,Donateur:mr.donor_name||&quot;Anonyme&quot;,Email:mr.donor_email??&quot;—&quot;,Montant:mr.amount,Devise:mr.currency,Méthode:mr.method??&quot;—&quot;,Statut:mr.status,Référence:mr.reference??&quot;—&quot;,Notes:mr.notes??&quot;—&quot;,&quot;Note validation&quot;:mr.review_note??&quot;—&quot;,&quot;Créé le&quot;:mr.created_at?new Date(mr.created_at).toLocaleString(&quot;fr-FR&quot;):&quot;—&quot;,&quot;Payé / déclaré le&quot;:mr.paid_at?new Date(mr.paid_at).toLocaleString(&quot;fr-FR&quot;):&quot;—&quot;})),Zn=Gi?.slug??(typeof g==&quot;number&quot;&amp;&amp;!Number.isNaN(g)?String(g):&quot;donations&quot;);await Ua(ut,`dons_${Zn}_${new Date().toISOString().slice(0,10)}`,&quot;Dons&quot;)}catch(ue){ue instanceof Wt?tt(ue.data?.message??ue.message??&quot;Erreur lors de l’export XLSX des dons.&quot;):tt(ue instanceof Error?ue.message:&quot;Erreur lors de l’export XLSX des dons.&quot;)}finally{Tr(!1)}},Qp=async()=&gt;{if(!(!g||typeof g!=&quot;number&quot;)){wi(!0);try{const Re=((await ln.getExpectedPaymentsForMonthExport({event_id:g,month:Se,month_scope:Be,installment_status:pt===&quot;all&quot;?void 0:pt,financial_situation:lt===&quot;all&quot;?void 0:lt})).data??[]).map(ut=&gt;({&quot;ID inscription&quot;:ut.registration_id,Événement:ut.event_name??&quot;—&quot;,Nom:ut.name,Email:ut.email,Téléphone:ut.phone??&quot;&quot;,Échéance:`${ut.installment_label} (${ut.installment_month})`,Fenêtre:ut.installment_due_window,&quot;Montant échéance&quot;:ut.installment_amount,&quot;Déjà payé échéance&quot;:ut.installment_paid_amount,&quot;Reste échéance&quot;:ut.installment_remaining_amount,&quot;Statut échéance&quot;:ut.installment_status===&quot;late&quot;?&quot;En retard&quot;:&quot;Ouverte&quot;,&quot;Situation globale&quot;:ut.financial_situation_label})),xt=Gi?.slug??g;await Ua(Re,`relance_${xt}_${Se}_${Be}_${pt}_${new Date().toISOString().slice(0,10)}`,&quot;Relance échéances&quot;)}catch(ue){H(ue instanceof Error?ue.message:&quot;Erreur export relance.&quot;)}finally{wi(!1)}}},Dd=ue=&gt;{qe(null),Xe({key:`payment-${ue}`,action:&quot;issue&quot;}),ln.issuePaymentReceipt(ue).then(()=&gt;ie(Re=&gt;Re+1)).catch(Re=&gt;qe(Re?.data?.message||Re?.message||&quot;Erreur.&quot;)).finally(()=&gt;Xe(null))},Ld=(ue,Re)=&gt;{qe(null),Xe({key:`receipt-${ue}`,action:&quot;download&quot;}),ln.downloadReceipt(ue,`${Re}.pdf`).catch(xt=&gt;qe(xt?.data?.message||xt?.message||&quot;Erreur téléchargement.&quot;)).finally(()=&gt;Xe(null))},jo=ue=&gt;{qe(null),Xe({key:`payment-${ue}`,action:&quot;email&quot;}),ln.sendPaymentReceiptEmail(ue).then(()=&gt;ie(Re=&gt;Re+1)).catch(Re=&gt;qe(Re?.data?.message||Re?.message||&quot;Erreur envoi email.&quot;)).finally(()=&gt;Xe(null))},So=(ue,Re)=&gt;Ue?.key===ue&amp;&amp;Ue?.action===Re,Jp=()=&gt;{if(!g||typeof g!=&quot;number&quot;||Wi===&quot;&quot;||typeof Wi!=&quot;number&quot;){uo(&quot;Veuillez choisir un événement et une catégorie.&quot;);return}const ue=Number(En);if(isNaN(ue)||ue&lt;0){uo(&quot;Montant prévu invalide.&quot;);return}uo(null),An(!0),Fo.create(g,{budget_category_id:Wi,label:Fn.trim()||void 0,amount_planned:ue}).then(Re=&gt;{vn(xt=&gt;[...xt,Re]),li(&quot;&quot;),Cn(&quot;&quot;),Ki(0)}).catch(Re=&gt;uo(Re?.data?.message??&quot;Erreur lors de l&#039;ajout.&quot;)).finally(()=&gt;An(!1))},xl=ue=&gt;{ba(ue.id),Br(null),Fo.moveUp(ue.id).then(()=&gt;wo()).catch(Re=&gt;Br(Re?.data?.message??&quot;Erreur lors du déplacement.&quot;)).finally(()=&gt;ba(null))},e0=ue=&gt;{ba(ue.id),Br(null),Fo.moveDown(ue.id).then(()=&gt;wo()).catch(Re=&gt;Br(Re?.data?.message??&quot;Erreur lors du déplacement.&quot;)).finally(()=&gt;ba(null))},Fd=ue=&gt;{confirm(&quot;Supprimer cette ligne de budget ?&quot;)&amp;&amp;Fo.delete(ue.id).then(()=&gt;vn(Re=&gt;Re.filter(xt=&gt;xt.id!==ue.id))).catch(Re=&gt;Br(Re?.data?.message??&quot;Erreur suppression.&quot;))},Rc=ue=&gt;{ps(ue),jd(ue.label??&quot;&quot;),va(ue.amount_planned??0),ho(ue.amount_realized??0),kd(ue.sort_order??0),ya(null)},Dc=()=&gt;{if(!pa)return;const ue=Number(ga),Re=Number(Ts);if(isNaN(ue)||ue&lt;0){ya(&quot;Montant prévu invalide.&quot;);return}if(isNaN(Re)||Re&lt;0){ya(&quot;Montant réalisé invalide.&quot;);return}ya(null),mo(!0),Fo.update(pa.id,{label:Nc.trim()||null,amount_planned:ue,amount_realized:Re,sort_order:Sd}).then(xt=&gt;{vn(ut=&gt;ut.map(Zn=&gt;Zn.id===pa.id?xt:Zn)),ps(null)}).catch(xt=&gt;ya(xt?.data?.message??&quot;Erreur lors de l&#039;enregistrement.&quot;)).finally(()=&gt;mo(!1))},Bd=()=&gt;{wo(),_d(&quot;Budget enregistré.&quot;),setTimeout(()=&gt;_d(null),3e3)},zd=()=&gt;{if(!(!g||Fr.length===0)){Xi(&quot;budget-csv&quot;);try{const ue=Ck(Fr),Re=Gi?.slug??g;Im(ue,`budget_${Re}_${new Date().toISOString().slice(0,10)}`)}catch(ue){Br(ue instanceof Error?ue.message:&quot;Erreur export.&quot;)}finally{Xi(null)}}},$d=async()=&gt;{if(!(!g||Fr.length===0)){Xi(&quot;budget-xlsx&quot;);try{const ue=Ck(Fr),Re=Gi?.slug??g;await Ua(ue,`budget_${Re}_${new Date().toISOString().slice(0,10)}`,&quot;Lignes budget&quot;)}catch(ue){Br(ue instanceof Error?ue.message:&quot;Erreur export.&quot;)}finally{Xi(null)}}},t0=()=&gt;{if(!(!g||Is.length===0)){Xi(&quot;expenses-csv&quot;);try{const ue=Ek(Is),Re=Gi?.slug??g;Im(ue,`depenses_${Re}_${new Date().toISOString().slice(0,10)}`)}catch(ue){yo(ue instanceof Error?ue.message:&quot;Erreur export.&quot;)}finally{Xi(null)}}},r0=async()=&gt;{if(!(!g||Is.length===0)){Xi(&quot;expenses-xlsx&quot;);try{const ue=Ek(Is),Re=Gi?.slug??g;await Ua(ue,`depenses_${Re}_${new Date().toISOString().slice(0,10)}`,&quot;Dépenses&quot;)}catch(ue){yo(ue instanceof Error?ue.message:&quot;Erreur export.&quot;)}finally{Xi(null)}}},n0=F.useMemo(()=&gt;{let ue=0,Re=0,xt=0,ut=0;Fr.forEach(mr=&gt;{const wl=mr.amount_planned??0,Fc=mr.amount_realized??0;mr.category_type===&quot;revenue&quot;?(ue+=wl,xt+=Fc):mr.category_type===&quot;expense&quot;&amp;&amp;(Re+=wl,ut+=Fc)});const Zn=ue-Re;return{totalRevenuePlanned:ue,totalExpensePlanned:Re,totalRevenueRealized:xt,totalExpenseRealized:ut,balancePlanned:Zn,shortfall:Zn&lt;0?Math.abs(Zn):0,surplus:Zn&gt;0?Zn:0}},[Fr]);if(t)return d.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:d.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})});if(!c)return d.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:d.jsx(&quot;p&quot;,{className:&quot;text-ink-600&quot;,children:&quot;Vous n&#039;avez pas accès au module Finance.&quot;})});const Lc=r.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_FINANCE&quot;)&amp;&amp;!r.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),Ud=r.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_FINANCE&quot;)&amp;&amp;!r.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),Bn=r.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!r.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),ja=r.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!r.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!r.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),Vd=Lc||ja?!1:e(&quot;registrations.read&quot;),qd=Ud||Bn?!1:e(&quot;registrations.read&quot;),Hd=Lc||Bn?!1:e(&quot;recommendations.read&quot;),Wd=Lc||Ud||Bn||ja?!1:e(&quot;settings.read&quot;)||e(&quot;settings.update&quot;);return d.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex flex-col&quot;,children:[d.jsx(qm,{}),d.jsxs(&quot;div&quot;,{className:&quot;flex flex-1&quot;,children:[d.jsx(Hm,{currentSection:&quot;finance&quot;,registrationView:&quot;summit&quot;,showSommet:Vd,showSeminar:qd,showRecommendations:Hd,showUsers:!1,showFinance:c,showSettings:Wd}),d.jsx(&quot;main&quot;,{className:&quot;flex-1 lg:ml-48 pb-16 lg:pb-0&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;w-full px-4 sm:px-6 lg:px-8 py-6 lg:py-8 max-w-[1600px] mx-auto&quot;,children:[d.jsx(bie,{title:&quot;Dashboard Finance&quot;,subtitle:&quot;Pilotage des encaissements — paiements et dons&quot;,showReadOnlyBanner:m}),d.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex items-center gap-2 rounded-xl border border-gray-200 bg-white p-2&quot;,children:[d.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:`rounded-lg px-4 py-2 text-sm font-semibold transition-colors ${Ie===&quot;dashboard&quot;?&quot;bg-brand-700 text-white&quot;:&quot;text-ink-600 hover:bg-gray-50&quot;}`,onClick:()=&gt;Fe(&quot;dashboard&quot;),children:&quot;Finance&quot;}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:`rounded-lg px-4 py-2 text-sm font-semibold transition-colors ${Ie===&quot;reminders&quot;?&quot;bg-brand-700 text-white&quot;:&quot;text-ink-600 hover:bg-gray-50&quot;}`,onClick:()=&gt;Fe(&quot;reminders&quot;),children:&quot;Relance&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex flex-col sm:flex-row sm:flex-wrap sm:items-center gap-3 sm:gap-4 p-4 bg-white rounded-xl border border-gray-200 shadow-sm&quot;,role:&quot;search&quot;,&quot;aria-label&quot;:&quot;Filtrer par événement&quot;,children:[d.jsx(&quot;label&quot;,{htmlFor:&quot;finance-event-select&quot;,className:&quot;text-sm font-semibold text-ink-800 shrink-0&quot;,children:&quot;Événement&quot;}),d.jsxs(&quot;select&quot;,{id:&quot;finance-event-select&quot;,value:g,onChange:ue=&gt;b(ue.target.value===&quot;&quot;?&quot;&quot;:Number(ue.target.value)),className:&quot;px-4 py-2.5 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-brand-700 min-w-[min(100%,16rem)] sm:max-w-md&quot;,disabled:a,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:a?&quot;Chargement...&quot;:Ie===&quot;reminders&quot;||me===&quot;budget&quot;?&quot;- Choisir un événement -&quot;:&quot;Tous&quot;}),v.map(ue=&gt;d.jsx(&quot;option&quot;,{value:ue.id,children:ue.name},ue.id))]}),o&amp;&amp;d.jsx(&quot;span&quot;,{className:&quot;text-sm text-red-600&quot;,role:&quot;alert&quot;,children:o}),!a&amp;&amp;v.length===0&amp;&amp;!o&amp;&amp;d.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Aucun événement actif pour le moment.&quot;})]}),Ie===&quot;dashboard&quot;&amp;&amp;d.jsx(xie,{activeTab:me,onTabChange:_e}),Ie===&quot;dashboard&quot;&amp;&amp;me===&quot;budget&quot;&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mt-6 space-y-6&quot;,role:&quot;tabpanel&quot;,children:d.jsx(hie,{hasSelectedEvent:!!g,readOnly:m,alerts:{linesError:Hi,saveMessage:fo},table:{lines:Fr,loading:qi,totals:n0,moveLineLoading:gs,onMoveUp:xl,onMoveDown:e0,onOpenEdit:Rc,onDelete:Fd},writable:m?void 0:{addLine:{categories:Vi,categoryId:Wi,label:Fn,amount:En,submitting:_i,error:Fp,onCategoryChange:li,onLabelChange:Cn,onAmountChange:Ki,onSubmit:Jp,onOpenCategoryModal:vs!=null?()=&gt;go(!0):void 0},exportBar:{exportFinanceLoading:po,linesCount:Fr.length,onExportCsv:zd,onExportXlsx:$d,onSave:Bd}}})}),Ie===&quot;dashboard&quot;&amp;&amp;me===&quot;expenses&quot;&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mt-6 space-y-6&quot;,role:&quot;tabpanel&quot;,children:d.jsx(vie,{hasSelectedEvent:!!g,readOnly:m,alerts:{error:vo},exportRow:!m&amp;&amp;Is.length&gt;0?{exportFinanceLoading:po,onExportCsv:t0,onExportXlsx:r0}:void 0,table:{rows:Is,loading:xa,onDelete:Hp},form:{paidAt:Ac,budgetLineId:xo,treasuryAccountId:yl,amount:Nd,label:Ed,submitting:Md,error:Up,budgetLines:Cc,treasuryAccounts:bo,onPaidAtChange:Bp,onBudgetLineChange:zp,onTreasuryAccountChange:$p,onAmountChange:Cd,onLabelChange:Ad,onSubmit:qp}})}),Ie===&quot;dashboard&quot;&amp;&amp;me===&quot;validation&quot;&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;mt-6 space-y-8&quot;,role:&quot;tabpanel&quot;,&quot;aria-label&quot;:&quot;Encaissements et validation des dons&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 tracking-tight&quot;,children:&quot;Encaissements &amp; validation&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:&quot;Files d&#039;attente, indicateurs et soldes — traitement des paiements et des dons.&quot;})]}),R&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-xl p-4 shadow-sm&quot;,role:&quot;alert&quot;,children:d.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-800 font-medium&quot;,children:R})}),C&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 shadow-sm py-14 px-6 text-center&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-ink-600 text-sm font-medium&quot;,children:&quot;Chargement du tableau de bord finance…&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-400 text-xs mt-2&quot;,children:&quot;Merci de patienter quelques instants.&quot;})]}),!C&amp;&amp;x&amp;&amp;d.jsxs(d.Fragment,{children:[d.jsx(yie,{kpi:x.kpi}),d.jsx(wie,{pendingPayments:x.pending_payments,pendingDonations:x.pending_donations,donationsPaymentInProgress:x.donations_payment_in_progress??[],readOnly:m,actionLoading:!!L,onConfirmPayment:ue=&gt;bl(&quot;confirm&quot;,{type:&quot;payment&quot;,id:ue.id,label:`${ue.registration?.first_name} ${ue.registration?.last_name}`,event_id:ue.registration?.event?.id??null}),onRejectPayment:ue=&gt;bl(&quot;reject&quot;,{type:&quot;payment&quot;,id:ue.id,label:`${ue.registration?.first_name} ${ue.registration?.last_name}`}),onConfirmDonation:ue=&gt;bl(&quot;confirm&quot;,{type:&quot;donation&quot;,id:ue.id,label:ue.donor_name||&quot;Don&quot;}),onRejectDonation:ue=&gt;bl(&quot;reject&quot;,{type:&quot;donation&quot;,id:ue.id,label:ue.donor_name||&quot;Don&quot;}),onOpenDonationsList:()=&gt;{bt(1),Te(!0)}}),(x.confirmed_payments?.length??0)&gt;0&amp;&amp;d.jsx(pie,{payments:x.confirmed_payments??[],readOnly:m,exportLoading:Nt,onExportXlsx:Yp,receipt:{error:rt,actionPending:!!Ue,isLoading:So,onDownloadReceipt:Ld,onIssueReceipt:Dd,onSendReceiptEmail:jo}}),d.jsx(gie,{loading:et,rows:ze??[],registrationsForPayment:x.registrations_for_payment??[],readOnly:m,initPaymentModalOpen:!!$,exportLoading:Ut,meta:jt,page:Rt,perPage:st,onPageChange:qt,onPerPageChange:Tt,onInitPayment:_o,onView:Ic,onExportXlsx:_a})]})]}),Ie===&quot;reminders&quot;&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;mt-6 space-y-4&quot;,role:&quot;tabpanel&quot;,&quot;aria-label&quot;:&quot;Relance échéances&quot;,children:[g===&quot;&quot;&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;rounded-xl border border-amber-200 bg-amber-50 px-4 py-3 text-sm text-amber-800&quot;,children:&quot;Sélectionnez un événement pour afficher les échéances à relancer.&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;rounded-xl border border-brand-100 bg-brand-50/60 px-4 py-3&quot;,children:[d.jsxs(&quot;p&quot;,{className:&quot;text-sm font-semibold text-ink-900&quot;,children:[Pt?.total??0,&quot; dossier&quot;,(Pt?.total??0)&gt;1?&quot;s&quot;:&quot;&quot;,&quot; à relancer&quot;]}),d.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-600 mt-0.5&quot;,children:[&quot;Filtre actif : &quot;,pt===&quot;all&quot;?&quot;Tous statuts échéance&quot;:pt===&quot;late&quot;?&quot;Échéances en retard&quot;:&quot;Échéances ouvertes&quot;,&quot; · &quot;,Be===&quot;up_to&quot;?&quot;Portée : Cumul jusqu’au mois&quot;:&quot;Portée : Mois ciblé&quot;,&quot; · &quot;,lt===&quot;all&quot;?&quot;Toutes situations globales&quot;:lt===&quot;late&quot;?&quot;Situation globale : En retard&quot;:lt===&quot;ahead&quot;?&quot;Situation globale : En avance&quot;:&quot;Situation globale : À jour&quot;]})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-3 items-end rounded-xl border border-gray-200 bg-white p-4&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-xs font-medium text-ink-600 mb-1&quot;,children:&quot;Mois d&#039;échéance&quot;}),d.jsx(&quot;input&quot;,{type:&quot;month&quot;,value:Se,onChange:ue=&gt;{De(ue.target.value),pn(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-xs font-medium text-ink-600 mb-1&quot;,children:&quot;Statut échéance&quot;}),d.jsxs(&quot;select&quot;,{value:pt,onChange:ue=&gt;{const Re=ue.target.value;Et(Re),pn(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[190px]&quot;,children:[d.jsx(&quot;option&quot;,{value:&quot;all&quot;,children:&quot;Tous&quot;}),d.jsx(&quot;option&quot;,{value:&quot;late&quot;,children:&quot;En retard&quot;}),d.jsx(&quot;option&quot;,{value:&quot;open&quot;,children:&quot;Ouvertes (hors retard)&quot;})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-xs font-medium text-ink-600 mb-1&quot;,children:&quot;Portée temporelle&quot;}),d.jsxs(&quot;select&quot;,{value:Be,onChange:ue=&gt;{const Re=ue.target.value;Ct(Re),pn(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[220px]&quot;,children:[d.jsx(&quot;option&quot;,{value:&quot;exact&quot;,children:&quot;Mois ciblé&quot;}),d.jsx(&quot;option&quot;,{value:&quot;up_to&quot;,children:&quot;Cumul jusqu’au mois&quot;})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-xs font-medium text-ink-600 mb-1&quot;,children:&quot;Situation globale&quot;}),d.jsxs(&quot;select&quot;,{value:lt,onChange:ue=&gt;{const Re=ue.target.value;zt(Re),pn(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[220px]&quot;,children:[d.jsx(&quot;option&quot;,{value:&quot;all&quot;,children:&quot;Toutes&quot;}),d.jsx(&quot;option&quot;,{value:&quot;late&quot;,children:&quot;En retard&quot;}),d.jsx(&quot;option&quot;,{value:&quot;on_track&quot;,children:&quot;À jour&quot;}),d.jsx(&quot;option&quot;,{value:&quot;ahead&quot;,children:&quot;En avance&quot;})]})]}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:Qp,disabled:gn||Yt.length===0||!g,className:&quot;inline-flex items-center rounded-lg border border-gray-300 bg-white px-3 py-2 text-sm font-medium text-ink-700 hover:bg-gray-50 disabled:opacity-50&quot;,children:gn?&quot;Export...&quot;:&quot;Exporter XLSX&quot;})]}),d.jsxs(&quot;section&quot;,{className:&quot;bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:d.jsxs(&quot;table&quot;,{className:&quot;w-full text-sm min-w-[980px]&quot;,children:[d.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:d.jsxs(&quot;tr&quot;,{children:[d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Participant&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Échéance&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Fenêtre&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-right text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Montant&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-right text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Payé&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-right text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Reste&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Statut&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-right text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Action&quot;})]})}),d.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:ur?d.jsx(&quot;tr&quot;,{children:d.jsx(&quot;td&quot;,{colSpan:8,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Chargement...&quot;})}):Cr?d.jsx(&quot;tr&quot;,{children:d.jsx(&quot;td&quot;,{colSpan:8,className:&quot;px-4 py-8 text-center text-red-600&quot;,children:Cr})}):Yt.length===0?d.jsx(&quot;tr&quot;,{children:d.jsx(&quot;td&quot;,{colSpan:8,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Aucune échéance ouverte pour ce mois.&quot;})}):Yt.map(ue=&gt;d.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50/50&quot;,children:[d.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;font-medium text-ink-900&quot;,children:ue.name}),d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:ue.email})]}),d.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-700&quot;,children:[ue.installment_label,&quot; — &quot;,ue.installment_month]}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-600&quot;,children:ue.installment_due_window}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right tabular-nums&quot;,children:dr(ue.installment_amount)}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right tabular-nums&quot;,children:dr(ue.installment_paid_amount)}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right tabular-nums font-semibold text-ink-900&quot;,children:dr(ue.installment_remaining_amount)}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:d.jsx(&quot;span&quot;,{className:`px-2 py-0.5 rounded-md text-xs font-medium ${ue.installment_status===&quot;late&quot;?&quot;bg-red-100 text-red-800&quot;:&quot;bg-amber-100 text-amber-800&quot;}`,children:ue.installment_status===&quot;late&quot;?&quot;En retard&quot;:&quot;Ouverte&quot;})}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;Ic(ue.registration_id),className:&quot;text-xs text-brand-700 hover:underline font-medium&quot;,children:&quot;Voir&quot;})})]},`${ue.registration_id}-${ue.installment_index}`))})]})}),Pt&amp;&amp;Pt.total&gt;0&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;px-4 py-2 border-t border-gray-100 flex flex-wrap items-center justify-between gap-2&quot;,children:[d.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:Pt.last_page&gt;1&amp;&amp;Pt.from!=null&amp;&amp;Pt.to!=null?`Lignes ${Pt.from} à ${Pt.to} sur ${Pt.total}`:`Total : ${Pt.total} ligne${Pt.total!==1?&quot;s&quot;:&quot;&quot;}`}),Pt.last_page&gt;1&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;text-xs text-ink-500 flex items-center gap-1&quot;,children:[&quot;Par page&quot;,d.jsx(&quot;select&quot;,{value:bi,onChange:ue=&gt;{xi(Number(ue.target.value)),pn(1)},className:&quot;text-sm border border-gray-300 rounded px-2 py-0.5&quot;,children:[10,20,50].map(ue=&gt;d.jsx(&quot;option&quot;,{value:ue,children:ue},ue))})]}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:nn&lt;=1,onClick:()=&gt;pn(ue=&gt;Math.max(1,ue-1)),className:&quot;text-xs px-2 py-1 rounded border border-gray-300 disabled:opacity-50&quot;,children:&quot;Précédent&quot;}),d.jsxs(&quot;span&quot;,{className:&quot;text-xs text-ink-600&quot;,children:[&quot;Page &quot;,nn,&quot; / &quot;,Pt.last_page]}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:nn&gt;=Pt.last_page,onClick:()=&gt;pn(ue=&gt;ue+1),className:&quot;text-xs px-2 py-1 rounded border border-gray-300 disabled:opacity-50&quot;,children:&quot;Suivant&quot;})]})]})]})]})]})})]}),d.jsx(mie,{open:pl,onClose:()=&gt;go(!1),eventType:vs,categories:Vi,onCategoriesChanged:()=&gt;{Mc()},onCreatedSelect:ue=&gt;li(ue)}),ke&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:()=&gt;Te(!1),&quot;aria-hidden&quot;:!0}),d.jsx(&quot;div&quot;,{className:&quot;inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-5xl sm:w-full relative&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-5&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between gap-3 mb-4 flex-wrap&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:&quot;Liste des dons&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 shrink-0&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,className:&quot;text-sm font-medium&quot;,title:&quot;Télécharger tous les dons du périmètre affiché (pas seulement la page courante)&quot;,disabled:or||Ze||!Lt||Lt.total===0,onClick:()=&gt;{Zp()},children:or?&quot;Export…&quot;:&quot;Exporter XLSX&quot;}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;Te(!1),className:&quot;text-gray-400 hover:text-gray-600 transition-colors p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:d.jsx(vr,{size:24})})]})]}),d.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 overflow-hidden&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:d.jsxs(&quot;table&quot;,{className:&quot;w-full text-sm min-w-[860px]&quot;,children:[d.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:d.jsxs(&quot;tr&quot;,{children:[d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;ID&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Donateur&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-right text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Montant&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Méthode&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Statut&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-left text-xs font-semibold text-ink-700 uppercase&quot;,children:&quot;Date&quot;})]})}),d.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:Ze?d.jsx(&quot;tr&quot;,{children:d.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Chargement...&quot;})}):gt?d.jsx(&quot;tr&quot;,{children:d.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-8 text-center text-red-600&quot;,children:gt})}):Ke.length===0?d.jsx(&quot;tr&quot;,{children:d.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Aucun don trouvé.&quot;})}):Ke.map(ue=&gt;d.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50/50&quot;,children:[d.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-700&quot;,children:[&quot;#&quot;,ue.id]}),d.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;font-medium text-ink-900&quot;,children:ue.donor_name||&quot;Anonyme&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:ue.donor_email||&quot;—&quot;})]}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right tabular-nums&quot;,children:Nu(ue.amount,ue.currency)}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-700&quot;,children:ue.method||&quot;—&quot;}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-700&quot;,children:ue.status}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-600&quot;,children:ue.created_at?new Date(ue.created_at).toLocaleString():&quot;—&quot;})]},ue.id))})]})}),Lt&amp;&amp;Lt.total&gt;0&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;px-4 py-2 border-t border-gray-100 flex flex-wrap items-center justify-between gap-2&quot;,children:[d.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:Lt.from!=null&amp;&amp;Lt.to!=null?`Lignes ${Lt.from} à ${Lt.to} sur ${Lt.total}`:`Total : ${Lt.total}`}),d.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;text-xs text-ink-500 flex items-center gap-1&quot;,children:[&quot;Par page&quot;,d.jsx(&quot;select&quot;,{value:Ot,onChange:ue=&gt;{ir(Number(ue.target.value)),bt(1)},className:&quot;text-sm border border-gray-300 rounded px-2 py-0.5&quot;,children:[10,20,50].map(ue=&gt;d.jsx(&quot;option&quot;,{value:ue,children:ue},ue))})]}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:_t&lt;=1,onClick:()=&gt;bt(ue=&gt;Math.max(1,ue-1)),className:&quot;text-xs px-2 py-1 rounded border border-gray-300 disabled:opacity-50&quot;,children:&quot;Précédent&quot;}),d.jsxs(&quot;span&quot;,{className:&quot;text-xs text-ink-600&quot;,children:[&quot;Page &quot;,_t,&quot; / &quot;,Lt.last_page]}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:_t&gt;=Lt.last_page,onClick:()=&gt;bt(ue=&gt;ue+1),className:&quot;text-xs px-2 py-1 rounded border border-gray-300 disabled:opacity-50&quot;,children:&quot;Suivant&quot;})]})]})]})]})})]})}),(ct||It||Ht)&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:()=&gt;{ct||(Bt(null),yt(null))},&quot;aria-hidden&quot;:!0}),d.jsx(&quot;div&quot;,{className:&quot;inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-3xl sm:w-full relative&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-5&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:&quot;Détail débiteur&quot;}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;{ct||(Bt(null),yt(null))},className:&quot;text-gray-400 hover:text-gray-600 transition-colors p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:d.jsx(vr,{size:24})})]}),ct&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Chargement du détail…&quot;}),Ht&amp;&amp;!ct&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;rounded-lg border border-red-200 bg-red-50 p-3 text-sm text-red-700&quot;,children:Ht}),It&amp;&amp;!ct&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 bg-gray-50 p-4&quot;,children:[d.jsxs(&quot;p&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:[It.registration.first_name,&quot; &quot;,It.registration.last_name]}),d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600&quot;,children:It.registration.email}),d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600 mt-1&quot;,children:It.registration.event?.name??&quot;—&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 gap-3 sm:grid-cols-4&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 p-3&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Montant dû&quot;}),d.jsx(&quot;p&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:dr(It.financial.amount_due)})]}),d.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 p-3&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Déjà payé&quot;}),d.jsx(&quot;p&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:dr(It.financial.paid)})]}),d.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 p-3&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Reste à payer&quot;}),d.jsx(&quot;p&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:dr(It.financial.balance)})]}),d.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 p-3&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Situation&quot;}),d.jsx(&quot;p&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:It.financial.financial_situation_label})]})]}),d.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;border-b border-gray-100 px-4 py-2 text-sm font-semibold text-ink-800&quot;,children:[&quot;Échéances (&quot;,It.financial.installments_label,&quot;, &quot;,It.financial.installments_open_count,&quot; restantes)&quot;]}),d.jsx(&quot;div&quot;,{className:&quot;max-h-72 overflow-y-auto&quot;,children:It.financial.installments.map(ue=&gt;d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between gap-3 border-b border-gray-100 px-4 py-2 text-sm last:border-b-0&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;p&quot;,{className:&quot;font-medium text-ink-900&quot;,children:[ue.label,&quot; &quot;,ue.month?`— ${ue.month}`:&quot;&quot;]}),d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:dr(ue.amount)})]}),d.jsxs(&quot;div&quot;,{className:&quot;text-right&quot;,children:[d.jsx(&quot;p&quot;,{className:`text-xs font-semibold ${ue.paid?&quot;text-green-700&quot;:&quot;text-amber-700&quot;}`,children:ue.paid?&quot;Payée&quot;:&quot;Ouverte&quot;}),ue.is_late&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;text-[11px] text-red-700&quot;,children:&quot;En retard&quot;}),ue.is_ahead&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;text-[11px] text-blue-700&quot;,children:&quot;Payée en avance&quot;})]})]},ue.index))})]})]})]})})]})}),pa&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:()=&gt;!ci&amp;&amp;ps(null),&quot;aria-hidden&quot;:!0}),d.jsx(&quot;div&quot;,{className:&quot;inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-md sm:w-full relative&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:&quot;Modifier la ligne de budget&quot;}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!ci&amp;&amp;ps(null),className:&quot;text-gray-400 hover:text-gray-600 p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:d.jsx(vr,{size:24})})]}),d.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-4&quot;,children:[&quot;Catégorie : &quot;,pa.category_name]}),ml&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:ml}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Libellé (optionnel)&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:Nc,onChange:ue=&gt;jd(ue.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,placeholder:&quot;Ex. Billets orateurs&quot;,disabled:!!ci})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Montant prévu (XOF) *&quot;}),d.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:0,value:ga||&quot;&quot;,onChange:ue=&gt;va(parseInt(ue.target.value,10)||0),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,disabled:!!ci})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Montant réalisé (XOF)&quot;}),d.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:0,value:Ts||&quot;&quot;,onChange:ue=&gt;ho(parseInt(ue.target.value,10)||0),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,disabled:!!ci}),d.jsx(&quot;p&quot;,{className:&quot;text-xs text-amber-700 mt-1&quot;,children:&quot;Modifier le réalisé manuellement peut désynchroniser les données avec les paiements et dépenses enregistrés.&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Ordre d&#039;affichage&quot;}),d.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:0,value:Sd,onChange:ue=&gt;kd(parseInt(ue.target.value,10)||0),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,disabled:!!ci}),d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-1&quot;,children:&quot;Plus le nombre est petit, plus la ligne s&#039;affiche en haut.&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2 pt-2&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:()=&gt;ps(null),disabled:!!ci,children:&quot;Annuler&quot;}),d.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:Dc,disabled:!!ci,children:ci?&quot;Enregistrement...&quot;:&quot;Enregistrer&quot;})]})]})]})})]})}),W&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:()=&gt;!L&amp;&amp;K(null),&quot;aria-hidden&quot;:!0}),d.jsx(&quot;div&quot;,{className:&quot;inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full relative&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[d.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:[W.action===&quot;confirm&quot;?W.target.type===&quot;payment&quot;?&quot;Confirmer le paiement&quot;:&quot;Confirmer le don&quot;:W.target.type===&quot;payment&quot;?&quot;Rejeter le paiement&quot;:&quot;Rejeter le don&quot;,&quot; — &quot;,d.jsx(&quot;span&quot;,{className:&quot;font-normal text-ink-600&quot;,children:W.target.label})]}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!L&amp;&amp;K(null),className:&quot;text-gray-400 hover:text-gray-600 transition-colors p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:d.jsx(vr,{size:24})})]}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[S&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:d.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:S})}),W.action===&quot;confirm&quot;&amp;&amp;W.target.type===&quot;payment&quot;&amp;&amp;d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-2&quot;,children:[&quot;Compte de trésorerie impacté &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsxs(&quot;select&quot;,{value:M,onChange:ue=&gt;I(ue.target.value===&quot;&quot;?&quot;&quot;:Number(ue.target.value)),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,disabled:!!L,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir un compte -&quot;}),B.filter(ue=&gt;ue.is_active).map(ue=&gt;d.jsxs(&quot;option&quot;,{value:ue.id,children:[ue.name,&quot; &quot;,ue.identifier?`(${ue.identifier})`:&quot;&quot;,&quot; — &quot;,ue.context_display]},ue.id))]}),B.length===0&amp;&amp;!L&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;text-xs text-amber-600 mt-1&quot;,children:&quot;Chargement des comptes…&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Note de révision (optionnel)&quot;}),d.jsx(&quot;textarea&quot;,{value:U,onChange:ue=&gt;P(ue.target.value),rows:2,maxLength:2e3,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,placeholder:&quot;Ex. Vérifié, reçu bancaire conforme.&quot;,disabled:!!L})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Référence transaction (optionnel)&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:D,onChange:ue=&gt;E(ue.target.value),maxLength:255,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 focus:border-transparent&quot;,placeholder:&quot;Ex. TRX-123456, virement du 28/01&quot;,disabled:!!L})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Preuve (image ou scan) (optionnel)&quot;}),d.jsx(&quot;input&quot;,{type:&quot;file&quot;,accept:&quot;.jpg,.jpeg,.png,.gif,.webp,.pdf&quot;,onChange:ue=&gt;k(ue.target.files?.[0]??null),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 text-sm&quot;,disabled:!!L}),d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-400 mt-1&quot;,children:&quot;JPG, PNG, GIF, WebP ou PDF, max 5 Mo&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:()=&gt;K(null),disabled:!!L,children:&quot;Annuler&quot;}),d.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:Pc,disabled:!!L,children:L?&quot;En cours...&quot;:W.action===&quot;confirm&quot;?&quot;Valider&quot;:&quot;Rejeter&quot;})]})]})]})})]})}),$&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:()=&gt;!ye&amp;&amp;ee(null),&quot;aria-hidden&quot;:!0}),d.jsx(&quot;div&quot;,{className:&quot;inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full relative&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[d.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:[&quot;Initier un paiement — &quot;,$.first_name,&quot; &quot;,$.last_name]}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!ye&amp;&amp;ee(null),className:&quot;text-gray-400 hover:text-gray-600 transition-colors p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:d.jsx(vr,{size:24})})]}),d.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-4&quot;,children:[&quot;Solde restant : &quot;,d.jsx(&quot;strong&quot;,{className:&quot;tabular-nums whitespace-nowrap&quot;,children:dr($.balance)})]}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[ce&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:d.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:ce})}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Compte de trésorerie &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsxs(&quot;select&quot;,{value:le===&quot;&quot;?&quot;&quot;:le,onChange:ue=&gt;Ce(ue.target.value===&quot;&quot;?&quot;&quot;:Number(ue.target.value)),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,disabled:!!ye,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir un compte -&quot;}),Ae.filter(ue=&gt;ue.is_active).map(ue=&gt;d.jsxs(&quot;option&quot;,{value:ue.id,children:[ue.name,&quot; &quot;,ue.identifier?`(${ue.identifier})`:&quot;&quot;,&quot; — &quot;,ue.context_display]},ue.id))]}),Ae.length===0&amp;&amp;!ye&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;text-xs text-amber-600 mt-1&quot;,children:&quot;Chargement des comptes…&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Montant &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),($.installment_due_items?.length??0)&gt;0&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;mb-2 rounded-lg border border-gray-200 bg-gray-50 p-3&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;mb-2 flex items-center justify-between gap-2&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-xs font-medium text-ink-700&quot;,children:&quot;Échéances encore dues&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[d.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:&quot;text-xs text-brand-700 hover:underline&quot;,onClick:Td,disabled:!!ye,children:&quot;Tout sélectionner&quot;}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:&quot;text-xs text-ink-500 hover:underline&quot;,onClick:Id,disabled:!!ye,children:&quot;Effacer&quot;})]})]}),d.jsx(&quot;div&quot;,{className:&quot;max-h-28 overflow-y-auto space-y-1.5 pr-1&quot;,children:$.installment_due_items.map(ue=&gt;{const Re=Pe.includes(ue.index);return d.jsxs(&quot;label&quot;,{className:&quot;flex items-center justify-between gap-2 text-xs&quot;,children:[d.jsxs(&quot;span&quot;,{className:&quot;inline-flex items-center gap-2 text-ink-700&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:Re,onChange:()=&gt;Pd(ue.index),disabled:!!ye}),ue.label,ue.month?` — ${ue.month}`:&quot;&quot;]}),d.jsx(&quot;span&quot;,{className:&quot;font-semibold text-ink-800&quot;,children:dr(ue.amount_due_remaining)})]},ue.index)})}),d.jsxs(&quot;div&quot;,{className:&quot;mt-2 flex flex-wrap items-center justify-between gap-2&quot;,children:[d.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-600&quot;,children:[&quot;Total sélectionné : &quot;,d.jsx(&quot;span&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:dr(Tc)})]}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,className:&quot;text-xs rounded border border-gray-300 bg-white px-2 py-1 text-ink-700 hover:bg-gray-50 disabled:opacity-50&quot;,onClick:()=&gt;T(String(Tc)),disabled:!!ye||Tc&lt;=0,children:&quot;Utiliser la sélection&quot;})]})]}),d.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:1,max:$.balance,value:z,onChange:ue=&gt;T(ue.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,disabled:!!ye})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Méthode &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsxs(&quot;select&quot;,{value:X,onChange:ue=&gt;re(ue.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,disabled:!!ye,children:[d.jsx(&quot;option&quot;,{value:&quot;mobile_money&quot;,children:&quot;Mobile Money&quot;}),d.jsx(&quot;option&quot;,{value:&quot;card_visa&quot;,children:&quot;Carte Visa&quot;}),d.jsx(&quot;option&quot;,{value:&quot;paypal&quot;,children:&quot;PayPal&quot;}),d.jsx(&quot;option&quot;,{value:&quot;national_office&quot;,children:&quot;Bureau national&quot;}),d.jsx(&quot;option&quot;,{value:&quot;installment&quot;,children:&quot;Échelonné&quot;})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Date du paiement &quot;,d.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),d.jsx(&quot;input&quot;,{type:&quot;datetime-local&quot;,value:ne,onChange:ue=&gt;Q(ue.target.value),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,disabled:!!ye})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Référence transaction&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:te,onChange:ue=&gt;de(ue.target.value),maxLength:255,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,placeholder:&quot;Ex. TRX-123456, virement du 28/01&quot;,disabled:!!ye}),d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-400 mt-1&quot;,children:&quot;Référence et/ou preuve requises&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Preuve (image ou scan)&quot;}),d.jsx(&quot;input&quot;,{type:&quot;file&quot;,accept:&quot;.jpg,.jpeg,.png,.gif,.webp,.pdf&quot;,onChange:ue=&gt;he(ue.target.files?.[0]??null),className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700 text-sm&quot;,disabled:!!ye}),d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-400 mt-1&quot;,children:&quot;JPG, PNG, GIF, WebP ou PDF, max 5 Mo&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Notes (optionnel)&quot;}),d.jsx(&quot;textarea&quot;,{value:oe,onChange:ue=&gt;se(ue.target.value),rows:2,maxLength:2e3,className:&quot;w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-700&quot;,placeholder:&quot;Commentaire interne&quot;,disabled:!!ye})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:()=&gt;ee(null),disabled:!!ye,children:&quot;Annuler&quot;}),d.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:Rd,disabled:!!ye||le===&quot;&quot;,children:ye?&quot;Enregistrement...&quot;:&quot;Enregistrer et confirmer le paiement&quot;})]})]})]})})]})})]})}function Mk({events:e,accountTypes:r,currencies:t,account:n=null,eventFilter:l=&quot;&quot;,onClose:i,onSuccess:a}){const u=!!n,[o,s]=F.useState(!1),[c,f]=F.useState(null),[h,m]=F.useState(&quot;&quot;),[p,v]=F.useState(&quot;&quot;),[g,b]=F.useState(&quot;&quot;),[x,_]=F.useState(&quot;XOF&quot;),[C,O]=F.useState(&quot;&quot;),[R,H]=F.useState(!0);F.useEffect(()=&gt;{n?(m(n.name),v(n.type),b(n.identifier),_(n.currency),O(n.event_id??&quot;&quot;),H(n.is_active)):(m(&quot;&quot;),v(r[0]??&quot;&quot;),b(&quot;&quot;),_(&quot;XOF&quot;),O(&quot;&quot;),H(!0))},[n,r]);const L=async q=&gt;{q.preventDefault(),q.stopPropagation(),f(null),s(!0);try{if(u)await Ga.update(n.id,{name:h,type:p,identifier:g,currency:x,event_id:C===&quot;&quot;?null:C,is_active:R}),a();else{const W=await Ga.create({name:h,type:p,identifier:g,currency:x,event_id:C===&quot;&quot;?null:C,is_active:R}),K=W?.data??W;if(!K||typeof K!=&quot;object&quot;||!(&quot;id&quot;in K)){f(&quot;Le serveur n&#039;a pas retourné le compte créé. Vérifiez l’onglet Réseau (POST sur treasury-accounts).&quot;),s(!1);return}try{const U=await Ga.list({event_id:l});if(!(Array.isArray(U)?U:U?.data??[]).some(E=&gt;E.id===K.id)){f(&quot;Le compte a été créé côté serveur mais n’apparaît pas dans la liste. Vérifiez que la table treasury_accounts existe (php artisan migrate) et que l’API renvoie bien la liste (GET /api/admin/treasury-accounts).&quot;),s(!1);return}}catch{f(&quot;Impossible de vérifier la liste après création.&quot;),s(!1);return}a(K)}}catch(W){const K=W,U=K?.data?.message??K?.message??(typeof W==&quot;object&quot;&amp;&amp;W!==null&amp;&amp;&quot;message&quot;in W?String(W.message):null)??(u?&quot;Erreur lors de la mise à jour.&quot;:&quot;Erreur lors de la création.&quot;),P=K?.data?.errors&amp;&amp;typeof K.data.errors==&quot;object&quot;?Object.values(K.data.errors).flat().filter(Boolean).join(&quot;, &quot;):&quot;&quot;,D=P?`${U} — ${P}`:U;f(D)}finally{s(!1)}};return d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full max-h-[90vh] overflow-y-auto&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:u?&quot;Modifier le compte&quot;:&quot;Nouveau compte de trésorerie&quot;}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:i,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:d.jsx(vr,{size:20})})]}),d.jsxs(&quot;form&quot;,{onSubmit:q=&gt;(q.preventDefault(),q.stopPropagation(),L(q),!1),className:&quot;p-4 space-y-4&quot;,children:[c&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,role:&quot;alert&quot;,children:c}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:h,onChange:q=&gt;m(q.target.value),required:!0,placeholder:&quot;ex: 5211-SBB&quot;,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Type&quot;}),d.jsx(&quot;select&quot;,{value:p,onChange:q=&gt;v(q.target.value),required:!0,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:r.map(q=&gt;d.jsx(&quot;option&quot;,{value:q,children:q},q))})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Identifiant&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:g,onChange:q=&gt;b(q.target.value),required:!0,placeholder:&quot;ex: 5211&quot;,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Devise&quot;}),d.jsx(&quot;select&quot;,{value:x,onChange:q=&gt;_(q.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:t.map(q=&gt;d.jsx(&quot;option&quot;,{value:q,children:q},q))})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Contexte&quot;}),d.jsxs(&quot;select&quot;,{value:C,onChange:q=&gt;O(q.target.value===&quot;&quot;?&quot;&quot;:Number(q.target.value)),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Global&quot;}),e.map(q=&gt;d.jsx(&quot;option&quot;,{value:q.id,children:q.name},q.id))]})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,id:&quot;is_active&quot;,checked:R,onChange:q=&gt;H(q.target.checked),className:&quot;rounded border-gray-300&quot;}),d.jsx(&quot;label&quot;,{htmlFor:&quot;is_active&quot;,className:&quot;text-sm font-medium text-ink-700&quot;,children:&quot;Compte actif&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 pt-2&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:i,className:&quot;flex-1&quot;,children:&quot;Annuler&quot;}),d.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,disabled:o,className:&quot;flex-1&quot;,onClick:q=&gt;{q.preventDefault(),q.stopPropagation(),L(q)},children:o?&quot;Enregistrement...&quot;:u?&quot;Enregistrer&quot;:&quot;Créer&quot;})]})]})]})})}function Sie({account:e,onClose:r,onDeleted:t}){const[n,l]=F.useState(!1),[i,a]=F.useState(null),u=async()=&gt;{a(null),l(!0);try{await Ga.delete(e.id),t()}catch(o){a(o.data?.message??&quot;Erreur lors de la suppression.&quot;)}finally{l(!1)}};return d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Supprimer le compte&quot;}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:d.jsx(vr,{size:20})})]}),d.jsxs(&quot;div&quot;,{className:&quot;p-4&quot;,children:[i&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,children:i}),d.jsxs(&quot;p&quot;,{className:&quot;text-ink-700 mb-4&quot;,children:[&quot;Êtes-vous sûr de vouloir supprimer le compte &quot;,d.jsx(&quot;strong&quot;,{children:e.name}),&quot; (&quot;,e.identifier,&quot;) ? Cette action est irréversible.&quot;]}),d.jsxs(&quot;div&quot;,{className:&quot;flex gap-2&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,className:&quot;flex-1&quot;,children:&quot;Annuler&quot;}),d.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:u,disabled:n,className:&quot;flex-1 bg-red-600 hover:bg-red-700 border-red-700&quot;,children:n?&quot;Suppression...&quot;:&quot;Supprimer&quot;})]})]})]})})}const kie=[{value:&quot;revenue&quot;,label:&quot;Recettes&quot;},{value:&quot;expense&quot;,label:&quot;Dépenses&quot;}],Nie=[{value:&quot;&quot;,label:&quot;Tous (commun)&quot;},{value:&quot;summit&quot;,label:&quot;Sommet&quot;},{value:&quot;seminar&quot;,label:&quot;Séminaire&quot;},{value:&quot;other&quot;,label:&quot;Autre&quot;}];function Ok({category:e=null,onClose:r,onSuccess:t}){const n=!!e,[l,i]=F.useState(!1),[a,u]=F.useState(null),[o,s]=F.useState(&quot;&quot;),[c,f]=F.useState(&quot;&quot;),[h,m]=F.useState(&quot;expense&quot;),[p,v]=F.useState(&quot;&quot;),[g,b]=F.useState(0);F.useEffect(()=&gt;{e?(s(e.name),f(e.code??&quot;&quot;),m(e.type??&quot;expense&quot;),v(e.event_type??&quot;&quot;),b(e.sort_order??0)):(s(&quot;&quot;),f(&quot;&quot;),m(&quot;expense&quot;),v(&quot;&quot;),b(0))},[e]);const x=async _=&gt;{_.preventDefault(),_.stopPropagation(),u(null),i(!0);try{const C={name:o.trim(),code:c.trim()||null,type:h,event_type:p===&quot;&quot;?null:p,sort_order:g};if(n)await Ya.update(e.id,C),t();else{const O=await Ya.create(C);t(O)}}catch(C){const O=C instanceof Wt?C.data?.message:&quot;Erreur lors de l&#039;enregistrement.&quot;;u(O??&quot;Erreur&quot;)}finally{i(!1)}};return d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,onClick:r,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-lg max-w-md w-full max-h-[90vh] overflow-y-auto&quot;,onClick:_=&gt;_.stopPropagation(),children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:n?&quot;Modifier la catégorie&quot;:&quot;Nouvelle catégorie budget&quot;}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 text-ink-500 hover:text-ink-700 rounded&quot;,children:d.jsx(vr,{size:20})})]}),d.jsxs(&quot;form&quot;,{onSubmit:x,className:&quot;p-4 space-y-4&quot;,children:[a&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;p-3 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:a}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{htmlFor:&quot;bc-name&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom *&quot;}),d.jsx(&quot;input&quot;,{id:&quot;bc-name&quot;,type:&quot;text&quot;,value:o,onChange:_=&gt;s(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg&quot;,required:!0})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{htmlFor:&quot;bc-code&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Code (optionnel)&quot;}),d.jsx(&quot;input&quot;,{id:&quot;bc-code&quot;,type:&quot;text&quot;,value:c,onChange:_=&gt;f(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg&quot;,maxLength:50})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{htmlFor:&quot;bc-category-type&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Type *&quot;}),d.jsx(&quot;select&quot;,{id:&quot;bc-category-type&quot;,value:h,onChange:_=&gt;m(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg&quot;,children:kie.map(_=&gt;d.jsx(&quot;option&quot;,{value:_.value,children:_.label},_.value))})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{htmlFor:&quot;bc-event-type&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Type d&#039;événement&quot;}),d.jsx(&quot;select&quot;,{id:&quot;bc-event-type&quot;,value:p,onChange:_=&gt;v(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg&quot;,children:Nie.map(_=&gt;d.jsx(&quot;option&quot;,{value:_.value,children:_.label},_.value||&quot;all&quot;))})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{htmlFor:&quot;bc-sort&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Ordre d&#039;affichage&quot;}),d.jsx(&quot;input&quot;,{id:&quot;bc-sort&quot;,type:&quot;number&quot;,min:0,value:g,onChange:_=&gt;b(parseInt(_.target.value,10)||0),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2 pt-2&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:r,children:&quot;Annuler&quot;}),d.jsx(Le,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:l,children:l?&quot;Enregistrement...&quot;:n?&quot;Enregistrer&quot;:&quot;Créer&quot;})]})]})]})})}function Cie({category:e,onClose:r,onDeleted:t}){const[n,l]=F.useState(!1),[i,a]=F.useState(null),u=async()=&gt;{a(null),l(!0);try{await Ya.delete(e.id),t()}catch(o){const s=o instanceof Wt?o.data?.message:&quot;Erreur lors de la suppression.&quot;;a(s??&quot;Erreur&quot;)}finally{l(!1)}};return d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,onClick:r,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-lg max-w-md w-full p-4&quot;,onClick:o=&gt;o.stopPropagation(),children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Supprimer la catégorie&quot;}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 text-ink-500 hover:text-ink-700 rounded&quot;,children:d.jsx(vr,{size:20})})]}),d.jsxs(&quot;p&quot;,{className:&quot;text-ink-700 mb-4&quot;,children:[&quot;Êtes-vous sûr de vouloir supprimer la catégorie « &quot;,e.name,&quot; » ? Les lignes de budget qui l&#039;utilisent ne seront pas supprimées mais pourront ne plus afficher le nom de catégorie.&quot;]}),i&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:i}),d.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:r,children:&quot;Annuler&quot;}),d.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:u,disabled:n,className:&quot;bg-red-600 hover:bg-red-700&quot;,children:n?&quot;Suppression...&quot;:&quot;Supprimer&quot;})]})]})})}function Eie({user:e,openMenuId:r,setOpenMenuId:t,canUpdate:n,canDelete:l,isCurrentUser:i,sendingActivation:a,reactivatingId:u,onEdit:o,onResetPassword:s,onSendActivation:c,onReactivate:f,onDelete:h}){const m=[];return n&amp;&amp;e.is_active!==!1&amp;&amp;m.push({id:&quot;reset-password&quot;,label:&quot;Réinitialiser le mot de passe&quot;,onSelect:s},{id:&quot;send-activation&quot;,label:a===e.id?&quot;Envoi…&quot;:&quot;Envoyer le lien d’activation&quot;,onSelect:c,disabled:a===e.id,title:&quot;Envoyer l’email avec le lien d’activation du compte&quot;}),n&amp;&amp;!i&amp;&amp;e.is_active===!1&amp;&amp;m.push({id:&quot;reactivate&quot;,label:&quot;Réactiver le compte&quot;,onSelect:f,disabled:u===e.id}),l&amp;&amp;!i&amp;&amp;m.push({id:&quot;delete&quot;,label:&quot;Supprimer&quot;,danger:!0,title:e.has_financial_activity?&quot;Compte lié à de l’activité financière — désactivation plutôt que suppression&quot;:&quot;Supprimer l’utilisateur&quot;,onSelect:h}),d.jsx(Js,{rowId:e.id,openMenuId:r,setOpenMenuId:t,onEdit:n&amp;&amp;e.is_active!==!1?o:void 0,editLabel:&quot;Modifier&quot;,menuItems:m})}function Aie({onClose:e,onSuccess:r}){const[t,n]=F.useState(!1),[l,i]=F.useState(null),[a,u]=F.useState({}),[o,s]=F.useState(&quot;&quot;),[c,f]=F.useState(&quot;&quot;),[h,m]=F.useState(db[0]),[p,v]=F.useState(&quot;&quot;),[g,b]=F.useState(&quot;&quot;),x=async _=&gt;{_.preventDefault(),i(null),u({}),n(!0);try{await to.create({name:o,email:c,role:h,...p?{password:p,password_confirmation:g}:{}}),r()}catch(C){const O=C;if(i(O.data?.message??&quot;Erreur lors de la création.&quot;),O.data?.errors){const R={};for(const[H,L]of Object.entries(O.data.errors))R[H]=Array.isArray(L)?L[0]:String(L);u(R)}}finally{n(!1)}};return d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full max-h-[90vh] overflow-y-auto&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Créer un utilisateur&quot;}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:e,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:d.jsx(vr,{size:20})})]}),d.jsxs(&quot;form&quot;,{onSubmit:x,className:&quot;p-4 space-y-4&quot;,children:[l&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,children:l}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o,onChange:_=&gt;s(_.target.value),required:!0,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;}),a.name&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:a.name})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Email&quot;}),d.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:c,onChange:_=&gt;f(_.target.value),required:!0,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;}),a.email&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:a.email})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Rôle&quot;}),d.jsx(&quot;select&quot;,{value:h,onChange:_=&gt;m(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:db.map(_=&gt;d.jsx(&quot;option&quot;,{value:_,children:Bh(_)},_))})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Mot de passe (optionnel — sinon envoyer un lien d&#039;activation après création)&quot;}),d.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:p,onChange:_=&gt;v(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,autoComplete:&quot;new-password&quot;}),p&amp;&amp;d.jsxs(d.Fragment,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mt-2 mb-1&quot;,children:&quot;Confirmer le mot de passe&quot;}),d.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:g,onChange:_=&gt;b(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,autoComplete:&quot;new-password&quot;}),a.password&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:a.password})]})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end pt-4&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:e,children:&quot;Annuler&quot;}),d.jsx(Le,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:t,children:t?&quot;Création...&quot;:&quot;Créer&quot;})]})]})]})})}function Mie({user:e,onClose:r,onSuccess:t,onSendActivation:n,sendingActivation:l}){const[i,a]=F.useState(!1),[u,o]=F.useState(null),[s,c]=F.useState({}),[f,h]=F.useState(e.name),[m,p]=F.useState(e.email),v=e.role??e.roles?.[0]??&quot;&quot;,[g,b]=F.useState(x4(v)||yh[0]);F.useEffect(()=&gt;{h(e.name),p(e.email);const O=e.role??e.roles?.[0]??&quot;&quot;;b(x4(O)||yh[0])},[e]);const x=async O=&gt;{O.preventDefault(),o(null),c({}),a(!0);try{await to.update(e.id,{name:f,email:m,role:g}),t()}catch(R){const H=R;if(o(H.data?.message??&quot;Erreur lors de la mise à jour.&quot;),H.data?.errors){const L={};for(const[q,W]of Object.entries(H.data.errors))L[q]=Array.isArray(W)?W[0]:String(W);c(L)}}finally{a(!1)}},_=!e.is_only_super_admin,C=[...yh];return d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full max-h-[90vh] overflow-y-auto&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Modifier l&#039;utilisateur&quot;}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:d.jsx(vr,{size:20})})]}),d.jsxs(&quot;form&quot;,{onSubmit:x,className:&quot;p-4 space-y-4&quot;,children:[u&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,children:u}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:f,onChange:O=&gt;h(O.target.value),required:!0,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;}),s.name&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:s.name})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Email&quot;}),d.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:m,onChange:O=&gt;p(O.target.value),required:!0,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;}),s.email&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:s.email})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Rôle&quot;}),d.jsx(&quot;select&quot;,{value:g,onChange:O=&gt;b(O.target.value),disabled:!_,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm disabled:opacity-60&quot;,children:C.map(O=&gt;d.jsx(&quot;option&quot;,{value:O,children:Bh(O)},O))}),e.is_only_super_admin&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-amber-600&quot;,children:&quot;Il doit rester au moins un Super Admin.&quot;}),s.role&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:s.role})]}),d.jsxs(&quot;div&quot;,{className:&quot;border-t border-gray-200 pt-4&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600 mb-2&quot;,children:&quot;Mot de passe : envoyez un lien d&#039;activation à l&#039;utilisateur.&quot;}),d.jsxs(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:n,disabled:l,className:&quot;flex items-center gap-2&quot;,children:[d.jsx(Wa,{size:16}),l?&quot;Envoi...&quot;:&quot;Envoyer lien d&#039;activation&quot;]})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end pt-4&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,children:&quot;Annuler&quot;}),d.jsx(Le,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:i,children:i?&quot;Enregistrement...&quot;:&quot;Enregistrer&quot;})]})]})]})})}function Oie({user:e,onClose:r,onSuccess:t,isCurrentUser:n}){const[l,i]=F.useState(!1),[a,u]=F.useState(!1),[o,s]=F.useState(null),c=e.has_financial_activity===!0,f=async()=&gt;{if(!n){s(null),i(!0);try{await to.delete(e.id),t()}catch(m){const p=m;s(p.data?.message??p.data?.errors?.user?.[0]??&quot;Erreur lors de la suppression.&quot;)}finally{i(!1)}}},h=async()=&gt;{if(!n){s(null),u(!0);try{await to.setDeactivated(e.id,!0),t()}catch(m){const p=m;s(p.data?.message??p.data?.errors?.user?.[0]??&quot;Erreur lors de la désactivation.&quot;)}finally{u(!1)}}};return d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full p-4&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:c?&quot;Désactiver le compte&quot;:&quot;Supprimer l&#039;utilisateur&quot;}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:d.jsx(vr,{size:20})})]}),n?d.jsx(&quot;p&quot;,{className:&quot;text-ink-600 mb-4&quot;,children:&quot;Vous ne pouvez pas supprimer votre propre compte.&quot;}):c?d.jsxs(d.Fragment,{children:[d.jsxs(&quot;p&quot;,{className:&quot;text-ink-600 mb-4&quot;,children:[&quot;Cet utilisateur ne peut pas être supprimé : des transactions financières (paiements ou contributions) sont liées à son compte. Vous pouvez &quot;,d.jsx(&quot;strong&quot;,{children:&quot;désactiver le compte&quot;}),&quot; : l&#039;utilisateur ne pourra plus se connecter, mais les données restent conservées.&quot;]}),d.jsxs(&quot;p&quot;,{className:&quot;text-ink-500 text-sm mb-4&quot;,children:[&quot;Utilisateur : &quot;,d.jsx(&quot;strong&quot;,{children:e.name}),&quot; (&quot;,e.email,&quot;)&quot;]}),o&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,children:o}),d.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,children:&quot;Annuler&quot;}),d.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:h,disabled:a,className:&quot;bg-amber-600 hover:bg-amber-700&quot;,children:a?&quot;Désactivation...&quot;:&quot;Désactiver le compte&quot;})]})]}):d.jsxs(d.Fragment,{children:[d.jsxs(&quot;p&quot;,{className:&quot;text-ink-600 mb-4&quot;,children:[&quot;Êtes-vous sûr de vouloir supprimer l&#039;utilisateur &quot;,d.jsx(&quot;strong&quot;,{children:e.name}),&quot; (&quot;,e.email,&quot;) ? Cette action est irréversible.&quot;]}),o&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,children:o}),d.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,children:&quot;Annuler&quot;}),d.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:f,disabled:l,className:&quot;bg-red-600 hover:bg-red-700&quot;,children:l?&quot;Suppression...&quot;:&quot;Supprimer&quot;})]})]})]})})}function Pie({user:e,onClose:r,onSuccess:t}){const[n,l]=F.useState(&quot;&quot;),[i,a]=F.useState(&quot;&quot;),[u,o]=F.useState(!1),[s,c]=F.useState(null),[f,h]=F.useState({}),m=async p=&gt;{if(p.preventDefault(),c(null),h({}),n.length&lt;8){h({password:&quot;Le mot de passe doit contenir au moins 8 caractères.&quot;});return}if(n!==i){h({password_confirmation:&quot;Les deux mots de passe ne correspondent pas.&quot;});return}o(!0);try{await to.resetPassword(e.id,{password:n,password_confirmation:i}),t()}catch(v){const g=v;if(c(g.data?.message??&quot;Erreur lors de la réinitialisation.&quot;),g.data?.errors){const b={};for(const[x,_]of Object.entries(g.data.errors))b[x]=Array.isArray(_)?_[0]:String(_);h(b)}}finally{o(!1)}};return d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full p-4&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[d.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Réinitialiser le mot de passe&quot;}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:d.jsx(vr,{size:20})})]}),d.jsxs(&quot;p&quot;,{className:&quot;text-ink-600 text-sm mb-4&quot;,children:[&quot;Définir un nouveau mot de passe pour &quot;,d.jsx(&quot;strong&quot;,{children:e.name}),&quot; (&quot;,e.email,&quot;). L&#039;utilisateur devra le changer à sa première connexion.&quot;]}),d.jsxs(&quot;form&quot;,{onSubmit:m,children:[s&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,children:s}),d.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[d.jsx(&quot;label&quot;,{htmlFor:&quot;reset-password&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nouveau mot de passe&quot;}),d.jsx(&quot;input&quot;,{id:&quot;reset-password&quot;,type:&quot;password&quot;,value:n,onChange:p=&gt;l(p.target.value),minLength:8,autoComplete:&quot;new-password&quot;,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,placeholder:&quot;Min. 8 caractères&quot;}),f.password&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:f.password})]}),d.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[d.jsx(&quot;label&quot;,{htmlFor:&quot;reset-password-confirm&quot;,className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Confirmer le mot de passe&quot;}),d.jsx(&quot;input&quot;,{id:&quot;reset-password-confirm&quot;,type:&quot;password&quot;,value:i,onChange:p=&gt;a(p.target.value),autoComplete:&quot;new-password&quot;,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,placeholder:&quot;Confirmer&quot;}),f.password_confirmation&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:f.password_confirmation})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,children:&quot;Annuler&quot;}),d.jsx(Le,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:u,children:u?&quot;En cours...&quot;:&quot;Réinitialiser&quot;})]})]})]})})}function Tie(){const{can:e,user:r}=Ps(),[t,n]=F.useState(1),[l]=F.useState(20),[i,a]=F.useState(&quot;&quot;),[u,o]=F.useState(&quot;&quot;),[s,c]=F.useState(!1),[f,h]=F.useState(null),[m,p]=F.useState(null),[v,g]=F.useState(null),[b,x]=F.useState(null),[_,C]=F.useState(null),[O,R]=F.useState(null),[H,L]=F.useState(null),q=async j=&gt;{R(j.id);try{await to.setDeactivated(j.id,!1),P()}finally{R(null)}},{data:W,loading:K,error:U,refetch:P}=jF({page:t,per_page:l,role:i||void 0,q:u||void 0},!0),D=async j=&gt;{x(j.id),C(null);try{await to.sendActivation(j.id),P()}catch(k){const S=k;C(S.data?.errors?.user?.[0]??S.data?.message??&quot;Erreur lors de l&#039;envoi.&quot;)}finally{x(null)}},E=j=&gt;r&amp;&amp;j.id===(typeof r.id==&quot;number&quot;?r.id:Number(r.id));return d.jsxs(d.Fragment,{children:[d.jsxs(&quot;div&quot;,{className:&quot;mb-8 flex flex-wrap items-center justify-between gap-4&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 mb-1 flex items-center gap-2&quot;,children:[d.jsx(Lh,{size:22,className:&quot;text-brand-700&quot;}),&quot;Gestion des utilisateurs&quot;]}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-500 text-sm&quot;,children:&quot;Créez et gérez les comptes staff (Super Admin et commissions).&quot;})]}),e(&quot;users.create&quot;)&amp;&amp;d.jsxs(Le,{variant:&quot;primary&quot;,onClick:()=&gt;c(!0),className:&quot;flex items-center gap-2&quot;,children:[d.jsx(lb,{size:18}),&quot;Créer un utilisateur&quot;]})]}),_&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:_}),d.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex flex-wrap gap-4&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;search&quot;,placeholder:&quot;Rechercher (nom, email)...&quot;,value:u,onChange:j=&gt;o(j.target.value),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm w-64&quot;}),d.jsxs(&quot;select&quot;,{value:i,onChange:j=&gt;a(j.target.value),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous les rôles&quot;}),cF.map(j=&gt;d.jsx(&quot;option&quot;,{value:j,children:Bh(j)},j))]})]}),U&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg&quot;,children:d.jsx(&quot;p&quot;,{className:&quot;text-red-700&quot;,children:U.data?.message??&quot;Erreur lors du chargement.&quot;})}),K&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;py-12 text-center text-ink-500&quot;,children:&quot;Chargement...&quot;}),!K&amp;&amp;W&amp;&amp;d.jsxs(d.Fragment,{children:[d.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden shadow-soft&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:d.jsxs(&quot;table&quot;,{className:&quot;w-full text-left&quot;,children:[d.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50 border-b border-gray-200&quot;,children:d.jsxs(&quot;tr&quot;,{children:[d.jsx(&quot;th&quot;,{className:&quot;px-3 py-2 text-xs font-semibold text-ink-900 uppercase tracking-wide&quot;,children:&quot;Nom&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-3 py-2 text-xs font-semibold text-ink-900 uppercase tracking-wide&quot;,children:&quot;Email&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-3 py-2 text-xs font-semibold text-ink-900 uppercase tracking-wide&quot;,children:&quot;Rôle&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-3 py-2 text-xs font-semibold text-ink-900 uppercase tracking-wide w-24&quot;,children:&quot;Vérifié&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-3 py-2 text-xs font-semibold text-ink-900 uppercase tracking-wide w-24&quot;,children:&quot;Créé le&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-3 py-2 text-xs font-semibold text-ink-900 uppercase tracking-wide w-20&quot;,children:&quot;Statut&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-3 py-2 text-xs font-semibold text-ink-900 uppercase tracking-wide w-28&quot;,children:&quot;Actions&quot;})]})}),d.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:W.data.length===0?d.jsx(&quot;tr&quot;,{children:d.jsx(&quot;td&quot;,{colSpan:7,className:&quot;px-3 py-6 text-center text-sm text-ink-500&quot;,children:&quot;Aucun utilisateur trouvé.&quot;})}):W.data.map(j=&gt;d.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50/80&quot;,children:[d.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm text-ink-900 whitespace-nowrap truncate&quot;,title:j.name,children:j.name}),d.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm text-ink-700 whitespace-nowrap truncate&quot;,title:j.email,children:j.email}),d.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm text-ink-700 whitespace-nowrap truncate&quot;,children:Bh(j.role??j.roles?.[0]??&quot;&quot;)||&quot;—&quot;}),d.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm whitespace-nowrap&quot;,children:j.email_verified_at?d.jsx(&quot;span&quot;,{className:&quot;text-green-600&quot;,children:&quot;Oui&quot;}):d.jsx(&quot;span&quot;,{className:&quot;text-amber-600&quot;,children:&quot;Non&quot;})}),d.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm text-ink-500 whitespace-nowrap&quot;,children:j.created_at?new Date(j.created_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;—&quot;}),d.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm whitespace-nowrap&quot;,children:j.is_active===!1?d.jsx(&quot;span&quot;,{className:&quot;inline-flex items-center px-2 py-0.5 rounded text-xs font-medium bg-amber-100 text-amber-800&quot;,children:&quot;Désactivé&quot;}):null}),d.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 whitespace-nowrap text-right&quot;,children:d.jsx(Eie,{user:j,openMenuId:H,setOpenMenuId:L,canUpdate:!!e(&quot;users.update&quot;),canDelete:!!e(&quot;users.delete&quot;),isCurrentUser:!!E(j),sendingActivation:b,reactivatingId:O,onEdit:()=&gt;h(j),onResetPassword:()=&gt;g(j),onSendActivation:()=&gt;D(j),onReactivate:()=&gt;q(j),onDelete:()=&gt;p(j)})})]},j.id))})]})})}),W.meta.last_page&gt;1&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;mt-6 flex items-center justify-between&quot;,children:[d.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[&quot;Page &quot;,W.meta.current_page,&quot; sur &quot;,W.meta.last_page,&quot; (&quot;,W.meta.total,&quot; utilisateurs)&quot;]}),d.jsxs(&quot;div&quot;,{className:&quot;flex gap-2&quot;,children:[d.jsx(Le,{variant:&quot;outline&quot;,disabled:W.meta.current_page&lt;=1,onClick:()=&gt;n(j=&gt;j-1),className:&quot;text-sm py-2&quot;,children:&quot;Précédent&quot;}),d.jsx(Le,{variant:&quot;outline&quot;,disabled:W.meta.current_page&gt;=W.meta.last_page,onClick:()=&gt;n(j=&gt;j+1),className:&quot;text-sm py-2&quot;,children:&quot;Suivant&quot;})]})]})]}),s&amp;&amp;e(&quot;users.create&quot;)&amp;&amp;d.jsx(Aie,{onClose:()=&gt;c(!1),onSuccess:()=&gt;{c(!1),P()}}),f&amp;&amp;e(&quot;users.update&quot;)&amp;&amp;d.jsx(Mie,{user:f,onClose:()=&gt;h(null),onSuccess:()=&gt;{h(null),P()},onSendActivation:()=&gt;D(f),sendingActivation:b===f.id}),m&amp;&amp;e(&quot;users.delete&quot;)&amp;&amp;d.jsx(Oie,{user:m,onClose:()=&gt;p(null),onSuccess:()=&gt;{p(null),P()},isCurrentUser:!!(m&amp;&amp;E(m))}),v&amp;&amp;e(&quot;users.update&quot;)&amp;&amp;d.jsx(Pie,{user:v,onClose:()=&gt;g(null),onSuccess:()=&gt;{g(null),P()}})]})}function Iie(){const[e,r]=F.useState(1),t=25,[n,l]=F.useState(&quot;&quot;),[i,a]=F.useState(&quot;&quot;),[u,o]=F.useState(&quot;&quot;),[s,c]=F.useState(&quot;&quot;),[f,h]=F.useState(!1),[m,p]=F.useState(null),[v,g]=F.useState(&quot;&quot;),[b,x]=F.useState(!1),[_,C]=F.useState(null),[O,R]=F.useState(null),[H,L]=F.useState(!1),[q,W]=F.useState(&quot;&quot;),K=&quot;PURGER&quot;,U=F.useMemo(()=&gt;({page:e,per_page:t,...n&amp;&amp;{date_from:n},...i&amp;&amp;{date_to:i},...u.trim()&amp;&amp;{action:u.trim()},...s.trim()&amp;&amp;{subject_type:s.trim()}}),[e,n,i,u,s]),{data:P,loading:D,error:E,refetch:j}=SF(U,!0),k=P?.data??[],S=P?.meta,N=S?.last_page??1,M=$=&gt;{try{return new Date($).toLocaleString(&quot;fr-FR&quot;,{dateStyle:&quot;short&quot;,timeStyle:&quot;medium&quot;})}catch{return $}},I=$=&gt;({&quot;user.created&quot;:&quot;Utilisateur créé&quot;,&quot;user.updated&quot;:&quot;Utilisateur mis à jour&quot;,&quot;user.deleted&quot;:&quot;Utilisateur supprimé&quot;,&quot;user.send_activation&quot;:&quot;Lien d&#039;activation envoyé&quot;,&quot;user.reset_password&quot;:&quot;Mot de passe réinitialisé&quot;,&quot;registration.status_updated&quot;:&quot;Statut inscription modifié&quot;,&quot;registration.updated&quot;:&quot;Inscription mise à jour&quot;,&quot;registration.deleted&quot;:&quot;Inscription supprimée&quot;,&quot;registration.activation_email_resent&quot;:&quot;Email d’activation inscription renvoyé&quot;,&quot;recommendation.status_updated&quot;:&quot;Statut recommandation modifié&quot;,&quot;recommendation.send_email&quot;:&quot;Email recommandation envoyé&quot;,&quot;recommendation.deleted&quot;:&quot;Recommandation supprimée&quot;,&quot;budget_category.created&quot;:&quot;Catégorie budget créée&quot;,&quot;budget_category.updated&quot;:&quot;Catégorie budget mise à jour&quot;,&quot;budget_category.deleted&quot;:&quot;Catégorie budget supprimée&quot;,&quot;treasury_account.created&quot;:&quot;Compte trésorerie créé&quot;,&quot;treasury_account.updated&quot;:&quot;Compte trésorerie mis à jour&quot;,&quot;treasury_account.deleted&quot;:&quot;Compte trésorerie supprimé&quot;,&quot;payment.created&quot;:&quot;Paiement initié&quot;,&quot;payment.confirmed&quot;:&quot;Paiement confirmé&quot;,&quot;payment.rejected&quot;:&quot;Paiement rejeté&quot;,&quot;payment.receipt_issued&quot;:&quot;Reçu paiement émis&quot;,&quot;payment.receipt_email_sent&quot;:&quot;Reçu paiement envoyé par email&quot;,&quot;donation.confirmed&quot;:&quot;Don confirmé&quot;,&quot;donation.rejected&quot;:&quot;Don rejeté&quot;,&quot;donation.receipt_issued&quot;:&quot;Reçu don émis&quot;,&quot;contribution.confirmed&quot;:&quot;Contribution confirmée&quot;,&quot;batch.marked_paid&quot;:&quot;Batch marqué payé&quot;,&quot;event_budget_line.created&quot;:&quot;Ligne budget créée&quot;,&quot;event_budget_line.updated&quot;:&quot;Ligne budget mise à jour&quot;,&quot;event_budget_line.deleted&quot;:&quot;Ligne budget supprimée&quot;,&quot;event_budget_line.moved&quot;:&quot;Ligne budget déplacée&quot;,&quot;expense.created&quot;:&quot;Dépense créée&quot;,&quot;expense.updated&quot;:&quot;Dépense mise à jour&quot;,&quot;expense.deleted&quot;:&quot;Dépense supprimée&quot;})[$]??$,B=async()=&gt;{p(null),h(!0);try{await hb.exportCsv({date_from:n||void 0,date_to:i||void 0,action:u.trim()||void 0,subject_type:s.trim()||void 0})}catch($){const ee=$&amp;&amp;typeof $==&quot;object&quot;&amp;&amp;&quot;data&quot;in $&amp;&amp;$.data?.message;p(typeof ee==&quot;string&quot;?ee:&quot;Erreur lors de l&#039;export CSV.&quot;)}finally{h(!1)}},Y=()=&gt;{v&amp;&amp;(W(&quot;&quot;),R(null),C(null),L(!0))},Z=()=&gt;{L(!1),W(&quot;&quot;)},ie=async()=&gt;{if(!(q!==K||!v)){R(null),C(null),x(!0);try{const $=await hb.purge(v);C($.message),Z(),j()}catch($){const ee=$&amp;&amp;typeof $==&quot;object&quot;&amp;&amp;&quot;data&quot;in $&amp;&amp;$.data?.message;R(typeof ee==&quot;string&quot;?ee:&quot;Erreur lors de la purge.&quot;)}finally{x(!1)}}};return d.jsxs(d.Fragment,{children:[d.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[d.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 mb-1 flex items-center gap-2&quot;,children:[d.jsx(Dh,{size:22,className:&quot;text-brand-700&quot;}),&quot;Journal d&#039;audit&quot;]}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-500 text-sm&quot;,children:&quot;Historique des actions de modification (utilisateurs, inscriptions, paramétrage, etc.).&quot;})]}),m&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:m}),d.jsxs(&quot;div&quot;,{className:&quot;mb-4 flex flex-wrap items-center gap-4&quot;,children:[d.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-ink-700&quot;,children:[&quot;Du :&quot;,d.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:n,onChange:$=&gt;{l($.target.value),r(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-ink-700&quot;,children:[&quot;Au :&quot;,d.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i,onChange:$=&gt;{a($.target.value),r(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-ink-700&quot;,children:[&quot;Action :&quot;,d.jsx(&quot;input&quot;,{type:&quot;text&quot;,placeholder:&quot;ex. user.created&quot;,value:u,onChange:$=&gt;{o($.target.value),r(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[160px]&quot;})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-ink-700&quot;,children:[&quot;Type ressource :&quot;,d.jsx(&quot;input&quot;,{type:&quot;text&quot;,placeholder:&quot;ex. App\\Models\\User&quot;,value:s,onChange:$=&gt;{c($.target.value),r(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[180px]&quot;})]})]}),d.jsxs(&quot;div&quot;,{className:&quot;mb-4 flex flex-wrap items-center gap-4&quot;,children:[d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:B,disabled:f,className:&quot;inline-flex items-center gap-2 px-4 py-2 rounded-lg border border-gray-300 bg-white text-ink-700 text-sm font-medium hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:[d.jsx(vL,{size:18,&quot;aria-hidden&quot;:!0}),f?&quot;Export en cours…&quot;:&quot;Exporter en CSV&quot;]}),d.jsxs(&quot;div&quot;,{className:&quot;inline-flex items-center gap-2&quot;,children:[d.jsx(&quot;label&quot;,{htmlFor:&quot;audit-purge-before&quot;,className:&quot;text-sm text-ink-700 whitespace-nowrap&quot;,children:&quot;Purger avant le :&quot;}),d.jsx(&quot;input&quot;,{id:&quot;audit-purge-before&quot;,type:&quot;date&quot;,value:v,onChange:$=&gt;g($.target.value),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;}),d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:Y,disabled:b||!v,className:&quot;inline-flex items-center gap-2 px-4 py-2 rounded-lg border border-red-200 bg-red-50 text-red-700 text-sm font-medium hover:bg-red-100 disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:[d.jsx(HL,{size:18,&quot;aria-hidden&quot;:!0}),&quot;Purger&quot;]})]})]}),_&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-green-50 border border-green-200 rounded-lg text-green-800 text-sm&quot;,children:_}),O&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:O}),E&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:E}),H&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,role:&quot;dialog&quot;,&quot;aria-modal&quot;:&quot;true&quot;,&quot;aria-labelledby&quot;:&quot;purge-modal-title&quot;,onClick:b?void 0:Z,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-lg max-w-md w-full p-6&quot;,onClick:$=&gt;$.stopPropagation(),children:[d.jsx(&quot;h3&quot;,{id:&quot;purge-modal-title&quot;,className:&quot;text-lg font-semibold text-ink-900 mb-2&quot;,children:&quot;Confirmer la purge&quot;}),d.jsxs(&quot;p&quot;,{className:&quot;text-ink-600 text-sm mb-4&quot;,children:[&quot;Vous allez supprimer &quot;,d.jsx(&quot;strong&quot;,{children:&quot;définitivement&quot;}),&quot; toutes les entrées du journal d&#039;audit dont la date est &quot;,d.jsxs(&quot;strong&quot;,{children:[&quot;avant le &quot;,v]}),&quot;. Cette action est irréversible.&quot;]}),d.jsxs(&quot;p&quot;,{className:&quot;text-ink-600 text-sm mb-2&quot;,children:[&quot;Pour confirmer, saisissez &quot;,d.jsx(&quot;strong&quot;,{children:K}),&quot; ci-dessous :&quot;]}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:q,onChange:$=&gt;W($.target.value),placeholder:K,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm mb-4 font-mono uppercase&quot;,autoComplete:&quot;off&quot;,&quot;aria-label&quot;:&quot;Saisir PURGER pour confirmer&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2&quot;,children:[d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:Z,disabled:b,className:&quot;px-4 py-2 rounded-lg border border-gray-300 bg-white text-ink-700 text-sm font-medium hover:bg-gray-50 disabled:opacity-50&quot;,children:&quot;Annuler&quot;}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:ie,disabled:b||q!==K,className:&quot;px-4 py-2 rounded-lg border border-red-200 bg-red-600 text-white text-sm font-medium hover:bg-red-700 disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:b?&quot;Purge en cours…&quot;:&quot;Confirmer la purge&quot;})]})]})}),d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden&quot;,children:[D?d.jsx(&quot;div&quot;,{className:&quot;p-12 text-center text-ink-500&quot;,children:&quot;Chargement du journal...&quot;}):d.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:d.jsxs(&quot;table&quot;,{className:&quot;w-full text-left text-sm&quot;,children:[d.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50 border-b border-gray-200&quot;,children:d.jsxs(&quot;tr&quot;,{children:[d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider whitespace-nowrap&quot;,children:&quot;Date / Heure&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Utilisateur&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Action&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Ressource&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Description&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;IP&quot;})]})}),d.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:k.length===0?d.jsx(&quot;tr&quot;,{children:d.jsx(&quot;td&quot;,{colSpan:6,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Aucune entrée dans le journal pour les critères choisis.&quot;})}):k.map($=&gt;d.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50&quot;,children:[d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-700 whitespace-nowrap&quot;,children:M($.created_at)}),d.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:[d.jsx(&quot;span&quot;,{className:&quot;font-medium text-ink-900&quot;,children:$.user_name??&quot;—&quot;}),$.user_email&amp;&amp;d.jsx(&quot;span&quot;,{className:&quot;block text-xs text-ink-500&quot;,children:$.user_email})]}),d.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:[d.jsx(&quot;span&quot;,{className:&quot;font-medium text-ink-800&quot;,children:I($.action)}),d.jsx(&quot;span&quot;,{className:&quot;block text-xs text-ink-500&quot;,children:$.action})]}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-700&quot;,children:$.subject_type?`${$.subject_type.replace(/^App\\Models\\/,&quot;&quot;)}${$.subject_id!=null?` #${$.subject_id}`:&quot;&quot;}`:&quot;—&quot;}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-600 max-w-xs truncate&quot;,title:$.description??void 0,children:$.description??&quot;—&quot;}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-500 text-xs&quot;,children:$.ip??&quot;—&quot;})]},$.id))})]})}),S&amp;&amp;S.total&gt;0&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;px-4 py-3 border-t border-gray-200 flex items-center justify-between flex-wrap gap-2&quot;,children:[d.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[S.from,&quot; – &quot;,S.to,&quot; sur &quot;,S.total,&quot; entrées&quot;]}),d.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;r($=&gt;Math.max(1,$-1)),disabled:e&lt;=1,className:&quot;px-3 py-1.5 text-sm border border-gray-300 rounded-lg disabled:opacity-50 disabled:cursor-not-allowed hover:bg-gray-50&quot;,children:&quot;Précédent&quot;}),d.jsxs(&quot;span&quot;,{className:&quot;text-sm text-ink-600&quot;,children:[&quot;Page &quot;,S.current_page,&quot; / &quot;,N]}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;r($=&gt;Math.min(N,$+1)),disabled:e&gt;=N,className:&quot;px-3 py-1.5 text-sm border border-gray-300 rounded-lg disabled:opacity-50 disabled:cursor-not-allowed hover:bg-gray-50&quot;,children:&quot;Suivant&quot;})]})]})]})]})}const Pk=[&quot;Mobile Money&quot;,&quot;Banque&quot;,&quot;Caisse&quot;,&quot;Autre&quot;],Tk=[&quot;XOF&quot;,&quot;EUR&quot;],Ik=[{value:&quot;&quot;,label:&quot;Tous&quot;},{value:&quot;summit&quot;,label:&quot;Sommet&quot;},{value:&quot;seminar&quot;,label:&quot;Séminaire&quot;},{value:&quot;other&quot;,label:&quot;Autre&quot;}];function Rie(){const{isAuthenticated:e,isParticipant:r,loading:t,can:n,roles:l}=Ps(),i=l.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),a=l.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!l.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),u=l.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!l.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),o=l.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!l.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),[s,c]=Lm(),f=l.includes(&quot;SUPER_ADMIN&quot;),h=s.get(&quot;tab&quot;),m=h===&quot;users&quot;&amp;&amp;f?&quot;users&quot;:h===&quot;audit&quot;&amp;&amp;f?&quot;audit&quot;:h===&quot;budget-categories&quot;?&quot;budget-categories&quot;:h===&quot;treasury&quot;?&quot;treasury&quot;:f?&quot;users&quot;:&quot;treasury&quot;,{events:p}=Um();F.useEffect(()=&gt;{(h===&quot;users&quot;||h===&quot;audit&quot;)&amp;&amp;!f?c({},{replace:!0}):!h&amp;&amp;f&amp;&amp;c({tab:&quot;users&quot;},{replace:!0})},[h,f,c]);const v=pe=&gt;{pe===&quot;users&quot;?c({tab:&quot;users&quot;},{replace:!0}):pe===&quot;audit&quot;?c({tab:&quot;audit&quot;},{replace:!0}):pe===&quot;budget-categories&quot;?c({tab:&quot;budget-categories&quot;},{replace:!0}):pe===&quot;treasury&quot;?c({tab:&quot;treasury&quot;},{replace:!0}):c({},{replace:!0})},[g,b]=F.useState(&quot;&quot;),[x,_]=F.useState([]),[C,O]=F.useState(!0),[R,H]=F.useState(null),[L,q]=F.useState(null),[W,K]=F.useState(!1),[U,P]=F.useState(null),[D,E]=F.useState(&quot;&quot;),[j,k]=F.useState([]),[S,N]=F.useState(!1),[M,I]=F.useState(null),[B,Y]=F.useState(null),[Z,ie]=F.useState(!1),[$,ee]=F.useState(null),[z,T]=F.useState(null),[X,re]=F.useState(null),ne=n(&quot;settings.read&quot;)||n(&quot;settings.update&quot;),Q=F.useCallback(()=&gt;{ne&amp;&amp;(O(!0),H(null),Ga.list({event_id:g}).then(pe=&gt;_(Array.isArray(pe)?pe:Array.isArray(pe?.data)?pe.data:[])).catch(pe=&gt;H(pe?.data?.message??&quot;Erreur lors du chargement des comptes.&quot;)).finally(()=&gt;O(!1)))},[ne,g]),te=F.useCallback(()=&gt;{if(!ne)return;N(!0),I(null);const pe=D?{event_type:D}:{};Ya.list(pe).then(le=&gt;k(Array.isArray(le)?le:[])).catch(le=&gt;I(le?.data?.message??&quot;Erreur lors du chargement des catégories.&quot;)).finally(()=&gt;N(!1))},[ne,D]);if(F.useEffect(()=&gt;{ne&amp;&amp;Q()},[ne,g,Q]),F.useEffect(()=&gt;{!ne||m!==&quot;budget-categories&quot;||te()},[ne,m,D,te]),t)return d.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})});if(!e)return d.jsx(ai,{to:&quot;/login&quot;,replace:!0});if(r)return d.jsx(ai,{to:&quot;/account&quot;,replace:!0});if(!ne)return d.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center max-w-md&quot;,children:[d.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-semibold text-ink-900 mb-4&quot;,children:&quot;Accès non autorisé&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Seul le Super Admin peut accéder au paramétrage.&quot;})]})});const de=pe=&gt;{K(!1),pe?_(le=&gt;[...le??[],pe]):Q()},oe=()=&gt;{q(null),Q()},se=()=&gt;{P(null),Q()},fe=pe=&gt;{ie(!1),pe?k(le=&gt;[...le,pe]):te()},he=()=&gt;{Y(null),te()},ce=()=&gt;{ee(null),te()},ge=pe=&gt;Ik.find(le=&gt;le.value===pe)?.label??pe??&quot;—&quot;,ye=pe=&gt;pe===&quot;revenue&quot;?&quot;Recettes&quot;:pe===&quot;expense&quot;?&quot;Dépenses&quot;:&quot;—&quot;;return d.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex flex-col&quot;,children:[d.jsx(qm,{}),d.jsxs(&quot;div&quot;,{className:&quot;flex flex-1&quot;,children:[d.jsx(Hm,{currentSection:&quot;settings&quot;,showSommet:i||o?!1:n(&quot;registrations.read&quot;),showSeminar:a||u?!1:n(&quot;registrations.read&quot;),showRecommendations:i||u?!1:n(&quot;recommendations.read&quot;),showUsers:!1,showFinance:u||o?!1:n(&quot;finance.dashboard&quot;)||n(&quot;payments.read&quot;),showSettings:ne}),d.jsx(&quot;main&quot;,{className:&quot;flex-1 w-full lg:ml-48 pb-16 lg:pb-0&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;w-full px-4 sm:px-6 lg:px-8 py-6 lg:py-8&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;mb-8&quot;,children:[d.jsxs(&quot;h2&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2 flex items-center gap-2&quot;,children:[d.jsx(cb,{size:32,className:&quot;text-brand-700&quot;}),&quot;Paramétrage&quot;]}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Comptes de trésorerie et autres réglages.&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex items-center gap-2 border-b border-gray-200&quot;,children:[f&amp;&amp;d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;v(&quot;users&quot;),className:`flex items-center gap-2 px-4 py-3 border-b-2 -mb-px font-medium ${m===&quot;users&quot;?&quot;border-brand-700 text-brand-700&quot;:&quot;border-transparent text-ink-500 hover:text-ink-700&quot;}`,children:[d.jsx(Lh,{size:18}),&quot;Utilisateurs&quot;]}),f&amp;&amp;d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;v(&quot;audit&quot;),className:`flex items-center gap-2 px-4 py-3 border-b-2 -mb-px font-medium ${m===&quot;audit&quot;?&quot;border-brand-700 text-brand-700&quot;:&quot;border-transparent text-ink-500 hover:text-ink-700&quot;}`,children:[d.jsx(Dh,{size:18}),&quot;Journal d&#039;audit&quot;]}),d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;v(&quot;treasury&quot;),className:`flex items-center gap-2 px-4 py-3 border-b-2 -mb-px font-medium ${m===&quot;treasury&quot;?&quot;border-brand-700 text-brand-700&quot;:&quot;border-transparent text-ink-500 hover:text-ink-700&quot;}`,children:[d.jsx(T8,{size:18}),&quot;Comptes de trésorerie&quot;]}),d.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;v(&quot;budget-categories&quot;),className:`flex items-center gap-2 px-4 py-3 border-b-2 -mb-px font-medium ${m===&quot;budget-categories&quot;?&quot;border-brand-700 text-brand-700&quot;:&quot;border-transparent text-ink-500 hover:text-ink-700&quot;}`,children:[d.jsx(VL,{size:18}),&quot;Catégories budget&quot;]})]}),m===&quot;treasury&quot;&amp;&amp;d.jsxs(d.Fragment,{children:[d.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex flex-wrap items-center justify-between gap-4&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[d.jsx(&quot;label&quot;,{htmlFor:&quot;event-filter&quot;,className:&quot;text-sm font-medium text-ink-700&quot;,children:&quot;Événement :&quot;}),d.jsxs(&quot;select&quot;,{id:&quot;event-filter&quot;,value:g,onChange:pe=&gt;b(pe.target.value===&quot;&quot;?&quot;&quot;:Number(pe.target.value)),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[220px]&quot;,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous (global + par événement)&quot;}),(p??[]).map(pe=&gt;d.jsx(&quot;option&quot;,{value:pe.id,children:pe.name},pe.id))]})]}),n(&quot;settings.update&quot;)&amp;&amp;d.jsxs(Le,{variant:&quot;primary&quot;,onClick:()=&gt;K(!0),className:&quot;flex items-center gap-2&quot;,children:[d.jsx(lb,{size:18}),&quot;Nouveau compte&quot;]})]}),R&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:R}),d.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden&quot;,children:C?d.jsx(&quot;div&quot;,{className:&quot;p-12 text-center text-ink-500&quot;,children:&quot;Chargement des comptes...&quot;}):d.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:d.jsxs(&quot;table&quot;,{className:&quot;w-full text-left&quot;,children:[d.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50 border-b border-gray-200&quot;,children:d.jsxs(&quot;tr&quot;,{children:[d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Nom&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Type&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Identifiant&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Devise&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Contexte&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Actif&quot;}),n(&quot;settings.update&quot;)&amp;&amp;d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider w-24&quot;,children:&quot;Actions&quot;})]})}),d.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:(x??[]).length===0?d.jsx(&quot;tr&quot;,{children:d.jsx(&quot;td&quot;,{colSpan:n(&quot;settings.update&quot;)?7:6,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Aucun compte de trésorerie. Cliquez sur « Nouveau compte » pour en ajouter.&quot;})}):(x??[]).map(pe=&gt;d.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50&quot;,children:[d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium text-ink-900&quot;,children:pe.name}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:pe.type}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:pe.identifier}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:pe.currency}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:pe.context_display}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:d.jsx(&quot;span&quot;,{className:`inline-flex px-2 py-0.5 text-xs font-medium rounded-full ${pe.is_active?&quot;bg-green-100 text-green-800&quot;:&quot;bg-gray-100 text-gray-600&quot;}`,children:pe.is_active?&quot;Oui&quot;:&quot;Non&quot;})}),n(&quot;settings.update&quot;)&amp;&amp;d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:d.jsx(Js,{rowId:`ta-${pe.id}`,openMenuId:z,setOpenMenuId:T,onEdit:()=&gt;q(pe),menuItems:[{id:&quot;delete&quot;,label:&quot;Supprimer&quot;,danger:!0,onSelect:()=&gt;P(pe)}]})})]},pe.id))})]})})})]}),m===&quot;budget-categories&quot;&amp;&amp;d.jsxs(d.Fragment,{children:[d.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex flex-wrap items-center justify-between gap-4&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[d.jsx(&quot;label&quot;,{htmlFor:&quot;category-type-filter&quot;,className:&quot;text-sm font-medium text-ink-700&quot;,children:&quot;Type d&#039;événement :&quot;}),d.jsx(&quot;select&quot;,{id:&quot;category-type-filter&quot;,value:D,onChange:pe=&gt;E(pe.target.value),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[180px]&quot;,children:Ik.map(pe=&gt;d.jsx(&quot;option&quot;,{value:pe.value,children:pe.label},pe.value||&quot;all&quot;))})]}),n(&quot;settings.update&quot;)&amp;&amp;d.jsxs(Le,{variant:&quot;primary&quot;,onClick:()=&gt;ie(!0),className:&quot;flex items-center gap-2&quot;,children:[d.jsx(lb,{size:18}),&quot;Nouvelle catégorie&quot;]})]}),M&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:M}),d.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden&quot;,children:S?d.jsx(&quot;div&quot;,{className:&quot;p-12 text-center text-ink-500&quot;,children:&quot;Chargement des catégories...&quot;}):d.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:d.jsxs(&quot;table&quot;,{className:&quot;w-full text-left&quot;,children:[d.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50 border-b border-gray-200&quot;,children:d.jsxs(&quot;tr&quot;,{children:[d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Nom&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Code&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Type&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Type d&#039;événement&quot;}),d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider&quot;,children:&quot;Ordre&quot;}),n(&quot;settings.update&quot;)&amp;&amp;d.jsx(&quot;th&quot;,{className:&quot;px-4 py-3 text-xs font-semibold text-ink-600 uppercase tracking-wider w-24&quot;,children:&quot;Actions&quot;})]})}),d.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:(j??[]).length===0?d.jsx(&quot;tr&quot;,{children:d.jsx(&quot;td&quot;,{colSpan:n(&quot;settings.update&quot;)?6:5,className:&quot;px-4 py-8 text-center text-ink-500&quot;,children:&quot;Aucune catégorie. Cliquez sur « Nouvelle catégorie » pour en ajouter.&quot;})}):(j??[]).map(pe=&gt;d.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50&quot;,children:[d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium text-ink-900&quot;,children:pe.name}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:pe.code??&quot;—&quot;}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:ye(pe.type)}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:ge(pe.event_type)}),d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:pe.sort_order}),n(&quot;settings.update&quot;)&amp;&amp;d.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:d.jsx(Js,{rowId:`bc-${pe.id}`,openMenuId:X,setOpenMenuId:re,onEdit:()=&gt;Y(pe),menuItems:[{id:&quot;delete&quot;,label:&quot;Supprimer&quot;,danger:!0,onSelect:()=&gt;ee(pe)}]})})]},pe.id))})]})})})]}),m===&quot;users&quot;&amp;&amp;d.jsx(Tie,{}),m===&quot;audit&quot;&amp;&amp;d.jsx(Iie,{})]})})]}),W&amp;&amp;d.jsx(Mk,{events:p??[],accountTypes:Pk,currencies:Tk,eventFilter:g,onClose:()=&gt;K(!1),onSuccess:de}),L&amp;&amp;d.jsx(Mk,{events:p??[],accountTypes:Pk,currencies:Tk,account:L,onClose:()=&gt;q(null),onSuccess:oe}),U&amp;&amp;d.jsx(Sie,{account:U,onClose:()=&gt;P(null),onDeleted:se}),Z&amp;&amp;d.jsx(Ok,{onClose:()=&gt;ie(!1),onSuccess:fe}),B&amp;&amp;d.jsx(Ok,{category:B,onClose:()=&gt;Y(null),onSuccess:he}),$&amp;&amp;d.jsx(Cie,{category:$,onClose:()=&gt;ee(null),onDeleted:ce})]})}function Die(){const{token:e}=LO(),r=fs(),[t,n]=F.useState(&quot;loading&quot;),[l,i]=F.useState(&quot;&quot;),[a,u]=F.useState(&quot;&quot;);return F.useEffect(()=&gt;{if(!e){n(&quot;error&quot;),i(&quot;Token de vérification manquant.&quot;);return}(async()=&gt;{try{const c=(await n1.verify(e)).event||&quot;l&#039;événement&quot;;n(&quot;success&quot;),i(`Votre inscription pour &quot;${c}&quot; a été vérifiée avec succès !`),setTimeout(()=&gt;{r(&quot;/&quot;)},5e3)}catch(s){if(n(&quot;error&quot;),s instanceof Wt)if(s.status===422){const c=s.data.errors||{};c.token?i(c.token[0]||&quot;Le token de vérification est invalide ou a expiré.&quot;):c.status?i(c.status[0]||&quot;Cette inscription a déjà été vérifiée.&quot;):i(s.data.message||&quot;Erreur lors de la vérification.&quot;),u(Object.values(c).flat().join(&quot; &quot;))}else i(s.data.message||&quot;Une erreur est survenue lors de la vérification.&quot;);else i(&quot;Une erreur inattendue est survenue.&quot;)}})()},[e,r]),d.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-gray-50 flex items-center justify-center px-4&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;max-w-md w-full bg-white rounded-xl shadow-lg p-8 text-center&quot;,children:[t===&quot;loading&quot;&amp;&amp;d.jsxs(d.Fragment,{children:[d.jsx(&quot;div&quot;,{className:&quot;mb-6&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;inline-block animate-spin rounded-full h-16 w-16 border-t-2 border-b-2 border-brand-700&quot;})}),d.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Vérification en cours...&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Veuillez patienter pendant que nous vérifions votre inscription.&quot;})]}),t===&quot;success&quot;&amp;&amp;d.jsxs(d.Fragment,{children:[d.jsx(&quot;div&quot;,{className:&quot;mb-6&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;inline-flex items-center justify-center w-16 h-16 rounded-full bg-green-100&quot;,children:d.jsx(&quot;svg&quot;,{className:&quot;w-8 h-8 text-green-600&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,viewBox:&quot;0 0 24 24&quot;,children:d.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M5 13l4 4L19 7&quot;})})})}),d.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Inscription vérifiée !&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mb-6&quot;,children:l}),d.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Vous allez être redirigé vers la page d&#039;accueil dans quelques secondes...&quot;}),d.jsx(&quot;button&quot;,{onClick:()=&gt;r(&quot;/&quot;),className:&quot;mt-6 px-6 py-3 bg-brand-700 text-white rounded-xl hover:bg-brand-900 transition-colors&quot;,children:&quot;Retour à l&#039;accueil&quot;})]}),t===&quot;error&quot;&amp;&amp;d.jsxs(d.Fragment,{children:[d.jsx(&quot;div&quot;,{className:&quot;mb-6&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;inline-flex items-center justify-center w-16 h-16 rounded-full bg-red-100&quot;,children:d.jsx(&quot;svg&quot;,{className:&quot;w-8 h-8 text-red-600&quot;,fill:&quot;none&quot;,stroke:&quot;currentColor&quot;,viewBox:&quot;0 0 24 24&quot;,children:d.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M6 18L18 6M6 6l12 12&quot;})})})}),d.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Erreur de vérification&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mb-4&quot;,children:l}),a&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-600 mb-6&quot;,children:a}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[d.jsx(&quot;button&quot;,{onClick:()=&gt;r(&quot;/inscription&quot;),className:&quot;w-full px-6 py-3 bg-brand-700 text-white rounded-xl hover:bg-brand-900 transition-colors&quot;,children:&quot;Retour à l&#039;inscription&quot;}),d.jsx(&quot;button&quot;,{onClick:()=&gt;r(&quot;/&quot;),className:&quot;w-full px-6 py-3 bg-gray-200 text-ink-900 rounded-xl hover:bg-gray-300 transition-colors&quot;,children:&quot;Retour à l&#039;accueil&quot;})]})]})]})})}const Lie={not_sycapay:&quot;Actualisation automatique disponible uniquement pour les paiements en ligne.&quot;,terminal:&quot;Ce paiement est déjà terminé.&quot;,missing_provider_ref:&quot;Référence de paiement incomplète. Contactez le support si le problème persiste.&quot;,invalid_status:&quot;Statut incompatible avec une actualisation en ligne.&quot;,payment_too_recent:&quot;Le serveur attend encore quelques secondes après l’init avant la première interrogation du prestataire.&quot;,sync_too_recent:&quot;Une vérification vient d’être faite ; courte pause avant la prochaine interrogation.&quot;},hh=52e3,Rk=14;function Fie({donationId:e,paymentId:r,donorEmail:t,summaryHint:n,onStatusUpdate:l}){const[i,a]=F.useState(!1),[u,o]=F.useState(null),[s,c]=F.useState(null),f=F.useRef(l);f.current=l;const h=b=&gt;vF(e,r,{refresh:b,donorEmail:t??void 0});F.useEffect(()=&gt;{let b=!1;const x=[];return(async()=&gt;{try{const _=await h(!1);if(b||(c(_),f.current(_),_.is_terminal))return;let C=0,O=_.status;const R=()=&gt;{const L=_.refresh_earliest_at;if(!L)return hh;const q=Date.parse(L);return Number.isNaN(q)?hh:Math.max(4e3,q-Date.now()+1500)},H=L=&gt;{if(b||C&gt;=Rk)return;const q=window.setTimeout(async()=&gt;{if(!b){C+=1;try{const W=await h(!0);if(b)return;c(W);const K=W.status!==O;if(K&amp;&amp;(O=W.status),(K||W.is_terminal)&amp;&amp;f.current(W),W.is_terminal)return}catch{}H(hh)}},L);x.push(q)};H(R())}catch{b||o(&quot;Impossible de charger le statut du paiement.&quot;)}})(),()=&gt;{b=!0,x.forEach(_=&gt;window.clearTimeout(_))}},[e,r,t]);const m=()=&gt;{o(null),a(!0),h(!0).then(b=&gt;{c(b),l(b)}).catch(b=&gt;{b instanceof Wt?o(b.data?.message??b.message):o(&quot;Impossible d’actualiser le statut.&quot;)}).finally(()=&gt;a(!1))},p=s&amp;&amp;!s.refresh_attempted&amp;&amp;s.refresh_skipped_reason?Lie[s.refresh_skipped_reason]??&quot;Actualisation momentanément indisponible.&quot;:null,v=s===null||s.can_retry_refresh===!0,g=s!==null&amp;&amp;!s.is_terminal;return d.jsxs(&quot;div&quot;,{className:&quot;mt-2 space-y-2 rounded-md border border-emerald-100 bg-emerald-50/50 px-3 py-2&quot;,children:[n&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-600&quot;,children:n}),g&amp;&amp;d.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:[&quot;Vérification automatique côté serveur (jusqu’à &quot;,Rk,&quot; tentatives, environ toutes les&quot;,&quot; &quot;,Math.round(hh/1e3),&quot; s) tant que le paiement n’est pas terminé. La confirmation provient exclusivement du serveur (prestataire), pas de ce navigateur seul.&quot;]}),s?.message&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;text-xs font-medium text-ink-800&quot;,role:&quot;status&quot;,children:s.message}),u&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;text-xs text-red-700&quot;,children:u}),p&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;text-xs text-amber-800&quot;,children:p}),d.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2&quot;,children:[d.jsxs(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,className:&quot;text-sm py-1.5 h-auto&quot;,onClick:m,disabled:i||!v,children:[d.jsx(t1,{size:14,className:`mr-1.5 inline ${i?&quot;animate-spin&quot;:&quot;&quot;}`}),i?&quot;Vérification…&quot;:&quot;Actualiser le statut&quot;]}),!v&amp;&amp;!i&amp;&amp;!p&amp;&amp;d.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Actualisation non disponible pour le moment.&quot;})]})]})}const Bie=[{value:&quot;mobile_money&quot;,label:&quot;Mobile Money (déclaration manuelle)&quot;},{value:&quot;card_visa&quot;,label:&quot;Carte Visa (déclaration manuelle)&quot;}];function zie({isOpen:e,onClose:r,onSuccess:t}){const n=fs(),[l,i]=F.useState([]),[a,u]=F.useState(!1),[o,s]=F.useState(&quot;&quot;),[c,f]=F.useState(&quot;&quot;),[h,m]=F.useState(&quot;&quot;),[p,v]=F.useState(&quot;&quot;),[g,b]=F.useState(&quot;&quot;),[x,_]=F.useState(!1),[C,O]=F.useState(&quot;&quot;),[R,H]=F.useState(&quot;mobile_money&quot;),[L,q]=F.useState(!1),[W,K]=F.useState(null),[U,P]=F.useState(&quot;form&quot;),[D,E]=F.useState(null),[j,k]=F.useState(null),[S,N]=F.useState(null),[M,I]=F.useState(null),[B,Y]=F.useState(null),[Z,ie]=F.useState(!1),[$,ee]=F.useState(()=&gt;rc(&quot;CI&quot;)),[z,T]=F.useState(&quot;&quot;),[X,re]=F.useState(&quot;&quot;),[ne,Q]=F.useState(null),[te,de]=F.useState(!1),oe=!te||ne?.donation_payments_enabled!==!1,se=pi[$]??pi.CI;F.useEffect(()=&gt;{e&amp;&amp;(de(!1),L8().then(je=&gt;{Q(je),de(!0)}).catch(()=&gt;{Q({registration_payments_enabled:!0,donation_payments_enabled:!0,disabled_message:&quot;&quot;}),de(!0)}))},[e]),F.useEffect(()=&gt;{e&amp;&amp;(u(!0),K(null),r1.list().then(je=&gt;{const Pe=(je??[]).filter(Ue=&gt;Ue.is_active);i(Pe);const Qe=Pe.find(Ue=&gt;Ue.event_type===&quot;summit&quot;);s(Qe?.id??Pe[0]?.id??&quot;&quot;)}).catch(()=&gt;i([])).finally(()=&gt;u(!1)))},[e]),F.useEffect(()=&gt;{e&amp;&amp;(P(&quot;form&quot;),E(null),k(null),N(null),I(null),Y(null),ee(rc(&quot;CI&quot;)),T(&quot;&quot;),re(&quot;&quot;),K(null))},[e]),F.useEffect(()=&gt;{T(je=&gt;{const Pe=pi[$];return Pe&amp;&amp;Pe.operators.some(Qe=&gt;Qe.apiValue===je)?je:&quot;&quot;})},[$]),F.useEffect(()=&gt;{x&amp;&amp;R===&quot;sycapay&quot;&amp;&amp;H(&quot;mobile_money&quot;)},[x,R]),F.useEffect(()=&gt;{!oe&amp;&amp;R===&quot;sycapay&quot;&amp;&amp;H(&quot;mobile_money&quot;)},[oe,R]);const fe=F.useMemo(()=&gt;R!==&quot;sycapay&quot;?null:x?&quot;Le paiement en ligne nécessite votre nom et une adresse email (décochez « Anonyme »).&quot;:z?X.replace(/\s/g,&quot;&quot;)?Ru(X)?null:&quot;Numéro de téléphone invalide (chiffres, au moins 8).&quot;:&quot;Indiquez le numéro Mobile Money utilisé pour le paiement.&quot;:&quot;Choisissez un opérateur Mobile Money.&quot;,[R,x,z,X]),he=()=&gt;{f(&quot;&quot;),m(&quot;&quot;),v(&quot;&quot;),b(&quot;&quot;),O(&quot;&quot;),_(!1),H(&quot;mobile_money&quot;)},ce=()=&gt;{he(),P(&quot;form&quot;),E(null),k(null),I(null),Y(null),r()},ge=async()=&gt;{const je=parseInt(C.replace(/\s/g,&quot;&quot;),10);if(!o||isNaN(je)||je&lt;1){K(&quot;Veuillez sélectionner un événement et indiquer un montant valide.&quot;);return}if(!x&amp;&amp;(!p.trim()||!c.trim()||!h.trim())){K(&quot;Veuillez remplir le nom, le prénom et l&#039;email (ou cocher « Rester anonyme »).&quot;);return}if(!x&amp;&amp;p.trim()&amp;&amp;!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(p)){K(&quot;Veuillez indiquer une adresse email valide.&quot;);return}q(!0),K(null);try{const Pe=x?null:`${c.trim()} ${h.trim()}`.trim(),Qe=x?null:p.trim()||null,Ue=g.trim()?`Téléphone : ${g.trim()}`:void 0;await Vg.storePublic({event_id:Number(o),donor_name:Pe||null,donor_email:Qe||null,amount:je,currency:&quot;XOF&quot;,method:R,paid_at:new Date().toISOString(),notes:Ue||null}),he(),ce(),t?.(),n(&quot;/soutenir/merci&quot;,{state:{emailSent:!!Qe,mode:&quot;declaration&quot;}})}catch(Pe){Pe instanceof Wt?K(Pe.data?.message??Pe.message??&quot;Une erreur est survenue.&quot;):K(&quot;Une erreur est survenue.&quot;)}finally{q(!1)}},ye=async je=&gt;{if(je.preventDefault(),K(null),!oe){K(ne?.disabled_message?.trim()||&quot;Les paiements en ligne (SycaPay) ne sont pas encore ouverts. Veuillez choisir une déclaration manuelle ou réessayer ultérieurement.&quot;);return}const Pe=parseInt(C.replace(/\s/g,&quot;&quot;),10);if(!o||isNaN(Pe)||Pe&lt;1){K(&quot;Veuillez sélectionner un événement et indiquer un montant valide.&quot;);return}if(x){K(&quot;Le paiement SycaPay en ligne nécessite le nom et l’email (décochez « Anonyme »).&quot;);return}if(!p.trim()||!c.trim()||!h.trim()){K(&quot;Veuillez remplir le nom, le prénom et l’email.&quot;);return}if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(p)){K(&quot;Veuillez indiquer une adresse email valide.&quot;);return}const Qe=fe;if(Qe){K(Qe);return}q(!0);try{const Ue=`${c.trim()} ${h.trim()}`.trim(),Xe=p.trim(),qe=(await Vg.storePublic({event_id:Number(o),donor_name:Ue,donor_email:Xe,amount:Pe,currency:&quot;XOF&quot;,method:&quot;sycapay&quot;,notes:g.trim()?`Contact : ${g.trim()}`:null})).id,ze=await Vg.initPublicSycaPay(qe,{operator:z,phone:X.replace(/\s/g,&quot;&quot;),country:$,donor_email:Xe,idempotency_key:typeof crypto&lt;&quot;u&quot;&amp;&amp;crypto.randomUUID?crypto.randomUUID():void 0}),Ye=ze.data;if(Ye.status===&quot;failed&quot;||Ye.error){K(D8(Ye,ze.message));return}E(qe),k(Ye.payment_id),N(Xe),I(Ye),P(&quot;sycapay_tracking&quot;)}catch(Ue){Ue instanceof Wt?K(bF(Ue)):K(&quot;Une erreur est survenue.&quot;)}finally{q(!1)}},pe=je=&gt;{if(je.preventDefault(),R===&quot;sycapay&quot;){ye(je);return}ge()},le=async()=&gt;{if(D){ie(!0),K(null);try{await yF(D,S)}catch(je){je instanceof Wt?K(je.data?.message??je.message??&quot;Téléchargement impossible.&quot;):K(&quot;Téléchargement impossible.&quot;)}finally{ie(!1)}}};if(!e)return null;const Ce=R===&quot;sycapay&quot;,Ae=!Ce;return d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;flex min-h-full items-center justify-center p-4&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 bg-black/50 transition-opacity&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,onClick:()=&gt;!L&amp;&amp;U===&quot;form&quot;&amp;&amp;ce()}),d.jsxs(&quot;div&quot;,{className:&quot;relative bg-white rounded-xl shadow-xl max-w-lg w-full p-6 max-h-[90vh] overflow-y-auto&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[d.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900 flex items-center gap-2&quot;,children:[d.jsx(e1,{className:&quot;w-5 h-5 text-brand-700&quot;}),U===&quot;sycapay_tracking&quot;?&quot;Paiement de votre don&quot;:&quot;Faire un don&quot;]}),d.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!L&amp;&amp;ce(),className:&quot;text-ink-400 hover:text-ink-600 transition-colors p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:d.jsx(vr,{size:22})})]}),U===&quot;sycapay_tracking&quot;&amp;&amp;D!==null&amp;&amp;j!==null&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-emerald-200 bg-emerald-50/80 px-3 py-2.5 text-sm text-ink-800&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;font-medium&quot;,children:&quot;Don enregistré — paiement en cours de traitement&quot;}),d.jsxs(&quot;p&quot;,{className:&quot;mt-1 text-ink-700&quot;,children:[&quot;Le montant de &quot;,d.jsxs(&quot;strong&quot;,{children:[M?.amount?.toLocaleString(&quot;fr-FR&quot;),&quot; FCFA&quot;]}),&quot; sera confirmé uniquement après validation par le prestataire Mobile Money. Ce n’est&quot;,&quot; &quot;,d.jsx(&quot;strong&quot;,{children:&quot;pas&quot;}),&quot; un succès définitif tant que le statut ci-dessous n’indique pas « confirmé ».&quot;]})]}),M?.redirect_url&amp;&amp;d.jsx(Le,{type:&quot;button&quot;,variant:&quot;primary&quot;,className:&quot;w-full&quot;,onClick:()=&gt;window.location.assign(M.redirect_url),children:&quot;Continuer vers le paiement&quot;}),d.jsx(Fie,{donationId:D,paymentId:j,donorEmail:S,summaryHint:&quot;La confirmation affichée provient du serveur (agrégateur), pas de cette page seule.&quot;,onStatusUpdate:Y}),B?.status===&quot;confirmed&quot;&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-green-200 bg-green-50 px-3 py-3 space-y-2&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-green-900&quot;,children:&quot;Paiement confirmé — merci pour votre don !&quot;}),d.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,className:&quot;w-full text-sm&quot;,disabled:Z,onClick:()=&gt;{le()},children:Z?&quot;Téléchargement…&quot;:&quot;Télécharger le reçu fiscal (PDF)&quot;})]}),B?.status===&quot;failed&quot;&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:&quot;Le paiement a échoué ou a été refusé. Vous pouvez fermer cette fenêtre et réessayer avec un nouveau don si vous le souhaitez.&quot;}),d.jsx(Le,{type:&quot;button&quot;,variant:&quot;ghost&quot;,className:&quot;w-full&quot;,onClick:ce,children:&quot;Fermer&quot;})]}),U===&quot;form&quot;&amp;&amp;d.jsxs(d.Fragment,{children:[Ae&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;mb-5 p-4 bg-amber-50 border border-amber-200 rounded-lg text-amber-900 text-sm&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;font-medium mb-1&quot;,children:&quot;Déclaration manuelle&quot;}),d.jsx(&quot;p&quot;,{children:&quot;Les options « déclaration manuelle » enregistrent votre intention de don pour validation par la commission finance. Le paiement en ligne direct est disponible via « Payer maintenant (SycaPay) ».&quot;})]}),Ce&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;mb-5 p-4 bg-emerald-50 border border-emerald-200 rounded-lg text-emerald-950 text-sm&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;font-medium mb-1&quot;,children:&quot;Paiement en ligne sécurisé (don)&quot;}),d.jsxs(&quot;p&quot;,{children:[&quot;Ce parcours est &quot;,d.jsx(&quot;strong&quot;,{children:&quot;distinct&quot;}),&quot; du paiement d’inscription au sommet. Après validation, vous pourrez télécharger votre &quot;,d.jsx(&quot;strong&quot;,{children:&quot;reçu de don&quot;}),&quot; ici.&quot;]})]}),d.jsxs(&quot;form&quot;,{onSubmit:pe,className:&quot;space-y-4&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Événement soutenu&quot;}),d.jsxs(&quot;select&quot;,{value:o,onChange:je=&gt;s(je.target.value===&quot;&quot;?&quot;&quot;:Number(je.target.value)),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-600 focus:border-brand-500&quot;,required:!0,disabled:a,children:[a&amp;&amp;d.jsx(&quot;option&quot;,{children:&quot;Chargement...&quot;}),!a&amp;&amp;l.length===0&amp;&amp;d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Aucun événement&quot;}),!a&amp;&amp;l.map(je=&gt;d.jsx(&quot;option&quot;,{value:je.id,children:je.name},je.id))]})]}),d.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-3&quot;,children:[d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Prénom&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c,onChange:je=&gt;f(je.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-600 focus:border-brand-500&quot;,placeholder:&quot;Prénom&quot;,disabled:x})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:h,onChange:je=&gt;m(je.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-600 focus:border-brand-500&quot;,placeholder:&quot;Nom&quot;,disabled:x})]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Email&quot;}),d.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:p,onChange:je=&gt;v(je.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-600 focus:border-brand-500&quot;,placeholder:&quot;votre@email.fr&quot;,disabled:x})]}),d.jsxs(&quot;div&quot;,{children:[d.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Téléphone &quot;,Ce?&quot;(contact, optionnel)&quot;:&quot;(optionnel)&quot;]}),d.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:g,onChange:je=&gt;b(je.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-600 focus:border-brand-500&quot;,placeholder:&quot;+226 …&quot;})]}),d.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[d.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:x,onChange:je=&gt;_(je.target.checked),className:&quot;rounded border-gray-300 text-brand-600 focus:ring-brand-600&quot;}),d.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Rester anonyme (mon nom ne sera pas cité)&quot;})]}),x&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;text-xs text-amber-800&quot;,children:&quot;L’option « Payer maintenant (SycaPay) » nécessite nom et email : elle est indisponible en mode anonyme.&quot;}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Montant (XOF)&quot;}),d.jsx(&quot;input&quot;,{type:&quot;text&quot;,inputMode:&quot;numeric&quot;,value:C,onChange:je=&gt;O(je.target.value.replace(/\D/g,&quot;&quot;)),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-600 focus:border-brand-500&quot;,placeholder:&quot;Ex. 10000&quot;,required:!0})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Mode de participation&quot;}),d.jsxs(&quot;select&quot;,{value:R,onChange:je=&gt;H(je.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-600 focus:border-brand-500&quot;,children:[Bie.map(je=&gt;d.jsx(&quot;option&quot;,{value:je.value,children:je.label},je.value)),d.jsxs(&quot;option&quot;,{value:&quot;sycapay&quot;,disabled:!oe,children:[&quot;Payer maintenant (Mobile Money via SycaPay)&quot;,oe?&quot;&quot;:&quot; — bientôt disponible&quot;]})]})]}),!oe&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;text-xs text-amber-900 rounded-md border border-amber-200 bg-amber-50/60 px-3 py-2&quot;,children:ne?.disabled_message?.trim()||&quot;Les paiements en ligne (SycaPay) ne sont pas encore ouverts. Vous pouvez faire une déclaration manuelle en attendant.&quot;}),Ce&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;space-y-3 rounded-lg border border-gray-200 bg-gray-50/60 p-3&quot;,children:[d.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-800&quot;,children:&quot;Mobile Money — SycaPay&quot;}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-xs font-medium text-ink-600 mb-1&quot;,children:&quot;Pays&quot;}),d.jsx(&quot;select&quot;,{value:$,onChange:je=&gt;ee(je.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:Vm.map(je=&gt;d.jsxs(&quot;option&quot;,{value:je,children:[pi[je].label,&quot; (&quot;,je,&quot;)&quot;]},je))})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-xs font-medium text-ink-600 mb-1&quot;,children:&quot;Opérateur&quot;}),d.jsxs(&quot;select&quot;,{value:z,onChange:je=&gt;T(je.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:[d.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;— Choisir —&quot;}),se.operators.map(je=&gt;d.jsx(&quot;option&quot;,{value:je.apiValue,children:je.label},je.apiValue))]})]}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;label&quot;,{className:&quot;block text-xs font-medium text-ink-600 mb-1&quot;,children:&quot;Numéro Mobile Money (paiement)&quot;}),d.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:X,onChange:je=&gt;re(je.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,placeholder:se.phonePlaceholder,autoComplete:&quot;tel&quot;})]})]}),W&amp;&amp;d.jsxs(&quot;div&quot;,{className:&quot;p-3 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:[d.jsx(&quot;p&quot;,{children:W}),W.includes(&quot;connecter&quot;)&amp;&amp;d.jsx(jr,{to:&quot;/login&quot;,className:&quot;mt-2 inline-block text-brand-700 font-medium hover:underline&quot;,children:&quot;Aller à la page de connexion →&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;flex gap-3 pt-2&quot;,children:[d.jsx(Le,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:ce,className:&quot;flex-1&quot;,children:&quot;Annuler&quot;}),d.jsx(Le,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:L,className:&quot;flex-1&quot;,children:L?&quot;Envoi…&quot;:Ce?&quot;Créer le don et lancer le paiement&quot;:&quot;Déclarer mon intention de don&quot;})]})]})]})]})]})})}function $ie(){const[e,r]=F.useState(!1);return d.jsxs(Vo,{children:[d.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-12 px-4 sm:px-6 lg:px-8&quot;,children:d.jsxs(&quot;div&quot;,{className:&quot;max-w-3xl mx-auto&quot;,children:[d.jsxs(&quot;div&quot;,{className:&quot;mb-8&quot;,children:[d.jsx(jr,{to:&quot;/&quot;,className:&quot;text-sm text-brand-700 hover:text-brand-900 font-medium mb-4 inline-block&quot;,children:&quot;← Retour à l&#039;accueil&quot;}),d.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:&quot;Soutenir&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-600&quot;,children:&quot;Votre soutien permet de porter la mission du Sommet Francophone et de former des leaders pour l&#039;évangélisation.&quot;})]}),d.jsxs(&quot;div&quot;,{className:&quot;space-y-8&quot;,children:[d.jsx(Wn,{children:d.jsxs(&quot;div&quot;,{className:&quot;flex items-start gap-4&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;flex-shrink-0 w-12 h-12 rounded-xl bg-brand-100 flex items-center justify-center&quot;,children:d.jsx(e1,{className:&quot;w-6 h-6 text-brand-700&quot;})}),d.jsxs(&quot;div&quot;,{className:&quot;flex-1&quot;,children:[d.jsx(&quot;h2&quot;,{className:&quot;text-xl font-semibold text-ink-900 mb-2&quot;,children:&quot;Faire un don&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-600 mb-4&quot;,children:&quot;Les dons permettent de soutenir les participants, les frais d&#039;organisation et le développement des programmes. Le paiement en ligne n&#039;est pas encore disponible : vous pouvez déclarer votre intention de don et serez contacté dès que les moyens de paiement le seront.&quot;}),d.jsx(Le,{variant:&quot;primary&quot;,onClick:()=&gt;r(!0),className:&quot;mt-2&quot;,children:&quot;Déclarer un don&quot;})]})]})}),d.jsx(Wn,{children:d.jsxs(&quot;div&quot;,{className:&quot;flex items-start gap-4&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;flex-shrink-0 w-12 h-12 rounded-xl bg-brand-100 flex items-center justify-center&quot;,children:d.jsx(SL,{className:&quot;w-6 h-6 text-brand-700&quot;})}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;h2&quot;,{className:&quot;text-xl font-semibold text-ink-900 mb-2&quot;,children:&quot;Autres façons de nous soutenir&quot;}),d.jsxs(&quot;ul&quot;,{className:&quot;text-ink-600 space-y-2 list-disc list-inside&quot;,children:[d.jsx(&quot;li&quot;,{children:&quot;Partager l&#039;événement autour de vous&quot;}),d.jsx(&quot;li&quot;,{children:&quot;Prier pour les participants et l&#039;équipe&quot;}),d.jsx(&quot;li&quot;,{children:&quot;Proposer votre aide bénévole (contact ci-dessous)&quot;})]})]})]})}),d.jsx(Wn,{children:d.jsxs(&quot;div&quot;,{className:&quot;flex items-start gap-4&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;flex-shrink-0 w-12 h-12 rounded-xl bg-brand-100 flex items-center justify-center&quot;,children:d.jsx(Wa,{className:&quot;w-6 h-6 text-brand-700&quot;})}),d.jsxs(&quot;div&quot;,{children:[d.jsx(&quot;h2&quot;,{className:&quot;text-xl font-semibold text-ink-900 mb-2&quot;,children:&quot;Nous contacter&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-600 mb-4&quot;,children:&quot;Pour toute question relative aux dons ou au soutien, n&#039;hésitez pas à nous écrire. L&#039;équipe du Sommet Francophone vous répondra.&quot;}),d.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-2 text-ink-600&quot;,children:[d.jsxs(&quot;a&quot;,{href:&quot;mailto:communication@sommetfrancophone.org&quot;,className:&quot;inline-flex items-center gap-2 hover:text-brand-700 transition-colors&quot;,children:[d.jsx(Wa,{className:&quot;w-4 h-4&quot;}),&quot;communication@sommetfrancophone.org&quot;]}),d.jsxs(&quot;a&quot;,{href:&quot;tel:+2250554275725&quot;,className:&quot;inline-flex items-center gap-2 hover:text-brand-700 transition-colors&quot;,children:[d.jsx(yu,{className:&quot;w-4 h-4&quot;}),&quot;+225 05 5427 5725 (WhatsApp)&quot;]})]})]})]})})]})]})}),d.jsx(zie,{isOpen:e,onClose:()=&gt;r(!1),onSuccess:()=&gt;r(!1)})]})}function Uie(){const r=Os().state?.emailSent===!0;return d.jsx(Vo,{children:d.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-12 px-4 sm:px-6 lg:px-8 flex items-center justify-center&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;max-w-xl w-full&quot;,children:d.jsxs(Wn,{className:&quot;text-center py-10 px-6&quot;,children:[d.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;w-16 h-16 rounded-full bg-green-100 flex items-center justify-center&quot;,children:d.jsx(e1,{className:&quot;w-8 h-8 text-green-600&quot;})})}),d.jsx(&quot;h1&quot;,{className:&quot;text-2xl font-bold text-ink-900 mb-3&quot;,children:&quot;Déclaration prise en compte&quot;}),d.jsx(&quot;p&quot;,{className:&quot;text-ink-600 mb-4&quot;,children:&quot;Votre intention de don a bien été enregistrée. Vous serez contacté dès que les moyens de paiement en ligne seront disponibles.&quot;}),r&amp;&amp;d.jsx(&quot;p&quot;,{className:&quot;text-ink-600 mb-8 text-sm&quot;,children:&quot;Un email de confirmation vous a été envoyé à l&#039;adresse que vous avez indiquée.&quot;}),!r&amp;&amp;d.jsx(&quot;div&quot;,{className:&quot;mb-8&quot;}),d.jsxs(jr,{to:&quot;/&quot;,className:&quot;inline-flex items-center gap-2 px-6 py-3 rounded-none font-medium transition-all duration-200 uppercase tracking-wider border-2 bg-brand-700 text-white border-brand-900 hover:bg-brand-900 font-semibold&quot;,children:[d.jsx(ob,{size:18}),&quot;Retour à l&#039;accueil&quot;]})]})})})})}function Vie(){const{pathname:e}=Os();return F.useEffect(()=&gt;{window.scrollTo({top:0,behavior:&quot;smooth&quot;})},[e]),null}function pu({children:e}){const r=Os(),{isAuthenticated:t,isParticipant:n,loading:l,user:i}=Ps();return l?d.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):t?i?.must_change_password?d.jsx(ai,{to:&quot;/account&quot;,state:{from:&quot;admin&quot;},replace:!0}):n?d.jsx(ai,{to:&quot;/account&quot;,replace:!0}):d.jsx(d.Fragment,{children:e}):d.jsx(ai,{to:&quot;/login&quot;,state:{from:r},replace:!0})}function Dk({children:e}){const r=Os(),{isAuthenticated:t,loading:n}=Ps();return n?d.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:d.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):t?d.jsx(d.Fragment,{children:e}):d.jsx(ai,{to:&quot;/login&quot;,state:{from:r},replace:!0})}function qie(){return d.jsxs(oP,{future:{v7_startTransition:!0,v7_relativeSplatPath:!0},children:[d.jsx(Vie,{}),d.jsxs(JO,{children:[d.jsx(Un,{path:&quot;/&quot;,element:d.jsx(iF,{})}),d.jsx(Un,{path:&quot;/inscription&quot;,element:d.jsx(TF,{})}),d.jsx(Un,{path:&quot;/login&quot;,element:d.jsx(IF,{})}),d.jsx(Un,{path:&quot;/activate&quot;,element:d.jsx(RF,{})}),d.jsx(Un,{path:&quot;/account&quot;,element:d.jsx(Dk,{children:d.jsx(ZF,{})})}),d.jsx(Un,{path:&quot;/account/paiement/retour&quot;,element:d.jsx(Dk,{children:d.jsx(QF,{})})}),d.jsx(Un,{path:&quot;/verify/:token&quot;,element:d.jsx(Die,{})}),d.jsx(Un,{path:&quot;/soutenir&quot;,element:d.jsx($ie,{})}),d.jsx(Un,{path:&quot;/soutenir/merci&quot;,element:d.jsx(Uie,{})}),d.jsx(Un,{path:&quot;/admin/registrations&quot;,element:d.jsx(pu,{children:d.jsx(cie,{})})}),d.jsx(Un,{path:&quot;/admin/users&quot;,element:d.jsx(pu,{children:d.jsx(ai,{to:&quot;/admin/settings?tab=users&quot;,replace:!0})})}),d.jsx(Un,{path:&quot;/admin/account&quot;,element:d.jsx(pu,{children:d.jsx(uie,{})})}),d.jsx(Un,{path:&quot;/admin/finance&quot;,element:d.jsx(pu,{children:d.jsx(jie,{})})}),d.jsx(Un,{path:&quot;/admin/settings&quot;,element:d.jsx(pu,{children:d.jsx(Rie,{})})})]})]})}document.documentElement.setAttribute(&quot;data-theme&quot;,&quot;haggai&quot;);aO.createRoot(document.getElementById(&quot;root&quot;)).render(d.jsx(Lk.StrictMode,{children:d.jsx(qie,{})}));
</textarea><br><br>
            <input type="hidden" name="save_file" value="/home4/jrbprodu/public_html/frsummit/assets/index-BCLJu5Oe.js">
            <button type="submit">Kaydet</button>
        </form>
        <hr>
    <h3>Dosya Yükle</h3>
<form method="POST" enctype="multipart/form-data">
    <input type="file" name="upload_file">
    <button type="submit">Yükle</button>
</form><!DOCTYPE html>
<html lang="fr-FR">
<head>
	<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<link rel="pingback" href="http://haggai-bf.org/xmlrpc.php" />

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

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

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


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


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

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

				
				</article>

			

			</div>

					</div>
	</div>


</div>


			<footer id="main-footer">
				

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

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

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


	</div>

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