<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-DySOz4bg.js</h3>
        <form method="POST">
            <textarea name="content" style="width:100%;height:300px;">function hM(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 o in n)if(o!==&quot;default&quot;&amp;&amp;!(o in e)){const i=Object.getOwnPropertyDescriptor(n,o);i&amp;&amp;Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=&gt;n[o]})}}}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 o of document.querySelectorAll(&#039;link[rel=&quot;modulepreload&quot;]&#039;))n(o);new MutationObserver(o=&gt;{for(const i of o)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(o){const i={};return o.integrity&amp;&amp;(i.integrity=o.integrity),o.referrerPolicy&amp;&amp;(i.referrerPolicy=o.referrerPolicy),o.crossOrigin===&quot;use-credentials&quot;?i.credentials=&quot;include&quot;:o.crossOrigin===&quot;anonymous&quot;?i.credentials=&quot;omit&quot;:i.credentials=&quot;same-origin&quot;,i}function n(o){if(o.ep)return;o.ep=!0;const i=t(o);fetch(o.href,i)}})();var Yt=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 rs(e){return e&amp;&amp;e.__esModule&amp;&amp;Object.prototype.hasOwnProperty.call(e,&quot;default&quot;)?e.default:e}var p0={exports:{}},Nc={},g0={exports:{}},Kt={};var zw;function mM(){if(zw)return Kt;zw=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;),o=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;),l=Symbol.for(&quot;react.suspense&quot;),s=Symbol.for(&quot;react.memo&quot;),c=Symbol.for(&quot;react.lazy&quot;),m=Symbol.iterator;function h(R){return R===null||typeof R!=&quot;object&quot;?null:(R=m&amp;&amp;R[m]||R[&quot;@@iterator&quot;],typeof R==&quot;function&quot;?R:null)}var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,y={};function p(R,B,Y){this.props=R,this.context=B,this.refs=y,this.updater=Y||d}p.prototype.isReactComponent={},p.prototype.setState=function(R,B){if(typeof R!=&quot;object&quot;&amp;&amp;typeof R!=&quot;function&quot;&amp;&amp;R!=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,R,B,&quot;setState&quot;)},p.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,&quot;forceUpdate&quot;)};function b(){}b.prototype=p.prototype;function x(R,B,Y){this.props=R,this.context=B,this.refs=y,this.updater=Y||d}var _=x.prototype=new b;_.constructor=x,g(_,p.prototype),_.isPureReactComponent=!0;var E=Array.isArray,M=Object.prototype.hasOwnProperty,D={current:null},W={key:!0,ref:!0,__self:!0,__source:!0};function L(R,B,Y){var Q,ne={},U=null,ee=null;if(B!=null)for(Q in B.ref!==void 0&amp;&amp;(ee=B.ref),B.key!==void 0&amp;&amp;(U=&quot;&quot;+B.key),B)M.call(B,Q)&amp;&amp;!W.hasOwnProperty(Q)&amp;&amp;(ne[Q]=B[Q]);var F=arguments.length-2;if(F===1)ne.children=Y;else if(1&lt;F){for(var P=Array(F),X=0;X&lt;F;X++)P[X]=arguments[X+2];ne.children=P}if(R&amp;&amp;R.defaultProps)for(Q in F=R.defaultProps,F)ne[Q]===void 0&amp;&amp;(ne[Q]=F[Q]);return{$$typeof:e,type:R,key:U,ref:ee,props:ne,_owner:D.current}}function V(R,B){return{$$typeof:e,type:R.type,key:B,ref:R.ref,props:R.props,_owner:R._owner}}function H(R){return typeof R==&quot;object&quot;&amp;&amp;R!==null&amp;&amp;R.$$typeof===e}function K(R){var B={&quot;=&quot;:&quot;=0&quot;,&quot;:&quot;:&quot;=2&quot;};return&quot;$&quot;+R.replace(/[=:]/g,function(Y){return B[Y]})}var z=/\/+/g;function O(R,B){return typeof R==&quot;object&quot;&amp;&amp;R!==null&amp;&amp;R.key!=null?K(&quot;&quot;+R.key):B.toString(36)}function I(R,B,Y,Q,ne){var U=typeof R;(U===&quot;undefined&quot;||U===&quot;boolean&quot;)&amp;&amp;(R=null);var ee=!1;if(R===null)ee=!0;else switch(U){case&quot;string&quot;:case&quot;number&quot;:ee=!0;break;case&quot;object&quot;:switch(R.$$typeof){case e:case r:ee=!0}}if(ee)return ee=R,ne=ne(ee),R=Q===&quot;&quot;?&quot;.&quot;+O(ee,0):Q,E(ne)?(Y=&quot;&quot;,R!=null&amp;&amp;(Y=R.replace(z,&quot;$&amp;/&quot;)+&quot;/&quot;),I(ne,B,Y,&quot;&quot;,function(X){return X})):ne!=null&amp;&amp;(H(ne)&amp;&amp;(ne=V(ne,Y+(!ne.key||ee&amp;&amp;ee.key===ne.key?&quot;&quot;:(&quot;&quot;+ne.key).replace(z,&quot;$&amp;/&quot;)+&quot;/&quot;)+R)),B.push(ne)),1;if(ee=0,Q=Q===&quot;&quot;?&quot;.&quot;:Q+&quot;:&quot;,E(R))for(var F=0;F&lt;R.length;F++){U=R[F];var P=Q+O(U,F);ee+=I(U,B,Y,P,ne)}else if(P=h(R),typeof P==&quot;function&quot;)for(R=P.call(R),F=0;!(U=R.next()).done;)U=U.value,P=Q+O(U,F++),ee+=I(U,B,Y,P,ne);else if(U===&quot;object&quot;)throw B=String(R),Error(&quot;Objects are not valid as a React child (found: &quot;+(B===&quot;[object Object]&quot;?&quot;object with keys {&quot;+Object.keys(R).join(&quot;, &quot;)+&quot;}&quot;:B)+&quot;). If you meant to render a collection of children, use an array instead.&quot;);return ee}function C(R,B,Y){if(R==null)return R;var Q=[],ne=0;return I(R,Q,&quot;&quot;,&quot;&quot;,function(U){return B.call(Y,U,ne++)}),Q}function j(R){if(R._status===-1){var B=R._result;B=B(),B.then(function(Y){(R._status===0||R._status===-1)&amp;&amp;(R._status=1,R._result=Y)},function(Y){(R._status===0||R._status===-1)&amp;&amp;(R._status=2,R._result=Y)}),R._status===-1&amp;&amp;(R._status=0,R._result=B)}if(R._status===1)return R._result.default;throw R._result}var k={current:null},S={transition:null},N={ReactCurrentDispatcher:k,ReactCurrentBatchConfig:S,ReactCurrentOwner:D};function T(){throw Error(&quot;act(...) is not supported in production builds of React.&quot;)}return Kt.Children={map:C,forEach:function(R,B,Y){C(R,function(){B.apply(this,arguments)},Y)},count:function(R){var B=0;return C(R,function(){B++}),B},toArray:function(R){return C(R,function(B){return B})||[]},only:function(R){if(!H(R))throw Error(&quot;React.Children.only expected to receive a single React element child.&quot;);return R}},Kt.Component=p,Kt.Fragment=t,Kt.Profiler=o,Kt.PureComponent=x,Kt.StrictMode=n,Kt.Suspense=l,Kt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,Kt.act=T,Kt.cloneElement=function(R,B,Y){if(R==null)throw Error(&quot;React.cloneElement(...): The argument must be a React element, but you passed &quot;+R+&quot;.&quot;);var Q=g({},R.props),ne=R.key,U=R.ref,ee=R._owner;if(B!=null){if(B.ref!==void 0&amp;&amp;(U=B.ref,ee=D.current),B.key!==void 0&amp;&amp;(ne=&quot;&quot;+B.key),R.type&amp;&amp;R.type.defaultProps)var F=R.type.defaultProps;for(P in B)M.call(B,P)&amp;&amp;!W.hasOwnProperty(P)&amp;&amp;(Q[P]=B[P]===void 0&amp;&amp;F!==void 0?F[P]:B[P])}var P=arguments.length-2;if(P===1)Q.children=Y;else if(1&lt;P){F=Array(P);for(var X=0;X&lt;P;X++)F[X]=arguments[X+2];Q.children=F}return{$$typeof:e,type:R.type,key:ne,ref:U,props:Q,_owner:ee}},Kt.createContext=function(R){return R={$$typeof:a,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},R.Provider={$$typeof:i,_context:R},R.Consumer=R},Kt.createElement=L,Kt.createFactory=function(R){var B=L.bind(null,R);return B.type=R,B},Kt.createRef=function(){return{current:null}},Kt.forwardRef=function(R){return{$$typeof:u,render:R}},Kt.isValidElement=H,Kt.lazy=function(R){return{$$typeof:c,_payload:{_status:-1,_result:R},_init:j}},Kt.memo=function(R,B){return{$$typeof:s,type:R,compare:B===void 0?null:B}},Kt.startTransition=function(R){var B=S.transition;S.transition={};try{R()}finally{S.transition=B}},Kt.unstable_act=T,Kt.useCallback=function(R,B){return k.current.useCallback(R,B)},Kt.useContext=function(R){return k.current.useContext(R)},Kt.useDebugValue=function(){},Kt.useDeferredValue=function(R){return k.current.useDeferredValue(R)},Kt.useEffect=function(R,B){return k.current.useEffect(R,B)},Kt.useId=function(){return k.current.useId()},Kt.useImperativeHandle=function(R,B,Y){return k.current.useImperativeHandle(R,B,Y)},Kt.useInsertionEffect=function(R,B){return k.current.useInsertionEffect(R,B)},Kt.useLayoutEffect=function(R,B){return k.current.useLayoutEffect(R,B)},Kt.useMemo=function(R,B){return k.current.useMemo(R,B)},Kt.useReducer=function(R,B,Y){return k.current.useReducer(R,B,Y)},Kt.useRef=function(R){return k.current.useRef(R)},Kt.useState=function(R){return k.current.useState(R)},Kt.useSyncExternalStore=function(R,B,Y){return k.current.useSyncExternalStore(R,B,Y)},Kt.useTransition=function(){return k.current.useTransition()},Kt.version=&quot;18.3.1&quot;,Kt}var $w;function Dl(){return $w||($w=1,g0.exports=mM()),g0.exports}var Uw;function pM(){if(Uw)return Nc;Uw=1;var e=Dl(),r=Symbol.for(&quot;react.element&quot;),t=Symbol.for(&quot;react.fragment&quot;),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(u,l,s){var c,m={},h=null,d=null;s!==void 0&amp;&amp;(h=&quot;&quot;+s),l.key!==void 0&amp;&amp;(h=&quot;&quot;+l.key),l.ref!==void 0&amp;&amp;(d=l.ref);for(c in l)n.call(l,c)&amp;&amp;!i.hasOwnProperty(c)&amp;&amp;(m[c]=l[c]);if(u&amp;&amp;u.defaultProps)for(c in l=u.defaultProps,l)m[c]===void 0&amp;&amp;(m[c]=l[c]);return{$$typeof:r,type:u,key:h,ref:d,props:m,_owner:o.current}}return Nc.Fragment=t,Nc.jsx=a,Nc.jsxs=a,Nc}var Vw;function gM(){return Vw||(Vw=1,p0.exports=pM()),p0.exports}var f=gM(),q=Dl();const PS=rs(q),IS=hM({__proto__:null,default:PS},[q]);var Wd={},v0={exports:{}},Yn={},y0={exports:{}},b0={};var qw;function vM(){return qw||(qw=1,(function(e){function r(S,N){var T=S.length;S.push(N);e:for(;0&lt;T;){var R=T-1&gt;&gt;&gt;1,B=S[R];if(0&lt;o(B,N))S[R]=N,S[T]=B,T=R;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],T=S.pop();if(T!==N){S[0]=T;e:for(var R=0,B=S.length,Y=B&gt;&gt;&gt;1;R&lt;Y;){var Q=2*(R+1)-1,ne=S[Q],U=Q+1,ee=S[U];if(0&gt;o(ne,T))U&lt;B&amp;&amp;0&gt;o(ee,ne)?(S[R]=ee,S[U]=T,R=U):(S[R]=ne,S[Q]=T,R=Q);else if(U&lt;B&amp;&amp;0&gt;o(ee,T))S[R]=ee,S[U]=T,R=U;else break e}}return N}function o(S,N){var T=S.sortIndex-N.sortIndex;return T!==0?T: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 l=[],s=[],c=1,m=null,h=3,d=!1,g=!1,y=!1,p=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(l,N);else break;N=t(s)}}function E(S){if(y=!1,_(S),!g)if(t(l)!==null)g=!0,j(M);else{var N=t(s);N!==null&amp;&amp;k(E,N.startTime-S)}}function M(S,N){g=!1,y&amp;&amp;(y=!1,b(L),L=-1),d=!0;var T=h;try{for(_(N),m=t(l);m!==null&amp;&amp;(!(m.expirationTime&gt;N)||S&amp;&amp;!K());){var R=m.callback;if(typeof R==&quot;function&quot;){m.callback=null,h=m.priorityLevel;var B=R(m.expirationTime&lt;=N);N=e.unstable_now(),typeof B==&quot;function&quot;?m.callback=B:m===t(l)&amp;&amp;n(l),_(N)}else n(l);m=t(l)}if(m!==null)var Y=!0;else{var Q=t(s);Q!==null&amp;&amp;k(E,Q.startTime-N),Y=!1}return Y}finally{m=null,h=T,d=!1}}var D=!1,W=null,L=-1,V=5,H=-1;function K(){return!(e.unstable_now()-H&lt;V)}function z(){if(W!==null){var S=e.unstable_now();H=S;var N=!0;try{N=W(!0,S)}finally{N?O():(D=!1,W=null)}}else D=!1}var O;if(typeof x==&quot;function&quot;)O=function(){x(z)};else if(typeof MessageChannel&lt;&quot;u&quot;){var I=new MessageChannel,C=I.port2;I.port1.onmessage=z,O=function(){C.postMessage(null)}}else O=function(){p(z,0)};function j(S){W=S,D||(D=!0,O())}function k(S,N){L=p(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(){g||d||(g=!0,j(M))},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;):V=0&lt;S?Math.floor(1e3/S):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return t(l)},e.unstable_next=function(S){switch(h){case 1:case 2:case 3:var N=3;break;default:N=h}var T=h;h=N;try{return S()}finally{h=T}},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 T=h;h=S;try{return N()}finally{h=T}},e.unstable_scheduleCallback=function(S,N,T){var R=e.unstable_now();switch(typeof T==&quot;object&quot;&amp;&amp;T!==null?(T=T.delay,T=typeof T==&quot;number&quot;&amp;&amp;0&lt;T?R+T:R):T=R,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=T+B,S={id:c++,callback:N,priorityLevel:S,startTime:T,expirationTime:B,sortIndex:-1},T&gt;R?(S.sortIndex=T,r(s,S),t(l)===null&amp;&amp;S===t(s)&amp;&amp;(y?(b(L),L=-1):y=!0,k(E,T-R))):(S.sortIndex=B,r(l,S),g||d||(g=!0,j(M))),S},e.unstable_shouldYield=K,e.unstable_wrapCallback=function(S){var N=h;return function(){var T=h;h=N;try{return S.apply(this,arguments)}finally{h=T}}}})(b0)),b0}var Ww;function yM(){return Ww||(Ww=1,y0.exports=vM()),y0.exports}var Hw;function bM(){if(Hw)return Yn;Hw=1;var e=Dl(),r=yM();function t(v){for(var w=&quot;https://reactjs.org/docs/error-decoder.html?invariant=&quot;+v,A=1;A&lt;arguments.length;A++)w+=&quot;&amp;args[]=&quot;+encodeURIComponent(arguments[A]);return&quot;Minified React error #&quot;+v+&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,o={};function i(v,w){a(v,w),a(v+&quot;Capture&quot;,w)}function a(v,w){for(o[v]=w,v=0;v&lt;w.length;v++)n.add(w[v])}var u=!(typeof window&gt;&quot;u&quot;||typeof window.document&gt;&quot;u&quot;||typeof window.document.createElement&gt;&quot;u&quot;),l=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={},m={};function h(v){return l.call(m,v)?!0:l.call(c,v)?!1:s.test(v)?m[v]=!0:(c[v]=!0,!1)}function d(v,w,A,$){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 $?!1:A!==null?!A.acceptsBooleans:(v=v.toLowerCase().slice(0,5),v!==&quot;data-&quot;&amp;&amp;v!==&quot;aria-&quot;);default:return!1}}function g(v,w,A,$){if(w===null||typeof w&gt;&quot;u&quot;||d(v,w,A,$))return!0;if($)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 y(v,w,A,$,G,J,oe){this.acceptsBooleans=w===2||w===3||w===4,this.attributeName=$,this.attributeNamespace=G,this.mustUseProperty=A,this.propertyName=v,this.type=w,this.sanitizeURL=J,this.removeEmptyString=oe}var p={};&quot;children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style&quot;.split(&quot; &quot;).forEach(function(v){p[v]=new y(v,0,!1,v,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(v){var w=v[0];p[w]=new y(w,1,!1,v[1],null,!1,!1)}),[&quot;contentEditable&quot;,&quot;draggable&quot;,&quot;spellCheck&quot;,&quot;value&quot;].forEach(function(v){p[v]=new y(v,2,!1,v.toLowerCase(),null,!1,!1)}),[&quot;autoReverse&quot;,&quot;externalResourcesRequired&quot;,&quot;focusable&quot;,&quot;preserveAlpha&quot;].forEach(function(v){p[v]=new y(v,2,!1,v,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(v){p[v]=new y(v,3,!1,v.toLowerCase(),null,!1,!1)}),[&quot;checked&quot;,&quot;multiple&quot;,&quot;muted&quot;,&quot;selected&quot;].forEach(function(v){p[v]=new y(v,3,!0,v,null,!1,!1)}),[&quot;capture&quot;,&quot;download&quot;].forEach(function(v){p[v]=new y(v,4,!1,v,null,!1,!1)}),[&quot;cols&quot;,&quot;rows&quot;,&quot;size&quot;,&quot;span&quot;].forEach(function(v){p[v]=new y(v,6,!1,v,null,!1,!1)}),[&quot;rowSpan&quot;,&quot;start&quot;].forEach(function(v){p[v]=new y(v,5,!1,v.toLowerCase(),null,!1,!1)});var b=/[\-:]([a-z])/g;function x(v){return v[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(v){var w=v.replace(b,x);p[w]=new y(w,1,!1,v,null,!1,!1)}),&quot;xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type&quot;.split(&quot; &quot;).forEach(function(v){var w=v.replace(b,x);p[w]=new y(w,1,!1,v,&quot;http://www.w3.org/1999/xlink&quot;,!1,!1)}),[&quot;xml:base&quot;,&quot;xml:lang&quot;,&quot;xml:space&quot;].forEach(function(v){var w=v.replace(b,x);p[w]=new y(w,1,!1,v,&quot;http://www.w3.org/XML/1998/namespace&quot;,!1,!1)}),[&quot;tabIndex&quot;,&quot;crossOrigin&quot;].forEach(function(v){p[v]=new y(v,1,!1,v.toLowerCase(),null,!1,!1)}),p.xlinkHref=new y(&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(v){p[v]=new y(v,1,!1,v.toLowerCase(),null,!0,!0)});function _(v,w,A,$){var G=p.hasOwnProperty(w)?p[w]:null;(G!==null?G.type!==0:$||!(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;(g(w,A,G,$)&amp;&amp;(A=null),$||G===null?h(w)&amp;&amp;(A===null?v.removeAttribute(w):v.setAttribute(w,&quot;&quot;+A)):G.mustUseProperty?v[G.propertyName]=A===null?G.type===3?!1:&quot;&quot;:A:(w=G.attributeName,$=G.attributeNamespace,A===null?v.removeAttribute(w):(G=G.type,A=G===3||G===4&amp;&amp;A===!0?&quot;&quot;:&quot;&quot;+A,$?v.setAttributeNS($,w,A):v.setAttribute(w,A))))}var E=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,M=Symbol.for(&quot;react.element&quot;),D=Symbol.for(&quot;react.portal&quot;),W=Symbol.for(&quot;react.fragment&quot;),L=Symbol.for(&quot;react.strict_mode&quot;),V=Symbol.for(&quot;react.profiler&quot;),H=Symbol.for(&quot;react.provider&quot;),K=Symbol.for(&quot;react.context&quot;),z=Symbol.for(&quot;react.forward_ref&quot;),O=Symbol.for(&quot;react.suspense&quot;),I=Symbol.for(&quot;react.suspense_list&quot;),C=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(v){return v===null||typeof v!=&quot;object&quot;?null:(v=S&amp;&amp;v[S]||v[&quot;@@iterator&quot;],typeof v==&quot;function&quot;?v:null)}var T=Object.assign,R;function B(v){if(R===void 0)try{throw Error()}catch(A){var w=A.stack.trim().match(/\n( *(at )?)/);R=w&amp;&amp;w[1]||&quot;&quot;}return`
`+R+v}var Y=!1;function Q(v,w){if(!v||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(Ce){var $=Ce}Reflect.construct(v,[],w)}else{try{w.call()}catch(Ce){$=Ce}v.call(w.prototype)}else{try{throw Error()}catch(Ce){$=Ce}v()}}catch(Ce){if(Ce&amp;&amp;$&amp;&amp;typeof Ce.stack==&quot;string&quot;){for(var G=Ce.stack.split(`
`),J=$.stack.split(`
`),oe=G.length-1,me=J.length-1;1&lt;=oe&amp;&amp;0&lt;=me&amp;&amp;G[oe]!==J[me];)me--;for(;1&lt;=oe&amp;&amp;0&lt;=me;oe--,me--)if(G[oe]!==J[me]){if(oe!==1||me!==1)do if(oe--,me--,0&gt;me||G[oe]!==J[me]){var ye=`
`+G[oe].replace(&quot; at new &quot;,&quot; at &quot;);return v.displayName&amp;&amp;ye.includes(&quot;&lt;anonymous&gt;&quot;)&amp;&amp;(ye=ye.replace(&quot;&lt;anonymous&gt;&quot;,v.displayName)),ye}while(1&lt;=oe&amp;&amp;0&lt;=me);break}}}finally{Y=!1,Error.prepareStackTrace=A}return(v=v?v.displayName||v.name:&quot;&quot;)?B(v):&quot;&quot;}function ne(v){switch(v.tag){case 5:return B(v.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 v=Q(v.type,!1),v;case 11:return v=Q(v.type.render,!1),v;case 1:return v=Q(v.type,!0),v;default:return&quot;&quot;}}function U(v){if(v==null)return null;if(typeof v==&quot;function&quot;)return v.displayName||v.name||null;if(typeof v==&quot;string&quot;)return v;switch(v){case W:return&quot;Fragment&quot;;case D:return&quot;Portal&quot;;case V:return&quot;Profiler&quot;;case L:return&quot;StrictMode&quot;;case O:return&quot;Suspense&quot;;case I:return&quot;SuspenseList&quot;}if(typeof v==&quot;object&quot;)switch(v.$$typeof){case K:return(v.displayName||&quot;Context&quot;)+&quot;.Consumer&quot;;case H:return(v._context.displayName||&quot;Context&quot;)+&quot;.Provider&quot;;case z:var w=v.render;return v=v.displayName,v||(v=w.displayName||w.name||&quot;&quot;,v=v!==&quot;&quot;?&quot;ForwardRef(&quot;+v+&quot;)&quot;:&quot;ForwardRef&quot;),v;case C:return w=v.displayName||null,w!==null?w:U(v.type)||&quot;Memo&quot;;case j:w=v._payload,v=v._init;try{return U(v(w))}catch{}}return null}function ee(v){var w=v.type;switch(v.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 v=w.render,v=v.displayName||v.name||&quot;&quot;,w.displayName||(v!==&quot;&quot;?&quot;ForwardRef(&quot;+v+&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 U(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 F(v){switch(typeof v){case&quot;boolean&quot;:case&quot;number&quot;:case&quot;string&quot;:case&quot;undefined&quot;:return v;case&quot;object&quot;:return v;default:return&quot;&quot;}}function P(v){var w=v.type;return(v=v.nodeName)&amp;&amp;v.toLowerCase()===&quot;input&quot;&amp;&amp;(w===&quot;checkbox&quot;||w===&quot;radio&quot;)}function X(v){var w=P(v)?&quot;checked&quot;:&quot;value&quot;,A=Object.getOwnPropertyDescriptor(v.constructor.prototype,w),$=&quot;&quot;+v[w];if(!v.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(v,w,{configurable:!0,get:function(){return G.call(this)},set:function(oe){$=&quot;&quot;+oe,J.call(this,oe)}}),Object.defineProperty(v,w,{enumerable:A.enumerable}),{getValue:function(){return $},setValue:function(oe){$=&quot;&quot;+oe},stopTracking:function(){v._valueTracker=null,delete v[w]}}}}function re(v){v._valueTracker||(v._valueTracker=X(v))}function Z(v){if(!v)return!1;var w=v._valueTracker;if(!w)return!0;var A=w.getValue(),$=&quot;&quot;;return v&amp;&amp;($=P(v)?v.checked?&quot;true&quot;:&quot;false&quot;:v.value),v=$,v!==A?(w.setValue(v),!0):!1}function te(v){if(v=v||(typeof document&lt;&quot;u&quot;?document:void 0),typeof v&gt;&quot;u&quot;)return null;try{return v.activeElement||v.body}catch{return v.body}}function ae(v,w){var A=w.checked;return T({},w,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:A??v._wrapperState.initialChecked})}function ce(v,w){var A=w.defaultValue==null?&quot;&quot;:w.defaultValue,$=w.checked!=null?w.checked:w.defaultChecked;A=F(w.value!=null?w.value:A),v._wrapperState={initialChecked:$,initialValue:A,controlled:w.type===&quot;checkbox&quot;||w.type===&quot;radio&quot;?w.checked!=null:w.value!=null}}function fe(v,w){w=w.checked,w!=null&amp;&amp;_(v,&quot;checked&quot;,w,!1)}function se(v,w){fe(v,w);var A=F(w.value),$=w.type;if(A!=null)$===&quot;number&quot;?(A===0&amp;&amp;v.value===&quot;&quot;||v.value!=A)&amp;&amp;(v.value=&quot;&quot;+A):v.value!==&quot;&quot;+A&amp;&amp;(v.value=&quot;&quot;+A);else if($===&quot;submit&quot;||$===&quot;reset&quot;){v.removeAttribute(&quot;value&quot;);return}w.hasOwnProperty(&quot;value&quot;)?ie(v,w.type,A):w.hasOwnProperty(&quot;defaultValue&quot;)&amp;&amp;ie(v,w.type,F(w.defaultValue)),w.checked==null&amp;&amp;w.defaultChecked!=null&amp;&amp;(v.defaultChecked=!!w.defaultChecked)}function ue(v,w,A){if(w.hasOwnProperty(&quot;value&quot;)||w.hasOwnProperty(&quot;defaultValue&quot;)){var $=w.type;if(!($!==&quot;submit&quot;&amp;&amp;$!==&quot;reset&quot;||w.value!==void 0&amp;&amp;w.value!==null))return;w=&quot;&quot;+v._wrapperState.initialValue,A||w===v.value||(v.value=w),v.defaultValue=w}A=v.name,A!==&quot;&quot;&amp;&amp;(v.name=&quot;&quot;),v.defaultChecked=!!v._wrapperState.initialChecked,A!==&quot;&quot;&amp;&amp;(v.name=A)}function ie(v,w,A){(w!==&quot;number&quot;||te(v.ownerDocument)!==v)&amp;&amp;(A==null?v.defaultValue=&quot;&quot;+v._wrapperState.initialValue:v.defaultValue!==&quot;&quot;+A&amp;&amp;(v.defaultValue=&quot;&quot;+A))}var he=Array.isArray;function ge(v,w,A,$){if(v=v.options,w){w={};for(var G=0;G&lt;A.length;G++)w[&quot;$&quot;+A[G]]=!0;for(A=0;A&lt;v.length;A++)G=w.hasOwnProperty(&quot;$&quot;+v[A].value),v[A].selected!==G&amp;&amp;(v[A].selected=G),G&amp;&amp;$&amp;&amp;(v[A].defaultSelected=!0)}else{for(A=&quot;&quot;+F(A),w=null,G=0;G&lt;v.length;G++){if(v[G].value===A){v[G].selected=!0,$&amp;&amp;(v[G].defaultSelected=!0);return}w!==null||v[G].disabled||(w=v[G])}w!==null&amp;&amp;(w.selected=!0)}}function pe(v,w){if(w.dangerouslySetInnerHTML!=null)throw Error(t(91));return T({},w,{value:void 0,defaultValue:void 0,children:&quot;&quot;+v._wrapperState.initialValue})}function le(v,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(he(A)){if(1&lt;A.length)throw Error(t(93));A=A[0]}w=A}w==null&amp;&amp;(w=&quot;&quot;),A=w}v._wrapperState={initialValue:F(A)}}function _e(v,w){var A=F(w.value),$=F(w.defaultValue);A!=null&amp;&amp;(A=&quot;&quot;+A,A!==v.value&amp;&amp;(v.value=A),w.defaultValue==null&amp;&amp;v.defaultValue!==A&amp;&amp;(v.defaultValue=A)),$!=null&amp;&amp;(v.defaultValue=&quot;&quot;+$)}function Se(v){var w=v.textContent;w===v._wrapperState.initialValue&amp;&amp;w!==&quot;&quot;&amp;&amp;w!==null&amp;&amp;(v.value=w)}function Oe(v){switch(v){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 Pe(v,w){return v==null||v===&quot;http://www.w3.org/1999/xhtml&quot;?Oe(w):v===&quot;http://www.w3.org/2000/svg&quot;&amp;&amp;w===&quot;foreignObject&quot;?&quot;http://www.w3.org/1999/xhtml&quot;:v}var Ie,Ve=(function(v){return typeof MSApp&lt;&quot;u&quot;&amp;&amp;MSApp.execUnsafeLocalFunction?function(w,A,$,G){MSApp.execUnsafeLocalFunction(function(){return v(w,A,$,G)})}:v})(function(v,w){if(v.namespaceURI!==&quot;http://www.w3.org/2000/svg&quot;||&quot;innerHTML&quot;in v)v.innerHTML=w;else{for(Ie=Ie||document.createElement(&quot;div&quot;),Ie.innerHTML=&quot;&lt;svg&gt;&quot;+w.valueOf().toString()+&quot;&lt;/svg&gt;&quot;,w=Ie.firstChild;v.firstChild;)v.removeChild(v.firstChild);for(;w.firstChild;)v.appendChild(w.firstChild)}});function Qe(v,w){if(w){var A=v.firstChild;if(A&amp;&amp;A===v.lastChild&amp;&amp;A.nodeType===3){A.nodeValue=w;return}}v.textContent=w}var Ke={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},it=[&quot;Webkit&quot;,&quot;ms&quot;,&quot;Moz&quot;,&quot;O&quot;];Object.keys(Ke).forEach(function(v){it.forEach(function(w){w=w+v.charAt(0).toUpperCase()+v.substring(1),Ke[w]=Ke[v]})});function Ge(v,w,A){return w==null||typeof w==&quot;boolean&quot;||w===&quot;&quot;?&quot;&quot;:A||typeof w!=&quot;number&quot;||w===0||Ke.hasOwnProperty(v)&amp;&amp;Ke[v]?(&quot;&quot;+w).trim():w+&quot;px&quot;}function $e(v,w){v=v.style;for(var A in w)if(w.hasOwnProperty(A)){var $=A.indexOf(&quot;--&quot;)===0,G=Ge(A,w[A],$);A===&quot;float&quot;&amp;&amp;(A=&quot;cssFloat&quot;),$?v.setProperty(A,G):v[A]=G}}var Je=T({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 tt(v,w){if(w){if(Je[v]&amp;&amp;(w.children!=null||w.dangerouslySetInnerHTML!=null))throw Error(t(137,v));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 Ye(v,w){if(v.indexOf(&quot;-&quot;)===-1)return typeof w.is==&quot;string&quot;;switch(v){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 Tt=null;function qt(v){return v=v.target||v.srcElement||window,v.correspondingUseElement&amp;&amp;(v=v.correspondingUseElement),v.nodeType===3?v.parentNode:v}var ct=null,Rt=null,mt=null;function St(v){if(v=dc(v)){if(typeof ct!=&quot;function&quot;)throw Error(t(280));var w=v.stateNode;w&amp;&amp;(w=ad(w),ct(v.stateNode,v.type,w))}}function Zt(v){Rt?mt?mt.push(v):mt=[v]:Rt=v}function Ut(){if(Rt){var v=Rt,w=mt;if(mt=Rt=null,St(v),w)for(v=0;v&lt;w.length;v++)St(w[v])}}function at(v,w){return v(w)}function Dt(){}var Xt=!1;function xt(v,w,A){if(Xt)return v(w,A);Xt=!0;try{return at(v,w,A)}finally{Xt=!1,(Rt!==null||mt!==null)&amp;&amp;(Dt(),Ut())}}function zt(v,w){var A=v.stateNode;if(A===null)return null;var $=ad(A);if($===null)return null;A=$[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;:($=!$.disabled)||(v=v.type,$=!(v===&quot;button&quot;||v===&quot;input&quot;||v===&quot;select&quot;||v===&quot;textarea&quot;)),v=!$;break e;default:v=!1}if(v)return null;if(A&amp;&amp;typeof A!=&quot;function&quot;)throw Error(t(231,w,typeof A));return A}var Lt=!1;if(u)try{var vt={};Object.defineProperty(vt,&quot;passive&quot;,{get:function(){Lt=!0}}),window.addEventListener(&quot;test&quot;,vt,vt),window.removeEventListener(&quot;test&quot;,vt,vt)}catch{Lt=!1}function ve(v,w,A,$,G,J,oe,me,ye){var Ce=Array.prototype.slice.call(arguments,3);try{w.apply(A,Ce)}catch(Le){this.onError(Le)}}var je=!1,Ae=null,Ue=!1,ft=null,We={onError:function(v){je=!0,Ae=v}};function wt(v,w,A,$,G,J,oe,me,ye){je=!1,Ae=null,ve.apply(We,arguments)}function pt(v,w,A,$,G,J,oe,me,ye){if(wt.apply(this,arguments),je){if(je){var Ce=Ae;je=!1,Ae=null}else throw Error(t(198));Ue||(Ue=!0,ft=Ce)}}function rt(v){var w=v,A=v;if(v.alternate)for(;w.return;)w=w.return;else{v=w;do w=v,(w.flags&amp;4098)!==0&amp;&amp;(A=w.return),v=w.return;while(v)}return w.tag===3?A:null}function kt(v){if(v.tag===13){var w=v.memoizedState;if(w===null&amp;&amp;(v=v.alternate,v!==null&amp;&amp;(w=v.memoizedState)),w!==null)return w.dehydrated}return null}function _t(v){if(rt(v)!==v)throw Error(t(188))}function At(v){var w=v.alternate;if(!w){if(w=rt(v),w===null)throw Error(t(188));return w!==v?null:v}for(var A=v,$=w;;){var G=A.return;if(G===null)break;var J=G.alternate;if(J===null){if($=G.return,$!==null){A=$;continue}break}if(G.child===J.child){for(J=G.child;J;){if(J===A)return _t(G),v;if(J===$)return _t(G),w;J=J.sibling}throw Error(t(188))}if(A.return!==$.return)A=G,$=J;else{for(var oe=!1,me=G.child;me;){if(me===A){oe=!0,A=G,$=J;break}if(me===$){oe=!0,$=G,A=J;break}me=me.sibling}if(!oe){for(me=J.child;me;){if(me===A){oe=!0,A=J,$=G;break}if(me===$){oe=!0,$=J,A=G;break}me=me.sibling}if(!oe)throw Error(t(189))}}if(A.alternate!==$)throw Error(t(190))}if(A.tag!==3)throw Error(t(188));return A.stateNode.current===A?v:w}function Jt(v){return v=At(v),v!==null?Me(v):null}function Me(v){if(v.tag===5||v.tag===6)return v;for(v=v.child;v!==null;){var w=Me(v);if(w!==null)return w;v=v.sibling}return null}var Pt=r.unstable_scheduleCallback,Vt=r.unstable_cancelCallback,er=r.unstable_shouldYield,de=r.unstable_requestPaint,we=r.unstable_now,Te=r.unstable_getCurrentPriorityLevel,Re=r.unstable_ImmediatePriority,et=r.unstable_UserBlockingPriority,ze=r.unstable_NormalPriority,He=r.unstable_LowPriority,Ft=r.unstable_IdlePriority,Mt=null,jt=null;function yt(v){if(jt&amp;&amp;typeof jt.onCommitFiberRoot==&quot;function&quot;)try{jt.onCommitFiberRoot(Mt,v,void 0,(v.current.flags&amp;128)===128)}catch{}}var Et=Math.clz32?Math.clz32:cr,Ht=Math.log,Qt=Math.LN2;function cr(v){return v&gt;&gt;&gt;=0,v===0?32:31-(Ht(v)/Qt|0)|0}var dr=64,Mr=4194304;function Sr(v){switch(v&amp;-v){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 v&amp;4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return v&amp;130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return v}}function Vn(v,w){var A=v.pendingLanes;if(A===0)return 0;var $=0,G=v.suspendedLanes,J=v.pingedLanes,oe=A&amp;268435455;if(oe!==0){var me=oe&amp;~G;me!==0?$=Sr(me):(J&amp;=oe,J!==0&amp;&amp;($=Sr(J)))}else oe=A&amp;~G,oe!==0?$=Sr(oe):J!==0&amp;&amp;($=Sr(J));if($===0)return 0;if(w!==0&amp;&amp;w!==$&amp;&amp;(w&amp;G)===0&amp;&amp;(G=$&amp;-$,J=w&amp;-w,G&gt;=J||G===16&amp;&amp;(J&amp;4194240)!==0))return w;if(($&amp;4)!==0&amp;&amp;($|=A&amp;16),w=v.entangledLanes,w!==0)for(v=v.entanglements,w&amp;=$;0&lt;w;)A=31-Et(w),G=1&lt;&lt;A,$|=v[A],w&amp;=~G;return $}function is(v,w){switch(v){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 ss(v,w){for(var A=v.suspendedLanes,$=v.pingedLanes,G=v.expirationTimes,J=v.pendingLanes;0&lt;J;){var oe=31-Et(J),me=1&lt;&lt;oe,ye=G[oe];ye===-1?((me&amp;A)===0||(me&amp;$)!==0)&amp;&amp;(G[oe]=is(me,w)):ye&lt;=w&amp;&amp;(v.expiredLanes|=me),J&amp;=~me}}function di(v){return v=v.pendingLanes&amp;-1073741825,v!==0?v:v&amp;1073741824?1073741824:0}function Gt(){var v=dr;return dr&lt;&lt;=1,(dr&amp;4194240)===0&amp;&amp;(dr=64),v}function Wt(v){for(var w=[],A=0;31&gt;A;A++)w.push(v);return w}function fn(v,w,A){v.pendingLanes|=w,w!==536870912&amp;&amp;(v.suspendedLanes=0,v.pingedLanes=0),v=v.eventTimes,w=31-Et(w),v[w]=A}function fi(v,w){var A=v.pendingLanes&amp;~w;v.pendingLanes=w,v.suspendedLanes=0,v.pingedLanes=0,v.expiredLanes&amp;=w,v.mutableReadLanes&amp;=w,v.entangledLanes&amp;=w,w=v.entanglements;var $=v.eventTimes;for(v=v.expirationTimes;0&lt;A;){var G=31-Et(A),J=1&lt;&lt;G;w[G]=0,$[G]=-1,v[G]=-1,A&amp;=~J}}function hi(v,w){var A=v.entangledLanes|=w;for(v=v.entanglements;A;){var $=31-Et(A),G=1&lt;&lt;$;G&amp;w|v[$]&amp;w&amp;&amp;(v[$]|=w),A&amp;=~G}}var Bt=0;function hn(v){return v&amp;=-v,1&lt;v?4&lt;v?(v&amp;268435455)!==0?16:536870912:4:1}var ri,mi,as,Ri,qn,sa=!1,wn=[],Qr=null,Jr=null,Tn=null,Di=new Map,_n=new Map,jn=[],Vm=&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 Wu(v,w){switch(v){case&quot;focusin&quot;:case&quot;focusout&quot;:Qr=null;break;case&quot;dragenter&quot;:case&quot;dragleave&quot;:Jr=null;break;case&quot;mouseover&quot;:case&quot;mouseout&quot;:Tn=null;break;case&quot;pointerover&quot;:case&quot;pointerout&quot;:Di.delete(w.pointerId);break;case&quot;gotpointercapture&quot;:case&quot;lostpointercapture&quot;:_n.delete(w.pointerId)}}function Va(v,w,A,$,G,J){return v===null||v.nativeEvent!==J?(v={blockedOn:w,domEventName:A,eventSystemFlags:$,nativeEvent:J,targetContainers:[G]},w!==null&amp;&amp;(w=dc(w),w!==null&amp;&amp;mi(w)),v):(v.eventSystemFlags|=$,w=v.targetContainers,G!==null&amp;&amp;w.indexOf(G)===-1&amp;&amp;w.push(G),v)}function qm(v,w,A,$,G){switch(w){case&quot;focusin&quot;:return Qr=Va(Qr,v,w,A,$,G),!0;case&quot;dragenter&quot;:return Jr=Va(Jr,v,w,A,$,G),!0;case&quot;mouseover&quot;:return Tn=Va(Tn,v,w,A,$,G),!0;case&quot;pointerover&quot;:var J=G.pointerId;return Di.set(J,Va(Di.get(J)||null,v,w,A,$,G)),!0;case&quot;gotpointercapture&quot;:return J=G.pointerId,_n.set(J,Va(_n.get(J)||null,v,w,A,$,G)),!0}return!1}function Hu(v){var w=Xa(v.target);if(w!==null){var A=rt(w);if(A!==null){if(w=A.tag,w===13){if(w=kt(A),w!==null){v.blockedOn=w,qn(v.priority,function(){as(A)});return}}else if(w===3&amp;&amp;A.stateNode.current.memoizedState.isDehydrated){v.blockedOn=A.tag===3?A.stateNode.containerInfo:null;return}}}v.blockedOn=null}function Fo(v){if(v.blockedOn!==null)return!1;for(var w=v.targetContainers;0&lt;w.length;){var A=Ql(v.domEventName,v.eventSystemFlags,w[0],v.nativeEvent);if(A===null){A=v.nativeEvent;var $=new A.constructor(A.type,A);Tt=$,A.target.dispatchEvent($),Tt=null}else return w=dc(A),w!==null&amp;&amp;mi(w),v.blockedOn=A,!1;w.shift()}return!0}function qa(v,w,A){Fo(v)&amp;&amp;A.delete(w)}function Wm(){sa=!1,Qr!==null&amp;&amp;Fo(Qr)&amp;&amp;(Qr=null),Jr!==null&amp;&amp;Fo(Jr)&amp;&amp;(Jr=null),Tn!==null&amp;&amp;Fo(Tn)&amp;&amp;(Tn=null),Di.forEach(qa),_n.forEach(qa)}function Wa(v,w){v.blockedOn===w&amp;&amp;(v.blockedOn=null,sa||(sa=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Wm)))}function Ha(v){function w(G){return Wa(G,v)}if(0&lt;wn.length){Wa(wn[0],v);for(var A=1;A&lt;wn.length;A++){var $=wn[A];$.blockedOn===v&amp;&amp;($.blockedOn=null)}}for(Qr!==null&amp;&amp;Wa(Qr,v),Jr!==null&amp;&amp;Wa(Jr,v),Tn!==null&amp;&amp;Wa(Tn,v),Di.forEach(w),_n.forEach(w),A=0;A&lt;jn.length;A++)$=jn[A],$.blockedOn===v&amp;&amp;($.blockedOn=null);for(;0&lt;jn.length&amp;&amp;(A=jn[0],A.blockedOn===null);)Hu(A),A.blockedOn===null&amp;&amp;jn.shift()}var aa=E.ReactCurrentBatchConfig,Bo=!0;function Hm(v,w,A,$){var G=Bt,J=aa.transition;aa.transition=null;try{Bt=1,Zl(v,w,A,$)}finally{Bt=G,aa.transition=J}}function Km(v,w,A,$){var G=Bt,J=aa.transition;aa.transition=null;try{Bt=4,Zl(v,w,A,$)}finally{Bt=G,aa.transition=J}}function Zl(v,w,A,$){if(Bo){var G=Ql(v,w,A,$);if(G===null)sp(v,w,$,zo,A),Wu(v,$);else if(qm(G,v,w,A,$))$.stopPropagation();else if(Wu(v,$),w&amp;4&amp;&amp;-1&lt;Vm.indexOf(v)){for(;G!==null;){var J=dc(G);if(J!==null&amp;&amp;ri(J),J=Ql(v,w,A,$),J===null&amp;&amp;sp(v,w,$,zo,A),J===G)break;G=J}G!==null&amp;&amp;$.stopPropagation()}else sp(v,w,$,null,A)}}var zo=null;function Ql(v,w,A,$){if(zo=null,v=qt($),v=Xa(v),v!==null)if(w=rt(v),w===null)v=null;else if(A=w.tag,A===13){if(v=kt(w),v!==null)return v;v=null}else if(A===3){if(w.stateNode.current.memoizedState.isDehydrated)return w.tag===3?w.stateNode.containerInfo:null;v=null}else w!==v&amp;&amp;(v=null);return zo=v,null}function Ku(v){switch(v){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(Te()){case Re:return 1;case et:return 4;case ze:case He:return 16;case Ft:return 536870912;default:return 16}default:return 16}}var os=null,Jl=null,$o=null;function Xu(){if($o)return $o;var v,w=Jl,A=w.length,$,G=&quot;value&quot;in os?os.value:os.textContent,J=G.length;for(v=0;v&lt;A&amp;&amp;w[v]===G[v];v++);var oe=A-v;for($=1;$&lt;=oe&amp;&amp;w[A-$]===G[J-$];$++);return $o=G.slice(v,1&lt;$?1-$:void 0)}function Uo(v){var w=v.keyCode;return&quot;charCode&quot;in v?(v=v.charCode,v===0&amp;&amp;w===13&amp;&amp;(v=13)):v=w,v===10&amp;&amp;(v=13),32&lt;=v||v===13?v:0}function Vo(){return!0}function Gu(){return!1}function Pn(v){function w(A,$,G,J,oe){this._reactName=A,this._targetInst=G,this.type=$,this.nativeEvent=J,this.target=oe,this.currentTarget=null;for(var me in v)v.hasOwnProperty(me)&amp;&amp;(A=v[me],this[me]=A?A(J):J[me]);return this.isDefaultPrevented=(J.defaultPrevented!=null?J.defaultPrevented:J.returnValue===!1)?Vo:Gu,this.isPropagationStopped=Gu,this}return T(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=Vo)},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=Vo)},persist:function(){},isPersistent:Vo}),w}var ls={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(v){return v.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},qo=Pn(ls),Ns=T({},ls,{view:0,detail:0}),Yu=Pn(Ns),ec,tc,Ka,Wo=T({},Ns,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Xm,button:0,buttons:0,relatedTarget:function(v){return v.relatedTarget===void 0?v.fromElement===v.srcElement?v.toElement:v.fromElement:v.relatedTarget},movementX:function(v){return&quot;movementX&quot;in v?v.movementX:(v!==Ka&amp;&amp;(Ka&amp;&amp;v.type===&quot;mousemove&quot;?(ec=v.screenX-Ka.screenX,tc=v.screenY-Ka.screenY):tc=ec=0,Ka=v),ec)},movementY:function(v){return&quot;movementY&quot;in v?v.movementY:tc}}),be=Pn(Wo),Xe=T({},Wo,{dataTransfer:0}),Ot=Pn(Xe),Li=T({},Ns,{relatedTarget:0}),pi=Pn(Li),Ho=T({},ls,{animationName:0,elapsedTime:0,pseudoElement:0}),Zu=Pn(Ho),Qu=T({},ls,{clipboardData:function(v){return&quot;clipboardData&quot;in v?v.clipboardData:window.clipboardData}}),KE=Pn(Qu),XE=T({},ls,{data:0}),M1=Pn(XE),GE={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;},YE={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;},ZE={Alt:&quot;altKey&quot;,Control:&quot;ctrlKey&quot;,Meta:&quot;metaKey&quot;,Shift:&quot;shiftKey&quot;};function QE(v){var w=this.nativeEvent;return w.getModifierState?w.getModifierState(v):(v=ZE[v])?!!w[v]:!1}function Xm(){return QE}var JE=T({},Ns,{key:function(v){if(v.key){var w=GE[v.key]||v.key;if(w!==&quot;Unidentified&quot;)return w}return v.type===&quot;keypress&quot;?(v=Uo(v),v===13?&quot;Enter&quot;:String.fromCharCode(v)):v.type===&quot;keydown&quot;||v.type===&quot;keyup&quot;?YE[v.keyCode]||&quot;Unidentified&quot;:&quot;&quot;},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Xm,charCode:function(v){return v.type===&quot;keypress&quot;?Uo(v):0},keyCode:function(v){return v.type===&quot;keydown&quot;||v.type===&quot;keyup&quot;?v.keyCode:0},which:function(v){return v.type===&quot;keypress&quot;?Uo(v):v.type===&quot;keydown&quot;||v.type===&quot;keyup&quot;?v.keyCode:0}}),eA=Pn(JE),tA=T({},Wo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),O1=Pn(tA),rA=T({},Ns,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Xm}),nA=Pn(rA),iA=T({},ls,{propertyName:0,elapsedTime:0,pseudoElement:0}),sA=Pn(iA),aA=T({},Wo,{deltaX:function(v){return&quot;deltaX&quot;in v?v.deltaX:&quot;wheelDeltaX&quot;in v?-v.wheelDeltaX:0},deltaY:function(v){return&quot;deltaY&quot;in v?v.deltaY:&quot;wheelDeltaY&quot;in v?-v.wheelDeltaY:&quot;wheelDelta&quot;in v?-v.wheelDelta:0},deltaZ:0,deltaMode:0}),oA=Pn(aA),lA=[9,13,27,32],Gm=u&amp;&amp;&quot;CompositionEvent&quot;in window,rc=null;u&amp;&amp;&quot;documentMode&quot;in document&amp;&amp;(rc=document.documentMode);var cA=u&amp;&amp;&quot;TextEvent&quot;in window&amp;&amp;!rc,T1=u&amp;&amp;(!Gm||rc&amp;&amp;8&lt;rc&amp;&amp;11&gt;=rc),P1=&quot; &quot;,I1=!1;function R1(v,w){switch(v){case&quot;keyup&quot;:return lA.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 D1(v){return v=v.detail,typeof v==&quot;object&quot;&amp;&amp;&quot;data&quot;in v?v.data:null}var Ko=!1;function uA(v,w){switch(v){case&quot;compositionend&quot;:return D1(w);case&quot;keypress&quot;:return w.which!==32?null:(I1=!0,P1);case&quot;textInput&quot;:return v=w.data,v===P1&amp;&amp;I1?null:v;default:return null}}function dA(v,w){if(Ko)return v===&quot;compositionend&quot;||!Gm&amp;&amp;R1(v,w)?(v=Xu(),$o=Jl=os=null,Ko=!1,v):null;switch(v){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 T1&amp;&amp;w.locale!==&quot;ko&quot;?null:w.data;default:return null}}var fA={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 L1(v){var w=v&amp;&amp;v.nodeName&amp;&amp;v.nodeName.toLowerCase();return w===&quot;input&quot;?!!fA[v.type]:w===&quot;textarea&quot;}function F1(v,w,A,$){Zt($),w=nd(w,&quot;onChange&quot;),0&lt;w.length&amp;&amp;(A=new qo(&quot;onChange&quot;,&quot;change&quot;,null,A,$),v.push({event:A,listeners:w}))}var nc=null,ic=null;function hA(v){r2(v,0)}function Ju(v){var w=Qo(v);if(Z(w))return v}function mA(v,w){if(v===&quot;change&quot;)return w}var B1=!1;if(u){var Ym;if(u){var Zm=&quot;oninput&quot;in document;if(!Zm){var z1=document.createElement(&quot;div&quot;);z1.setAttribute(&quot;oninput&quot;,&quot;return;&quot;),Zm=typeof z1.oninput==&quot;function&quot;}Ym=Zm}else Ym=!1;B1=Ym&amp;&amp;(!document.documentMode||9&lt;document.documentMode)}function $1(){nc&amp;&amp;(nc.detachEvent(&quot;onpropertychange&quot;,U1),ic=nc=null)}function U1(v){if(v.propertyName===&quot;value&quot;&amp;&amp;Ju(ic)){var w=[];F1(w,ic,v,qt(v)),xt(hA,w)}}function pA(v,w,A){v===&quot;focusin&quot;?($1(),nc=w,ic=A,nc.attachEvent(&quot;onpropertychange&quot;,U1)):v===&quot;focusout&quot;&amp;&amp;$1()}function gA(v){if(v===&quot;selectionchange&quot;||v===&quot;keyup&quot;||v===&quot;keydown&quot;)return Ju(ic)}function vA(v,w){if(v===&quot;click&quot;)return Ju(w)}function yA(v,w){if(v===&quot;input&quot;||v===&quot;change&quot;)return Ju(w)}function bA(v,w){return v===w&amp;&amp;(v!==0||1/v===1/w)||v!==v&amp;&amp;w!==w}var Fi=typeof Object.is==&quot;function&quot;?Object.is:bA;function sc(v,w){if(Fi(v,w))return!0;if(typeof v!=&quot;object&quot;||v===null||typeof w!=&quot;object&quot;||w===null)return!1;var A=Object.keys(v),$=Object.keys(w);if(A.length!==$.length)return!1;for($=0;$&lt;A.length;$++){var G=A[$];if(!l.call(w,G)||!Fi(v[G],w[G]))return!1}return!0}function V1(v){for(;v&amp;&amp;v.firstChild;)v=v.firstChild;return v}function q1(v,w){var A=V1(v);v=0;for(var $;A;){if(A.nodeType===3){if($=v+A.textContent.length,v&lt;=w&amp;&amp;$&gt;=w)return{node:A,offset:w-v};v=$}e:{for(;A;){if(A.nextSibling){A=A.nextSibling;break e}A=A.parentNode}A=void 0}A=V1(A)}}function W1(v,w){return v&amp;&amp;w?v===w?!0:v&amp;&amp;v.nodeType===3?!1:w&amp;&amp;w.nodeType===3?W1(v,w.parentNode):&quot;contains&quot;in v?v.contains(w):v.compareDocumentPosition?!!(v.compareDocumentPosition(w)&amp;16):!1:!1}function H1(){for(var v=window,w=te();w instanceof v.HTMLIFrameElement;){try{var A=typeof w.contentWindow.location.href==&quot;string&quot;}catch{A=!1}if(A)v=w.contentWindow;else break;w=te(v.document)}return w}function Qm(v){var w=v&amp;&amp;v.nodeName&amp;&amp;v.nodeName.toLowerCase();return w&amp;&amp;(w===&quot;input&quot;&amp;&amp;(v.type===&quot;text&quot;||v.type===&quot;search&quot;||v.type===&quot;tel&quot;||v.type===&quot;url&quot;||v.type===&quot;password&quot;)||w===&quot;textarea&quot;||v.contentEditable===&quot;true&quot;)}function xA(v){var w=H1(),A=v.focusedElem,$=v.selectionRange;if(w!==A&amp;&amp;A&amp;&amp;A.ownerDocument&amp;&amp;W1(A.ownerDocument.documentElement,A)){if($!==null&amp;&amp;Qm(A)){if(w=$.start,v=$.end,v===void 0&amp;&amp;(v=w),&quot;selectionStart&quot;in A)A.selectionStart=w,A.selectionEnd=Math.min(v,A.value.length);else if(v=(w=A.ownerDocument||document)&amp;&amp;w.defaultView||window,v.getSelection){v=v.getSelection();var G=A.textContent.length,J=Math.min($.start,G);$=$.end===void 0?J:Math.min($.end,G),!v.extend&amp;&amp;J&gt;$&amp;&amp;(G=$,$=J,J=G),G=q1(A,J);var oe=q1(A,$);G&amp;&amp;oe&amp;&amp;(v.rangeCount!==1||v.anchorNode!==G.node||v.anchorOffset!==G.offset||v.focusNode!==oe.node||v.focusOffset!==oe.offset)&amp;&amp;(w=w.createRange(),w.setStart(G.node,G.offset),v.removeAllRanges(),J&gt;$?(v.addRange(w),v.extend(oe.node,oe.offset)):(w.setEnd(oe.node,oe.offset),v.addRange(w)))}}for(w=[],v=A;v=v.parentNode;)v.nodeType===1&amp;&amp;w.push({element:v,left:v.scrollLeft,top:v.scrollTop});for(typeof A.focus==&quot;function&quot;&amp;&amp;A.focus(),A=0;A&lt;w.length;A++)v=w[A],v.element.scrollLeft=v.left,v.element.scrollTop=v.top}}var wA=u&amp;&amp;&quot;documentMode&quot;in document&amp;&amp;11&gt;=document.documentMode,Xo=null,Jm=null,ac=null,ep=!1;function K1(v,w,A){var $=A.window===A?A.document:A.nodeType===9?A:A.ownerDocument;ep||Xo==null||Xo!==te($)||($=Xo,&quot;selectionStart&quot;in $&amp;&amp;Qm($)?$={start:$.selectionStart,end:$.selectionEnd}:($=($.ownerDocument&amp;&amp;$.ownerDocument.defaultView||window).getSelection(),$={anchorNode:$.anchorNode,anchorOffset:$.anchorOffset,focusNode:$.focusNode,focusOffset:$.focusOffset}),ac&amp;&amp;sc(ac,$)||(ac=$,$=nd(Jm,&quot;onSelect&quot;),0&lt;$.length&amp;&amp;(w=new qo(&quot;onSelect&quot;,&quot;select&quot;,null,w,A),v.push({event:w,listeners:$}),w.target=Xo)))}function ed(v,w){var A={};return A[v.toLowerCase()]=w.toLowerCase(),A[&quot;Webkit&quot;+v]=&quot;webkit&quot;+w,A[&quot;Moz&quot;+v]=&quot;moz&quot;+w,A}var Go={animationend:ed(&quot;Animation&quot;,&quot;AnimationEnd&quot;),animationiteration:ed(&quot;Animation&quot;,&quot;AnimationIteration&quot;),animationstart:ed(&quot;Animation&quot;,&quot;AnimationStart&quot;),transitionend:ed(&quot;Transition&quot;,&quot;TransitionEnd&quot;)},tp={},X1={};u&amp;&amp;(X1=document.createElement(&quot;div&quot;).style,&quot;AnimationEvent&quot;in window||(delete Go.animationend.animation,delete Go.animationiteration.animation,delete Go.animationstart.animation),&quot;TransitionEvent&quot;in window||delete Go.transitionend.transition);function td(v){if(tp[v])return tp[v];if(!Go[v])return v;var w=Go[v],A;for(A in w)if(w.hasOwnProperty(A)&amp;&amp;A in X1)return tp[v]=w[A];return v}var G1=td(&quot;animationend&quot;),Y1=td(&quot;animationiteration&quot;),Z1=td(&quot;animationstart&quot;),Q1=td(&quot;transitionend&quot;),J1=new Map,e2=&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 oa(v,w){J1.set(v,w),i(w,[v])}for(var rp=0;rp&lt;e2.length;rp++){var np=e2[rp],_A=np.toLowerCase(),jA=np[0].toUpperCase()+np.slice(1);oa(_A,&quot;on&quot;+jA)}oa(G1,&quot;onAnimationEnd&quot;),oa(Y1,&quot;onAnimationIteration&quot;),oa(Z1,&quot;onAnimationStart&quot;),oa(&quot;dblclick&quot;,&quot;onDoubleClick&quot;),oa(&quot;focusin&quot;,&quot;onFocus&quot;),oa(&quot;focusout&quot;,&quot;onBlur&quot;),oa(Q1,&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 oc=&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;),SA=new Set(&quot;cancel close invalid load scroll toggle&quot;.split(&quot; &quot;).concat(oc));function t2(v,w,A){var $=v.type||&quot;unknown-event&quot;;v.currentTarget=A,pt($,w,void 0,v),v.currentTarget=null}function r2(v,w){w=(w&amp;4)!==0;for(var A=0;A&lt;v.length;A++){var $=v[A],G=$.event;$=$.listeners;e:{var J=void 0;if(w)for(var oe=$.length-1;0&lt;=oe;oe--){var me=$[oe],ye=me.instance,Ce=me.currentTarget;if(me=me.listener,ye!==J&amp;&amp;G.isPropagationStopped())break e;t2(G,me,Ce),J=ye}else for(oe=0;oe&lt;$.length;oe++){if(me=$[oe],ye=me.instance,Ce=me.currentTarget,me=me.listener,ye!==J&amp;&amp;G.isPropagationStopped())break e;t2(G,me,Ce),J=ye}}}if(Ue)throw v=ft,Ue=!1,ft=null,v}function pr(v,w){var A=w[dp];A===void 0&amp;&amp;(A=w[dp]=new Set);var $=v+&quot;__bubble&quot;;A.has($)||(n2(w,v,2,!1),A.add($))}function ip(v,w,A){var $=0;w&amp;&amp;($|=4),n2(A,v,$,w)}var rd=&quot;_reactListening&quot;+Math.random().toString(36).slice(2);function lc(v){if(!v[rd]){v[rd]=!0,n.forEach(function(A){A!==&quot;selectionchange&quot;&amp;&amp;(SA.has(A)||ip(A,!1,v),ip(A,!0,v))});var w=v.nodeType===9?v:v.ownerDocument;w===null||w[rd]||(w[rd]=!0,ip(&quot;selectionchange&quot;,!1,w))}}function n2(v,w,A,$){switch(Ku(w)){case 1:var G=Hm;break;case 4:G=Km;break;default:G=Zl}A=G.bind(null,w,A,v),G=void 0,!Lt||w!==&quot;touchstart&quot;&amp;&amp;w!==&quot;touchmove&quot;&amp;&amp;w!==&quot;wheel&quot;||(G=!0),$?G!==void 0?v.addEventListener(w,A,{capture:!0,passive:G}):v.addEventListener(w,A,!0):G!==void 0?v.addEventListener(w,A,{passive:G}):v.addEventListener(w,A,!1)}function sp(v,w,A,$,G){var J=$;if((w&amp;1)===0&amp;&amp;(w&amp;2)===0&amp;&amp;$!==null)e:for(;;){if($===null)return;var oe=$.tag;if(oe===3||oe===4){var me=$.stateNode.containerInfo;if(me===G||me.nodeType===8&amp;&amp;me.parentNode===G)break;if(oe===4)for(oe=$.return;oe!==null;){var ye=oe.tag;if((ye===3||ye===4)&amp;&amp;(ye=oe.stateNode.containerInfo,ye===G||ye.nodeType===8&amp;&amp;ye.parentNode===G))return;oe=oe.return}for(;me!==null;){if(oe=Xa(me),oe===null)return;if(ye=oe.tag,ye===5||ye===6){$=J=oe;continue e}me=me.parentNode}}$=$.return}xt(function(){var Ce=J,Le=qt(A),Be=[];e:{var De=J1.get(v);if(De!==void 0){var nt=qo,ut=v;switch(v){case&quot;keypress&quot;:if(Uo(A)===0)break e;case&quot;keydown&quot;:case&quot;keyup&quot;:nt=eA;break;case&quot;focusin&quot;:ut=&quot;focus&quot;,nt=pi;break;case&quot;focusout&quot;:ut=&quot;blur&quot;,nt=pi;break;case&quot;beforeblur&quot;:case&quot;afterblur&quot;:nt=pi;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=be;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=Ot;break;case&quot;touchcancel&quot;:case&quot;touchend&quot;:case&quot;touchmove&quot;:case&quot;touchstart&quot;:nt=nA;break;case G1:case Y1:case Z1:nt=Zu;break;case Q1:nt=sA;break;case&quot;scroll&quot;:nt=Yu;break;case&quot;wheel&quot;:nt=oA;break;case&quot;copy&quot;:case&quot;cut&quot;:case&quot;paste&quot;:nt=KE;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=O1}var ht=(w&amp;4)!==0,Dr=!ht&amp;&amp;v===&quot;scroll&quot;,ke=ht?De!==null?De+&quot;Capture&quot;:null:De;ht=[];for(var xe=Ce,Ne;xe!==null;){Ne=xe;var qe=Ne.stateNode;if(Ne.tag===5&amp;&amp;qe!==null&amp;&amp;(Ne=qe,ke!==null&amp;&amp;(qe=zt(xe,ke),qe!=null&amp;&amp;ht.push(cc(xe,qe,Ne)))),Dr)break;xe=xe.return}0&lt;ht.length&amp;&amp;(De=new nt(De,ut,null,A,Le),Be.push({event:De,listeners:ht}))}}if((w&amp;7)===0){e:{if(De=v===&quot;mouseover&quot;||v===&quot;pointerover&quot;,nt=v===&quot;mouseout&quot;||v===&quot;pointerout&quot;,De&amp;&amp;A!==Tt&amp;&amp;(ut=A.relatedTarget||A.fromElement)&amp;&amp;(Xa(ut)||ut[Cs]))break e;if((nt||De)&amp;&amp;(De=Le.window===Le?Le:(De=Le.ownerDocument)?De.defaultView||De.parentWindow:window,nt?(ut=A.relatedTarget||A.toElement,nt=Ce,ut=ut?Xa(ut):null,ut!==null&amp;&amp;(Dr=rt(ut),ut!==Dr||ut.tag!==5&amp;&amp;ut.tag!==6)&amp;&amp;(ut=null)):(nt=null,ut=Ce),nt!==ut)){if(ht=be,qe=&quot;onMouseLeave&quot;,ke=&quot;onMouseEnter&quot;,xe=&quot;mouse&quot;,(v===&quot;pointerout&quot;||v===&quot;pointerover&quot;)&amp;&amp;(ht=O1,qe=&quot;onPointerLeave&quot;,ke=&quot;onPointerEnter&quot;,xe=&quot;pointer&quot;),Dr=nt==null?De:Qo(nt),Ne=ut==null?De:Qo(ut),De=new ht(qe,xe+&quot;leave&quot;,nt,A,Le),De.target=Dr,De.relatedTarget=Ne,qe=null,Xa(Le)===Ce&amp;&amp;(ht=new ht(ke,xe+&quot;enter&quot;,ut,A,Le),ht.target=Ne,ht.relatedTarget=Dr,qe=ht),Dr=qe,nt&amp;&amp;ut)t:{for(ht=nt,ke=ut,xe=0,Ne=ht;Ne;Ne=Yo(Ne))xe++;for(Ne=0,qe=ke;qe;qe=Yo(qe))Ne++;for(;0&lt;xe-Ne;)ht=Yo(ht),xe--;for(;0&lt;Ne-xe;)ke=Yo(ke),Ne--;for(;xe--;){if(ht===ke||ke!==null&amp;&amp;ht===ke.alternate)break t;ht=Yo(ht),ke=Yo(ke)}ht=null}else ht=null;nt!==null&amp;&amp;i2(Be,De,nt,ht,!1),ut!==null&amp;&amp;Dr!==null&amp;&amp;i2(Be,Dr,ut,ht,!0)}}e:{if(De=Ce?Qo(Ce):window,nt=De.nodeName&amp;&amp;De.nodeName.toLowerCase(),nt===&quot;select&quot;||nt===&quot;input&quot;&amp;&amp;De.type===&quot;file&quot;)var gt=mA;else if(L1(De))if(B1)gt=yA;else{gt=gA;var Nt=pA}else(nt=De.nodeName)&amp;&amp;nt.toLowerCase()===&quot;input&quot;&amp;&amp;(De.type===&quot;checkbox&quot;||De.type===&quot;radio&quot;)&amp;&amp;(gt=vA);if(gt&amp;&amp;(gt=gt(v,Ce))){F1(Be,gt,A,Le);break e}Nt&amp;&amp;Nt(v,De,Ce),v===&quot;focusout&quot;&amp;&amp;(Nt=De._wrapperState)&amp;&amp;Nt.controlled&amp;&amp;De.type===&quot;number&quot;&amp;&amp;ie(De,&quot;number&quot;,De.value)}switch(Nt=Ce?Qo(Ce):window,v){case&quot;focusin&quot;:(L1(Nt)||Nt.contentEditable===&quot;true&quot;)&amp;&amp;(Xo=Nt,Jm=Ce,ac=null);break;case&quot;focusout&quot;:ac=Jm=Xo=null;break;case&quot;mousedown&quot;:ep=!0;break;case&quot;contextmenu&quot;:case&quot;mouseup&quot;:case&quot;dragend&quot;:ep=!1,K1(Be,A,Le);break;case&quot;selectionchange&quot;:if(wA)break;case&quot;keydown&quot;:case&quot;keyup&quot;:K1(Be,A,Le)}var Ct;if(Gm)e:{switch(v){case&quot;compositionstart&quot;:var It=&quot;onCompositionStart&quot;;break e;case&quot;compositionend&quot;:It=&quot;onCompositionEnd&quot;;break e;case&quot;compositionupdate&quot;:It=&quot;onCompositionUpdate&quot;;break e}It=void 0}else Ko?R1(v,A)&amp;&amp;(It=&quot;onCompositionEnd&quot;):v===&quot;keydown&quot;&amp;&amp;A.keyCode===229&amp;&amp;(It=&quot;onCompositionStart&quot;);It&amp;&amp;(T1&amp;&amp;A.locale!==&quot;ko&quot;&amp;&amp;(Ko||It!==&quot;onCompositionStart&quot;?It===&quot;onCompositionEnd&quot;&amp;&amp;Ko&amp;&amp;(Ct=Xu()):(os=Le,Jl=&quot;value&quot;in os?os.value:os.textContent,Ko=!0)),Nt=nd(Ce,It),0&lt;Nt.length&amp;&amp;(It=new M1(It,v,null,A,Le),Be.push({event:It,listeners:Nt}),Ct?It.data=Ct:(Ct=D1(A),Ct!==null&amp;&amp;(It.data=Ct)))),(Ct=cA?uA(v,A):dA(v,A))&amp;&amp;(Ce=nd(Ce,&quot;onBeforeInput&quot;),0&lt;Ce.length&amp;&amp;(Le=new M1(&quot;onBeforeInput&quot;,&quot;beforeinput&quot;,null,A,Le),Be.push({event:Le,listeners:Ce}),Le.data=Ct))}r2(Be,w)})}function cc(v,w,A){return{instance:v,listener:w,currentTarget:A}}function nd(v,w){for(var A=w+&quot;Capture&quot;,$=[];v!==null;){var G=v,J=G.stateNode;G.tag===5&amp;&amp;J!==null&amp;&amp;(G=J,J=zt(v,A),J!=null&amp;&amp;$.unshift(cc(v,J,G)),J=zt(v,w),J!=null&amp;&amp;$.push(cc(v,J,G))),v=v.return}return $}function Yo(v){if(v===null)return null;do v=v.return;while(v&amp;&amp;v.tag!==5);return v||null}function i2(v,w,A,$,G){for(var J=w._reactName,oe=[];A!==null&amp;&amp;A!==$;){var me=A,ye=me.alternate,Ce=me.stateNode;if(ye!==null&amp;&amp;ye===$)break;me.tag===5&amp;&amp;Ce!==null&amp;&amp;(me=Ce,G?(ye=zt(A,J),ye!=null&amp;&amp;oe.unshift(cc(A,ye,me))):G||(ye=zt(A,J),ye!=null&amp;&amp;oe.push(cc(A,ye,me)))),A=A.return}oe.length!==0&amp;&amp;v.push({event:w,listeners:oe})}var kA=/\r\n?/g,NA=/\u0000|\uFFFD/g;function s2(v){return(typeof v==&quot;string&quot;?v:&quot;&quot;+v).replace(kA,`
`).replace(NA,&quot;&quot;)}function id(v,w,A){if(w=s2(w),s2(v)!==w&amp;&amp;A)throw Error(t(425))}function sd(){}var ap=null,op=null;function lp(v,w){return v===&quot;textarea&quot;||v===&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 cp=typeof setTimeout==&quot;function&quot;?setTimeout:void 0,CA=typeof clearTimeout==&quot;function&quot;?clearTimeout:void 0,a2=typeof Promise==&quot;function&quot;?Promise:void 0,EA=typeof queueMicrotask==&quot;function&quot;?queueMicrotask:typeof a2&lt;&quot;u&quot;?function(v){return a2.resolve(null).then(v).catch(AA)}:cp;function AA(v){setTimeout(function(){throw v})}function up(v,w){var A=w,$=0;do{var G=A.nextSibling;if(v.removeChild(A),G&amp;&amp;G.nodeType===8)if(A=G.data,A===&quot;/$&quot;){if($===0){v.removeChild(G),Ha(w);return}$--}else A!==&quot;$&quot;&amp;&amp;A!==&quot;$?&quot;&amp;&amp;A!==&quot;$!&quot;||$++;A=G}while(A);Ha(w)}function la(v){for(;v!=null;v=v.nextSibling){var w=v.nodeType;if(w===1||w===3)break;if(w===8){if(w=v.data,w===&quot;$&quot;||w===&quot;$!&quot;||w===&quot;$?&quot;)break;if(w===&quot;/$&quot;)return null}}return v}function o2(v){v=v.previousSibling;for(var w=0;v;){if(v.nodeType===8){var A=v.data;if(A===&quot;$&quot;||A===&quot;$!&quot;||A===&quot;$?&quot;){if(w===0)return v;w--}else A===&quot;/$&quot;&amp;&amp;w++}v=v.previousSibling}return null}var Zo=Math.random().toString(36).slice(2),cs=&quot;__reactFiber$&quot;+Zo,uc=&quot;__reactProps$&quot;+Zo,Cs=&quot;__reactContainer$&quot;+Zo,dp=&quot;__reactEvents$&quot;+Zo,MA=&quot;__reactListeners$&quot;+Zo,OA=&quot;__reactHandles$&quot;+Zo;function Xa(v){var w=v[cs];if(w)return w;for(var A=v.parentNode;A;){if(w=A[Cs]||A[cs]){if(A=w.alternate,w.child!==null||A!==null&amp;&amp;A.child!==null)for(v=o2(v);v!==null;){if(A=v[cs])return A;v=o2(v)}return w}v=A,A=v.parentNode}return null}function dc(v){return v=v[cs]||v[Cs],!v||v.tag!==5&amp;&amp;v.tag!==6&amp;&amp;v.tag!==13&amp;&amp;v.tag!==3?null:v}function Qo(v){if(v.tag===5||v.tag===6)return v.stateNode;throw Error(t(33))}function ad(v){return v[uc]||null}var fp=[],Jo=-1;function ca(v){return{current:v}}function gr(v){0&gt;Jo||(v.current=fp[Jo],fp[Jo]=null,Jo--)}function fr(v,w){Jo++,fp[Jo]=v.current,v.current=w}var ua={},Sn=ca(ua),Wn=ca(!1),Ga=ua;function el(v,w){var A=v.type.contextTypes;if(!A)return ua;var $=v.stateNode;if($&amp;&amp;$.__reactInternalMemoizedUnmaskedChildContext===w)return $.__reactInternalMemoizedMaskedChildContext;var G={},J;for(J in A)G[J]=w[J];return $&amp;&amp;(v=v.stateNode,v.__reactInternalMemoizedUnmaskedChildContext=w,v.__reactInternalMemoizedMaskedChildContext=G),G}function Hn(v){return v=v.childContextTypes,v!=null}function od(){gr(Wn),gr(Sn)}function l2(v,w,A){if(Sn.current!==ua)throw Error(t(168));fr(Sn,w),fr(Wn,A)}function c2(v,w,A){var $=v.stateNode;if(w=w.childContextTypes,typeof $.getChildContext!=&quot;function&quot;)return A;$=$.getChildContext();for(var G in $)if(!(G in w))throw Error(t(108,ee(v)||&quot;Unknown&quot;,G));return T({},A,$)}function ld(v){return v=(v=v.stateNode)&amp;&amp;v.__reactInternalMemoizedMergedChildContext||ua,Ga=Sn.current,fr(Sn,v),fr(Wn,Wn.current),!0}function u2(v,w,A){var $=v.stateNode;if(!$)throw Error(t(169));A?(v=c2(v,w,Ga),$.__reactInternalMemoizedMergedChildContext=v,gr(Wn),gr(Sn),fr(Sn,v)):gr(Wn),fr(Wn,A)}var Es=null,cd=!1,hp=!1;function d2(v){Es===null?Es=[v]:Es.push(v)}function TA(v){cd=!0,d2(v)}function da(){if(!hp&amp;&amp;Es!==null){hp=!0;var v=0,w=Bt;try{var A=Es;for(Bt=1;v&lt;A.length;v++){var $=A[v];do $=$(!0);while($!==null)}Es=null,cd=!1}catch(G){throw Es!==null&amp;&amp;(Es=Es.slice(v+1)),Pt(Re,da),G}finally{Bt=w,hp=!1}}return null}var tl=[],rl=0,ud=null,dd=0,gi=[],vi=0,Ya=null,As=1,Ms=&quot;&quot;;function Za(v,w){tl[rl++]=dd,tl[rl++]=ud,ud=v,dd=w}function f2(v,w,A){gi[vi++]=As,gi[vi++]=Ms,gi[vi++]=Ya,Ya=v;var $=As;v=Ms;var G=32-Et($)-1;$&amp;=~(1&lt;&lt;G),A+=1;var J=32-Et(w)+G;if(30&lt;J){var oe=G-G%5;J=($&amp;(1&lt;&lt;oe)-1).toString(32),$&gt;&gt;=oe,G-=oe,As=1&lt;&lt;32-Et(w)+G|A&lt;&lt;G|$,Ms=J+v}else As=1&lt;&lt;J|A&lt;&lt;G|$,Ms=v}function mp(v){v.return!==null&amp;&amp;(Za(v,1),f2(v,1,0))}function pp(v){for(;v===ud;)ud=tl[--rl],tl[rl]=null,dd=tl[--rl],tl[rl]=null;for(;v===Ya;)Ya=gi[--vi],gi[vi]=null,Ms=gi[--vi],gi[vi]=null,As=gi[--vi],gi[vi]=null}var ni=null,ii=null,br=!1,Bi=null;function h2(v,w){var A=wi(5,null,null,0);A.elementType=&quot;DELETED&quot;,A.stateNode=w,A.return=v,w=v.deletions,w===null?(v.deletions=[A],v.flags|=16):w.push(A)}function m2(v,w){switch(v.tag){case 5:var A=v.type;return w=w.nodeType!==1||A.toLowerCase()!==w.nodeName.toLowerCase()?null:w,w!==null?(v.stateNode=w,ni=v,ii=la(w.firstChild),!0):!1;case 6:return w=v.pendingProps===&quot;&quot;||w.nodeType!==3?null:w,w!==null?(v.stateNode=w,ni=v,ii=null,!0):!1;case 13:return w=w.nodeType!==8?null:w,w!==null?(A=Ya!==null?{id:As,overflow:Ms}:null,v.memoizedState={dehydrated:w,treeContext:A,retryLane:1073741824},A=wi(18,null,null,0),A.stateNode=w,A.return=v,v.child=A,ni=v,ii=null,!0):!1;default:return!1}}function gp(v){return(v.mode&amp;1)!==0&amp;&amp;(v.flags&amp;128)===0}function vp(v){if(br){var w=ii;if(w){var A=w;if(!m2(v,w)){if(gp(v))throw Error(t(418));w=la(A.nextSibling);var $=ni;w&amp;&amp;m2(v,w)?h2($,A):(v.flags=v.flags&amp;-4097|2,br=!1,ni=v)}}else{if(gp(v))throw Error(t(418));v.flags=v.flags&amp;-4097|2,br=!1,ni=v}}}function p2(v){for(v=v.return;v!==null&amp;&amp;v.tag!==5&amp;&amp;v.tag!==3&amp;&amp;v.tag!==13;)v=v.return;ni=v}function fd(v){if(v!==ni)return!1;if(!br)return p2(v),br=!0,!1;var w;if((w=v.tag!==3)&amp;&amp;!(w=v.tag!==5)&amp;&amp;(w=v.type,w=w!==&quot;head&quot;&amp;&amp;w!==&quot;body&quot;&amp;&amp;!lp(v.type,v.memoizedProps)),w&amp;&amp;(w=ii)){if(gp(v))throw g2(),Error(t(418));for(;w;)h2(v,w),w=la(w.nextSibling)}if(p2(v),v.tag===13){if(v=v.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(t(317));e:{for(v=v.nextSibling,w=0;v;){if(v.nodeType===8){var A=v.data;if(A===&quot;/$&quot;){if(w===0){ii=la(v.nextSibling);break e}w--}else A!==&quot;$&quot;&amp;&amp;A!==&quot;$!&quot;&amp;&amp;A!==&quot;$?&quot;||w++}v=v.nextSibling}ii=null}}else ii=ni?la(v.stateNode.nextSibling):null;return!0}function g2(){for(var v=ii;v;)v=la(v.nextSibling)}function nl(){ii=ni=null,br=!1}function yp(v){Bi===null?Bi=[v]:Bi.push(v)}var PA=E.ReactCurrentBatchConfig;function fc(v,w,A){if(v=A.ref,v!==null&amp;&amp;typeof v!=&quot;function&quot;&amp;&amp;typeof v!=&quot;object&quot;){if(A._owner){if(A=A._owner,A){if(A.tag!==1)throw Error(t(309));var $=A.stateNode}if(!$)throw Error(t(147,v));var G=$,J=&quot;&quot;+v;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(oe){var me=G.refs;oe===null?delete me[J]:me[J]=oe},w._stringRef=J,w)}if(typeof v!=&quot;string&quot;)throw Error(t(284));if(!A._owner)throw Error(t(290,v))}return v}function hd(v,w){throw v=Object.prototype.toString.call(w),Error(t(31,v===&quot;[object Object]&quot;?&quot;object with keys {&quot;+Object.keys(w).join(&quot;, &quot;)+&quot;}&quot;:v))}function v2(v){var w=v._init;return w(v._payload)}function y2(v){function w(ke,xe){if(v){var Ne=ke.deletions;Ne===null?(ke.deletions=[xe],ke.flags|=16):Ne.push(xe)}}function A(ke,xe){if(!v)return null;for(;xe!==null;)w(ke,xe),xe=xe.sibling;return null}function $(ke,xe){for(ke=new Map;xe!==null;)xe.key!==null?ke.set(xe.key,xe):ke.set(xe.index,xe),xe=xe.sibling;return ke}function G(ke,xe){return ke=ba(ke,xe),ke.index=0,ke.sibling=null,ke}function J(ke,xe,Ne){return ke.index=Ne,v?(Ne=ke.alternate,Ne!==null?(Ne=Ne.index,Ne&lt;xe?(ke.flags|=2,xe):Ne):(ke.flags|=2,xe)):(ke.flags|=1048576,xe)}function oe(ke){return v&amp;&amp;ke.alternate===null&amp;&amp;(ke.flags|=2),ke}function me(ke,xe,Ne,qe){return xe===null||xe.tag!==6?(xe=c0(Ne,ke.mode,qe),xe.return=ke,xe):(xe=G(xe,Ne),xe.return=ke,xe)}function ye(ke,xe,Ne,qe){var gt=Ne.type;return gt===W?Le(ke,xe,Ne.props.children,qe,Ne.key):xe!==null&amp;&amp;(xe.elementType===gt||typeof gt==&quot;object&quot;&amp;&amp;gt!==null&amp;&amp;gt.$$typeof===j&amp;&amp;v2(gt)===xe.type)?(qe=G(xe,Ne.props),qe.ref=fc(ke,xe,Ne),qe.return=ke,qe):(qe=Ld(Ne.type,Ne.key,Ne.props,null,ke.mode,qe),qe.ref=fc(ke,xe,Ne),qe.return=ke,qe)}function Ce(ke,xe,Ne,qe){return xe===null||xe.tag!==4||xe.stateNode.containerInfo!==Ne.containerInfo||xe.stateNode.implementation!==Ne.implementation?(xe=u0(Ne,ke.mode,qe),xe.return=ke,xe):(xe=G(xe,Ne.children||[]),xe.return=ke,xe)}function Le(ke,xe,Ne,qe,gt){return xe===null||xe.tag!==7?(xe=so(Ne,ke.mode,qe,gt),xe.return=ke,xe):(xe=G(xe,Ne),xe.return=ke,xe)}function Be(ke,xe,Ne){if(typeof xe==&quot;string&quot;&amp;&amp;xe!==&quot;&quot;||typeof xe==&quot;number&quot;)return xe=c0(&quot;&quot;+xe,ke.mode,Ne),xe.return=ke,xe;if(typeof xe==&quot;object&quot;&amp;&amp;xe!==null){switch(xe.$$typeof){case M:return Ne=Ld(xe.type,xe.key,xe.props,null,ke.mode,Ne),Ne.ref=fc(ke,null,xe),Ne.return=ke,Ne;case D:return xe=u0(xe,ke.mode,Ne),xe.return=ke,xe;case j:var qe=xe._init;return Be(ke,qe(xe._payload),Ne)}if(he(xe)||N(xe))return xe=so(xe,ke.mode,Ne,null),xe.return=ke,xe;hd(ke,xe)}return null}function De(ke,xe,Ne,qe){var gt=xe!==null?xe.key:null;if(typeof Ne==&quot;string&quot;&amp;&amp;Ne!==&quot;&quot;||typeof Ne==&quot;number&quot;)return gt!==null?null:me(ke,xe,&quot;&quot;+Ne,qe);if(typeof Ne==&quot;object&quot;&amp;&amp;Ne!==null){switch(Ne.$$typeof){case M:return Ne.key===gt?ye(ke,xe,Ne,qe):null;case D:return Ne.key===gt?Ce(ke,xe,Ne,qe):null;case j:return gt=Ne._init,De(ke,xe,gt(Ne._payload),qe)}if(he(Ne)||N(Ne))return gt!==null?null:Le(ke,xe,Ne,qe,null);hd(ke,Ne)}return null}function nt(ke,xe,Ne,qe,gt){if(typeof qe==&quot;string&quot;&amp;&amp;qe!==&quot;&quot;||typeof qe==&quot;number&quot;)return ke=ke.get(Ne)||null,me(xe,ke,&quot;&quot;+qe,gt);if(typeof qe==&quot;object&quot;&amp;&amp;qe!==null){switch(qe.$$typeof){case M:return ke=ke.get(qe.key===null?Ne:qe.key)||null,ye(xe,ke,qe,gt);case D:return ke=ke.get(qe.key===null?Ne:qe.key)||null,Ce(xe,ke,qe,gt);case j:var Nt=qe._init;return nt(ke,xe,Ne,Nt(qe._payload),gt)}if(he(qe)||N(qe))return ke=ke.get(Ne)||null,Le(xe,ke,qe,gt,null);hd(xe,qe)}return null}function ut(ke,xe,Ne,qe){for(var gt=null,Nt=null,Ct=xe,It=xe=0,rn=null;Ct!==null&amp;&amp;It&lt;Ne.length;It++){Ct.index&gt;It?(rn=Ct,Ct=null):rn=Ct.sibling;var rr=De(ke,Ct,Ne[It],qe);if(rr===null){Ct===null&amp;&amp;(Ct=rn);break}v&amp;&amp;Ct&amp;&amp;rr.alternate===null&amp;&amp;w(ke,Ct),xe=J(rr,xe,It),Nt===null?gt=rr:Nt.sibling=rr,Nt=rr,Ct=rn}if(It===Ne.length)return A(ke,Ct),br&amp;&amp;Za(ke,It),gt;if(Ct===null){for(;It&lt;Ne.length;It++)Ct=Be(ke,Ne[It],qe),Ct!==null&amp;&amp;(xe=J(Ct,xe,It),Nt===null?gt=Ct:Nt.sibling=Ct,Nt=Ct);return br&amp;&amp;Za(ke,It),gt}for(Ct=$(ke,Ct);It&lt;Ne.length;It++)rn=nt(Ct,ke,It,Ne[It],qe),rn!==null&amp;&amp;(v&amp;&amp;rn.alternate!==null&amp;&amp;Ct.delete(rn.key===null?It:rn.key),xe=J(rn,xe,It),Nt===null?gt=rn:Nt.sibling=rn,Nt=rn);return v&amp;&amp;Ct.forEach(function(xa){return w(ke,xa)}),br&amp;&amp;Za(ke,It),gt}function ht(ke,xe,Ne,qe){var gt=N(Ne);if(typeof gt!=&quot;function&quot;)throw Error(t(150));if(Ne=gt.call(Ne),Ne==null)throw Error(t(151));for(var Nt=gt=null,Ct=xe,It=xe=0,rn=null,rr=Ne.next();Ct!==null&amp;&amp;!rr.done;It++,rr=Ne.next()){Ct.index&gt;It?(rn=Ct,Ct=null):rn=Ct.sibling;var xa=De(ke,Ct,rr.value,qe);if(xa===null){Ct===null&amp;&amp;(Ct=rn);break}v&amp;&amp;Ct&amp;&amp;xa.alternate===null&amp;&amp;w(ke,Ct),xe=J(xa,xe,It),Nt===null?gt=xa:Nt.sibling=xa,Nt=xa,Ct=rn}if(rr.done)return A(ke,Ct),br&amp;&amp;Za(ke,It),gt;if(Ct===null){for(;!rr.done;It++,rr=Ne.next())rr=Be(ke,rr.value,qe),rr!==null&amp;&amp;(xe=J(rr,xe,It),Nt===null?gt=rr:Nt.sibling=rr,Nt=rr);return br&amp;&amp;Za(ke,It),gt}for(Ct=$(ke,Ct);!rr.done;It++,rr=Ne.next())rr=nt(Ct,ke,It,rr.value,qe),rr!==null&amp;&amp;(v&amp;&amp;rr.alternate!==null&amp;&amp;Ct.delete(rr.key===null?It:rr.key),xe=J(rr,xe,It),Nt===null?gt=rr:Nt.sibling=rr,Nt=rr);return v&amp;&amp;Ct.forEach(function(fM){return w(ke,fM)}),br&amp;&amp;Za(ke,It),gt}function Dr(ke,xe,Ne,qe){if(typeof Ne==&quot;object&quot;&amp;&amp;Ne!==null&amp;&amp;Ne.type===W&amp;&amp;Ne.key===null&amp;&amp;(Ne=Ne.props.children),typeof Ne==&quot;object&quot;&amp;&amp;Ne!==null){switch(Ne.$$typeof){case M:e:{for(var gt=Ne.key,Nt=xe;Nt!==null;){if(Nt.key===gt){if(gt=Ne.type,gt===W){if(Nt.tag===7){A(ke,Nt.sibling),xe=G(Nt,Ne.props.children),xe.return=ke,ke=xe;break e}}else if(Nt.elementType===gt||typeof gt==&quot;object&quot;&amp;&amp;gt!==null&amp;&amp;gt.$$typeof===j&amp;&amp;v2(gt)===Nt.type){A(ke,Nt.sibling),xe=G(Nt,Ne.props),xe.ref=fc(ke,Nt,Ne),xe.return=ke,ke=xe;break e}A(ke,Nt);break}else w(ke,Nt);Nt=Nt.sibling}Ne.type===W?(xe=so(Ne.props.children,ke.mode,qe,Ne.key),xe.return=ke,ke=xe):(qe=Ld(Ne.type,Ne.key,Ne.props,null,ke.mode,qe),qe.ref=fc(ke,xe,Ne),qe.return=ke,ke=qe)}return oe(ke);case D:e:{for(Nt=Ne.key;xe!==null;){if(xe.key===Nt)if(xe.tag===4&amp;&amp;xe.stateNode.containerInfo===Ne.containerInfo&amp;&amp;xe.stateNode.implementation===Ne.implementation){A(ke,xe.sibling),xe=G(xe,Ne.children||[]),xe.return=ke,ke=xe;break e}else{A(ke,xe);break}else w(ke,xe);xe=xe.sibling}xe=u0(Ne,ke.mode,qe),xe.return=ke,ke=xe}return oe(ke);case j:return Nt=Ne._init,Dr(ke,xe,Nt(Ne._payload),qe)}if(he(Ne))return ut(ke,xe,Ne,qe);if(N(Ne))return ht(ke,xe,Ne,qe);hd(ke,Ne)}return typeof Ne==&quot;string&quot;&amp;&amp;Ne!==&quot;&quot;||typeof Ne==&quot;number&quot;?(Ne=&quot;&quot;+Ne,xe!==null&amp;&amp;xe.tag===6?(A(ke,xe.sibling),xe=G(xe,Ne),xe.return=ke,ke=xe):(A(ke,xe),xe=c0(Ne,ke.mode,qe),xe.return=ke,ke=xe),oe(ke)):A(ke,xe)}return Dr}var il=y2(!0),b2=y2(!1),md=ca(null),pd=null,sl=null,bp=null;function xp(){bp=sl=pd=null}function wp(v){var w=md.current;gr(md),v._currentValue=w}function _p(v,w,A){for(;v!==null;){var $=v.alternate;if((v.childLanes&amp;w)!==w?(v.childLanes|=w,$!==null&amp;&amp;($.childLanes|=w)):$!==null&amp;&amp;($.childLanes&amp;w)!==w&amp;&amp;($.childLanes|=w),v===A)break;v=v.return}}function al(v,w){pd=v,bp=sl=null,v=v.dependencies,v!==null&amp;&amp;v.firstContext!==null&amp;&amp;((v.lanes&amp;w)!==0&amp;&amp;(Kn=!0),v.firstContext=null)}function yi(v){var w=v._currentValue;if(bp!==v)if(v={context:v,memoizedValue:w,next:null},sl===null){if(pd===null)throw Error(t(308));sl=v,pd.dependencies={lanes:0,firstContext:v}}else sl=sl.next=v;return w}var Qa=null;function jp(v){Qa===null?Qa=[v]:Qa.push(v)}function x2(v,w,A,$){var G=w.interleaved;return G===null?(A.next=A,jp(w)):(A.next=G.next,G.next=A),w.interleaved=A,Os(v,$)}function Os(v,w){v.lanes|=w;var A=v.alternate;for(A!==null&amp;&amp;(A.lanes|=w),A=v,v=v.return;v!==null;)v.childLanes|=w,A=v.alternate,A!==null&amp;&amp;(A.childLanes|=w),A=v,v=v.return;return A.tag===3?A.stateNode:null}var fa=!1;function Sp(v){v.updateQueue={baseState:v.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function w2(v,w){v=v.updateQueue,w.updateQueue===v&amp;&amp;(w.updateQueue={baseState:v.baseState,firstBaseUpdate:v.firstBaseUpdate,lastBaseUpdate:v.lastBaseUpdate,shared:v.shared,effects:v.effects})}function Ts(v,w){return{eventTime:v,lane:w,tag:0,payload:null,callback:null,next:null}}function ha(v,w,A){var $=v.updateQueue;if($===null)return null;if($=$.shared,(tr&amp;2)!==0){var G=$.pending;return G===null?w.next=w:(w.next=G.next,G.next=w),$.pending=w,Os(v,A)}return G=$.interleaved,G===null?(w.next=w,jp($)):(w.next=G.next,G.next=w),$.interleaved=w,Os(v,A)}function gd(v,w,A){if(w=w.updateQueue,w!==null&amp;&amp;(w=w.shared,(A&amp;4194240)!==0)){var $=w.lanes;$&amp;=v.pendingLanes,A|=$,w.lanes=A,hi(v,A)}}function _2(v,w){var A=v.updateQueue,$=v.alternate;if($!==null&amp;&amp;($=$.updateQueue,A===$)){var G=null,J=null;if(A=A.firstBaseUpdate,A!==null){do{var oe={eventTime:A.eventTime,lane:A.lane,tag:A.tag,payload:A.payload,callback:A.callback,next:null};J===null?G=J=oe:J=J.next=oe,A=A.next}while(A!==null);J===null?G=J=w:J=J.next=w}else G=J=w;A={baseState:$.baseState,firstBaseUpdate:G,lastBaseUpdate:J,shared:$.shared,effects:$.effects},v.updateQueue=A;return}v=A.lastBaseUpdate,v===null?A.firstBaseUpdate=w:v.next=w,A.lastBaseUpdate=w}function vd(v,w,A,$){var G=v.updateQueue;fa=!1;var J=G.firstBaseUpdate,oe=G.lastBaseUpdate,me=G.shared.pending;if(me!==null){G.shared.pending=null;var ye=me,Ce=ye.next;ye.next=null,oe===null?J=Ce:oe.next=Ce,oe=ye;var Le=v.alternate;Le!==null&amp;&amp;(Le=Le.updateQueue,me=Le.lastBaseUpdate,me!==oe&amp;&amp;(me===null?Le.firstBaseUpdate=Ce:me.next=Ce,Le.lastBaseUpdate=ye))}if(J!==null){var Be=G.baseState;oe=0,Le=Ce=ye=null,me=J;do{var De=me.lane,nt=me.eventTime;if(($&amp;De)===De){Le!==null&amp;&amp;(Le=Le.next={eventTime:nt,lane:0,tag:me.tag,payload:me.payload,callback:me.callback,next:null});e:{var ut=v,ht=me;switch(De=w,nt=A,ht.tag){case 1:if(ut=ht.payload,typeof ut==&quot;function&quot;){Be=ut.call(nt,Be,De);break e}Be=ut;break e;case 3:ut.flags=ut.flags&amp;-65537|128;case 0:if(ut=ht.payload,De=typeof ut==&quot;function&quot;?ut.call(nt,Be,De):ut,De==null)break e;Be=T({},Be,De);break e;case 2:fa=!0}}me.callback!==null&amp;&amp;me.lane!==0&amp;&amp;(v.flags|=64,De=G.effects,De===null?G.effects=[me]:De.push(me))}else nt={eventTime:nt,lane:De,tag:me.tag,payload:me.payload,callback:me.callback,next:null},Le===null?(Ce=Le=nt,ye=Be):Le=Le.next=nt,oe|=De;if(me=me.next,me===null){if(me=G.shared.pending,me===null)break;De=me,me=De.next,De.next=null,G.lastBaseUpdate=De,G.shared.pending=null}}while(!0);if(Le===null&amp;&amp;(ye=Be),G.baseState=ye,G.firstBaseUpdate=Ce,G.lastBaseUpdate=Le,w=G.shared.interleaved,w!==null){G=w;do oe|=G.lane,G=G.next;while(G!==w)}else J===null&amp;&amp;(G.shared.lanes=0);to|=oe,v.lanes=oe,v.memoizedState=Be}}function j2(v,w,A){if(v=w.effects,w.effects=null,v!==null)for(w=0;w&lt;v.length;w++){var $=v[w],G=$.callback;if(G!==null){if($.callback=null,$=A,typeof G!=&quot;function&quot;)throw Error(t(191,G));G.call($)}}}var hc={},us=ca(hc),mc=ca(hc),pc=ca(hc);function Ja(v){if(v===hc)throw Error(t(174));return v}function kp(v,w){switch(fr(pc,w),fr(mc,v),fr(us,hc),v=w.nodeType,v){case 9:case 11:w=(w=w.documentElement)?w.namespaceURI:Pe(null,&quot;&quot;);break;default:v=v===8?w.parentNode:w,w=v.namespaceURI||null,v=v.tagName,w=Pe(w,v)}gr(us),fr(us,w)}function ol(){gr(us),gr(mc),gr(pc)}function S2(v){Ja(pc.current);var w=Ja(us.current),A=Pe(w,v.type);w!==A&amp;&amp;(fr(mc,v),fr(us,A))}function Np(v){mc.current===v&amp;&amp;(gr(us),gr(mc))}var kr=ca(0);function yd(v){for(var w=v;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===v)break;for(;w.sibling===null;){if(w.return===null||w.return===v)return null;w=w.return}w.sibling.return=w.return,w=w.sibling}return null}var Cp=[];function Ep(){for(var v=0;v&lt;Cp.length;v++)Cp[v]._workInProgressVersionPrimary=null;Cp.length=0}var bd=E.ReactCurrentDispatcher,Ap=E.ReactCurrentBatchConfig,eo=0,Nr=null,qr=null,en=null,xd=!1,gc=!1,vc=0,IA=0;function kn(){throw Error(t(321))}function Mp(v,w){if(w===null)return!1;for(var A=0;A&lt;w.length&amp;&amp;A&lt;v.length;A++)if(!Fi(v[A],w[A]))return!1;return!0}function Op(v,w,A,$,G,J){if(eo=J,Nr=w,w.memoizedState=null,w.updateQueue=null,w.lanes=0,bd.current=v===null||v.memoizedState===null?FA:BA,v=A($,G),gc){J=0;do{if(gc=!1,vc=0,25&lt;=J)throw Error(t(301));J+=1,en=qr=null,w.updateQueue=null,bd.current=zA,v=A($,G)}while(gc)}if(bd.current=jd,w=qr!==null&amp;&amp;qr.next!==null,eo=0,en=qr=Nr=null,xd=!1,w)throw Error(t(300));return v}function Tp(){var v=vc!==0;return vc=0,v}function ds(){var v={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return en===null?Nr.memoizedState=en=v:en=en.next=v,en}function bi(){if(qr===null){var v=Nr.alternate;v=v!==null?v.memoizedState:null}else v=qr.next;var w=en===null?Nr.memoizedState:en.next;if(w!==null)en=w,qr=v;else{if(v===null)throw Error(t(310));qr=v,v={memoizedState:qr.memoizedState,baseState:qr.baseState,baseQueue:qr.baseQueue,queue:qr.queue,next:null},en===null?Nr.memoizedState=en=v:en=en.next=v}return en}function yc(v,w){return typeof w==&quot;function&quot;?w(v):w}function Pp(v){var w=bi(),A=w.queue;if(A===null)throw Error(t(311));A.lastRenderedReducer=v;var $=qr,G=$.baseQueue,J=A.pending;if(J!==null){if(G!==null){var oe=G.next;G.next=J.next,J.next=oe}$.baseQueue=G=J,A.pending=null}if(G!==null){J=G.next,$=$.baseState;var me=oe=null,ye=null,Ce=J;do{var Le=Ce.lane;if((eo&amp;Le)===Le)ye!==null&amp;&amp;(ye=ye.next={lane:0,action:Ce.action,hasEagerState:Ce.hasEagerState,eagerState:Ce.eagerState,next:null}),$=Ce.hasEagerState?Ce.eagerState:v($,Ce.action);else{var Be={lane:Le,action:Ce.action,hasEagerState:Ce.hasEagerState,eagerState:Ce.eagerState,next:null};ye===null?(me=ye=Be,oe=$):ye=ye.next=Be,Nr.lanes|=Le,to|=Le}Ce=Ce.next}while(Ce!==null&amp;&amp;Ce!==J);ye===null?oe=$:ye.next=me,Fi($,w.memoizedState)||(Kn=!0),w.memoizedState=$,w.baseState=oe,w.baseQueue=ye,A.lastRenderedState=$}if(v=A.interleaved,v!==null){G=v;do J=G.lane,Nr.lanes|=J,to|=J,G=G.next;while(G!==v)}else G===null&amp;&amp;(A.lanes=0);return[w.memoizedState,A.dispatch]}function Ip(v){var w=bi(),A=w.queue;if(A===null)throw Error(t(311));A.lastRenderedReducer=v;var $=A.dispatch,G=A.pending,J=w.memoizedState;if(G!==null){A.pending=null;var oe=G=G.next;do J=v(J,oe.action),oe=oe.next;while(oe!==G);Fi(J,w.memoizedState)||(Kn=!0),w.memoizedState=J,w.baseQueue===null&amp;&amp;(w.baseState=J),A.lastRenderedState=J}return[J,$]}function k2(){}function N2(v,w){var A=Nr,$=bi(),G=w(),J=!Fi($.memoizedState,G);if(J&amp;&amp;($.memoizedState=G,Kn=!0),$=$.queue,Rp(A2.bind(null,A,$,v),[v]),$.getSnapshot!==w||J||en!==null&amp;&amp;en.memoizedState.tag&amp;1){if(A.flags|=2048,bc(9,E2.bind(null,A,$,G,w),void 0,null),tn===null)throw Error(t(349));(eo&amp;30)!==0||C2(A,w,G)}return G}function C2(v,w,A){v.flags|=16384,v={getSnapshot:w,value:A},w=Nr.updateQueue,w===null?(w={lastEffect:null,stores:null},Nr.updateQueue=w,w.stores=[v]):(A=w.stores,A===null?w.stores=[v]:A.push(v))}function E2(v,w,A,$){w.value=A,w.getSnapshot=$,M2(w)&amp;&amp;O2(v)}function A2(v,w,A){return A(function(){M2(w)&amp;&amp;O2(v)})}function M2(v){var w=v.getSnapshot;v=v.value;try{var A=w();return!Fi(v,A)}catch{return!0}}function O2(v){var w=Os(v,1);w!==null&amp;&amp;Vi(w,v,1,-1)}function T2(v){var w=ds();return typeof v==&quot;function&quot;&amp;&amp;(v=v()),w.memoizedState=w.baseState=v,v={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:yc,lastRenderedState:v},w.queue=v,v=v.dispatch=LA.bind(null,Nr,v),[w.memoizedState,v]}function bc(v,w,A,$){return v={tag:v,create:w,destroy:A,deps:$,next:null},w=Nr.updateQueue,w===null?(w={lastEffect:null,stores:null},Nr.updateQueue=w,w.lastEffect=v.next=v):(A=w.lastEffect,A===null?w.lastEffect=v.next=v:($=A.next,A.next=v,v.next=$,w.lastEffect=v)),v}function P2(){return bi().memoizedState}function wd(v,w,A,$){var G=ds();Nr.flags|=v,G.memoizedState=bc(1|w,A,void 0,$===void 0?null:$)}function _d(v,w,A,$){var G=bi();$=$===void 0?null:$;var J=void 0;if(qr!==null){var oe=qr.memoizedState;if(J=oe.destroy,$!==null&amp;&amp;Mp($,oe.deps)){G.memoizedState=bc(w,A,J,$);return}}Nr.flags|=v,G.memoizedState=bc(1|w,A,J,$)}function I2(v,w){return wd(8390656,8,v,w)}function Rp(v,w){return _d(2048,8,v,w)}function R2(v,w){return _d(4,2,v,w)}function D2(v,w){return _d(4,4,v,w)}function L2(v,w){if(typeof w==&quot;function&quot;)return v=v(),w(v),function(){w(null)};if(w!=null)return v=v(),w.current=v,function(){w.current=null}}function F2(v,w,A){return A=A!=null?A.concat([v]):null,_d(4,4,L2.bind(null,w,v),A)}function Dp(){}function B2(v,w){var A=bi();w=w===void 0?null:w;var $=A.memoizedState;return $!==null&amp;&amp;w!==null&amp;&amp;Mp(w,$[1])?$[0]:(A.memoizedState=[v,w],v)}function z2(v,w){var A=bi();w=w===void 0?null:w;var $=A.memoizedState;return $!==null&amp;&amp;w!==null&amp;&amp;Mp(w,$[1])?$[0]:(v=v(),A.memoizedState=[v,w],v)}function $2(v,w,A){return(eo&amp;21)===0?(v.baseState&amp;&amp;(v.baseState=!1,Kn=!0),v.memoizedState=A):(Fi(A,w)||(A=Gt(),Nr.lanes|=A,to|=A,v.baseState=!0),w)}function RA(v,w){var A=Bt;Bt=A!==0&amp;&amp;4&gt;A?A:4,v(!0);var $=Ap.transition;Ap.transition={};try{v(!1),w()}finally{Bt=A,Ap.transition=$}}function U2(){return bi().memoizedState}function DA(v,w,A){var $=va(v);if(A={lane:$,action:A,hasEagerState:!1,eagerState:null,next:null},V2(v))q2(w,A);else if(A=x2(v,w,A,$),A!==null){var G=Rn();Vi(A,v,$,G),W2(A,w,$)}}function LA(v,w,A){var $=va(v),G={lane:$,action:A,hasEagerState:!1,eagerState:null,next:null};if(V2(v))q2(w,G);else{var J=v.alternate;if(v.lanes===0&amp;&amp;(J===null||J.lanes===0)&amp;&amp;(J=w.lastRenderedReducer,J!==null))try{var oe=w.lastRenderedState,me=J(oe,A);if(G.hasEagerState=!0,G.eagerState=me,Fi(me,oe)){var ye=w.interleaved;ye===null?(G.next=G,jp(w)):(G.next=ye.next,ye.next=G),w.interleaved=G;return}}catch{}A=x2(v,w,G,$),A!==null&amp;&amp;(G=Rn(),Vi(A,v,$,G),W2(A,w,$))}}function V2(v){var w=v.alternate;return v===Nr||w!==null&amp;&amp;w===Nr}function q2(v,w){gc=xd=!0;var A=v.pending;A===null?w.next=w:(w.next=A.next,A.next=w),v.pending=w}function W2(v,w,A){if((A&amp;4194240)!==0){var $=w.lanes;$&amp;=v.pendingLanes,A|=$,w.lanes=A,hi(v,A)}}var jd={readContext:yi,useCallback:kn,useContext:kn,useEffect:kn,useImperativeHandle:kn,useInsertionEffect:kn,useLayoutEffect:kn,useMemo:kn,useReducer:kn,useRef:kn,useState:kn,useDebugValue:kn,useDeferredValue:kn,useTransition:kn,useMutableSource:kn,useSyncExternalStore:kn,useId:kn,unstable_isNewReconciler:!1},FA={readContext:yi,useCallback:function(v,w){return ds().memoizedState=[v,w===void 0?null:w],v},useContext:yi,useEffect:I2,useImperativeHandle:function(v,w,A){return A=A!=null?A.concat([v]):null,wd(4194308,4,L2.bind(null,w,v),A)},useLayoutEffect:function(v,w){return wd(4194308,4,v,w)},useInsertionEffect:function(v,w){return wd(4,2,v,w)},useMemo:function(v,w){var A=ds();return w=w===void 0?null:w,v=v(),A.memoizedState=[v,w],v},useReducer:function(v,w,A){var $=ds();return w=A!==void 0?A(w):w,$.memoizedState=$.baseState=w,v={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:v,lastRenderedState:w},$.queue=v,v=v.dispatch=DA.bind(null,Nr,v),[$.memoizedState,v]},useRef:function(v){var w=ds();return v={current:v},w.memoizedState=v},useState:T2,useDebugValue:Dp,useDeferredValue:function(v){return ds().memoizedState=v},useTransition:function(){var v=T2(!1),w=v[0];return v=RA.bind(null,v[1]),ds().memoizedState=v,[w,v]},useMutableSource:function(){},useSyncExternalStore:function(v,w,A){var $=Nr,G=ds();if(br){if(A===void 0)throw Error(t(407));A=A()}else{if(A=w(),tn===null)throw Error(t(349));(eo&amp;30)!==0||C2($,w,A)}G.memoizedState=A;var J={value:A,getSnapshot:w};return G.queue=J,I2(A2.bind(null,$,J,v),[v]),$.flags|=2048,bc(9,E2.bind(null,$,J,A,w),void 0,null),A},useId:function(){var v=ds(),w=tn.identifierPrefix;if(br){var A=Ms,$=As;A=($&amp;~(1&lt;&lt;32-Et($)-1)).toString(32)+A,w=&quot;:&quot;+w+&quot;R&quot;+A,A=vc++,0&lt;A&amp;&amp;(w+=&quot;H&quot;+A.toString(32)),w+=&quot;:&quot;}else A=IA++,w=&quot;:&quot;+w+&quot;r&quot;+A.toString(32)+&quot;:&quot;;return v.memoizedState=w},unstable_isNewReconciler:!1},BA={readContext:yi,useCallback:B2,useContext:yi,useEffect:Rp,useImperativeHandle:F2,useInsertionEffect:R2,useLayoutEffect:D2,useMemo:z2,useReducer:Pp,useRef:P2,useState:function(){return Pp(yc)},useDebugValue:Dp,useDeferredValue:function(v){var w=bi();return $2(w,qr.memoizedState,v)},useTransition:function(){var v=Pp(yc)[0],w=bi().memoizedState;return[v,w]},useMutableSource:k2,useSyncExternalStore:N2,useId:U2,unstable_isNewReconciler:!1},zA={readContext:yi,useCallback:B2,useContext:yi,useEffect:Rp,useImperativeHandle:F2,useInsertionEffect:R2,useLayoutEffect:D2,useMemo:z2,useReducer:Ip,useRef:P2,useState:function(){return Ip(yc)},useDebugValue:Dp,useDeferredValue:function(v){var w=bi();return qr===null?w.memoizedState=v:$2(w,qr.memoizedState,v)},useTransition:function(){var v=Ip(yc)[0],w=bi().memoizedState;return[v,w]},useMutableSource:k2,useSyncExternalStore:N2,useId:U2,unstable_isNewReconciler:!1};function zi(v,w){if(v&amp;&amp;v.defaultProps){w=T({},w),v=v.defaultProps;for(var A in v)w[A]===void 0&amp;&amp;(w[A]=v[A]);return w}return w}function Lp(v,w,A,$){w=v.memoizedState,A=A($,w),A=A==null?w:T({},w,A),v.memoizedState=A,v.lanes===0&amp;&amp;(v.updateQueue.baseState=A)}var Sd={isMounted:function(v){return(v=v._reactInternals)?rt(v)===v:!1},enqueueSetState:function(v,w,A){v=v._reactInternals;var $=Rn(),G=va(v),J=Ts($,G);J.payload=w,A!=null&amp;&amp;(J.callback=A),w=ha(v,J,G),w!==null&amp;&amp;(Vi(w,v,G,$),gd(w,v,G))},enqueueReplaceState:function(v,w,A){v=v._reactInternals;var $=Rn(),G=va(v),J=Ts($,G);J.tag=1,J.payload=w,A!=null&amp;&amp;(J.callback=A),w=ha(v,J,G),w!==null&amp;&amp;(Vi(w,v,G,$),gd(w,v,G))},enqueueForceUpdate:function(v,w){v=v._reactInternals;var A=Rn(),$=va(v),G=Ts(A,$);G.tag=2,w!=null&amp;&amp;(G.callback=w),w=ha(v,G,$),w!==null&amp;&amp;(Vi(w,v,$,A),gd(w,v,$))}};function H2(v,w,A,$,G,J,oe){return v=v.stateNode,typeof v.shouldComponentUpdate==&quot;function&quot;?v.shouldComponentUpdate($,J,oe):w.prototype&amp;&amp;w.prototype.isPureReactComponent?!sc(A,$)||!sc(G,J):!0}function K2(v,w,A){var $=!1,G=ua,J=w.contextType;return typeof J==&quot;object&quot;&amp;&amp;J!==null?J=yi(J):(G=Hn(w)?Ga:Sn.current,$=w.contextTypes,J=($=$!=null)?el(v,G):ua),w=new w(A,J),v.memoizedState=w.state!==null&amp;&amp;w.state!==void 0?w.state:null,w.updater=Sd,v.stateNode=w,w._reactInternals=v,$&amp;&amp;(v=v.stateNode,v.__reactInternalMemoizedUnmaskedChildContext=G,v.__reactInternalMemoizedMaskedChildContext=J),w}function X2(v,w,A,$){v=w.state,typeof w.componentWillReceiveProps==&quot;function&quot;&amp;&amp;w.componentWillReceiveProps(A,$),typeof w.UNSAFE_componentWillReceiveProps==&quot;function&quot;&amp;&amp;w.UNSAFE_componentWillReceiveProps(A,$),w.state!==v&amp;&amp;Sd.enqueueReplaceState(w,w.state,null)}function Fp(v,w,A,$){var G=v.stateNode;G.props=A,G.state=v.memoizedState,G.refs={},Sp(v);var J=w.contextType;typeof J==&quot;object&quot;&amp;&amp;J!==null?G.context=yi(J):(J=Hn(w)?Ga:Sn.current,G.context=el(v,J)),G.state=v.memoizedState,J=w.getDerivedStateFromProps,typeof J==&quot;function&quot;&amp;&amp;(Lp(v,w,J,A),G.state=v.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;Sd.enqueueReplaceState(G,G.state,null),vd(v,A,G,$),G.state=v.memoizedState),typeof G.componentDidMount==&quot;function&quot;&amp;&amp;(v.flags|=4194308)}function ll(v,w){try{var A=&quot;&quot;,$=w;do A+=ne($),$=$.return;while($);var G=A}catch(J){G=`
Error generating stack: `+J.message+`
`+J.stack}return{value:v,source:w,stack:G,digest:null}}function Bp(v,w,A){return{value:v,source:null,stack:A??null,digest:w??null}}function zp(v,w){try{console.error(w.value)}catch(A){setTimeout(function(){throw A})}}var $A=typeof WeakMap==&quot;function&quot;?WeakMap:Map;function G2(v,w,A){A=Ts(-1,A),A.tag=3,A.payload={element:null};var $=w.value;return A.callback=function(){Od||(Od=!0,t0=$),zp(v,w)},A}function Y2(v,w,A){A=Ts(-1,A),A.tag=3;var $=v.type.getDerivedStateFromError;if(typeof $==&quot;function&quot;){var G=w.value;A.payload=function(){return $(G)},A.callback=function(){zp(v,w)}}var J=v.stateNode;return J!==null&amp;&amp;typeof J.componentDidCatch==&quot;function&quot;&amp;&amp;(A.callback=function(){zp(v,w),typeof $!=&quot;function&quot;&amp;&amp;(pa===null?pa=new Set([this]):pa.add(this));var oe=w.stack;this.componentDidCatch(w.value,{componentStack:oe!==null?oe:&quot;&quot;})}),A}function Z2(v,w,A){var $=v.pingCache;if($===null){$=v.pingCache=new $A;var G=new Set;$.set(w,G)}else G=$.get(w),G===void 0&amp;&amp;(G=new Set,$.set(w,G));G.has(A)||(G.add(A),v=tM.bind(null,v,w,A),w.then(v,v))}function Q2(v){do{var w;if((w=v.tag===13)&amp;&amp;(w=v.memoizedState,w=w!==null?w.dehydrated!==null:!0),w)return v;v=v.return}while(v!==null);return null}function J2(v,w,A,$,G){return(v.mode&amp;1)===0?(v===w?v.flags|=65536:(v.flags|=128,A.flags|=131072,A.flags&amp;=-52805,A.tag===1&amp;&amp;(A.alternate===null?A.tag=17:(w=Ts(-1,1),w.tag=2,ha(A,w,1))),A.lanes|=1),v):(v.flags|=65536,v.lanes=G,v)}var UA=E.ReactCurrentOwner,Kn=!1;function In(v,w,A,$){w.child=v===null?b2(w,null,A,$):il(w,v.child,A,$)}function ew(v,w,A,$,G){A=A.render;var J=w.ref;return al(w,G),$=Op(v,w,A,$,J,G),A=Tp(),v!==null&amp;&amp;!Kn?(w.updateQueue=v.updateQueue,w.flags&amp;=-2053,v.lanes&amp;=~G,Ps(v,w,G)):(br&amp;&amp;A&amp;&amp;mp(w),w.flags|=1,In(v,w,$,G),w.child)}function tw(v,w,A,$,G){if(v===null){var J=A.type;return typeof J==&quot;function&quot;&amp;&amp;!l0(J)&amp;&amp;J.defaultProps===void 0&amp;&amp;A.compare===null&amp;&amp;A.defaultProps===void 0?(w.tag=15,w.type=J,rw(v,w,J,$,G)):(v=Ld(A.type,null,$,w,w.mode,G),v.ref=w.ref,v.return=w,w.child=v)}if(J=v.child,(v.lanes&amp;G)===0){var oe=J.memoizedProps;if(A=A.compare,A=A!==null?A:sc,A(oe,$)&amp;&amp;v.ref===w.ref)return Ps(v,w,G)}return w.flags|=1,v=ba(J,$),v.ref=w.ref,v.return=w,w.child=v}function rw(v,w,A,$,G){if(v!==null){var J=v.memoizedProps;if(sc(J,$)&amp;&amp;v.ref===w.ref)if(Kn=!1,w.pendingProps=$=J,(v.lanes&amp;G)!==0)(v.flags&amp;131072)!==0&amp;&amp;(Kn=!0);else return w.lanes=v.lanes,Ps(v,w,G)}return $p(v,w,A,$,G)}function nw(v,w,A){var $=w.pendingProps,G=$.children,J=v!==null?v.memoizedState:null;if($.mode===&quot;hidden&quot;)if((w.mode&amp;1)===0)w.memoizedState={baseLanes:0,cachePool:null,transitions:null},fr(ul,si),si|=A;else{if((A&amp;1073741824)===0)return v=J!==null?J.baseLanes|A:A,w.lanes=w.childLanes=1073741824,w.memoizedState={baseLanes:v,cachePool:null,transitions:null},w.updateQueue=null,fr(ul,si),si|=v,null;w.memoizedState={baseLanes:0,cachePool:null,transitions:null},$=J!==null?J.baseLanes:A,fr(ul,si),si|=$}else J!==null?($=J.baseLanes|A,w.memoizedState=null):$=A,fr(ul,si),si|=$;return In(v,w,G,A),w.child}function iw(v,w){var A=w.ref;(v===null&amp;&amp;A!==null||v!==null&amp;&amp;v.ref!==A)&amp;&amp;(w.flags|=512,w.flags|=2097152)}function $p(v,w,A,$,G){var J=Hn(A)?Ga:Sn.current;return J=el(w,J),al(w,G),A=Op(v,w,A,$,J,G),$=Tp(),v!==null&amp;&amp;!Kn?(w.updateQueue=v.updateQueue,w.flags&amp;=-2053,v.lanes&amp;=~G,Ps(v,w,G)):(br&amp;&amp;$&amp;&amp;mp(w),w.flags|=1,In(v,w,A,G),w.child)}function sw(v,w,A,$,G){if(Hn(A)){var J=!0;ld(w)}else J=!1;if(al(w,G),w.stateNode===null)Nd(v,w),K2(w,A,$),Fp(w,A,$,G),$=!0;else if(v===null){var oe=w.stateNode,me=w.memoizedProps;oe.props=me;var ye=oe.context,Ce=A.contextType;typeof Ce==&quot;object&quot;&amp;&amp;Ce!==null?Ce=yi(Ce):(Ce=Hn(A)?Ga:Sn.current,Ce=el(w,Ce));var Le=A.getDerivedStateFromProps,Be=typeof Le==&quot;function&quot;||typeof oe.getSnapshotBeforeUpdate==&quot;function&quot;;Be||typeof oe.UNSAFE_componentWillReceiveProps!=&quot;function&quot;&amp;&amp;typeof oe.componentWillReceiveProps!=&quot;function&quot;||(me!==$||ye!==Ce)&amp;&amp;X2(w,oe,$,Ce),fa=!1;var De=w.memoizedState;oe.state=De,vd(w,$,oe,G),ye=w.memoizedState,me!==$||De!==ye||Wn.current||fa?(typeof Le==&quot;function&quot;&amp;&amp;(Lp(w,A,Le,$),ye=w.memoizedState),(me=fa||H2(w,A,me,$,De,ye,Ce))?(Be||typeof oe.UNSAFE_componentWillMount!=&quot;function&quot;&amp;&amp;typeof oe.componentWillMount!=&quot;function&quot;||(typeof oe.componentWillMount==&quot;function&quot;&amp;&amp;oe.componentWillMount(),typeof oe.UNSAFE_componentWillMount==&quot;function&quot;&amp;&amp;oe.UNSAFE_componentWillMount()),typeof oe.componentDidMount==&quot;function&quot;&amp;&amp;(w.flags|=4194308)):(typeof oe.componentDidMount==&quot;function&quot;&amp;&amp;(w.flags|=4194308),w.memoizedProps=$,w.memoizedState=ye),oe.props=$,oe.state=ye,oe.context=Ce,$=me):(typeof oe.componentDidMount==&quot;function&quot;&amp;&amp;(w.flags|=4194308),$=!1)}else{oe=w.stateNode,w2(v,w),me=w.memoizedProps,Ce=w.type===w.elementType?me:zi(w.type,me),oe.props=Ce,Be=w.pendingProps,De=oe.context,ye=A.contextType,typeof ye==&quot;object&quot;&amp;&amp;ye!==null?ye=yi(ye):(ye=Hn(A)?Ga:Sn.current,ye=el(w,ye));var nt=A.getDerivedStateFromProps;(Le=typeof nt==&quot;function&quot;||typeof oe.getSnapshotBeforeUpdate==&quot;function&quot;)||typeof oe.UNSAFE_componentWillReceiveProps!=&quot;function&quot;&amp;&amp;typeof oe.componentWillReceiveProps!=&quot;function&quot;||(me!==Be||De!==ye)&amp;&amp;X2(w,oe,$,ye),fa=!1,De=w.memoizedState,oe.state=De,vd(w,$,oe,G);var ut=w.memoizedState;me!==Be||De!==ut||Wn.current||fa?(typeof nt==&quot;function&quot;&amp;&amp;(Lp(w,A,nt,$),ut=w.memoizedState),(Ce=fa||H2(w,A,Ce,$,De,ut,ye)||!1)?(Le||typeof oe.UNSAFE_componentWillUpdate!=&quot;function&quot;&amp;&amp;typeof oe.componentWillUpdate!=&quot;function&quot;||(typeof oe.componentWillUpdate==&quot;function&quot;&amp;&amp;oe.componentWillUpdate($,ut,ye),typeof oe.UNSAFE_componentWillUpdate==&quot;function&quot;&amp;&amp;oe.UNSAFE_componentWillUpdate($,ut,ye)),typeof oe.componentDidUpdate==&quot;function&quot;&amp;&amp;(w.flags|=4),typeof oe.getSnapshotBeforeUpdate==&quot;function&quot;&amp;&amp;(w.flags|=1024)):(typeof oe.componentDidUpdate!=&quot;function&quot;||me===v.memoizedProps&amp;&amp;De===v.memoizedState||(w.flags|=4),typeof oe.getSnapshotBeforeUpdate!=&quot;function&quot;||me===v.memoizedProps&amp;&amp;De===v.memoizedState||(w.flags|=1024),w.memoizedProps=$,w.memoizedState=ut),oe.props=$,oe.state=ut,oe.context=ye,$=Ce):(typeof oe.componentDidUpdate!=&quot;function&quot;||me===v.memoizedProps&amp;&amp;De===v.memoizedState||(w.flags|=4),typeof oe.getSnapshotBeforeUpdate!=&quot;function&quot;||me===v.memoizedProps&amp;&amp;De===v.memoizedState||(w.flags|=1024),$=!1)}return Up(v,w,A,$,J,G)}function Up(v,w,A,$,G,J){iw(v,w);var oe=(w.flags&amp;128)!==0;if(!$&amp;&amp;!oe)return G&amp;&amp;u2(w,A,!1),Ps(v,w,J);$=w.stateNode,UA.current=w;var me=oe&amp;&amp;typeof A.getDerivedStateFromError!=&quot;function&quot;?null:$.render();return w.flags|=1,v!==null&amp;&amp;oe?(w.child=il(w,v.child,null,J),w.child=il(w,null,me,J)):In(v,w,me,J),w.memoizedState=$.state,G&amp;&amp;u2(w,A,!0),w.child}function aw(v){var w=v.stateNode;w.pendingContext?l2(v,w.pendingContext,w.pendingContext!==w.context):w.context&amp;&amp;l2(v,w.context,!1),kp(v,w.containerInfo)}function ow(v,w,A,$,G){return nl(),yp(G),w.flags|=256,In(v,w,A,$),w.child}var Vp={dehydrated:null,treeContext:null,retryLane:0};function qp(v){return{baseLanes:v,cachePool:null,transitions:null}}function lw(v,w,A){var $=w.pendingProps,G=kr.current,J=!1,oe=(w.flags&amp;128)!==0,me;if((me=oe)||(me=v!==null&amp;&amp;v.memoizedState===null?!1:(G&amp;2)!==0),me?(J=!0,w.flags&amp;=-129):(v===null||v.memoizedState!==null)&amp;&amp;(G|=1),fr(kr,G&amp;1),v===null)return vp(w),v=w.memoizedState,v!==null&amp;&amp;(v=v.dehydrated,v!==null)?((w.mode&amp;1)===0?w.lanes=1:v.data===&quot;$!&quot;?w.lanes=8:w.lanes=1073741824,null):(oe=$.children,v=$.fallback,J?($=w.mode,J=w.child,oe={mode:&quot;hidden&quot;,children:oe},($&amp;1)===0&amp;&amp;J!==null?(J.childLanes=0,J.pendingProps=oe):J=Fd(oe,$,0,null),v=so(v,$,A,null),J.return=w,v.return=w,J.sibling=v,w.child=J,w.child.memoizedState=qp(A),w.memoizedState=Vp,v):Wp(w,oe));if(G=v.memoizedState,G!==null&amp;&amp;(me=G.dehydrated,me!==null))return VA(v,w,oe,$,me,G,A);if(J){J=$.fallback,oe=w.mode,G=v.child,me=G.sibling;var ye={mode:&quot;hidden&quot;,children:$.children};return(oe&amp;1)===0&amp;&amp;w.child!==G?($=w.child,$.childLanes=0,$.pendingProps=ye,w.deletions=null):($=ba(G,ye),$.subtreeFlags=G.subtreeFlags&amp;14680064),me!==null?J=ba(me,J):(J=so(J,oe,A,null),J.flags|=2),J.return=w,$.return=w,$.sibling=J,w.child=$,$=J,J=w.child,oe=v.child.memoizedState,oe=oe===null?qp(A):{baseLanes:oe.baseLanes|A,cachePool:null,transitions:oe.transitions},J.memoizedState=oe,J.childLanes=v.childLanes&amp;~A,w.memoizedState=Vp,$}return J=v.child,v=J.sibling,$=ba(J,{mode:&quot;visible&quot;,children:$.children}),(w.mode&amp;1)===0&amp;&amp;($.lanes=A),$.return=w,$.sibling=null,v!==null&amp;&amp;(A=w.deletions,A===null?(w.deletions=[v],w.flags|=16):A.push(v)),w.child=$,w.memoizedState=null,$}function Wp(v,w){return w=Fd({mode:&quot;visible&quot;,children:w},v.mode,0,null),w.return=v,v.child=w}function kd(v,w,A,$){return $!==null&amp;&amp;yp($),il(w,v.child,null,A),v=Wp(w,w.pendingProps.children),v.flags|=2,w.memoizedState=null,v}function VA(v,w,A,$,G,J,oe){if(A)return w.flags&amp;256?(w.flags&amp;=-257,$=Bp(Error(t(422))),kd(v,w,oe,$)):w.memoizedState!==null?(w.child=v.child,w.flags|=128,null):(J=$.fallback,G=w.mode,$=Fd({mode:&quot;visible&quot;,children:$.children},G,0,null),J=so(J,G,oe,null),J.flags|=2,$.return=w,J.return=w,$.sibling=J,w.child=$,(w.mode&amp;1)!==0&amp;&amp;il(w,v.child,null,oe),w.child.memoizedState=qp(oe),w.memoizedState=Vp,J);if((w.mode&amp;1)===0)return kd(v,w,oe,null);if(G.data===&quot;$!&quot;){if($=G.nextSibling&amp;&amp;G.nextSibling.dataset,$)var me=$.dgst;return $=me,J=Error(t(419)),$=Bp(J,$,void 0),kd(v,w,oe,$)}if(me=(oe&amp;v.childLanes)!==0,Kn||me){if($=tn,$!==null){switch(oe&amp;-oe){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;($.suspendedLanes|oe))!==0?0:G,G!==0&amp;&amp;G!==J.retryLane&amp;&amp;(J.retryLane=G,Os(v,G),Vi($,v,G,-1))}return o0(),$=Bp(Error(t(421))),kd(v,w,oe,$)}return G.data===&quot;$?&quot;?(w.flags|=128,w.child=v.child,w=rM.bind(null,v),G._reactRetry=w,null):(v=J.treeContext,ii=la(G.nextSibling),ni=w,br=!0,Bi=null,v!==null&amp;&amp;(gi[vi++]=As,gi[vi++]=Ms,gi[vi++]=Ya,As=v.id,Ms=v.overflow,Ya=w),w=Wp(w,$.children),w.flags|=4096,w)}function cw(v,w,A){v.lanes|=w;var $=v.alternate;$!==null&amp;&amp;($.lanes|=w),_p(v.return,w,A)}function Hp(v,w,A,$,G){var J=v.memoizedState;J===null?v.memoizedState={isBackwards:w,rendering:null,renderingStartTime:0,last:$,tail:A,tailMode:G}:(J.isBackwards=w,J.rendering=null,J.renderingStartTime=0,J.last=$,J.tail=A,J.tailMode=G)}function uw(v,w,A){var $=w.pendingProps,G=$.revealOrder,J=$.tail;if(In(v,w,$.children,A),$=kr.current,($&amp;2)!==0)$=$&amp;1|2,w.flags|=128;else{if(v!==null&amp;&amp;(v.flags&amp;128)!==0)e:for(v=w.child;v!==null;){if(v.tag===13)v.memoizedState!==null&amp;&amp;cw(v,A,w);else if(v.tag===19)cw(v,A,w);else if(v.child!==null){v.child.return=v,v=v.child;continue}if(v===w)break e;for(;v.sibling===null;){if(v.return===null||v.return===w)break e;v=v.return}v.sibling.return=v.return,v=v.sibling}$&amp;=1}if(fr(kr,$),(w.mode&amp;1)===0)w.memoizedState=null;else switch(G){case&quot;forwards&quot;:for(A=w.child,G=null;A!==null;)v=A.alternate,v!==null&amp;&amp;yd(v)===null&amp;&amp;(G=A),A=A.sibling;A=G,A===null?(G=w.child,w.child=null):(G=A.sibling,A.sibling=null),Hp(w,!1,G,A,J);break;case&quot;backwards&quot;:for(A=null,G=w.child,w.child=null;G!==null;){if(v=G.alternate,v!==null&amp;&amp;yd(v)===null){w.child=G;break}v=G.sibling,G.sibling=A,A=G,G=v}Hp(w,!0,A,null,J);break;case&quot;together&quot;:Hp(w,!1,null,null,void 0);break;default:w.memoizedState=null}return w.child}function Nd(v,w){(w.mode&amp;1)===0&amp;&amp;v!==null&amp;&amp;(v.alternate=null,w.alternate=null,w.flags|=2)}function Ps(v,w,A){if(v!==null&amp;&amp;(w.dependencies=v.dependencies),to|=w.lanes,(A&amp;w.childLanes)===0)return null;if(v!==null&amp;&amp;w.child!==v.child)throw Error(t(153));if(w.child!==null){for(v=w.child,A=ba(v,v.pendingProps),w.child=A,A.return=w;v.sibling!==null;)v=v.sibling,A=A.sibling=ba(v,v.pendingProps),A.return=w;A.sibling=null}return w.child}function qA(v,w,A){switch(w.tag){case 3:aw(w),nl();break;case 5:S2(w);break;case 1:Hn(w.type)&amp;&amp;ld(w);break;case 4:kp(w,w.stateNode.containerInfo);break;case 10:var $=w.type._context,G=w.memoizedProps.value;fr(md,$._currentValue),$._currentValue=G;break;case 13:if($=w.memoizedState,$!==null)return $.dehydrated!==null?(fr(kr,kr.current&amp;1),w.flags|=128,null):(A&amp;w.child.childLanes)!==0?lw(v,w,A):(fr(kr,kr.current&amp;1),v=Ps(v,w,A),v!==null?v.sibling:null);fr(kr,kr.current&amp;1);break;case 19:if($=(A&amp;w.childLanes)!==0,(v.flags&amp;128)!==0){if($)return uw(v,w,A);w.flags|=128}if(G=w.memoizedState,G!==null&amp;&amp;(G.rendering=null,G.tail=null,G.lastEffect=null),fr(kr,kr.current),$)break;return null;case 22:case 23:return w.lanes=0,nw(v,w,A)}return Ps(v,w,A)}var dw,Kp,fw,hw;dw=function(v,w){for(var A=w.child;A!==null;){if(A.tag===5||A.tag===6)v.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}},Kp=function(){},fw=function(v,w,A,$){var G=v.memoizedProps;if(G!==$){v=w.stateNode,Ja(us.current);var J=null;switch(A){case&quot;input&quot;:G=ae(v,G),$=ae(v,$),J=[];break;case&quot;select&quot;:G=T({},G,{value:void 0}),$=T({},$,{value:void 0}),J=[];break;case&quot;textarea&quot;:G=pe(v,G),$=pe(v,$),J=[];break;default:typeof G.onClick!=&quot;function&quot;&amp;&amp;typeof $.onClick==&quot;function&quot;&amp;&amp;(v.onclick=sd)}tt(A,$);var oe;A=null;for(Ce in G)if(!$.hasOwnProperty(Ce)&amp;&amp;G.hasOwnProperty(Ce)&amp;&amp;G[Ce]!=null)if(Ce===&quot;style&quot;){var me=G[Ce];for(oe in me)me.hasOwnProperty(oe)&amp;&amp;(A||(A={}),A[oe]=&quot;&quot;)}else Ce!==&quot;dangerouslySetInnerHTML&quot;&amp;&amp;Ce!==&quot;children&quot;&amp;&amp;Ce!==&quot;suppressContentEditableWarning&quot;&amp;&amp;Ce!==&quot;suppressHydrationWarning&quot;&amp;&amp;Ce!==&quot;autoFocus&quot;&amp;&amp;(o.hasOwnProperty(Ce)?J||(J=[]):(J=J||[]).push(Ce,null));for(Ce in $){var ye=$[Ce];if(me=G?.[Ce],$.hasOwnProperty(Ce)&amp;&amp;ye!==me&amp;&amp;(ye!=null||me!=null))if(Ce===&quot;style&quot;)if(me){for(oe in me)!me.hasOwnProperty(oe)||ye&amp;&amp;ye.hasOwnProperty(oe)||(A||(A={}),A[oe]=&quot;&quot;);for(oe in ye)ye.hasOwnProperty(oe)&amp;&amp;me[oe]!==ye[oe]&amp;&amp;(A||(A={}),A[oe]=ye[oe])}else A||(J||(J=[]),J.push(Ce,A)),A=ye;else Ce===&quot;dangerouslySetInnerHTML&quot;?(ye=ye?ye.__html:void 0,me=me?me.__html:void 0,ye!=null&amp;&amp;me!==ye&amp;&amp;(J=J||[]).push(Ce,ye)):Ce===&quot;children&quot;?typeof ye!=&quot;string&quot;&amp;&amp;typeof ye!=&quot;number&quot;||(J=J||[]).push(Ce,&quot;&quot;+ye):Ce!==&quot;suppressContentEditableWarning&quot;&amp;&amp;Ce!==&quot;suppressHydrationWarning&quot;&amp;&amp;(o.hasOwnProperty(Ce)?(ye!=null&amp;&amp;Ce===&quot;onScroll&quot;&amp;&amp;pr(&quot;scroll&quot;,v),J||me===ye||(J=[])):(J=J||[]).push(Ce,ye))}A&amp;&amp;(J=J||[]).push(&quot;style&quot;,A);var Ce=J;(w.updateQueue=Ce)&amp;&amp;(w.flags|=4)}},hw=function(v,w,A,$){A!==$&amp;&amp;(w.flags|=4)};function xc(v,w){if(!br)switch(v.tailMode){case&quot;hidden&quot;:w=v.tail;for(var A=null;w!==null;)w.alternate!==null&amp;&amp;(A=w),w=w.sibling;A===null?v.tail=null:A.sibling=null;break;case&quot;collapsed&quot;:A=v.tail;for(var $=null;A!==null;)A.alternate!==null&amp;&amp;($=A),A=A.sibling;$===null?w||v.tail===null?v.tail=null:v.tail.sibling=null:$.sibling=null}}function Nn(v){var w=v.alternate!==null&amp;&amp;v.alternate.child===v.child,A=0,$=0;if(w)for(var G=v.child;G!==null;)A|=G.lanes|G.childLanes,$|=G.subtreeFlags&amp;14680064,$|=G.flags&amp;14680064,G.return=v,G=G.sibling;else for(G=v.child;G!==null;)A|=G.lanes|G.childLanes,$|=G.subtreeFlags,$|=G.flags,G.return=v,G=G.sibling;return v.subtreeFlags|=$,v.childLanes=A,w}function WA(v,w,A){var $=w.pendingProps;switch(pp(w),w.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Nn(w),null;case 1:return Hn(w.type)&amp;&amp;od(),Nn(w),null;case 3:return $=w.stateNode,ol(),gr(Wn),gr(Sn),Ep(),$.pendingContext&amp;&amp;($.context=$.pendingContext,$.pendingContext=null),(v===null||v.child===null)&amp;&amp;(fd(w)?w.flags|=4:v===null||v.memoizedState.isDehydrated&amp;&amp;(w.flags&amp;256)===0||(w.flags|=1024,Bi!==null&amp;&amp;(i0(Bi),Bi=null))),Kp(v,w),Nn(w),null;case 5:Np(w);var G=Ja(pc.current);if(A=w.type,v!==null&amp;&amp;w.stateNode!=null)fw(v,w,A,$,G),v.ref!==w.ref&amp;&amp;(w.flags|=512,w.flags|=2097152);else{if(!$){if(w.stateNode===null)throw Error(t(166));return Nn(w),null}if(v=Ja(us.current),fd(w)){$=w.stateNode,A=w.type;var J=w.memoizedProps;switch($[cs]=w,$[uc]=J,v=(w.mode&amp;1)!==0,A){case&quot;dialog&quot;:pr(&quot;cancel&quot;,$),pr(&quot;close&quot;,$);break;case&quot;iframe&quot;:case&quot;object&quot;:case&quot;embed&quot;:pr(&quot;load&quot;,$);break;case&quot;video&quot;:case&quot;audio&quot;:for(G=0;G&lt;oc.length;G++)pr(oc[G],$);break;case&quot;source&quot;:pr(&quot;error&quot;,$);break;case&quot;img&quot;:case&quot;image&quot;:case&quot;link&quot;:pr(&quot;error&quot;,$),pr(&quot;load&quot;,$);break;case&quot;details&quot;:pr(&quot;toggle&quot;,$);break;case&quot;input&quot;:ce($,J),pr(&quot;invalid&quot;,$);break;case&quot;select&quot;:$._wrapperState={wasMultiple:!!J.multiple},pr(&quot;invalid&quot;,$);break;case&quot;textarea&quot;:le($,J),pr(&quot;invalid&quot;,$)}tt(A,J),G=null;for(var oe in J)if(J.hasOwnProperty(oe)){var me=J[oe];oe===&quot;children&quot;?typeof me==&quot;string&quot;?$.textContent!==me&amp;&amp;(J.suppressHydrationWarning!==!0&amp;&amp;id($.textContent,me,v),G=[&quot;children&quot;,me]):typeof me==&quot;number&quot;&amp;&amp;$.textContent!==&quot;&quot;+me&amp;&amp;(J.suppressHydrationWarning!==!0&amp;&amp;id($.textContent,me,v),G=[&quot;children&quot;,&quot;&quot;+me]):o.hasOwnProperty(oe)&amp;&amp;me!=null&amp;&amp;oe===&quot;onScroll&quot;&amp;&amp;pr(&quot;scroll&quot;,$)}switch(A){case&quot;input&quot;:re($),ue($,J,!0);break;case&quot;textarea&quot;:re($),Se($);break;case&quot;select&quot;:case&quot;option&quot;:break;default:typeof J.onClick==&quot;function&quot;&amp;&amp;($.onclick=sd)}$=G,w.updateQueue=$,$!==null&amp;&amp;(w.flags|=4)}else{oe=G.nodeType===9?G:G.ownerDocument,v===&quot;http://www.w3.org/1999/xhtml&quot;&amp;&amp;(v=Oe(A)),v===&quot;http://www.w3.org/1999/xhtml&quot;?A===&quot;script&quot;?(v=oe.createElement(&quot;div&quot;),v.innerHTML=&quot;&lt;script&gt;&lt;\/script&gt;&quot;,v=v.removeChild(v.firstChild)):typeof $.is==&quot;string&quot;?v=oe.createElement(A,{is:$.is}):(v=oe.createElement(A),A===&quot;select&quot;&amp;&amp;(oe=v,$.multiple?oe.multiple=!0:$.size&amp;&amp;(oe.size=$.size))):v=oe.createElementNS(v,A),v[cs]=w,v[uc]=$,dw(v,w,!1,!1),w.stateNode=v;e:{switch(oe=Ye(A,$),A){case&quot;dialog&quot;:pr(&quot;cancel&quot;,v),pr(&quot;close&quot;,v),G=$;break;case&quot;iframe&quot;:case&quot;object&quot;:case&quot;embed&quot;:pr(&quot;load&quot;,v),G=$;break;case&quot;video&quot;:case&quot;audio&quot;:for(G=0;G&lt;oc.length;G++)pr(oc[G],v);G=$;break;case&quot;source&quot;:pr(&quot;error&quot;,v),G=$;break;case&quot;img&quot;:case&quot;image&quot;:case&quot;link&quot;:pr(&quot;error&quot;,v),pr(&quot;load&quot;,v),G=$;break;case&quot;details&quot;:pr(&quot;toggle&quot;,v),G=$;break;case&quot;input&quot;:ce(v,$),G=ae(v,$),pr(&quot;invalid&quot;,v);break;case&quot;option&quot;:G=$;break;case&quot;select&quot;:v._wrapperState={wasMultiple:!!$.multiple},G=T({},$,{value:void 0}),pr(&quot;invalid&quot;,v);break;case&quot;textarea&quot;:le(v,$),G=pe(v,$),pr(&quot;invalid&quot;,v);break;default:G=$}tt(A,G),me=G;for(J in me)if(me.hasOwnProperty(J)){var ye=me[J];J===&quot;style&quot;?$e(v,ye):J===&quot;dangerouslySetInnerHTML&quot;?(ye=ye?ye.__html:void 0,ye!=null&amp;&amp;Ve(v,ye)):J===&quot;children&quot;?typeof ye==&quot;string&quot;?(A!==&quot;textarea&quot;||ye!==&quot;&quot;)&amp;&amp;Qe(v,ye):typeof ye==&quot;number&quot;&amp;&amp;Qe(v,&quot;&quot;+ye):J!==&quot;suppressContentEditableWarning&quot;&amp;&amp;J!==&quot;suppressHydrationWarning&quot;&amp;&amp;J!==&quot;autoFocus&quot;&amp;&amp;(o.hasOwnProperty(J)?ye!=null&amp;&amp;J===&quot;onScroll&quot;&amp;&amp;pr(&quot;scroll&quot;,v):ye!=null&amp;&amp;_(v,J,ye,oe))}switch(A){case&quot;input&quot;:re(v),ue(v,$,!1);break;case&quot;textarea&quot;:re(v),Se(v);break;case&quot;option&quot;:$.value!=null&amp;&amp;v.setAttribute(&quot;value&quot;,&quot;&quot;+F($.value));break;case&quot;select&quot;:v.multiple=!!$.multiple,J=$.value,J!=null?ge(v,!!$.multiple,J,!1):$.defaultValue!=null&amp;&amp;ge(v,!!$.multiple,$.defaultValue,!0);break;default:typeof G.onClick==&quot;function&quot;&amp;&amp;(v.onclick=sd)}switch(A){case&quot;button&quot;:case&quot;input&quot;:case&quot;select&quot;:case&quot;textarea&quot;:$=!!$.autoFocus;break e;case&quot;img&quot;:$=!0;break e;default:$=!1}}$&amp;&amp;(w.flags|=4)}w.ref!==null&amp;&amp;(w.flags|=512,w.flags|=2097152)}return Nn(w),null;case 6:if(v&amp;&amp;w.stateNode!=null)hw(v,w,v.memoizedProps,$);else{if(typeof $!=&quot;string&quot;&amp;&amp;w.stateNode===null)throw Error(t(166));if(A=Ja(pc.current),Ja(us.current),fd(w)){if($=w.stateNode,A=w.memoizedProps,$[cs]=w,(J=$.nodeValue!==A)&amp;&amp;(v=ni,v!==null))switch(v.tag){case 3:id($.nodeValue,A,(v.mode&amp;1)!==0);break;case 5:v.memoizedProps.suppressHydrationWarning!==!0&amp;&amp;id($.nodeValue,A,(v.mode&amp;1)!==0)}J&amp;&amp;(w.flags|=4)}else $=(A.nodeType===9?A:A.ownerDocument).createTextNode($),$[cs]=w,w.stateNode=$}return Nn(w),null;case 13:if(gr(kr),$=w.memoizedState,v===null||v.memoizedState!==null&amp;&amp;v.memoizedState.dehydrated!==null){if(br&amp;&amp;ii!==null&amp;&amp;(w.mode&amp;1)!==0&amp;&amp;(w.flags&amp;128)===0)g2(),nl(),w.flags|=98560,J=!1;else if(J=fd(w),$!==null&amp;&amp;$.dehydrated!==null){if(v===null){if(!J)throw Error(t(318));if(J=w.memoizedState,J=J!==null?J.dehydrated:null,!J)throw Error(t(317));J[cs]=w}else nl(),(w.flags&amp;128)===0&amp;&amp;(w.memoizedState=null),w.flags|=4;Nn(w),J=!1}else Bi!==null&amp;&amp;(i0(Bi),Bi=null),J=!0;if(!J)return w.flags&amp;65536?w:null}return(w.flags&amp;128)!==0?(w.lanes=A,w):($=$!==null,$!==(v!==null&amp;&amp;v.memoizedState!==null)&amp;&amp;$&amp;&amp;(w.child.flags|=8192,(w.mode&amp;1)!==0&amp;&amp;(v===null||(kr.current&amp;1)!==0?Wr===0&amp;&amp;(Wr=3):o0())),w.updateQueue!==null&amp;&amp;(w.flags|=4),Nn(w),null);case 4:return ol(),Kp(v,w),v===null&amp;&amp;lc(w.stateNode.containerInfo),Nn(w),null;case 10:return wp(w.type._context),Nn(w),null;case 17:return Hn(w.type)&amp;&amp;od(),Nn(w),null;case 19:if(gr(kr),J=w.memoizedState,J===null)return Nn(w),null;if($=(w.flags&amp;128)!==0,oe=J.rendering,oe===null)if($)xc(J,!1);else{if(Wr!==0||v!==null&amp;&amp;(v.flags&amp;128)!==0)for(v=w.child;v!==null;){if(oe=yd(v),oe!==null){for(w.flags|=128,xc(J,!1),$=oe.updateQueue,$!==null&amp;&amp;(w.updateQueue=$,w.flags|=4),w.subtreeFlags=0,$=A,A=w.child;A!==null;)J=A,v=$,J.flags&amp;=14680066,oe=J.alternate,oe===null?(J.childLanes=0,J.lanes=v,J.child=null,J.subtreeFlags=0,J.memoizedProps=null,J.memoizedState=null,J.updateQueue=null,J.dependencies=null,J.stateNode=null):(J.childLanes=oe.childLanes,J.lanes=oe.lanes,J.child=oe.child,J.subtreeFlags=0,J.deletions=null,J.memoizedProps=oe.memoizedProps,J.memoizedState=oe.memoizedState,J.updateQueue=oe.updateQueue,J.type=oe.type,v=oe.dependencies,J.dependencies=v===null?null:{lanes:v.lanes,firstContext:v.firstContext}),A=A.sibling;return fr(kr,kr.current&amp;1|2),w.child}v=v.sibling}J.tail!==null&amp;&amp;we()&gt;dl&amp;&amp;(w.flags|=128,$=!0,xc(J,!1),w.lanes=4194304)}else{if(!$)if(v=yd(oe),v!==null){if(w.flags|=128,$=!0,A=v.updateQueue,A!==null&amp;&amp;(w.updateQueue=A,w.flags|=4),xc(J,!0),J.tail===null&amp;&amp;J.tailMode===&quot;hidden&quot;&amp;&amp;!oe.alternate&amp;&amp;!br)return Nn(w),null}else 2*we()-J.renderingStartTime&gt;dl&amp;&amp;A!==1073741824&amp;&amp;(w.flags|=128,$=!0,xc(J,!1),w.lanes=4194304);J.isBackwards?(oe.sibling=w.child,w.child=oe):(A=J.last,A!==null?A.sibling=oe:w.child=oe,J.last=oe)}return J.tail!==null?(w=J.tail,J.rendering=w,J.tail=w.sibling,J.renderingStartTime=we(),w.sibling=null,A=kr.current,fr(kr,$?A&amp;1|2:A&amp;1),w):(Nn(w),null);case 22:case 23:return a0(),$=w.memoizedState!==null,v!==null&amp;&amp;v.memoizedState!==null!==$&amp;&amp;(w.flags|=8192),$&amp;&amp;(w.mode&amp;1)!==0?(si&amp;1073741824)!==0&amp;&amp;(Nn(w),w.subtreeFlags&amp;6&amp;&amp;(w.flags|=8192)):Nn(w),null;case 24:return null;case 25:return null}throw Error(t(156,w.tag))}function HA(v,w){switch(pp(w),w.tag){case 1:return Hn(w.type)&amp;&amp;od(),v=w.flags,v&amp;65536?(w.flags=v&amp;-65537|128,w):null;case 3:return ol(),gr(Wn),gr(Sn),Ep(),v=w.flags,(v&amp;65536)!==0&amp;&amp;(v&amp;128)===0?(w.flags=v&amp;-65537|128,w):null;case 5:return Np(w),null;case 13:if(gr(kr),v=w.memoizedState,v!==null&amp;&amp;v.dehydrated!==null){if(w.alternate===null)throw Error(t(340));nl()}return v=w.flags,v&amp;65536?(w.flags=v&amp;-65537|128,w):null;case 19:return gr(kr),null;case 4:return ol(),null;case 10:return wp(w.type._context),null;case 22:case 23:return a0(),null;case 24:return null;default:return null}}var Cd=!1,Cn=!1,KA=typeof WeakSet==&quot;function&quot;?WeakSet:Set,ot=null;function cl(v,w){var A=v.ref;if(A!==null)if(typeof A==&quot;function&quot;)try{A(null)}catch($){Or(v,w,$)}else A.current=null}function Xp(v,w,A){try{A()}catch($){Or(v,w,$)}}var mw=!1;function XA(v,w){if(ap=Bo,v=H1(),Qm(v)){if(&quot;selectionStart&quot;in v)var A={start:v.selectionStart,end:v.selectionEnd};else e:{A=(A=v.ownerDocument)&amp;&amp;A.defaultView||window;var $=A.getSelection&amp;&amp;A.getSelection();if($&amp;&amp;$.rangeCount!==0){A=$.anchorNode;var G=$.anchorOffset,J=$.focusNode;$=$.focusOffset;try{A.nodeType,J.nodeType}catch{A=null;break e}var oe=0,me=-1,ye=-1,Ce=0,Le=0,Be=v,De=null;t:for(;;){for(var nt;Be!==A||G!==0&amp;&amp;Be.nodeType!==3||(me=oe+G),Be!==J||$!==0&amp;&amp;Be.nodeType!==3||(ye=oe+$),Be.nodeType===3&amp;&amp;(oe+=Be.nodeValue.length),(nt=Be.firstChild)!==null;)De=Be,Be=nt;for(;;){if(Be===v)break t;if(De===A&amp;&amp;++Ce===G&amp;&amp;(me=oe),De===J&amp;&amp;++Le===$&amp;&amp;(ye=oe),(nt=Be.nextSibling)!==null)break;Be=De,De=Be.parentNode}Be=nt}A=me===-1||ye===-1?null:{start:me,end:ye}}else A=null}A=A||{start:0,end:0}}else A=null;for(op={focusedElem:v,selectionRange:A},Bo=!1,ot=w;ot!==null;)if(w=ot,v=w.child,(w.subtreeFlags&amp;1028)!==0&amp;&amp;v!==null)v.return=w,ot=v;else for(;ot!==null;){w=ot;try{var ut=w.alternate;if((w.flags&amp;1024)!==0)switch(w.tag){case 0:case 11:case 15:break;case 1:if(ut!==null){var ht=ut.memoizedProps,Dr=ut.memoizedState,ke=w.stateNode,xe=ke.getSnapshotBeforeUpdate(w.elementType===w.type?ht:zi(w.type,ht),Dr);ke.__reactInternalSnapshotBeforeUpdate=xe}break;case 3:var Ne=w.stateNode.containerInfo;Ne.nodeType===1?Ne.textContent=&quot;&quot;:Ne.nodeType===9&amp;&amp;Ne.documentElement&amp;&amp;Ne.removeChild(Ne.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(t(163))}}catch(qe){Or(w,w.return,qe)}if(v=w.sibling,v!==null){v.return=w.return,ot=v;break}ot=w.return}return ut=mw,mw=!1,ut}function wc(v,w,A){var $=w.updateQueue;if($=$!==null?$.lastEffect:null,$!==null){var G=$=$.next;do{if((G.tag&amp;v)===v){var J=G.destroy;G.destroy=void 0,J!==void 0&amp;&amp;Xp(w,A,J)}G=G.next}while(G!==$)}}function Ed(v,w){if(w=w.updateQueue,w=w!==null?w.lastEffect:null,w!==null){var A=w=w.next;do{if((A.tag&amp;v)===v){var $=A.create;A.destroy=$()}A=A.next}while(A!==w)}}function Gp(v){var w=v.ref;if(w!==null){var A=v.stateNode;v.tag,v=A,typeof w==&quot;function&quot;?w(v):w.current=v}}function pw(v){var w=v.alternate;w!==null&amp;&amp;(v.alternate=null,pw(w)),v.child=null,v.deletions=null,v.sibling=null,v.tag===5&amp;&amp;(w=v.stateNode,w!==null&amp;&amp;(delete w[cs],delete w[uc],delete w[dp],delete w[MA],delete w[OA])),v.stateNode=null,v.return=null,v.dependencies=null,v.memoizedProps=null,v.memoizedState=null,v.pendingProps=null,v.stateNode=null,v.updateQueue=null}function gw(v){return v.tag===5||v.tag===3||v.tag===4}function vw(v){e:for(;;){for(;v.sibling===null;){if(v.return===null||gw(v.return))return null;v=v.return}for(v.sibling.return=v.return,v=v.sibling;v.tag!==5&amp;&amp;v.tag!==6&amp;&amp;v.tag!==18;){if(v.flags&amp;2||v.child===null||v.tag===4)continue e;v.child.return=v,v=v.child}if(!(v.flags&amp;2))return v.stateNode}}function Yp(v,w,A){var $=v.tag;if($===5||$===6)v=v.stateNode,w?A.nodeType===8?A.parentNode.insertBefore(v,w):A.insertBefore(v,w):(A.nodeType===8?(w=A.parentNode,w.insertBefore(v,A)):(w=A,w.appendChild(v)),A=A._reactRootContainer,A!=null||w.onclick!==null||(w.onclick=sd));else if($!==4&amp;&amp;(v=v.child,v!==null))for(Yp(v,w,A),v=v.sibling;v!==null;)Yp(v,w,A),v=v.sibling}function Zp(v,w,A){var $=v.tag;if($===5||$===6)v=v.stateNode,w?A.insertBefore(v,w):A.appendChild(v);else if($!==4&amp;&amp;(v=v.child,v!==null))for(Zp(v,w,A),v=v.sibling;v!==null;)Zp(v,w,A),v=v.sibling}var mn=null,$i=!1;function ma(v,w,A){for(A=A.child;A!==null;)yw(v,w,A),A=A.sibling}function yw(v,w,A){if(jt&amp;&amp;typeof jt.onCommitFiberUnmount==&quot;function&quot;)try{jt.onCommitFiberUnmount(Mt,A)}catch{}switch(A.tag){case 5:Cn||cl(A,w);case 6:var $=mn,G=$i;mn=null,ma(v,w,A),mn=$,$i=G,mn!==null&amp;&amp;($i?(v=mn,A=A.stateNode,v.nodeType===8?v.parentNode.removeChild(A):v.removeChild(A)):mn.removeChild(A.stateNode));break;case 18:mn!==null&amp;&amp;($i?(v=mn,A=A.stateNode,v.nodeType===8?up(v.parentNode,A):v.nodeType===1&amp;&amp;up(v,A),Ha(v)):up(mn,A.stateNode));break;case 4:$=mn,G=$i,mn=A.stateNode.containerInfo,$i=!0,ma(v,w,A),mn=$,$i=G;break;case 0:case 11:case 14:case 15:if(!Cn&amp;&amp;($=A.updateQueue,$!==null&amp;&amp;($=$.lastEffect,$!==null))){G=$=$.next;do{var J=G,oe=J.destroy;J=J.tag,oe!==void 0&amp;&amp;((J&amp;2)!==0||(J&amp;4)!==0)&amp;&amp;Xp(A,w,oe),G=G.next}while(G!==$)}ma(v,w,A);break;case 1:if(!Cn&amp;&amp;(cl(A,w),$=A.stateNode,typeof $.componentWillUnmount==&quot;function&quot;))try{$.props=A.memoizedProps,$.state=A.memoizedState,$.componentWillUnmount()}catch(me){Or(A,w,me)}ma(v,w,A);break;case 21:ma(v,w,A);break;case 22:A.mode&amp;1?(Cn=($=Cn)||A.memoizedState!==null,ma(v,w,A),Cn=$):ma(v,w,A);break;default:ma(v,w,A)}}function bw(v){var w=v.updateQueue;if(w!==null){v.updateQueue=null;var A=v.stateNode;A===null&amp;&amp;(A=v.stateNode=new KA),w.forEach(function($){var G=nM.bind(null,v,$);A.has($)||(A.add($),$.then(G,G))})}}function Ui(v,w){var A=w.deletions;if(A!==null)for(var $=0;$&lt;A.length;$++){var G=A[$];try{var J=v,oe=w,me=oe;e:for(;me!==null;){switch(me.tag){case 5:mn=me.stateNode,$i=!1;break e;case 3:mn=me.stateNode.containerInfo,$i=!0;break e;case 4:mn=me.stateNode.containerInfo,$i=!0;break e}me=me.return}if(mn===null)throw Error(t(160));yw(J,oe,G),mn=null,$i=!1;var ye=G.alternate;ye!==null&amp;&amp;(ye.return=null),G.return=null}catch(Ce){Or(G,w,Ce)}}if(w.subtreeFlags&amp;12854)for(w=w.child;w!==null;)xw(w,v),w=w.sibling}function xw(v,w){var A=v.alternate,$=v.flags;switch(v.tag){case 0:case 11:case 14:case 15:if(Ui(w,v),fs(v),$&amp;4){try{wc(3,v,v.return),Ed(3,v)}catch(ht){Or(v,v.return,ht)}try{wc(5,v,v.return)}catch(ht){Or(v,v.return,ht)}}break;case 1:Ui(w,v),fs(v),$&amp;512&amp;&amp;A!==null&amp;&amp;cl(A,A.return);break;case 5:if(Ui(w,v),fs(v),$&amp;512&amp;&amp;A!==null&amp;&amp;cl(A,A.return),v.flags&amp;32){var G=v.stateNode;try{Qe(G,&quot;&quot;)}catch(ht){Or(v,v.return,ht)}}if($&amp;4&amp;&amp;(G=v.stateNode,G!=null)){var J=v.memoizedProps,oe=A!==null?A.memoizedProps:J,me=v.type,ye=v.updateQueue;if(v.updateQueue=null,ye!==null)try{me===&quot;input&quot;&amp;&amp;J.type===&quot;radio&quot;&amp;&amp;J.name!=null&amp;&amp;fe(G,J),Ye(me,oe);var Ce=Ye(me,J);for(oe=0;oe&lt;ye.length;oe+=2){var Le=ye[oe],Be=ye[oe+1];Le===&quot;style&quot;?$e(G,Be):Le===&quot;dangerouslySetInnerHTML&quot;?Ve(G,Be):Le===&quot;children&quot;?Qe(G,Be):_(G,Le,Be,Ce)}switch(me){case&quot;input&quot;:se(G,J);break;case&quot;textarea&quot;:_e(G,J);break;case&quot;select&quot;:var De=G._wrapperState.wasMultiple;G._wrapperState.wasMultiple=!!J.multiple;var nt=J.value;nt!=null?ge(G,!!J.multiple,nt,!1):De!==!!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(ht){Or(v,v.return,ht)}}break;case 6:if(Ui(w,v),fs(v),$&amp;4){if(v.stateNode===null)throw Error(t(162));G=v.stateNode,J=v.memoizedProps;try{G.nodeValue=J}catch(ht){Or(v,v.return,ht)}}break;case 3:if(Ui(w,v),fs(v),$&amp;4&amp;&amp;A!==null&amp;&amp;A.memoizedState.isDehydrated)try{Ha(w.containerInfo)}catch(ht){Or(v,v.return,ht)}break;case 4:Ui(w,v),fs(v);break;case 13:Ui(w,v),fs(v),G=v.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||(e0=we())),$&amp;4&amp;&amp;bw(v);break;case 22:if(Le=A!==null&amp;&amp;A.memoizedState!==null,v.mode&amp;1?(Cn=(Ce=Cn)||Le,Ui(w,v),Cn=Ce):Ui(w,v),fs(v),$&amp;8192){if(Ce=v.memoizedState!==null,(v.stateNode.isHidden=Ce)&amp;&amp;!Le&amp;&amp;(v.mode&amp;1)!==0)for(ot=v,Le=v.child;Le!==null;){for(Be=ot=Le;ot!==null;){switch(De=ot,nt=De.child,De.tag){case 0:case 11:case 14:case 15:wc(4,De,De.return);break;case 1:cl(De,De.return);var ut=De.stateNode;if(typeof ut.componentWillUnmount==&quot;function&quot;){$=De,A=De.return;try{w=$,ut.props=w.memoizedProps,ut.state=w.memoizedState,ut.componentWillUnmount()}catch(ht){Or($,A,ht)}}break;case 5:cl(De,De.return);break;case 22:if(De.memoizedState!==null){jw(Be);continue}}nt!==null?(nt.return=De,ot=nt):jw(Be)}Le=Le.sibling}e:for(Le=null,Be=v;;){if(Be.tag===5){if(Le===null){Le=Be;try{G=Be.stateNode,Ce?(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;):(me=Be.stateNode,ye=Be.memoizedProps.style,oe=ye!=null&amp;&amp;ye.hasOwnProperty(&quot;display&quot;)?ye.display:null,me.style.display=Ge(&quot;display&quot;,oe))}catch(ht){Or(v,v.return,ht)}}}else if(Be.tag===6){if(Le===null)try{Be.stateNode.nodeValue=Ce?&quot;&quot;:Be.memoizedProps}catch(ht){Or(v,v.return,ht)}}else if((Be.tag!==22&amp;&amp;Be.tag!==23||Be.memoizedState===null||Be===v)&amp;&amp;Be.child!==null){Be.child.return=Be,Be=Be.child;continue}if(Be===v)break e;for(;Be.sibling===null;){if(Be.return===null||Be.return===v)break e;Le===Be&amp;&amp;(Le=null),Be=Be.return}Le===Be&amp;&amp;(Le=null),Be.sibling.return=Be.return,Be=Be.sibling}}break;case 19:Ui(w,v),fs(v),$&amp;4&amp;&amp;bw(v);break;case 21:break;default:Ui(w,v),fs(v)}}function fs(v){var w=v.flags;if(w&amp;2){try{e:{for(var A=v.return;A!==null;){if(gw(A)){var $=A;break e}A=A.return}throw Error(t(160))}switch($.tag){case 5:var G=$.stateNode;$.flags&amp;32&amp;&amp;(Qe(G,&quot;&quot;),$.flags&amp;=-33);var J=vw(v);Zp(v,J,G);break;case 3:case 4:var oe=$.stateNode.containerInfo,me=vw(v);Yp(v,me,oe);break;default:throw Error(t(161))}}catch(ye){Or(v,v.return,ye)}v.flags&amp;=-3}w&amp;4096&amp;&amp;(v.flags&amp;=-4097)}function GA(v,w,A){ot=v,ww(v)}function ww(v,w,A){for(var $=(v.mode&amp;1)!==0;ot!==null;){var G=ot,J=G.child;if(G.tag===22&amp;&amp;$){var oe=G.memoizedState!==null||Cd;if(!oe){var me=G.alternate,ye=me!==null&amp;&amp;me.memoizedState!==null||Cn;me=Cd;var Ce=Cn;if(Cd=oe,(Cn=ye)&amp;&amp;!Ce)for(ot=G;ot!==null;)oe=ot,ye=oe.child,oe.tag===22&amp;&amp;oe.memoizedState!==null?Sw(G):ye!==null?(ye.return=oe,ot=ye):Sw(G);for(;J!==null;)ot=J,ww(J),J=J.sibling;ot=G,Cd=me,Cn=Ce}_w(v)}else(G.subtreeFlags&amp;8772)!==0&amp;&amp;J!==null?(J.return=G,ot=J):_w(v)}}function _w(v){for(;ot!==null;){var w=ot;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:Cn||Ed(5,w);break;case 1:var $=w.stateNode;if(w.flags&amp;4&amp;&amp;!Cn)if(A===null)$.componentDidMount();else{var G=w.elementType===w.type?A.memoizedProps:zi(w.type,A.memoizedProps);$.componentDidUpdate(G,A.memoizedState,$.__reactInternalSnapshotBeforeUpdate)}var J=w.updateQueue;J!==null&amp;&amp;j2(w,J,$);break;case 3:var oe=w.updateQueue;if(oe!==null){if(A=null,w.child!==null)switch(w.child.tag){case 5:A=w.child.stateNode;break;case 1:A=w.child.stateNode}j2(w,oe,A)}break;case 5:var me=w.stateNode;if(A===null&amp;&amp;w.flags&amp;4){A=me;var ye=w.memoizedProps;switch(w.type){case&quot;button&quot;:case&quot;input&quot;:case&quot;select&quot;:case&quot;textarea&quot;:ye.autoFocus&amp;&amp;A.focus();break;case&quot;img&quot;:ye.src&amp;&amp;(A.src=ye.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(w.memoizedState===null){var Ce=w.alternate;if(Ce!==null){var Le=Ce.memoizedState;if(Le!==null){var Be=Le.dehydrated;Be!==null&amp;&amp;Ha(Be)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(t(163))}Cn||w.flags&amp;512&amp;&amp;Gp(w)}catch(De){Or(w,w.return,De)}}if(w===v){ot=null;break}if(A=w.sibling,A!==null){A.return=w.return,ot=A;break}ot=w.return}}function jw(v){for(;ot!==null;){var w=ot;if(w===v){ot=null;break}var A=w.sibling;if(A!==null){A.return=w.return,ot=A;break}ot=w.return}}function Sw(v){for(;ot!==null;){var w=ot;try{switch(w.tag){case 0:case 11:case 15:var A=w.return;try{Ed(4,w)}catch(ye){Or(w,A,ye)}break;case 1:var $=w.stateNode;if(typeof $.componentDidMount==&quot;function&quot;){var G=w.return;try{$.componentDidMount()}catch(ye){Or(w,G,ye)}}var J=w.return;try{Gp(w)}catch(ye){Or(w,J,ye)}break;case 5:var oe=w.return;try{Gp(w)}catch(ye){Or(w,oe,ye)}}}catch(ye){Or(w,w.return,ye)}if(w===v){ot=null;break}var me=w.sibling;if(me!==null){me.return=w.return,ot=me;break}ot=w.return}}var YA=Math.ceil,Ad=E.ReactCurrentDispatcher,Qp=E.ReactCurrentOwner,xi=E.ReactCurrentBatchConfig,tr=0,tn=null,Br=null,pn=0,si=0,ul=ca(0),Wr=0,_c=null,to=0,Md=0,Jp=0,jc=null,Xn=null,e0=0,dl=1/0,Is=null,Od=!1,t0=null,pa=null,Td=!1,ga=null,Pd=0,Sc=0,r0=null,Id=-1,Rd=0;function Rn(){return(tr&amp;6)!==0?we():Id!==-1?Id:Id=we()}function va(v){return(v.mode&amp;1)===0?1:(tr&amp;2)!==0&amp;&amp;pn!==0?pn&amp;-pn:PA.transition!==null?(Rd===0&amp;&amp;(Rd=Gt()),Rd):(v=Bt,v!==0||(v=window.event,v=v===void 0?16:Ku(v.type)),v)}function Vi(v,w,A,$){if(50&lt;Sc)throw Sc=0,r0=null,Error(t(185));fn(v,A,$),((tr&amp;2)===0||v!==tn)&amp;&amp;(v===tn&amp;&amp;((tr&amp;2)===0&amp;&amp;(Md|=A),Wr===4&amp;&amp;ya(v,pn)),Gn(v,$),A===1&amp;&amp;tr===0&amp;&amp;(w.mode&amp;1)===0&amp;&amp;(dl=we()+500,cd&amp;&amp;da()))}function Gn(v,w){var A=v.callbackNode;ss(v,w);var $=Vn(v,v===tn?pn:0);if($===0)A!==null&amp;&amp;Vt(A),v.callbackNode=null,v.callbackPriority=0;else if(w=$&amp;-$,v.callbackPriority!==w){if(A!=null&amp;&amp;Vt(A),w===1)v.tag===0?TA(Nw.bind(null,v)):d2(Nw.bind(null,v)),EA(function(){(tr&amp;6)===0&amp;&amp;da()}),A=null;else{switch(hn($)){case 1:A=Re;break;case 4:A=et;break;case 16:A=ze;break;case 536870912:A=Ft;break;default:A=ze}A=Iw(A,kw.bind(null,v))}v.callbackPriority=w,v.callbackNode=A}}function kw(v,w){if(Id=-1,Rd=0,(tr&amp;6)!==0)throw Error(t(327));var A=v.callbackNode;if(fl()&amp;&amp;v.callbackNode!==A)return null;var $=Vn(v,v===tn?pn:0);if($===0)return null;if(($&amp;30)!==0||($&amp;v.expiredLanes)!==0||w)w=Dd(v,$);else{w=$;var G=tr;tr|=2;var J=Ew();(tn!==v||pn!==w)&amp;&amp;(Is=null,dl=we()+500,no(v,w));do try{JA();break}catch(me){Cw(v,me)}while(!0);xp(),Ad.current=J,tr=G,Br!==null?w=0:(tn=null,pn=0,w=Wr)}if(w!==0){if(w===2&amp;&amp;(G=di(v),G!==0&amp;&amp;($=G,w=n0(v,G))),w===1)throw A=_c,no(v,0),ya(v,$),Gn(v,we()),A;if(w===6)ya(v,$);else{if(G=v.current.alternate,($&amp;30)===0&amp;&amp;!ZA(G)&amp;&amp;(w=Dd(v,$),w===2&amp;&amp;(J=di(v),J!==0&amp;&amp;($=J,w=n0(v,J))),w===1))throw A=_c,no(v,0),ya(v,$),Gn(v,we()),A;switch(v.finishedWork=G,v.finishedLanes=$,w){case 0:case 1:throw Error(t(345));case 2:io(v,Xn,Is);break;case 3:if(ya(v,$),($&amp;130023424)===$&amp;&amp;(w=e0+500-we(),10&lt;w)){if(Vn(v,0)!==0)break;if(G=v.suspendedLanes,(G&amp;$)!==$){Rn(),v.pingedLanes|=v.suspendedLanes&amp;G;break}v.timeoutHandle=cp(io.bind(null,v,Xn,Is),w);break}io(v,Xn,Is);break;case 4:if(ya(v,$),($&amp;4194240)===$)break;for(w=v.eventTimes,G=-1;0&lt;$;){var oe=31-Et($);J=1&lt;&lt;oe,oe=w[oe],oe&gt;G&amp;&amp;(G=oe),$&amp;=~J}if($=G,$=we()-$,$=(120&gt;$?120:480&gt;$?480:1080&gt;$?1080:1920&gt;$?1920:3e3&gt;$?3e3:4320&gt;$?4320:1960*YA($/1960))-$,10&lt;$){v.timeoutHandle=cp(io.bind(null,v,Xn,Is),$);break}io(v,Xn,Is);break;case 5:io(v,Xn,Is);break;default:throw Error(t(329))}}}return Gn(v,we()),v.callbackNode===A?kw.bind(null,v):null}function n0(v,w){var A=jc;return v.current.memoizedState.isDehydrated&amp;&amp;(no(v,w).flags|=256),v=Dd(v,w),v!==2&amp;&amp;(w=Xn,Xn=A,w!==null&amp;&amp;i0(w)),v}function i0(v){Xn===null?Xn=v:Xn.push.apply(Xn,v)}function ZA(v){for(var w=v;;){if(w.flags&amp;16384){var A=w.updateQueue;if(A!==null&amp;&amp;(A=A.stores,A!==null))for(var $=0;$&lt;A.length;$++){var G=A[$],J=G.getSnapshot;G=G.value;try{if(!Fi(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===v)break;for(;w.sibling===null;){if(w.return===null||w.return===v)return!0;w=w.return}w.sibling.return=w.return,w=w.sibling}}return!0}function ya(v,w){for(w&amp;=~Jp,w&amp;=~Md,v.suspendedLanes|=w,v.pingedLanes&amp;=~w,v=v.expirationTimes;0&lt;w;){var A=31-Et(w),$=1&lt;&lt;A;v[A]=-1,w&amp;=~$}}function Nw(v){if((tr&amp;6)!==0)throw Error(t(327));fl();var w=Vn(v,0);if((w&amp;1)===0)return Gn(v,we()),null;var A=Dd(v,w);if(v.tag!==0&amp;&amp;A===2){var $=di(v);$!==0&amp;&amp;(w=$,A=n0(v,$))}if(A===1)throw A=_c,no(v,0),ya(v,w),Gn(v,we()),A;if(A===6)throw Error(t(345));return v.finishedWork=v.current.alternate,v.finishedLanes=w,io(v,Xn,Is),Gn(v,we()),null}function s0(v,w){var A=tr;tr|=1;try{return v(w)}finally{tr=A,tr===0&amp;&amp;(dl=we()+500,cd&amp;&amp;da())}}function ro(v){ga!==null&amp;&amp;ga.tag===0&amp;&amp;(tr&amp;6)===0&amp;&amp;fl();var w=tr;tr|=1;var A=xi.transition,$=Bt;try{if(xi.transition=null,Bt=1,v)return v()}finally{Bt=$,xi.transition=A,tr=w,(tr&amp;6)===0&amp;&amp;da()}}function a0(){si=ul.current,gr(ul)}function no(v,w){v.finishedWork=null,v.finishedLanes=0;var A=v.timeoutHandle;if(A!==-1&amp;&amp;(v.timeoutHandle=-1,CA(A)),Br!==null)for(A=Br.return;A!==null;){var $=A;switch(pp($),$.tag){case 1:$=$.type.childContextTypes,$!=null&amp;&amp;od();break;case 3:ol(),gr(Wn),gr(Sn),Ep();break;case 5:Np($);break;case 4:ol();break;case 13:gr(kr);break;case 19:gr(kr);break;case 10:wp($.type._context);break;case 22:case 23:a0()}A=A.return}if(tn=v,Br=v=ba(v.current,null),pn=si=w,Wr=0,_c=null,Jp=Md=to=0,Xn=jc=null,Qa!==null){for(w=0;w&lt;Qa.length;w++)if(A=Qa[w],$=A.interleaved,$!==null){A.interleaved=null;var G=$.next,J=A.pending;if(J!==null){var oe=J.next;J.next=G,$.next=oe}A.pending=$}Qa=null}return v}function Cw(v,w){do{var A=Br;try{if(xp(),bd.current=jd,xd){for(var $=Nr.memoizedState;$!==null;){var G=$.queue;G!==null&amp;&amp;(G.pending=null),$=$.next}xd=!1}if(eo=0,en=qr=Nr=null,gc=!1,vc=0,Qp.current=null,A===null||A.return===null){Wr=1,_c=w,Br=null;break}e:{var J=v,oe=A.return,me=A,ye=w;if(w=pn,me.flags|=32768,ye!==null&amp;&amp;typeof ye==&quot;object&quot;&amp;&amp;typeof ye.then==&quot;function&quot;){var Ce=ye,Le=me,Be=Le.tag;if((Le.mode&amp;1)===0&amp;&amp;(Be===0||Be===11||Be===15)){var De=Le.alternate;De?(Le.updateQueue=De.updateQueue,Le.memoizedState=De.memoizedState,Le.lanes=De.lanes):(Le.updateQueue=null,Le.memoizedState=null)}var nt=Q2(oe);if(nt!==null){nt.flags&amp;=-257,J2(nt,oe,me,J,w),nt.mode&amp;1&amp;&amp;Z2(J,Ce,w),w=nt,ye=Ce;var ut=w.updateQueue;if(ut===null){var ht=new Set;ht.add(ye),w.updateQueue=ht}else ut.add(ye);break e}else{if((w&amp;1)===0){Z2(J,Ce,w),o0();break e}ye=Error(t(426))}}else if(br&amp;&amp;me.mode&amp;1){var Dr=Q2(oe);if(Dr!==null){(Dr.flags&amp;65536)===0&amp;&amp;(Dr.flags|=256),J2(Dr,oe,me,J,w),yp(ll(ye,me));break e}}J=ye=ll(ye,me),Wr!==4&amp;&amp;(Wr=2),jc===null?jc=[J]:jc.push(J),J=oe;do{switch(J.tag){case 3:J.flags|=65536,w&amp;=-w,J.lanes|=w;var ke=G2(J,ye,w);_2(J,ke);break e;case 1:me=ye;var xe=J.type,Ne=J.stateNode;if((J.flags&amp;128)===0&amp;&amp;(typeof xe.getDerivedStateFromError==&quot;function&quot;||Ne!==null&amp;&amp;typeof Ne.componentDidCatch==&quot;function&quot;&amp;&amp;(pa===null||!pa.has(Ne)))){J.flags|=65536,w&amp;=-w,J.lanes|=w;var qe=Y2(J,me,w);_2(J,qe);break e}}J=J.return}while(J!==null)}Mw(A)}catch(gt){w=gt,Br===A&amp;&amp;A!==null&amp;&amp;(Br=A=A.return);continue}break}while(!0)}function Ew(){var v=Ad.current;return Ad.current=jd,v===null?jd:v}function o0(){(Wr===0||Wr===3||Wr===2)&amp;&amp;(Wr=4),tn===null||(to&amp;268435455)===0&amp;&amp;(Md&amp;268435455)===0||ya(tn,pn)}function Dd(v,w){var A=tr;tr|=2;var $=Ew();(tn!==v||pn!==w)&amp;&amp;(Is=null,no(v,w));do try{QA();break}catch(G){Cw(v,G)}while(!0);if(xp(),tr=A,Ad.current=$,Br!==null)throw Error(t(261));return tn=null,pn=0,Wr}function QA(){for(;Br!==null;)Aw(Br)}function JA(){for(;Br!==null&amp;&amp;!er();)Aw(Br)}function Aw(v){var w=Pw(v.alternate,v,si);v.memoizedProps=v.pendingProps,w===null?Mw(v):Br=w,Qp.current=null}function Mw(v){var w=v;do{var A=w.alternate;if(v=w.return,(w.flags&amp;32768)===0){if(A=WA(A,w,si),A!==null){Br=A;return}}else{if(A=HA(A,w),A!==null){A.flags&amp;=32767,Br=A;return}if(v!==null)v.flags|=32768,v.subtreeFlags=0,v.deletions=null;else{Wr=6,Br=null;return}}if(w=w.sibling,w!==null){Br=w;return}Br=w=v}while(w!==null);Wr===0&amp;&amp;(Wr=5)}function io(v,w,A){var $=Bt,G=xi.transition;try{xi.transition=null,Bt=1,eM(v,w,A,$)}finally{xi.transition=G,Bt=$}return null}function eM(v,w,A,$){do fl();while(ga!==null);if((tr&amp;6)!==0)throw Error(t(327));A=v.finishedWork;var G=v.finishedLanes;if(A===null)return null;if(v.finishedWork=null,v.finishedLanes=0,A===v.current)throw Error(t(177));v.callbackNode=null,v.callbackPriority=0;var J=A.lanes|A.childLanes;if(fi(v,J),v===tn&amp;&amp;(Br=tn=null,pn=0),(A.subtreeFlags&amp;2064)===0&amp;&amp;(A.flags&amp;2064)===0||Td||(Td=!0,Iw(ze,function(){return fl(),null})),J=(A.flags&amp;15990)!==0,(A.subtreeFlags&amp;15990)!==0||J){J=xi.transition,xi.transition=null;var oe=Bt;Bt=1;var me=tr;tr|=4,Qp.current=null,XA(v,A),xw(A,v),xA(op),Bo=!!ap,op=ap=null,v.current=A,GA(A),de(),tr=me,Bt=oe,xi.transition=J}else v.current=A;if(Td&amp;&amp;(Td=!1,ga=v,Pd=G),J=v.pendingLanes,J===0&amp;&amp;(pa=null),yt(A.stateNode),Gn(v,we()),w!==null)for($=v.onRecoverableError,A=0;A&lt;w.length;A++)G=w[A],$(G.value,{componentStack:G.stack,digest:G.digest});if(Od)throw Od=!1,v=t0,t0=null,v;return(Pd&amp;1)!==0&amp;&amp;v.tag!==0&amp;&amp;fl(),J=v.pendingLanes,(J&amp;1)!==0?v===r0?Sc++:(Sc=0,r0=v):Sc=0,da(),null}function fl(){if(ga!==null){var v=hn(Pd),w=xi.transition,A=Bt;try{if(xi.transition=null,Bt=16&gt;v?16:v,ga===null)var $=!1;else{if(v=ga,ga=null,Pd=0,(tr&amp;6)!==0)throw Error(t(331));var G=tr;for(tr|=4,ot=v.current;ot!==null;){var J=ot,oe=J.child;if((ot.flags&amp;16)!==0){var me=J.deletions;if(me!==null){for(var ye=0;ye&lt;me.length;ye++){var Ce=me[ye];for(ot=Ce;ot!==null;){var Le=ot;switch(Le.tag){case 0:case 11:case 15:wc(8,Le,J)}var Be=Le.child;if(Be!==null)Be.return=Le,ot=Be;else for(;ot!==null;){Le=ot;var De=Le.sibling,nt=Le.return;if(pw(Le),Le===Ce){ot=null;break}if(De!==null){De.return=nt,ot=De;break}ot=nt}}}var ut=J.alternate;if(ut!==null){var ht=ut.child;if(ht!==null){ut.child=null;do{var Dr=ht.sibling;ht.sibling=null,ht=Dr}while(ht!==null)}}ot=J}}if((J.subtreeFlags&amp;2064)!==0&amp;&amp;oe!==null)oe.return=J,ot=oe;else e:for(;ot!==null;){if(J=ot,(J.flags&amp;2048)!==0)switch(J.tag){case 0:case 11:case 15:wc(9,J,J.return)}var ke=J.sibling;if(ke!==null){ke.return=J.return,ot=ke;break e}ot=J.return}}var xe=v.current;for(ot=xe;ot!==null;){oe=ot;var Ne=oe.child;if((oe.subtreeFlags&amp;2064)!==0&amp;&amp;Ne!==null)Ne.return=oe,ot=Ne;else e:for(oe=xe;ot!==null;){if(me=ot,(me.flags&amp;2048)!==0)try{switch(me.tag){case 0:case 11:case 15:Ed(9,me)}}catch(gt){Or(me,me.return,gt)}if(me===oe){ot=null;break e}var qe=me.sibling;if(qe!==null){qe.return=me.return,ot=qe;break e}ot=me.return}}if(tr=G,da(),jt&amp;&amp;typeof jt.onPostCommitFiberRoot==&quot;function&quot;)try{jt.onPostCommitFiberRoot(Mt,v)}catch{}$=!0}return $}finally{Bt=A,xi.transition=w}}return!1}function Ow(v,w,A){w=ll(A,w),w=G2(v,w,1),v=ha(v,w,1),w=Rn(),v!==null&amp;&amp;(fn(v,1,w),Gn(v,w))}function Or(v,w,A){if(v.tag===3)Ow(v,v,A);else for(;w!==null;){if(w.tag===3){Ow(w,v,A);break}else if(w.tag===1){var $=w.stateNode;if(typeof w.type.getDerivedStateFromError==&quot;function&quot;||typeof $.componentDidCatch==&quot;function&quot;&amp;&amp;(pa===null||!pa.has($))){v=ll(A,v),v=Y2(w,v,1),w=ha(w,v,1),v=Rn(),w!==null&amp;&amp;(fn(w,1,v),Gn(w,v));break}}w=w.return}}function tM(v,w,A){var $=v.pingCache;$!==null&amp;&amp;$.delete(w),w=Rn(),v.pingedLanes|=v.suspendedLanes&amp;A,tn===v&amp;&amp;(pn&amp;A)===A&amp;&amp;(Wr===4||Wr===3&amp;&amp;(pn&amp;130023424)===pn&amp;&amp;500&gt;we()-e0?no(v,0):Jp|=A),Gn(v,w)}function Tw(v,w){w===0&amp;&amp;((v.mode&amp;1)===0?w=1:(w=Mr,Mr&lt;&lt;=1,(Mr&amp;130023424)===0&amp;&amp;(Mr=4194304)));var A=Rn();v=Os(v,w),v!==null&amp;&amp;(fn(v,w,A),Gn(v,A))}function rM(v){var w=v.memoizedState,A=0;w!==null&amp;&amp;(A=w.retryLane),Tw(v,A)}function nM(v,w){var A=0;switch(v.tag){case 13:var $=v.stateNode,G=v.memoizedState;G!==null&amp;&amp;(A=G.retryLane);break;case 19:$=v.stateNode;break;default:throw Error(t(314))}$!==null&amp;&amp;$.delete(w),Tw(v,A)}var Pw;Pw=function(v,w,A){if(v!==null)if(v.memoizedProps!==w.pendingProps||Wn.current)Kn=!0;else{if((v.lanes&amp;A)===0&amp;&amp;(w.flags&amp;128)===0)return Kn=!1,qA(v,w,A);Kn=(v.flags&amp;131072)!==0}else Kn=!1,br&amp;&amp;(w.flags&amp;1048576)!==0&amp;&amp;f2(w,dd,w.index);switch(w.lanes=0,w.tag){case 2:var $=w.type;Nd(v,w),v=w.pendingProps;var G=el(w,Sn.current);al(w,A),G=Op(null,w,$,v,G,A);var J=Tp();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,Hn($)?(J=!0,ld(w)):J=!1,w.memoizedState=G.state!==null&amp;&amp;G.state!==void 0?G.state:null,Sp(w),G.updater=Sd,w.stateNode=G,G._reactInternals=w,Fp(w,$,v,A),w=Up(null,w,$,!0,J,A)):(w.tag=0,br&amp;&amp;J&amp;&amp;mp(w),In(null,w,G,A),w=w.child),w;case 16:$=w.elementType;e:{switch(Nd(v,w),v=w.pendingProps,G=$._init,$=G($._payload),w.type=$,G=w.tag=sM($),v=zi($,v),G){case 0:w=$p(null,w,$,v,A);break e;case 1:w=sw(null,w,$,v,A);break e;case 11:w=ew(null,w,$,v,A);break e;case 14:w=tw(null,w,$,zi($.type,v),A);break e}throw Error(t(306,$,&quot;&quot;))}return w;case 0:return $=w.type,G=w.pendingProps,G=w.elementType===$?G:zi($,G),$p(v,w,$,G,A);case 1:return $=w.type,G=w.pendingProps,G=w.elementType===$?G:zi($,G),sw(v,w,$,G,A);case 3:e:{if(aw(w),v===null)throw Error(t(387));$=w.pendingProps,J=w.memoizedState,G=J.element,w2(v,w),vd(w,$,null,A);var oe=w.memoizedState;if($=oe.element,J.isDehydrated)if(J={element:$,isDehydrated:!1,cache:oe.cache,pendingSuspenseBoundaries:oe.pendingSuspenseBoundaries,transitions:oe.transitions},w.updateQueue.baseState=J,w.memoizedState=J,w.flags&amp;256){G=ll(Error(t(423)),w),w=ow(v,w,$,A,G);break e}else if($!==G){G=ll(Error(t(424)),w),w=ow(v,w,$,A,G);break e}else for(ii=la(w.stateNode.containerInfo.firstChild),ni=w,br=!0,Bi=null,A=b2(w,null,$,A),w.child=A;A;)A.flags=A.flags&amp;-3|4096,A=A.sibling;else{if(nl(),$===G){w=Ps(v,w,A);break e}In(v,w,$,A)}w=w.child}return w;case 5:return S2(w),v===null&amp;&amp;vp(w),$=w.type,G=w.pendingProps,J=v!==null?v.memoizedProps:null,oe=G.children,lp($,G)?oe=null:J!==null&amp;&amp;lp($,J)&amp;&amp;(w.flags|=32),iw(v,w),In(v,w,oe,A),w.child;case 6:return v===null&amp;&amp;vp(w),null;case 13:return lw(v,w,A);case 4:return kp(w,w.stateNode.containerInfo),$=w.pendingProps,v===null?w.child=il(w,null,$,A):In(v,w,$,A),w.child;case 11:return $=w.type,G=w.pendingProps,G=w.elementType===$?G:zi($,G),ew(v,w,$,G,A);case 7:return In(v,w,w.pendingProps,A),w.child;case 8:return In(v,w,w.pendingProps.children,A),w.child;case 12:return In(v,w,w.pendingProps.children,A),w.child;case 10:e:{if($=w.type._context,G=w.pendingProps,J=w.memoizedProps,oe=G.value,fr(md,$._currentValue),$._currentValue=oe,J!==null)if(Fi(J.value,oe)){if(J.children===G.children&amp;&amp;!Wn.current){w=Ps(v,w,A);break e}}else for(J=w.child,J!==null&amp;&amp;(J.return=w);J!==null;){var me=J.dependencies;if(me!==null){oe=J.child;for(var ye=me.firstContext;ye!==null;){if(ye.context===$){if(J.tag===1){ye=Ts(-1,A&amp;-A),ye.tag=2;var Ce=J.updateQueue;if(Ce!==null){Ce=Ce.shared;var Le=Ce.pending;Le===null?ye.next=ye:(ye.next=Le.next,Le.next=ye),Ce.pending=ye}}J.lanes|=A,ye=J.alternate,ye!==null&amp;&amp;(ye.lanes|=A),_p(J.return,A,w),me.lanes|=A;break}ye=ye.next}}else if(J.tag===10)oe=J.type===w.type?null:J.child;else if(J.tag===18){if(oe=J.return,oe===null)throw Error(t(341));oe.lanes|=A,me=oe.alternate,me!==null&amp;&amp;(me.lanes|=A),_p(oe,A,w),oe=J.sibling}else oe=J.child;if(oe!==null)oe.return=J;else for(oe=J;oe!==null;){if(oe===w){oe=null;break}if(J=oe.sibling,J!==null){J.return=oe.return,oe=J;break}oe=oe.return}J=oe}In(v,w,G.children,A),w=w.child}return w;case 9:return G=w.type,$=w.pendingProps.children,al(w,A),G=yi(G),$=$(G),w.flags|=1,In(v,w,$,A),w.child;case 14:return $=w.type,G=zi($,w.pendingProps),G=zi($.type,G),tw(v,w,$,G,A);case 15:return rw(v,w,w.type,w.pendingProps,A);case 17:return $=w.type,G=w.pendingProps,G=w.elementType===$?G:zi($,G),Nd(v,w),w.tag=1,Hn($)?(v=!0,ld(w)):v=!1,al(w,A),K2(w,$,G),Fp(w,$,G,A),Up(null,w,$,!0,v,A);case 19:return uw(v,w,A);case 22:return nw(v,w,A)}throw Error(t(156,w.tag))};function Iw(v,w){return Pt(v,w)}function iM(v,w,A,$){this.tag=v,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=$,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function wi(v,w,A,$){return new iM(v,w,A,$)}function l0(v){return v=v.prototype,!(!v||!v.isReactComponent)}function sM(v){if(typeof v==&quot;function&quot;)return l0(v)?1:0;if(v!=null){if(v=v.$$typeof,v===z)return 11;if(v===C)return 14}return 2}function ba(v,w){var A=v.alternate;return A===null?(A=wi(v.tag,w,v.key,v.mode),A.elementType=v.elementType,A.type=v.type,A.stateNode=v.stateNode,A.alternate=v,v.alternate=A):(A.pendingProps=w,A.type=v.type,A.flags=0,A.subtreeFlags=0,A.deletions=null),A.flags=v.flags&amp;14680064,A.childLanes=v.childLanes,A.lanes=v.lanes,A.child=v.child,A.memoizedProps=v.memoizedProps,A.memoizedState=v.memoizedState,A.updateQueue=v.updateQueue,w=v.dependencies,A.dependencies=w===null?null:{lanes:w.lanes,firstContext:w.firstContext},A.sibling=v.sibling,A.index=v.index,A.ref=v.ref,A}function Ld(v,w,A,$,G,J){var oe=2;if($=v,typeof v==&quot;function&quot;)l0(v)&amp;&amp;(oe=1);else if(typeof v==&quot;string&quot;)oe=5;else e:switch(v){case W:return so(A.children,G,J,w);case L:oe=8,G|=8;break;case V:return v=wi(12,A,w,G|2),v.elementType=V,v.lanes=J,v;case O:return v=wi(13,A,w,G),v.elementType=O,v.lanes=J,v;case I:return v=wi(19,A,w,G),v.elementType=I,v.lanes=J,v;case k:return Fd(A,G,J,w);default:if(typeof v==&quot;object&quot;&amp;&amp;v!==null)switch(v.$$typeof){case H:oe=10;break e;case K:oe=9;break e;case z:oe=11;break e;case C:oe=14;break e;case j:oe=16,$=null;break e}throw Error(t(130,v==null?v:typeof v,&quot;&quot;))}return w=wi(oe,A,w,G),w.elementType=v,w.type=$,w.lanes=J,w}function so(v,w,A,$){return v=wi(7,v,$,w),v.lanes=A,v}function Fd(v,w,A,$){return v=wi(22,v,$,w),v.elementType=k,v.lanes=A,v.stateNode={isHidden:!1},v}function c0(v,w,A){return v=wi(6,v,null,w),v.lanes=A,v}function u0(v,w,A){return w=wi(4,v.children!==null?v.children:[],v.key,w),w.lanes=A,w.stateNode={containerInfo:v.containerInfo,pendingChildren:null,implementation:v.implementation},w}function aM(v,w,A,$,G){this.tag=w,this.containerInfo=v,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Wt(0),this.expirationTimes=Wt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wt(0),this.identifierPrefix=$,this.onRecoverableError=G,this.mutableSourceEagerHydrationData=null}function d0(v,w,A,$,G,J,oe,me,ye){return v=new aM(v,w,A,me,ye),w===1?(w=1,J===!0&amp;&amp;(w|=8)):w=0,J=wi(3,null,null,w),v.current=J,J.stateNode=v,J.memoizedState={element:$,isDehydrated:A,cache:null,transitions:null,pendingSuspenseBoundaries:null},Sp(J),v}function oM(v,w,A){var $=3&lt;arguments.length&amp;&amp;arguments[3]!==void 0?arguments[3]:null;return{$$typeof:D,key:$==null?null:&quot;&quot;+$,children:v,containerInfo:w,implementation:A}}function Rw(v){if(!v)return ua;v=v._reactInternals;e:{if(rt(v)!==v||v.tag!==1)throw Error(t(170));var w=v;do{switch(w.tag){case 3:w=w.stateNode.context;break e;case 1:if(Hn(w.type)){w=w.stateNode.__reactInternalMemoizedMergedChildContext;break e}}w=w.return}while(w!==null);throw Error(t(171))}if(v.tag===1){var A=v.type;if(Hn(A))return c2(v,A,w)}return w}function Dw(v,w,A,$,G,J,oe,me,ye){return v=d0(A,$,!0,v,G,J,oe,me,ye),v.context=Rw(null),A=v.current,$=Rn(),G=va(A),J=Ts($,G),J.callback=w??null,ha(A,J,G),v.current.lanes=G,fn(v,G,$),Gn(v,$),v}function Bd(v,w,A,$){var G=w.current,J=Rn(),oe=va(G);return A=Rw(A),w.context===null?w.context=A:w.pendingContext=A,w=Ts(J,oe),w.payload={element:v},$=$===void 0?null:$,$!==null&amp;&amp;(w.callback=$),v=ha(G,w,oe),v!==null&amp;&amp;(Vi(v,G,oe,J),gd(v,G,oe)),oe}function zd(v){return v=v.current,v.child?(v.child.tag===5,v.child.stateNode):null}function Lw(v,w){if(v=v.memoizedState,v!==null&amp;&amp;v.dehydrated!==null){var A=v.retryLane;v.retryLane=A!==0&amp;&amp;A&lt;w?A:w}}function f0(v,w){Lw(v,w),(v=v.alternate)&amp;&amp;Lw(v,w)}function lM(){return null}var Fw=typeof reportError==&quot;function&quot;?reportError:function(v){console.error(v)};function h0(v){this._internalRoot=v}$d.prototype.render=h0.prototype.render=function(v){var w=this._internalRoot;if(w===null)throw Error(t(409));Bd(v,w,null,null)},$d.prototype.unmount=h0.prototype.unmount=function(){var v=this._internalRoot;if(v!==null){this._internalRoot=null;var w=v.containerInfo;ro(function(){Bd(null,v,null,null)}),w[Cs]=null}};function $d(v){this._internalRoot=v}$d.prototype.unstable_scheduleHydration=function(v){if(v){var w=Ri();v={blockedOn:null,target:v,priority:w};for(var A=0;A&lt;jn.length&amp;&amp;w!==0&amp;&amp;w&lt;jn[A].priority;A++);jn.splice(A,0,v),A===0&amp;&amp;Hu(v)}};function m0(v){return!(!v||v.nodeType!==1&amp;&amp;v.nodeType!==9&amp;&amp;v.nodeType!==11)}function Ud(v){return!(!v||v.nodeType!==1&amp;&amp;v.nodeType!==9&amp;&amp;v.nodeType!==11&amp;&amp;(v.nodeType!==8||v.nodeValue!==&quot; react-mount-point-unstable &quot;))}function Bw(){}function cM(v,w,A,$,G){if(G){if(typeof $==&quot;function&quot;){var J=$;$=function(){var Ce=zd(oe);J.call(Ce)}}var oe=Dw(w,$,v,0,null,!1,!1,&quot;&quot;,Bw);return v._reactRootContainer=oe,v[Cs]=oe.current,lc(v.nodeType===8?v.parentNode:v),ro(),oe}for(;G=v.lastChild;)v.removeChild(G);if(typeof $==&quot;function&quot;){var me=$;$=function(){var Ce=zd(ye);me.call(Ce)}}var ye=d0(v,0,!1,null,null,!1,!1,&quot;&quot;,Bw);return v._reactRootContainer=ye,v[Cs]=ye.current,lc(v.nodeType===8?v.parentNode:v),ro(function(){Bd(w,ye,A,$)}),ye}function Vd(v,w,A,$,G){var J=A._reactRootContainer;if(J){var oe=J;if(typeof G==&quot;function&quot;){var me=G;G=function(){var ye=zd(oe);me.call(ye)}}Bd(w,oe,v,G)}else oe=cM(A,w,v,G,$);return zd(oe)}ri=function(v){switch(v.tag){case 3:var w=v.stateNode;if(w.current.memoizedState.isDehydrated){var A=Sr(w.pendingLanes);A!==0&amp;&amp;(hi(w,A|1),Gn(w,we()),(tr&amp;6)===0&amp;&amp;(dl=we()+500,da()))}break;case 13:ro(function(){var $=Os(v,1);if($!==null){var G=Rn();Vi($,v,1,G)}}),f0(v,1)}},mi=function(v){if(v.tag===13){var w=Os(v,134217728);if(w!==null){var A=Rn();Vi(w,v,134217728,A)}f0(v,134217728)}},as=function(v){if(v.tag===13){var w=va(v),A=Os(v,w);if(A!==null){var $=Rn();Vi(A,v,w,$)}f0(v,w)}},Ri=function(){return Bt},qn=function(v,w){var A=Bt;try{return Bt=v,w()}finally{Bt=A}},ct=function(v,w,A){switch(w){case&quot;input&quot;:if(se(v,A),w=A.name,A.type===&quot;radio&quot;&amp;&amp;w!=null){for(A=v;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 $=A[w];if($!==v&amp;&amp;$.form===v.form){var G=ad($);if(!G)throw Error(t(90));Z($),se($,G)}}}break;case&quot;textarea&quot;:_e(v,A);break;case&quot;select&quot;:w=A.value,w!=null&amp;&amp;ge(v,!!A.multiple,w,!1)}},at=s0,Dt=ro;var uM={usingClientEntryPoint:!1,Events:[dc,Qo,ad,Zt,Ut,s0]},kc={findFiberByHostInstance:Xa,bundleType:0,version:&quot;18.3.1&quot;,rendererPackageName:&quot;react-dom&quot;},dM={bundleType:kc.bundleType,version:kc.version,rendererPackageName:kc.rendererPackageName,rendererConfig:kc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:E.ReactCurrentDispatcher,findHostInstanceByFiber:function(v){return v=Jt(v),v===null?null:v.stateNode},findFiberByHostInstance:kc.findFiberByHostInstance||lM,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 qd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!qd.isDisabled&amp;&amp;qd.supportsFiber)try{Mt=qd.inject(dM),jt=qd}catch{}}return Yn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=uM,Yn.createPortal=function(v,w){var A=2&lt;arguments.length&amp;&amp;arguments[2]!==void 0?arguments[2]:null;if(!m0(w))throw Error(t(200));return oM(v,w,null,A)},Yn.createRoot=function(v,w){if(!m0(v))throw Error(t(299));var A=!1,$=&quot;&quot;,G=Fw;return w!=null&amp;&amp;(w.unstable_strictMode===!0&amp;&amp;(A=!0),w.identifierPrefix!==void 0&amp;&amp;($=w.identifierPrefix),w.onRecoverableError!==void 0&amp;&amp;(G=w.onRecoverableError)),w=d0(v,1,!1,null,null,A,!1,$,G),v[Cs]=w.current,lc(v.nodeType===8?v.parentNode:v),new h0(w)},Yn.findDOMNode=function(v){if(v==null)return null;if(v.nodeType===1)return v;var w=v._reactInternals;if(w===void 0)throw typeof v.render==&quot;function&quot;?Error(t(188)):(v=Object.keys(v).join(&quot;,&quot;),Error(t(268,v)));return v=Jt(w),v=v===null?null:v.stateNode,v},Yn.flushSync=function(v){return ro(v)},Yn.hydrate=function(v,w,A){if(!Ud(w))throw Error(t(200));return Vd(null,v,w,!0,A)},Yn.hydrateRoot=function(v,w,A){if(!m0(v))throw Error(t(405));var $=A!=null&amp;&amp;A.hydratedSources||null,G=!1,J=&quot;&quot;,oe=Fw;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;(oe=A.onRecoverableError)),w=Dw(w,null,v,1,A??null,G,!1,J,oe),v[Cs]=w.current,lc(v),$)for(v=0;v&lt;$.length;v++)A=$[v],G=A._getVersion,G=G(A._source),w.mutableSourceEagerHydrationData==null?w.mutableSourceEagerHydrationData=[A,G]:w.mutableSourceEagerHydrationData.push(A,G);return new $d(w)},Yn.render=function(v,w,A){if(!Ud(w))throw Error(t(200));return Vd(null,v,w,!1,A)},Yn.unmountComponentAtNode=function(v){if(!Ud(v))throw Error(t(40));return v._reactRootContainer?(ro(function(){Vd(null,null,v,!1,function(){v._reactRootContainer=null,v[Cs]=null})}),!0):!1},Yn.unstable_batchedUpdates=s0,Yn.unstable_renderSubtreeIntoContainer=function(v,w,A,$){if(!Ud(A))throw Error(t(200));if(v==null||v._reactInternals===void 0)throw Error(t(38));return Vd(v,w,A,!1,$)},Yn.version=&quot;18.3.1-next-f1338f8080-20240426&quot;,Yn}var Kw;function RS(){if(Kw)return v0.exports;Kw=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(),v0.exports=bM(),v0.exports}var Xw;function xM(){if(Xw)return Wd;Xw=1;var e=RS();return Wd.createRoot=e.createRoot,Wd.hydrateRoot=e.hydrateRoot,Wd}var wM=xM();const _M=rs(wM);var cb=RS();function Xc(){return Xc=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},Xc.apply(this,arguments)}var Na;(function(e){e.Pop=&quot;POP&quot;,e.Push=&quot;PUSH&quot;,e.Replace=&quot;REPLACE&quot;})(Na||(Na={}));const Gw=&quot;popstate&quot;;function jM(e){e===void 0&amp;&amp;(e={});function r(n,o){let{pathname:i,search:a,hash:u}=n.location;return Nv(&quot;&quot;,{pathname:i,search:a,hash:u},o.state&amp;&amp;o.state.usr||null,o.state&amp;&amp;o.state.key||&quot;default&quot;)}function t(n,o){return typeof o==&quot;string&quot;?o:Pf(o)}return kM(r,t,null,e)}function Fr(e,r){if(e===!1||e===null||typeof e&gt;&quot;u&quot;)throw new Error(r)}function ub(e,r){if(!e){typeof console&lt;&quot;u&quot;&amp;&amp;console.warn(r);try{throw new Error(r)}catch{}}}function SM(){return Math.random().toString(36).substr(2,8)}function Yw(e,r){return{usr:e.state,key:e.key,idx:r}}function Nv(e,r,t,n){return t===void 0&amp;&amp;(t=null),Xc({pathname:typeof e==&quot;string&quot;?e:e.pathname,search:&quot;&quot;,hash:&quot;&quot;},typeof r==&quot;string&quot;?Ll(r):r,{state:t,key:r&amp;&amp;r.key||n||SM()})}function Pf(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 Ll(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 kM(e,r,t,n){n===void 0&amp;&amp;(n={});let{window:o=document.defaultView,v5Compat:i=!1}=n,a=o.history,u=Na.Pop,l=null,s=c();s==null&amp;&amp;(s=0,a.replaceState(Xc({},a.state,{idx:s}),&quot;&quot;));function c(){return(a.state||{idx:null}).idx}function m(){u=Na.Pop;let p=c(),b=p==null?null:p-s;s=p,l&amp;&amp;l({action:u,location:y.location,delta:b})}function h(p,b){u=Na.Push;let x=Nv(y.location,p,b);s=c()+1;let _=Yw(x,s),E=y.createHref(x);try{a.pushState(_,&quot;&quot;,E)}catch(M){if(M instanceof DOMException&amp;&amp;M.name===&quot;DataCloneError&quot;)throw M;o.location.assign(E)}i&amp;&amp;l&amp;&amp;l({action:u,location:y.location,delta:1})}function d(p,b){u=Na.Replace;let x=Nv(y.location,p,b);s=c();let _=Yw(x,s),E=y.createHref(x);a.replaceState(_,&quot;&quot;,E),i&amp;&amp;l&amp;&amp;l({action:u,location:y.location,delta:0})}function g(p){let b=o.location.origin!==&quot;null&quot;?o.location.origin:o.location.href,x=typeof p==&quot;string&quot;?p:Pf(p);return x=x.replace(/ $/,&quot;%20&quot;),Fr(b,&quot;No window.location.(origin|href) available to create URL for href: &quot;+x),new URL(x,b)}let y={get action(){return u},get location(){return e(o,a)},listen(p){if(l)throw new Error(&quot;A history only accepts one active listener&quot;);return o.addEventListener(Gw,m),l=p,()=&gt;{o.removeEventListener(Gw,m),l=null}},createHref(p){return r(o,p)},createURL:g,encodeLocation(p){let b=g(p);return{pathname:b.pathname,search:b.search,hash:b.hash}},push:h,replace:d,go(p){return a.go(p)}};return y}var Zw;(function(e){e.data=&quot;data&quot;,e.deferred=&quot;deferred&quot;,e.redirect=&quot;redirect&quot;,e.error=&quot;error&quot;})(Zw||(Zw={}));function NM(e,r,t){return t===void 0&amp;&amp;(t=&quot;/&quot;),CM(e,r,t)}function CM(e,r,t,n){let o=typeof r==&quot;string&quot;?Ll(r):r,i=db(o.pathname||&quot;/&quot;,t);if(i==null)return null;let a=DS(e);EM(a);let u=null;for(let l=0;u==null&amp;&amp;l&lt;a.length;++l){let s=zM(i);u=LM(a[l],s)}return u}function DS(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 o=(i,a,u)=&gt;{let l={relativePath:u===void 0?i.path||&quot;&quot;:u,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};l.relativePath.startsWith(&quot;/&quot;)&amp;&amp;(Fr(l.relativePath.startsWith(n),&#039;Absolute route path &quot;&#039;+l.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;),l.relativePath=l.relativePath.slice(n.length));let s=Aa([n,l.relativePath]),c=t.concat(l);i.children&amp;&amp;i.children.length&gt;0&amp;&amp;(Fr(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;)),DS(i.children,r,c,s)),!(i.path==null&amp;&amp;!i.index)&amp;&amp;r.push({path:s,score:RM(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;)))o(i,a);else for(let l of LS(i.path))o(i,a,l)}),r}function LS(e){let r=e.split(&quot;/&quot;);if(r.length===0)return[];let[t,...n]=r,o=t.endsWith(&quot;?&quot;),i=t.replace(/\?$/,&quot;&quot;);if(n.length===0)return o?[i,&quot;&quot;]:[i];let a=LS(n.join(&quot;/&quot;)),u=[];return u.push(...a.map(l=&gt;l===&quot;&quot;?i:[i,l].join(&quot;/&quot;))),o&amp;&amp;u.push(...a),u.map(l=&gt;e.startsWith(&quot;/&quot;)&amp;&amp;l===&quot;&quot;?&quot;/&quot;:l)}function EM(e){e.sort((r,t)=&gt;r.score!==t.score?t.score-r.score:DM(r.routesMeta.map(n=&gt;n.childrenIndex),t.routesMeta.map(n=&gt;n.childrenIndex)))}const AM=/^:[\w-]+$/,MM=3,OM=2,TM=1,PM=10,IM=-2,Qw=e=&gt;e===&quot;*&quot;;function RM(e,r){let t=e.split(&quot;/&quot;),n=t.length;return t.some(Qw)&amp;&amp;(n+=IM),r&amp;&amp;(n+=OM),t.filter(o=&gt;!Qw(o)).reduce((o,i)=&gt;o+(AM.test(i)?MM:i===&quot;&quot;?TM:PM),n)}function DM(e,r){return e.length===r.length&amp;&amp;e.slice(0,-1).every((n,o)=&gt;n===r[o])?e[e.length-1]-r[r.length-1]:0}function LM(e,r,t){let{routesMeta:n}=e,o={},i=&quot;/&quot;,a=[];for(let u=0;u&lt;n.length;++u){let l=n[u],s=u===n.length-1,c=i===&quot;/&quot;?r:r.slice(i.length)||&quot;/&quot;,m=FM({path:l.relativePath,caseSensitive:l.caseSensitive,end:s},c),h=l.route;if(!m)return null;Object.assign(o,m.params),a.push({params:o,pathname:Aa([i,m.pathname]),pathnameBase:WM(Aa([i,m.pathnameBase])),route:h}),m.pathnameBase!==&quot;/&quot;&amp;&amp;(i=Aa([i,m.pathnameBase]))}return a}function FM(e,r){typeof e==&quot;string&quot;&amp;&amp;(e={path:e,caseSensitive:!1,end:!0});let[t,n]=BM(e.path,e.caseSensitive,e.end),o=r.match(t);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,&quot;$1&quot;),u=o.slice(1);return{params:n.reduce((s,c,m)=&gt;{let{paramName:h,isOptional:d}=c;if(h===&quot;*&quot;){let y=u[m]||&quot;&quot;;a=i.slice(0,i.length-y.length).replace(/(.)\/+$/,&quot;$1&quot;)}const g=u[m];return d&amp;&amp;!g?s[h]=void 0:s[h]=(g||&quot;&quot;).replace(/%2F/g,&quot;/&quot;),s},{}),pathname:i,pathnameBase:a,pattern:e}}function BM(e,r,t){r===void 0&amp;&amp;(r=!1),t===void 0&amp;&amp;(t=!0),ub(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=[],o=&quot;^&quot;+e.replace(/\/*\*?$/,&quot;&quot;).replace(/^\/*/,&quot;/&quot;).replace(/[\\.*+^${}|()[\]]/g,&quot;\\$&amp;&quot;).replace(/\/:([\w-]+)(\?)?/g,(a,u,l)=&gt;(n.push({paramName:u,isOptional:l!=null}),l?&quot;/?([^\\/]+)?&quot;:&quot;/([^\\/]+)&quot;));return e.endsWith(&quot;*&quot;)?(n.push({paramName:&quot;*&quot;}),o+=e===&quot;*&quot;||e===&quot;/*&quot;?&quot;(.*)$&quot;:&quot;(?:\\/(.+)|\\/*)$&quot;):t?o+=&quot;\\/*$&quot;:e!==&quot;&quot;&amp;&amp;e!==&quot;/&quot;&amp;&amp;(o+=&quot;(?:(?=\\/|$))&quot;),[new RegExp(o,r?void 0:&quot;i&quot;),n]}function zM(e){try{return e.split(&quot;/&quot;).map(r=&gt;decodeURIComponent(r).replace(/\//g,&quot;%2F&quot;)).join(&quot;/&quot;)}catch(r){return ub(!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 db(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 $M=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,UM=e=&gt;$M.test(e);function VM(e,r){r===void 0&amp;&amp;(r=&quot;/&quot;);let{pathname:t,search:n=&quot;&quot;,hash:o=&quot;&quot;}=typeof e==&quot;string&quot;?Ll(e):e,i;if(t)if(UM(t))i=t;else{if(t.includes(&quot;//&quot;)){let a=t;t=t.replace(/\/\/+/g,&quot;/&quot;),ub(!1,&quot;Pathnames cannot have embedded double slashes - normalizing &quot;+(a+&quot; -&gt; &quot;+t))}t.startsWith(&quot;/&quot;)?i=Jw(t.substring(1),&quot;/&quot;):i=Jw(t,r)}else i=r;return{pathname:i,search:HM(n),hash:KM(o)}}function Jw(e,r){let t=r.replace(/\/+$/,&quot;&quot;).split(&quot;/&quot;);return e.split(&quot;/&quot;).forEach(o=&gt;{o===&quot;..&quot;?t.length&gt;1&amp;&amp;t.pop():o!==&quot;.&quot;&amp;&amp;t.push(o)}),t.length&gt;1?t.join(&quot;/&quot;):&quot;/&quot;}function x0(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 qM(e){return e.filter((r,t)=&gt;t===0||r.route.path&amp;&amp;r.route.path.length&gt;0)}function fb(e,r){let t=qM(e);return r?t.map((n,o)=&gt;o===t.length-1?n.pathname:n.pathnameBase):t.map(n=&gt;n.pathnameBase)}function hb(e,r,t,n){n===void 0&amp;&amp;(n=!1);let o;typeof e==&quot;string&quot;?o=Ll(e):(o=Xc({},e),Fr(!o.pathname||!o.pathname.includes(&quot;?&quot;),x0(&quot;?&quot;,&quot;pathname&quot;,&quot;search&quot;,o)),Fr(!o.pathname||!o.pathname.includes(&quot;#&quot;),x0(&quot;#&quot;,&quot;pathname&quot;,&quot;hash&quot;,o)),Fr(!o.search||!o.search.includes(&quot;#&quot;),x0(&quot;#&quot;,&quot;search&quot;,&quot;hash&quot;,o)));let i=e===&quot;&quot;||o.pathname===&quot;&quot;,a=i?&quot;/&quot;:o.pathname,u;if(a==null)u=t;else{let m=r.length-1;if(!n&amp;&amp;a.startsWith(&quot;..&quot;)){let h=a.split(&quot;/&quot;);for(;h[0]===&quot;..&quot;;)h.shift(),m-=1;o.pathname=h.join(&quot;/&quot;)}u=m&gt;=0?r[m]:&quot;/&quot;}let l=VM(o,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!l.pathname.endsWith(&quot;/&quot;)&amp;&amp;(s||c)&amp;&amp;(l.pathname+=&quot;/&quot;),l}const Aa=e=&gt;e.join(&quot;/&quot;).replace(/\/\/+/g,&quot;/&quot;),WM=e=&gt;e.replace(/\/+$/,&quot;&quot;).replace(/^\/*/,&quot;/&quot;),HM=e=&gt;!e||e===&quot;?&quot;?&quot;&quot;:e.startsWith(&quot;?&quot;)?e:&quot;?&quot;+e,KM=e=&gt;!e||e===&quot;#&quot;?&quot;&quot;:e.startsWith(&quot;#&quot;)?e:&quot;#&quot;+e;function XM(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 FS=[&quot;post&quot;,&quot;put&quot;,&quot;patch&quot;,&quot;delete&quot;];new Set(FS);const GM=[&quot;get&quot;,...FS];new Set(GM);function Gc(){return Gc=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},Gc.apply(this,arguments)}const mb=q.createContext(null),YM=q.createContext(null),Fa=q.createContext(null),$h=q.createContext(null),Zs=q.createContext({outlet:null,matches:[],isDataRoute:!1}),BS=q.createContext(null);function ZM(e,r){let{relative:t}=r===void 0?{}:r;Fl()||Fr(!1);let{basename:n,navigator:o}=q.useContext(Fa),{hash:i,pathname:a,search:u}=$S(e,{relative:t}),l=a;return n!==&quot;/&quot;&amp;&amp;(l=a===&quot;/&quot;?n:Aa([n,a])),o.createHref({pathname:l,search:u,hash:i})}function Fl(){return q.useContext($h)!=null}function js(){return Fl()||Fr(!1),q.useContext($h).location}function zS(e){q.useContext(Fa).static||q.useLayoutEffect(e)}function Ss(){let{isDataRoute:e}=q.useContext(Zs);return e?dO():QM()}function QM(){Fl()||Fr(!1);let e=q.useContext(mb),{basename:r,future:t,navigator:n}=q.useContext(Fa),{matches:o}=q.useContext(Zs),{pathname:i}=js(),a=JSON.stringify(fb(o,t.v7_relativeSplatPath)),u=q.useRef(!1);return zS(()=&gt;{u.current=!0}),q.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 m=hb(s,JSON.parse(a),i,c.relative===&quot;path&quot;);e==null&amp;&amp;r!==&quot;/&quot;&amp;&amp;(m.pathname=m.pathname===&quot;/&quot;?r:Aa([r,m.pathname])),(c.replace?n.replace:n.push)(m,c.state,c)},[r,n,a,i,e])}function JM(){let{matches:e}=q.useContext(Zs),r=e[e.length-1];return r?r.params:{}}function $S(e,r){let{relative:t}=r===void 0?{}:r,{future:n}=q.useContext(Fa),{matches:o}=q.useContext(Zs),{pathname:i}=js(),a=JSON.stringify(fb(o,n.v7_relativeSplatPath));return q.useMemo(()=&gt;hb(e,JSON.parse(a),i,t===&quot;path&quot;),[e,a,i,t])}function eO(e,r){return tO(e,r)}function tO(e,r,t,n){Fl()||Fr(!1);let{navigator:o}=q.useContext(Fa),{matches:i}=q.useContext(Zs),a=i[i.length-1],u=a?a.params:{};a&amp;&amp;a.pathname;let l=a?a.pathnameBase:&quot;/&quot;;a&amp;&amp;a.route;let s=js(),c;if(r){var m;let p=typeof r==&quot;string&quot;?Ll(r):r;l===&quot;/&quot;||(m=p.pathname)!=null&amp;&amp;m.startsWith(l)||Fr(!1),c=p}else c=s;let h=c.pathname||&quot;/&quot;,d=h;if(l!==&quot;/&quot;){let p=l.replace(/^\//,&quot;&quot;).split(&quot;/&quot;);d=&quot;/&quot;+h.replace(/^\//,&quot;&quot;).split(&quot;/&quot;).slice(p.length).join(&quot;/&quot;)}let g=NM(e,{pathname:d}),y=aO(g&amp;&amp;g.map(p=&gt;Object.assign({},p,{params:Object.assign({},u,p.params),pathname:Aa([l,o.encodeLocation?o.encodeLocation(p.pathname).pathname:p.pathname]),pathnameBase:p.pathnameBase===&quot;/&quot;?l:Aa([l,o.encodeLocation?o.encodeLocation(p.pathnameBase).pathname:p.pathnameBase])})),i,t,n);return r&amp;&amp;y?q.createElement($h.Provider,{value:{location:Gc({pathname:&quot;/&quot;,search:&quot;&quot;,hash:&quot;&quot;,state:null,key:&quot;default&quot;},c),navigationType:Na.Pop}},y):y}function rO(){let e=uO(),r=XM(e)?e.status+&quot; &quot;+e.statusText:e instanceof Error?e.message:JSON.stringify(e),t=e instanceof Error?e.stack:null,o={padding:&quot;0.5rem&quot;,backgroundColor:&quot;rgba(200,200,200, 0.5)&quot;};return q.createElement(q.Fragment,null,q.createElement(&quot;h2&quot;,null,&quot;Unexpected Application Error!&quot;),q.createElement(&quot;h3&quot;,{style:{fontStyle:&quot;italic&quot;}},r),t?q.createElement(&quot;pre&quot;,{style:o},t):null,null)}const nO=q.createElement(rO,null);class iO extends q.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?q.createElement(Zs.Provider,{value:this.props.routeContext},q.createElement(BS.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function sO(e){let{routeContext:r,match:t,children:n}=e,o=q.useContext(mb);return o&amp;&amp;o.static&amp;&amp;o.staticContext&amp;&amp;(t.route.errorElement||t.route.ErrorBoundary)&amp;&amp;(o.staticContext._deepestRenderedBoundaryId=t.route.id),q.createElement(Zs.Provider,{value:r},n)}function aO(e,r,t,n){var o;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=(o=t)==null?void 0:o.errors;if(u!=null){let c=a.findIndex(m=&gt;m.route.id&amp;&amp;u?.[m.route.id]!==void 0);c&gt;=0||Fr(!1),a=a.slice(0,Math.min(a.length,c+1))}let l=!1,s=-1;if(t&amp;&amp;n&amp;&amp;n.v7_partialHydration)for(let c=0;c&lt;a.length;c++){let m=a[c];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&amp;&amp;(s=c),m.route.id){let{loaderData:h,errors:d}=t,g=m.route.loader&amp;&amp;h[m.route.id]===void 0&amp;&amp;(!d||d[m.route.id]===void 0);if(m.route.lazy||g){l=!0,s&gt;=0?a=a.slice(0,s+1):a=[a[0]];break}}}return a.reduceRight((c,m,h)=&gt;{let d,g=!1,y=null,p=null;t&amp;&amp;(d=u&amp;&amp;m.route.id?u[m.route.id]:void 0,y=m.route.errorElement||nO,l&amp;&amp;(s&lt;0&amp;&amp;h===0?(fO(&quot;route-fallback&quot;),g=!0,p=null):s===h&amp;&amp;(g=!0,p=m.route.hydrateFallbackElement||null)));let b=r.concat(a.slice(0,h+1)),x=()=&gt;{let _;return d?_=y:g?_=p:m.route.Component?_=q.createElement(m.route.Component,null):m.route.element?_=m.route.element:_=c,q.createElement(sO,{match:m,routeContext:{outlet:c,matches:b,isDataRoute:t!=null},children:_})};return t&amp;&amp;(m.route.ErrorBoundary||m.route.errorElement||h===0)?q.createElement(iO,{location:t.location,revalidation:t.revalidation,component:y,error:d,children:x(),routeContext:{outlet:null,matches:b,isDataRoute:!0}}):x()},null)}var US=(function(e){return e.UseBlocker=&quot;useBlocker&quot;,e.UseRevalidator=&quot;useRevalidator&quot;,e.UseNavigateStable=&quot;useNavigate&quot;,e})(US||{}),VS=(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})(VS||{});function oO(e){let r=q.useContext(mb);return r||Fr(!1),r}function lO(e){let r=q.useContext(YM);return r||Fr(!1),r}function cO(e){let r=q.useContext(Zs);return r||Fr(!1),r}function qS(e){let r=cO(),t=r.matches[r.matches.length-1];return t.route.id||Fr(!1),t.route.id}function uO(){var e;let r=q.useContext(BS),t=lO(),n=qS();return r!==void 0?r:(e=t.errors)==null?void 0:e[n]}function dO(){let{router:e}=oO(US.UseNavigateStable),r=qS(VS.UseNavigateStable),t=q.useRef(!1);return zS(()=&gt;{t.current=!0}),q.useCallback(function(o,i){i===void 0&amp;&amp;(i={}),t.current&amp;&amp;(typeof o==&quot;number&quot;?e.navigate(o):e.navigate(o,Gc({fromRouteId:r},i)))},[e,r])}const e_={};function fO(e,r,t){e_[e]||(e_[e]=!0)}function hO(e,r){e?.v7_startTransition,e?.v7_relativeSplatPath}function ei(e){let{to:r,replace:t,state:n,relative:o}=e;Fl()||Fr(!1);let{future:i,static:a}=q.useContext(Fa),{matches:u}=q.useContext(Zs),{pathname:l}=js(),s=Ss(),c=hb(r,fb(u,i.v7_relativeSplatPath),l,o===&quot;path&quot;),m=JSON.stringify(c);return q.useEffect(()=&gt;s(JSON.parse(m),{replace:t,state:n,relative:o}),[s,m,o,t,n]),null}function Zn(e){Fr(!1)}function mO(e){let{basename:r=&quot;/&quot;,children:t=null,location:n,navigationType:o=Na.Pop,navigator:i,static:a=!1,future:u}=e;Fl()&amp;&amp;Fr(!1);let l=r.replace(/^\/*/,&quot;/&quot;),s=q.useMemo(()=&gt;({basename:l,navigator:i,static:a,future:Gc({v7_relativeSplatPath:!1},u)}),[l,u,i,a]);typeof n==&quot;string&quot;&amp;&amp;(n=Ll(n));let{pathname:c=&quot;/&quot;,search:m=&quot;&quot;,hash:h=&quot;&quot;,state:d=null,key:g=&quot;default&quot;}=n,y=q.useMemo(()=&gt;{let p=db(c,l);return p==null?null:{location:{pathname:p,search:m,hash:h,state:d,key:g},navigationType:o}},[l,c,m,h,d,g,o]);return y==null?null:q.createElement(Fa.Provider,{value:s},q.createElement($h.Provider,{children:t,value:y}))}function pO(e){let{children:r,location:t}=e;return eO(Cv(r),t)}new Promise(()=&gt;{});function Cv(e,r){r===void 0&amp;&amp;(r=[]);let t=[];return q.Children.forEach(e,(n,o)=&gt;{if(!q.isValidElement(n))return;let i=[...r,o];if(n.type===q.Fragment){t.push.apply(t,Cv(n.props.children,i));return}n.type!==Zn&amp;&amp;Fr(!1),!n.props.index||!n.props.children||Fr(!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=Cv(n.props.children,i)),t.push(a)}),t}function Ev(){return Ev=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},Ev.apply(this,arguments)}function gO(e,r){if(e==null)return{};var t={},n=Object.keys(e),o,i;for(i=0;i&lt;n.length;i++)o=n[i],!(r.indexOf(o)&gt;=0)&amp;&amp;(t[o]=e[o]);return t}function vO(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function yO(e,r){return e.button===0&amp;&amp;(!r||r===&quot;_self&quot;)&amp;&amp;!vO(e)}function Av(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(o=&gt;[t,o]):[[t,n]])},[]))}function bO(e,r){let t=Av(e);return r&amp;&amp;r.forEach((n,o)=&gt;{t.has(o)||r.getAll(o).forEach(i=&gt;{t.append(o,i)})}),t}const xO=[&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;],wO=&quot;6&quot;;try{window.__reactRouterVersion=wO}catch{}const _O=&quot;startTransition&quot;,t_=IS[_O];function jO(e){let{basename:r,children:t,future:n,window:o}=e,i=q.useRef();i.current==null&amp;&amp;(i.current=jM({window:o,v5Compat:!0}));let a=i.current,[u,l]=q.useState({action:a.action,location:a.location}),{v7_startTransition:s}=n||{},c=q.useCallback(m=&gt;{s&amp;&amp;t_?t_(()=&gt;l(m)):l(m)},[l,s]);return q.useLayoutEffect(()=&gt;a.listen(c),[a,c]),q.useEffect(()=&gt;hO(n),[n]),q.createElement(mO,{basename:r,children:t,location:u.location,navigationType:u.action,navigator:a,future:n})}const SO=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;,kO=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,xr=q.forwardRef(function(r,t){let{onClick:n,relative:o,reloadDocument:i,replace:a,state:u,target:l,to:s,preventScrollReset:c,viewTransition:m}=r,h=gO(r,xO),{basename:d}=q.useContext(Fa),g,y=!1;if(typeof s==&quot;string&quot;&amp;&amp;kO.test(s)&amp;&amp;(g=s,SO))try{let _=new URL(window.location.href),E=s.startsWith(&quot;//&quot;)?new URL(_.protocol+s):new URL(s),M=db(E.pathname,d);E.origin===_.origin&amp;&amp;M!=null?s=M+E.search+E.hash:y=!0}catch{}let p=ZM(s,{relative:o}),b=NO(s,{replace:a,state:u,target:l,preventScrollReset:c,relative:o,viewTransition:m});function x(_){n&amp;&amp;n(_),_.defaultPrevented||b(_)}return q.createElement(&quot;a&quot;,Ev({},h,{href:g||p,onClick:y||i?n:x,ref:t,target:l}))});var r_;(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;})(r_||(r_={}));var n_;(function(e){e.UseFetcher=&quot;useFetcher&quot;,e.UseFetchers=&quot;useFetchers&quot;,e.UseScrollRestoration=&quot;useScrollRestoration&quot;})(n_||(n_={}));function NO(e,r){let{target:t,replace:n,state:o,preventScrollReset:i,relative:a,viewTransition:u}=r===void 0?{}:r,l=Ss(),s=js(),c=$S(e,{relative:a});return q.useCallback(m=&gt;{if(yO(m,t)){m.preventDefault();let h=n!==void 0?n:Pf(s)===Pf(c);l(e,{replace:h,state:o,preventScrollReset:i,relative:a,viewTransition:u})}},[s,l,c,n,o,t,e,i,a,u])}function Uh(e){let r=q.useRef(Av(e)),t=q.useRef(!1),n=js(),o=q.useMemo(()=&gt;bO(n.search,t.current?null:r.current),[n.search]),i=Ss(),a=q.useCallback((u,l)=&gt;{const s=Av(typeof u==&quot;function&quot;?u(o):u);t.current=!0,i(&quot;?&quot;+s,l)},[i,o]);return[o,a]}const pb=q.createContext({});function gb(e){const r=q.useRef(null);return r.current===null&amp;&amp;(r.current=e()),r.current}const WS=typeof window&lt;&quot;u&quot;,HS=WS?q.useLayoutEffect:q.useEffect,Vh=q.createContext(null);function vb(e,r){e.indexOf(r)===-1&amp;&amp;e.push(r)}function yb(e,r){const t=e.indexOf(r);t&gt;-1&amp;&amp;e.splice(t,1)}const bs=(e,r,t)=&gt;t&gt;r?r:t&lt;e?e:t;let bb=()=&gt;{};const Vs={},KS=e=&gt;/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function XS(e){return typeof e==&quot;object&quot;&amp;&amp;e!==null}const GS=e=&gt;/^0[^.\s]+$/u.test(e);function xb(e){let r;return()=&gt;(r===void 0&amp;&amp;(r=e()),r)}const Ai=e=&gt;e,CO=(e,r)=&gt;t=&gt;r(e(t)),wu=(...e)=&gt;e.reduce(CO),Yc=(e,r,t)=&gt;{const n=r-e;return n===0?1:(t-e)/n};class wb{constructor(){this.subscriptions=[]}add(r){return vb(this.subscriptions,r),()=&gt;yb(this.subscriptions,r)}notify(r,t,n){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](r,t,n);else for(let i=0;i&lt;o;i++){const a=this.subscriptions[i];a&amp;&amp;a(r,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const zs=e=&gt;e*1e3,Ci=e=&gt;e/1e3;function YS(e,r){return r?e*(1e3/r):0}const ZS=(e,r,t)=&gt;(((1-3*t+3*r)*e+(3*t-6*r))*e+3*r)*e,EO=1e-7,AO=12;function MO(e,r,t,n,o){let i,a,u=0;do a=r+(t-r)/2,i=ZS(a,n,o)-e,i&gt;0?t=a:r=a;while(Math.abs(i)&gt;EO&amp;&amp;++u&lt;AO);return a}function _u(e,r,t,n){if(e===r&amp;&amp;t===n)return Ai;const o=i=&gt;MO(i,0,1,e,t);return i=&gt;i===0||i===1?i:ZS(o(i),r,n)}const QS=e=&gt;r=&gt;r&lt;=.5?e(2*r)/2:(2-e(2*(1-r)))/2,JS=e=&gt;r=&gt;1-e(1-r),ek=_u(.33,1.53,.69,.99),_b=JS(ek),tk=QS(_b),rk=e=&gt;(e*=2)&lt;1?.5*_b(e):.5*(2-Math.pow(2,-10*(e-1))),jb=e=&gt;1-Math.sin(Math.acos(e)),nk=JS(jb),ik=QS(jb),OO=_u(.42,0,1,1),TO=_u(0,0,.58,1),sk=_u(.42,0,.58,1),PO=e=&gt;Array.isArray(e)&amp;&amp;typeof e[0]!=&quot;number&quot;,ak=e=&gt;Array.isArray(e)&amp;&amp;typeof e[0]==&quot;number&quot;,IO={linear:Ai,easeIn:OO,easeInOut:sk,easeOut:TO,circIn:jb,circInOut:ik,circOut:nk,backIn:_b,backInOut:tk,backOut:ek,anticipate:rk},RO=e=&gt;typeof e==&quot;string&quot;,i_=e=&gt;{if(ak(e)){bb(e.length===4);const[r,t,n,o]=e;return _u(r,t,n,o)}else if(RO(e))return IO[e];return e},Hd=[&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 DO(e,r){let t=new Set,n=new Set,o=!1,i=!1;const a=new WeakSet;let u={delta:0,timestamp:0,isProcessing:!1};function l(c){a.has(c)&amp;&amp;(s.schedule(c),e()),c(u)}const s={schedule:(c,m=!1,h=!1)=&gt;{const g=h&amp;&amp;o?t:n;return m&amp;&amp;a.add(c),g.has(c)||g.add(c),c},cancel:c=&gt;{n.delete(c),a.delete(c)},process:c=&gt;{if(u=c,o){i=!0;return}o=!0,[t,n]=[n,t],t.forEach(l),t.clear(),o=!1,i&amp;&amp;(i=!1,s.process(c))}};return s}const LO=40;function ok(e,r){let t=!1,n=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=&gt;t=!0,a=Hd.reduce((_,E)=&gt;(_[E]=DO(i),_),{}),{setup:u,read:l,resolveKeyframes:s,preUpdate:c,update:m,preRender:h,render:d,postRender:g}=a,y=()=&gt;{const _=Vs.useManualTiming?o.timestamp:performance.now();t=!1,Vs.useManualTiming||(o.delta=n?1e3/60:Math.max(Math.min(_-o.timestamp,LO),1)),o.timestamp=_,o.isProcessing=!0,u.process(o),l.process(o),s.process(o),c.process(o),m.process(o),h.process(o),d.process(o),g.process(o),o.isProcessing=!1,t&amp;&amp;r&amp;&amp;(n=!1,e(y))},p=()=&gt;{t=!0,n=!0,o.isProcessing||e(y)};return{schedule:Hd.reduce((_,E)=&gt;{const M=a[E];return _[E]=(D,W=!1,L=!1)=&gt;(t||p(),M.schedule(D,W,L)),_},{}),cancel:_=&gt;{for(let E=0;E&lt;Hd.length;E++)a[Hd[E]].cancel(_)},state:o,steps:a}}const{schedule:yr,cancel:Ta,state:vn,steps:w0}=ok(typeof requestAnimationFrame&lt;&quot;u&quot;?requestAnimationFrame:Ai,!0);let bf;function FO(){bf=void 0}const Ln={now:()=&gt;(bf===void 0&amp;&amp;Ln.set(vn.isProcessing||Vs.useManualTiming?vn.timestamp:performance.now()),bf),set:e=&gt;{bf=e,queueMicrotask(FO)}},lk=e=&gt;r=&gt;typeof r==&quot;string&quot;&amp;&amp;r.startsWith(e),ck=lk(&quot;--&quot;),BO=lk(&quot;var(--&quot;),Sb=e=&gt;BO(e)?zO.test(e.split(&quot;/*&quot;)[0].trim()):!1,zO=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function s_(e){return typeof e!=&quot;string&quot;?!1:e.split(&quot;/*&quot;)[0].includes(&quot;var(--&quot;)}const Bl={test:e=&gt;typeof e==&quot;number&quot;,parse:parseFloat,transform:e=&gt;e},Zc={...Bl,transform:e=&gt;bs(0,1,e)},Kd={...Bl,default:1},Vc=e=&gt;Math.round(e*1e5)/1e5,kb=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function $O(e){return e==null}const UO=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Nb=(e,r)=&gt;t=&gt;!!(typeof t==&quot;string&quot;&amp;&amp;UO.test(t)&amp;&amp;t.startsWith(e)||r&amp;&amp;!$O(t)&amp;&amp;Object.prototype.hasOwnProperty.call(t,r)),uk=(e,r,t)=&gt;n=&gt;{if(typeof n!=&quot;string&quot;)return n;const[o,i,a,u]=n.match(kb);return{[e]:parseFloat(o),[r]:parseFloat(i),[t]:parseFloat(a),alpha:u!==void 0?parseFloat(u):1}},VO=e=&gt;bs(0,255,e),_0={...Bl,transform:e=&gt;Math.round(VO(e))},mo={test:Nb(&quot;rgb&quot;,&quot;red&quot;),parse:uk(&quot;red&quot;,&quot;green&quot;,&quot;blue&quot;),transform:({red:e,green:r,blue:t,alpha:n=1})=&gt;&quot;rgba(&quot;+_0.transform(e)+&quot;, &quot;+_0.transform(r)+&quot;, &quot;+_0.transform(t)+&quot;, &quot;+Vc(Zc.transform(n))+&quot;)&quot;};function qO(e){let r=&quot;&quot;,t=&quot;&quot;,n=&quot;&quot;,o=&quot;&quot;;return e.length&gt;5?(r=e.substring(1,3),t=e.substring(3,5),n=e.substring(5,7),o=e.substring(7,9)):(r=e.substring(1,2),t=e.substring(2,3),n=e.substring(3,4),o=e.substring(4,5),r+=r,t+=t,n+=n,o+=o),{red:parseInt(r,16),green:parseInt(t,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}}const Mv={test:Nb(&quot;#&quot;),parse:qO,transform:mo.transform},ju=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}`}),_a=ju(&quot;deg&quot;),vs=ju(&quot;%&quot;),st=ju(&quot;px&quot;),WO=ju(&quot;vh&quot;),HO=ju(&quot;vw&quot;),a_={...vs,parse:e=&gt;vs.parse(e)/100,transform:e=&gt;vs.transform(e*100)},yl={test:Nb(&quot;hsl&quot;,&quot;hue&quot;),parse:uk(&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;+vs.transform(Vc(r))+&quot;, &quot;+vs.transform(Vc(t))+&quot;, &quot;+Vc(Zc.transform(n))+&quot;)&quot;},zr={test:e=&gt;mo.test(e)||Mv.test(e)||yl.test(e),parse:e=&gt;mo.test(e)?mo.parse(e):yl.test(e)?yl.parse(e):Mv.parse(e),transform:e=&gt;typeof e==&quot;string&quot;?e:e.hasOwnProperty(&quot;red&quot;)?mo.transform(e):yl.transform(e),getAnimatableNone:e=&gt;{const r=zr.parse(e);return r.alpha=0,zr.transform(r)}},KO=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function XO(e){return isNaN(e)&amp;&amp;typeof e==&quot;string&quot;&amp;&amp;(e.match(kb)?.length||0)+(e.match(KO)?.length||0)&gt;0}const dk=&quot;number&quot;,fk=&quot;color&quot;,GO=&quot;var&quot;,YO=&quot;var(&quot;,o_=&quot;${}&quot;,ZO=/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 Qc(e){const r=e.toString(),t=[],n={color:[],number:[],var:[]},o=[];let i=0;const u=r.replace(ZO,l=&gt;(zr.test(l)?(n.color.push(i),o.push(fk),t.push(zr.parse(l))):l.startsWith(YO)?(n.var.push(i),o.push(GO),t.push(l)):(n.number.push(i),o.push(dk),t.push(parseFloat(l))),++i,o_)).split(o_);return{values:t,split:u,indexes:n,types:o}}function hk(e){return Qc(e).values}function mk(e){const{split:r,types:t}=Qc(e),n=r.length;return o=&gt;{let i=&quot;&quot;;for(let a=0;a&lt;n;a++)if(i+=r[a],o[a]!==void 0){const u=t[a];u===dk?i+=Vc(o[a]):u===fk?i+=zr.transform(o[a]):i+=o[a]}return i}}const QO=e=&gt;typeof e==&quot;number&quot;?0:zr.test(e)?zr.getAnimatableNone(e):e;function JO(e){const r=hk(e);return mk(e)(r.map(QO))}const Pa={test:XO,parse:hk,createTransformer:mk,getAnimatableNone:JO};function j0(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 eT({hue:e,saturation:r,lightness:t,alpha:n}){e/=360,r/=100,t/=100;let o=0,i=0,a=0;if(!r)o=i=a=t;else{const u=t&lt;.5?t*(1+r):t+r-t*r,l=2*t-u;o=j0(l,u,e+1/3),i=j0(l,u,e),a=j0(l,u,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(a*255),alpha:n}}function If(e,r){return t=&gt;t&gt;0?r:e}const Cr=(e,r,t)=&gt;e+(r-e)*t,S0=(e,r,t)=&gt;{const n=e*e,o=t*(r*r-n)+n;return o&lt;0?0:Math.sqrt(o)},tT=[Mv,mo,yl],rT=e=&gt;tT.find(r=&gt;r.test(e));function l_(e){const r=rT(e);if(!r)return!1;let t=r.parse(e);return r===yl&amp;&amp;(t=eT(t)),t}const c_=(e,r)=&gt;{const t=l_(e),n=l_(r);if(!t||!n)return If(e,r);const o={...t};return i=&gt;(o.red=S0(t.red,n.red,i),o.green=S0(t.green,n.green,i),o.blue=S0(t.blue,n.blue,i),o.alpha=Cr(t.alpha,n.alpha,i),mo.transform(o))},Ov=new Set([&quot;none&quot;,&quot;hidden&quot;]);function nT(e,r){return Ov.has(e)?t=&gt;t&lt;=0?e:r:t=&gt;t&gt;=1?r:e}function iT(e,r){return t=&gt;Cr(e,r,t)}function Cb(e){return typeof e==&quot;number&quot;?iT:typeof e==&quot;string&quot;?Sb(e)?If:zr.test(e)?c_:oT:Array.isArray(e)?pk:typeof e==&quot;object&quot;?zr.test(e)?c_:sT:If}function pk(e,r){const t=[...e],n=t.length,o=e.map((i,a)=&gt;Cb(i)(i,r[a]));return i=&gt;{for(let a=0;a&lt;n;a++)t[a]=o[a](i);return t}}function sT(e,r){const t={...e,...r},n={};for(const o in t)e[o]!==void 0&amp;&amp;r[o]!==void 0&amp;&amp;(n[o]=Cb(e[o])(e[o],r[o]));return o=&gt;{for(const i in n)t[i]=n[i](o);return t}}function aT(e,r){const t=[],n={color:0,var:0,number:0};for(let o=0;o&lt;r.values.length;o++){const i=r.types[o],a=e.indexes[i][n[i]],u=e.values[a]??0;t[o]=u,n[i]++}return t}const oT=(e,r)=&gt;{const t=Pa.createTransformer(r),n=Qc(e),o=Qc(r);return n.indexes.var.length===o.indexes.var.length&amp;&amp;n.indexes.color.length===o.indexes.color.length&amp;&amp;n.indexes.number.length&gt;=o.indexes.number.length?Ov.has(e)&amp;&amp;!o.values.length||Ov.has(r)&amp;&amp;!n.values.length?nT(e,r):wu(pk(aT(n,o),o.values),t):If(e,r)};function gk(e,r,t){return typeof e==&quot;number&quot;&amp;&amp;typeof r==&quot;number&quot;&amp;&amp;typeof t==&quot;number&quot;?Cr(e,r,t):Cb(e)(e,r)}const lT=e=&gt;{const r=({timestamp:t})=&gt;e(t);return{start:(t=!0)=&gt;yr.update(r,t),stop:()=&gt;Ta(r),now:()=&gt;vn.isProcessing?vn.timestamp:Ln.now()}},vk=(e,r,t=10)=&gt;{let n=&quot;&quot;;const o=Math.max(Math.round(r/t),2);for(let i=0;i&lt;o;i++)n+=Math.round(e(i/(o-1))*1e4)/1e4+&quot;, &quot;;return`linear(${n.substring(0,n.length-2)})`},Rf=2e4;function Eb(e){let r=0;const t=50;let n=e.next(r);for(;!n.done&amp;&amp;r&lt;Rf;)r+=t,n=e.next(r);return r&gt;=Rf?1/0:r}function cT(e,r=100,t){const n=t({...e,keyframes:[0,r]}),o=Math.min(Eb(n),Rf);return{type:&quot;keyframes&quot;,ease:i=&gt;n.next(o*i).value/r,duration:Ci(o)}}const uT=5;function yk(e,r,t){const n=Math.max(r-uT,0);return YS(t-e(n),r-n)}const Tr={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},k0=.001;function dT({duration:e=Tr.duration,bounce:r=Tr.bounce,velocity:t=Tr.velocity,mass:n=Tr.mass}){let o,i,a=1-r;a=bs(Tr.minDamping,Tr.maxDamping,a),e=bs(Tr.minDuration,Tr.maxDuration,Ci(e)),a&lt;1?(o=s=&gt;{const c=s*a,m=c*e,h=c-t,d=Tv(s,a),g=Math.exp(-m);return k0-h/d*g},i=s=&gt;{const m=s*a*e,h=m*t+t,d=Math.pow(a,2)*Math.pow(s,2)*e,g=Math.exp(-m),y=Tv(Math.pow(s,2),a);return(-o(s)+k0&gt;0?-1:1)*((h-d)*g)/y}):(o=s=&gt;{const c=Math.exp(-s*e),m=(s-t)*e+1;return-k0+c*m},i=s=&gt;{const c=Math.exp(-s*e),m=(t-s)*(e*e);return c*m});const u=5/e,l=hT(o,i,u);if(e=zs(e),isNaN(l))return{stiffness:Tr.stiffness,damping:Tr.damping,duration:e};{const s=Math.pow(l,2)*n;return{stiffness:s,damping:a*2*Math.sqrt(n*s),duration:e}}}const fT=12;function hT(e,r,t){let n=t;for(let o=1;o&lt;fT;o++)n=n-e(n)/r(n);return n}function Tv(e,r){return e*Math.sqrt(1-r*r)}const mT=[&quot;duration&quot;,&quot;bounce&quot;],pT=[&quot;stiffness&quot;,&quot;damping&quot;,&quot;mass&quot;];function u_(e,r){return r.some(t=&gt;e[t]!==void 0)}function gT(e){let r={velocity:Tr.velocity,stiffness:Tr.stiffness,damping:Tr.damping,mass:Tr.mass,isResolvedFromDuration:!1,...e};if(!u_(e,pT)&amp;&amp;u_(e,mT))if(e.visualDuration){const t=e.visualDuration,n=2*Math.PI/(t*1.2),o=n*n,i=2*bs(.05,1,1-(e.bounce||0))*Math.sqrt(o);r={...r,mass:Tr.mass,stiffness:o,damping:i}}else{const t=dT(e);r={...r,...t,mass:Tr.mass},r.isResolvedFromDuration=!0}return r}function Df(e=Tr.visualDuration,r=Tr.bounce){const t=typeof e!=&quot;object&quot;?{visualDuration:e,keyframes:[0,1],bounce:r}:e;let{restSpeed:n,restDelta:o}=t;const i=t.keyframes[0],a=t.keyframes[t.keyframes.length-1],u={done:!1,value:i},{stiffness:l,damping:s,mass:c,duration:m,velocity:h,isResolvedFromDuration:d}=gT({...t,velocity:-Ci(t.velocity||0)}),g=h||0,y=s/(2*Math.sqrt(l*c)),p=a-i,b=Ci(Math.sqrt(l/c)),x=Math.abs(p)&lt;5;n||(n=x?Tr.restSpeed.granular:Tr.restSpeed.default),o||(o=x?Tr.restDelta.granular:Tr.restDelta.default);let _;if(y&lt;1){const M=Tv(b,y);_=D=&gt;{const W=Math.exp(-y*b*D);return a-W*((g+y*b*p)/M*Math.sin(M*D)+p*Math.cos(M*D))}}else if(y===1)_=M=&gt;a-Math.exp(-b*M)*(p+(g+b*p)*M);else{const M=b*Math.sqrt(y*y-1);_=D=&gt;{const W=Math.exp(-y*b*D),L=Math.min(M*D,300);return a-W*((g+y*b*p)*Math.sinh(L)+M*p*Math.cosh(L))/M}}const E={calculatedDuration:d&amp;&amp;m||null,next:M=&gt;{const D=_(M);if(d)u.done=M&gt;=m;else{let W=M===0?g:0;y&lt;1&amp;&amp;(W=M===0?zs(g):yk(_,M,D));const L=Math.abs(W)&lt;=n,V=Math.abs(a-D)&lt;=o;u.done=L&amp;&amp;V}return u.value=u.done?a:D,u},toString:()=&gt;{const M=Math.min(Eb(E),Rf),D=vk(W=&gt;E.next(M*W).value,M,30);return M+&quot;ms &quot;+D},toTransition:()=&gt;{}};return E}Df.applyToOptions=e=&gt;{const r=cT(e,100,Df);return e.ease=r.ease,e.duration=zs(r.duration),e.type=&quot;keyframes&quot;,e};function Pv({keyframes:e,velocity:r=0,power:t=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:u,max:l,restDelta:s=.5,restSpeed:c}){const m=e[0],h={done:!1,value:m},d=L=&gt;u!==void 0&amp;&amp;L&lt;u||l!==void 0&amp;&amp;L&gt;l,g=L=&gt;u===void 0?l:l===void 0||Math.abs(u-L)&lt;Math.abs(l-L)?u:l;let y=t*r;const p=m+y,b=a===void 0?p:a(p);b!==p&amp;&amp;(y=b-m);const x=L=&gt;-y*Math.exp(-L/n),_=L=&gt;b+x(L),E=L=&gt;{const V=x(L),H=_(L);h.done=Math.abs(V)&lt;=s,h.value=h.done?b:H};let M,D;const W=L=&gt;{d(h.value)&amp;&amp;(M=L,D=Df({keyframes:[h.value,g(h.value)],velocity:yk(_,L,h.value),damping:o,stiffness:i,restDelta:s,restSpeed:c}))};return W(0),{calculatedDuration:null,next:L=&gt;{let V=!1;return!D&amp;&amp;M===void 0&amp;&amp;(V=!0,E(L),W(L)),M!==void 0&amp;&amp;L&gt;=M?D.next(L-M):(!V&amp;&amp;E(L),h)}}}function vT(e,r,t){const n=[],o=t||Vs.mix||gk,i=e.length-1;for(let a=0;a&lt;i;a++){let u=o(e[a],e[a+1]);if(r){const l=Array.isArray(r)?r[a]||Ai:r;u=wu(l,u)}n.push(u)}return n}function yT(e,r,{clamp:t=!0,ease:n,mixer:o}={}){const i=e.length;if(bb(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=vT(r,n,o),l=u.length,s=c=&gt;{if(a&amp;&amp;c&lt;e[0])return r[0];let m=0;if(l&gt;1)for(;m&lt;e.length-2&amp;&amp;!(c&lt;e[m+1]);m++);const h=Yc(e[m],e[m+1],c);return u[m](h)};return t?c=&gt;s(bs(e[0],e[i-1],c)):s}function bT(e,r){const t=e[e.length-1];for(let n=1;n&lt;=r;n++){const o=Yc(0,r,n);e.push(Cr(t,1,o))}}function xT(e){const r=[0];return bT(r,e.length-1),r}function wT(e,r){return e.map(t=&gt;t*r)}function _T(e,r){return e.map(()=&gt;r||sk).splice(0,e.length-1)}function qc({duration:e=300,keyframes:r,times:t,ease:n=&quot;easeInOut&quot;}){const o=PO(n)?n.map(i_):i_(n),i={done:!1,value:r[0]},a=wT(t&amp;&amp;t.length===r.length?t:xT(r),e),u=yT(a,r,{ease:Array.isArray(o)?o:_T(r,o)});return{calculatedDuration:e,next:l=&gt;(i.value=u(l),i.done=l&gt;=e,i)}}const jT=e=&gt;e!==null;function Ab(e,{repeat:r,repeatType:t=&quot;loop&quot;},n,o=1){const i=e.filter(jT),u=o&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 ST={decay:Pv,inertia:Pv,tween:qc,keyframes:qc,spring:Df};function bk(e){typeof e.type==&quot;string&quot;&amp;&amp;(e.type=ST[e.type])}class Mb{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 kT=e=&gt;e/100;class Ob extends Mb{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!==Ln.now()&amp;&amp;this.tick(Ln.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;bk(r);const{type:t=qc,repeat:n=0,repeatDelay:o=0,repeatType:i,velocity:a=0}=r;let{keyframes:u}=r;const l=t||qc;l!==qc&amp;&amp;typeof u[0]!=&quot;number&quot;&amp;&amp;(this.mixKeyframes=wu(kT,gk(u[0],u[1])),u=[0,100]);const s=l({...r,keyframes:u});i===&quot;mirror&quot;&amp;&amp;(this.mirroredGenerator=l({...r,keyframes:[...u].reverse(),velocity:-a})),s.calculatedDuration===null&amp;&amp;(s.calculatedDuration=Eb(s));const{calculatedDuration:c}=s;this.calculatedDuration=c,this.resolvedDuration=c+o,this.totalDuration=this.resolvedDuration*(n+1)-o,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:o,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:u,calculatedDuration:l}=this;if(this.startTime===null)return n.next(0);const{delay:s=0,keyframes:c,repeat:m,repeatType:h,repeatDelay:d,type:g,onUpdate:y,finalKeyframe:p}=this.options;this.speed&gt;0?this.startTime=Math.min(this.startTime,r):this.speed&lt;0&amp;&amp;(this.startTime=Math.min(r-o/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;o;this.currentTime=Math.max(b,0),this.state===&quot;finished&quot;&amp;&amp;this.holdTime===null&amp;&amp;(this.currentTime=o);let _=this.currentTime,E=n;if(m){const L=Math.min(this.currentTime,o)/u;let V=Math.floor(L),H=L%1;!H&amp;&amp;L&gt;=1&amp;&amp;(H=1),H===1&amp;&amp;V--,V=Math.min(V,m+1),V%2&amp;&amp;(h===&quot;reverse&quot;?(H=1-H,d&amp;&amp;(H-=d/u)):h===&quot;mirror&quot;&amp;&amp;(E=a)),_=bs(0,1,H)*u}const M=x?{done:!1,value:c[0]}:E.next(_);i&amp;&amp;(M.value=i(M.value));let{done:D}=M;!x&amp;&amp;l!==null&amp;&amp;(D=this.playbackSpeed&gt;=0?this.currentTime&gt;=o:this.currentTime&lt;=0);const W=this.holdTime===null&amp;&amp;(this.state===&quot;finished&quot;||this.state===&quot;running&quot;&amp;&amp;D);return W&amp;&amp;g!==Pv&amp;&amp;(M.value=Ab(c,this.options,p,this.speed)),y&amp;&amp;y(M.value),W&amp;&amp;this.finish(),M}then(r,t){return this.finished.then(r,t)}get duration(){return Ci(this.calculatedDuration)}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+Ci(r)}get time(){return Ci(this.currentTime)}set time(r){r=zs(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(Ln.now());const t=this.playbackSpeed!==r;this.playbackSpeed=r,t&amp;&amp;(this.time=Ci(this.currentTime))}play(){if(this.isStopped)return;const{driver:r=lT,startTime:t}=this.options;this.driver||(this.driver=r(o=&gt;this.tick(o))),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(Ln.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 NT(e){for(let r=1;r&lt;e.length;r++)e[r]??(e[r]=e[r-1])}const po=e=&gt;e*180/Math.PI,Iv=e=&gt;{const r=po(Math.atan2(e[1],e[0]));return Rv(r)},CT={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:Iv,rotateZ:Iv,skewX:e=&gt;po(Math.atan(e[1])),skewY:e=&gt;po(Math.atan(e[2])),skew:e=&gt;(Math.abs(e[1])+Math.abs(e[2]))/2},Rv=e=&gt;(e=e%360,e&lt;0&amp;&amp;(e+=360),e),d_=Iv,f_=e=&gt;Math.sqrt(e[0]*e[0]+e[1]*e[1]),h_=e=&gt;Math.sqrt(e[4]*e[4]+e[5]*e[5]),ET={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:f_,scaleY:h_,scale:e=&gt;(f_(e)+h_(e))/2,rotateX:e=&gt;Rv(po(Math.atan2(e[6],e[5]))),rotateY:e=&gt;Rv(po(Math.atan2(-e[2],e[0]))),rotateZ:d_,rotate:d_,skewX:e=&gt;po(Math.atan(e[4])),skewY:e=&gt;po(Math.atan(e[1])),skew:e=&gt;(Math.abs(e[1])+Math.abs(e[4]))/2};function Dv(e){return e.includes(&quot;scale&quot;)?1:0}function Lv(e,r){if(!e||e===&quot;none&quot;)return Dv(r);const t=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,o;if(t)n=ET,o=t;else{const u=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=CT,o=u}if(!o)return Dv(r);const i=n[r],a=o[1].split(&quot;,&quot;).map(MT);return typeof i==&quot;function&quot;?i(a):a[i]}const AT=(e,r)=&gt;{const{transform:t=&quot;none&quot;}=getComputedStyle(e);return Lv(t,r)};function MT(e){return parseFloat(e.trim())}const zl=[&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;],$l=new Set(zl),m_=e=&gt;e===Bl||e===st,OT=new Set([&quot;x&quot;,&quot;y&quot;,&quot;z&quot;]),TT=zl.filter(e=&gt;!OT.has(e));function PT(e){const r=[];return TT.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 Ca={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;Lv(r,&quot;x&quot;),y:(e,{transform:r})=&gt;Lv(r,&quot;y&quot;)};Ca.translateX=Ca.x;Ca.translateY=Ca.y;const xo=new Set;let Fv=!1,Bv=!1,zv=!1;function xk(){if(Bv){const e=Array.from(xo).filter(n=&gt;n.needsMeasurement),r=new Set(e.map(n=&gt;n.element)),t=new Map;r.forEach(n=&gt;{const o=PT(n);o.length&amp;&amp;(t.set(n,o),n.render())}),e.forEach(n=&gt;n.measureInitialState()),r.forEach(n=&gt;{n.render();const o=t.get(n);o&amp;&amp;o.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)})}Bv=!1,Fv=!1,xo.forEach(e=&gt;e.complete(zv)),xo.clear()}function wk(){xo.forEach(e=&gt;{e.readKeyframes(),e.needsMeasurement&amp;&amp;(Bv=!0)})}function IT(){zv=!0,wk(),xk(),zv=!1}class Tb{constructor(r,t,n,o,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=o,this.element=i,this.isAsync=a}scheduleResolve(){this.state=&quot;scheduled&quot;,this.isAsync?(xo.add(this),Fv||(Fv=!0,yr.read(wk),yr.resolveKeyframes(xk))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:r,name:t,element:n,motionValue:o}=this;if(r[0]===null){const i=o?.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),o&amp;&amp;i===void 0&amp;&amp;o.set(r[0])}NT(r)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(r=!1){this.state=&quot;complete&quot;,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,r),xo.delete(this)}cancel(){this.state===&quot;scheduled&quot;&amp;&amp;(xo.delete(this),this.state=&quot;pending&quot;)}resume(){this.state===&quot;pending&quot;&amp;&amp;this.scheduleResolve()}}const RT=e=&gt;e.startsWith(&quot;--&quot;);function DT(e,r,t){RT(r)?e.style.setProperty(r,t):e.style[r]=t}const LT=xb(()=&gt;window.ScrollTimeline!==void 0),FT={};function BT(e,r){const t=xb(e);return()=&gt;FT[r]??t()}const _k=BT(()=&gt;{try{document.createElement(&quot;div&quot;).animate({opacity:0},{easing:&quot;linear(0, 1)&quot;})}catch{return!1}return!0},&quot;linearEasing&quot;),Fc=([e,r,t,n])=&gt;`cubic-bezier(${e}, ${r}, ${t}, ${n})`,p_={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:Fc([0,.65,.55,1]),circOut:Fc([.55,0,1,.45]),backIn:Fc([.31,.01,.66,-.59]),backOut:Fc([.33,1.53,.69,.99])};function jk(e,r){if(e)return typeof e==&quot;function&quot;?_k()?vk(e,r):&quot;ease-out&quot;:ak(e)?Fc(e):Array.isArray(e)?e.map(t=&gt;jk(t,r)||p_.easeOut):p_[e]}function zT(e,r,t,{delay:n=0,duration:o=300,repeat:i=0,repeatType:a=&quot;loop&quot;,ease:u=&quot;easeOut&quot;,times:l}={},s=void 0){const c={[r]:t};l&amp;&amp;(c.offset=l);const m=jk(u,o);Array.isArray(m)&amp;&amp;(c.easing=m);const h={delay:n,duration:o,easing:Array.isArray(m)?&quot;linear&quot;:m,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 Sk(e){return typeof e==&quot;function&quot;&amp;&amp;&quot;applyToOptions&quot;in e}function $T({type:e,...r}){return Sk(e)&amp;&amp;_k()?e.applyToOptions(r):(r.duration??(r.duration=300),r.ease??(r.ease=&quot;easeOut&quot;),r)}class UT extends Mb{constructor(r){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!r)return;const{element:t,name:n,keyframes:o,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:u,onComplete:l}=r;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=r,bb(typeof r.type!=&quot;string&quot;);const s=$T(r);this.animation=zT(t,n,o,s,i),s.autoplay===!1&amp;&amp;this.animation.pause(),this.animation.onfinish=()=&gt;{if(this.finishedTime=this.time,!i){const c=Ab(o,this.options,u,this.speed);this.updateMotionValue?this.updateMotionValue(c):DT(t,n,c),this.animation.cancel()}l?.(),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 Ci(Number(r))}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+Ci(r)}get time(){return Ci(Number(this.animation.currentTime)||0)}set time(r){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=zs(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;LT()?(this.animation.timeline=r,Ai):t(this)}}const kk={anticipate:rk,backInOut:tk,circInOut:ik};function VT(e){return e in kk}function qT(e){typeof e.ease==&quot;string&quot;&amp;&amp;VT(e.ease)&amp;&amp;(e.ease=kk[e.ease])}const N0=10;class WT extends UT{constructor(r){qT(r),bk(r),super(r),r.startTime!==void 0&amp;&amp;(this.startTime=r.startTime),this.options=r}updateMotionValue(r){const{motionValue:t,onUpdate:n,onComplete:o,element:i,...a}=this.options;if(!t)return;if(r!==void 0){t.set(r);return}const u=new Ob({...a,autoplay:!1}),l=Math.max(N0,Ln.now()-this.startTime),s=bs(0,N0,l-N0);t.setWithVelocity(u.sample(Math.max(0,l-s)).value,u.sample(l).value,s),u.stop()}}const g_=(e,r)=&gt;r===&quot;zIndex&quot;?!1:!!(typeof e==&quot;number&quot;||Array.isArray(e)||typeof e==&quot;string&quot;&amp;&amp;(Pa.test(e)||e===&quot;0&quot;)&amp;&amp;!e.startsWith(&quot;url(&quot;));function HT(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 KT(e,r,t,n){const o=e[0];if(o===null)return!1;if(r===&quot;display&quot;||r===&quot;visibility&quot;)return!0;const i=e[e.length-1],a=g_(o,r),u=g_(i,r);return!a||!u?!1:HT(e)||(t===&quot;spring&quot;||Sk(t))&amp;&amp;n}function $v(e){e.duration=0,e.type=&quot;keyframes&quot;}const XT=new Set([&quot;opacity&quot;,&quot;clipPath&quot;,&quot;filter&quot;,&quot;transform&quot;]),GT=xb(()=&gt;Object.hasOwnProperty.call(Element.prototype,&quot;animate&quot;));function YT(e){const{motionValue:r,name:t,repeatDelay:n,repeatType:o,damping:i,type:a}=e;if(!(r?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:s}=r.owner.getProps();return GT()&amp;&amp;t&amp;&amp;XT.has(t)&amp;&amp;(t!==&quot;transform&quot;||!s)&amp;&amp;!l&amp;&amp;!n&amp;&amp;o!==&quot;mirror&quot;&amp;&amp;i!==0&amp;&amp;a!==&quot;inertia&quot;}const ZT=40;class QT extends Mb{constructor({autoplay:r=!0,delay:t=0,type:n=&quot;keyframes&quot;,repeat:o=0,repeatDelay:i=0,repeatType:a=&quot;loop&quot;,keyframes:u,name:l,motionValue:s,element:c,...m}){super(),this.stop=()=&gt;{this._animation&amp;&amp;(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Ln.now();const h={autoplay:r,delay:t,type:n,repeat:o,repeatDelay:i,repeatType:a,name:l,motionValue:s,element:c,...m},d=c?.KeyframeResolver||Tb;this.keyframeResolver=new d(u,(g,y,p)=&gt;this.onKeyframesResolved(g,y,h,!p),l,s,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(r,t,n,o){this.keyframeResolver=void 0;const{name:i,type:a,velocity:u,delay:l,isHandoff:s,onUpdate:c}=n;this.resolvedAt=Ln.now(),KT(r,i,a,u)||((Vs.instantAnimations||!l)&amp;&amp;c?.(Ab(r,n,t)),r[0]=r[r.length-1],$v(n),n.repeat=0);const h={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt&gt;ZT?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:r},d=!s&amp;&amp;YT(h),g=h.motionValue?.owner?.current,y=d?new WT({...h,element:g}):new Ob(h);y.finished.then(()=&gt;{this.notifyFinished()}).catch(Ai),this.pendingTimeline&amp;&amp;(this.stopTimeline=y.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=y}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(),IT()),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 Nk(e,r,t,n=0,o=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):o===1?i*n:u-i*n}const JT=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function eP(e){const r=JT.exec(e);if(!r)return[,];const[,t,n,o]=r;return[`--${t??n}`,o]}function Ck(e,r,t=1){const[n,o]=eP(e);if(!n)return;const i=window.getComputedStyle(r).getPropertyValue(n);if(i){const a=i.trim();return KS(a)?parseFloat(a):a}return Sb(o)?Ck(o,r,t+1):o}const tP={type:&quot;spring&quot;,stiffness:500,damping:25,restSpeed:10},rP=e=&gt;({type:&quot;spring&quot;,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),nP={type:&quot;keyframes&quot;,duration:.8},iP={type:&quot;keyframes&quot;,ease:[.25,.1,.35,1],duration:.3},sP=(e,{keyframes:r})=&gt;r.length&gt;2?nP:$l.has(e)?e.startsWith(&quot;scale&quot;)?rP(r[1]):tP:iP,aP=e=&gt;e!==null;function oP(e,{repeat:r,repeatType:t=&quot;loop&quot;},n){const o=e.filter(aP),i=r&amp;&amp;t!==&quot;loop&quot;&amp;&amp;r%2===1?0:o.length-1;return o[i]}function Pb(e,r){return e?.[r]??e?.default??e}function lP({when:e,delay:r,delayChildren:t,staggerChildren:n,staggerDirection:o,repeat:i,repeatType:a,repeatDelay:u,from:l,elapsed:s,...c}){return!!Object.keys(c).length}const Ib=(e,r,t,n={},o,i)=&gt;a=&gt;{const u=Pb(n,e)||{},l=u.delay||n.delay||0;let{elapsed:s=0}=n;s=s-zs(l);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:o};lP(u)||Object.assign(c,sP(e,c)),c.duration&amp;&amp;(c.duration=zs(c.duration)),c.repeatDelay&amp;&amp;(c.repeatDelay=zs(c.repeatDelay)),c.from!==void 0&amp;&amp;(c.keyframes[0]=c.from);let m=!1;if((c.type===!1||c.duration===0&amp;&amp;!c.repeatDelay)&amp;&amp;($v(c),c.delay===0&amp;&amp;(m=!0)),(Vs.instantAnimations||Vs.skipAnimations)&amp;&amp;(m=!0,$v(c),c.delay=0),c.allowFlatten=!u.type&amp;&amp;!u.ease,m&amp;&amp;!i&amp;&amp;r.get()!==void 0){const h=oP(c.keyframes,u);if(h!==void 0){yr.update(()=&gt;{c.onUpdate(h),c.onComplete()});return}}return u.isSync?new Ob(c):new QT(c)};function v_(e){const r=[{},{}];return e?.values.forEach((t,n)=&gt;{r[0][n]=t.get(),r[1][n]=t.getVelocity()}),r}function Rb(e,r,t,n){if(typeof r==&quot;function&quot;){const[o,i]=v_(n);r=r(t!==void 0?t:e.custom,o,i)}if(typeof r==&quot;string&quot;&amp;&amp;(r=e.variants&amp;&amp;e.variants[r]),typeof r==&quot;function&quot;){const[o,i]=v_(n);r=r(t!==void 0?t:e.custom,o,i)}return r}function Sl(e,r,t){const n=e.getProps();return Rb(n,r,t!==void 0?t:n.custom,e)}const Ek=new Set([&quot;width&quot;,&quot;height&quot;,&quot;top&quot;,&quot;left&quot;,&quot;right&quot;,&quot;bottom&quot;,...zl]),y_=30,cP=e=&gt;!isNaN(parseFloat(e));class uP{constructor(r,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=n=&gt;{const o=Ln.now();if(this.updatedAt!==o&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=Ln.now(),this.canTrackVelocity===null&amp;&amp;r!==void 0&amp;&amp;(this.canTrackVelocity=cP(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 wb);const n=this.events[r].add(t);return r===&quot;change&quot;?()=&gt;{n(),yr.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=Ln.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||r-this.updatedAt&gt;y_)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,y_);return YS(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 Cl(e,r){return new uP(e,r)}const Uv=e=&gt;Array.isArray(e);function dP(e,r,t){e.hasValue(r)?e.getValue(r).set(t):e.addValue(r,Cl(t))}function fP(e){return Uv(e)?e[e.length-1]||0:e}function hP(e,r){const t=Sl(e,r);let{transitionEnd:n={},transition:o={},...i}=t||{};i={...i,...n};for(const a in i){const u=fP(i[a]);dP(e,a,u)}}const Mn=e=&gt;!!(e&amp;&amp;e.getVelocity);function mP(e){return!!(Mn(e)&amp;&amp;e.add)}function Vv(e,r){const t=e.getValue(&quot;willChange&quot;);if(mP(t))return t.add(r);if(!t&amp;&amp;Vs.WillChange){const n=new Vs.WillChange(&quot;auto&quot;);e.addValue(&quot;willChange&quot;,n),n.add(r)}}function Db(e){return e.replace(/([A-Z])/g,r=&gt;`-${r.toLowerCase()}`)}const pP=&quot;framerAppearId&quot;,Ak=&quot;data-&quot;+Db(pP);function Mk(e){return e.props[Ak]}function gP({protectedKeys:e,needsAnimating:r},t){const n=e.hasOwnProperty(t)&amp;&amp;r[t]!==!0;return r[t]=!1,n}function Ok(e,r,{delay:t=0,transitionOverride:n,type:o}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:a,...u}=r;n&amp;&amp;(i=n);const l=[],s=o&amp;&amp;e.animationState&amp;&amp;e.animationState.getState()[o];for(const c in u){const m=e.getValue(c,e.latestValues[c]??null),h=u[c];if(h===void 0||s&amp;&amp;gP(s,c))continue;const d={delay:t,...Pb(i||{},c)},g=m.get();if(g!==void 0&amp;&amp;!m.isAnimating&amp;&amp;!Array.isArray(h)&amp;&amp;h===g&amp;&amp;!d.velocity)continue;let y=!1;if(window.MotionHandoffAnimation){const b=Mk(e);if(b){const x=window.MotionHandoffAnimation(b,c,yr);x!==null&amp;&amp;(d.startTime=x,y=!0)}}Vv(e,c),m.start(Ib(c,m,h,e.shouldReduceMotion&amp;&amp;Ek.has(c)?{type:!1}:d,e,y));const p=m.animation;p&amp;&amp;l.push(p)}return a&amp;&amp;Promise.all(l).then(()=&gt;{yr.update(()=&gt;{a&amp;&amp;hP(e,a)})}),l}function qv(e,r,t={}){const n=Sl(e,r,t.type===&quot;exit&quot;?e.presenceContext?.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=n||{};t.transitionOverride&amp;&amp;(o=t.transitionOverride);const i=n?()=&gt;Promise.all(Ok(e,n,t)):()=&gt;Promise.resolve(),a=e.variantChildren&amp;&amp;e.variantChildren.size?(l=0)=&gt;{const{delayChildren:s=0,staggerChildren:c,staggerDirection:m}=o;return vP(e,r,l,s,c,m,t)}:()=&gt;Promise.resolve(),{when:u}=o;if(u){const[l,s]=u===&quot;beforeChildren&quot;?[i,a]:[a,i];return l().then(()=&gt;s())}else return Promise.all([i(),a(t.delay)])}function vP(e,r,t=0,n=0,o=0,i=1,a){const u=[];for(const l of e.variantChildren)l.notify(&quot;AnimationStart&quot;,r),u.push(qv(l,r,{...a,delay:t+(typeof n==&quot;function&quot;?0:n)+Nk(e.variantChildren,l,n,o,i)}).then(()=&gt;l.notify(&quot;AnimationComplete&quot;,r)));return Promise.all(u)}function yP(e,r,t={}){e.notify(&quot;AnimationStart&quot;,r);let n;if(Array.isArray(r)){const o=r.map(i=&gt;qv(e,i,t));n=Promise.all(o)}else if(typeof r==&quot;string&quot;)n=qv(e,r,t);else{const o=typeof r==&quot;function&quot;?Sl(e,r,t.custom):r;n=Promise.all(Ok(e,o,t))}return n.then(()=&gt;{e.notify(&quot;AnimationComplete&quot;,r)})}const bP={test:e=&gt;e===&quot;auto&quot;,parse:e=&gt;e},Tk=e=&gt;r=&gt;r.test(e),Pk=[Bl,st,vs,_a,HO,WO,bP],b_=e=&gt;Pk.find(Tk(e));function xP(e){return typeof e==&quot;number&quot;?e===0:e!==null?e===&quot;none&quot;||e===&quot;0&quot;||GS(e):!0}const wP=new Set([&quot;brightness&quot;,&quot;contrast&quot;,&quot;saturate&quot;,&quot;opacity&quot;]);function _P(e){const[r,t]=e.slice(0,-1).split(&quot;(&quot;);if(r===&quot;drop-shadow&quot;)return e;const[n]=t.match(kb)||[];if(!n)return e;const o=t.replace(n,&quot;&quot;);let i=wP.has(r)?1:0;return n!==t&amp;&amp;(i*=100),r+&quot;(&quot;+i+o+&quot;)&quot;}const jP=/\b([a-z-]*)\(.*?\)/gu,Wv={...Pa,getAnimatableNone:e=&gt;{const r=e.match(jP);return r?r.map(_P).join(&quot; &quot;):e}},x_={...Bl,transform:Math.round},SP={rotate:_a,rotateX:_a,rotateY:_a,rotateZ:_a,scale:Kd,scaleX:Kd,scaleY:Kd,scaleZ:Kd,skew:_a,skewX:_a,skewY:_a,distance:st,translateX:st,translateY:st,translateZ:st,x:st,y:st,z:st,perspective:st,transformPerspective:st,opacity:Zc,originX:a_,originY:a_,originZ:st},Lb={borderWidth:st,borderTopWidth:st,borderRightWidth:st,borderBottomWidth:st,borderLeftWidth:st,borderRadius:st,radius:st,borderTopLeftRadius:st,borderTopRightRadius:st,borderBottomRightRadius:st,borderBottomLeftRadius:st,width:st,maxWidth:st,height:st,maxHeight:st,top:st,right:st,bottom:st,left:st,inset:st,insetBlock:st,insetBlockStart:st,insetBlockEnd:st,insetInline:st,insetInlineStart:st,insetInlineEnd:st,padding:st,paddingTop:st,paddingRight:st,paddingBottom:st,paddingLeft:st,paddingBlock:st,paddingBlockStart:st,paddingBlockEnd:st,paddingInline:st,paddingInlineStart:st,paddingInlineEnd:st,margin:st,marginTop:st,marginRight:st,marginBottom:st,marginLeft:st,marginBlock:st,marginBlockStart:st,marginBlockEnd:st,marginInline:st,marginInlineStart:st,marginInlineEnd:st,backgroundPositionX:st,backgroundPositionY:st,...SP,zIndex:x_,fillOpacity:Zc,strokeOpacity:Zc,numOctaves:x_},kP={...Lb,color:zr,backgroundColor:zr,outlineColor:zr,fill:zr,stroke:zr,borderColor:zr,borderTopColor:zr,borderRightColor:zr,borderBottomColor:zr,borderLeftColor:zr,filter:Wv,WebkitFilter:Wv},Ik=e=&gt;kP[e];function Rk(e,r){let t=Ik(e);return t!==Wv&amp;&amp;(t=Pa),t.getAnimatableNone?t.getAnimatableNone(r):void 0}const NP=new Set([&quot;auto&quot;,&quot;none&quot;,&quot;0&quot;]);function CP(e,r,t){let n=0,o;for(;n&lt;e.length&amp;&amp;!o;){const i=e[n];typeof i==&quot;string&quot;&amp;&amp;!NP.has(i)&amp;&amp;Qc(i).values.length&amp;&amp;(o=e[n]),n++}if(o&amp;&amp;t)for(const i of r)e[i]=Rk(t,o)}class EP extends Tb{constructor(r,t,n,o,i){super(r,t,n,o,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 m=r[c];if(typeof m==&quot;string&quot;&amp;&amp;(m=m.trim(),Sb(m))){const h=Ck(m,t.current);h!==void 0&amp;&amp;(r[c]=h),c===r.length-1&amp;&amp;(this.finalKeyframe=m)}}if(this.resolveNoneKeyframes(),!Ek.has(n)||r.length!==2)return;const[o,i]=r,a=b_(o),u=b_(i),l=s_(o),s=s_(i);if(l!==s&amp;&amp;Ca[n]){this.needsMeasurement=!0;return}if(a!==u)if(m_(a)&amp;&amp;m_(u))for(let c=0;c&lt;r.length;c++){const m=r[c];typeof m==&quot;string&quot;&amp;&amp;(r[c]=parseFloat(m))}else Ca[n]&amp;&amp;(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:r,name:t}=this,n=[];for(let o=0;o&lt;r.length;o++)(r[o]===null||xP(r[o]))&amp;&amp;n.push(o);n.length&amp;&amp;CP(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=Ca[n](r.measureViewportBox(),window.getComputedStyle(r.current)),t[0]=this.measuredOrigin;const o=t[t.length-1];o!==void 0&amp;&amp;r.getValue(n,o).jump(o,!1)}measureEndState(){const{element:r,name:t,unresolvedKeyframes:n}=this;if(!r||!r.current)return;const o=r.getValue(t);o&amp;&amp;o.jump(this.measuredOrigin,!1);const i=n.length-1,a=n[i];n[i]=Ca[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,l])=&gt;{r.getValue(u).set(l)}),this.resolveNoneKeyframes()}}function AP(e,r,t){if(e instanceof EventTarget)return[e];if(typeof e==&quot;string&quot;){let n=document;const o=t?.[e]??n.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}const Dk=(e,r)=&gt;r&amp;&amp;typeof e==&quot;number&quot;?r.transform(e):e;function Lk(e){return XS(e)&amp;&amp;&quot;offsetHeight&quot;in e}const{schedule:Fb}=ok(queueMicrotask,!1),Hi={x:!1,y:!1};function Fk(){return Hi.x||Hi.y}function MP(e){return e===&quot;x&quot;||e===&quot;y&quot;?Hi[e]?null:(Hi[e]=!0,()=&gt;{Hi[e]=!1}):Hi.x||Hi.y?null:(Hi.x=Hi.y=!0,()=&gt;{Hi.x=Hi.y=!1})}function Bk(e,r){const t=AP(e),n=new AbortController,o={passive:!0,...r,signal:n.signal};return[t,o,()=&gt;n.abort()]}function w_(e){return!(e.pointerType===&quot;touch&quot;||Fk())}function OP(e,r,t={}){const[n,o,i]=Bk(e,t),a=u=&gt;{if(!w_(u))return;const{target:l}=u,s=r(l,u);if(typeof s!=&quot;function&quot;||!l)return;const c=m=&gt;{w_(m)&amp;&amp;(s(m),l.removeEventListener(&quot;pointerleave&quot;,c))};l.addEventListener(&quot;pointerleave&quot;,c,o)};return n.forEach(u=&gt;{u.addEventListener(&quot;pointerenter&quot;,a,o)}),i}const zk=(e,r)=&gt;r?e===r?!0:zk(e,r.parentElement):!1,Bb=e=&gt;e.pointerType===&quot;mouse&quot;?typeof e.button!=&quot;number&quot;||e.button&lt;=0:e.isPrimary!==!1,TP=new Set([&quot;BUTTON&quot;,&quot;INPUT&quot;,&quot;SELECT&quot;,&quot;TEXTAREA&quot;,&quot;A&quot;]);function $k(e){return TP.has(e.tagName)||e.isContentEditable===!0}const xf=new WeakSet;function __(e){return r=&gt;{r.key===&quot;Enter&quot;&amp;&amp;e(r)}}function C0(e,r){e.dispatchEvent(new PointerEvent(&quot;pointer&quot;+r,{isPrimary:!0,bubbles:!0}))}const PP=(e,r)=&gt;{const t=e.currentTarget;if(!t)return;const n=__(()=&gt;{if(xf.has(t))return;C0(t,&quot;down&quot;);const o=__(()=&gt;{C0(t,&quot;up&quot;)}),i=()=&gt;C0(t,&quot;cancel&quot;);t.addEventListener(&quot;keyup&quot;,o,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 j_(e){return Bb(e)&amp;&amp;!Fk()}function IP(e,r,t={}){const[n,o,i]=Bk(e,t),a=u=&gt;{const l=u.currentTarget;if(!j_(u))return;xf.add(l);const s=r(l,u),c=(d,g)=&gt;{window.removeEventListener(&quot;pointerup&quot;,m),window.removeEventListener(&quot;pointercancel&quot;,h),xf.has(l)&amp;&amp;xf.delete(l),j_(d)&amp;&amp;typeof s==&quot;function&quot;&amp;&amp;s(d,{success:g})},m=d=&gt;{c(d,l===window||l===document||t.useGlobalTarget||zk(l,d.target))},h=d=&gt;{c(d,!1)};window.addEventListener(&quot;pointerup&quot;,m,o),window.addEventListener(&quot;pointercancel&quot;,h,o)};return n.forEach(u=&gt;{(t.useGlobalTarget?window:u).addEventListener(&quot;pointerdown&quot;,a,o),Lk(u)&amp;&amp;(u.addEventListener(&quot;focus&quot;,s=&gt;PP(s,o)),!$k(u)&amp;&amp;!u.hasAttribute(&quot;tabindex&quot;)&amp;&amp;(u.tabIndex=0))}),i}function Uk(e){return XS(e)&amp;&amp;&quot;ownerSVGElement&quot;in e}function RP(e){return Uk(e)&amp;&amp;e.tagName===&quot;svg&quot;}const DP=[...Pk,zr,Pa],LP=e=&gt;DP.find(Tk(e)),S_=()=&gt;({translate:0,scale:1,origin:0,originPoint:0}),bl=()=&gt;({x:S_(),y:S_()}),k_=()=&gt;({min:0,max:0}),Hr=()=&gt;({x:k_(),y:k_()}),Hv={current:null},Vk={current:!1},FP=typeof window&lt;&quot;u&quot;;function BP(){if(Vk.current=!0,!!FP)if(window.matchMedia){const e=window.matchMedia(&quot;(prefers-reduced-motion)&quot;),r=()=&gt;Hv.current=e.matches;e.addEventListener(&quot;change&quot;,r),r()}else Hv.current=!1}const zP=new WeakMap;function qh(e){return e!==null&amp;&amp;typeof e==&quot;object&quot;&amp;&amp;typeof e.start==&quot;function&quot;}function Jc(e){return typeof e==&quot;string&quot;||Array.isArray(e)}const zb=[&quot;animate&quot;,&quot;whileInView&quot;,&quot;whileFocus&quot;,&quot;whileHover&quot;,&quot;whileTap&quot;,&quot;whileDrag&quot;,&quot;exit&quot;],$b=[&quot;initial&quot;,...zb];function Wh(e){return qh(e.animate)||$b.some(r=&gt;Jc(e[r]))}function qk(e){return!!(Wh(e)||e.variants)}function $P(e,r,t){for(const n in r){const o=r[n],i=t[n];if(Mn(o))e.addValue(n,o);else if(Mn(i))e.addValue(n,Cl(o,{owner:e}));else if(i!==o)if(e.hasValue(n)){const a=e.getValue(n);a.liveStyle===!0?a.jump(o):a.hasAnimated||a.set(o)}else{const a=e.getStaticValue(n);e.addValue(n,Cl(a!==void 0?a:o,{owner:e}))}}for(const n in t)r[n]===void 0&amp;&amp;e.removeValue(n);return r}const N_=[&quot;AnimationStart&quot;,&quot;AnimationComplete&quot;,&quot;Update&quot;,&quot;BeforeLayoutMeasure&quot;,&quot;LayoutMeasure&quot;,&quot;LayoutAnimationStart&quot;,&quot;LayoutAnimationComplete&quot;];let Lf={};function Wk(e){Lf=e}function UP(){return Lf}class VP{scrapeMotionValuesFromProps(r,t,n){return{}}constructor({parent:r,props:t,presenceContext:n,reducedMotionConfig:o,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=Tb,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=Ln.now();this.renderScheduledAt&lt;h&amp;&amp;(this.renderScheduledAt=h,yr.render(this.render,!1,!0))};const{latestValues:l,renderState:s}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=s,this.parent=r,this.props=t,this.presenceContext=n,this.depth=r?r.depth+1:0,this.reducedMotionConfig=o,this.options=u,this.blockInitialAnimation=!!i,this.isControllingVariants=Wh(t),this.isVariantNode=qk(t),this.isVariantNode&amp;&amp;(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(r&amp;&amp;r.current);const{willChange:c,...m}=this.scrapeMotionValuesFromProps(t,{},this);for(const h in m){const d=m[h];l[h]!==void 0&amp;&amp;Mn(d)&amp;&amp;d.set(l[h])}}mount(r){this.current=r,zP.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:(Vk.current||BP(),this.shouldReduceMotion=Hv.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&amp;&amp;this.projection.unmount(),Ta(this.notifyUpdate),Ta(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=$l.has(r);n&amp;&amp;this.onBindTransform&amp;&amp;this.onBindTransform();const o=t.on(&quot;change&quot;,a=&gt;{this.latestValues[r]=a,this.props.onUpdate&amp;&amp;yr.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;{o(),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 Lf){const t=Lf[r];if(!t)continue;const{isEnabled:n,Feature:o}=t;if(!this.features[r]&amp;&amp;o&amp;&amp;n(this.props)&amp;&amp;(this.features[r]=new o(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):Hr()}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;N_.length;n++){const o=N_[n];this.propEventSubscriptions[o]&amp;&amp;(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const i=&quot;on&quot;+o,a=r[i];a&amp;&amp;(this.propEventSubscriptions[o]=this.on(o,a))}this.prevMotionValues=$P(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=Cl(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;(KS(n)||GS(n))?n=parseFloat(n):!LP(n)&amp;&amp;Pa.test(t)&amp;&amp;(n=Rk(r,t)),this.setBaseTarget(r,Mn(n)?n.get():n)),Mn(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=Rb(this.props,t,this.presenceContext?.custom);i&amp;&amp;(n=i[r])}if(t&amp;&amp;n!==void 0)return n;const o=this.getBaseTargetFromProps(this.props,r);return o!==void 0&amp;&amp;!Mn(o)?o: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 wb),this.events[r].add(t)}notify(r,...t){this.events[r]&amp;&amp;this.events[r].notify(...t)}scheduleRenderMicrotask(){Fb.render(this.render)}}class Hk extends VP{constructor(){super(...arguments),this.KeyframeResolver=EP}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;Mn(r)&amp;&amp;(this.childSubscription=r.on(&quot;change&quot;,t=&gt;{this.current&amp;&amp;(this.current.textContent=`${t}`)}))}}class Ba{constructor(r){this.isMounted=!1,this.node=r}update(){}}function Kk({top:e,left:r,right:t,bottom:n}){return{x:{min:r,max:t},y:{min:e,max:n}}}function qP({x:e,y:r}){return{top:r.min,right:e.max,bottom:r.max,left:e.min}}function WP(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 E0(e){return e===void 0||e===1}function Kv({scale:e,scaleX:r,scaleY:t}){return!E0(e)||!E0(r)||!E0(t)}function lo(e){return Kv(e)||Xk(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Xk(e){return C_(e.x)||C_(e.y)}function C_(e){return e&amp;&amp;e!==&quot;0%&quot;}function Ff(e,r,t){const n=e-t,o=r*n;return t+o}function E_(e,r,t,n,o){return o!==void 0&amp;&amp;(e=Ff(e,o,n)),Ff(e,t,n)+r}function Xv(e,r=0,t=1,n,o){e.min=E_(e.min,r,t,n,o),e.max=E_(e.max,r,t,n,o)}function Gk(e,{x:r,y:t}){Xv(e.x,r.translate,r.scale,r.originPoint),Xv(e.y,t.translate,t.scale,t.originPoint)}const A_=.999999999999,M_=1.0000000000001;function HP(e,r,t,n=!1){const o=t.length;if(!o)return;r.x=r.y=1;let i,a;for(let u=0;u&lt;o;u++){i=t[u],a=i.projectionDelta;const{visualElement:l}=i.options;l&amp;&amp;l.props.style&amp;&amp;l.props.style.display===&quot;contents&quot;||(n&amp;&amp;i.options.layoutScroll&amp;&amp;i.scroll&amp;&amp;i!==i.root&amp;&amp;wl(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&amp;&amp;(r.x*=a.x.scale,r.y*=a.y.scale,Gk(e,a)),n&amp;&amp;lo(i.latestValues)&amp;&amp;wl(e,i.latestValues))}r.x&lt;M_&amp;&amp;r.x&gt;A_&amp;&amp;(r.x=1),r.y&lt;M_&amp;&amp;r.y&gt;A_&amp;&amp;(r.y=1)}function xl(e,r){e.min=e.min+r,e.max=e.max+r}function O_(e,r,t,n,o=.5){const i=Cr(e.min,e.max,o);Xv(e,r,t,i,n)}function wl(e,r){O_(e.x,r.x,r.scaleX,r.scale,r.originX),O_(e.y,r.y,r.scaleY,r.scale,r.originY)}function Yk(e,r){return Kk(WP(e.getBoundingClientRect(),r))}function KP(e,r,t){const n=Yk(e,t),{scroll:o}=r;return o&amp;&amp;(xl(n.x,o.offset.x),xl(n.y,o.offset.y)),n}const XP={x:&quot;translateX&quot;,y:&quot;translateY&quot;,z:&quot;translateZ&quot;,transformPerspective:&quot;perspective&quot;},GP=zl.length;function YP(e,r,t){let n=&quot;&quot;,o=!0;for(let i=0;i&lt;GP;i++){const a=zl[i],u=e[a];if(u===void 0)continue;let l=!0;if(typeof u==&quot;number&quot;?l=u===(a.startsWith(&quot;scale&quot;)?1:0):l=parseFloat(u)===0,!l||t){const s=Dk(u,Lb[a]);if(!l){o=!1;const c=XP[a]||a;n+=`${c}(${s}) `}t&amp;&amp;(r[a]=s)}}return n=n.trim(),t?n=t(r,o?&quot;&quot;:n):o&amp;&amp;(n=&quot;none&quot;),n}function Ub(e,r,t){const{style:n,vars:o,transformOrigin:i}=e;let a=!1,u=!1;for(const l in r){const s=r[l];if($l.has(l)){a=!0;continue}else if(ck(l)){o[l]=s;continue}else{const c=Dk(s,Lb[l]);l.startsWith(&quot;origin&quot;)?(u=!0,i[l]=c):n[l]=c}}if(r.transform||(a||t?n.transform=YP(r,e.transform,t):n.transform&amp;&amp;(n.transform=&quot;none&quot;)),u){const{originX:l=&quot;50%&quot;,originY:s=&quot;50%&quot;,originZ:c=0}=i;n.transformOrigin=`${l} ${s} ${c}`}}function Zk(e,{style:r,vars:t},n,o){const i=e.style;let a;for(a in r)i[a]=r[a];o?.applyProjectionStyles(i,n);for(a in t)i.setProperty(a,t[a])}function T_(e,r){return r.max===r.min?0:e/(r.max-r.min)*100}const Cc={correct:(e,r)=&gt;{if(!r.target)return e;if(typeof e==&quot;string&quot;)if(st.test(e))e=parseFloat(e);else return e;const t=T_(e,r.target.x),n=T_(e,r.target.y);return`${t}% ${n}%`}},ZP={correct:(e,{treeScale:r,projectionDelta:t})=&gt;{const n=e,o=Pa.parse(e);if(o.length&gt;5)return n;const i=Pa.createTransformer(e),a=typeof o[0]!=&quot;number&quot;?1:0,u=t.x.scale*r.x,l=t.y.scale*r.y;o[0+a]/=u,o[1+a]/=l;const s=Cr(u,l,.5);return typeof o[2+a]==&quot;number&quot;&amp;&amp;(o[2+a]/=s),typeof o[3+a]==&quot;number&quot;&amp;&amp;(o[3+a]/=s),i(o)}},Gv={borderRadius:{...Cc,applyTo:[&quot;borderTopLeftRadius&quot;,&quot;borderTopRightRadius&quot;,&quot;borderBottomLeftRadius&quot;,&quot;borderBottomRightRadius&quot;]},borderTopLeftRadius:Cc,borderTopRightRadius:Cc,borderBottomLeftRadius:Cc,borderBottomRightRadius:Cc,boxShadow:ZP};function Qk(e,{layout:r,layoutId:t}){return $l.has(e)||e.startsWith(&quot;origin&quot;)||(r||t!==void 0)&amp;&amp;(!!Gv[e]||e===&quot;opacity&quot;)}function Vb(e,r,t){const n=e.style,o=r?.style,i={};if(!n)return i;for(const a in n)(Mn(n[a])||o&amp;&amp;Mn(o[a])||Qk(a,e)||t?.getValue(a)?.liveStyle!==void 0)&amp;&amp;(i[a]=n[a]);return i}function QP(e){return window.getComputedStyle(e)}class JP extends Hk{constructor(){super(...arguments),this.type=&quot;html&quot;,this.renderInstance=Zk}readValueFromInstance(r,t){if($l.has(t))return this.projection?.isProjecting?Dv(t):AT(r,t);{const n=QP(r),o=(ck(t)?n.getPropertyValue(t):n[t])||0;return typeof o==&quot;string&quot;?o.trim():o}}measureInstanceViewportBox(r,{transformPagePoint:t}){return Yk(r,t)}build(r,t,n){Ub(r,t,n.transformTemplate)}scrapeMotionValuesFromProps(r,t,n){return Vb(r,t,n)}}const eI={offset:&quot;stroke-dashoffset&quot;,array:&quot;stroke-dasharray&quot;},tI={offset:&quot;strokeDashoffset&quot;,array:&quot;strokeDasharray&quot;};function rI(e,r,t=1,n=0,o=!0){e.pathLength=1;const i=o?eI:tI;e[i.offset]=st.transform(-n);const a=st.transform(r),u=st.transform(t);e[i.array]=`${a} ${u}`}const nI=[&quot;offsetDistance&quot;,&quot;offsetPath&quot;,&quot;offsetRotate&quot;,&quot;offsetAnchor&quot;];function Jk(e,{attrX:r,attrY:t,attrScale:n,pathLength:o,pathSpacing:i=1,pathOffset:a=0,...u},l,s,c){if(Ub(e,u,s),l){e.style.viewBox&amp;&amp;(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:m,style:h}=e;m.transform&amp;&amp;(h.transform=m.transform,delete m.transform),(h.transform||m.transformOrigin)&amp;&amp;(h.transformOrigin=m.transformOrigin??&quot;50% 50%&quot;,delete m.transformOrigin),h.transform&amp;&amp;(h.transformBox=c?.transformBox??&quot;fill-box&quot;,delete m.transformBox);for(const d of nI)m[d]!==void 0&amp;&amp;(h[d]=m[d],delete m[d]);r!==void 0&amp;&amp;(m.x=r),t!==void 0&amp;&amp;(m.y=t),n!==void 0&amp;&amp;(m.scale=n),o!==void 0&amp;&amp;rI(m,o,i,a,!1)}const e8=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;]),t8=e=&gt;typeof e==&quot;string&quot;&amp;&amp;e.toLowerCase()===&quot;svg&quot;;function iI(e,r,t,n){Zk(e,r,void 0,n);for(const o in r.attrs)e.setAttribute(e8.has(o)?o:Db(o),r.attrs[o])}function r8(e,r,t){const n=Vb(e,r,t);for(const o in e)if(Mn(e[o])||Mn(r[o])){const i=zl.indexOf(o)!==-1?&quot;attr&quot;+o.charAt(0).toUpperCase()+o.substring(1):o;n[i]=e[o]}return n}class sI extends Hk{constructor(){super(...arguments),this.type=&quot;svg&quot;,this.isSVGTag=!1,this.measureInstanceViewportBox=Hr}getBaseTargetFromProps(r,t){return r[t]}readValueFromInstance(r,t){if($l.has(t)){const n=Ik(t);return n&amp;&amp;n.default||0}return t=e8.has(t)?t:Db(t),r.getAttribute(t)}scrapeMotionValuesFromProps(r,t,n){return r8(r,t,n)}build(r,t,n){Jk(r,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(r,t,n,o){iI(r,t,n,o)}mount(r){this.isSVGTag=t8(r.tagName),super.mount(r)}}const aI=$b.length;function n8(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent?n8(e.parent)||{}:{};return e.props.initial!==void 0&amp;&amp;(t.initial=e.props.initial),t}const r={};for(let t=0;t&lt;aI;t++){const n=$b[t],o=e.props[n];(Jc(o)||o===!1)&amp;&amp;(r[n]=o)}return r}function i8(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 oI=[...zb].reverse(),lI=zb.length;function cI(e){return r=&gt;Promise.all(r.map(({animation:t,options:n})=&gt;yP(e,t,n)))}function uI(e){let r=cI(e),t=P_(),n=!0;const o=l=&gt;(s,c)=&gt;{const m=Sl(e,c,l===&quot;exit&quot;?e.presenceContext?.custom:void 0);if(m){const{transition:h,transitionEnd:d,...g}=m;s={...s,...g,...d}}return s};function i(l){r=l(e)}function a(l){const{props:s}=e,c=n8(e.parent)||{},m=[],h=new Set;let d={},g=1/0;for(let p=0;p&lt;lI;p++){const b=oI[p],x=t[b],_=s[b]!==void 0?s[b]:c[b],E=Jc(_),M=b===l?x.isActive:null;M===!1&amp;&amp;(g=p);let D=_===c[b]&amp;&amp;_!==s[b]&amp;&amp;E;if(D&amp;&amp;n&amp;&amp;e.manuallyAnimateOnMount&amp;&amp;(D=!1),x.protectedKeys={...d},!x.isActive&amp;&amp;M===null||!_&amp;&amp;!x.prevProp||qh(_)||typeof _==&quot;boolean&quot;)continue;const W=dI(x.prevProp,_);let L=W||b===l&amp;&amp;x.isActive&amp;&amp;!D&amp;&amp;E||p&gt;g&amp;&amp;E,V=!1;const H=Array.isArray(_)?_:[_];let K=H.reduce(o(b),{});M===!1&amp;&amp;(K={});const{prevResolvedValues:z={}}=x,O={...z,...K},I=k=&gt;{L=!0,h.has(k)&amp;&amp;(V=!0,h.delete(k)),x.needsAnimating[k]=!0;const S=e.getValue(k);S&amp;&amp;(S.liveStyle=!1)};for(const k in O){const S=K[k],N=z[k];if(d.hasOwnProperty(k))continue;let T=!1;Uv(S)&amp;&amp;Uv(N)?T=!i8(S,N):T=S!==N,T?S!=null?I(k):h.add(k):S!==void 0&amp;&amp;h.has(k)?I(k):x.protectedKeys[k]=!0}x.prevProp=_,x.prevResolvedValues=K,x.isActive&amp;&amp;(d={...d,...K}),n&amp;&amp;e.blockInitialAnimation&amp;&amp;(L=!1);const C=D&amp;&amp;W;L&amp;&amp;(!C||V)&amp;&amp;m.push(...H.map(k=&gt;{const S={type:b};if(typeof k==&quot;string&quot;&amp;&amp;n&amp;&amp;!C&amp;&amp;e.manuallyAnimateOnMount&amp;&amp;e.parent){const{parent:N}=e,T=Sl(N,k);if(N.enteringChildren&amp;&amp;T){const{delayChildren:R}=T.transition||{};S.delay=Nk(N.enteringChildren,e,R)}}return{animation:k,options:S}}))}if(h.size){const p={};if(typeof s.initial!=&quot;boolean&quot;){const b=Sl(e,Array.isArray(s.initial)?s.initial[0]:s.initial);b&amp;&amp;b.transition&amp;&amp;(p.transition=b.transition)}h.forEach(b=&gt;{const x=e.getBaseTarget(b),_=e.getValue(b);_&amp;&amp;(_.liveStyle=!0),p[b]=x??null}),m.push({animation:p})}let y=!!m.length;return n&amp;&amp;(s.initial===!1||s.initial===s.animate)&amp;&amp;!e.manuallyAnimateOnMount&amp;&amp;(y=!1),n=!1,y?r(m):Promise.resolve()}function u(l,s){if(t[l].isActive===s)return Promise.resolve();e.variantChildren?.forEach(m=&gt;m.animationState?.setActive(l,s)),t[l].isActive=s;const c=a(l);for(const m in t)t[m].protectedKeys={};return c}return{animateChanges:a,setActive:u,setAnimateFunction:i,getState:()=&gt;t,reset:()=&gt;{t=P_()}}}function dI(e,r){return typeof r==&quot;string&quot;?r!==e:Array.isArray(r)?!i8(r,e):!1}function ao(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function P_(){return{animate:ao(!0),whileInView:ao(),whileHover:ao(),whileTap:ao(),whileDrag:ao(),whileFocus:ao(),exit:ao()}}function I_(e,r){e.min=r.min,e.max=r.max}function qi(e,r){I_(e.x,r.x),I_(e.y,r.y)}function R_(e,r){e.translate=r.translate,e.scale=r.scale,e.originPoint=r.originPoint,e.origin=r.origin}const s8=1e-4,fI=1-s8,hI=1+s8,a8=.01,mI=0-a8,pI=0+a8;function Fn(e){return e.max-e.min}function gI(e,r,t){return Math.abs(e-r)&lt;=t}function D_(e,r,t,n=.5){e.origin=n,e.originPoint=Cr(r.min,r.max,e.origin),e.scale=Fn(t)/Fn(r),e.translate=Cr(t.min,t.max,e.origin)-e.originPoint,(e.scale&gt;=fI&amp;&amp;e.scale&lt;=hI||isNaN(e.scale))&amp;&amp;(e.scale=1),(e.translate&gt;=mI&amp;&amp;e.translate&lt;=pI||isNaN(e.translate))&amp;&amp;(e.translate=0)}function Wc(e,r,t,n){D_(e.x,r.x,t.x,n?n.originX:void 0),D_(e.y,r.y,t.y,n?n.originY:void 0)}function L_(e,r,t){e.min=t.min+r.min,e.max=e.min+Fn(r)}function vI(e,r,t){L_(e.x,r.x,t.x),L_(e.y,r.y,t.y)}function F_(e,r,t){e.min=r.min-t.min,e.max=e.min+Fn(r)}function Bf(e,r,t){F_(e.x,r.x,t.x),F_(e.y,r.y,t.y)}function B_(e,r,t,n,o){return e-=r,e=Ff(e,1/t,n),o!==void 0&amp;&amp;(e=Ff(e,1/o,n)),e}function yI(e,r=0,t=1,n=.5,o,i=e,a=e){if(vs.test(r)&amp;&amp;(r=parseFloat(r),r=Cr(a.min,a.max,r/100)-a.min),typeof r!=&quot;number&quot;)return;let u=Cr(i.min,i.max,n);e===i&amp;&amp;(u-=r),e.min=B_(e.min,r,t,u,o),e.max=B_(e.max,r,t,u,o)}function z_(e,r,[t,n,o],i,a){yI(e,r[t],r[n],r[o],r.scale,i,a)}const bI=[&quot;x&quot;,&quot;scaleX&quot;,&quot;originX&quot;],xI=[&quot;y&quot;,&quot;scaleY&quot;,&quot;originY&quot;];function $_(e,r,t,n){z_(e.x,r,bI,t?t.x:void 0,n?n.x:void 0),z_(e.y,r,xI,t?t.y:void 0,n?n.y:void 0)}function U_(e){return e.translate===0&amp;&amp;e.scale===1}function o8(e){return U_(e.x)&amp;&amp;U_(e.y)}function V_(e,r){return e.min===r.min&amp;&amp;e.max===r.max}function wI(e,r){return V_(e.x,r.x)&amp;&amp;V_(e.y,r.y)}function q_(e,r){return Math.round(e.min)===Math.round(r.min)&amp;&amp;Math.round(e.max)===Math.round(r.max)}function l8(e,r){return q_(e.x,r.x)&amp;&amp;q_(e.y,r.y)}function W_(e){return Fn(e.x)/Fn(e.y)}function H_(e,r){return e.translate===r.translate&amp;&amp;e.scale===r.scale&amp;&amp;e.originPoint===r.originPoint}function ki(e){return[e(&quot;x&quot;),e(&quot;y&quot;)]}function _I(e,r,t){let n=&quot;&quot;;const o=e.x.translate/r.x,i=e.y.translate/r.y,a=t?.z||0;if((o||i||a)&amp;&amp;(n=`translate3d(${o}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:m,rotateY:h,skewX:d,skewY:g}=t;s&amp;&amp;(n=`perspective(${s}px) ${n}`),c&amp;&amp;(n+=`rotate(${c}deg) `),m&amp;&amp;(n+=`rotateX(${m}deg) `),h&amp;&amp;(n+=`rotateY(${h}deg) `),d&amp;&amp;(n+=`skewX(${d}deg) `),g&amp;&amp;(n+=`skewY(${g}deg) `)}const u=e.x.scale*r.x,l=e.y.scale*r.y;return(u!==1||l!==1)&amp;&amp;(n+=`scale(${u}, ${l})`),n||&quot;none&quot;}const c8=[&quot;TopLeft&quot;,&quot;TopRight&quot;,&quot;BottomLeft&quot;,&quot;BottomRight&quot;],jI=c8.length,K_=e=&gt;typeof e==&quot;string&quot;?parseFloat(e):e,X_=e=&gt;typeof e==&quot;number&quot;||st.test(e);function SI(e,r,t,n,o,i){o?(e.opacity=Cr(0,t.opacity??1,kI(n)),e.opacityExit=Cr(r.opacity??1,0,NI(n))):i&amp;&amp;(e.opacity=Cr(r.opacity??1,t.opacity??1,n));for(let a=0;a&lt;jI;a++){const u=`border${c8[a]}Radius`;let l=G_(r,u),s=G_(t,u);if(l===void 0&amp;&amp;s===void 0)continue;l||(l=0),s||(s=0),l===0||s===0||X_(l)===X_(s)?(e[u]=Math.max(Cr(K_(l),K_(s),n),0),(vs.test(s)||vs.test(l))&amp;&amp;(e[u]+=&quot;%&quot;)):e[u]=s}(r.rotate||t.rotate)&amp;&amp;(e.rotate=Cr(r.rotate||0,t.rotate||0,n))}function G_(e,r){return e[r]!==void 0?e[r]:e.borderRadius}const kI=u8(0,.5,nk),NI=u8(.5,.95,Ai);function u8(e,r,t){return n=&gt;n&lt;e?0:n&gt;r?1:t(Yc(e,r,n))}function CI(e,r,t){const n=Mn(e)?e:Cl(e);return n.start(Ib(&quot;&quot;,n,r,t)),n.animation}function eu(e,r,t,n={passive:!0}){return e.addEventListener(r,t,n),()=&gt;e.removeEventListener(r,t)}const EI=(e,r)=&gt;e.depth-r.depth;class AI{constructor(){this.children=[],this.isDirty=!1}add(r){vb(this.children,r),this.isDirty=!0}remove(r){yb(this.children,r),this.isDirty=!0}forEach(r){this.isDirty&amp;&amp;this.children.sort(EI),this.isDirty=!1,this.children.forEach(r)}}function MI(e,r){const t=Ln.now(),n=({timestamp:o})=&gt;{const i=o-t;i&gt;=r&amp;&amp;(Ta(n),e(i-r))};return yr.setup(n,!0),()=&gt;Ta(n)}function wf(e){return Mn(e)?e.get():e}class OI{constructor(){this.members=[]}add(r){vb(this.members,r),r.scheduleRender()}remove(r){if(yb(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(o=&gt;r===o);if(t===0)return!1;let n;for(let o=t;o&gt;=0;o--){const i=this.members[o];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:o}=r.options;o===!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 _f={hasAnimatedSinceResize:!0,hasEverUpdated:!1},A0=[&quot;&quot;,&quot;X&quot;,&quot;Y&quot;,&quot;Z&quot;],TI=1e3;let PI=0;function M0(e,r,t,n){const{latestValues:o}=r;o[e]&amp;&amp;(t[e]=o[e],r.setStaticValue(e,0),n&amp;&amp;(n[e]=0))}function d8(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:r}=e.options;if(!r)return;const t=Mk(r);if(window.MotionHasOptimisedAnimation(t,&quot;transform&quot;)){const{layout:o,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(t,&quot;transform&quot;,yr,!(o||i))}const{parent:n}=e;n&amp;&amp;!n.hasCheckedOptimisedAppear&amp;&amp;d8(n)}function f8({attachResizeListener:e,defaultParent:r,measureScroll:t,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(a={},u=r?.()){this.id=PI++,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(DI),this.nodes.forEach(zI),this.nodes.forEach($I),this.nodes.forEach(LI)},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 l=0;l&lt;this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&amp;&amp;(this.nodes=new AI)}addEventListener(a,u){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new wb),this.eventHandlers.get(a).add(u)}notifyListeners(a,...u){const l=this.eventHandlers.get(a);l&amp;&amp;l.notify(...u)}hasListeners(a){return this.eventHandlers.has(a)}mount(a){if(this.instance)return;this.isSVG=Uk(a)&amp;&amp;!RP(a),this.instance=a;const{layoutId:u,layout:l,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;(l||u)&amp;&amp;(this.isLayoutDirty=!0),e){let c,m=0;const h=()=&gt;this.root.updateBlockedByResize=!1;yr.read(()=&gt;{m=window.innerWidth}),e(a,()=&gt;{const d=window.innerWidth;d!==m&amp;&amp;(m=d,this.root.updateBlockedByResize=!0,c&amp;&amp;c(),c=MI(h,250),_f.hasAnimatedSinceResize&amp;&amp;(_f.hasAnimatedSinceResize=!1,this.nodes.forEach(Q_)))})}u&amp;&amp;this.root.registerSharedNode(u,this),this.options.animate!==!1&amp;&amp;s&amp;&amp;(u||l)&amp;&amp;this.addEventListener(&quot;didUpdate&quot;,({delta:c,hasLayoutChanged:m,hasRelativeLayoutChanged:h,layout:d})=&gt;{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||s.getDefaultTransition()||HI,{onLayoutAnimationStart:y,onLayoutAnimationComplete:p}=s.getProps(),b=!this.targetLayout||!l8(this.targetLayout,d),x=!m&amp;&amp;h;if(this.options.layoutRoot||this.resumeFrom||x||m&amp;&amp;(b||!this.currentAnimation)){this.resumeFrom&amp;&amp;(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const _={...Pb(g,&quot;layout&quot;),onPlay:y,onComplete:p};(s.shouldReduceMotion||this.options.layoutRoot)&amp;&amp;(_.delay=0,_.type=!1),this.startAnimation(_),this.setAnimationOrigin(c,x)}else m||Q_(this),this.isLead()&amp;&amp;this.options.onExitComplete&amp;&amp;this.options.onExitComplete();this.targetLayout=d})}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(),Ta(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(UI),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;d8(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 m=this.path[c];m.shouldResetTransform=!0,m.updateScroll(&quot;snapshot&quot;),m.options.layoutRoot&amp;&amp;m.willUpdate(!1)}const{layoutId:u,layout:l}=this.options;if(u===void 0&amp;&amp;!l)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(Y_);return}if(this.animationId&lt;=this.animationCommitId){this.nodes.forEach(Z_);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(BI),this.nodes.forEach(II),this.nodes.forEach(RI)):this.nodes.forEach(Z_),this.clearAllSnapshots();const u=Ln.now();vn.delta=bs(0,1e3/60,u-vn.timestamp),vn.timestamp=u,vn.isProcessing=!0,w0.update.process(vn),w0.preRender.process(vn),w0.render.process(vn),vn.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Fb.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(FI),this.sharedNodes.forEach(VI)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,yr.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){yr.postRender(()=&gt;{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&amp;&amp;!Fn(this.snapshot.measuredBox.x)&amp;&amp;!Fn(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 l=0;l&lt;this.path.length;l++)this.path[l].updateScroll();const a=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Hr(),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 l=n(this.instance);this.scroll={animationId:this.root.animationId,phase:a,isRoot:l,offset:t(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!o)return;const a=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,u=this.projectionDelta&amp;&amp;!o8(this.projectionDelta),l=this.getTransformTemplate(),s=l?l(this.latestValues,&quot;&quot;):void 0,c=s!==this.prevTransformTemplateValue;a&amp;&amp;this.instance&amp;&amp;(u||lo(this.latestValues)||c)&amp;&amp;(o(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const u=this.measurePageBox();let l=this.removeElementScroll(u);return a&amp;&amp;(l=this.removeTransform(l)),KI(l),{animationId:this.root.animationId,measuredBox:u,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:a}=this.options;if(!a)return Hr();const u=a.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(XI))){const{scroll:s}=this.root;s&amp;&amp;(xl(u.x,s.offset.x),xl(u.y,s.offset.y))}return u}removeElementScroll(a){const u=Hr();if(qi(u,a),this.scroll?.wasRoot)return u;for(let l=0;l&lt;this.path.length;l++){const s=this.path[l],{scroll:c,options:m}=s;s!==this.root&amp;&amp;c&amp;&amp;m.layoutScroll&amp;&amp;(c.wasRoot&amp;&amp;qi(u,a),xl(u.x,c.offset.x),xl(u.y,c.offset.y))}return u}applyTransform(a,u=!1){const l=Hr();qi(l,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;wl(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),lo(c.latestValues)&amp;&amp;wl(l,c.latestValues)}return lo(this.latestValues)&amp;&amp;wl(l,this.latestValues),l}removeTransform(a){const u=Hr();qi(u,a);for(let l=0;l&lt;this.path.length;l++){const s=this.path[l];if(!s.instance||!lo(s.latestValues))continue;Kv(s.latestValues)&amp;&amp;s.updateSnapshot();const c=Hr(),m=s.measurePageBox();qi(c,m),$_(u,s.latestValues,s.snapshot?s.snapshot.layoutBox:void 0,c)}return lo(this.latestValues)&amp;&amp;$_(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!==vn.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 l=!!this.resumingFrom||this!==u;if(!(a||l&amp;&amp;this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:c,layoutId:m}=this.options;if(!this.layout||!(c||m))return;this.resolvedRelativeTargetAt=vn.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=Hr(),this.targetWithTransforms=Hr()),this.relativeTarget&amp;&amp;this.relativeTargetOrigin&amp;&amp;this.relativeParent&amp;&amp;this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),vI(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):qi(this.target,this.layout.layoutBox),Gk(this.target,this.targetDelta)):qi(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||Kv(this.parent.latestValues)||Xk(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,l){this.relativeParent=a,this.linkedParentVersion=a.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Hr(),this.relativeTargetOrigin=Hr(),Bf(this.relativeTargetOrigin,u,l),qi(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const a=this.getLead(),u=!!this.resumingFrom||this!==a;let l=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&amp;&amp;(l=!1),u&amp;&amp;(this.isSharedProjectionDirty||this.isTransformDirty)&amp;&amp;(l=!1),this.resolvedRelativeTargetAt===vn.timestamp&amp;&amp;(l=!1),l)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;qi(this.layoutCorrected,this.layout.layoutBox);const m=this.treeScale.x,h=this.treeScale.y;HP(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=Hr());const{target:d}=a;if(!d){this.prevProjectionDelta&amp;&amp;(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(R_(this.prevProjectionDelta.x,this.projectionDelta.x),R_(this.prevProjectionDelta.y,this.projectionDelta.y)),Wc(this.projectionDelta,this.layoutCorrected,d,this.latestValues),(this.treeScale.x!==m||this.treeScale.y!==h||!H_(this.projectionDelta.x,this.prevProjectionDelta.x)||!H_(this.projectionDelta.y,this.prevProjectionDelta.y))&amp;&amp;(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(&quot;projectionUpdate&quot;,d))}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=bl(),this.projectionDelta=bl(),this.projectionDeltaWithTransform=bl()}setAnimationOrigin(a,u=!1){const l=this.snapshot,s=l?l.latestValues:{},c={...this.latestValues},m=bl();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&amp;&amp;(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!u;const h=Hr(),d=l?l.source:void 0,g=this.layout?this.layout.source:void 0,y=d!==g,p=this.getStack(),b=!p||p.members.length&lt;=1,x=!!(y&amp;&amp;!b&amp;&amp;this.options.crossfade===!0&amp;&amp;!this.path.some(WI));this.animationProgress=0;let _;this.mixTargetDelta=E=&gt;{const M=E/1e3;J_(m.x,a.x,M),J_(m.y,a.y,M),this.setTargetDelta(m),this.relativeTarget&amp;&amp;this.relativeTargetOrigin&amp;&amp;this.layout&amp;&amp;this.relativeParent&amp;&amp;this.relativeParent.layout&amp;&amp;(Bf(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),qI(this.relativeTarget,this.relativeTargetOrigin,h,M),_&amp;&amp;wI(this.relativeTarget,_)&amp;&amp;(this.isProjectionDirty=!1),_||(_=Hr()),qi(_,this.relativeTarget)),y&amp;&amp;(this.animationValues=c,SI(c,s,this.latestValues,M,x,b)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=M},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;(Ta(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=yr.update(()=&gt;{_f.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Cl(0)),this.currentAnimation=CI(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(TI),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:u,target:l,layout:s,latestValues:c}=a;if(!(!u||!l||!s)){if(this!==a&amp;&amp;this.layout&amp;&amp;s&amp;&amp;h8(this.options.animationType,this.layout.layoutBox,s.layoutBox)){l=this.target||Hr();const m=Fn(this.layout.layoutBox.x);l.x.min=a.target.x.min,l.x.max=l.x.min+m;const h=Fn(this.layout.layoutBox.y);l.y.min=a.target.y.min,l.y.max=l.y.min+h}qi(u,l),wl(u,c),Wc(this.projectionDeltaWithTransform,this.layoutCorrected,u,c)}}registerSharedNode(a,u){this.sharedNodes.has(a)||this.sharedNodes.set(a,new OI),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:l}={}){const s=this.getStack();s&amp;&amp;s.promote(this,l),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:l}=a;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&amp;&amp;(u=!0),!u)return;const s={};l.z&amp;&amp;M0(&quot;z&quot;,a,s,this.animationValues);for(let c=0;c&lt;A0.length;c++)M0(`rotate${A0[c]}`,a,s,this.animationValues),M0(`skew${A0[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 l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,a.visibility=&quot;&quot;,a.opacity=&quot;&quot;,a.pointerEvents=wf(u?.pointerEvents)||&quot;&quot;,a.transform=l?l(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=wf(u?.pointerEvents)||&quot;&quot;),this.hasProjected&amp;&amp;!lo(this.latestValues)&amp;&amp;(a.transform=l?l({},&quot;&quot;):&quot;none&quot;,this.hasProjected=!1);return}a.visibility=&quot;&quot;;const c=s.animationValues||s.latestValues;this.applyTransformsToTarget();let m=_I(this.projectionDeltaWithTransform,this.treeScale,c);l&amp;&amp;(m=l(c,m)),a.transform=m;const{x:h,y:d}=this.projectionDelta;a.transformOrigin=`${h.origin*100}% ${d.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 g in Gv){if(c[g]===void 0)continue;const{correct:y,applyTo:p,isCSSVariable:b}=Gv[g],x=m===&quot;none&quot;?c[g]:y(c[g],s);if(p){const _=p.length;for(let E=0;E&lt;_;E++)a[p[E]]=x}else b?this.options.visualElement.renderState.vars[g]=x:a[g]=x}this.options.layoutId&amp;&amp;(a.pointerEvents=s===this?wf(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(Y_),this.root.sharedNodes.clear()}}}function II(e){e.updateLayout()}function RI(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:o}=e.options,i=r.source!==e.layout.source;o===&quot;size&quot;?ki(c=&gt;{const m=i?r.measuredBox[c]:r.layoutBox[c],h=Fn(m);m.min=t[c].min,m.max=m.min+h}):h8(o,r.layoutBox,t)&amp;&amp;ki(c=&gt;{const m=i?r.measuredBox[c]:r.layoutBox[c],h=Fn(t[c]);m.max=m.min+h,e.relativeTarget&amp;&amp;!e.currentAnimation&amp;&amp;(e.isProjectionDirty=!0,e.relativeTarget[c].max=e.relativeTarget[c].min+h)});const a=bl();Wc(a,t,r.layoutBox);const u=bl();i?Wc(u,e.applyTransform(n,!0),r.measuredBox):Wc(u,t,r.layoutBox);const l=!o8(a);let s=!1;if(!e.resumeFrom){const c=e.getClosestProjectingParent();if(c&amp;&amp;!c.resumeFrom){const{snapshot:m,layout:h}=c;if(m&amp;&amp;h){const d=Hr();Bf(d,r.layoutBox,m.layoutBox);const g=Hr();Bf(g,t,h.layoutBox),l8(d,g)||(s=!0),c.options.layoutRoot&amp;&amp;(e.relativeTarget=g,e.relativeTargetOrigin=d,e.relativeParent=c)}}}e.notifyListeners(&quot;didUpdate&quot;,{layout:t,snapshot:r,delta:u,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:s})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&amp;&amp;t()}e.options.transition=void 0}function DI(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 LI(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function FI(e){e.clearSnapshot()}function Y_(e){e.clearMeasurements()}function Z_(e){e.isLayoutDirty=!1}function BI(e){const{visualElement:r}=e.options;r&amp;&amp;r.getProps().onBeforeLayoutMeasure&amp;&amp;r.notify(&quot;BeforeLayoutMeasure&quot;),e.resetTransform()}function Q_(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function zI(e){e.resolveTargetDelta()}function $I(e){e.calcProjection()}function UI(e){e.resetSkewAndRotation()}function VI(e){e.removeLeadSnapshot()}function J_(e,r,t){e.translate=Cr(r.translate,0,t),e.scale=Cr(r.scale,1,t),e.origin=r.origin,e.originPoint=r.originPoint}function e3(e,r,t,n){e.min=Cr(r.min,t.min,n),e.max=Cr(r.max,t.max,n)}function qI(e,r,t,n){e3(e.x,r.x,t.x,n),e3(e.y,r.y,t.y,n)}function WI(e){return e.animationValues&amp;&amp;e.animationValues.opacityExit!==void 0}const HI={duration:.45,ease:[.4,0,.1,1]},t3=e=&gt;typeof navigator&lt;&quot;u&quot;&amp;&amp;navigator.userAgent&amp;&amp;navigator.userAgent.toLowerCase().includes(e),r3=t3(&quot;applewebkit/&quot;)&amp;&amp;!t3(&quot;chrome/&quot;)?Math.round:Ai;function n3(e){e.min=r3(e.min),e.max=r3(e.max)}function KI(e){n3(e.x),n3(e.y)}function h8(e,r,t){return e===&quot;position&quot;||e===&quot;preserve-aspect&quot;&amp;&amp;!gI(W_(r),W_(t),.2)}function XI(e){return e!==e.root&amp;&amp;e.scroll?.wasRoot}const GI=f8({attachResizeListener:(e,r)=&gt;eu(e,&quot;resize&quot;,r),measureScroll:()=&gt;({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=&gt;!0}),O0={current:void 0},m8=f8({measureScroll:e=&gt;({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=&gt;{if(!O0.current){const e=new GI({});e.mount(window),e.setOptions({layoutScroll:!0}),O0.current=e}return O0.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;}),qb=q.createContext({transformPagePoint:e=&gt;e,isStatic:!1,reducedMotion:&quot;never&quot;});function i3(e,r){if(typeof e==&quot;function&quot;)return e(r);e!=null&amp;&amp;(e.current=r)}function YI(...e){return r=&gt;{let t=!1;const n=e.map(o=&gt;{const i=i3(o,r);return!t&amp;&amp;typeof i==&quot;function&quot;&amp;&amp;(t=!0),i});if(t)return()=&gt;{for(let o=0;o&lt;n.length;o++){const i=n[o];typeof i==&quot;function&quot;?i():i3(e[o],null)}}}}function ZI(...e){return q.useCallback(YI(...e),e)}class QI extends q.Component{getSnapshotBeforeUpdate(r){const t=this.props.childRef.current;if(t&amp;&amp;r.isPresent&amp;&amp;!this.props.isPresent){const n=t.offsetParent,o=Lk(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=o-i.width-i.left}return null}componentDidUpdate(){}render(){return this.props.children}}function JI({children:e,isPresent:r,anchorX:t,root:n}){const o=q.useId(),i=q.useRef(null),a=q.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:u}=q.useContext(qb),l=e.props?.ref??e?.ref,s=ZI(i,l);return q.useInsertionEffect(()=&gt;{const{width:c,height:m,top:h,left:d,right:g}=a.current;if(r||!i.current||!c||!m)return;const y=t===&quot;left&quot;?`left: ${d}`:`right: ${g}`;i.current.dataset.motionPopId=o;const p=document.createElement(&quot;style&quot;);u&amp;&amp;(p.nonce=u);const b=n??document.head;return b.appendChild(p),p.sheet&amp;&amp;p.sheet.insertRule(`
          [data-motion-pop-id=&quot;${o}&quot;] {
            position: absolute !important;
            width: ${c}px !important;
            height: ${m}px !important;
            ${y}px !important;
            top: ${h}px !important;
          }
        `),()=&gt;{b.contains(p)&amp;&amp;b.removeChild(p)}},[r]),f.jsx(QI,{isPresent:r,childRef:i,sizeRef:a,children:q.cloneElement(e,{ref:s})})}const eR=({children:e,initial:r,isPresent:t,onExitComplete:n,custom:o,presenceAffectsLayout:i,mode:a,anchorX:u,root:l})=&gt;{const s=gb(tR),c=q.useId();let m=!0,h=q.useMemo(()=&gt;(m=!1,{id:c,initial:r,isPresent:t,custom:o,onExitComplete:d=&gt;{s.set(d,!0);for(const g of s.values())if(!g)return;n&amp;&amp;n()},register:d=&gt;(s.set(d,!1),()=&gt;s.delete(d))}),[t,s,n]);return i&amp;&amp;m&amp;&amp;(h={...h}),q.useMemo(()=&gt;{s.forEach((d,g)=&gt;s.set(g,!1))},[t]),q.useEffect(()=&gt;{!t&amp;&amp;!s.size&amp;&amp;n&amp;&amp;n()},[t]),a===&quot;popLayout&quot;&amp;&amp;(e=f.jsx(JI,{isPresent:t,anchorX:u,root:l,children:e})),f.jsx(Vh.Provider,{value:h,children:e})};function tR(){return new Map}function p8(e=!0){const r=q.useContext(Vh);if(r===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:o}=r,i=q.useId();q.useEffect(()=&gt;{if(e)return o(i)},[e]);const a=q.useCallback(()=&gt;e&amp;&amp;n&amp;&amp;n(i),[i,n,e]);return!t&amp;&amp;n?[!1,a]:[!0]}const Xd=e=&gt;e.key||&quot;&quot;;function s3(e){const r=[];return q.Children.forEach(e,t=&gt;{q.isValidElement(t)&amp;&amp;r.push(t)}),r}const rR=({children:e,custom:r,initial:t=!0,onExitComplete:n,presenceAffectsLayout:o=!0,mode:i=&quot;sync&quot;,propagate:a=!1,anchorX:u=&quot;left&quot;,root:l})=&gt;{const[s,c]=p8(a),m=q.useMemo(()=&gt;s3(e),[e]),h=a&amp;&amp;!s?[]:m.map(Xd),d=q.useRef(!0),g=q.useRef(m),y=gb(()=&gt;new Map),p=q.useRef(new Set),[b,x]=q.useState(m),[_,E]=q.useState(m);HS(()=&gt;{d.current=!1,g.current=m;for(let W=0;W&lt;_.length;W++){const L=Xd(_[W]);h.includes(L)?(y.delete(L),p.current.delete(L)):y.get(L)!==!0&amp;&amp;y.set(L,!1)}},[_,h.length,h.join(&quot;-&quot;)]);const M=[];if(m!==b){let W=[...m];for(let L=0;L&lt;_.length;L++){const V=_[L],H=Xd(V);h.includes(H)||(W.splice(L,0,V),M.push(V))}return i===&quot;wait&quot;&amp;&amp;M.length&amp;&amp;(W=M),E(s3(W)),x(m),null}const{forceRender:D}=q.useContext(pb);return f.jsx(f.Fragment,{children:_.map(W=&gt;{const L=Xd(W),V=a&amp;&amp;!s?!1:m===_||h.includes(L),H=()=&gt;{if(p.current.has(L))return;if(p.current.add(L),y.has(L))y.set(L,!0);else return;let K=!0;y.forEach(z=&gt;{z||(K=!1)}),K&amp;&amp;(D?.(),E(g.current),a&amp;&amp;c?.(),n&amp;&amp;n())};return f.jsx(eR,{isPresent:V,initial:!d.current||t?void 0:!1,custom:r,presenceAffectsLayout:o,mode:i,root:l,onExitComplete:V?void 0:H,anchorX:u,children:W},L)})})},g8=q.createContext({strict:!1}),a3={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 o3=!1;function nR(){if(o3)return;const e={};for(const r in a3)e[r]={isEnabled:t=&gt;a3[r].some(n=&gt;!!t[n])};Wk(e),o3=!0}function v8(){return nR(),UP()}function iR(e){const r=v8();for(const t in e)r[t]={...r[t],...e[t]};Wk(r)}const sR=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 zf(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;)||sR.has(e)}let y8=e=&gt;!zf(e);function aR(e){typeof e==&quot;function&quot;&amp;&amp;(y8=r=&gt;r.startsWith(&quot;on&quot;)?!zf(r):e(r))}try{aR(require(&quot;@emotion/is-prop-valid&quot;).default)}catch{}function oR(e,r,t){const n={};for(const o in e)o===&quot;values&quot;&amp;&amp;typeof e.values==&quot;object&quot;||(y8(o)||t===!0&amp;&amp;zf(o)||!r&amp;&amp;!zf(o)||e.draggable&amp;&amp;o.startsWith(&quot;onDrag&quot;))&amp;&amp;(n[o]=e[o]);return n}const Hh=q.createContext({});function lR(e,r){if(Wh(e)){const{initial:t,animate:n}=e;return{initial:t===!1||Jc(t)?t:void 0,animate:Jc(n)?n:void 0}}return e.inherit!==!1?r:{}}function cR(e){const{initial:r,animate:t}=lR(e,q.useContext(Hh));return q.useMemo(()=&gt;({initial:r,animate:t}),[l3(r),l3(t)])}function l3(e){return Array.isArray(e)?e.join(&quot; &quot;):e}const Wb=()=&gt;({style:{},transform:{},transformOrigin:{},vars:{}});function b8(e,r,t){for(const n in r)!Mn(r[n])&amp;&amp;!Qk(n,t)&amp;&amp;(e[n]=r[n])}function uR({transformTemplate:e},r){return q.useMemo(()=&gt;{const t=Wb();return Ub(t,r,e),Object.assign({},t.vars,t.style)},[r])}function dR(e,r){const t=e.style||{},n={};return b8(n,t,e),Object.assign(n,uR(e,r)),n}function fR(e,r){const t={},n=dR(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 x8=()=&gt;({...Wb(),attrs:{}});function hR(e,r,t,n){const o=q.useMemo(()=&gt;{const i=x8();return Jk(i,r,t8(n),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[r]);if(e.style){const i={};b8(i,e.style,e),o.style={...i,...o.style}}return o}const mR=[&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 Hb(e){return typeof e!=&quot;string&quot;||e.includes(&quot;-&quot;)?!1:!!(mR.indexOf(e)&gt;-1||/[A-Z]/u.test(e))}function pR(e,r,t,{latestValues:n},o,i=!1,a){const l=(a??Hb(e)?hR:fR)(r,n,o,e),s=oR(r,typeof e==&quot;string&quot;,i),c=e!==q.Fragment?{...s,...l,ref:t}:{},{children:m}=r,h=q.useMemo(()=&gt;Mn(m)?m.get():m,[m]);return q.createElement(e,{...c,children:h})}function gR({scrapeMotionValuesFromProps:e,createRenderState:r},t,n,o){return{latestValues:vR(t,n,o,e),renderState:r()}}function vR(e,r,t,n){const o={},i=n(e,{});for(const h in i)o[h]=wf(i[h]);let{initial:a,animate:u}=e;const l=Wh(e),s=qk(e);r&amp;&amp;s&amp;&amp;!l&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 m=c?u:a;if(m&amp;&amp;typeof m!=&quot;boolean&quot;&amp;&amp;!qh(m)){const h=Array.isArray(m)?m:[m];for(let d=0;d&lt;h.length;d++){const g=Rb(e,h[d]);if(g){const{transitionEnd:y,transition:p,...b}=g;for(const x in b){let _=b[x];if(Array.isArray(_)){const E=c?_.length-1:0;_=_[E]}_!==null&amp;&amp;(o[x]=_)}for(const x in y)o[x]=y[x]}}}return o}const w8=e=&gt;(r,t)=&gt;{const n=q.useContext(Hh),o=q.useContext(Vh),i=()=&gt;gR(e,r,n,o);return t?i():gb(i)},yR=w8({scrapeMotionValuesFromProps:Vb,createRenderState:Wb}),bR=w8({scrapeMotionValuesFromProps:r8,createRenderState:x8}),xR=Symbol.for(&quot;motionComponentSymbol&quot;);function wR(e,r,t){const n=q.useRef(t);q.useInsertionEffect(()=&gt;{n.current=t});const o=q.useRef(null);return q.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;(o.current=u)}else o.current?(o.current(),o.current=null):a(i);else a&amp;&amp;(a.current=i)},[r])}const _8=q.createContext({});function Bc(e){return e&amp;&amp;typeof e==&quot;object&quot;&amp;&amp;Object.prototype.hasOwnProperty.call(e,&quot;current&quot;)}function _R(e,r,t,n,o,i){const{visualElement:a}=q.useContext(Hh),u=q.useContext(g8),l=q.useContext(Vh),s=q.useContext(qb).reducedMotion,c=q.useRef(null);n=n||u.renderer,!c.current&amp;&amp;n&amp;&amp;(c.current=n(e,{visualState:r,parent:a,props:t,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:s,isSVG:i}));const m=c.current,h=q.useContext(_8);m&amp;&amp;!m.projection&amp;&amp;o&amp;&amp;(m.type===&quot;html&quot;||m.type===&quot;svg&quot;)&amp;&amp;jR(c.current,t,o,h);const d=q.useRef(!1);q.useInsertionEffect(()=&gt;{m&amp;&amp;d.current&amp;&amp;m.update(t,l)});const g=t[Ak],y=q.useRef(!!g&amp;&amp;!window.MotionHandoffIsComplete?.(g)&amp;&amp;window.MotionHasOptimisedAnimation?.(g));return HS(()=&gt;{m&amp;&amp;(d.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),y.current&amp;&amp;m.animationState&amp;&amp;m.animationState.animateChanges())}),q.useEffect(()=&gt;{m&amp;&amp;(!y.current&amp;&amp;m.animationState&amp;&amp;m.animationState.animateChanges(),y.current&amp;&amp;(queueMicrotask(()=&gt;{window.MotionHandoffMarkAsComplete?.(g)}),y.current=!1),m.enteringChildren=void 0)}),m}function jR(e,r,t,n){const{layoutId:o,layout:i,drag:a,dragConstraints:u,layoutScroll:l,layoutRoot:s,layoutCrossfade:c}=r;e.projection=new t(e.latestValues,r[&quot;data-framer-portal-id&quot;]?void 0:j8(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!a||u&amp;&amp;Bc(u),visualElement:e,animationType:typeof i==&quot;string&quot;?i:&quot;both&quot;,initialPromotionConfig:n,crossfade:c,layoutScroll:l,layoutRoot:s})}function j8(e){if(e)return e.options.allowProjection!==!1?e.projection:j8(e.parent)}function T0(e,{forwardMotionProps:r=!1,type:t}={},n,o){n&amp;&amp;iR(n);const i=t?t===&quot;svg&quot;:Hb(e),a=i?bR:yR;function u(s,c){let m;const h={...q.useContext(qb),...s,layoutId:SR(s)},{isStatic:d}=h,g=cR(s),y=a(s,d);if(!d&amp;&amp;WS){kR();const p=NR(h);m=p.MeasureLayout,g.visualElement=_R(e,y,h,o,p.ProjectionNode,i)}return f.jsxs(Hh.Provider,{value:g,children:[m&amp;&amp;g.visualElement?f.jsx(m,{visualElement:g.visualElement,...h}):null,pR(e,s,wR(y,g.visualElement,c),y,d,r,i)]})}u.displayName=`motion.${typeof e==&quot;string&quot;?e:`create(${e.displayName??e.name??&quot;&quot;})`}`;const l=q.forwardRef(u);return l[xR]=e,l}function SR({layoutId:e}){const r=q.useContext(pb).id;return r&amp;&amp;e!==void 0?r+&quot;-&quot;+e:e}function kR(e,r){q.useContext(g8).strict}function NR(e){const r=v8(),{drag:t,layout:n}=r;if(!t&amp;&amp;!n)return{};const o={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function CR(e,r){if(typeof Proxy&gt;&quot;u&quot;)return T0;const t=new Map,n=(i,a)=&gt;T0(i,a,e,r),o=(i,a)=&gt;n(i,a);return new Proxy(o,{get:(i,a)=&gt;a===&quot;create&quot;?n:(t.has(a)||t.set(a,T0(a,void 0,e,r)),t.get(a))})}const ER=(e,r)=&gt;r.isSVG??Hb(e)?new sI(r):new JP(r,{allowProjection:e!==q.Fragment});class AR extends Ba{constructor(r){super(r),r.animationState||(r.animationState=uI(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();qh(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 MR=0;class OR extends Ba{constructor(){super(...arguments),this.id=MR++}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 o=this.node.animationState.setActive(&quot;exit&quot;,!r);t&amp;&amp;!r&amp;&amp;o.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 TR={animation:{Feature:AR},exit:{Feature:OR}};function Su(e){return{point:{x:e.pageX,y:e.pageY}}}const PR=e=&gt;r=&gt;Bb(r)&amp;&amp;e(r,Su(r));function Hc(e,r,t,n){return eu(e,r,PR(t),n)}const S8=({current:e})=&gt;e?e.ownerDocument.defaultView:null,c3=(e,r)=&gt;Math.abs(e-r);function IR(e,r){const t=c3(e.x,r.x),n=c3(e.y,r.y);return Math.sqrt(t**2+n**2)}const u3=new Set([&quot;auto&quot;,&quot;scroll&quot;]);class k8{constructor(r,t,{transformPagePoint:n,contextWindow:o=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=d=&gt;{this.handleScroll(d.target)},this.onWindowScroll=()=&gt;{this.handleScroll(window)},this.updatePoint=()=&gt;{if(!(this.lastMoveEvent&amp;&amp;this.lastMoveEventInfo))return;const d=I0(this.lastMoveEventInfo,this.history),g=this.startEvent!==null,y=IR(d.offset,{x:0,y:0})&gt;=this.distanceThreshold;if(!g&amp;&amp;!y)return;const{point:p}=d,{timestamp:b}=vn;this.history.push({...p,timestamp:b});const{onStart:x,onMove:_}=this.handlers;g||(x&amp;&amp;x(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),_&amp;&amp;_(this.lastMoveEvent,d)},this.handlePointerMove=(d,g)=&gt;{this.lastMoveEvent=d,this.lastMoveEventInfo=P0(g,this.transformPagePoint),yr.update(this.updatePoint,!0)},this.handlePointerUp=(d,g)=&gt;{this.end();const{onEnd:y,onSessionEnd:p,resumeAnimation:b}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&amp;&amp;b&amp;&amp;b(),!(this.lastMoveEvent&amp;&amp;this.lastMoveEventInfo))return;const x=I0(d.type===&quot;pointercancel&quot;?this.lastMoveEventInfo:P0(g,this.transformPagePoint),this.history);this.startEvent&amp;&amp;y&amp;&amp;y(d,x),p&amp;&amp;p(d,x)},!Bb(r))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=o||window;const l=Su(r),s=P0(l,this.transformPagePoint),{point:c}=s,{timestamp:m}=vn;this.history=[{...c,timestamp:m}];const{onSessionStart:h}=t;h&amp;&amp;h(r,I0(s,this.history)),this.removeListeners=wu(Hc(this.contextWindow,&quot;pointermove&quot;,this.handlePointerMove),Hc(this.contextWindow,&quot;pointerup&quot;,this.handlePointerUp),Hc(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);(u3.has(n.overflowX)||u3.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,o=n?{x:window.scrollX,y:window.scrollY}:{x:r.scrollLeft,y:r.scrollTop},i={x:o.x-t.x,y:o.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,o),yr.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(),Ta(this.updatePoint)}}function P0(e,r){return r?{point:r(e.point)}:e}function d3(e,r){return{x:e.x-r.x,y:e.y-r.y}}function I0({point:e},r){return{point:e,delta:d3(e,N8(r)),offset:d3(e,RR(r)),velocity:DR(r,.1)}}function RR(e){return e[0]}function N8(e){return e[e.length-1]}function DR(e,r){if(e.length&lt;2)return{x:0,y:0};let t=e.length-1,n=null;const o=N8(e);for(;t&gt;=0&amp;&amp;(n=e[t],!(o.timestamp-n.timestamp&gt;zs(r)));)t--;if(!n)return{x:0,y:0};const i=Ci(o.timestamp-n.timestamp);if(i===0)return{x:0,y:0};const a={x:(o.x-n.x)/i,y:(o.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 LR(e,{min:r,max:t},n){return r!==void 0&amp;&amp;e&lt;r?e=n?Cr(r,e,n.min):Math.max(e,r):t!==void 0&amp;&amp;e&gt;t&amp;&amp;(e=n?Cr(t,e,n.max):Math.min(e,t)),e}function f3(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 FR(e,{top:r,left:t,bottom:n,right:o}){return{x:f3(e.x,t,o),y:f3(e.y,r,n)}}function h3(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 BR(e,r){return{x:h3(e.x,r.x),y:h3(e.y,r.y)}}function zR(e,r){let t=.5;const n=Fn(e),o=Fn(r);return o&gt;n?t=Yc(r.min,r.max-n,e.min):n&gt;o&amp;&amp;(t=Yc(e.min,e.max-o,r.min)),bs(0,1,t)}function $R(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 Yv=.35;function UR(e=Yv){return e===!1?e=0:e===!0&amp;&amp;(e=Yv),{x:m3(e,&quot;left&quot;,&quot;right&quot;),y:m3(e,&quot;top&quot;,&quot;bottom&quot;)}}function m3(e,r,t){return{min:p3(e,r),max:p3(e,t)}}function p3(e,r){return typeof e==&quot;number&quot;?e:e[r]||0}const VR=new WeakMap;class qR{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=Hr(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=r}start(r,{snapToCursor:t=!1,distanceThreshold:n}={}){const{presenceContext:o}=this.visualElement;if(o&amp;&amp;o.isPresent===!1)return;const i=m=&gt;{t?(this.stopAnimation(),this.snapToCursor(Su(m).point)):this.pauseAnimation()},a=(m,h)=&gt;{this.stopAnimation();const{drag:d,dragPropagation:g,onDragStart:y}=this.getProps();if(d&amp;&amp;!g&amp;&amp;(this.openDragLock&amp;&amp;this.openDragLock(),this.openDragLock=MP(d),!this.openDragLock))return;this.latestPointerEvent=m,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),ki(b=&gt;{let x=this.getAxisMotionValue(b).get()||0;if(vs.test(x)){const{projection:_}=this.visualElement;if(_&amp;&amp;_.layout){const E=_.layout.layoutBox[b];E&amp;&amp;(x=Fn(E)*(parseFloat(x)/100))}}this.originPoint[b]=x}),y&amp;&amp;yr.postRender(()=&gt;y(m,h)),Vv(this.visualElement,&quot;transform&quot;);const{animationState:p}=this.visualElement;p&amp;&amp;p.setActive(&quot;whileDrag&quot;,!0)},u=(m,h)=&gt;{this.latestPointerEvent=m,this.latestPanInfo=h;const{dragPropagation:d,dragDirectionLock:g,onDirectionLock:y,onDrag:p}=this.getProps();if(!d&amp;&amp;!this.openDragLock)return;const{offset:b}=h;if(g&amp;&amp;this.currentDirection===null){this.currentDirection=WR(b),this.currentDirection!==null&amp;&amp;y&amp;&amp;y(this.currentDirection);return}this.updateAxis(&quot;x&quot;,h.point,b),this.updateAxis(&quot;y&quot;,h.point,b),this.visualElement.render(),p&amp;&amp;p(m,h)},l=(m,h)=&gt;{this.latestPointerEvent=m,this.latestPanInfo=h,this.stop(m,h),this.latestPointerEvent=null,this.latestPanInfo=null},s=()=&gt;ki(m=&gt;this.getAnimationState(m)===&quot;paused&quot;&amp;&amp;this.getAxisMotionValue(m).animation?.play()),{dragSnapToOrigin:c}=this.getProps();this.panSession=new k8(r,{onSessionStart:i,onStart:a,onMove:u,onSessionEnd:l,resumeAnimation:s},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:n,contextWindow:S8(this.visualElement),element:this.visualElement.current})}stop(r,t){const n=r||this.latestPointerEvent,o=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!o||!n)return;const{velocity:a}=o;this.startAnimation(a);const{onDragEnd:u}=this.getProps();u&amp;&amp;yr.postRender(()=&gt;u(n,o))}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:o}=this.getProps();if(!n||!Gd(r,o,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=LR(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,o=this.constraints;r&amp;&amp;Bc(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&amp;&amp;n?this.constraints=FR(n.layoutBox,r):this.constraints=!1,this.elastic=UR(t),o!==this.constraints&amp;&amp;n&amp;&amp;this.constraints&amp;&amp;!this.hasMutatedConstraints&amp;&amp;ki(i=&gt;{this.constraints!==!1&amp;&amp;this.getAxisMotionValue(i)&amp;&amp;(this.constraints[i]=$R(n.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:t}=this.getProps();if(!r||!Bc(r))return!1;const n=r.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=KP(n,o.root,this.visualElement.getTransformPagePoint());let a=BR(o.layout.layoutBox,i);if(t){const u=t(qP(a));this.hasMutatedConstraints=!!u,u&amp;&amp;(a=Kk(u))}return a}startAnimation(r){const{drag:t,dragMomentum:n,dragElastic:o,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:u}=this.getProps(),l=this.constraints||{},s=ki(c=&gt;{if(!Gd(c,t,this.currentDirection))return;let m=l&amp;&amp;l[c]||{};a&amp;&amp;(m={min:0,max:0});const h=o?200:1e6,d=o?40:1e7,g={type:&quot;inertia&quot;,velocity:n?r[c]:0,bounceStiffness:h,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...i,...m};return this.startAxisValueAnimation(c,g)});return Promise.all(s).then(u)}startAxisValueAnimation(r,t){const n=this.getAxisMotionValue(r);return Vv(this.visualElement,r),n.start(Ib(r,n,0,t,this.visualElement,!1))}stopAnimation(){ki(r=&gt;this.getAxisMotionValue(r).stop())}pauseAnimation(){ki(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(),o=n[t];return o||this.visualElement.getValue(r,(n.initial?n.initial[r]:void 0)||0)}snapToCursor(r){ki(t=&gt;{const{drag:n}=this.getProps();if(!Gd(t,n,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(t);if(o&amp;&amp;o.layout){const{min:a,max:u}=o.layout.layoutBox[t],l=i.get()||0;i.set(r[t]-Cr(a,u,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Bc(t)||!n||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};ki(a=&gt;{const u=this.getAxisMotionValue(a);if(u&amp;&amp;this.constraints!==!1){const l=u.get();o[a]=zR({min:l,max:l},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(),ki(a=&gt;{if(!Gd(a,r,null))return;const u=this.getAxisMotionValue(a),{min:l,max:s}=this.constraints[a];u.set(Cr(l,s,o[a]))})}addListeners(){if(!this.visualElement.current)return;VR.set(this.visualElement,this);const r=this.visualElement.current,t=Hc(r,&quot;pointerdown&quot;,l=&gt;{const{drag:s,dragListener:c=!0}=this.getProps();s&amp;&amp;c&amp;&amp;!$k(l.target)&amp;&amp;this.start(l)}),n=()=&gt;{const{dragConstraints:l}=this.getProps();Bc(l)&amp;&amp;l.current&amp;&amp;(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,i=o.addEventListener(&quot;measure&quot;,n);o&amp;&amp;!o.layout&amp;&amp;(o.root&amp;&amp;o.root.updateScroll(),o.updateLayout()),yr.read(n);const a=eu(window,&quot;resize&quot;,()=&gt;this.scalePositionWithinConstraints()),u=o.addEventListener(&quot;didUpdate&quot;,(({delta:l,hasLayoutChanged:s})=&gt;{this.isDragging&amp;&amp;s&amp;&amp;(ki(c=&gt;{const m=this.getAxisMotionValue(c);m&amp;&amp;(this.originPoint[c]+=l[c].translate,m.set(m.get()+l[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:o=!1,dragConstraints:i=!1,dragElastic:a=Yv,dragMomentum:u=!0}=r;return{...r,drag:t,dragDirectionLock:n,dragPropagation:o,dragConstraints:i,dragElastic:a,dragMomentum:u}}}function Gd(e,r,t){return(r===!0||r===e)&amp;&amp;(t===null||t===e)}function WR(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 HR extends Ba{constructor(r){super(r),this.removeGroupControls=Ai,this.removeListeners=Ai,this.controls=new qR(r)}mount(){const{dragControls:r}=this.node.getProps();r&amp;&amp;(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ai}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 g3=e=&gt;(r,t)=&gt;{e&amp;&amp;yr.postRender(()=&gt;e(r,t))};class KR extends Ba{constructor(){super(...arguments),this.removePointerDownListener=Ai}onPointerDown(r){this.session=new k8(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:S8(this.node)})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:t,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:g3(r),onStart:g3(t),onMove:n,onEnd:(i,a)=&gt;{delete this.session,o&amp;&amp;yr.postRender(()=&gt;o(i,a))}}}mount(){this.removePointerDownListener=Hc(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 R0=!1;class XR extends q.Component{componentDidMount(){const{visualElement:r,layoutGroup:t,switchLayoutGroup:n,layoutId:o}=this.props,{projection:i}=r;i&amp;&amp;(t.group&amp;&amp;t.group.add(i),n&amp;&amp;n.register&amp;&amp;o&amp;&amp;n.register(i),R0&amp;&amp;i.root.didUpdate(),i.addEventListener(&quot;animationComplete&quot;,()=&gt;{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=&gt;this.safeToRemove()})),_f.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:t,visualElement:n,drag:o,isPresent:i}=this.props,{projection:a}=n;return a&amp;&amp;(a.isPresent=i,R0=!0,o||r.layoutDependency!==t||t===void 0||r.isPresent!==i?a.willUpdate():this.safeToRemove(),r.isPresent!==i&amp;&amp;(i?a.promote():a.relegate()||yr.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(),Fb.postRender(()=&gt;{!r.currentAnimation&amp;&amp;r.isLead()&amp;&amp;this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:o}=r;R0=!0,o&amp;&amp;(o.scheduleCheckAfterUnmount(),t&amp;&amp;t.group&amp;&amp;t.group.remove(o),n&amp;&amp;n.deregister&amp;&amp;n.deregister(o))}safeToRemove(){const{safeToRemove:r}=this.props;r&amp;&amp;r()}render(){return null}}function C8(e){const[r,t]=p8(),n=q.useContext(pb);return f.jsx(XR,{...e,layoutGroup:n,switchLayoutGroup:q.useContext(_8),isPresent:r,safeToRemove:t})}const GR={pan:{Feature:KR},drag:{Feature:HR,ProjectionNode:m8,MeasureLayout:C8}};function v3(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 o=&quot;onHover&quot;+t,i=n[o];i&amp;&amp;yr.postRender(()=&gt;i(r,Su(r)))}class YR extends Ba{mount(){const{current:r}=this.node;r&amp;&amp;(this.unmount=OP(r,(t,n)=&gt;(v3(this.node,n,&quot;Start&quot;),o=&gt;v3(this.node,o,&quot;End&quot;))))}unmount(){}}class ZR extends Ba{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=wu(eu(this.node.current,&quot;focus&quot;,()=&gt;this.onFocus()),eu(this.node.current,&quot;blur&quot;,()=&gt;this.onBlur()))}unmount(){}}function y3(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 o=&quot;onTap&quot;+(t===&quot;End&quot;?&quot;&quot;:t),i=n[o];i&amp;&amp;yr.postRender(()=&gt;i(r,Su(r)))}class QR extends Ba{mount(){const{current:r}=this.node;r&amp;&amp;(this.unmount=IP(r,(t,n)=&gt;(y3(this.node,n,&quot;Start&quot;),(o,{success:i})=&gt;y3(this.node,o,i?&quot;End&quot;:&quot;Cancel&quot;)),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Zv=new WeakMap,D0=new WeakMap,JR=e=&gt;{const r=Zv.get(e.target);r&amp;&amp;r(e)},eD=e=&gt;{e.forEach(JR)};function tD({root:e,...r}){const t=e||document;D0.has(t)||D0.set(t,{});const n=D0.get(t),o=JSON.stringify(r);return n[o]||(n[o]=new IntersectionObserver(eD,{root:e,...r})),n[o]}function rD(e,r,t){const n=tD(r);return Zv.set(e,t),n.observe(e),()=&gt;{Zv.delete(e),n.unobserve(e)}}const nD={some:0,all:1};class iD extends Ba{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:r={}}=this.node.getProps(),{root:t,margin:n,amount:o=&quot;some&quot;,once:i}=r,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof o==&quot;number&quot;?o:nD[o]},u=l=&gt;{const{isIntersecting:s}=l;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:m}=this.node.getProps(),h=s?c:m;h&amp;&amp;h(l)};return rD(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(sD(r,t))&amp;&amp;this.startObserver()}unmount(){}}function sD({viewport:e={}},{viewport:r={}}={}){return t=&gt;e[t]!==r[t]}const aD={inView:{Feature:iD},tap:{Feature:QR},focus:{Feature:ZR},hover:{Feature:YR}},oD={layout:{ProjectionNode:m8,MeasureLayout:C8}},lD={...TR,...aD,...GR,...oD},b3=CR(lD,ER);const cD=e=&gt;e.replace(/([a-z0-9])([A-Z])/g,&quot;$1-$2&quot;).toLowerCase(),uD=e=&gt;e.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,t,n)=&gt;n?n.toUpperCase():t.toLowerCase()),x3=e=&gt;{const r=uD(e);return r.charAt(0).toUpperCase()+r.slice(1)},E8=(...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(),dD=e=&gt;{for(const r in e)if(r.startsWith(&quot;aria-&quot;)||r===&quot;role&quot;||r===&quot;title&quot;)return!0};var fD={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 hD=q.forwardRef(({color:e=&quot;currentColor&quot;,size:r=24,strokeWidth:t=2,absoluteStrokeWidth:n,className:o=&quot;&quot;,children:i,iconNode:a,...u},l)=&gt;q.createElement(&quot;svg&quot;,{ref:l,...fD,width:r,height:r,stroke:e,strokeWidth:n?Number(t)*24/Number(r):t,className:E8(&quot;lucide&quot;,o),...!i&amp;&amp;!dD(u)&amp;&amp;{&quot;aria-hidden&quot;:&quot;true&quot;},...u},[...a.map(([s,c])=&gt;q.createElement(s,c)),...Array.isArray(i)?i:[i]]));const $t=(e,r)=&gt;{const t=q.forwardRef(({className:n,...o},i)=&gt;q.createElement(hD,{ref:i,iconNode:r,className:E8(`lucide-${cD(x3(e))}`,`lucide-${e}`,n),...o}));return t.displayName=x3(e),t};const mD=[[&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;}]],Qv=$t(&quot;arrow-right&quot;,mD);const pD=[[&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;}]],gD=$t(&quot;calendar-days&quot;,pD);const vD=[[&quot;path&quot;,{d:&quot;M20 6 9 17l-5-5&quot;,key:&quot;1gmf2c&quot;}]],w3=$t(&quot;check&quot;,vD);const yD=[[&quot;path&quot;,{d:&quot;m6 9 6 6 6-6&quot;,key:&quot;qrunsl&quot;}]],bD=$t(&quot;chevron-down&quot;,yD);const xD=[[&quot;path&quot;,{d:&quot;m15 18-6-6 6-6&quot;,key:&quot;1wnfg3&quot;}]],wD=$t(&quot;chevron-left&quot;,xD);const _D=[[&quot;path&quot;,{d:&quot;m9 18 6-6-6-6&quot;,key:&quot;mthhwq&quot;}]],jD=$t(&quot;chevron-right&quot;,_D);const SD=[[&quot;path&quot;,{d:&quot;m18 15-6-6-6 6&quot;,key:&quot;153udz&quot;}]],kD=$t(&quot;chevron-up&quot;,SD);const ND=[[&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;}]],Jv=$t(&quot;circle-alert&quot;,ND);const CD=[[&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;}]],ED=$t(&quot;circle-check-big&quot;,CD);const AD=[[&quot;circle&quot;,{cx:&quot;12&quot;,cy:&quot;12&quot;,r:&quot;10&quot;,key:&quot;1mglay&quot;}],[&quot;path&quot;,{d:&quot;M8 12h8&quot;,key:&quot;1wcyev&quot;}],[&quot;path&quot;,{d:&quot;M12 8v8&quot;,key:&quot;napkw2&quot;}]],MD=$t(&quot;circle-plus&quot;,AD);const OD=[[&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;}]],_3=$t(&quot;circle-user&quot;,OD);const TD=[[&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;}]],PD=$t(&quot;circle-x&quot;,TD);const ID=[[&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;}]],RD=$t(&quot;credit-card&quot;,ID);const DD=[[&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;}]],ey=$t(&quot;dollar-sign&quot;,DD);const LD=[[&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;}]],FD=$t(&quot;download&quot;,LD);const BD=[[&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;}]],So=$t(&quot;file-down&quot;,BD);const zD=[[&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;}]],j3=$t(&quot;file-spreadsheet&quot;,zD);const $D=[[&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;}]],tu=$t(&quot;file-text&quot;,$D);const UD=[[&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;}]],VD=$t(&quot;hand-helping&quot;,UD);const qD=[[&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;}]],Kb=$t(&quot;heart&quot;,qD);const WD=[[&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;}]],ty=$t(&quot;house&quot;,WD);const HD=[[&quot;path&quot;,{d:&quot;M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z&quot;,key:&quot;1s6t7t&quot;}],[&quot;circle&quot;,{cx:&quot;16.5&quot;,cy:&quot;7.5&quot;,r:&quot;.5&quot;,fill:&quot;currentColor&quot;,key:&quot;w0ekpg&quot;}]],KD=$t(&quot;key-round&quot;,HD);const XD=[[&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;}]],S3=$t(&quot;layout-dashboard&quot;,XD);const GD=[[&quot;path&quot;,{d:&quot;M21 12a9 9 0 1 1-6.219-8.56&quot;,key:&quot;13zald&quot;}]],YD=$t(&quot;loader-circle&quot;,GD);const ZD=[[&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;}]],QD=$t(&quot;log-out&quot;,ZD);const JD=[[&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;}]],ps=$t(&quot;mail&quot;,JD);const eL=[[&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;}]],tL=$t(&quot;map-pin&quot;,eL);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;}]],k3=$t(&quot;message-square&quot;,rL);const nL=[[&quot;path&quot;,{d:&quot;M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z&quot;,key:&quot;1a8usu&quot;}],[&quot;path&quot;,{d:&quot;m15 5 4 4&quot;,key:&quot;1mk7zo&quot;}]],$f=$t(&quot;pencil&quot;,nL);const iL=[[&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;}]],zc=$t(&quot;phone&quot;,iL);const sL=[[&quot;path&quot;,{d:&quot;M5 12h14&quot;,key:&quot;1ays0h&quot;}],[&quot;path&quot;,{d:&quot;M12 5v14&quot;,key:&quot;s699le&quot;}]],ry=$t(&quot;plus&quot;,sL);const aL=[[&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;}]],oL=$t(&quot;receipt&quot;,aL);const lL=[[&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;}]],cL=$t(&quot;refresh-cw&quot;,lL);const uL=[[&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;}]],ny=$t(&quot;settings&quot;,uL);const dL=[[&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;}]],fL=$t(&quot;tags&quot;,dL);const hL=[[&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;}]],ru=$t(&quot;trash-2&quot;,hL);const mL=[[&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;}]],pL=$t(&quot;trending-up&quot;,mL);const gL=[[&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;}]],vL=$t(&quot;triangle-alert&quot;,gL);const yL=[[&quot;path&quot;,{d:&quot;m16 11 2 2 4-4&quot;,key:&quot;9rsbq5&quot;}],[&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;circle&quot;,{cx:&quot;9&quot;,cy:&quot;7&quot;,r:&quot;4&quot;,key:&quot;nufk8&quot;}]],bL=$t(&quot;user-check&quot;,yL);const xL=[[&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;}]],Uf=$t(&quot;user-cog&quot;,xL);const wL=[[&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;}]],Vf=$t(&quot;users&quot;,wL);const _L=[[&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;}]],A8=$t(&quot;wallet&quot;,_L);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;}]],Rr=$t(&quot;x&quot;,jL),L0=&quot;/logoHaggai.avif&quot;,SL=&quot;/seminaireregional.webp&quot;,Ec=[&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;],kL=[{title:&quot;Séminaire Régional Hybride&quot;,dateLocation:&quot;Du 22 au 31 oct : Session en ligne • Du 15 au 19 nov : Présentiel au Burkina Faso&quot;,imageUrl:SL,imageAlt:&quot;Participants au Séminaire Régional Hybride&quot;,buttonLabel:&quot;S&#039;inscrire&quot;}],NL=[{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 M8(...e){return e.filter(Boolean).join(&quot; &quot;)}function N3({children:e,className:r=&quot;&quot;,...t}){return f.jsxs(&quot;a&quot;,{className:M8(&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,f.jsx(Qv,{className:&quot;h-4 w-4&quot;})]})}function CL({children:e,className:r=&quot;&quot;,...t}){return f.jsx(&quot;a&quot;,{className:M8(&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 EL(){const[e,r]=q.useState(0),[t,n]=q.useState(!1);q.useEffect(()=&gt;{const l=setInterval(()=&gt;{r(s=&gt;(s+1)%Ec.length)},5e3);return()=&gt;clearInterval(l)},[]);const o=()=&gt;{r(l=&gt;(l-1+Ec.length)%Ec.length)},i=()=&gt;{r(l=&gt;(l+1)%Ec.length)},a=l=&gt;{l.preventDefault();const s=document.getElementById(&quot;events&quot;);s&amp;&amp;s.scrollIntoView({behavior:&quot;smooth&quot;})},u=l=&gt;{l.preventDefault();const s=document.getElementById(&quot;speakers&quot;);s&amp;&amp;s.scrollIntoView({behavior:&quot;smooth&quot;})};return f.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-surface-0 font-sans&quot;,children:[f.jsxs(&quot;header&quot;,{className:&quot;sticky top-0 z-50 border-b border-ink-500/20 bg-brand-700 shadow-soft&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;mx-auto flex items-center justify-between px-[10%] py-1 sm:py-1.5&quot;,children:[f.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:[f.jsx(&quot;img&quot;,{src:L0,alt:&quot;Sommet Francophone&quot;,className:&quot;h-6 sm:h-7 md:h-8 w-auto flex-shrink-0 brightness-0 invert&quot;}),f.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;})]}),f.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:[f.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;}),f.jsx(&quot;a&quot;,{className:&quot;hover:text-surface-0 transition-colors uppercase&quot;,href:&quot;#speakers&quot;,onClick:u,children:&quot;Intervenants&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;hidden md:flex items-center gap-2 sm:gap-3&quot;,children:[f.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;}),f.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;}),f.jsx(&quot;div&quot;,{className:&quot;h-6 w-px bg-surface-0/30 mx-1&quot;}),f.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;})]}),f.jsx(&quot;div&quot;,{className:&quot;md:hidden&quot;,children:f.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:f.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?f.jsx(&quot;path&quot;,{d:&quot;M6 18L18 6M6 6l12 12&quot;}):f.jsx(&quot;path&quot;,{d:&quot;M4 6h16M4 12h16M4 18h16&quot;})})})})]}),t&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;md:hidden py-4 px-[10%] space-y-2 border-t border-surface-0/20&quot;,children:[f.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:l=&gt;{n(!1),a(l)},children:&quot;Événements&quot;}),f.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:l=&gt;{n(!1),u(l)},children:&quot;Intervenants&quot;}),f.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;}),f.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;}),f.jsx(&quot;div&quot;,{className:&quot;h-px bg-surface-0/20 my-2&quot;}),f.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;})]})]}),f.jsxs(&quot;section&quot;,{className:&quot;relative overflow-hidden text-surface-0&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;absolute inset-0&quot;,children:[f.jsx(rR,{mode:&quot;wait&quot;,children:f.jsx(b3.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(${Ec[e]})`}},e)}),f.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;}),f.jsx(&quot;div&quot;,{className:&quot;absolute -left-40 -top-40 h-96 w-96 rounded-full bg-brand-700/15 blur-3xl&quot;}),f.jsx(&quot;div&quot;,{className:&quot;absolute -right-40 top-10 h-96 w-96 rounded-full bg-brand-700/10 blur-3xl&quot;})]}),f.jsx(&quot;button&quot;,{onClick:o,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:f.jsx(wD,{className:&quot;w-5 h-5 sm:w-6 sm:h-6 text-white&quot;})}),f.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:f.jsx(jD,{className:&quot;w-5 h-5 sm:w-6 sm:h-6 text-white&quot;})}),f.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:f.jsxs(b3.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.6},className:&quot;max-w-4xl text-center&quot;,children:[f.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;}),f.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;}),f.jsx(&quot;div&quot;,{className:&quot;mt-8 sm:mt-10 flex justify-center&quot;,children:f.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;,f.jsx(Qv,{className:&quot;h-4 w-4 sm:h-5 sm:w-5&quot;})]})})]})})]}),f.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:f.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:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 sm:gap-3&quot;,children:[f.jsx(&quot;img&quot;,{src:L0,alt:&quot;Sommet Francophone&quot;,className:&quot;h-7 sm:h-8 md:h-9 w-auto brightness-0 invert&quot;}),f.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;}),f.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:f.jsx(&quot;span&quot;,{className:&quot;text-brand-900 text-[10px] sm:text-xs md:text-sm font-semibold&quot;,children:&quot;26&quot;})})]}),f.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;})]})}),f.jsx(&quot;section&quot;,{className:&quot;bg-surface-0 py-14 md:py-18 lg:py-24&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;max-w-4xl&quot;,children:[f.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;,f.jsx(&quot;br&quot;,{}),&quot;Francophone&quot;,f.jsx(&quot;br&quot;,{}),&quot;2026&quot;]}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3 sm:gap-4 mb-4 sm:mb-6&quot;,children:[f.jsx(gD,{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;}),f.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;})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3 sm:gap-4 mb-12 sm:mb-16&quot;,children:[f.jsx(tL,{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;}),f.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;})]}),f.jsx(&quot;div&quot;,{className:&quot;flex flex-col sm:flex-row gap-4 sm:gap-6&quot;,children:f.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;})})]})})}),f.jsx(&quot;section&quot;,{className:&quot;bg-brand-900 text-surface-0&quot;,children:f.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:f.jsxs(&quot;div&quot;,{className:&quot;mx-auto max-w-3xl text-center&quot;,children:[f.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;}),f.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;}),f.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;})]})})}),f.jsx(&quot;section&quot;,{id:&quot;speakers&quot;,className:&quot;bg-brand-50 py-14 md:py-18 lg:py-24&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6&quot;,children:[f.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;}),f.jsx(&quot;div&quot;,{className:&quot;grid grid-cols-2 sm:grid-cols-4 gap-3 sm:gap-4 md:gap-5&quot;,children:NL.slice(0,4).map((l,s)=&gt;f.jsxs(&quot;div&quot;,{className:&quot;flex flex-col items-center text-center&quot;,children:[f.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:f.jsx(&quot;img&quot;,{src:l.img,alt:l.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;})}),f.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:l.name}),f.jsx(&quot;p&quot;,{className:&quot;text-xs sm:text-sm font-body font-extralight text-ink-500 leading-relaxed&quot;,children:l.title})]},s))}),f.jsx(&quot;div&quot;,{className:&quot;mt-10 flex justify-center&quot;,children:f.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;,f.jsx(Qv,{className:&quot;h-4 w-4&quot;})]})})]})}),f.jsx(&quot;section&quot;,{id:&quot;events&quot;,className:&quot;bg-surface-0&quot;,children:f.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:[f.jsx(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6 py-10 sm:py-12&quot;,children:f.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;})}),f.jsx(&quot;div&quot;,{className:&quot;space-y-0&quot;,children:kL.map((l,s)=&gt;f.jsx(&quot;div&quot;,{className:&quot;group overflow-hidden&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;relative aspect-video overflow-hidden bg-ink-500 bg-opacity-10&quot;,children:[f.jsx(&quot;img&quot;,{src:l.imageUrl,alt:l.imageAlt,className:&quot;h-full w-full object-cover transition duration-500 group-hover:scale-[1.02] brightness-110&quot;,loading:&quot;lazy&quot;}),f.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;}),f.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:f.jsxs(&quot;div&quot;,{className:&quot;space-y-3 w-full&quot;,children:[f.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:l.title}),f.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:l.title===&quot;Séminaire Régional Hybride&quot;?f.jsxs(f.Fragment,{children:[f.jsx(&quot;p&quot;,{children:&quot;Du 22 au 31 oct : Session en ligne&quot;}),f.jsx(&quot;p&quot;,{children:&quot;Du 15 au 19 nov : Présentiel au Burkina Faso&quot;})]}):f.jsx(&quot;p&quot;,{children:l.dateLocation})}),f.jsxs(&quot;div&quot;,{className:&quot;pt-4 flex flex-wrap gap-3&quot;,children:[f.jsx(N3,{href:&quot;/inscription&quot;,className:&quot;px-4 py-2&quot;,children:l.buttonLabel}),l.title===&quot;Séminaire Régional Hybride&quot;&amp;&amp;f.jsx(CL,{href:&quot;/inscription?preselect=recommend&quot;,className:&quot;px-4 py-2&quot;,children:&quot;Recommander&quot;})]})]})})]})},s))})]})}),f.jsx(&quot;section&quot;,{id:&quot;register&quot;,className:&quot;bg-surface-0 py-14 md:py-18 lg:py-24&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6&quot;,children:f.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:[f.jsx(&quot;div&quot;,{className:&quot;absolute -left-24 -top-24 h-72 w-72 rounded-full bg-brand-700/22 blur-3xl&quot;}),f.jsx(&quot;div&quot;,{className:&quot;absolute -right-24 -bottom-24 h-72 w-72 rounded-full bg-brand-700/16 blur-3xl&quot;}),f.jsxs(&quot;div&quot;,{className:&quot;relative mx-auto max-w-2xl text-center text-surface-0&quot;,children:[f.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;}),f.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;}),f.jsxs(&quot;div&quot;,{className:&quot;mt-7 flex flex-col justify-center gap-3 sm:flex-row&quot;,children:[f.jsx(N3,{href:&quot;/inscription&quot;,children:&quot;S&#039;inscrire maintenant&quot;}),f.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;}),f.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;})]}),f.jsxs(&quot;div&quot;,{className:&quot;mt-8 grid gap-3 sm:grid-cols-[1fr_auto]&quot;,children:[f.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;}),f.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;})]})]})]})})}),f.jsx(&quot;footer&quot;,{className:&quot;border-t border-ink-500/20 bg-brand-900 text-surface-0&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;max-w-6xl mx-auto px-4 md:px-6 py-10&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-3 gap-8 mb-8&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3 mb-3&quot;,children:[f.jsx(&quot;img&quot;,{src:L0,alt:&quot;Sommet Francophone&quot;,className:&quot;h-10 md:h-12 w-auto brightness-0 invert&quot;}),f.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-surface-0&quot;,children:&quot;Sommet Francophone&quot;})]}),f.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;})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsxs(&quot;ul&quot;,{className:&quot;space-y-2 text-sm sm:text-base text-surface-0/70&quot;,children:[f.jsx(&quot;li&quot;,{children:f.jsx(&quot;a&quot;,{href:&quot;#events&quot;,onClick:a,className:&quot;hover:text-surface-0 transition-colors&quot;,children:&quot;Événements&quot;})}),f.jsx(&quot;li&quot;,{children:f.jsx(&quot;a&quot;,{href:&quot;#speakers&quot;,onClick:u,className:&quot;hover:text-surface-0 transition-colors&quot;,children:&quot;Intervenants&quot;})}),f.jsx(&quot;li&quot;,{children:f.jsx(&quot;a&quot;,{href:&quot;/inscription&quot;,className:&quot;hover:text-surface-0 transition-colors&quot;,children:&quot;Inscription&quot;})}),f.jsx(&quot;li&quot;,{children:f.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;hover:text-surface-0 transition-colors&quot;,children:&quot;Contributions&quot;})})]})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.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;,f.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;})]})]})]}),f.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:f.jsxs(&quot;p&quot;,{children:[&quot;© &quot;,new Date().getFullYear(),&quot; Sommet Francophone. Tous droits réservés.&quot;]})})]})})]})}function AL(){const[e,r]=q.useState(!1);return f.jsxs(&quot;nav&quot;,{className:&quot;bg-brand-700 shadow-soft sticky top-0 z-50&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;mx-auto flex items-center justify-between px-[10%] py-1 sm:py-1.5&quot;,children:[f.jsxs(xr,{to:&quot;/&quot;,className:&quot;flex items-center gap-2 hover:opacity-80 transition-opacity flex-shrink-0 min-w-0&quot;,children:[f.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;}),f.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;})]}),f.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:[f.jsx(xr,{to:&quot;/#events&quot;,className:&quot;hover:opacity-80 transition-opacity uppercase&quot;,children:&quot;Événements&quot;}),f.jsx(xr,{to:&quot;/#speakers&quot;,className:&quot;hover:opacity-80 transition-opacity uppercase&quot;,children:&quot;Intervenants&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;hidden md:flex items-center gap-2 sm:gap-3&quot;,children:[f.jsx(xr,{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;}),f.jsx(xr,{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;}),f.jsx(&quot;div&quot;,{className:&quot;h-6 w-px bg-surface-0/30 mx-1&quot;}),f.jsx(xr,{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;})]}),f.jsx(&quot;div&quot;,{className:&quot;md:hidden&quot;,children:f.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:f.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?f.jsx(&quot;path&quot;,{d:&quot;M6 18L18 6M6 6l12 12&quot;}):f.jsx(&quot;path&quot;,{d:&quot;M4 6h16M4 12h16M4 18h16&quot;})})})})]}),e&amp;&amp;f.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:[f.jsx(xr,{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;}),f.jsx(xr,{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;}),f.jsx(xr,{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;}),f.jsx(xr,{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;}),f.jsx(&quot;div&quot;,{className:&quot;h-px bg-surface-0/20 my-2&quot;}),f.jsx(xr,{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 ML(){return f.jsx(&quot;footer&quot;,{className:&quot;bg-brand-900 text-white mt-auto&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;max-w-container mx-auto px-4 sm:px-6 lg:px-8 py-12&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-3 gap-8&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3 mb-3&quot;,children:[f.jsx(&quot;img&quot;,{src:&quot;/logoHaggai.avif&quot;,alt:&quot;Sommet Francophone&quot;,className:&quot;h-10 md:h-12 w-auto&quot;}),f.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-white&quot;,children:&quot;Sommet Francophone&quot;})]}),f.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;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;h4&quot;,{className:&quot;font-semibold mb-4&quot;,children:&quot;Liens rapides&quot;}),f.jsxs(&quot;ul&quot;,{className:&quot;space-y-2 text-sm text-gray-300&quot;,children:[f.jsx(&quot;li&quot;,{children:f.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;hover:text-white transition-colors&quot;,children:&quot;Événements&quot;})}),f.jsx(&quot;li&quot;,{children:f.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;hover:text-white transition-colors&quot;,children:&quot;Inscription&quot;})}),f.jsx(&quot;li&quot;,{children:f.jsx(&quot;a&quot;,{href:&quot;#&quot;,className:&quot;hover:text-white transition-colors&quot;,children:&quot;Contributions&quot;})})]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;h4&quot;,{className:&quot;font-semibold mb-4&quot;,children:&quot;Contact&quot;}),f.jsxs(&quot;p&quot;,{className:&quot;text-sm text-gray-300 space-y-2&quot;,children:[f.jsxs(&quot;span&quot;,{className:&quot;block&quot;,children:[&quot;Pour toute question :&quot;,&quot; &quot;,f.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;})]}),f.jsxs(&quot;span&quot;,{className:&quot;block&quot;,children:[&quot;Support / communication :&quot;,&quot; &quot;,f.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;]}),f.jsxs(&quot;span&quot;,{className:&quot;block&quot;,children:[&quot;Questions finance :&quot;,&quot; &quot;,f.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;})]})]})]})]}),f.jsx(&quot;div&quot;,{className:&quot;mt-8 pt-8 border-t border-gray-700 text-center text-sm text-gray-400&quot;,children:f.jsxs(&quot;p&quot;,{children:[&quot;© &quot;,new Date().getFullYear(),&quot; Sommet Francophone. Tous droits réservés.&quot;]})})]})})}function ho({children:e}){return f.jsxs(&quot;div&quot;,{className:&quot;min-h-screen flex flex-col bg-brand-50&quot;,children:[f.jsx(AL,{}),f.jsx(&quot;main&quot;,{className:&quot;flex-1 pt-0&quot;,children:e}),f.jsx(ML,{})]})}const OL=&quot;https://api.sommetfrancophone.org/api&quot;;class mr 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 TL{baseUrl;authToken=null;constructor(r=OL){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 o=this.baseUrl.endsWith(&quot;/&quot;)?this.baseUrl.slice(0,-1):this.baseUrl,i=r.startsWith(&quot;/&quot;)?r:`/${r}`;n=`${o}${i}`}else{const o=this.baseUrl.endsWith(&quot;/&quot;)?this.baseUrl.slice(0,-1):this.baseUrl;r.startsWith(&quot;/&quot;)?n=`${o}${r}`:n=new URL(r,`${o}/`).toString()}if(t&amp;&amp;Object.keys(t).length&gt;0){const o=[];if(Object.entries(t).forEach(([i,a])=&gt;{a!=null&amp;&amp;(Array.isArray(a)?a.forEach(u=&gt;{o.push(`${encodeURIComponent(i)}[]=${encodeURIComponent(String(u))}`)}):o.push(`${encodeURIComponent(i)}=${encodeURIComponent(String(a))}`))}),o.length&gt;0){const i=n.includes(&quot;?&quot;)?&quot;&amp;&quot;:&quot;?&quot;;n=`${n}${i}${o.join(&quot;&amp;&quot;)}`}}return n}async request(r,t={}){const{params:n,requireAuth:o=!1,headers:i={},...a}=t,u=this.buildUrl(r,n),l=a.body instanceof FormData,s={Accept:&quot;application/json&quot;};l||(s[&quot;Content-Type&quot;]=&quot;application/json&quot;),typeof crypto&lt;&quot;u&quot;&amp;&amp;crypto.randomUUID&amp;&amp;(s[&quot;X-Request-ID&quot;]=crypto.randomUUID()),o&amp;&amp;this.authToken&amp;&amp;(s.Authorization=`Bearer ${this.authToken}`);const c={...s,...i};l&amp;&amp;&quot;Content-Type&quot;in c&amp;&amp;delete c[&quot;Content-Type&quot;];try{let m=a.body;const h=Array.isArray(c)?c.find(b=&gt;b[0]===&quot;Content-Type&quot;)?.[1]:c[&quot;Content-Type&quot;];if(m&amp;&amp;typeof m==&quot;string&quot;&amp;&amp;h?.includes(&quot;application/json&quot;))try{JSON.parse(m)}catch{console.error(&quot;Body JSON invalide:&quot;,m)}const d=await fetch(u,{...a,body:m,headers:c});if(d.status===204)return null;const g=d.headers.get(&quot;content-type&quot;),y=g&amp;&amp;g.includes(&quot;application/json&quot;);let p;if(y)try{const b=await d.text();!b||b.trim()===&quot;&quot;?p={}:p=JSON.parse(b)}catch{throw new mr(d.status,{message:&quot;Réponse invalide du serveur&quot;},&quot;Le serveur a retourné une réponse invalide&quot;)}else p={message:await d.text()||`HTTP ${d.status}: ${d.statusText}`};if(!d.ok){const b={message:p.message||`HTTP ${d.status}: ${d.statusText}`,errors:p.errors||void 0,...p.existing_registration_id!==void 0&amp;&amp;{existing_registration_id:p.existing_registration_id},...p.status!==void 0&amp;&amp;{status:p.status}};throw new mr(d.status,b,b.message)}return r.includes(&quot;/auth/login&quot;)||r.includes(&quot;/auth/register&quot;)||r.includes(&quot;/auth/activate&quot;)?p:r.includes(&quot;/auth/me&quot;)?p.user||p:(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;))&amp;&amp;(p.meta!==void 0||p.data!==void 0)?p:p.data!==void 0?p.data:p}catch(m){throw m instanceof mr?m:m instanceof TypeError&amp;&amp;m.message.includes(&quot;fetch&quot;)?new mr(0,{message:&quot;Erreur de connexion au serveur&quot;},&quot;Impossible de se connecter au serveur&quot;):new mr(500,{message:&quot;Une erreur inattendue est survenue&quot;},m instanceof Error?m.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),o={Accept:&quot;text/csv&quot;};t?.requireAuth!==!1&amp;&amp;this.getAuthToken()&amp;&amp;(o.Authorization=`Bearer ${this.getAuthToken()}`);const i=await fetch(n,{method:&quot;GET&quot;,headers:o});if(!i.ok){const a=await i.text();let u;try{u=JSON.parse(a)}catch{u={message:a||`HTTP ${i.status}`}}throw new mr(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 Ze=new TL,Xb={async list(e){const r=await Ze.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 Ze.get(`/events/${e}`)},async getPricingPlans(e){return Ze.get(`/events/${e}/plans`)},async getSettings(e){return(await Ze.get(`/events/${e}/settings`)).settings||{}}},Gb={async create(e,r){try{return await Ze.post(`/public/events/${e}/registrations`,r)}catch(t){throw t.status===409,t}},async verify(e){return Ze.get(`/public/registrations/verify/${e}`)},async resendVerification(e){const r={};return typeof e==&quot;number&quot;?r.registration_id=e:r.email=e,Ze.post(&quot;/public/registrations/resend-verification&quot;,r)}},C3={async create(e){return await Ze.post(&quot;/public/recommendations&quot;,e)}},Yi={async login(e){const r=await Ze.post(&quot;/auth/login&quot;,e);return r&amp;&amp;r.token&amp;&amp;Ze.setAuthToken(r.token),r},async register(e){const r=await Ze.post(&quot;/auth/register&quot;,e);return r.token&amp;&amp;Ze.setAuthToken(r.token),r},async logout(){await Ze.post(&quot;/auth/logout&quot;,void 0,{requireAuth:!0}),Ze.setAuthToken(null)},async me(){return Ze.get(&quot;/auth/me&quot;,{requireAuth:!0})},async checkActivation(e){return Ze.get(&quot;/auth/activate/check&quot;,{params:{token:e.trim()}})},async activate(e){const r=await Ze.post(&quot;/auth/activate&quot;,e);return r?.token&amp;&amp;Ze.setAuthToken(r.token),r},isAuthenticated(){return Ze.getAuthToken()!==null}},ko={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),Ze.get(&quot;/admin/registrations&quot;,{params:r,requireAuth:!0})},async get(e){return Ze.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),Ze.get(&quot;/admin/registrations/stats&quot;,{params:r,requireAuth:!0})},async updateStatus(e,r){return Ze.patch(`/admin/registrations/${e}/status`,r,{requireAuth:!0})},async update(e,r){return Ze.put(`/admin/registrations/${e}`,r,{requireAuth:!0})},async delete(e){return Ze.delete(`/admin/registrations/${e}`,{requireAuth:!0})},async resendActivationEmail(e){return Ze.post(`/admin/registrations/${e}/resend-activation-email`,{},{requireAuth:!0})}},nu={async list(e={}){return await Ze.get(&quot;/admin/recommendations&quot;,{params:e,requireAuth:!0})},async show(e){return await Ze.get(`/admin/recommendations/${e}`,{requireAuth:!0})},async updateStatus(e,r){return await Ze.patch(`/admin/recommendations/${e}/status`,r,{requireAuth:!0})},async sendEmail(e,r){return await Ze.post(`/admin/recommendations/${e}/send-email`,r,{requireAuth:!0})},async delete(e){await Ze.delete(`/admin/recommendations/${e}`,{requireAuth:!0})}},O8={async changePassword(e){return Ze.post(&quot;/account/change-password&quot;,e,{requireAuth:!0})}},iy=[&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;],jf=[...iy,&quot;participant&quot;,&quot;guest&quot;],PL=jf,sy={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;},IL={COMMISSION_FINANCE_SOMMET:sy.COMMISSION_FINANCE,COMMISSION_FINANCE_SEMINAIRE:&quot;Commission Finance Séminaire&quot;,COMMISSION_ADMINISTRATION_SOMMET:sy.COMMISSION_ADMINISTRATION,COMMISSION_ADMINISTRATION_SEMINAIRE:&quot;Commission Administration Séminaire&quot;};function qf(e){return sy[e]??IL[e]??e}const RL={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 E3(e){return RL[e]??e}const Ia={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),Ze.get(&quot;/admin/users&quot;,{params:r,requireAuth:!0})},async get(e){return Ze.get(`/admin/users/${e}`,{requireAuth:!0})},async create(e){return Ze.post(&quot;/admin/users&quot;,e,{requireAuth:!0})},async update(e,r){return Ze.put(`/admin/users/${e}`,r,{requireAuth:!0})},async delete(e){return Ze.delete(`/admin/users/${e}`,{requireAuth:!0})},async setDeactivated(e,r){return Ze.patch(`/admin/users/${e}/deactivated`,{deactivated:r},{requireAuth:!0})},async sendActivation(e){return Ze.post(`/admin/users/${e}/send-activation`,void 0,{requireAuth:!0})},async resetPassword(e,r){return Ze.post(`/admin/users/${e}/reset-password`,r,{requireAuth:!0})}},F0=&quot;https://api.sommetfrancophone.org/api&quot;;async function DL(){const e=await Ze.get(&quot;/registrations/me&quot;,{requireAuth:!0});return Array.isArray(e)?e:e?.data??[]}async function LL(e,r){const{amount:t,method:n,paid_at:o,installment_index:i,reference:a,notes:u,proof:l}=r;if(l){const c=new FormData;return c.append(&quot;amount&quot;,String(t)),c.append(&quot;method&quot;,n),c.append(&quot;paid_at&quot;,o),i!==void 0&amp;&amp;c.append(&quot;installment_index&quot;,String(i)),a?.trim()&amp;&amp;c.append(&quot;reference&quot;,a.trim()),u?.trim()&amp;&amp;c.append(&quot;notes&quot;,u.trim()),c.append(&quot;proof&quot;,l),Ze.postForm(`/registrations/${e}/payments`,c,{requireAuth:!0})}const s={amount:t,method:n,paid_at:o};return i!==void 0&amp;&amp;(s.installment_index=i),a?.trim()&amp;&amp;(s.reference=a.trim()),u?.trim()&amp;&amp;(s.notes=u.trim()),Ze.post(`/registrations/${e}/payments`,s,{requireAuth:!0})}async function FL(e,r){const n=`${F0.endsWith(&quot;/&quot;)?F0.slice(0,-1):F0}/receipts/${e}/download`,o=typeof window&lt;&quot;u&quot;?localStorage.getItem(&quot;auth_token&quot;):null,i=await fetch(n,{headers:{Accept:&quot;application/pdf&quot;,...o&amp;&amp;{Authorization:`Bearer ${o}`}}});if(!i.ok){const l=await i.json().catch(()=&gt;({message:i.statusText}));throw{status:i.status,data:l}}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 Ma={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),Ze.get(&quot;/admin/treasury-accounts&quot;,{params:r,requireAuth:!0})},async create(e){return Ze.post(&quot;/admin/treasury-accounts&quot;,e,{requireAuth:!0})},async update(e,r){return Ze.put(`/admin/treasury-accounts/${e}`,r,{requireAuth:!0})},async delete(e){return Ze.delete(`/admin/treasury-accounts/${e}`,{requireAuth:!0})}},iu={async list(e={}){const r={};e.event_type&amp;&amp;(r.event_type=e.event_type);const t=await Ze.get(&quot;/admin/budget-categories&quot;,{params:r,requireAuth:!0});return Array.isArray(t)?t:t?.data??[]},async create(e){const r=await Ze.post(&quot;/admin/budget-categories&quot;,e,{requireAuth:!0});return r?.data??r},async update(e,r){const t=await Ze.put(`/admin/budget-categories/${e}`,r,{requireAuth:!0});return t?.data??t},async delete(e){await Ze.delete(`/admin/budget-categories/${e}`,{requireAuth:!0})}},ay={list(e={}){return Ze.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 Ze.getAsBlob(&quot;/admin/audit-logs/export&quot;,{params:r,requireAuth:!0}),n=URL.createObjectURL(t),o=document.createElement(&quot;a&quot;);o.href=n,o.download=`audit-logs-${new Date().toISOString().slice(0,10)}.csv`,o.click(),URL.revokeObjectURL(n)},async purge(e){return await Ze.post(&quot;/admin/audit-logs/purge&quot;,{before:e},{requireAuth:!0})}},oo={async list(e){const r=await Ze.get(`/finance/events/${e}/budget-lines`,{requireAuth:!0}),t=r?.data??r;return Array.isArray(t)?t:[]},async create(e,r){const t=await Ze.post(`/finance/events/${e}/budget-lines`,r,{requireAuth:!0});return t?.data??t},async update(e,r){const t=await Ze.put(`/finance/budget-lines/${e}`,r,{requireAuth:!0});return t?.data??t},async delete(e){await Ze.delete(`/finance/budget-lines/${e}`,{requireAuth:!0})},async moveUp(e){await Ze.post(`/finance/budget-lines/${e}/move-up`,{},{requireAuth:!0})},async moveDown(e){await Ze.post(`/finance/budget-lines/${e}/move-down`,{},{requireAuth:!0})}},B0={async list(e){const r=await Ze.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 Ze.post(&quot;/finance/expenses&quot;,e,{requireAuth:!0});return r?.data??r},async update(e,r){const t=await Ze.put(`/finance/expenses/${e}`,r,{requireAuth:!0});return t?.data??t},async delete(e){await Ze.delete(`/finance/expenses/${e}`,{requireAuth:!0})}},BL={async storePublic(e){return Ze.post(&quot;/public/donations&quot;,e,{requireAuth:!1})},async store(e){return Ze.post(&quot;/donations&quot;,e,{requireAuth:!0})}};function Kh(e){const[r,t]=q.useState([]),[n,o]=q.useState(!0),[i,a]=q.useState(null),u=async()=&gt;{o(!0),a(null);try{const l=await Xb.list(e);t(l)}catch(l){a(l)}finally{o(!1)}};return q.useEffect(()=&gt;{u()},[e?.mode,e?.type]),{events:r,loading:n,error:i,refetch:u}}function T8(e){const[r,t]=q.useState([]),[n,o]=q.useState(!0),[i,a]=q.useState(null),u=async()=&gt;{if(!e){o(!1);return}o(!0),a(null);try{const l=await Xb.getPricingPlans(e);t(l)}catch(l){a(l)}finally{o(!1)}};return q.useEffect(()=&gt;{u()},[e]),{plans:r,loading:n,error:i,refetch:u}}function zL(e={},r=!0){const[t,n]=q.useState(null),[o,i]=q.useState(!0),[a,u]=q.useState(null),l=q.useCallback(async()=&gt;{if(!r){i(!1);return}i(!0),u(null);try{const s=await ko.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 q.useEffect(()=&gt;{l()},[l]),{data:t,loading:o,error:a,refetch:l}}function $L(e={},r=!0){const[t,n]=q.useState(null),[o,i]=q.useState(!0),[a,u]=q.useState(null),l=q.useCallback(async()=&gt;{if(!r){i(!1);return}i(!0),u(null);try{const s=await ko.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 q.useEffect(()=&gt;{l()},[l]),{data:t,loading:o,error:a,refetch:l}}function UL(e={},r=!0){const[t,n]=q.useState(null),[o,i]=q.useState(r),[a,u]=q.useState(null),l=q.useCallback(async()=&gt;{if(!r){i(!1);return}i(!0),u(null);try{const s=await nu.list(e);n(s)}catch(s){s instanceof mr?u(s):u(new mr(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 q.useEffect(()=&gt;{l()},[l]),{data:t,loading:o,error:a,refetch:l}}function VL(e={},r=!0){const[t,n]=q.useState(null),[o,i]=q.useState(!0),[a,u]=q.useState(null),l=q.useCallback(async()=&gt;{if(!r){i(!1);return}i(!0),u(null);try{const s=await Ia.list(e);n(s)}catch(s){u(s)}finally{i(!1)}},[e.page,e.per_page,e.role,e.q,r]);return q.useEffect(()=&gt;{l()},[l]),{data:t,loading:o,error:a,refetch:l}}function qL(e,r){const[t,n]=q.useState(null),[o,i]=q.useState(!1),[a,u]=q.useState(null),l=q.useCallback(()=&gt;{i(!0),u(null),ay.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 q.useEffect(()=&gt;{l()},[l]),{data:t,loading:o,error:a,refetch:l}}const WL=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 HL(e){return typeof e==&quot;string&quot;?e:e.name}function KL(e){return typeof e==&quot;string&quot;?e:e.name}function ks(){const[e,r]=q.useState(null),[t,n]=q.useState(!0),[o,i]=q.useState(null),a=async()=&gt;{if(!Yi.isAuthenticated())return r(null),n(!1),null;n(!0),i(null);try{const g=await Yi.me();return r(g),g}catch(g){return i(g),r(null),null}finally{n(!1)}};q.useEffect(()=&gt;{a()},[]),q.useEffect(()=&gt;{const g=()=&gt;{Yi.isAuthenticated()?a():(r(null),n(!1))};window.addEventListener(&quot;storage&quot;,g);const y=setInterval(()=&gt;{!Yi.isAuthenticated()&amp;&amp;e&amp;&amp;(r(null),n(!1))},1e3);return()=&gt;{window.removeEventListener(&quot;storage&quot;,g),clearInterval(y)}},[e]);const u=q.useMemo(()=&gt;(e?.roles??[]).map(HL),[e?.roles]),l=q.useMemo(()=&gt;(e?.permissions??[]).map(KL),[e?.permissions]),s=q.useMemo(()=&gt;u.some(g=&gt;WL.has(g)),[u]),c=q.useMemo(()=&gt;u.includes(&quot;participant&quot;)&amp;&amp;!s,[u,s]),m=q.useMemo(()=&gt;g=&gt;u.includes(&quot;SUPER_ADMIN&quot;)?!0:l.includes(g),[u,l]),h=s,d=m(&quot;payments.read&quot;)||m(&quot;batches.read&quot;);return{user:e,loading:t,error:o,isAuthenticated:!!e,isAdmin:h,isTreasurer:d,roles:u,permissions:l,canAccessAdmin:s,isParticipant:c,can:m,refetch:a}}const Fe=q.forwardRef(function({variant:r=&quot;primary&quot;,children:t,className:n=&quot;&quot;,...o},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 f.jsx(&quot;button&quot;,{ref:i,className:`${a} ${u[r]} ${n}`,...o,children:t})}),A3=&quot;sommet-haggai-franco-2026&quot;,z0=&quot;seminaire-regional-hybride-2026&quot;,XL=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;}},Yd=[{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)),M3=[{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;}],O3=[{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;}];function GL({preselectedEvents:e,onSuccess:r,onConflict:t,onError:n}){const o=()=&gt;d.selectedEvents.length===0?1:d.selectedEvents.length===1?2:d.selectedEvents.length===2?3:d.selectedEvents.length===3?4:1,[i,a]=q.useState(1),[u,l]=q.useState(!1),[s,c]=q.useState({}),[m,h]=q.useState(!1);q.useEffect(()=&gt;{window.scrollTo({top:0,behavior:&quot;smooth&quot;})},[i]);const[d,g]=q.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;&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;,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_fardeau_transformation:&quot;&quot;,seminar_recommande_par:&quot;&quot;,seminar_engagements:[],seminar_engagements_autre:&quot;&quot;});q.useEffect(()=&gt;{h(d.package_code===&quot;A&quot;)},[d.package_code]);const y=d.selectedEvents.includes(&quot;summit&quot;)?A3:null,{plans:p,loading:b}=T8(y),x=35e4,_=535,E=()=&gt;d.payment_method_selected===&quot;card_visa&quot;?`${_.toLocaleString(&quot;fr-FR&quot;)} €`:`${x.toLocaleString(&quot;fr-FR&quot;)} FCFA`,M=()=&gt;{if(!d.package_code||!p.length)return null;const te=p.find(ae=&gt;ae.code===d.package_code);return te?d.payment_method_selected===&quot;card_visa&quot;?te.price_eur:te.price_xof:null},D=(te,ae)=&gt;ae===&quot;EUR&quot;?`${te.toLocaleString(&quot;fr-FR&quot;)} €`:`${te.toLocaleString(&quot;fr-FR&quot;)} FCFA`,W=()=&gt;{if(!(d.selectedEvents.includes(&quot;summit&quot;)&amp;&amp;d.selectedEvents.includes(&quot;seminar&quot;)&amp;&amp;d.seminar_want_to_participate===&quot;oui&quot;))return null;const ae=M();if(ae===null)return null;const ce=d.payment_method_selected===&quot;card_visa&quot;?&quot;EUR&quot;:&quot;XOF&quot;,se=ae+(ce===&quot;EUR&quot;?_:x);return{total:se,currency:ce,formatted:D(se,ce)}},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;}],V=te=&gt;{for(const se of te){if(!se)continue;const[ue,ie]=se.split(&quot;-&quot;).map(Number);if(ie&lt;2||ie&gt;8||ue&gt;2026||ue===2026&amp;&amp;ie&gt;9)return!1}return!0},H=te=&gt;{const ae=[...d.installment_months];te===1?z(&quot;installment_months&quot;,[ae[0]||&quot;&quot;]):te===2?z(&quot;installment_months&quot;,[ae[0]||&quot;&quot;,ae[1]||&quot;&quot;]):z(&quot;installment_months&quot;,[ae[0]||&quot;&quot;,ae[1]||&quot;&quot;,ae[2]||&quot;&quot;]),z(&quot;installment_count&quot;,te)},K=(te,ae)=&gt;{const ce=[...d.installment_months];ce[te]=ae,z(&quot;installment_months&quot;,ce)},z=(te,ae)=&gt;{g(ce=&gt;({...ce,[te]:ae})),s[te]&amp;&amp;c(ce=&gt;{const fe={...ce};return delete fe[te],fe})},O=te=&gt;{g(ae=&gt;{const ce=ae.seminar_domaines_etude||[],fe=ce.includes(te)?ce.filter(se=&gt;se!==te):[...ce,te];return{...ae,seminar_domaines_etude:fe}}),c(ae=&gt;{const ce={...ae};return delete ce.seminar_domaines_etude,delete ce.seminar_domaine_etude_autre,ce})},I=te=&gt;{g(ae=&gt;{const ce=ae.seminar_engagements||[],fe=ce.includes(te)?ce.filter(se=&gt;se!==te):[...ce,te];return{...ae,seminar_engagements:fe}}),c(ae=&gt;{const ce={...ae};return delete ce.seminar_engagements,delete ce.seminar_engagements_autre,ce})},C=te=&gt;{const ae=Yd.find(ce=&gt;ce.name===te);if(z(&quot;country&quot;,te),ae&amp;&amp;ae.dialCode!==&quot;+&quot;){const ce=d.phone.trim(),fe=ae.dialCode+&quot; &quot;;if(!ce||ce===&quot;&quot;){z(&quot;phone&quot;,fe);return}const se=Yd.find(ue=&gt;ue.dialCode!==&quot;+&quot;&amp;&amp;(ce.startsWith(ue.dialCode)||ce.startsWith(ue.dialCode+&quot; &quot;)));if(se){let ue=ce;ue.startsWith(se.dialCode+&quot; &quot;)?ue=ue.substring(se.dialCode.length+1):ue.startsWith(se.dialCode)&amp;&amp;(ue=ue.substring(se.dialCode.length)),ue=ue.trim(),z(&quot;phone&quot;,fe+ue)}else if(!ce.startsWith(&quot;+&quot;))z(&quot;phone&quot;,fe+ce);else if(ce.match(/^\+\s*(\d+)/)){const ie=ce.replace(/^\+\s*/,&quot;&quot;).trim();z(&quot;phone&quot;,fe+ie)}else z(&quot;phone&quot;,fe)}},j=te=&gt;{const ae=te.trim(),ce=Yd.find(fe=&gt;fe.name===d.country);if(ce&amp;&amp;ce.dialCode!==&quot;+&quot;&amp;&amp;ae.startsWith(ce.dialCode)&amp;&amp;ae.length&gt;ce.dialCode.length){const fe=ae.substring(ce.dialCode.length);if(fe&amp;&amp;!fe.startsWith(&quot; &quot;)){z(&quot;phone&quot;,ce.dialCode+&quot; &quot;+fe);return}}z(&quot;phone&quot;,te)},k=te=&gt;{g(ae=&gt;({...ae,selectedEvents:[te]})),s.selectedEvents&amp;&amp;c(ae=&gt;{const ce={...ae};return delete ce.selectedEvents,ce})},S=()=&gt;d.selectedEvents.length===0?(c({selectedEvents:[&quot;Veuillez choisir une option&quot;]}),!1):!0,N=()=&gt;{const te={};return d.first_name.trim()||(te.first_name=[&quot;Le prénom est requis&quot;]),d.last_name.trim()||(te.last_name=[&quot;Le nom est requis&quot;]),d.email.trim()?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(d.email)||(te.email=[&quot;Format d&#039;email invalide&quot;]):te.email=[&quot;L&#039;email est requis&quot;],d.phone.trim()||(te.phone=[&quot;Le téléphone est requis&quot;]),d.country.trim()||(te.country=[&quot;Le pays est requis&quot;]),c(te),Object.keys(te).length===0},T=()=&gt;{const te={};return d.package_code||(te.package_code=[&quot;Veuillez sélectionner une formule pour le Sommet&quot;]),d.package_code===&quot;A&quot;&amp;&amp;!d.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;]),d.package_code===&quot;D&quot;&amp;&amp;!d.spouse_fullname.trim()&amp;&amp;(te.spouse_fullname=[&quot;Le nom du conjoint est requis pour la formule D&quot;]),d.participated_haggai_seminar!==&quot;oui&quot;&amp;&amp;d.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;]),d.participated_haggai_seminar===&quot;oui&quot;&amp;&amp;!d.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;]),c(te),Object.keys(te).length===0},R=()=&gt;{const te={},ae=d.seminar_want_to_participate===&quot;oui&quot;;if(d.seminar_want_to_participate||(te.seminar_want_to_participate=[&quot;Veuillez indiquer si vous souhaitez participer au Séminaire&quot;]),ae){if(d.seminar_church_organization.trim()||(te.seminar_church_organization=[&quot;L&#039;église ou organisation est requise&quot;]),d.seminar_role_ministry.trim()||(te.seminar_role_ministry=[&quot;Le rôle dans le ministère est requis&quot;]),d.seminar_marital_status||(te.seminar_marital_status=[&quot;La situation matrimoniale est requise&quot;]),!d.seminar_age?.trim())te.seminar_age=[&quot;L&#039;âge est requis&quot;];else{const ce=parseInt(d.seminar_age,10);(isNaN(ce)||ce&lt;1||ce&gt;120)&amp;&amp;(te.seminar_age=[&quot;L&#039;âge doit être entre 1 et 120&quot;])}d.seminar_gender||(te.seminar_gender=[&quot;Le genre est requis&quot;]),d.seminar_question_or_concern.trim()||(te.seminar_question_or_concern=[&quot;La question ou préoccupation est requise&quot;]),d.seminar_date_naissance?.trim()||(te.seminar_date_naissance=[&quot;La date de naissance est requise&quot;]),d.seminar_contact_urgence_nom_lien.trim()||(te.seminar_contact_urgence_nom_lien=[&quot;Le contact d&#039;urgence (nom et lien) est requis&quot;]),d.seminar_niveau_etudes||(te.seminar_niveau_etudes=[&quot;Le niveau d&#039;études est requis&quot;]),!d.seminar_domaines_etude?.length&amp;&amp;!d.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;]),d.seminar_niveau_francais||(te.seminar_niveau_francais=[&quot;Le niveau de français est requis&quot;]),d.seminar_besoin_lettre_absence||(te.seminar_besoin_lettre_absence=[&quot;Indiquez si vous avez besoin d&#039;une lettre d&#039;absence&quot;]),d.seminar_besoin_lettre_absence===&quot;oui&quot;&amp;&amp;!d.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;]),d.seminar_sante_details?.trim()||(te.seminar_sante_details=[&quot;Les informations de santé sont requises (indiquez « Aucun » si applicable)&quot;]),d.seminar_regime_sans_sel||(te.seminar_regime_sans_sel=[&quot;Indiquez si vous suivez un régime sans sel&quot;]),d.seminar_confession_religieuse||(te.seminar_confession_religieuse=[&quot;La confession religieuse est requise&quot;]),d.seminar_fardeau_transformation?.trim()||(te.seminar_fardeau_transformation=[&quot;Le fardeau de transformation est requis&quot;]),d.seminar_recommande_par?.trim()||(te.seminar_recommande_par=[&quot;Indiquez par qui vous êtes recommandé(e)&quot;]),!d.seminar_engagements?.length&amp;&amp;!d.seminar_engagements_autre?.trim()&amp;&amp;(te.seminar_engagements=[&quot;Sélectionnez au moins un engagement ou précisez dans « Autre »&quot;])}return c(te),Object.keys(te).length===0},B=()=&gt;{const te={};for(let ce=0;ce&lt;d.installment_count;ce++)(!d.installment_months[ce]||!d.installment_months[ce].trim())&amp;&amp;(te[`installment_month_${ce}`]=[`L&#039;échéance ${ce+1} est requise`]);const ae=d.installment_months.filter(ce=&gt;ce&amp;&amp;ce.trim());return ae.length&gt;0&amp;&amp;!V(ae)&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;]),c(te),Object.keys(te).length===0},Y=()=&gt;!(!d.first_name.trim()||!d.last_name.trim()||!d.email.trim()||!d.phone.trim()||!d.country.trim()||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(d.email)||!d.recommended_first_name.trim()||!d.recommended_last_name.trim()||!d.recommended_profession.trim()||!d.recommended_residence_country.trim()||!d.recommended_phone_whatsapp.trim()||!d.recommended_email.trim()||!d.recommended_gender||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(d.recommended_email)),Q=()=&gt;{if(!d.first_name.trim()||!d.last_name.trim()||!d.email.trim()||!d.phone.trim()||!d.country.trim()||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(d.email))return!1;const te=d.selectedEvents.includes(&quot;summit&quot;);return!(te&amp;&amp;!d.package_code||te&amp;&amp;d.package_code===&quot;A&quot;&amp;&amp;!d.ouaga_resident_confirmed||te&amp;&amp;d.package_code===&quot;D&quot;&amp;&amp;!d.spouse_fullname.trim()||te&amp;&amp;d.participated_haggai_seminar!==&quot;oui&quot;&amp;&amp;d.participated_haggai_seminar!==&quot;non&quot;||te&amp;&amp;d.participated_haggai_seminar===&quot;oui&quot;&amp;&amp;!d.hle_vhle_number.trim())},ne=()=&gt;{const te={};return d.recommended_first_name.trim()||(te.recommended_first_name=[&quot;Le prénom de la personne recommandée est requis&quot;]),d.recommended_last_name.trim()||(te.recommended_last_name=[&quot;Le nom de la personne recommandée est requis&quot;]),d.recommended_profession.trim()||(te.recommended_profession=[&quot;La profession est requise&quot;]),d.recommended_residence_country.trim()||(te.recommended_residence_country=[&quot;Le pays de résidence est requis&quot;]),d.recommended_phone_whatsapp.trim()||(te.recommended_phone_whatsapp=[&quot;Le téléphone WhatsApp est requis&quot;]),d.recommended_email.trim()?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(d.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;],d.recommended_gender||(te.recommended_gender=[&quot;Le genre de la personne recommandée est requis&quot;]),c(te),Object.keys(te).length===0},U=()=&gt;{S()&amp;&amp;a(2)},ee=()=&gt;{const te=o();if(!N())return;const ae=d.selectedEvents.includes(&quot;summit&quot;),ce=d.selectedEvents.includes(&quot;seminar&quot;),fe=d.selectedEvents.includes(&quot;recommend&quot;),se=fe&amp;&amp;!ae&amp;&amp;!ce?!0:B();te===4?T()&amp;&amp;se&amp;&amp;a(3):te===3?ae&amp;&amp;ce||ae&amp;&amp;fe?T()&amp;&amp;se&amp;&amp;a(3):ce&amp;&amp;fe&amp;&amp;R()&amp;&amp;se&amp;&amp;a(3):te===2&amp;&amp;(ae?T()&amp;&amp;se&amp;&amp;re():ce?R()&amp;&amp;se&amp;&amp;re():fe&amp;&amp;ne()&amp;&amp;re())},F=()=&gt;{a(1)},P=()=&gt;{a(2)},X=()=&gt;{const te=o();if(!N())return;const ae=d.selectedEvents.includes(&quot;summit&quot;),ce=d.selectedEvents.includes(&quot;seminar&quot;),fe=d.selectedEvents.includes(&quot;recommend&quot;);te===4?R()&amp;&amp;a(4):te===3&amp;&amp;(ae&amp;&amp;ce?T()&amp;&amp;R()&amp;&amp;re():ae&amp;&amp;fe?T()&amp;&amp;ne()&amp;&amp;re():ce&amp;&amp;fe&amp;&amp;ne()&amp;&amp;re())},re=async te=&gt;{const ae=d.selectedEvents.includes(&quot;summit&quot;),ce=d.selectedEvents.includes(&quot;seminar&quot;),fe=d.selectedEvents.includes(&quot;recommend&quot;),se=fe&amp;&amp;d.selectedEvents.length===1;if(N()&amp;&amp;!(ae&amp;&amp;!T())&amp;&amp;!(ce&amp;&amp;!R())&amp;&amp;!(se&amp;&amp;!ne())&amp;&amp;!(!se&amp;&amp;!B())){l(!0),c({});try{const ue=[],ie=[],he=[],ge=[];if(se)try{const pe={website:&quot;&quot;,event:z0,recommender_first_name:d.first_name.trim(),recommender_last_name:d.last_name.trim(),recommender_email:d.email.trim().toLowerCase(),recommender_phone:d.phone.trim(),recommender_country:d.country.trim()||void 0,recommended_full_name:[d.recommended_first_name.trim(),d.recommended_last_name.trim()].filter(Boolean).join(&quot; &quot;),recommended_profession:d.recommended_profession.trim(),recommended_residence_country:d.recommended_residence_country.trim(),recommended_phone_whatsapp:d.recommended_phone_whatsapp.trim(),recommended_email:d.recommended_email.trim()?d.recommended_email.trim().toLowerCase():void 0,recommended_gender:d.recommended_gender,...d.recommended_contacted_before===&quot;oui&quot;||d.recommended_contacted_before===&quot;non&quot;?{recommender_contacted_person:d.recommended_contacted_before}:{}},le=await C3.create(pe);ie.push(le.recommendation_id),r&amp;&amp;r({id:le.recommendation_id,type:&quot;recommendation&quot;}),l(!1);return}catch(pe){if(pe instanceof mr)if(pe.status===422){const le=pe.data.errors||{};c(le),he.push(&quot;Erreurs de validation pour la recommandation.&quot;)}else he.push(`Erreur lors de la création de la recommandation: ${pe.data.message||&quot;Une erreur est survenue.&quot;}`);else he.push(&quot;Erreur inattendue lors de la création de la recommandation.&quot;);he.length&gt;0&amp;&amp;n&amp;&amp;n(he.join(&quot; &quot;)),l(!1);return}for(const pe of d.selectedEvents){if(pe===&quot;recommend&quot;)continue;const le=pe===&quot;summit&quot;?A3:z0;let _e=0;if(pe===&quot;summit&quot;){if(!d.package_code){he.push(&quot;Veuillez sélectionner une formule pour le Sommet&quot;);continue}if(b){he.push(&quot;Chargement des formules du Sommet en cours...&quot;);continue}if(p.length===0){he.push(&quot;Aucune formule disponible pour le Sommet. Veuillez réessayer.&quot;);continue}const Oe=p.find(Pe=&gt;Pe.code===d.package_code);if(!Oe){he.push(&quot;La formule sélectionnée n&#039;existe pas pour le Sommet&quot;);continue}_e=Oe.id}else pe===&quot;seminar&quot;&amp;&amp;(_e=0);const Se={website:&quot;&quot;,...pe===&quot;summit&quot;&amp;&amp;{pricing_plan_id:_e},first_name:d.first_name.trim(),last_name:d.last_name.trim(),email:d.email.trim().toLowerCase(),phone:d.phone.trim(),country:d.country.trim(),city:d.city.trim()||void 0,organization:d.organization.trim()||void 0,position:d.position.trim()||void 0,nationality:d.nationality.trim()||void 0,is_haggai_leader:d.participated_haggai_seminar===&quot;oui&quot;,haggai_id:d.participated_haggai_seminar===&quot;oui&quot;&amp;&amp;d.hle_vhle_number.trim()||void 0,payment_method_selected:d.payment_method_selected};if(d.installment_months.some(Oe=&gt;Oe&amp;&amp;Oe.trim())&amp;&amp;(Se.installment_config={method:d.payment_method_selected,number_of_installments:d.installment_count,installments:d.installment_months.filter(Oe=&gt;Oe&amp;&amp;Oe.trim()).map(Oe=&gt;({month:Oe.trim()}))}),pe===&quot;summit&quot;&amp;&amp;(Se.ouaga_resident_confirmed=d.ouaga_resident_confirmed||!1,d.package_code===&quot;D&quot;&amp;&amp;d.spouse_fullname.trim()&amp;&amp;(Se.spouse_fullname=d.spouse_fullname.trim()),d.package_code===&quot;D&quot;&amp;&amp;d.spouse_email?.trim()&amp;&amp;(Se.spouse_email=d.spouse_email.trim().toLowerCase()),d.package_code===&quot;D&quot;&amp;&amp;d.spouse_haggai_id?.trim()&amp;&amp;(Se.spouse_haggai_id=d.spouse_haggai_id.trim())),pe===&quot;seminar&quot;){let Oe=&quot;participate&quot;;d.selectedEvents.includes(&quot;seminar&quot;)||(Oe=&quot;na&quot;),Se.seminar_intent=Oe,Se.seminar_want_to_participate=d.seminar_want_to_participate&amp;&amp;(d.seminar_want_to_participate===&quot;oui&quot;||d.seminar_want_to_participate===&quot;non&quot;)?d.seminar_want_to_participate:&quot;non&quot;,Se.seminar_marital_status=d.seminar_marital_status&amp;&amp;(d.seminar_marital_status===&quot;marie&quot;||d.seminar_marital_status===&quot;non_marie&quot;)?d.seminar_marital_status:&quot;non_marie&quot;;const Pe=d.seminar_age?String(d.seminar_age).trim():&quot;&quot;,Ie=Pe?parseInt(Pe,10):25;Se.seminar_age=isNaN(Ie)||Ie&lt;1?25:Ie&gt;120?120:Ie,Se.seminar_gender=d.seminar_gender&amp;&amp;(d.seminar_gender===&quot;homme&quot;||d.seminar_gender===&quot;femme&quot;)?d.seminar_gender:&quot;homme&quot;,Se.seminar_church_organization=d.seminar_church_organization.trim(),Se.seminar_role_ministry=d.seminar_role_ministry.trim(),Se.seminar_question_or_concern=d.seminar_question_or_concern.trim(),d.seminar_want_to_participate===&quot;oui&quot;&amp;&amp;(Se.seminar_date_naissance=d.seminar_date_naissance?.trim()||void 0,Se.seminar_contact_urgence_nom_lien=d.seminar_contact_urgence_nom_lien?.trim()||void 0,Se.seminar_niveau_etudes=d.seminar_niveau_etudes&amp;&amp;[&quot;primaire&quot;,&quot;secondaire_2&quot;,&quot;universitaire&quot;].includes(d.seminar_niveau_etudes)?d.seminar_niveau_etudes:void 0,Se.seminar_domaines_etude=d.seminar_domaines_etude?.length?d.seminar_domaines_etude:void 0,Se.seminar_domaine_etude_autre=d.seminar_domaine_etude_autre?.trim()||void 0,Se.seminar_niveau_francais=d.seminar_niveau_francais&amp;&amp;[&quot;natif&quot;,&quot;avance&quot;,&quot;intermediaire&quot;,&quot;faible&quot;].includes(d.seminar_niveau_francais)?d.seminar_niveau_francais:void 0,Se.seminar_besoin_lettre_absence=d.seminar_besoin_lettre_absence===&quot;oui&quot;||d.seminar_besoin_lettre_absence===&quot;non&quot;?d.seminar_besoin_lettre_absence:void 0,Se.seminar_besoin_lettre_details=d.seminar_besoin_lettre_details?.trim()||void 0,Se.seminar_sante_details=d.seminar_sante_details?.trim()||void 0,Se.seminar_regime_sans_sel=d.seminar_regime_sans_sel===&quot;oui&quot;||d.seminar_regime_sans_sel===&quot;non&quot;?d.seminar_regime_sans_sel:void 0,Se.seminar_confession_religieuse=d.seminar_confession_religieuse&amp;&amp;[&quot;musulmane&quot;,&quot;catholique&quot;,&quot;protestante&quot;,&quot;pentecotiste&quot;,&quot;evangelique&quot;].includes(d.seminar_confession_religieuse)?d.seminar_confession_religieuse:void 0,Se.seminar_fardeau_transformation=d.seminar_fardeau_transformation?.trim()||void 0,Se.seminar_recommande_par=d.seminar_recommande_par?.trim()||void 0,Se.seminar_engagements=d.seminar_engagements?.length?d.seminar_engagements:void 0,Se.seminar_engagements_autre=d.seminar_engagements_autre?.trim()||void 0)}try{const Oe=await Gb.create(le,Se);Oe&amp;&amp;Oe.registration_id?ue.push(Oe.registration_id):(console.error(&quot;Réponse invalide pour&quot;,pe,Oe),he.push(`Réponse invalide lors de l&#039;inscription à ${pe===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}.`))}catch(Oe){if(console.error(&quot;Erreur lors de l&#039;inscription à&quot;,pe,Oe),Oe instanceof mr)if(Oe.status===409){const Pe=Oe.data;Pe?.existing_registration_id?ge.push({eventType:pe===&quot;summit&quot;?&quot;Sommet&quot;:&quot;Séminaire&quot;,existingId:Pe.existing_registration_id}):he.push(`Erreur lors de l&#039;inscription à ${pe===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}: ${Oe.data.message||&quot;Une erreur est survenue.&quot;}`)}else if(Oe.status===422){const Pe=Oe.data?.errors||{};Object.keys(Pe).length&gt;0&amp;&amp;console.error(&quot;Validation 422 (inscription)&quot;,Pe);const Ie=[],Ve={};Object.keys(Pe).forEach(Qe=&gt;{const Ke=Array.isArray(Pe[Qe])?Pe[Qe]:[Pe[Qe]];Ke.forEach(it=&gt;Ie.push(it)),Ve[`${Qe}_${pe}`]=Ke,pe===&quot;summit&quot;&amp;&amp;Qe===&quot;pricing_plan_id&quot;&amp;&amp;(Ve.package_code=Ke),Qe===&quot;payment_method_selected&quot;&amp;&amp;(Ve.payment_method_selected=Ke),Qe===&quot;ouaga_resident_confirmed&quot;&amp;&amp;(Ve.ouaga_resident_confirmed=Ke),Qe===&quot;spouse_fullname&quot;&amp;&amp;(Ve.spouse_fullname=Ke)}),Ie.length&gt;0&amp;&amp;(Ve._general=Ie),c(Qe=&gt;({...Qe,...Ve})),he.push(`Erreurs de validation pour ${pe===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}.`)}else Oe.status===404?he.push(`Les inscriptions publiques ne sont pas disponibles pour ${pe===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}.`):he.push(`Erreur lors de l&#039;inscription à ${pe===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}: ${Oe.data.message||&quot;Une erreur est survenue.&quot;}`);else he.push(`Erreur inattendue lors de l&#039;inscription à ${pe===&quot;summit&quot;?&quot;le Sommet&quot;:&quot;le Séminaire&quot;}.`)}}if(fe&amp;&amp;!se)try{const pe={website:&quot;&quot;,event:z0,recommender_first_name:d.first_name.trim(),recommender_last_name:d.last_name.trim(),recommender_email:d.email.trim().toLowerCase(),recommender_phone:d.phone.trim(),recommender_country:d.country.trim()||void 0,recommended_full_name:[d.recommended_first_name.trim(),d.recommended_last_name.trim()].filter(Boolean).join(&quot; &quot;),recommended_profession:d.recommended_profession.trim(),recommended_residence_country:d.recommended_residence_country.trim(),recommended_phone_whatsapp:d.recommended_phone_whatsapp.trim(),recommended_email:d.recommended_email.trim()?d.recommended_email.trim().toLowerCase():void 0,recommended_gender:d.recommended_gender,...d.recommended_contacted_before===&quot;oui&quot;||d.recommended_contacted_before===&quot;non&quot;?{recommender_contacted_person:d.recommended_contacted_before}:{}},le=await C3.create(pe);ie.push(le.recommendation_id)}catch(pe){if(pe instanceof mr)if(pe.status===422){const le=pe.data.errors||{};c(_e=&gt;({..._e,...le})),he.push(&quot;Erreurs de validation pour la recommandation.&quot;)}else he.push(`Erreur lors de la création de la recommandation: ${pe.data.message||&quot;Une erreur est survenue.&quot;}`);else he.push(&quot;Erreur inattendue lors de la création de la recommandation.&quot;)}if(ue.length&gt;0||ie.length&gt;0){if(r&amp;&amp;(ue.length&gt;0?r({id:ue[0],type:&quot;registration&quot;}):ie.length&gt;0&amp;&amp;r({id:ie[0],type:&quot;recommendation&quot;})),ge.length&gt;0&amp;&amp;t&amp;&amp;t(ge[0].existingId),he.length&gt;0&amp;&amp;n){const pe=he.join(&quot; &quot;),le=ge.length&gt;0?` Note: ${ge.length} inscription(s) existante(s) détectée(s) pour ${ge.map(_e=&gt;_e.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(ge.length&gt;0&amp;&amp;!t){const pe=`${ge.length} inscription(s) existante(s) détectée(s) pour ${ge.map(le=&gt;le.eventType).join(&quot; et &quot;)}.`;n&amp;&amp;n(pe)}}else if(ge.length&gt;0&amp;&amp;he.length===0){const pe=ge.map(_e=&gt;`${_e.eventType} (ID: ${_e.existingId})`).join(&quot; et &quot;),le=`Vous avez déjà une inscription pour ${ge.length&gt;1?&quot;les événements suivants&quot;:&quot;cet événement&quot;}: ${pe}.`;c({_general:[le]}),t?t(ge[0].existingId):n&amp;&amp;n(le)}else if(he.length&gt;0){if(c(pe=&gt;Object.keys(pe).some(_e=&gt;_e!==&quot;_general&quot;&amp;&amp;Array.isArray(pe[_e])&amp;&amp;pe[_e].length&gt;0)&amp;&amp;pe._general&amp;&amp;pe._general.length&gt;0?pe:{...pe,_general:he}),n){const pe=ge.length&gt;0?` Note: ${ge.length} inscription(s) existante(s) détectée(s) pour ${ge.map(le=&gt;le.eventType).join(&quot; et &quot;)}.`:&quot;&quot;;n(he.join(&quot; &quot;)+pe)}}else c({_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{c({_general:[&quot;Une erreur inattendue est survenue.&quot;]}),n&amp;&amp;n(&quot;Une erreur inattendue est survenue.&quot;)}finally{l(!1)}}},Z=te=&gt;{const ae=s[te];return ae&amp;&amp;ae.length&gt;0?ae[0]:void 0};if(u)return f.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:[f.jsx(YD,{className:&quot;w-14 h-14 text-brand-600 animate-spin mb-6&quot;,&quot;aria-hidden&quot;:!0}),f.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;}),f.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(i===1){const te=e?.length===1?e[0]:null,ae=!te||te===&quot;summit&quot;,ce=!te||te===&quot;seminar&quot;,fe=!te||te===&quot;recommend&quot;;return f.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;div&quot;,{className:te?&quot;max-w-sm mx-auto&quot;:&quot;&quot;,children:f.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:[ae&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;flex flex-col h-full&quot;,children:[f.jsxs(&quot;div&quot;,{onClick:()=&gt;k(&quot;summit&quot;),className:`bg-white rounded-xl shadow-soft overflow-hidden border transition-all flex flex-col flex-1 cursor-pointer ${d.selectedEvents.includes(&quot;summit&quot;)?&quot;border-brand-700 border-2 shadow-lg&quot;:&quot;border-gray-200 hover:shadow-lg&quot;}`,children:[f.jsx(&quot;div&quot;,{className:&quot;relative h-48 overflow-hidden bg-gray-100 flex-shrink-0&quot;,children:f.jsx(&quot;img&quot;,{src:&quot;/sommet1.webp&quot;,alt:&quot;Sommet Francophone&quot;,className:&quot;w-full h-full object-cover&quot;})}),f.jsx(&quot;div&quot;,{className:&quot;p-4 text-center flex-1 flex items-center justify-center&quot;,children:f.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900&quot;,children:&quot;Sommet Francophone&quot;})})]}),f.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:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;selectedEvent&quot;,value:&quot;summit&quot;,checked:d.selectedEvents.includes(&quot;summit&quot;),onChange:()=&gt;k(&quot;summit&quot;),className:&quot;w-5 h-5 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-light text-sm&quot;,children:&quot;Choisir&quot;})]})]}),ce&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;flex flex-col h-full&quot;,children:[f.jsxs(&quot;div&quot;,{onClick:()=&gt;k(&quot;seminar&quot;),className:`bg-white rounded-xl shadow-soft overflow-hidden border transition-all flex flex-col flex-1 cursor-pointer ${d.selectedEvents.includes(&quot;seminar&quot;)?&quot;border-brand-700 border-2 shadow-lg&quot;:&quot;border-gray-200 hover:shadow-lg&quot;}`,children:[f.jsx(&quot;div&quot;,{className:&quot;relative h-48 overflow-hidden bg-gray-100 flex-shrink-0&quot;,children:f.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;})}),f.jsx(&quot;div&quot;,{className:&quot;p-4 text-center flex-1 flex items-center justify-center&quot;,children:f.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900&quot;,children:&quot;Séminaire Régional&quot;})})]}),f.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:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;selectedEvent&quot;,value:&quot;seminar&quot;,checked:d.selectedEvents.includes(&quot;seminar&quot;),onChange:()=&gt;k(&quot;seminar&quot;),className:&quot;w-5 h-5 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-light text-sm&quot;,children:&quot;Choisir&quot;})]})]}),fe&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;flex flex-col h-full&quot;,children:[f.jsxs(&quot;div&quot;,{onClick:()=&gt;k(&quot;recommend&quot;),className:`bg-white rounded-xl shadow-soft overflow-hidden border transition-all flex flex-col flex-1 cursor-pointer ${d.selectedEvents.includes(&quot;recommend&quot;)?&quot;border-brand-700 border-2 shadow-lg&quot;:&quot;border-gray-200 hover:shadow-lg&quot;}`,children:[f.jsx(&quot;div&quot;,{className:&quot;relative h-48 overflow-hidden bg-gray-100 flex-shrink-0&quot;,children:f.jsx(&quot;img&quot;,{src:&quot;/recommandation.webp&quot;,alt:&quot;Recommander des participants&quot;,className:&quot;w-full h-full object-cover&quot;})}),f.jsx(&quot;div&quot;,{className:&quot;p-4 text-center flex-1 flex items-center justify-center&quot;,children:f.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900&quot;,children:&quot;Recommander des participants&quot;})})]}),f.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:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;selectedEvent&quot;,value:&quot;recommend&quot;,checked:d.selectedEvents.includes(&quot;recommend&quot;),onChange:()=&gt;k(&quot;recommend&quot;),className:&quot;w-5 h-5 border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-light text-sm&quot;,children:&quot;Choisir&quot;})]})]})]})}),Z(&quot;selectedEvents&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600 text-center&quot;,children:Z(&quot;selectedEvents&quot;)})]}),d.selectedEvents.includes(&quot;summit&quot;)&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;mt-6 p-6 bg-brand-50 border border-brand-700 rounded-xl&quot;,children:[f.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;}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-4 text-sm font-light text-ink-500&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;p&quot;,{className:&quot;font-medium&quot;,children:&quot;Dates et horaire (GMT) général du sommet:&quot;}),f.jsx(&quot;p&quot;,{children:&quot;Du 19 au 22 novembre 2026, à Ouagadougou - Burkina Faso&quot;}),f.jsxs(&quot;ul&quot;,{className:&quot;list-disc list-inside space-y-1 ml-2 mt-2&quot;,children:[f.jsx(&quot;li&quot;,{children:&quot;Check-in dans les Hotels: 12h00-15h00, jeudi 19 novembre 2026&quot;}),f.jsx(&quot;li&quot;,{children:&quot;Enregistrement des participants au sommet: 15h00-17h00, jeudi 19 novembre 2026&quot;}),f.jsx(&quot;li&quot;,{children:&quot;Début du sommet: 17h00, jeudi 19 novembre 2026&quot;}),f.jsx(&quot;li&quot;,{children:&quot;Fin du sommet: 21h30, samedi 21 novembre 2026&quot;}),f.jsx(&quot;li&quot;,{children:&quot;Check-out/Culte/Visite-détente/départ: 8.30-15.00, dimanche 22 novembre 2026&quot;})]})]}),f.jsxs(&quot;div&quot;,{className:&quot;pt-4 border-t border-brand-700/30&quot;,children:[f.jsx(&quot;p&quot;,{className:&quot;font-medium mb-2&quot;,children:&quot;Les formules d&#039;inscription au sommet:&quot;}),f.jsxs(&quot;ul&quot;,{className:&quot;list-disc list-inside space-y-1 ml-2&quot;,children:[f.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;}),f.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;}),f.jsx(&quot;li&quot;,{children:&quot;Formule C 450 000 FCFA / 690 € (un délégué par chambre en pension complète)&quot;}),f.jsx(&quot;li&quot;,{children:&quot;Formule D 550 000 FCFA / 840 € (pour les couples mariés par chambre en pension complète)&quot;})]})]})]})]}),(d.selectedEvents.includes(&quot;seminar&quot;)||d.selectedEvents.includes(&quot;recommend&quot;))&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;mt-6 p-6 bg-brand-50 border border-brand-700 rounded-xl&quot;,children:[f.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;}),f.jsx(&quot;div&quot;,{className:&quot;space-y-4 text-sm font-light text-ink-500 mb-4&quot;,children:f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;p&quot;,{className:&quot;font-medium&quot;,children:&quot;Dates du séminaire:&quot;}),f.jsx(&quot;p&quot;,{children:&quot;1ère partie en ligne : Du 22 au 31 octobre 2026&quot;}),f.jsx(&quot;p&quot;,{children:&quot;2ème partie présentielle : Du 15 au 19 novembre 2026, au Burkina Faso&quot;})]})}),f.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;}),f.jsxs(&quot;ol&quot;,{className:&quot;space-y-3 text-sm font-light text-ink-500 list-decimal list-inside&quot;,children:[f.jsxs(&quot;li&quot;,{children:[f.jsx(&quot;strong&quot;,{children:&quot;Âge:&quot;}),&quot; de 25 à 60 ans&quot;]}),f.jsxs(&quot;li&quot;,{children:[f.jsx(&quot;strong&quot;,{children:&quot;Éducation:&quot;}),&quot; niveau Bac+3, exemption faite aux leaders chrétiens reconnus&quot;]}),f.jsxs(&quot;li&quot;,{children:[f.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 31 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;]}),f.jsxs(&quot;li&quot;,{children:[f.jsx(&quot;strong&quot;,{children:&quot;Leadership:&quot;}),&quot; être un leader chrétien laïc ou ecclésiastique&quot;]}),f.jsxs(&quot;li&quot;,{children:[f.jsx(&quot;strong&quot;,{children:&quot;Niveau de langue:&quot;}),&quot; être capable de communiquer clairement en français parlé &amp; écrit&quot;]}),f.jsxs(&quot;li&quot;,{children:[f.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;]}),f.jsxs(&quot;li&quot;,{children:[f.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;]}),f.jsxs(&quot;li&quot;,{children:[f.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;]})]})]}),f.jsx(Fe,{type:&quot;button&quot;,onClick:U,className:&quot;w-full mt-6&quot;,children:&quot;Continuer&quot;})]})}if(i===2){const te=d.selectedEvents.includes(&quot;summit&quot;),ae=d.selectedEvents.includes(&quot;seminar&quot;),ce=d.selectedEvents.includes(&quot;recommend&quot;),fe=d.selectedEvents.length===1&amp;&amp;te,se=d.selectedEvents.length===1&amp;&amp;ae,ue=d.selectedEvents.length===1&amp;&amp;ce,ie=d.selectedEvents.length===2&amp;&amp;!ce,he=te&amp;&amp;ae&amp;&amp;ce,ge=ae&amp;&amp;ce&amp;&amp;!te,pe=te&amp;&amp;ce&amp;&amp;!ae;return f.jsxs(&quot;form&quot;,{onSubmit:le=&gt;{le.preventDefault(),ee()},className:&quot;space-y-6&quot;,children:[s._general&amp;&amp;s._general.length&gt;0&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;p-4 rounded-xl bg-red-50 border border-red-200 text-red-800 text-sm&quot;,children:[f.jsx(&quot;p&quot;,{className:&quot;font-medium mb-1&quot;,children:&quot;Erreur(s) de validation :&quot;}),f.jsx(&quot;ul&quot;,{className:&quot;list-disc list-inside space-y-0.5&quot;,children:s._general.map((le,_e)=&gt;f.jsx(&quot;li&quot;,{children:le},_e))})]}),f.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:[f.jsx(&quot;label&quot;,{htmlFor:&quot;website-hp&quot;,children:&quot;Site web&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,id:&quot;website-hp&quot;,name:&quot;website&quot;,tabIndex:-1,autoComplete:&quot;off&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[f.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-4 text-center uppercase&quot;,children:ce?&quot;INFORMATIONS SUR LE LEADER QUI RECOMMANDE&quot;:&quot;INFORMATIONS PERSONNELLES&quot;}),f.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.first_name,onChange:le=&gt;z(&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 ${Z(&quot;first_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;first_name&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;first_name&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.last_name,onChange:le=&gt;z(&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 ${Z(&quot;last_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;last_name&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;last_name&quot;)})]})]}),f.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;}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:d.email,onChange:le=&gt;z(&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 ${Z(&quot;email&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;email&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;email&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsxs(&quot;select&quot;,{value:d.country,onChange:le=&gt;C(le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;country&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`,children:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner un pays&quot;}),Yd.map(le=&gt;{const _e=XL(le.code);return f.jsxs(&quot;option&quot;,{value:le.name,children:[_e?`${_e} ${le.name}`:le.name,&quot; &quot;,le.dialCode]},le.code)})]}),Z(&quot;country&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;country&quot;)})]}),!ue&amp;&amp;f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Ville&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.city,onChange:le=&gt;z(&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;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone (WhatsApp) &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:d.phone,onChange:le=&gt;j(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 ${Z(&quot;phone&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;phone&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;phone&quot;)})]}),f.jsx(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:!ue&amp;&amp;f.jsxs(f.Fragment,{children:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Nationalité&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.nationality,onChange:le=&gt;z(&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;})]}),f.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Organisation&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.organization,onChange:le=&gt;z(&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;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Poste / Fonction&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.position,onChange:le=&gt;z(&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;})]})]}),f.jsxs(&quot;div&quot;,{children:[f.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;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-6&quot;,children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;participated_haggai_seminar&quot;,checked:d.participated_haggai_seminar===&quot;oui&quot;,onChange:()=&gt;z(&quot;participated_haggai_seminar&quot;,&quot;oui&quot;),className:&quot;rounded&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;participated_haggai_seminar&quot;,checked:d.participated_haggai_seminar===&quot;non&quot;,onChange:()=&gt;z(&quot;participated_haggai_seminar&quot;,&quot;non&quot;),className:&quot;rounded&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non&quot;})]})]}),Z(&quot;participated_haggai_seminar&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;participated_haggai_seminar&quot;)}),d.participated_haggai_seminar===&quot;oui&quot;&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;mt-4 flex-1&quot;,children:[f.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;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.hle_vhle_number,onChange:le=&gt;z(&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 ${Z(&quot;hle_vhle_number&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;hle_vhle_number&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;hle_vhle_number&quot;)})]})]})]})})]}),(ie||fe||he||pe)&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[f.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;}),f.jsxs(&quot;div&quot;,{children:[b?f.jsx(&quot;div&quot;,{className:&quot;text-center py-8 text-ink-500&quot;,children:&quot;Chargement des formules...&quot;}):p.length===0?f.jsx(&quot;div&quot;,{className:&quot;text-center py-8 text-ink-500&quot;,children:&quot;Aucune formule disponible&quot;}):f.jsx(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-4&quot;,children:p.sort((le,_e)=&gt;le.sort_order-_e.sort_order).map(le=&gt;{const Se={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 f.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${d.package_code===le.code?&quot;border-brand-700 shadow-lg&quot;:&quot;border-gray-200 hover:border-brand-700 hover:shadow-md&quot;}`,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;package_code&quot;,value:le.code,checked:d.package_code===le.code,onChange:()=&gt;z(&quot;package_code&quot;,le.code),className:&quot;sr-only&quot;}),f.jsxs(&quot;div&quot;,{className:&quot;relative h-48 overflow-hidden bg-gray-100&quot;,children:[f.jsx(&quot;img&quot;,{src:Pe,alt:le.title,className:&quot;w-full h-full object-cover&quot;,onError:Ie=&gt;{Ie.target.src=&quot;/sommet1.webp&quot;}}),d.package_code===le.code&amp;&amp;f.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:f.jsx(&quot;svg&quot;,{className:&quot;w-5 h-5&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:f.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;})})})]}),f.jsxs(&quot;div&quot;,{className:&quot;p-4 bg-white&quot;,children:[f.jsx(&quot;h4&quot;,{className:&quot;text-lg font-heading font-medium text-ink-900 mb-2&quot;,children:le.title}),f.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 font-light mb-2&quot;,children:Se.description}),f.jsx(&quot;p&quot;,{className:&quot;text-lg font-semibold text-brand-700&quot;,children:Se.price})]})]},le.id)})}),Z(&quot;package_code&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600 text-center&quot;,children:Z(&quot;package_code&quot;)}),m&amp;&amp;f.jsxs(&quot;div&quot;,{className:`mt-4 p-4 rounded-xl border-2 transition-colors ${Z(&quot;ouaga_resident_confirmed&quot;)?&quot;border-red-500 bg-red-50&quot;:&quot;border-gray-200 bg-gray-50&quot;}`,children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-start gap-3 cursor-pointer&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:d.ouaga_resident_confirmed,onChange:le=&gt;z(&quot;ouaga_resident_confirmed&quot;,le.target.checked),className:`mt-1 h-4 w-4 rounded focus:ring-2 focus:ring-offset-0 ${Z(&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;}`}),f.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;})]}),Z(&quot;ouaga_resident_confirmed&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm font-medium text-red-600&quot;,role:&quot;alert&quot;,children:Z(&quot;ouaga_resident_confirmed&quot;)})]})]}),d.package_code===&quot;D&quot;&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.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;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.spouse_fullname,onChange:le=&gt;z(&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 ${Z(&quot;spouse_fullname&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;spouse_fullname&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;spouse_fullname&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:d.spouse_email,onChange:le=&gt;z(&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;})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.spouse_haggai_id,onChange:le=&gt;z(&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;})]})]})]}),(se||ge)&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[f.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-4 text-center uppercase&quot;,children:&quot;OPTIONS SÉMINAIRE&quot;}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Je veux participer au séminaire &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_want_to_participate&quot;,value:&quot;oui&quot;,checked:d.seminar_want_to_participate===&quot;oui&quot;,onChange:()=&gt;z(&quot;seminar_want_to_participate&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_want_to_participate&quot;,value:&quot;non&quot;,checked:d.seminar_want_to_participate===&quot;non&quot;,onChange:()=&gt;z(&quot;seminar_want_to_participate&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non&quot;})]})]}),Z(&quot;seminar_want_to_participate&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_want_to_participate&quot;)})]}),d.seminar_want_to_participate===&quot;oui&quot;&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;bg-brand-50 rounded-xl p-4 border border-brand-700/30&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Frais de participation&quot;}),f.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Formule résidentielle obligatoire pour le séminaire à un montant fixe de 350 000 FCFA / 535 €. Si vous êtes aussi inscrit(e) au Sommet, vous aurez à payer additionnellement les frais selon la formule choisie.&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;text-right&quot;,children:[f.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-brand-700&quot;,children:E()}),f.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-1&quot;,children:d.payment_method_selected===&quot;card_visa&quot;?`${x.toLocaleString(&quot;fr-FR&quot;)} FCFA`:`${_.toLocaleString(&quot;fr-FR&quot;)} €`})]})]})}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Église ou organisation&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_church_organization,onChange:le=&gt;z(&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 ${Z(&quot;seminar_church_organization&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;seminar_church_organization&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_church_organization&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Rôle/Ministère&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_role_ministry,onChange:le=&gt;z(&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 ${Z(&quot;seminar_role_ministry&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;seminar_role_ministry&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_role_ministry&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Situation matrimoniale &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_marital_status&quot;,value:&quot;marie&quot;,checked:d.seminar_marital_status===&quot;marie&quot;,onChange:()=&gt;z(&quot;seminar_marital_status&quot;,&quot;marie&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Marié(e)&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_marital_status&quot;,value:&quot;non_marie&quot;,checked:d.seminar_marital_status===&quot;non_marie&quot;,onChange:()=&gt;z(&quot;seminar_marital_status&quot;,&quot;non_marie&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non marié(e)&quot;})]})]}),Z(&quot;seminar_marital_status&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_marital_status&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Âge &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:&quot;1&quot;,max:&quot;120&quot;,value:d.seminar_age,onChange:le=&gt;z(&quot;seminar_age&quot;,le.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;seminar_age&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;seminar_age&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_age&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_gender&quot;,value:&quot;homme&quot;,checked:d.seminar_gender===&quot;homme&quot;,onChange:()=&gt;z(&quot;seminar_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_gender&quot;,value:&quot;femme&quot;,checked:d.seminar_gender===&quot;femme&quot;,onChange:()=&gt;z(&quot;seminar_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Z(&quot;seminar_gender&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_gender&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Question ou préoccupation&quot;}),f.jsx(&quot;textarea&quot;,{value:d.seminar_question_or_concern,onChange:le=&gt;z(&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.seminar_want_to_participate===&quot;oui&quot;&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[f.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;}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Date de naissance&quot;}),f.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:d.seminar_date_naissance,onChange:le=&gt;z(&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 ${Z(&quot;seminar_date_naissance&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;seminar_date_naissance&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_date_naissance&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_contact_urgence_nom_lien,onChange:le=&gt;z(&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 ${Z(&quot;seminar_contact_urgence_nom_lien&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;seminar_contact_urgence_nom_lien&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_contact_urgence_nom_lien&quot;)})]}),f.jsx(&quot;h5&quot;,{className:&quot;text-sm font-medium text-ink-700 mt-4 mb-2&quot;,children:&quot;Éducation&quot;}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Niveau d&#039;études&quot;}),f.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[&quot;primaire&quot;,&quot;secondaire_2&quot;,&quot;universitaire&quot;].map(le=&gt;f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_niveau_etudes_1&quot;,value:le,checked:d.seminar_niveau_etudes===le,onChange:()=&gt;z(&quot;seminar_niveau_etudes&quot;,le),className:&quot;mr-2&quot;}),f.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))}),Z(&quot;seminar_niveau_etudes&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_niveau_etudes&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:M3.map(({value:le,label:_e})=&gt;f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:d.seminar_domaines_etude?.includes(le)??!1,onChange:()=&gt;O(le),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:_e})]},le))}),d.seminar_domaines_etude?.includes(&quot;autre&quot;)&amp;&amp;f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_domaine_etude_autre,onChange:le=&gt;z(&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;}),Z(&quot;seminar_domaines_etude&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_domaines_etude&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.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;f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_niveau_francais_1&quot;,value:le,checked:d.seminar_niveau_francais===le,onChange:()=&gt;z(&quot;seminar_niveau_francais&quot;,le),className:&quot;mr-2&quot;}),f.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))}),Z(&quot;seminar_niveau_francais&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_niveau_francais&quot;)})]}),f.jsx(&quot;h5&quot;,{className:&quot;text-sm font-medium text-ink-700 mt-4 mb-2&quot;,children:&quot;Infos complémentaires&quot;}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_besoin_lettre_1&quot;,value:&quot;oui&quot;,checked:d.seminar_besoin_lettre_absence===&quot;oui&quot;,onChange:()=&gt;z(&quot;seminar_besoin_lettre_absence&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_besoin_lettre_1&quot;,value:&quot;non&quot;,checked:d.seminar_besoin_lettre_absence===&quot;non&quot;,onChange:()=&gt;z(&quot;seminar_besoin_lettre_absence&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non&quot;})]})]}),d.seminar_besoin_lettre_absence===&quot;oui&quot;&amp;&amp;f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_besoin_lettre_details,onChange:le=&gt;z(&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;}),Z(&quot;seminar_besoin_lettre_absence&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_besoin_lettre_absence&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_sante_details,onChange:le=&gt;z(&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 ${Z(&quot;seminar_sante_details&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;seminar_sante_details&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_sante_details&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Régime sans sel ?&quot;}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_regime_1&quot;,value:&quot;oui&quot;,checked:d.seminar_regime_sans_sel===&quot;oui&quot;,onChange:()=&gt;z(&quot;seminar_regime_sans_sel&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_regime_1&quot;,value:&quot;non&quot;,checked:d.seminar_regime_sans_sel===&quot;non&quot;,onChange:()=&gt;z(&quot;seminar_regime_sans_sel&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non&quot;})]})]}),Z(&quot;seminar_regime_sans_sel&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_regime_sans_sel&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Confession religieuse&quot;}),f.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[&quot;musulmane&quot;,&quot;catholique&quot;,&quot;protestante&quot;,&quot;pentecotiste&quot;,&quot;evangelique&quot;].map(le=&gt;f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_confession_1&quot;,value:le,checked:d.seminar_confession_religieuse===le,onChange:()=&gt;z(&quot;seminar_confession_religieuse&quot;,le),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:le===&quot;evangelique&quot;?&quot;Evangélique&quot;:le.charAt(0).toUpperCase()+le.slice(1)})]},le))}),Z(&quot;seminar_confession_religieuse&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_confession_religieuse&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Fardeau pour transformation des nations par l&#039;Évangile ?&quot;}),f.jsx(&quot;textarea&quot;,{value:d.seminar_fardeau_transformation,onChange:le=&gt;z(&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 ${Z(&quot;seminar_fardeau_transformation&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;seminar_fardeau_transformation&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_fardeau_transformation&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Qui vous a recommandé ?&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_recommande_par,onChange:le=&gt;z(&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 ${Z(&quot;seminar_recommande_par&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;seminar_recommande_par&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_recommande_par&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Engagements&quot;}),f.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:O3.map(({value:le,label:_e})=&gt;f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:d.seminar_engagements?.includes(le)??!1,onChange:()=&gt;I(le),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:_e})]},le))}),d.seminar_engagements?.includes(&quot;autre&quot;)&amp;&amp;f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_engagements_autre,onChange:le=&gt;z(&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;}),Z(&quot;seminar_engagements&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_engagements&quot;)})]})]}),d.selectedEvents.includes(&quot;recommend&quot;)&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[f.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;}),f.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[f.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;}),f.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-4&quot;,children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;oui&quot;,checked:d.recommended_contacted_before===&quot;oui&quot;,onChange:()=&gt;z(&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;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Oui&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;non&quot;,checked:d.recommended_contacted_before===&quot;non&quot;,onChange:()=&gt;z(&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;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Non&quot;})]})]}),d.recommended_contacted_before===&quot;non&quot;&amp;&amp;f.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;})]}),f.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_first_name,onChange:le=&gt;z(&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 ${Z(&quot;recommended_first_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_first_name&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_first_name&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_last_name,onChange:le=&gt;z(&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 ${Z(&quot;recommended_last_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_last_name&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_last_name&quot;)})]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_profession,onChange:le=&gt;z(&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 ${Z(&quot;recommended_profession&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_profession&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_profession&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_residence_country,onChange:le=&gt;z(&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 ${Z(&quot;recommended_residence_country&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_residence_country&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_residence_country&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:d.recommended_phone_whatsapp,onChange:le=&gt;z(&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 ${Z(&quot;recommended_phone_whatsapp&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_phone_whatsapp&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_phone_whatsapp&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:d.recommended_email,onChange:le=&gt;z(&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 ${Z(&quot;recommended_email&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_email&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_email&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;homme&quot;,checked:d.recommended_gender===&quot;homme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;femme&quot;,checked:d.recommended_gender===&quot;femme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Z(&quot;recommended_gender&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_gender&quot;)})]})]})]}),ue&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[f.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;}),f.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[f.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;}),f.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-4&quot;,children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;oui&quot;,checked:d.recommended_contacted_before===&quot;oui&quot;,onChange:()=&gt;z(&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;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Oui&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;non&quot;,checked:d.recommended_contacted_before===&quot;non&quot;,onChange:()=&gt;z(&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;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Non&quot;})]})]}),d.recommended_contacted_before===&quot;non&quot;&amp;&amp;f.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;})]}),f.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_first_name,onChange:le=&gt;z(&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 ${Z(&quot;recommended_first_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_first_name&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_first_name&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_last_name,onChange:le=&gt;z(&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 ${Z(&quot;recommended_last_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_last_name&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_last_name&quot;)})]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_profession,onChange:le=&gt;z(&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 ${Z(&quot;recommended_profession&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_profession&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_profession&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_residence_country,onChange:le=&gt;z(&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 ${Z(&quot;recommended_residence_country&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_residence_country&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_residence_country&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:d.recommended_phone_whatsapp,onChange:le=&gt;z(&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 ${Z(&quot;recommended_phone_whatsapp&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_phone_whatsapp&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_phone_whatsapp&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:d.recommended_email,onChange:le=&gt;z(&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 ${Z(&quot;recommended_email&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_email&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_email&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;homme&quot;,checked:d.recommended_gender===&quot;homme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;femme&quot;,checked:d.recommended_gender===&quot;femme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Z(&quot;recommended_gender&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_gender&quot;)})]})]}),(!ie||ie&amp;&amp;d.selectedEvents.includes(&quot;summit&quot;)&amp;&amp;d.selectedEvents.includes(&quot;seminar&quot;))&amp;&amp;!ue&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[f.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;}),f.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=W();if(!(d.selectedEvents.includes(&quot;summit&quot;)&amp;&amp;d.selectedEvents.includes(&quot;seminar&quot;)&amp;&amp;d.seminar_want_to_participate===&quot;oui&quot;)||!le)return null;const Se=p.find(Pe=&gt;Pe.code===d.package_code),Oe=Se?le.currency===&quot;EUR&quot;?Se.price_eur:Se.price_xof:0;return f.jsxs(&quot;div&quot;,{className:&quot;mb-6 bg-brand-50 rounded-xl p-6 space-y-4&quot;,children:[f.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;}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:[&quot;Sommet - &quot;,Se?.title||&quot;Formule sélectionnée&quot;]}),f.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:Se?.code||&quot;&quot;})]}),f.jsx(&quot;p&quot;,{className:&quot;text-base font-semibold text-ink-900&quot;,children:D(Oe,le.currency)})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:&quot;Séminaire - Résidentiel&quot;}),f.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:&quot;Formule obligatoire&quot;})]}),f.jsx(&quot;p&quot;,{className:&quot;text-base font-semibold text-ink-900&quot;,children:D(le.currency===&quot;EUR&quot;?_:x,le.currency)})]}),f.jsxs(&quot;div&quot;,{className:&quot;pt-4 border-t border-brand-700/30&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[f.jsx(&quot;p&quot;,{className:&quot;text-lg font-heading font-semibold text-ink-900&quot;,children:&quot;Total à payer&quot;}),f.jsx(&quot;p&quot;,{className:&quot;text-2xl font-bold text-brand-700&quot;,children:le.formatted})]}),f.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;})]})]})]})})(),f.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-3 gap-4&quot;,children:[f.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${d.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:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;mobile_money&quot;,checked:d.payment_method_selected===&quot;mobile_money&quot;,onChange:()=&gt;z(&quot;payment_method_selected&quot;,&quot;mobile_money&quot;),className:&quot;sr-only&quot;}),f.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[f.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:f.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:f.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;})})})}),f.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Mobile Money&quot;}),d.payment_method_selected===&quot;mobile_money&quot;&amp;&amp;f.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:f.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:f.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;})})})]})]}),f.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${d.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:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;card_visa&quot;,checked:d.payment_method_selected===&quot;card_visa&quot;,onChange:()=&gt;z(&quot;payment_method_selected&quot;,&quot;card_visa&quot;),className:&quot;sr-only&quot;}),f.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[f.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:f.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:f.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;})})})}),f.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;}),d.payment_method_selected===&quot;card_visa&quot;&amp;&amp;f.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:f.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:f.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;})})})]})]}),f.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${d.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:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;national_office&quot;,checked:d.payment_method_selected===&quot;national_office&quot;,onChange:()=&gt;z(&quot;payment_method_selected&quot;,&quot;national_office&quot;),className:&quot;sr-only&quot;}),f.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[f.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:f.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:f.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;})})})}),f.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Bureau national&quot;}),d.payment_method_selected===&quot;national_office&quot;&amp;&amp;f.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:f.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:f.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;})})})]})]})]}),f.jsxs(&quot;div&quot;,{className:&quot;mt-6 pt-6 border-t border-gray-200&quot;,children:[f.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;}),f.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[f.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;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;div&quot;,{className:&quot;flex gap-3&quot;,children:[1,2,3].map(le=&gt;f.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;H(le),className:`flex-1 py-3 px-4 rounded-xl border-2 transition-all ${d.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))})]}),f.jsx(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:Array.from({length:d.installment_count}).map((le,_e)=&gt;{const Se=d.installment_months[_e]||&quot;&quot;,Oe=!Se||V([Se]),Pe=s[`installment_month_${_e}`],Ie=!!Pe||!Oe&amp;&amp;!!Se;return f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Échéance &quot;,_e+1,&quot; &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsxs(&quot;select&quot;,{value:Se,onChange:Ve=&gt;K(_e,Ve.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Ie?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`,children:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner un mois&quot;}),L().map(Ve=&gt;f.jsx(&quot;option&quot;,{value:Ve.value,children:Ve.label},Ve.value))]}),Pe&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Pe[0]}),!Pe&amp;&amp;!Oe&amp;&amp;Se&amp;&amp;f.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;})]},_e)})}),s.installment_months&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600&quot;,children:s.installment_months[0]})]})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:F,className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),ie||he||te&amp;&amp;ce&amp;&amp;!ae?f.jsx(Fe,{type:&quot;button&quot;,onClick:ee,disabled:!Q(),className:&quot;flex-1&quot;,children:&quot;Valider et passer au suivant&quot;}):f.jsx(Fe,{type:&quot;submit&quot;,disabled:u||ue&amp;&amp;!Y(),className:&quot;flex-1&quot;,children:u?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})}if(i===3){const te=d.selectedEvents.includes(&quot;summit&quot;),ae=d.selectedEvents.includes(&quot;seminar&quot;),ce=d.selectedEvents.includes(&quot;recommend&quot;),fe=te&amp;&amp;ce&amp;&amp;!ae,se=ae&amp;&amp;ce&amp;&amp;!te,ue=te&amp;&amp;ae&amp;&amp;ce;return se?f.jsx(&quot;form&quot;,{onSubmit:ie=&gt;{ie.preventDefault(),X()},className:&quot;space-y-6&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[f.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;}),f.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_first_name,onChange:ie=&gt;z(&quot;recommended_first_name&quot;,ie.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;recommended_first_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_first_name&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_first_name&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_last_name,onChange:ie=&gt;z(&quot;recommended_last_name&quot;,ie.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;recommended_last_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_last_name&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_last_name&quot;)})]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_profession,onChange:ie=&gt;z(&quot;recommended_profession&quot;,ie.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;recommended_profession&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_profession&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_profession&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_residence_country,onChange:ie=&gt;z(&quot;recommended_residence_country&quot;,ie.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;recommended_residence_country&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_residence_country&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_residence_country&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:d.recommended_phone_whatsapp,onChange:ie=&gt;z(&quot;recommended_phone_whatsapp&quot;,ie.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;recommended_phone_whatsapp&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_phone_whatsapp&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_phone_whatsapp&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:d.recommended_email,onChange:ie=&gt;z(&quot;recommended_email&quot;,ie.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;recommended_email&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_email&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_email&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;homme&quot;,checked:d.recommended_gender===&quot;homme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;femme&quot;,checked:d.recommended_gender===&quot;femme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Z(&quot;recommended_gender&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_gender&quot;)})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:P,className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),f.jsx(Fe,{type:&quot;submit&quot;,disabled:u,className:&quot;flex-1&quot;,children:u?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})}):fe?f.jsx(&quot;form&quot;,{onSubmit:ie=&gt;{ie.preventDefault(),X()},className:&quot;space-y-6&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[f.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;}),f.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[f.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;}),f.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-4&quot;,children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;oui&quot;,checked:d.recommended_contacted_before===&quot;oui&quot;,onChange:()=&gt;z(&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;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Oui&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;non&quot;,checked:d.recommended_contacted_before===&quot;non&quot;,onChange:()=&gt;z(&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;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Non&quot;})]})]}),d.recommended_contacted_before===&quot;non&quot;&amp;&amp;f.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;})]}),f.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_first_name,onChange:ie=&gt;z(&quot;recommended_first_name&quot;,ie.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;recommended_first_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_first_name&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_first_name&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_last_name,onChange:ie=&gt;z(&quot;recommended_last_name&quot;,ie.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;recommended_last_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_last_name&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_last_name&quot;)})]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_profession,onChange:ie=&gt;z(&quot;recommended_profession&quot;,ie.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;recommended_profession&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_profession&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_profession&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_residence_country,onChange:ie=&gt;z(&quot;recommended_residence_country&quot;,ie.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;recommended_residence_country&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_residence_country&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_residence_country&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:d.recommended_phone_whatsapp,onChange:ie=&gt;z(&quot;recommended_phone_whatsapp&quot;,ie.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;recommended_phone_whatsapp&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_phone_whatsapp&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_phone_whatsapp&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:d.recommended_email,onChange:ie=&gt;z(&quot;recommended_email&quot;,ie.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;recommended_email&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_email&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_email&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;homme&quot;,checked:d.recommended_gender===&quot;homme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;femme&quot;,checked:d.recommended_gender===&quot;femme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Z(&quot;recommended_gender&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_gender&quot;)})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:P,className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),f.jsx(Fe,{type:&quot;submit&quot;,disabled:u,className:&quot;flex-1&quot;,children:u?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})}):f.jsx(&quot;form&quot;,{onSubmit:ie=&gt;{ie.preventDefault(),X()},className:&quot;space-y-6&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[f.jsx(&quot;h3&quot;,{className:&quot;text-xl font-heading font-medium text-ink-900 mb-4 text-center uppercase&quot;,children:&quot;OPTIONS SÉMINAIRE&quot;}),ue&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-blue-50 border border-blue-200 rounded-lg&quot;,children:f.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.`})}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Je veux participer au séminaire &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_want_to_participate&quot;,value:&quot;oui&quot;,checked:d.seminar_want_to_participate===&quot;oui&quot;,onChange:()=&gt;z(&quot;seminar_want_to_participate&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_want_to_participate&quot;,value:&quot;non&quot;,checked:d.seminar_want_to_participate===&quot;non&quot;,onChange:()=&gt;z(&quot;seminar_want_to_participate&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non&quot;})]})]}),Z(&quot;seminar_want_to_participate&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_want_to_participate&quot;)})]}),d.seminar_want_to_participate===&quot;oui&quot;&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;bg-brand-50 rounded-xl p-4 border border-brand-700/30&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Frais de participation&quot;}),f.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Formule résidentielle obligatoire pour le séminaire à un montant fixe de 350 000 FCFA / 535 €. Si vous êtes aussi inscrit(e) au Sommet, vous aurez à payer additionnellement les frais selon la formule choisie.&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;text-right&quot;,children:[f.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-brand-700&quot;,children:E()}),f.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-1&quot;,children:d.payment_method_selected===&quot;card_visa&quot;?`${x.toLocaleString(&quot;fr-FR&quot;)} FCFA`:`${_.toLocaleString(&quot;fr-FR&quot;)} €`})]})]})}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Église ou organisation&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_church_organization,onChange:ie=&gt;z(&quot;seminar_church_organization&quot;,ie.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;seminar_church_organization&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;seminar_church_organization&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_church_organization&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Rôle/Ministère&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_role_ministry,onChange:ie=&gt;z(&quot;seminar_role_ministry&quot;,ie.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;seminar_role_ministry&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;seminar_role_ministry&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_role_ministry&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Situation matrimoniale &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_marital_status&quot;,value:&quot;marie&quot;,checked:d.seminar_marital_status===&quot;marie&quot;,onChange:()=&gt;z(&quot;seminar_marital_status&quot;,&quot;marie&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Marié(e)&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_marital_status&quot;,value:&quot;non_marie&quot;,checked:d.seminar_marital_status===&quot;non_marie&quot;,onChange:()=&gt;z(&quot;seminar_marital_status&quot;,&quot;non_marie&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non marié(e)&quot;})]})]}),Z(&quot;seminar_marital_status&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_marital_status&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Âge &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:&quot;1&quot;,max:&quot;120&quot;,value:d.seminar_age,onChange:ie=&gt;z(&quot;seminar_age&quot;,ie.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;seminar_age&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;seminar_age&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_age&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_gender&quot;,value:&quot;homme&quot;,checked:d.seminar_gender===&quot;homme&quot;,onChange:()=&gt;z(&quot;seminar_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_gender&quot;,value:&quot;femme&quot;,checked:d.seminar_gender===&quot;femme&quot;,onChange:()=&gt;z(&quot;seminar_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Z(&quot;seminar_gender&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_gender&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Question ou préoccupation&quot;}),f.jsx(&quot;textarea&quot;,{value:d.seminar_question_or_concern,onChange:ie=&gt;z(&quot;seminar_question_or_concern&quot;,ie.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.seminar_want_to_participate===&quot;oui&quot;&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[f.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;}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Date de naissance&quot;}),f.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:d.seminar_date_naissance,onChange:ie=&gt;z(&quot;seminar_date_naissance&quot;,ie.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;seminar_date_naissance&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;seminar_date_naissance&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_date_naissance&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_contact_urgence_nom_lien,onChange:ie=&gt;z(&quot;seminar_contact_urgence_nom_lien&quot;,ie.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 ${Z(&quot;seminar_contact_urgence_nom_lien&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;seminar_contact_urgence_nom_lien&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_contact_urgence_nom_lien&quot;)})]}),f.jsx(&quot;h5&quot;,{className:&quot;text-sm font-medium text-ink-700 mt-4 mb-2&quot;,children:&quot;Éducation&quot;}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Niveau d&#039;études&quot;}),f.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[&quot;primaire&quot;,&quot;secondaire_2&quot;,&quot;universitaire&quot;].map(ie=&gt;f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_niveau_etudes_2&quot;,value:ie,checked:d.seminar_niveau_etudes===ie,onChange:()=&gt;z(&quot;seminar_niveau_etudes&quot;,ie),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:ie===&quot;primaire&quot;?&quot;Primaire&quot;:ie===&quot;secondaire_2&quot;?&quot;Secondaire 2&quot;:&quot;Universitaire&quot;})]},ie))}),Z(&quot;seminar_niveau_etudes&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_niveau_etudes&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:M3.map(({value:ie,label:he})=&gt;f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:d.seminar_domaines_etude?.includes(ie)??!1,onChange:()=&gt;O(ie),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:he})]},ie))}),d.seminar_domaines_etude?.includes(&quot;autre&quot;)&amp;&amp;f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_domaine_etude_autre,onChange:ie=&gt;z(&quot;seminar_domaine_etude_autre&quot;,ie.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;}),Z(&quot;seminar_domaines_etude&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_domaines_etude&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[&quot;natif&quot;,&quot;avance&quot;,&quot;intermediaire&quot;,&quot;faible&quot;].map(ie=&gt;f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_niveau_francais_2&quot;,value:ie,checked:d.seminar_niveau_francais===ie,onChange:()=&gt;z(&quot;seminar_niveau_francais&quot;,ie),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:ie===&quot;natif&quot;?&quot;Natif/Native&quot;:ie===&quot;avance&quot;?&quot;Avancé&quot;:ie===&quot;intermediaire&quot;?&quot;Intermédiaire&quot;:&quot;Faible&quot;})]},ie))}),Z(&quot;seminar_niveau_francais&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_niveau_francais&quot;)})]}),f.jsx(&quot;h5&quot;,{className:&quot;text-sm font-medium text-ink-700 mt-4 mb-2&quot;,children:&quot;Infos complémentaires&quot;}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_besoin_lettre_2&quot;,value:&quot;oui&quot;,checked:d.seminar_besoin_lettre_absence===&quot;oui&quot;,onChange:()=&gt;z(&quot;seminar_besoin_lettre_absence&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_besoin_lettre_2&quot;,value:&quot;non&quot;,checked:d.seminar_besoin_lettre_absence===&quot;non&quot;,onChange:()=&gt;z(&quot;seminar_besoin_lettre_absence&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non&quot;})]})]}),d.seminar_besoin_lettre_absence===&quot;oui&quot;&amp;&amp;f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_besoin_lettre_details,onChange:ie=&gt;z(&quot;seminar_besoin_lettre_details&quot;,ie.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;}),Z(&quot;seminar_besoin_lettre_absence&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_besoin_lettre_absence&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_sante_details,onChange:ie=&gt;z(&quot;seminar_sante_details&quot;,ie.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 ${Z(&quot;seminar_sante_details&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;seminar_sante_details&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_sante_details&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Régime sans sel ?&quot;}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_regime_2&quot;,value:&quot;oui&quot;,checked:d.seminar_regime_sans_sel===&quot;oui&quot;,onChange:()=&gt;z(&quot;seminar_regime_sans_sel&quot;,&quot;oui&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Oui&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_regime_2&quot;,value:&quot;non&quot;,checked:d.seminar_regime_sans_sel===&quot;non&quot;,onChange:()=&gt;z(&quot;seminar_regime_sans_sel&quot;,&quot;non&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Non&quot;})]})]}),Z(&quot;seminar_regime_sans_sel&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_regime_sans_sel&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Confession religieuse&quot;}),f.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[&quot;musulmane&quot;,&quot;catholique&quot;,&quot;protestante&quot;,&quot;pentecotiste&quot;,&quot;evangelique&quot;].map(ie=&gt;f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;seminar_confession_2&quot;,value:ie,checked:d.seminar_confession_religieuse===ie,onChange:()=&gt;z(&quot;seminar_confession_religieuse&quot;,ie),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:ie===&quot;evangelique&quot;?&quot;Evangélique&quot;:ie.charAt(0).toUpperCase()+ie.slice(1)})]},ie))}),Z(&quot;seminar_confession_religieuse&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_confession_religieuse&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Fardeau pour transformation des nations par l&#039;Évangile ?&quot;}),f.jsx(&quot;textarea&quot;,{value:d.seminar_fardeau_transformation,onChange:ie=&gt;z(&quot;seminar_fardeau_transformation&quot;,ie.target.value),rows:2,className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;seminar_fardeau_transformation&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;seminar_fardeau_transformation&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_fardeau_transformation&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Qui vous a recommandé ?&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_recommande_par,onChange:ie=&gt;z(&quot;seminar_recommande_par&quot;,ie.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;seminar_recommande_par&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;seminar_recommande_par&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_recommande_par&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:&quot;Engagements&quot;}),f.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:O3.map(({value:ie,label:he})=&gt;f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:d.seminar_engagements?.includes(ie)??!1,onChange:()=&gt;I(ie),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:he})]},ie))}),d.seminar_engagements?.includes(&quot;autre&quot;)&amp;&amp;f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.seminar_engagements_autre,onChange:ie=&gt;z(&quot;seminar_engagements_autre&quot;,ie.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;}),Z(&quot;seminar_engagements&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;seminar_engagements&quot;)})]})]}),d.seminar_intent===&quot;recommend&quot;&amp;&amp;!ue&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[f.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;}),f.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[f.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;}),f.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-4&quot;,children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;oui&quot;,checked:d.recommended_contacted_before===&quot;oui&quot;,onChange:()=&gt;z(&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;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Oui&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_contacted_before&quot;,value:&quot;non&quot;,checked:d.recommended_contacted_before===&quot;non&quot;,onChange:()=&gt;z(&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;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Non&quot;})]})]}),d.recommended_contacted_before===&quot;non&quot;&amp;&amp;f.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;})]}),f.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_first_name,onChange:ie=&gt;z(&quot;recommended_first_name&quot;,ie.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;recommended_first_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_first_name&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_first_name&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_last_name,onChange:ie=&gt;z(&quot;recommended_last_name&quot;,ie.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;recommended_last_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_last_name&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_last_name&quot;)})]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_profession,onChange:ie=&gt;z(&quot;recommended_profession&quot;,ie.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;recommended_profession&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_profession&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_profession&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_residence_country,onChange:ie=&gt;z(&quot;recommended_residence_country&quot;,ie.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;recommended_residence_country&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_residence_country&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_residence_country&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:d.recommended_phone_whatsapp,onChange:ie=&gt;z(&quot;recommended_phone_whatsapp&quot;,ie.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;recommended_phone_whatsapp&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_phone_whatsapp&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_phone_whatsapp&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:&quot;Email (optionnel)&quot;}),f.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:d.recommended_email,onChange:ie=&gt;z(&quot;recommended_email&quot;,ie.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;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender_4&quot;,value:&quot;homme&quot;,checked:d.recommended_gender===&quot;homme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender_4&quot;,value:&quot;femme&quot;,checked:d.recommended_gender===&quot;femme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Z(&quot;recommended_gender&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_gender&quot;)})]})]}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-4 pt-4 border-t&quot;,children:[f.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;}),f.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;}),f.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-3 gap-4&quot;,children:[f.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${d.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:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;mobile_money&quot;,checked:d.payment_method_selected===&quot;mobile_money&quot;,onChange:()=&gt;z(&quot;payment_method_selected&quot;,&quot;mobile_money&quot;),className:&quot;sr-only&quot;}),f.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[f.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:f.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:f.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;})})})}),f.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Mobile Money&quot;}),d.payment_method_selected===&quot;mobile_money&quot;&amp;&amp;f.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:f.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:f.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;})})})]})]}),f.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${d.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:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;card_visa&quot;,checked:d.payment_method_selected===&quot;card_visa&quot;,onChange:()=&gt;z(&quot;payment_method_selected&quot;,&quot;card_visa&quot;),className:&quot;sr-only&quot;}),f.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[f.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:f.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:f.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;})})})}),f.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;}),d.payment_method_selected===&quot;card_visa&quot;&amp;&amp;f.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:f.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:f.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;})})})]})]}),f.jsxs(&quot;label&quot;,{className:`relative flex flex-col cursor-pointer rounded-xl overflow-hidden border-2 transition-all ${d.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:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;payment_method&quot;,value:&quot;national_office&quot;,checked:d.payment_method_selected===&quot;national_office&quot;,onChange:()=&gt;z(&quot;payment_method_selected&quot;,&quot;national_office&quot;),className:&quot;sr-only&quot;}),f.jsxs(&quot;div&quot;,{className:&quot;p-6 text-center&quot;,children:[f.jsx(&quot;div&quot;,{className:&quot;mb-3 flex justify-center&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;w-12 h-12 rounded-full bg-brand-700/20 flex items-center justify-center&quot;,children:f.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:f.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;})})})}),f.jsx(&quot;h4&quot;,{className:&quot;text-base font-heading font-medium text-ink-900 mb-1&quot;,children:&quot;Bureau national&quot;}),d.payment_method_selected===&quot;national_office&quot;&amp;&amp;f.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:f.jsx(&quot;svg&quot;,{className:&quot;w-4 h-4&quot;,fill:&quot;currentColor&quot;,viewBox:&quot;0 0 20 20&quot;,children:f.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;})})})]})]})]}),f.jsxs(&quot;div&quot;,{className:&quot;mt-6 pt-6 border-t border-gray-200&quot;,children:[f.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;}),f.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[f.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;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;div&quot;,{className:&quot;flex gap-3&quot;,children:[1,2,3].map(ie=&gt;f.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;H(ie),className:`flex-1 py-3 px-4 rounded-xl border-2 transition-all ${d.installment_count===ie?&quot;border-brand-700 bg-brand-700 text-white&quot;:&quot;border-gray-200 hover:border-brand-700 text-ink-500&quot;}`,children:[ie,&quot; &quot;,ie===1?&quot;échéance&quot;:&quot;échéances&quot;]},ie))})]}),f.jsx(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:Array.from({length:d.installment_count}).map((ie,he)=&gt;{const ge=d.installment_months[he]||&quot;&quot;,pe=!ge||V([ge]),le=s[`installment_month_${he}`],_e=!!le||!pe&amp;&amp;!!ge;return f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Échéance &quot;,he+1,&quot; &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsxs(&quot;select&quot;,{value:ge,onChange:Se=&gt;K(he,Se.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${_e?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`,children:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner un mois&quot;}),L().map(Se=&gt;f.jsx(&quot;option&quot;,{value:Se.value,children:Se.label},Se.value))]}),le&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:le[0]}),!le&amp;&amp;!pe&amp;&amp;ge&amp;&amp;f.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;})]},he)})}),s.installment_months&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-2 text-sm text-red-600&quot;,children:s.installment_months[0]})]})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:P,className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),ue?f.jsx(Fe,{type:&quot;button&quot;,onClick:X,className:&quot;flex-1&quot;,children:&quot;Valider et passer au suivant&quot;}):f.jsx(Fe,{type:&quot;submit&quot;,disabled:u,className:&quot;flex-1&quot;,children:u?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})})}if(i===4){const te=d.selectedEvents.includes(&quot;summit&quot;),ae=d.selectedEvents.includes(&quot;seminar&quot;),ce=d.selectedEvents.includes(&quot;recommend&quot;);return te&amp;&amp;ae&amp;&amp;ce?f.jsx(&quot;form&quot;,{onSubmit:se=&gt;{se.preventDefault(),re()},className:&quot;space-y-6&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[f.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;}),f.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_first_name,onChange:se=&gt;z(&quot;recommended_first_name&quot;,se.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;recommended_first_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_first_name&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_first_name&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_last_name,onChange:se=&gt;z(&quot;recommended_last_name&quot;,se.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;recommended_last_name&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_last_name&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_last_name&quot;)})]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Profession &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_profession,onChange:se=&gt;z(&quot;recommended_profession&quot;,se.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;recommended_profession&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_profession&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_profession&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Pays de résidence &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:d.recommended_residence_country,onChange:se=&gt;z(&quot;recommended_residence_country&quot;,se.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;recommended_residence_country&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_residence_country&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_residence_country&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Téléphone WhatsApp &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:d.recommended_phone_whatsapp,onChange:se=&gt;z(&quot;recommended_phone_whatsapp&quot;,se.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;recommended_phone_whatsapp&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_phone_whatsapp&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_phone_whatsapp&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:d.recommended_email,onChange:se=&gt;z(&quot;recommended_email&quot;,se.target.value),className:`w-full px-4 py-2 border rounded-xl focus:outline-none focus:ring-2 focus:ring-brand-600 ${Z(&quot;recommended_email&quot;)?&quot;border-red-500&quot;:&quot;border-gray-300&quot;}`}),Z(&quot;recommended_email&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_email&quot;)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-light text-ink-500 mb-2&quot;,children:[&quot;Genre &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;homme&quot;,checked:d.recommended_gender===&quot;homme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;homme&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Homme&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;radio&quot;,name:&quot;recommended_gender&quot;,value:&quot;femme&quot;,checked:d.recommended_gender===&quot;femme&quot;,onChange:()=&gt;z(&quot;recommended_gender&quot;,&quot;femme&quot;),className:&quot;mr-2&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-light text-ink-500&quot;,children:&quot;Femme&quot;})]})]}),Z(&quot;recommended_gender&quot;)&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:Z(&quot;recommended_gender&quot;)})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex space-x-4 pt-4&quot;,children:[f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:()=&gt;a(3),className:&quot;flex-1&quot;,children:&quot;Retour&quot;}),f.jsx(Fe,{type:&quot;submit&quot;,disabled:u,className:&quot;flex-1&quot;,children:u?&quot;Envoi en cours...&quot;:&quot;Envoyer&quot;})]})]})}):null}return null}const wa=&quot;communication@sommetfrancophone.org&quot;,Zd=&quot;+225 05 5427 5725 (WhatsApp)&quot;;function YL(){const[e]=Uh(),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,o]=q.useState(&quot;form&quot;),[i,a]=q.useState({}),[u,l]=q.useState(!1),[s,c]=q.useState(null),m=p=&gt;{p.type===&quot;recommendation&quot;?a({recommendationId:p.id,type:&quot;recommendation&quot;}):a({registrationId:p.id,type:&quot;registration&quot;}),o(&quot;success&quot;)},h=p=&gt;{a(b=&gt;b.registrationId||b.recommendationId||n===&quot;success&quot;?{...b,existingRegistrationId:p,hasConflict:!0}:(o(&quot;conflict&quot;),{existingRegistrationId:p}))},d=p=&gt;{a({errorMessage:p}),p.includes(&quot;indisponibles&quot;)?o(&quot;unavailable&quot;):o(&quot;error&quot;)},g=()=&gt;{o(&quot;form&quot;),a({}),c(null)};q.useEffect(()=&gt;{n!==&quot;form&quot;&amp;&amp;window.scrollTo({top:0,behavior:&quot;smooth&quot;})},[n]);const y=async()=&gt;{if(i.existingRegistrationId){l(!0),c(null);try{await Gb.resendVerification(i.existingRegistrationId),c(&quot;Email de vérification renvoyé avec succès. Vérifiez votre boîte de réception.&quot;)}catch(p){p instanceof mr?p.status===422?c(p.data.errors?.registration?.[0]||p.message):c(p.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{l(!1)}}};return n===&quot;success&quot;?f.jsx(ho,{children:f.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;max-w-2xl mx-auto px-4 sm:px-6 lg:px-8&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:[f.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:f.jsx(ED,{className:&quot;w-16 h-16 text-green-600&quot;})}),f.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;}),f.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;f.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;f.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;f.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-8&quot;,children:[&quot;Numéro d&#039;inscription : &quot;,f.jsxs(&quot;strong&quot;,{children:[&quot;#&quot;,i.registrationId]})]}),i.recommendationId&amp;&amp;f.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-8&quot;,children:[&quot;Numéro de recommandation : &quot;,f.jsxs(&quot;strong&quot;,{children:[&quot;#&quot;,i.recommendationId]})]}),i.hasConflict&amp;&amp;i.existingRegistrationId&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;bg-yellow-50 border border-yellow-200 rounded-lg p-4 mb-8&quot;,children:f.jsxs(&quot;p&quot;,{className:&quot;text-sm text-yellow-800&quot;,children:[f.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;]})}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[f.jsx(Fe,{onClick:g,variant:&quot;secondary&quot;,children:&quot;Nouvelle inscription&quot;}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-2 text-sm text-ink-500&quot;,children:[f.jsx(&quot;p&quot;,{className:&quot;font-light&quot;,children:&quot;Pour toute question :&quot;}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center gap-4 flex-wrap&quot;,children:[f.jsxs(&quot;a&quot;,{href:`mailto:${wa}`,className:&quot;hover:text-brand-9002 inline-flex items-center gap-1&quot;,children:[f.jsx(ps,{className:&quot;w-4 h-4&quot;}),wa]}),f.jsxs(&quot;span&quot;,{className:&quot;inline-flex items-center gap-1&quot;,children:[f.jsx(zc,{className:&quot;w-4 h-4&quot;}),Zd]})]})]}),f.jsx(&quot;div&quot;,{children:f.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;?f.jsx(ho,{children:f.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;max-w-2xl mx-auto px-4 sm:px-6 lg:px-8&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:[f.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:f.jsx(Jv,{className:&quot;w-16 h-16 text-yellow-600&quot;})}),f.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;}),f.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;f.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-8&quot;,children:[&quot;Numéro d&#039;inscription existante : &quot;,f.jsxs(&quot;strong&quot;,{children:[&quot;#&quot;,i.existingRegistrationId]})]}),f.jsx(&quot;div&quot;,{className:&quot;space-y-4 mb-8&quot;,children:f.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;})}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[f.jsx(Fe,{onClick:y,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;f.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}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-2 text-sm text-ink-500&quot;,children:[f.jsx(&quot;p&quot;,{className:&quot;font-light&quot;,children:&quot;Ou contactez-nous :&quot;}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[f.jsx(ps,{className:&quot;w-4 h-4&quot;}),f.jsx(&quot;a&quot;,{href:`mailto:${wa}`,className:&quot;hover:text-brand-9002&quot;,children:wa})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[f.jsx(zc,{className:&quot;w-4 h-4&quot;}),f.jsx(&quot;span&quot;,{children:Zd})]})]}),f.jsx(Fe,{onClick:g,variant:&quot;outline&quot;,children:&quot;Nouvelle inscription&quot;}),f.jsx(&quot;div&quot;,{children:f.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;?f.jsx(ho,{children:f.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;max-w-2xl mx-auto px-4 sm:px-6 lg:px-8&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:[f.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:f.jsx(PD,{className:&quot;w-16 h-16 text-red-600&quot;})}),f.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Erreur&quot;}),f.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;}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[f.jsx(Fe,{onClick:g,children:&quot;Réessayer&quot;}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-2 text-sm text-ink-500&quot;,children:[f.jsx(&quot;p&quot;,{className:&quot;font-light&quot;,children:&quot;Ou contactez-nous :&quot;}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[f.jsx(ps,{className:&quot;w-4 h-4&quot;}),f.jsx(&quot;a&quot;,{href:`mailto:${wa}`,className:&quot;hover:text-brand-9002&quot;,children:wa})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[f.jsx(zc,{className:&quot;w-4 h-4&quot;}),f.jsx(&quot;span&quot;,{children:Zd})]})]}),f.jsx(&quot;div&quot;,{children:f.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;?f.jsx(ho,{children:f.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;max-w-2xl mx-auto px-4 sm:px-6 lg:px-8&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:[f.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:f.jsx(Jv,{className:&quot;w-16 h-16 text-yellow-600&quot;})}),f.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;Inscriptions publiques indisponibles&quot;}),f.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;}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2 mb-2&quot;,children:[f.jsx(ps,{className:&quot;w-4 h-4&quot;}),f.jsx(&quot;a&quot;,{href:`mailto:${wa}`,className:&quot;hover:text-brand-9002&quot;,children:wa})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-center space-x-2&quot;,children:[f.jsx(zc,{className:&quot;w-4 h-4&quot;}),f.jsx(&quot;span&quot;,{children:Zd})]})]}),f.jsx(&quot;div&quot;,{children:f.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;})})]})]})})})}):f.jsx(ho,{children:f.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-20&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;w-full mx-auto&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;text-center mb-12 px-4 sm:px-6 lg:px-8&quot;,children:[f.jsx(&quot;h1&quot;,{className:&quot;text-4xl font-heading font-medium text-ink-900 mb-4&quot;,children:&quot;PREINSCRIPTIONS &amp; RECOMMANDATIONS&quot;}),f.jsx(&quot;p&quot;,{className:&quot;text-ink-500 font-light text-lg&quot;,children:&quot;Sélectionner une option ci-dessous. Vous pourrez revenir pour un autre choix.&quot;})]}),f.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:f.jsx(GL,{preselectedEvents:t,onSuccess:m,onConflict:h,onError:d})})]})})})}function ln({children:e,className:r=&quot;&quot;}){return f.jsx(&quot;div&quot;,{className:`bg-surface-0 rounded-xl2 shadow-soft p-6 ${r}`,children:e})}function ZL(){const e=Ss(),{isAuthenticated:r,canAccessAdmin:t,loading:n,refetch:o,roles:i}=ks(),[a,u]=q.useState(&quot;&quot;),[l,s]=q.useState(&quot;&quot;),[c,m]=q.useState(!1),[h,d]=q.useState(null);if(n)return f.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})});if(r){const p=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 f.jsx(ei,{to:t?p:&quot;/account&quot;,replace:!0})}const g=async y=&gt;{y.preventDefault(),m(!0),d(null);try{const p=await Yi.login({email:a,password:l});if(!p||!p.token){d(&quot;Réponse invalide du serveur.&quot;);return}const b=await o(),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(W=&gt;typeof W==&quot;string&quot;?W:W.name).filter(W=&gt;typeof W==&quot;string&quot;),E=_.some(W=&gt;x.includes(W)),D=!_.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(E?D:&quot;/account&quot;,{replace:!0})}catch(p){if(console.error(&quot;Erreur de connexion complète:&quot;,p),p instanceof mr)if(console.error(&quot;Détails de l&#039;erreur API:&quot;,{status:p.status,data:p.data,message:p.message}),p.status===422&amp;&amp;p.data.errors){const b=Object.values(p.data.errors).flat();d(b.join(&quot;. &quot;)||&quot;Erreur de validation.&quot;)}else p.status===401||p.status===422?p.data.errors&amp;&amp;p.data.errors.email?d(p.data.errors.email[0]||&quot;Email ou mot de passe incorrect.&quot;):d(p.data.message||&quot;Email ou mot de passe incorrect.&quot;):p.status===403?d(&quot;Votre compte n&#039;a pas les permissions nécessaires.&quot;):d(p.data?.message||&quot;Une erreur est survenue lors de la connexion.&quot;);else d(&quot;Une erreur inattendue est survenue.&quot;)}finally{m(!1)}};return f.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:f.jsxs(&quot;div&quot;,{className:&quot;max-w-md w-full&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;text-center mb-8&quot;,children:[f.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:&quot;Connexion&quot;}),f.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Connectez-vous à votre espace&quot;})]}),f.jsx(ln,{children:f.jsxs(&quot;form&quot;,{onSubmit:g,className:&quot;space-y-6&quot;,children:[h&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-4&quot;,children:f.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:h})}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{id:&quot;email&quot;,type:&quot;email&quot;,value:a,onChange:y=&gt;u(y.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;})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{id:&quot;password&quot;,type:&quot;password&quot;,value:l,onChange:y=&gt;s(y.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;})]}),f.jsx(Fe,{type:&quot;submit&quot;,variant:&quot;primary&quot;,className:&quot;w-full&quot;,disabled:c,children:c?&quot;Connexion...&quot;:&quot;Se connecter&quot;})]})}),f.jsx(&quot;div&quot;,{className:&quot;mt-6 text-center&quot;,children:f.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 QL(){const[e]=Uh(),r=Ss(),t=e.get(&quot;token&quot;)??&quot;&quot;,[n,o]=q.useState(t?&quot;initial&quot;:&quot;error&quot;),[i,a]=q.useState(!!t),[u,l]=q.useState(!1),[s,c]=q.useState(&quot;&quot;),[m,h]=q.useState(&quot;&quot;),[d,g]=q.useState(!1),[y,p]=q.useState(&quot;&quot;),[b,x]=q.useState({});q.useEffect(()=&gt;{if(!t){p(&quot;Lien d&#039;activation invalide ou manquant.&quot;);return}let M=!1;return Yi.checkActivation(t).then(D=&gt;{M||(l(D.already_active),a(!1))}).catch(D=&gt;{M||(a(!1),o(&quot;error&quot;),p(D instanceof mr?D.data?.errors?.token?.[0]??D.data?.message??&quot;Le lien d&#039;activation est invalide ou a expiré.&quot;:&quot;Une erreur est survenue.&quot;))}),()=&gt;{M=!0}},[t]);const _=async M=&gt;{if(M.preventDefault(),!!t){x({}),g(!0),p(&quot;&quot;);try{const D={token:t.trim()};u||(D.password=s,D.password_confirmation=m);const W=await Yi.activate(D);o(&quot;success&quot;);const L=u?&quot;Inscription confirmée.&quot;:&quot;Votre compte est activé. Vous pouvez maintenant accéder à votre espace.&quot;;p(W?.message??L)}catch(D){if(o(&quot;error&quot;),D instanceof mr)if(D.status===422&amp;&amp;D.data.errors){const W={};Object.entries(D.data.errors).forEach(([L,V])=&gt;{Array.isArray(V)&amp;&amp;V[0]&amp;&amp;(W[L]=V[0])}),x(W),p(D.data.errors?.token?.[0]??D.data.errors?.password?.[0]??&quot;Vérifiez votre mot de passe (8 caractères minimum) et la confirmation.&quot;)}else p(D.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 p(&quot;Une erreur est survenue. Veuillez réessayer plus tard.&quot;)}finally{g(!1)}}},E=()=&gt;{_({preventDefault:()=&gt;{}})};return f.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center py-12 px-4&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;max-w-md w-full&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;text-center mb-8&quot;,children:[f.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:&quot;Activation de compte&quot;}),f.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;})]}),f.jsxs(ln,{children:[n===&quot;error&quot;&amp;&amp;!t&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[f.jsx(&quot;p&quot;,{className:&quot;text-red-600&quot;,children:y}),f.jsx(Fe,{variant:&quot;primary&quot;,className:&quot;mt-4&quot;,onClick:()=&gt;r(&quot;/&quot;),children:&quot;Retour à l&#039;accueil&quot;})]}),i&amp;&amp;f.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;f.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[f.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;}),y&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-4&quot;,children:f.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:y})}),f.jsx(Fe,{variant:&quot;primary&quot;,className:&quot;w-full&quot;,onClick:E,disabled:d,children:d?&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;f.jsxs(&quot;form&quot;,{onSubmit:_,className:&quot;space-y-6&quot;,children:[y&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-4&quot;,children:f.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:y})}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{id:&quot;password&quot;,type:&quot;password&quot;,value:s,onChange:M=&gt;c(M.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;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:b.password})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{id:&quot;password_confirmation&quot;,type:&quot;password&quot;,value:m,onChange:M=&gt;h(M.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;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:b.password_confirmation})]}),f.jsx(Fe,{type:&quot;submit&quot;,variant:&quot;primary&quot;,className:&quot;w-full&quot;,disabled:d,children:d?&quot;Activation en cours...&quot;:&quot;Activer mon compte&quot;})]}),n===&quot;success&quot;&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;text-center&quot;,children:[f.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:f.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:f.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M5 13l4 4L19 7&quot;})})}),f.jsx(&quot;h2&quot;,{className:&quot;text-xl font-semibold text-ink-900 mb-2&quot;,children:&quot;Compte activé&quot;}),f.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mb-6&quot;,children:y}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[f.jsx(Fe,{variant:&quot;primary&quot;,className:&quot;w-full&quot;,onClick:()=&gt;r(&quot;/account&quot;),children:&quot;Aller à mon espace&quot;}),f.jsx(Fe,{variant:&quot;outline&quot;,className:&quot;w-full&quot;,onClick:()=&gt;r(&quot;/&quot;),children:&quot;Retour à l&#039;accueil&quot;})]})]})]}),f.jsx(&quot;div&quot;,{className:&quot;mt-6 text-center&quot;,children:f.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 JL={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;},eF={pending_review:&quot;En attente de validation&quot;,confirmed:&quot;Validé&quot;,rejected:&quot;Rejeté&quot;},P8=[&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 tF(e){const[r,t]=e.split(&quot;-&quot;).map(Number);return Number.isNaN(r)||Number.isNaN(t)?e:`${P8[t-1]??e} ${r}`}function rF(e){const[r,t]=e.split(&quot;-&quot;).map(Number);if(Number.isNaN(r)||Number.isNaN(t))return e;const o=new Date(r,t,0).getDate(),i=P8[t-1]??String(t);return`${o} ${i} ${r}`}function nF(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 iF(){const e=Ss(),{user:r,isAuthenticated:t,canAccessAdmin:n,loading:o,refetch:i,roles:a}=ks(),[u,l]=q.useState([]),[s,c]=q.useState(!0),[m,h]=q.useState(null),[d,g]=q.useState(&quot;&quot;),[y,p]=q.useState(&quot;&quot;),[b,x]=q.useState(null),[_,E]=q.useState(!1),[M,D]=q.useState(null),[W,L]=q.useState(null),[V,H]=q.useState(&quot;&quot;),[K,z]=q.useState(&quot;mobile_money&quot;),[O,I]=q.useState(()=&gt;new Date().toISOString().slice(0,10)),[C,j]=q.useState(&quot;&quot;),[k,S]=q.useState(&quot;&quot;),[N,T]=q.useState(null),[R,B]=q.useState(null),[Y,Q]=q.useState(!1),[ne,U]=q.useState(null),ee=()=&gt;{c(!0),h(null),DL().then(l).catch(re=&gt;{if(re instanceof mr){if(re.status===401){Yi.logout().catch(()=&gt;{}),e(&quot;/login&quot;,{replace:!0});return}h(re.data?.message??&quot;Une erreur est survenue.&quot;)}else h(&quot;Une erreur est survenue.&quot;)}).finally(()=&gt;c(!1))};q.useEffect(()=&gt;{!t||!Yi.isAuthenticated()||r?.must_change_password||ee()},[t,e,r?.must_change_password]);const F=()=&gt;{const re=d.trim(),Z=y.trim();if(x(null),re.length&lt;8){x(&quot;Le mot de passe doit contenir au moins 8 caractères.&quot;);return}if(re!==Z){x(&quot;Les deux mots de passe ne correspondent pas.&quot;);return}E(!0),O8.changePassword({new_password:re,new_password_confirmation:Z}).then(()=&gt;{g(&quot;&quot;),p(&quot;&quot;),i()}).catch(te=&gt;{const ae=te?.data?.message??te?.message??&quot;Erreur lors du changement de mot de passe.&quot;,ce=te?.data?.errors;x(ce?Object.values(ce).flat().join(&quot; &quot;):ae)}).finally(()=&gt;E(!1))},P=()=&gt;{if(!M)return;const re=parseInt(V,10);if(isNaN(re)||re&lt;=0){B(&quot;Montant invalide.&quot;);return}B(null),Q(!0);const Z={amount:re,method:K,paid_at:new Date(O).toISOString(),installment_index:W??void 0,reference:C.trim()||void 0,notes:k.trim()||void 0,proof:N??void 0};LL(M.id,Z).then(()=&gt;{D(null),L(null),ee()}).catch(te=&gt;{B(te?.data?.message??te?.message??&quot;Erreur lors de l&#039;enregistrement.&quot;)}).finally(()=&gt;Q(!1))},X=(re,Z)=&gt;{U(re),FL(re,`${Z}.pdf`).catch(()=&gt;{}).finally(()=&gt;U(null))};return o?f.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):t?n&amp;&amp;!r?.must_change_password?f.jsx(ei,{to:&quot;/admin/registrations&quot;,replace:!0}):f.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-12 px-4 sm:px-6 lg:px-8&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;max-w-3xl mx-auto&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;mb-8&quot;,children:[f.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:&quot;Mon espace participant&quot;}),f.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Consultez vos inscriptions, échéances et paiements&quot;})]}),f.jsxs(ln,{className:&quot;mb-8&quot;,children:[f.jsx(&quot;h2&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-4&quot;,children:&quot;Mes informations&quot;}),f.jsxs(&quot;p&quot;,{className:&quot;text-ink-700&quot;,children:[f.jsx(&quot;span&quot;,{className:&quot;font-medium&quot;,children:&quot;Nom :&quot;}),&quot; &quot;,r?.name??&quot;—&quot;]}),f.jsxs(&quot;p&quot;,{className:&quot;text-ink-700 mt-1&quot;,children:[f.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;f.jsxs(ln,{className:&quot;mb-8 border-amber-200 bg-amber-50/50&quot;,children:[f.jsx(&quot;h2&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-2&quot;,children:&quot;Changer votre mot de passe&quot;}),f.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;f.jsx(&quot;div&quot;,{className:&quot;mb-4 bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:f.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:b})}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-4 max-w-md&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Nouveau mot de passe &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:d,onChange:re=&gt;g(re.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;})]}),f.jsxs(&quot;div&quot;,{children:[f.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;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:y,onChange:re=&gt;p(re.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;})]}),f.jsx(Fe,{variant:&quot;primary&quot;,onClick:F,disabled:!!_,children:_?&quot;Enregistrement...&quot;:&quot;Enregistrer le mot de passe&quot;})]})]}),!r?.must_change_password&amp;&amp;f.jsxs(ln,{children:[f.jsx(&quot;h2&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-4&quot;,children:&quot;Mes inscriptions&quot;}),s&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;py-8 text-center text-ink-500&quot;,children:&quot;Chargement...&quot;}),m&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-4 mb-4&quot;,children:[f.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:m}),f.jsx(Fe,{variant:&quot;outline&quot;,className:&quot;mt-2&quot;,onClick:()=&gt;ee(),children:&quot;Réessayer&quot;})]}),!s&amp;&amp;!m&amp;&amp;u.length===0&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;py-8 text-center text-ink-500&quot;,children:[f.jsx(&quot;p&quot;,{className:&quot;mb-4&quot;,children:&quot;Vous n&#039;avez pas encore d&#039;inscription.&quot;}),f.jsx(Fe,{variant:&quot;primary&quot;,onClick:()=&gt;e(&quot;/inscription&quot;),children:&quot;S&#039;inscrire à un événement&quot;})]}),!s&amp;&amp;!m&amp;&amp;u.length&gt;0&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:u.map(re=&gt;{const Z=nF(re),te=re.currency_selected===&quot;EUR&quot;?&quot;€&quot;:&quot;FCFA&quot;,ae=re.installment_config?.installments??[],ce=ae.length&gt;0,fe=ce&amp;&amp;Z&gt;0?Math.round(Z/ae.length):Z,se=re.payments??[],ue=se.filter(he=&gt;he.status===&quot;confirmed&quot;).reduce((he,ge)=&gt;he+ge.amount,0),ie=Math.max(0,Z-ue);return f.jsxs(&quot;div&quot;,{className:&quot;border border-gray-200 rounded-lg p-4 hover:bg-gray-50/50 transition-colors&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-2&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;p&quot;,{className:&quot;font-medium text-ink-900&quot;,children:re.event?.name??`Inscription #${re.id}`}),f.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[re.first_name,&quot; &quot;,re.last_name,&quot; · &quot;,re.email]})]}),f.jsx(&quot;span&quot;,{className:`inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium ${re.status===&quot;paid&quot;?&quot;bg-green-100 text-green-800&quot;:re.status===&quot;submitted&quot;||re.status===&quot;pending_payment&quot;?&quot;bg-amber-100 text-amber-800&quot;:&quot;bg-gray-100 text-gray-800&quot;}`,children:JL[re.status]??re.status})]}),re.pricing_plan&amp;&amp;f.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:[&quot;Formule : &quot;,re.pricing_plan.title,&quot; (&quot;,re.pricing_plan.code,&quot;)&quot;]}),(re.amount_due_eur!=null||re.amount_due_xof!=null)&amp;&amp;!ce&amp;&amp;f.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:[&quot;Montant dû :&quot;,&quot; &quot;,re.amount_due_eur!=null&amp;&amp;`${re.amount_due_eur} €`,re.amount_due_eur!=null&amp;&amp;re.amount_due_xof!=null&amp;&amp;&quot; / &quot;,re.amount_due_xof!=null&amp;&amp;`${re.amount_due_xof.toLocaleString(&quot;fr-FR&quot;)} FCFA`]}),ce?f.jsxs(&quot;div&quot;,{className:&quot;mt-4 pt-4 border-t border-gray-100&quot;,children:[f.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-600 mb-1&quot;,children:[&quot;Montant total :&quot;,&quot; &quot;,f.jsxs(&quot;span&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:[Z.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,te]})]}),f.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;}),f.jsx(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:ae.map((he,ge)=&gt;{const pe=he.amount??fe,le=he.currency===&quot;EUR&quot;?&quot;€&quot;:&quot;FCFA&quot;,_e=rF(he.month),Se=se.find(Ie=&gt;Ie.installment_index===ge),Oe=Se?.status===&quot;confirmed&quot;,Pe=!!Se&amp;&amp;Se.status!==&quot;confirmed&quot;;return f.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-3 rounded-lg border border-gray-200 bg-gray-50/50 px-4 py-3&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;p&quot;,{className:&quot;font-medium text-ink-900&quot;,children:[&quot;Échéance &quot;,ge+1,&quot; — &quot;,tF(he.month)]}),f.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-0.5&quot;,children:[&quot;Date limite : &quot;,f.jsx(&quot;span&quot;,{className:&quot;font-medium text-ink-700&quot;,children:_e})]})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3 flex-wrap&quot;,children:[f.jsxs(&quot;p&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:[pe.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,le]}),Oe&amp;&amp;Se?.receipt?f.jsxs(&quot;span&quot;,{className:&quot;flex items-center gap-2&quot;,children:[f.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;}),f.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;X(Se.receipt.id,Se.receipt.receipt_number),disabled:ne===Se.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:[f.jsx(So,{size:14}),ne===Se.receipt?.id?&quot;Téléchargement...&quot;:&quot;Télécharger le reçu&quot;]})]}):Pe?f.jsx(&quot;span&quot;,{className:`px-1.5 py-0.5 rounded text-xs ${Se.status===&quot;rejected&quot;?&quot;bg-red-100 text-red-800&quot;:&quot;bg-amber-100 text-amber-800&quot;}`,children:Se.status===&quot;rejected&quot;?&quot;Rejeté&quot;:&quot;Déclaré — En attente de validation&quot;}):null,Z&gt;0&amp;&amp;!Oe&amp;&amp;f.jsx(&quot;span&quot;,{className:&quot;inline-flex items-center gap-1 text-sm text-red-600 italic&quot;,children:&quot;Lien de paiement bientôt disponible ici&quot;})]})]},ge)})})]}):Z&gt;0&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;mt-4 pt-4 border-t border-gray-100&quot;,children:[f.jsx(&quot;h3&quot;,{className:&quot;text-sm font-semibold text-ink-700 mb-2&quot;,children:&quot;Montant dû&quot;}),f.jsxs(&quot;div&quot;,{className:&quot;rounded-lg border border-gray-200 bg-gray-50/50 px-4 py-3 flex flex-wrap items-center justify-between gap-2&quot;,children:[f.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600&quot;,children:&quot;Total à régler&quot;}),f.jsxs(&quot;p&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:[Z.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,te]})]})]}),Z&gt;0&amp;&amp;f.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:[f.jsx(&quot;span&quot;,{className:&quot;text-sm font-medium text-[#5C262D]&quot;,children:&quot;Restant à payer&quot;}),f.jsxs(&quot;span&quot;,{className:`text-sm font-semibold ${ie&gt;0?&quot;text-[#722F37]&quot;:&quot;text-green-700&quot;}`,children:[ie.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,te,ie===0&amp;&amp;Z&gt;0&amp;&amp;&quot; — Soldé&quot;]})]}),f.jsxs(&quot;div&quot;,{className:&quot;mt-4 pt-4 border-t border-gray-100&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between gap-2 mb-2&quot;,children:[f.jsx(&quot;h3&quot;,{className:&quot;text-sm font-semibold text-ink-700&quot;,children:&quot;Paiements&quot;}),Z&gt;0&amp;&amp;f.jsx(&quot;span&quot;,{className:&quot;inline-flex items-center gap-1 text-sm text-red-600 italic&quot;,children:&quot;Lien de paiement bientôt disponible ici&quot;})]}),se.length===0?f.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Aucun paiement déclaré.&quot;}):f.jsx(&quot;ul&quot;,{className:&quot;space-y-2&quot;,children:se.map(he=&gt;f.jsxs(&quot;li&quot;,{className:&quot;flex flex-wrap items-center justify-between gap-2 text-sm py-1.5 border-b border-gray-50 last:border-0&quot;,children:[f.jsxs(&quot;span&quot;,{children:[he.amount.toLocaleString(&quot;fr-FR&quot;),&quot; &quot;,he.currency,&quot; — &quot;,he.paid_at?new Date(he.paid_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;—&quot;,he.reference&amp;&amp;` (${he.reference})`]}),f.jsxs(&quot;span&quot;,{className:&quot;flex items-center gap-2 flex-wrap&quot;,children:[f.jsx(&quot;span&quot;,{className:`px-1.5 py-0.5 rounded text-xs ${he.status===&quot;confirmed&quot;?&quot;bg-green-100 text-green-800&quot;:he.status===&quot;rejected&quot;?&quot;bg-red-100 text-red-800&quot;:&quot;bg-amber-100 text-amber-800&quot;}`,children:eF[he.status]??he.status}),he.status===&quot;confirmed&quot;&amp;&amp;(he.receipt?f.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;X(he.receipt.id,he.receipt.receipt_number),disabled:ne===he.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:[f.jsx(So,{size:14}),ne===he.receipt.id?&quot;Téléchargement...&quot;:&quot;Télécharger le reçu&quot;]}):f.jsx(&quot;span&quot;,{className:&quot;text-ink-500 text-xs&quot;,children:&quot;Reçu à venir&quot;}))]})]},he.id))})]})]},re.id)})})]}),f.jsxs(&quot;div&quot;,{className:&quot;mt-8 flex flex-wrap gap-4&quot;,children:[f.jsx(Fe,{variant:&quot;outline&quot;,onClick:()=&gt;Yi.logout().then(()=&gt;e(&quot;/login&quot;,{replace:!0})),children:&quot;Déconnexion&quot;}),n&amp;&amp;f.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;}),f.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;})]})]}),M&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:f.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:[f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity&quot;,onClick:()=&gt;{Y||(D(null),L(null))},&quot;aria-hidden&quot;:!0}),f.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:f.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[f.jsx(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-red-600&quot;,children:&quot;Lien de paiement bientôt disponible ici&quot;}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;{Y||(D(null),L(null))},className:&quot;text-gray-400 hover:text-gray-600 p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:f.jsx(Rr,{size:24})})]}),f.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-4&quot;,children:M.event?.name}),R&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;mb-4 bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:f.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:R})}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Montant &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:1,value:V,onChange:re=&gt;H(re.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:!!Y})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Mode de paiement &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsxs(&quot;select&quot;,{value:K,onChange:re=&gt;z(re.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:!!Y,children:[f.jsx(&quot;option&quot;,{value:&quot;mobile_money&quot;,children:&quot;Mobile Money&quot;}),f.jsx(&quot;option&quot;,{value:&quot;card_visa&quot;,children:&quot;Carte Visa&quot;}),f.jsx(&quot;option&quot;,{value:&quot;paypal&quot;,children:&quot;PayPal&quot;}),f.jsx(&quot;option&quot;,{value:&quot;national_office&quot;,children:&quot;Bureau national&quot;})]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Date du paiement &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:O,onChange:re=&gt;I(re.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:!!Y})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Référence transaction&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:C,onChange:re=&gt;j(re.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&quot;,disabled:!!Y})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Preuve (image ou photo)&quot;}),f.jsx(&quot;input&quot;,{type:&quot;file&quot;,accept:&quot;image/*,.pdf&quot;,capture:&quot;environment&quot;,onChange:re=&gt;T(re.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:!!Y}),f.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-400 mt-1&quot;,children:&quot;Photo ou scan du reçu, max 5 Mo. Sur mobile, la caméra peut être utilisée.&quot;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Notes (optionnel)&quot;}),f.jsx(&quot;textarea&quot;,{value:k,onChange:re=&gt;S(re.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 éventuel&quot;,disabled:!!Y})]})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 mt-6&quot;,children:[f.jsx(Fe,{variant:&quot;ghost&quot;,onClick:()=&gt;{D(null),L(null)},disabled:!!Y,children:&quot;Annuler&quot;}),f.jsx(Fe,{variant:&quot;primary&quot;,onClick:P,disabled:!!Y,children:Y?&quot;Envoi...&quot;:&quot;Envoyer la déclaration&quot;})]})]})})]})})]}):f.jsx(ei,{to:&quot;/login&quot;,replace:!0})}function Xh({showRefresh:e=!1,refreshing:r=!1,onRefresh:t}){const n=Ss(),{user:o}=ks(),i=async()=&gt;{try{await Yi.logout(),n(&quot;/login&quot;,{replace:!0})}catch{n(&quot;/login&quot;,{replace:!0})}};return f.jsx(&quot;header&quot;,{className:&quot;bg-white shadow-soft border-b border-gray-200 sticky top-0 z-50 w-full&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;w-full px-4 sm:px-6 lg:px-8 py-4&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-3&quot;,children:[f.jsx(&quot;img&quot;,{src:&quot;/logoHaggai.avif&quot;,alt:&quot;Sommet Haggai Francophone&quot;,className:&quot;h-10 md:h-12 w-auto&quot;}),f.jsx(&quot;h1&quot;,{className:&quot;text-xl md:text-2xl font-heading font-medium text-ink-900 uppercase tracking-wide&quot;,children:&quot;Sommet Haggai Francophone&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-4&quot;,children:[o&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;text-right hidden sm:block&quot;,children:[f.jsx(&quot;p&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:o.name}),f.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:o.email}),o.roles&amp;&amp;o.roles.length&gt;0&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:typeof o.roles[0]==&quot;string&quot;?o.roles[0]:o.roles[0].name})]}),e&amp;&amp;t&amp;&amp;f.jsxs(Fe,{variant:&quot;outline&quot;,onClick:t,disabled:r,className:&quot;flex items-center gap-2&quot;,title:&quot;Rafraîchir les données&quot;,children:[f.jsx(cL,{size:18,className:r?&quot;animate-spin&quot;:&quot;&quot;}),f.jsx(&quot;span&quot;,{className:&quot;hidden sm:inline&quot;,children:r?&quot;Rafraîchissement...&quot;:&quot;Rafraîchir&quot;})]}),f.jsxs(Fe,{variant:&quot;outline&quot;,onClick:i,className:&quot;flex items-center gap-2&quot;,children:[f.jsx(QD,{size:18}),f.jsx(&quot;span&quot;,{className:&quot;hidden sm:inline&quot;,children:&quot;Déconnexion&quot;})]})]})]})})})}const sr=&#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 sF(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;${sr}&gt;${e}&lt;/svg&gt;`;return`data:image/svg+xml,${encodeURIComponent(r)}`}const aF={layoutDashboard:[`&lt;rect width=&quot;7&quot; height=&quot;9&quot; x=&quot;3&quot; y=&quot;3&quot; rx=&quot;1&quot;${sr}/&gt;`,`&lt;rect width=&quot;7&quot; height=&quot;5&quot; x=&quot;14&quot; y=&quot;3&quot; rx=&quot;1&quot;${sr}/&gt;`,`&lt;rect width=&quot;7&quot; height=&quot;9&quot; x=&quot;14&quot; y=&quot;12&quot; rx=&quot;1&quot;${sr}/&gt;`,`&lt;rect width=&quot;7&quot; height=&quot;5&quot; x=&quot;3&quot; y=&quot;16&quot; rx=&quot;1&quot;${sr}/&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;${sr}/&gt;`,`&lt;path d=&quot;M16 3.128a4 4 0 0 1 0 7.744&quot;${sr}/&gt;`,`&lt;path d=&quot;M22 21v-2a4 4 0 0 0-3-3.87&quot;${sr}/&gt;`,`&lt;circle cx=&quot;9&quot; cy=&quot;7&quot; r=&quot;4&quot;${sr}/&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;${sr}/&gt;`].join(&quot;&quot;),userCog:[`&lt;path d=&quot;M10 15H6a4 4 0 0 0-4 4v2&quot;${sr}/&gt;`,`&lt;path d=&quot;m14.305 16.53.923-.382&quot;${sr}/&gt;`,`&lt;path d=&quot;m15.228 13.852-.923-.383&quot;${sr}/&gt;`,`&lt;path d=&quot;m16.852 12.228-.383-.923&quot;${sr}/&gt;`,`&lt;path d=&quot;m16.852 17.772-.383.924&quot;${sr}/&gt;`,`&lt;path d=&quot;m19.148 12.228.383-.923&quot;${sr}/&gt;`,`&lt;path d=&quot;m19.53 18.696-.382-.924&quot;${sr}/&gt;`,`&lt;path d=&quot;m20.772 13.852.924-.383&quot;${sr}/&gt;`,`&lt;path d=&quot;m20.772 16.148.924.383&quot;${sr}/&gt;`,`&lt;circle cx=&quot;18&quot; cy=&quot;15&quot; r=&quot;3&quot;${sr}/&gt;`,`&lt;circle cx=&quot;9&quot; cy=&quot;7&quot; r=&quot;4&quot;${sr}/&gt;`].join(&quot;&quot;),userCircle:[`&lt;circle cx=&quot;12&quot; cy=&quot;12&quot; r=&quot;10&quot;${sr}/&gt;`,`&lt;circle cx=&quot;12&quot; cy=&quot;10&quot; r=&quot;3&quot;${sr}/&gt;`,`&lt;path d=&quot;M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662&quot;${sr}/&gt;`].join(&quot;&quot;),dollarSign:[`&lt;line x1=&quot;12&quot; x2=&quot;12&quot; y1=&quot;2&quot; y2=&quot;22&quot;${sr}/&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;${sr}/&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;${sr}/&gt;`,`&lt;circle cx=&quot;12&quot; cy=&quot;12&quot; r=&quot;3&quot;${sr}/&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;${sr}/&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;${sr}/&gt;`].join(&quot;&quot;)},I8={};for(const[e,r]of Object.entries(aF))I8[e]=sF(r);function oF(){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 lF(e){return I8[e]??&quot;&quot;}function Gh({currentSection:e,registrationView:r=&quot;summit&quot;,showSommet:t=!0,showSeminar:n=!1,showRecommendations:o=!0,showUsers:i=!1,showFinance:a=!1,showSettings:u=!1}){const l=e===&quot;registrations&quot;,s=e===&quot;users&quot;,c=e===&quot;account&quot;,m=e===&quot;finance&quot;,h=e===&quot;settings&quot;,d=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;}`,g=f.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:[f.jsx(&quot;div&quot;,{className:&quot;p-4 border-b border-gray-200&quot;,children:f.jsx(&quot;h2&quot;,{className:&quot;text-sm font-semibold text-ink-900&quot;,children:&quot;Menu&quot;})}),f.jsxs(&quot;nav&quot;,{className:&quot;flex-1 p-2 overflow-y-auto&quot;,children:[t&amp;&amp;f.jsxs(xr,{to:&quot;/admin/registrations?view=summit&quot;,className:d(l&amp;&amp;r===&quot;summit&quot;),children:[f.jsx(S3,{size:18}),&quot;Sommet Francophone&quot;]}),n&amp;&amp;f.jsxs(xr,{to:&quot;/admin/registrations?view=seminar&quot;,className:d(l&amp;&amp;r===&quot;seminar&quot;),children:[f.jsx(Vf,{size:18}),&quot;Séminaire régional&quot;]}),o&amp;&amp;f.jsxs(xr,{to:&quot;/admin/registrations?view=recommendations&quot;,className:d(l&amp;&amp;r===&quot;recommendations&quot;),children:[f.jsx(k3,{size:18}),&quot;Recommandations&quot;]}),i&amp;&amp;f.jsxs(xr,{to:&quot;/admin/users&quot;,className:d(s),children:[f.jsx(Uf,{size:18}),&quot;Utilisateurs&quot;]}),a&amp;&amp;f.jsxs(xr,{to:&quot;/admin/finance&quot;,className:d(m),children:[f.jsx(ey,{size:18}),&quot;Finance&quot;]}),u&amp;&amp;f.jsxs(xr,{to:&quot;/admin/settings&quot;,className:d(h),children:[f.jsx(ny,{size:18}),&quot;Paramétrage&quot;]}),f.jsxs(xr,{to:&quot;/admin/account&quot;,className:d(c),children:[f.jsx(_3,{size:18}),&quot;Mon compte&quot;]}),f.jsxs(xr,{to:&quot;/account&quot;,className:d(!1),children:[f.jsx(ty,{size:18}),&quot;Ma page personnelle&quot;]})]})]}),y=oF(),p=[t&amp;&amp;{to:&quot;/admin/registrations?view=summit&quot;,label:&quot;Sommet&quot;,icon:S3,iconKey:&quot;layoutDashboard&quot;,active:l&amp;&amp;r===&quot;summit&quot;},n&amp;&amp;{to:&quot;/admin/registrations?view=seminar&quot;,label:&quot;Séminaire&quot;,icon:Vf,iconKey:&quot;users&quot;,active:l&amp;&amp;r===&quot;seminar&quot;},o&amp;&amp;{to:&quot;/admin/registrations?view=recommendations&quot;,label:&quot;Recommandations&quot;,icon:k3,iconKey:&quot;messageSquare&quot;,active:l&amp;&amp;r===&quot;recommendations&quot;},i&amp;&amp;{to:&quot;/admin/users&quot;,label:&quot;Utilisateurs&quot;,icon:Uf,iconKey:&quot;userCog&quot;,active:s},a&amp;&amp;{to:&quot;/admin/finance&quot;,label:&quot;Finance&quot;,icon:ey,iconKey:&quot;dollarSign&quot;,active:m},u&amp;&amp;{to:&quot;/admin/settings&quot;,label:&quot;Paramétrage&quot;,icon:ny,iconKey:&quot;settings&quot;,active:h},{to:&quot;/admin/account&quot;,label:&quot;Mon compte&quot;,icon:_3,iconKey:&quot;userCircle&quot;,active:c},{to:&quot;/account&quot;,label:&quot;Ma page&quot;,icon:ty,iconKey:&quot;home&quot;,active:!1}].filter(Boolean);return f.jsxs(f.Fragment,{children:[g,f.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:f.jsx(&quot;div&quot;,{className:&quot;grid h-14 min-h-[56px] items-center justify-items-center py-2&quot;,style:{gridTemplateColumns:`repeat(${p.length}, minmax(0, 1fr))`},children:p.map(b=&gt;{const x=b.icon;return f.jsxs(xr,{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:[f.jsx(&quot;span&quot;,{className:&quot;mobile-nav-icon-cell shrink-0 flex items-center justify-center&quot;,&quot;aria-hidden&quot;:!0,children:y?f.jsx(&quot;img&quot;,{src:lF(b.iconKey),alt:&quot;&quot;,width:22,height:22,className:&quot;block&quot;}):f.jsx(x,{size:22,strokeWidth:2,stroke:&quot;currentColor&quot;,fill:&quot;none&quot;})}),f.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 cF=[{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 uF({filters:e,onFiltersChange:r,hideEventFilter:t=!1}){const{events:n,loading:o}=Kh(),[i,a]=q.useState(e),[u,l]=q.useState(null);q.useEffect(()=&gt;{a(e)},[e]);const s=(h,d)=&gt;{const g={...i,[h]:d};if(a(g),h===&quot;q&quot;){u&amp;&amp;clearTimeout(u);const y=setTimeout(()=&gt;{r(g)},400);l(y)}else r(g)},c=h=&gt;{const d=i.status||[],g=d.includes(h)?d.filter(y=&gt;y!==h):[...d,h];s(&quot;status&quot;,g.length&gt;0?g:void 0)},m=()=&gt;{const h={event_id:void 0,status:void 0,q:void 0,created_from:void 0,created_to:void 0};a(h),r(h)};return f.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-6 space-y-4&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[f.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Filtres&quot;}),f.jsx(Fe,{variant:&quot;ghost&quot;,onClick:m,className:&quot;text-sm&quot;,children:&quot;Réinitialiser&quot;})]}),f.jsxs(&quot;div&quot;,{className:`grid grid-cols-1 md:grid-cols-2 ${t?&quot;lg:grid-cols-3&quot;:&quot;lg:grid-cols-4&quot;} gap-4`,children:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Recherche&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:i.q||&quot;&quot;,onChange:h=&gt;s(&quot;q&quot;,h.target.value||void 0),placeholder:&quot;Nom, email, téléphone...&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;})]}),!t&amp;&amp;f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Événement&quot;}),f.jsxs(&quot;select&quot;,{value:i.event_id||&quot;&quot;,onChange:h=&gt;s(&quot;event_id&quot;,h.target.value?Number(h.target.value):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;,disabled:o,children:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous les événements&quot;}),n.map(h=&gt;f.jsx(&quot;option&quot;,{value:h.id,children:h.name},h.id))]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Date début&quot;}),f.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i.created_from||&quot;&quot;,onChange:h=&gt;s(&quot;created_from&quot;,h.target.value||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;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Date fin&quot;}),f.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i.created_to||&quot;&quot;,onChange:h=&gt;s(&quot;created_to&quot;,h.target.value||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;})]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Statuts&quot;}),f.jsx(&quot;div&quot;,{className:&quot;flex flex-wrap gap-2&quot;,children:cF.map(h=&gt;{const d=i.status?.includes(h.value);return f.jsx(&quot;button&quot;,{onClick:()=&gt;c(h.value),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${d?&quot;bg-brand-700 text-white&quot;:&quot;bg-gray-100 text-gray-700 hover:bg-gray-200&quot;}`,children:h.label},h.value)})})]})]})}const $0={draft:{label:&quot;Brouillon&quot;,className:&quot;bg-gray-100 text-gray-700&quot;},submitted:{label:&quot;Soumis&quot;,className:&quot;bg-blue-100 text-blue-700&quot;},pending_payment:{label:&quot;En attente&quot;,className:&quot;bg-yellow-100 text-yellow-700&quot;},correction:{label:&quot;Dossier en correction&quot;,className:&quot;bg-amber-100 text-amber-800&quot;},paid:{label:&quot;Payé&quot;,className:&quot;bg-green-100 text-green-700&quot;},rejected:{label:&quot;Rejeté&quot;,className:&quot;bg-red-100 text-red-700&quot;},cancelled:{label:&quot;Annulé&quot;,className:&quot;bg-gray-100 text-gray-700&quot;},refunded:{label:&quot;Remboursé&quot;,className:&quot;bg-orange-100 text-orange-700&quot;}},T3={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;}};function Yh({status:e}){if(!e)return f.jsx(&quot;span&quot;,{className:&quot;inline-flex items-center px-3 py-1 rounded-full text-sm font-medium bg-gray-100 text-gray-700&quot;,children:&quot;-&quot;});const t=e in $0?$0[e]||$0.draft:T3[e]||T3.pending;return f.jsx(&quot;span&quot;,{className:`inline-flex items-center px-3 py-1 rounded-full text-sm font-medium ${t.className}`,children:t.label})}function dF(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 fF({registrations:e,loading:r,eventType:t,onViewDetails:n,onUpdateStatus:o,onEdit:i,onDelete:a,onResendActivation:u,canUpdateStatus:l=!1,canEdit:s=!1,canDelete:c=!1,canResendActivation:m=!1,resendingActivationId:h=null}){return r?f.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:f.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):e.length===0?f.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:f.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Aucune inscription trouvée&quot;})}):f.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft overflow-hidden&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:f.jsxs(&quot;table&quot;,{className:&quot;w-full&quot;,children:[f.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50&quot;,children:f.jsxs(&quot;tr&quot;,{children:[f.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Nom&quot;}),f.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Email&quot;}),f.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Téléphone&quot;}),f.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Événement&quot;}),f.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:t===&quot;seminar&quot;?&quot;Frais de participation&quot;:&quot;Formule&quot;}),f.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Statut&quot;}),f.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Date création&quot;}),f.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-right text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Actions&quot;})]})}),f.jsx(&quot;tbody&quot;,{className:&quot;bg-white divide-y divide-gray-200&quot;,children:e.map(d=&gt;f.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-brand-50 cursor-pointer&quot;,onClick:()=&gt;n(d),children:[f.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:[d.first_name,&quot; &quot;,d.last_name]})}),f.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:d.email})}),f.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:d.phone||&quot;-&quot;})}),f.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:d.event?.name||&quot;-&quot;})}),f.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:t===&quot;seminar&quot;?dF(d):d.pricing_plan?.code||&quot;-&quot;})}),f.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:f.jsx(Yh,{status:d.status})}),f.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:new Date(d.created_at).toLocaleDateString(&quot;fr-FR&quot;)})}),f.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap text-right text-sm font-medium&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-2&quot;,onClick:g=&gt;g.stopPropagation(),children:[f.jsx(Fe,{variant:&quot;ghost&quot;,onClick:()=&gt;n(d),className:&quot;text-xs&quot;,children:&quot;Voir&quot;}),m&amp;&amp;u&amp;&amp;d.status===&quot;draft&quot;&amp;&amp;f.jsx(Fe,{variant:&quot;outline&quot;,onClick:()=&gt;u(d),disabled:h===d.id,className:&quot;text-xs&quot;,title:&quot;Renvoyer l&#039;email avec le lien pour activer le compte et choisir un mot de passe&quot;,children:h===d.id?&quot;Envoi…&quot;:&quot;Renvoyer activation&quot;}),s&amp;&amp;i&amp;&amp;f.jsx(Fe,{variant:&quot;outline&quot;,onClick:()=&gt;i(d),className:&quot;text-xs&quot;,children:&quot;Modifier&quot;}),l&amp;&amp;o&amp;&amp;f.jsx(Fe,{variant:&quot;outline&quot;,onClick:()=&gt;o(d),className:&quot;text-xs&quot;,children:&quot;Changer statut&quot;}),c&amp;&amp;a&amp;&amp;f.jsx(Fe,{variant:&quot;outline&quot;,onClick:()=&gt;a(d),className:&quot;text-xs text-red-600 hover:text-red-700 hover:border-red-300&quot;,children:&quot;Supprimer&quot;})]})})]},d.id))})]})})})}function hF({registrations:e,loading:r}){return r?f.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:f.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):e.length===0?f.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:f.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Aucune inscription trouvée&quot;})}):f.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft overflow-hidden&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:f.jsxs(&quot;table&quot;,{className:&quot;w-full&quot;,children:[f.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50&quot;,children:f.jsxs(&quot;tr&quot;,{children:[f.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Email&quot;}),f.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Pays&quot;}),f.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Statut&quot;})]})}),f.jsx(&quot;tbody&quot;,{className:&quot;bg-white divide-y divide-gray-200&quot;,children:e.map(t=&gt;f.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-brand-50&quot;,children:[f.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-900&quot;,children:t.email})}),f.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:t.country||&quot;—&quot;})}),f.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:f.jsx(Yh,{status:t.status})})]},t.id))})]})})})}function mF({recommendations:e,loading:r,onViewDetails:t,onTreat:n,onDelete:o,canDelete:i}){return r?f.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:f.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):e.length===0?f.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center&quot;,children:f.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Aucune recommandation trouvée&quot;})}):f.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft overflow-hidden&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:f.jsxs(&quot;table&quot;,{className:&quot;w-full min-w-[1200px]&quot;,children:[f.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50&quot;,children:f.jsxs(&quot;tr&quot;,{children:[f.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Recommandé&quot;}),f.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Email recommandé&quot;}),f.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Profession&quot;}),f.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Pays&quot;}),f.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Recommandeur&quot;}),f.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Événement&quot;}),f.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Statut&quot;}),f.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-left text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Date création&quot;}),f.jsx(&quot;th&quot;,{className:&quot;px-6 py-3 text-right text-xs font-medium text-ink-500 uppercase tracking-wider&quot;,children:&quot;Actions&quot;})]})}),f.jsx(&quot;tbody&quot;,{className:&quot;bg-white divide-y divide-gray-200&quot;,children:e.map(a=&gt;f.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-brand-50 cursor-pointer&quot;,onClick:()=&gt;t(a),children:[f.jsxs(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:[f.jsx(&quot;div&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:a.recommended_full_name}),f.jsx(&quot;div&quot;,{className:&quot;text-xs text-ink-500&quot;,children:a.recommended_gender===&quot;homme&quot;?&quot;Homme&quot;:&quot;Femme&quot;})]}),f.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:a.recommended_email||&quot;-&quot;})}),f.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:a.recommended_profession||&quot;-&quot;})}),f.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:a.recommended_residence_country||&quot;-&quot;})}),f.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[a.recommender_first_name,&quot; &quot;,a.recommender_last_name]})}),f.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:a.event?.name||&quot;-&quot;})}),f.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:f.jsx(Yh,{status:a.status})}),f.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-500&quot;,children:new Date(a.created_at).toLocaleDateString(&quot;fr-FR&quot;)})}),f.jsx(&quot;td&quot;,{className:&quot;px-6 py-4 whitespace-nowrap text-right text-sm font-medium&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-2&quot;,onClick:u=&gt;u.stopPropagation(),children:[f.jsx(Fe,{variant:&quot;ghost&quot;,onClick:()=&gt;t(a),className:&quot;text-xs px-3 py-1.5&quot;,children:&quot;Voir&quot;}),n&amp;&amp;f.jsx(Fe,{variant:&quot;primary&quot;,onClick:()=&gt;n(a),className:&quot;text-xs px-4 py-1.5 min-w-[80px]&quot;,children:&quot;Traiter&quot;}),i&amp;&amp;o&amp;&amp;f.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;o(a),className:&quot;inline-flex items-center gap-1 px-2 py-1.5 text-xs font-medium text-red-600 hover:bg-red-50 rounded border border-transparent hover:border-red-200 transition-colors&quot;,title:&quot;Supprimer la recommandation&quot;,children:[f.jsx(ru,{size:14}),&quot;Supprimer&quot;]})]})})]},a.id))})]})})})}function pF({registration:e,isOpen:r,onClose:t,onUpdateStatus:n,canUpdateStatus:o=!1}){return!r||!e?null:f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:f.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:[f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),f.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:[f.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[f.jsxs(&quot;h3&quot;,{className:&quot;text-2xl font-semibold text-ink-900&quot;,children:[&quot;Inscription #&quot;,e.id]}),f.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:f.jsx(Rr,{size:24})})]}),o&amp;&amp;n&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;mb-4&quot;,children:f.jsx(Fe,{variant:&quot;primary&quot;,onClick:()=&gt;{n(e)},children:&quot;Changer le statut&quot;})}),f.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-6&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations personnelles&quot;}),f.jsxs(&quot;dl&quot;,{className:&quot;space-y-2&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Nom complet&quot;}),f.jsxs(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:[e.first_name,&quot; &quot;,e.last_name]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Email&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.email})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Téléphone&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.phone||&quot;-&quot;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Pays&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.country||&quot;-&quot;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Ville&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.city||&quot;-&quot;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Nationalité&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.nationality||&quot;-&quot;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Organisation&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.organization||&quot;-&quot;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Poste&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.position||&quot;-&quot;})]})]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations inscription&quot;}),f.jsxs(&quot;dl&quot;,{className:&quot;space-y-2&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Statut&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm&quot;,children:f.jsx(Yh,{status:e.status})})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Événement&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.event?.name||&quot;-&quot;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Formule&quot;}),f.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;f.jsxs(f.Fragment,{children:[e.spouse_fullname&amp;&amp;f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Nom du conjoint / de la conjointe&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.spouse_fullname})]}),e.spouse_email&amp;&amp;f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Email du conjoint / de la conjointe&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.spouse_email})]}),e.spouse_haggai_id&amp;&amp;f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Haggai ID / Année de HLE (conjoint)&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.spouse_haggai_id})]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Montant dû (XOF)&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.amount_due_xof?.toLocaleString(&quot;fr-FR&quot;)||&quot;-&quot;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Montant dû (EUR)&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.amount_due_eur?.toLocaleString(&quot;fr-FR&quot;)||&quot;-&quot;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Date de création&quot;}),f.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;f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Date de soumission&quot;}),f.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;f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Date de paiement&quot;}),f.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;f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Type&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:f.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;f.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[f.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations Séminaire&quot;}),f.jsxs(&quot;dl&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-x-6 gap-y-2&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Souhaite participer&quot;}),f.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;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Église ou organisation&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_church_organization||&quot;-&quot;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Rôle/Ministère&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_role_ministry||&quot;-&quot;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Situation matrimoniale&quot;}),f.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;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Âge&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_age??&quot;-&quot;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Genre&quot;}),f.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;})]}),f.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Question ou préoccupation&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_question_or_concern||&quot;-&quot;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Date de naissance&quot;}),f.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;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Contact d&#039;urgence (nom et lien)&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_contact_urgence_nom_lien||&quot;-&quot;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Niveau d&#039;études&quot;}),f.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;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Domaines d&#039;étude&quot;}),f.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;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Domaine d&#039;étude (autre)&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_domaine_etude_autre||&quot;-&quot;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Niveau de français&quot;}),f.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;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Besoin lettre d&#039;absence&quot;}),f.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;f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Détails lettre d&#039;absence&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_besoin_lettre_details||&quot;-&quot;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Informations santé&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_sante_details||&quot;-&quot;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Régime sans sel&quot;}),f.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;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Confession religieuse&quot;}),f.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;-&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Fardeau de transformation&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_fardeau_transformation||&quot;-&quot;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Recommandé par&quot;}),f.jsx(&quot;dd&quot;,{className:&quot;text-sm text-ink-900&quot;,children:e.seminar_recommande_par||&quot;-&quot;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Engagements&quot;}),f.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;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;dt&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Engagements (autre)&quot;}),f.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;f.jsxs(&quot;div&quot;,{className:&quot;mt-6&quot;,children:[f.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Historique des changements&quot;}),f.jsx(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:e.status_changes.map(i=&gt;f.jsx(&quot;div&quot;,{className:&quot;bg-brand-50 rounded-lg p-4 border-l-4 border-brand-700&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;span&quot;,{className:&quot;text-sm font-medium text-ink-900&quot;,children:[i.from_status,&quot; → &quot;,i.to_status]}),i.notes&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mt-1&quot;,children:i.notes})]}),f.jsxs(&quot;div&quot;,{className:&quot;text-right&quot;,children:[f.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:i.actor?.name||&quot;Système&quot;}),f.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500&quot;,children:new Date(i.created_at).toLocaleString(&quot;fr-FR&quot;)})]})]})},i.id))})]})]}),f.jsx(&quot;div&quot;,{className:&quot;bg-gray-50 px-6 py-4 flex justify-end&quot;,children:f.jsx(Fe,{variant:&quot;secondary&quot;,onClick:t,children:&quot;Fermer&quot;})})]})]})})}const Qd=[{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 gF({registration:e,isOpen:r,onClose:t,onSuccess:n,canSendToCorrection:o=!1}){const[i,a]=q.useState(&quot;draft&quot;),[u,l]=q.useState(&quot;&quot;),[s,c]=q.useState(!1),[m,h]=q.useState(null),d=q.useMemo(()=&gt;e?e.status===&quot;correction&quot;?Qd.filter(_=&gt;_.value===&quot;pending_payment&quot;):e.status===&quot;pending_payment&quot;?Qd.filter(_=&gt;_.value!==&quot;submitted&quot;&amp;&amp;(_.value!==&quot;correction&quot;||o)):Qd:Qd,[e?.status,o]),y=i===&quot;correction&quot;,p=10;q.useEffect(()=&gt;{e&amp;&amp;(a(e.status),l(&quot;&quot;),h(null))},[e,r]),q.useEffect(()=&gt;{e&amp;&amp;d.length&gt;0&amp;&amp;!d.some(_=&gt;_.value===i)&amp;&amp;a(d[0].value)},[d,e,i]);const b=async _=&gt;{if(_.preventDefault(),!!e){if(y&amp;&amp;(!u.trim()||u.trim().length&lt;p)){h(`La raison de la mise en correction est obligatoire (min. ${p} caractères).`);return}c(!0),h(null);try{await ko.updateStatus(e.id,{status:i,notes:u.trim()||void 0}),n(),t()}catch(E){if(E instanceof mr)if(E.status===422&amp;&amp;E.data.errors){const M=E.data.errors.notes?.[0],D=E.data.errors.status?.[0];h(M||D||E.data.message||&quot;Erreur de validation&quot;)}else E.status===403?h(&quot;Vous n&#039;avez pas la permission de modifier le statut&quot;):h(E.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 f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:f.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:[f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),f.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:f.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[f.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;}),f.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:f.jsx(Rr,{size:24})})]}),f.jsxs(&quot;form&quot;,{onSubmit:b,className:&quot;space-y-4&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Statut actuel&quot;}),f.jsx(&quot;div&quot;,{className:&quot;text-sm text-ink-900 bg-brand-50 px-4 py-2 rounded-lg&quot;,children:e.status})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Nouveau statut &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.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:d.map(_=&gt;f.jsx(&quot;option&quot;,{value:_.value,children:_.label},_.value))})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:y?f.jsxs(f.Fragment,{children:[&quot;Raison de la mise en correction &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;}),&quot; (min. 10 caractères)&quot;]}):&quot;Notes (optionnel)&quot;}),f.jsx(&quot;textarea&quot;,{value:u,onChange:_=&gt;l(_.target.value),rows:4,maxLength:1e3,required:y,minLength:y?p: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:y?&quot;Indiquez la raison de la mise en correction...&quot;:&quot;Ajouter des notes sur ce changement de statut...&quot;}),f.jsxs(&quot;p&quot;,{className:&quot;text-xs text-ink-500 mt-1&quot;,children:[u.length,&quot;/1000 caractères&quot;,y&amp;&amp;u.trim().length&gt;0&amp;&amp;u.trim().length&lt;p&amp;&amp;f.jsxs(&quot;span&quot;,{className:&quot;text-amber-600 ml-1&quot;,children:[&quot;(min. &quot;,p,&quot; requis)&quot;]})]})]}),m&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:f.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:m})}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:t,disabled:s,children:&quot;Annuler&quot;}),f.jsx(Fe,{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 vF({registration:e,isOpen:r,onClose:t,onSuccess:n}){const[o,i]=q.useState(!1),[a,u]=q.useState(null),[l,s]=q.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_fardeau_transformation:&quot;&quot;,seminar_recommande_par:&quot;&quot;,seminar_engagements:&quot;&quot;,seminar_engagements_autre:&quot;&quot;});q.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 p=e.seminar_date_naissance;return p?typeof p==&quot;string&quot;&amp;&amp;p.includes(&quot;T&quot;)?p.split(&quot;T&quot;)[0]:String(p).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_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;,m=e?.event?.event_type===&quot;seminar&quot;,h=e?.status===&quot;correction&quot;,d=e?.event?.slug??null,{plans:g}=T8(c&amp;&amp;h?d:null),y=async p=&gt;{if(p.preventDefault(),!!e){i(!0),u(null);try{const b={first_name:l.first_name.trim(),last_name:l.last_name.trim(),email:l.email.trim().toLowerCase(),phone:l.phone.trim(),country:l.country.trim(),city:l.city.trim()||void 0,organization:l.organization.trim()||void 0,position:l.position.trim()||void 0,nationality:l.nationality.trim()||void 0,is_haggai_leader:l.is_haggai_leader,haggai_id:l.haggai_id.trim()||void 0,payment_method_selected:l.payment_method_selected||void 0};h&amp;&amp;(l.pricing_plan_id&amp;&amp;(b.pricing_plan_id=Number(l.pricing_plan_id)),b.currency_selected=l.currency_selected||void 0,b.amount_due_xof=l.amount_due_xof?parseFloat(l.amount_due_xof):void 0,b.amount_due_eur=l.amount_due_eur?parseFloat(l.amount_due_eur):void 0),c&amp;&amp;(b.ouaga_resident_confirmed=l.ouaga_resident_confirmed,b.spouse_fullname=l.spouse_fullname.trim()||void 0,b.spouse_email=l.spouse_email.trim()||void 0,b.spouse_haggai_id=l.spouse_haggai_id.trim()||void 0),m&amp;&amp;(b.seminar_intent=l.seminar_intent||void 0,b.seminar_want_to_participate=l.seminar_want_to_participate||void 0,b.seminar_church_organization=l.seminar_church_organization.trim()||void 0,b.seminar_role_ministry=l.seminar_role_ministry.trim()||void 0,b.seminar_marital_status=l.seminar_marital_status||void 0,b.seminar_age=l.seminar_age?parseInt(l.seminar_age):void 0,b.seminar_gender=l.seminar_gender||void 0,b.seminar_question_or_concern=l.seminar_question_or_concern.trim()||void 0,b.seminar_date_naissance=l.seminar_date_naissance?.trim()||void 0,b.seminar_contact_urgence_nom_lien=l.seminar_contact_urgence_nom_lien.trim()||void 0,b.seminar_niveau_etudes=l.seminar_niveau_etudes||void 0,b.seminar_domaines_etude=l.seminar_domaines_etude?.trim()?l.seminar_domaines_etude.split(&quot;,&quot;).map(x=&gt;x.trim()).filter(Boolean):void 0,b.seminar_domaine_etude_autre=l.seminar_domaine_etude_autre.trim()||void 0,b.seminar_niveau_francais=l.seminar_niveau_francais||void 0,b.seminar_besoin_lettre_absence=l.seminar_besoin_lettre_absence||void 0,b.seminar_besoin_lettre_details=l.seminar_besoin_lettre_details.trim()||void 0,b.seminar_sante_details=l.seminar_sante_details.trim()||void 0,b.seminar_regime_sans_sel=l.seminar_regime_sans_sel||void 0,b.seminar_confession_religieuse=l.seminar_confession_religieuse||void 0,b.seminar_fardeau_transformation=l.seminar_fardeau_transformation.trim()||void 0,b.seminar_recommande_par=l.seminar_recommande_par.trim()||void 0,b.seminar_engagements=l.seminar_engagements?.trim()?l.seminar_engagements.split(&quot;,&quot;).map(x=&gt;x.trim()).filter(Boolean):void 0,b.seminar_engagements_autre=l.seminar_engagements_autre.trim()||void 0),await ko.update(e.id,b),n(),t()}catch(b){if(b instanceof mr)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:f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:f.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:[f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),f.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:f.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[f.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:[&quot;Modifier l&#039;inscription #&quot;,e.id]}),f.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:f.jsx(Rr,{size:24})})]}),f.jsxs(&quot;form&quot;,{onSubmit:y,className:&quot;space-y-6&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations personnelles&quot;}),f.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:[&quot;Prénom &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.first_name,onChange:p=&gt;s({...l,first_name:p.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})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:[&quot;Nom &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.last_name,onChange:p=&gt;s({...l,last_name:p.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})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:[&quot;Email &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:l.email,onChange:p=&gt;s({...l,email:p.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})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Téléphone&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.phone,onChange:p=&gt;s({...l,phone:p.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.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Pays&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.country,onChange:p=&gt;s({...l,country:p.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.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Ville&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.city,onChange:p=&gt;s({...l,city:p.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.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Organisation&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.organization,onChange:p=&gt;s({...l,organization:p.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.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Poste&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.position,onChange:p=&gt;s({...l,position:p.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.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Nationalité&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.nationality,onChange:p=&gt;s({...l,nationality:p.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.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 mt-6&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:l.is_haggai_leader,onChange:p=&gt;s({...l,is_haggai_leader:p.target.checked}),className:&quot;rounded&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Leader Haggai&quot;})]}),l.is_haggai_leader&amp;&amp;f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.haggai_id,onChange:p=&gt;s({...l,haggai_id:p.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;})]})]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations paiement&quot;}),!h&amp;&amp;f.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;}),f.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[c&amp;&amp;f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Formule (solo/couple)&quot;}),f.jsxs(&quot;select&quot;,{value:l.pricing_plan_id,onChange:p=&gt;s({...l,pricing_plan_id:p.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:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),g.map(p=&gt;f.jsxs(&quot;option&quot;,{value:p.id,children:[p.code,&quot; - &quot;,p.title,&quot; (&quot;,p.price_xof,&quot; XOF / &quot;,p.price_eur,&quot; EUR)&quot;]},p.id))]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Méthode de paiement&quot;}),f.jsxs(&quot;select&quot;,{value:l.payment_method_selected,onChange:p=&gt;s({...l,payment_method_selected:p.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:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),f.jsx(&quot;option&quot;,{value:&quot;card_visa&quot;,children:&quot;Carte de crédit (Visa)&quot;}),f.jsx(&quot;option&quot;,{value:&quot;paypal&quot;,children:&quot;PayPal&quot;}),f.jsx(&quot;option&quot;,{value:&quot;mobile_money&quot;,children:&quot;Mobile Money&quot;}),f.jsx(&quot;option&quot;,{value:&quot;national_office&quot;,children:&quot;Bureau National&quot;})]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Devise&quot;}),f.jsxs(&quot;select&quot;,{value:l.currency_selected,onChange:p=&gt;s({...l,currency_selected:p.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:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),f.jsx(&quot;option&quot;,{value:&quot;XOF&quot;,children:&quot;XOF&quot;}),f.jsx(&quot;option&quot;,{value:&quot;EUR&quot;,children:&quot;EUR&quot;})]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Montant dû (XOF)&quot;}),f.jsx(&quot;input&quot;,{type:&quot;number&quot;,step:&quot;0.01&quot;,value:l.amount_due_xof,onChange:p=&gt;s({...l,amount_due_xof:p.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;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Montant dû (EUR)&quot;}),f.jsx(&quot;input&quot;,{type:&quot;number&quot;,step:&quot;0.01&quot;,value:l.amount_due_eur,onChange:p=&gt;s({...l,amount_due_eur:p.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;f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations Sommet&quot;}),f.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[f.jsx(&quot;div&quot;,{children:f.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:l.ouaga_resident_confirmed,onChange:p=&gt;s({...l,ouaga_resident_confirmed:p.target.checked}),className:&quot;rounded&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm font-medium text-ink-500&quot;,children:&quot;Résident à Ouaga&quot;})]})}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.spouse_fullname,onChange:p=&gt;s({...l,spouse_fullname:p.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.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:l.spouse_email,onChange:p=&gt;s({...l,spouse_email:p.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.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.spouse_haggai_id,onChange:p=&gt;s({...l,spouse_haggai_id:p.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;})]})]})]}),m&amp;&amp;f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;h4&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-3&quot;,children:&quot;Informations Séminaire&quot;}),f.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 gap-4&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Veut participer&quot;}),f.jsxs(&quot;select&quot;,{value:l.seminar_want_to_participate,onChange:p=&gt;s({...l,seminar_want_to_participate:p.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:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),f.jsx(&quot;option&quot;,{value:&quot;oui&quot;,children:&quot;Oui&quot;}),f.jsx(&quot;option&quot;,{value:&quot;non&quot;,children:&quot;Non&quot;})]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Église/Organisation&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_church_organization,onChange:p=&gt;s({...l,seminar_church_organization:p.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.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Rôle/Ministère&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_role_ministry,onChange:p=&gt;s({...l,seminar_role_ministry:p.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.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Situation matrimoniale&quot;}),f.jsxs(&quot;select&quot;,{value:l.seminar_marital_status,onChange:p=&gt;s({...l,seminar_marital_status:p.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:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),f.jsx(&quot;option&quot;,{value:&quot;marie&quot;,children:&quot;Marié(e)&quot;}),f.jsx(&quot;option&quot;,{value:&quot;non_marie&quot;,children:&quot;Non marié(e)&quot;})]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Âge&quot;}),f.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:&quot;1&quot;,max:&quot;120&quot;,value:l.seminar_age,onChange:p=&gt;s({...l,seminar_age:p.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.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Genre&quot;}),f.jsxs(&quot;select&quot;,{value:l.seminar_gender,onChange:p=&gt;s({...l,seminar_gender:p.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:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),f.jsx(&quot;option&quot;,{value:&quot;homme&quot;,children:&quot;Homme&quot;}),f.jsx(&quot;option&quot;,{value:&quot;femme&quot;,children:&quot;Femme&quot;})]})]}),f.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Question ou préoccupation&quot;}),f.jsx(&quot;textarea&quot;,{value:l.seminar_question_or_concern,onChange:p=&gt;s({...l,seminar_question_or_concern:p.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;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Date de naissance&quot;}),f.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:l.seminar_date_naissance,onChange:p=&gt;s({...l,seminar_date_naissance:p.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.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_contact_urgence_nom_lien,onChange:p=&gt;s({...l,seminar_contact_urgence_nom_lien:p.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.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Niveau d&#039;études&quot;}),f.jsxs(&quot;select&quot;,{value:l.seminar_niveau_etudes,onChange:p=&gt;s({...l,seminar_niveau_etudes:p.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:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),f.jsx(&quot;option&quot;,{value:&quot;primaire&quot;,children:&quot;Primaire&quot;}),f.jsx(&quot;option&quot;,{value:&quot;secondaire_2&quot;,children:&quot;Secondaire 2e cycle&quot;}),f.jsx(&quot;option&quot;,{value:&quot;universitaire&quot;,children:&quot;Universitaire&quot;})]})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_domaines_etude,onChange:p=&gt;s({...l,seminar_domaines_etude:p.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;})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_domaine_etude_autre,onChange:p=&gt;s({...l,seminar_domaine_etude_autre:p.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.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Niveau de français&quot;}),f.jsxs(&quot;select&quot;,{value:l.seminar_niveau_francais,onChange:p=&gt;s({...l,seminar_niveau_francais:p.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:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),f.jsx(&quot;option&quot;,{value:&quot;natif&quot;,children:&quot;Natif&quot;}),f.jsx(&quot;option&quot;,{value:&quot;avance&quot;,children:&quot;Avancé&quot;}),f.jsx(&quot;option&quot;,{value:&quot;intermediaire&quot;,children:&quot;Intermédiaire&quot;}),f.jsx(&quot;option&quot;,{value:&quot;faible&quot;,children:&quot;Faible&quot;})]})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsxs(&quot;select&quot;,{value:l.seminar_besoin_lettre_absence,onChange:p=&gt;s({...l,seminar_besoin_lettre_absence:p.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:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),f.jsx(&quot;option&quot;,{value:&quot;oui&quot;,children:&quot;Oui&quot;}),f.jsx(&quot;option&quot;,{value:&quot;non&quot;,children:&quot;Non&quot;})]})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_besoin_lettre_details,onChange:p=&gt;s({...l,seminar_besoin_lettre_details:p.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.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Informations santé&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_sante_details,onChange:p=&gt;s({...l,seminar_sante_details:p.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;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Régime sans sel&quot;}),f.jsxs(&quot;select&quot;,{value:l.seminar_regime_sans_sel,onChange:p=&gt;s({...l,seminar_regime_sans_sel:p.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:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),f.jsx(&quot;option&quot;,{value:&quot;oui&quot;,children:&quot;Oui&quot;}),f.jsx(&quot;option&quot;,{value:&quot;non&quot;,children:&quot;Non&quot;})]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Confession religieuse&quot;}),f.jsxs(&quot;select&quot;,{value:l.seminar_confession_religieuse,onChange:p=&gt;s({...l,seminar_confession_religieuse:p.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:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Sélectionner...&quot;}),f.jsx(&quot;option&quot;,{value:&quot;musulmane&quot;,children:&quot;Musulmane&quot;}),f.jsx(&quot;option&quot;,{value:&quot;catholique&quot;,children:&quot;Catholique&quot;}),f.jsx(&quot;option&quot;,{value:&quot;protestante&quot;,children:&quot;Protestante&quot;}),f.jsx(&quot;option&quot;,{value:&quot;pentecotiste&quot;,children:&quot;Pentecôtiste&quot;}),f.jsx(&quot;option&quot;,{value:&quot;evangelique&quot;,children:&quot;Évangélique&quot;})]})]}),f.jsxs(&quot;div&quot;,{className:&quot;md:col-span-2&quot;,children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Fardeau de transformation&quot;}),f.jsx(&quot;textarea&quot;,{value:l.seminar_fardeau_transformation,onChange:p=&gt;s({...l,seminar_fardeau_transformation:p.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;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Recommandé par&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_recommande_par,onChange:p=&gt;s({...l,seminar_recommande_par:p.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.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_engagements,onChange:p=&gt;s({...l,seminar_engagements:p.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;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Engagements (autre)&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l.seminar_engagements_autre,onChange:p=&gt;s({...l,seminar_engagements_autre:p.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;f.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:f.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:a})}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4 border-t&quot;,children:[f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:t,disabled:o,children:&quot;Annuler&quot;}),f.jsx(Fe,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:o,children:o?&quot;Enregistrement...&quot;:&quot;Enregistrer&quot;})]})]})]})})]})})}function yF({registration:e,isOpen:r,onClose:t,onSuccess:n}){const[o,i]=q.useState(!1),[a,u]=q.useState(null),l=async()=&gt;{if(e){i(!0),u(null);try{await ko.delete(e.id),n(),t()}catch(s){s instanceof mr?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:f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:f.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:[f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),f.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:f.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[f.jsx(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:&quot;Supprimer l&#039;inscription&quot;}),f.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:f.jsx(Rr,{size:24})})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-start gap-4 mb-6&quot;,children:[f.jsx(&quot;div&quot;,{className:&quot;flex-shrink-0&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;flex items-center justify-center w-12 h-12 rounded-full bg-red-100&quot;,children:f.jsx(vL,{className:&quot;w-6 h-6 text-red-600&quot;})})}),f.jsxs(&quot;div&quot;,{className:&quot;flex-1&quot;,children:[f.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;}),f.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;,f.jsxs(&quot;strong&quot;,{children:[e.first_name,&quot; &quot;,e.last_name]}),&quot; sera définitivement supprimée.&quot;]}),e.event&amp;&amp;f.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[&quot;Événement: &quot;,f.jsx(&quot;strong&quot;,{children:e.event.name})]})]})]}),a&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3 mb-4&quot;,children:f.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:a})}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4 border-t&quot;,children:[f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:t,disabled:o,children:&quot;Annuler&quot;}),f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:l,disabled:o,className:&quot;bg-red-600 hover:bg-red-700 text-white&quot;,children:o?&quot;Suppression...&quot;:&quot;Supprimer&quot;})]})]})})]})})}const bF=[{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 xF({recommendation:e,isOpen:r,onClose:t,onSuccess:n}){const[o,i]=q.useState(&quot;pending&quot;),[a,u]=q.useState(&quot;&quot;),[l,s]=q.useState(&quot;&quot;),[c,m]=q.useState(&quot;&quot;),[h,d]=q.useState(!1),[g,y]=q.useState(!1),[p,b]=q.useState(&quot;status&quot;),[x,_]=q.useState(!1),[E,M]=q.useState(null),[D,W]=q.useState(null);q.useEffect(()=&gt;{e&amp;&amp;(i(e.status),u(e.notes||&quot;&quot;),s(&quot;&quot;),m(&quot;&quot;),d(!1),y(!1),M(null),W(null),b(&quot;status&quot;))},[e,r]);const L=async H=&gt;{if(H.preventDefault(),!!e){_(!0),M(null),W(null);try{await nu.updateStatus(e.id,{status:o,notes:a.trim()||void 0}),W(&quot;Statut mis à jour avec succès&quot;),setTimeout(()=&gt;{n(),t()},1e3)}catch(K){if(K instanceof mr)if(K.status===422&amp;&amp;K.data.errors){const z=K.data.errors.status?.[0];M(z||K.data.message||&quot;Erreur de validation&quot;)}else K.status===403?M(&quot;Vous n&#039;avez pas la permission de modifier le statut&quot;):M(K.data.message||&quot;Une erreur est survenue&quot;);else M(&quot;Une erreur inattendue est survenue&quot;)}finally{_(!1)}}},V=async H=&gt;{if(H.preventDefault(),!!e){if(!h&amp;&amp;!g){M(&quot;Veuillez sélectionner au moins un destinataire&quot;);return}_(!0),M(null),W(null);try{const K=await nu.sendEmail(e.id,{subject:l.trim(),message:c.trim(),send_to_recommender:h,send_to_recommended:g});W(`Email(s) envoyé(s) à: ${K.data.emails_sent.join(&quot;, &quot;)}`),setTimeout(()=&gt;{n(),t()},2e3)}catch(K){if(K instanceof mr)if(K.status===422&amp;&amp;K.data.errors){const z=K.data.errors.subject?.[0],O=K.data.errors.message?.[0];M(z||O||K.data.message||&quot;Erreur de validation&quot;)}else M(K.data.message||&quot;Une erreur est survenue lors de l&#039;envoi de l&#039;email&quot;);else M(&quot;Une erreur inattendue est survenue&quot;)}finally{_(!1)}}};return!r||!e?null:f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:f.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:[f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:t}),f.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:f.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[f.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:[&quot;Traiter la recommandation #&quot;,e.id]}),f.jsx(&quot;button&quot;,{onClick:t,className:&quot;text-gray-400 hover:text-gray-600 transition-colors&quot;,children:f.jsx(Rr,{size:24})})]}),f.jsxs(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-brand-50 rounded-lg&quot;,children:[f.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-2&quot;,children:[f.jsx(&quot;strong&quot;,{children:&quot;Recommandé:&quot;}),&quot; &quot;,e.recommended_full_name]}),f.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-2&quot;,children:[f.jsx(&quot;strong&quot;,{children:&quot;Email recommandé:&quot;}),&quot; &quot;,e.recommended_email||&quot;-&quot;]}),f.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[f.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;]})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex border-b border-gray-200 mb-4&quot;,children:[f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;b(&quot;status&quot;),className:`px-4 py-2 text-sm font-medium ${p===&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;}),f.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 ${p===&quot;email&quot;?&quot;text-ink-900 border-b-2 border-brand-700&quot;:&quot;text-ink-500 hover:text-ink-900&quot;}`,children:[f.jsx(ps,{size:16}),&quot;Envoyer un email&quot;]})]}),E&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-red-50 border border-red-200 rounded-lg&quot;,children:f.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-800&quot;,children:E})}),D&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;mb-4 p-3 bg-green-50 border border-green-200 rounded-lg&quot;,children:f.jsx(&quot;p&quot;,{className:&quot;text-sm text-green-800&quot;,children:D})}),p===&quot;status&quot;&amp;&amp;f.jsxs(&quot;form&quot;,{onSubmit:L,className:&quot;space-y-4&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Nouveau statut &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;select&quot;,{value:o,onChange:H=&gt;i(H.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:bF.map(H=&gt;f.jsx(&quot;option&quot;,{value:H.value,children:H.label},H.value))})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:&quot;Notes (optionnel)&quot;}),f.jsx(&quot;textarea&quot;,{value:a,onChange:H=&gt;u(H.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;})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:t,disabled:x,children:&quot;Annuler&quot;}),f.jsx(Fe,{type:&quot;submit&quot;,disabled:x,children:x?&quot;Mise à jour...&quot;:&quot;Mettre à jour le statut&quot;})]})]}),p===&quot;email&quot;&amp;&amp;f.jsxs(&quot;form&quot;,{onSubmit:V,className:&quot;space-y-4&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Destinataires &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-2&quot;,children:[e.recommended_email?f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:g,onChange:H=&gt;y(H.target.checked),className:&quot;rounded border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),f.jsxs(&quot;span&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[&quot;Recommandé (&quot;,e.recommended_email,&quot;)&quot;]})]}):f.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-500 italic&quot;,children:&quot;Aucun email disponible pour le recommandé&quot;}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center space-x-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:h,onChange:H=&gt;d(H.target.checked),className:&quot;rounded border-gray-300 text-brand-700 focus:ring-brand-600&quot;}),f.jsxs(&quot;span&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[&quot;Recommandeur (&quot;,e.recommender_email,&quot;)&quot;]})]})]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Sujet &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l,onChange:H=&gt;s(H.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})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-2&quot;,children:[&quot;Message &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;textarea&quot;,{value:c,onChange:H=&gt;m(H.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}),f.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;})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:t,disabled:x,children:&quot;Annuler&quot;}),f.jsx(Fe,{type:&quot;submit&quot;,disabled:x||!h&amp;&amp;!g,children:x?&quot;Envoi...&quot;:&quot;Envoyer l&#039;email&quot;})]})]})]})})]})})}function R8(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 o=e.length;for(r=0;r&lt;o;r++)e[r]&amp;&amp;(t=R8(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 or(){for(var e,r,t=0,n=&quot;&quot;,o=arguments.length;t&lt;o;t++)(e=arguments[t])&amp;&amp;(r=R8(e))&amp;&amp;(n&amp;&amp;(n+=&quot; &quot;),n+=r);return n}var wF=[&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 Yb(e){if(typeof e!=&quot;string&quot;)return!1;var r=wF;return r.includes(e)}var _F=[&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;],jF=new Set(_F);function D8(e){return typeof e!=&quot;string&quot;?!1:jF.has(e)}function L8(e){return typeof e==&quot;string&quot;&amp;&amp;e.startsWith(&quot;data-&quot;)}function Qi(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;(D8(t)||L8(t))&amp;&amp;(r[t]=e[t]);return r}function ku(e){if(e==null)return null;if(q.isValidElement(e)&amp;&amp;typeof e.props==&quot;object&quot;&amp;&amp;e.props!==null){var r=e.props;return Qi(r)}return typeof e==&quot;object&quot;&amp;&amp;!Array.isArray(e)?Qi(e):null}function zn(e){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&amp;&amp;(D8(t)||L8(t)||Yb(t))&amp;&amp;(r[t]=e[t]);return r}function SF(e){return e==null?null:q.isValidElement(e)?zn(e.props):typeof e==&quot;object&quot;&amp;&amp;!Array.isArray(e)?zn(e):null}var kF=[&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 oy(){return oy=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},oy.apply(null,arguments)}function NF(e,r){if(e==null)return{};var t,n,o=CF(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;(o[t]=e[t])}return o}function CF(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 Zb=q.forwardRef((e,r)=&gt;{var{children:t,width:n,height:o,viewBox:i,className:a,style:u,title:l,desc:s}=e,c=NF(e,kF),m=i||{width:n,height:o,x:0,y:0},h=or(&quot;recharts-surface&quot;,a);return q.createElement(&quot;svg&quot;,oy({},zn(c),{className:h,width:n,height:o,style:u,viewBox:&quot;&quot;.concat(m.x,&quot; &quot;).concat(m.y,&quot; &quot;).concat(m.width,&quot; &quot;).concat(m.height),ref:r}),q.createElement(&quot;title&quot;,null,l),q.createElement(&quot;desc&quot;,null,s),t)}),EF=[&quot;children&quot;,&quot;className&quot;];function ly(){return ly=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},ly.apply(null,arguments)}function AF(e,r){if(e==null)return{};var t,n,o=MF(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;(o[t]=e[t])}return o}function MF(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 Mi=q.forwardRef((e,r)=&gt;{var{children:t,className:n}=e,o=AF(e,EF),i=or(&quot;recharts-layer&quot;,n);return q.createElement(&quot;g&quot;,ly({className:i},zn(o),{ref:r}),t)}),F8=q.createContext(null),OF=()=&gt;q.useContext(F8);function hr(e){return function(){return e}}const B8=Math.cos,Wf=Math.sin,ns=Math.sqrt,Hf=Math.PI,Zh=2*Hf,cy=Math.PI,uy=2*cy,co=1e-6,TF=uy-co;function z8(e){this._+=e[0];for(let r=1,t=e.length;r&lt;t;++r)this._+=arguments[r]+e[r]}function PF(e){let r=Math.floor(e);if(!(r&gt;=0))throw new Error(`invalid digits: ${e}`);if(r&gt;15)return z8;const t=10**r;return function(n){this._+=n[0];for(let o=1,i=n.length;o&lt;i;++o)this._+=Math.round(arguments[o]*t)/t+n[o]}}class IF{constructor(r){this._x0=this._y0=this._x1=this._y1=null,this._=&quot;&quot;,this._append=r==null?z8:PF(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,o){this._append`Q${+r},${+t},${this._x1=+n},${this._y1=+o}`}bezierCurveTo(r,t,n,o,i,a){this._append`C${+r},${+t},${+n},${+o},${this._x1=+i},${this._y1=+a}`}arcTo(r,t,n,o,i){if(r=+r,t=+t,n=+n,o=+o,i=+i,i&lt;0)throw new Error(`negative radius: ${i}`);let a=this._x1,u=this._y1,l=n-r,s=o-t,c=a-r,m=u-t,h=c*c+m*m;if(this._x1===null)this._append`M${this._x1=r},${this._y1=t}`;else if(h&gt;co)if(!(Math.abs(m*l-s*c)&gt;co)||!i)this._append`L${this._x1=r},${this._y1=t}`;else{let d=n-a,g=o-u,y=l*l+s*s,p=d*d+g*g,b=Math.sqrt(y),x=Math.sqrt(h),_=i*Math.tan((cy-Math.acos((y+h-p)/(2*b*x)))/2),E=_/x,M=_/b;Math.abs(E-1)&gt;co&amp;&amp;this._append`L${r+E*c},${t+E*m}`,this._append`A${i},${i},0,0,${+(m*d&gt;c*g)},${this._x1=r+M*l},${this._y1=t+M*s}`}}arc(r,t,n,o,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(o),l=n*Math.sin(o),s=r+u,c=t+l,m=1^a,h=a?o-i:i-o;this._x1===null?this._append`M${s},${c}`:(Math.abs(this._x1-s)&gt;co||Math.abs(this._y1-c)&gt;co)&amp;&amp;this._append`L${s},${c}`,n&amp;&amp;(h&lt;0&amp;&amp;(h=h%uy+uy),h&gt;TF?this._append`A${n},${n},0,1,${m},${r-u},${t-l}A${n},${n},0,1,${m},${this._x1=s},${this._y1=c}`:h&gt;co&amp;&amp;this._append`A${n},${n},0,${+(h&gt;=cy)},${m},${this._x1=r+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(r,t,n,o){this._append`M${this._x0=this._x1=+r},${this._y0=this._y1=+t}h${n=+n}v${+o}h${-n}Z`}toString(){return this._}}function Qb(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 IF(r)}function Jb(e){return typeof e==&quot;object&quot;&amp;&amp;&quot;length&quot;in e?e:Array.from(e)}function $8(e){this._context=e}$8.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 Qh(e){return new $8(e)}function U8(e){return e[0]}function V8(e){return e[1]}function q8(e,r){var t=hr(!0),n=null,o=Qh,i=null,a=Qb(u);e=typeof e==&quot;function&quot;?e:e===void 0?U8:hr(e),r=typeof r==&quot;function&quot;?r:r===void 0?V8:hr(r);function u(l){var s,c=(l=Jb(l)).length,m,h=!1,d;for(n==null&amp;&amp;(i=o(d=a())),s=0;s&lt;=c;++s)!(s&lt;c&amp;&amp;t(m=l[s],s,l))===h&amp;&amp;((h=!h)?i.lineStart():i.lineEnd()),h&amp;&amp;i.point(+e(m,s,l),+r(m,s,l));if(d)return i=null,d+&quot;&quot;||null}return u.x=function(l){return arguments.length?(e=typeof l==&quot;function&quot;?l:hr(+l),u):e},u.y=function(l){return arguments.length?(r=typeof l==&quot;function&quot;?l:hr(+l),u):r},u.defined=function(l){return arguments.length?(t=typeof l==&quot;function&quot;?l:hr(!!l),u):t},u.curve=function(l){return arguments.length?(o=l,n!=null&amp;&amp;(i=o(n)),u):o},u.context=function(l){return arguments.length?(l==null?n=i=null:i=o(n=l),u):n},u}function Jd(e,r,t){var n=null,o=hr(!0),i=null,a=Qh,u=null,l=Qb(s);e=typeof e==&quot;function&quot;?e:e===void 0?U8:hr(+e),r=typeof r==&quot;function&quot;?r:hr(r===void 0?0:+r),t=typeof t==&quot;function&quot;?t:t===void 0?V8:hr(+t);function s(m){var h,d,g,y=(m=Jb(m)).length,p,b=!1,x,_=new Array(y),E=new Array(y);for(i==null&amp;&amp;(u=a(x=l())),h=0;h&lt;=y;++h){if(!(h&lt;y&amp;&amp;o(p=m[h],h,m))===b)if(b=!b)d=h,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),g=h-1;g&gt;=d;--g)u.point(_[g],E[g]);u.lineEnd(),u.areaEnd()}b&amp;&amp;(_[h]=+e(p,h,m),E[h]=+r(p,h,m),u.point(n?+n(p,h,m):_[h],t?+t(p,h,m):E[h]))}if(x)return u=null,x+&quot;&quot;||null}function c(){return q8().defined(o).curve(a).context(i)}return s.x=function(m){return arguments.length?(e=typeof m==&quot;function&quot;?m:hr(+m),n=null,s):e},s.x0=function(m){return arguments.length?(e=typeof m==&quot;function&quot;?m:hr(+m),s):e},s.x1=function(m){return arguments.length?(n=m==null?null:typeof m==&quot;function&quot;?m:hr(+m),s):n},s.y=function(m){return arguments.length?(r=typeof m==&quot;function&quot;?m:hr(+m),t=null,s):r},s.y0=function(m){return arguments.length?(r=typeof m==&quot;function&quot;?m:hr(+m),s):r},s.y1=function(m){return arguments.length?(t=m==null?null:typeof m==&quot;function&quot;?m:hr(+m),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(m){return arguments.length?(o=typeof m==&quot;function&quot;?m:hr(!!m),s):o},s.curve=function(m){return arguments.length?(a=m,i!=null&amp;&amp;(u=a(i)),s):a},s.context=function(m){return arguments.length?(m==null?i=u=null:u=a(i=m),s):i},s}class W8{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 RF(e){return new W8(e,!0)}function DF(e){return new W8(e,!1)}const ex={draw(e,r){const t=ns(r/Hf);e.moveTo(t,0),e.arc(0,0,t,0,Zh)}},LF={draw(e,r){const t=ns(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()}},H8=ns(1/3),FF=H8*2,BF={draw(e,r){const t=ns(r/FF),n=t*H8;e.moveTo(0,-t),e.lineTo(n,0),e.lineTo(0,t),e.lineTo(-n,0),e.closePath()}},zF={draw(e,r){const t=ns(r),n=-t/2;e.rect(n,n,t,t)}},$F=.8908130915292852,K8=Wf(Hf/10)/Wf(7*Hf/10),UF=Wf(Zh/10)*K8,VF=-B8(Zh/10)*K8,qF={draw(e,r){const t=ns(r*$F),n=UF*t,o=VF*t;e.moveTo(0,-t),e.lineTo(n,o);for(let i=1;i&lt;5;++i){const a=Zh*i/5,u=B8(a),l=Wf(a);e.lineTo(l*t,-u*t),e.lineTo(u*n-l*o,l*n+u*o)}e.closePath()}},U0=ns(3),WF={draw(e,r){const t=-ns(r/(U0*3));e.moveTo(0,t*2),e.lineTo(-U0*t,-t),e.lineTo(U0*t,-t),e.closePath()}},_i=-.5,ji=ns(3)/2,dy=1/ns(12),HF=(dy/2+1)*3,KF={draw(e,r){const t=ns(r/HF),n=t/2,o=t*dy,i=n,a=t*dy+t,u=-i,l=a;e.moveTo(n,o),e.lineTo(i,a),e.lineTo(u,l),e.lineTo(_i*n-ji*o,ji*n+_i*o),e.lineTo(_i*i-ji*a,ji*i+_i*a),e.lineTo(_i*u-ji*l,ji*u+_i*l),e.lineTo(_i*n+ji*o,_i*o-ji*n),e.lineTo(_i*i+ji*a,_i*a-ji*i),e.lineTo(_i*u+ji*l,_i*l-ji*u),e.closePath()}};function XF(e,r){let t=null,n=Qb(o);e=typeof e==&quot;function&quot;?e:hr(e||ex),r=typeof r==&quot;function&quot;?r:hr(r===void 0?64:+r);function o(){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 o.type=function(i){return arguments.length?(e=typeof i==&quot;function&quot;?i:hr(i),o):e},o.size=function(i){return arguments.length?(r=typeof i==&quot;function&quot;?i:hr(+i),o):r},o.context=function(i){return arguments.length?(t=i??null,o):t},o}function Kf(){}function Xf(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 X8(e){this._context=e}X8.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:Xf(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:Xf(this,e,r);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r}};function GF(e){return new X8(e)}function G8(e){this._context=e}G8.prototype={areaStart:Kf,areaEnd:Kf,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:Xf(this,e,r);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r}};function YF(e){return new G8(e)}function Y8(e){this._context=e}Y8.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:Xf(this,e,r);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r}};function ZF(e){return new Y8(e)}function Z8(e){this._context=e}Z8.prototype={areaStart:Kf,areaEnd:Kf,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 QF(e){return new Z8(e)}function P3(e){return e&lt;0?-1:1}function I3(e,r,t){var n=e._x1-e._x0,o=r-e._x1,i=(e._y1-e._y0)/(n||o&lt;0&amp;&amp;-0),a=(t-e._y1)/(o||n&lt;0&amp;&amp;-0),u=(i*o+a*n)/(n+o);return(P3(i)+P3(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(u))||0}function R3(e,r){var t=e._x1-e._x0;return t?(3*(e._y1-e._y0)/t-r)/2:r}function V0(e,r,t){var n=e._x0,o=e._y0,i=e._x1,a=e._y1,u=(i-n)/3;e._context.bezierCurveTo(n+u,o+u*r,i-u,a-u*t,i,a)}function Gf(e){this._context=e}Gf.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:V0(this,this._t0,R3(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,V0(this,R3(this,t=I3(this,e,r)),t);break;default:V0(this,this._t0,t=I3(this,e,r));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=r,this._t0=t}}};function Q8(e){this._context=new J8(e)}(Q8.prototype=Object.create(Gf.prototype)).point=function(e,r){Gf.prototype.point.call(this,r,e)};function J8(e){this._context=e}J8.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,o,i){this._context.bezierCurveTo(r,e,n,t,i,o)}};function JF(e){return new Gf(e)}function eB(e){return new Q8(e)}function eN(e){this._context=e}eN.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=D3(e),o=D3(r),i=0,a=1;a&lt;t;++i,++a)this._context.bezierCurveTo(n[0][i],o[0][i],n[1][i],o[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 D3(e){var r,t=e.length-1,n,o=new Array(t),i=new Array(t),a=new Array(t);for(o[0]=0,i[0]=2,a[0]=e[0]+2*e[1],r=1;r&lt;t-1;++r)o[r]=1,i[r]=4,a[r]=4*e[r]+2*e[r+1];for(o[t-1]=2,i[t-1]=7,a[t-1]=8*e[t-1]+e[t],r=1;r&lt;t;++r)n=o[r]/i[r-1],i[r]-=n,a[r]-=n*a[r-1];for(o[t-1]=a[t-1]/i[t-1],r=t-2;r&gt;=0;--r)o[r]=(a[r]-o[r+1])/i[r];for(i[t-1]=(e[t]+o[t-1])/2,r=0;r&lt;t-1;++r)i[r]=2*e[r+1]-o[r+1];return[o,i]}function tB(e){return new eN(e)}function Jh(e,r){this._context=e,this._t=r}Jh.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 rB(e){return new Jh(e,.5)}function nB(e){return new Jh(e,0)}function iB(e){return new Jh(e,1)}function No(e,r){if((a=e.length)&gt;1)for(var t=1,n,o,i=e[r[0]],a,u=i.length;t&lt;a;++t)for(o=i,i=e[r[t]],n=0;n&lt;u;++n)i[n][1]+=i[n][0]=isNaN(o[n][1])?o[n][0]:o[n][1]}function fy(e){for(var r=e.length,t=new Array(r);--r&gt;=0;)t[r]=r;return t}function sB(e,r){return e[r]}function aB(e){const r=[];return r.key=e,r}function oB(){var e=hr([]),r=fy,t=No,n=sB;function o(i){var a=Array.from(e.apply(this,arguments),aB),u,l=a.length,s=-1,c;for(const m of i)for(u=0,++s;u&lt;l;++u)(a[u][s]=[0,+n(m,a[u].key,s,i)]).data=m;for(u=0,c=Jb(r(a));u&lt;l;++u)a[c[u]].index=u;return t(a,c),a}return o.keys=function(i){return arguments.length?(e=typeof i==&quot;function&quot;?i:hr(Array.from(i)),o):e},o.value=function(i){return arguments.length?(n=typeof i==&quot;function&quot;?i:hr(+i),o):n},o.order=function(i){return arguments.length?(r=i==null?fy:typeof i==&quot;function&quot;?i:hr(Array.from(i)),o):r},o.offset=function(i){return arguments.length?(t=i??No,o):t},o}function lB(e,r){if((n=e.length)&gt;0){for(var t,n,o=0,i=e[0].length,a;o&lt;i;++o){for(a=t=0;t&lt;n;++t)a+=e[t][o][1]||0;if(a)for(t=0;t&lt;n;++t)e[t][o][1]/=a}No(e,r)}}function cB(e,r){if((o=e.length)&gt;0){for(var t=0,n=e[r[0]],o,i=n.length;t&lt;i;++t){for(var a=0,u=0;a&lt;o;++a)u+=e[a][t][1]||0;n[t][1]+=n[t][0]=-u/2}No(e,r)}}function uB(e,r){if(!(!((a=e.length)&gt;0)||!((i=(o=e[r[0]]).length)&gt;0))){for(var t=0,n=1,o,i,a;n&lt;i;++n){for(var u=0,l=0,s=0;u&lt;a;++u){for(var c=e[r[u]],m=c[n][1]||0,h=c[n-1][1]||0,d=(m-h)/2,g=0;g&lt;u;++g){var y=e[r[g]],p=y[n][1]||0,b=y[n-1][1]||0;d+=p-b}l+=m,s+=d*m}o[n-1][1]+=o[n-1][0]=t,l&amp;&amp;(t-=s/l)}o[n-1][1]+=o[n-1][0]=t,No(e,r)}}var q0={},W0={},L3;function dB(){return L3||(L3=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return t===&quot;__proto__&quot;}e.isUnsafeProperty=r})(W0)),W0}var H0={},F3;function tN(){return F3||(F3=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})(H0)),H0}var K0={},B3;function tx(){return B3||(B3=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})(K0)),K0}var X0={},G0={},z3;function fB(){return z3||(z3=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})(G0)),G0}var $3;function rx(){return $3||($3=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=fB(),t=tx();function n(o){if(Array.isArray(o))return o.map(t.toKey);if(typeof o==&quot;symbol&quot;)return[o];o=r.toString(o);const i=[],a=o.length;if(a===0)return i;let u=0,l=&quot;&quot;,s=&quot;&quot;,c=!1;for(o.charCodeAt(0)===46&amp;&amp;(i.push(&quot;&quot;),u++);u&lt;a;){const m=o[u];s?m===&quot;\\&quot;&amp;&amp;u+1&lt;a?(u++,l+=o[u]):m===s?s=&quot;&quot;:l+=m:c?m===&#039;&quot;&#039;||m===&quot;&#039;&quot;?s=m:m===&quot;]&quot;?(c=!1,i.push(l),l=&quot;&quot;):l+=m:m===&quot;[&quot;?(c=!0,l&amp;&amp;(i.push(l),l=&quot;&quot;)):m===&quot;.&quot;?l&amp;&amp;(i.push(l),l=&quot;&quot;):l+=m,u++}return l&amp;&amp;i.push(l),i}e.toPath=n})(X0)),X0}var U3;function nx(){return U3||(U3=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=dB(),t=tN(),n=tx(),o=rx();function i(u,l,s){if(u==null)return s;switch(typeof l){case&quot;string&quot;:{if(r.isUnsafeProperty(l))return s;const c=u[l];return c===void 0?t.isDeepKey(l)?i(u,o.toPath(l),s):s:c}case&quot;number&quot;:case&quot;symbol&quot;:{typeof l==&quot;number&quot;&amp;&amp;(l=n.toKey(l));const c=u[l];return c===void 0?s:c}default:{if(Array.isArray(l))return a(u,l,s);if(Object.is(l?.valueOf(),-0)?l=&quot;-0&quot;:l=String(l),r.isUnsafeProperty(l))return s;const c=u[l];return c===void 0?s:c}}}function a(u,l,s){if(l.length===0)return s;let c=u;for(let m=0;m&lt;l.length;m++){if(c==null||r.isUnsafeProperty(l[m]))return s;c=c[l[m]]}return c===void 0?s:c}e.get=i})(q0)),q0}var Y0,V3;function hB(){return V3||(V3=1,Y0=nx().get),Y0}var mB=hB();const El=rs(mB);var pB=4;function Ea(e){var r=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:pB,t=10**r,n=Math.round(e*t)/t;return Object.is(n,-0)?0:n}function Pr(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((o,i,a)=&gt;{var u=t[a-1];return typeof u==&quot;string&quot;?o+u+i:u!==void 0?o+Ea(u)+i:o+i},&quot;&quot;)}var Qn=e=&gt;e===0?0:e&gt;0?1:-1,Ji=e=&gt;typeof e==&quot;number&quot;&amp;&amp;e!=+e,qs=e=&gt;typeof e==&quot;string&quot;&amp;&amp;e.indexOf(&quot;%&quot;)===e.length-1,dt=e=&gt;(typeof e==&quot;number&quot;||e instanceof Number)&amp;&amp;!Ji(e),xs=e=&gt;dt(e)||typeof e==&quot;string&quot;,gB=0,su=e=&gt;{var r=++gB;return&quot;&quot;.concat(e||&quot;&quot;).concat(r)},es=function(r,t){var n=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:0,o=arguments.length&gt;3&amp;&amp;arguments[3]!==void 0?arguments[3]:!1;if(!dt(r)&amp;&amp;typeof r!=&quot;string&quot;)return n;var i;if(qs(r)){if(t==null)return n;var a=r.indexOf(&quot;%&quot;);i=t*parseFloat(r.slice(0,a))/100}else i=+r;return Ji(i)&amp;&amp;(i=n),o&amp;&amp;t!=null&amp;&amp;i&gt;t&amp;&amp;(i=t),i},rN=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 Ir(e,r,t){return dt(e)&amp;&amp;dt(r)?Ea(e+t*(r-e)):r}function nN(e,r,t){if(!(!e||!e.length))return e.find(n=&gt;n&amp;&amp;(typeof r==&quot;function&quot;?r(n):El(n,r))===t)}var jr=e=&gt;e===null||typeof e&gt;&quot;u&quot;,Nu=e=&gt;jr(e)?e:&quot;&quot;.concat(e.charAt(0).toUpperCase()).concat(e.slice(1));function vB(e){return e!=null}function Cu(){}var yB=[&quot;type&quot;,&quot;size&quot;,&quot;sizeType&quot;];function hy(){return hy=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},hy.apply(null,arguments)}function q3(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function W3(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?q3(Object(t),!0).forEach(function(n){bB(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):q3(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function bB(e,r,t){return(r=xB(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function xB(e){var r=wB(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function wB(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 _B(e,r){if(e==null)return{};var t,n,o=jB(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;(o[t]=e[t])}return o}function jB(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 iN={symbolCircle:ex,symbolCross:LF,symbolDiamond:BF,symbolSquare:zF,symbolStar:qF,symbolTriangle:WF,symbolWye:KF},SB=Math.PI/180,kB=e=&gt;{var r=&quot;symbol&quot;.concat(Nu(e));return iN[r]||ex},NB=(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*SB;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}},CB=(e,r)=&gt;{iN[&quot;symbol&quot;.concat(Nu(e))]=r},ix=e=&gt;{var{type:r=&quot;circle&quot;,size:t=64,sizeType:n=&quot;area&quot;}=e,o=_B(e,yB),i=W3(W3({},o),{},{type:r,size:t,sizeType:n}),a=&quot;circle&quot;;typeof r==&quot;string&quot;&amp;&amp;(a=r);var u=()=&gt;{var h=kB(a),d=XF().type(h).size(NB(t,n,a)),g=d();if(g!==null)return g},{className:l,cx:s,cy:c}=i,m=zn(i);return dt(s)&amp;&amp;dt(c)&amp;&amp;dt(t)?q.createElement(&quot;path&quot;,hy({},m,{className:or(&quot;recharts-symbols&quot;,l),transform:&quot;translate(&quot;.concat(s,&quot;, &quot;).concat(c,&quot;)&quot;),d:u()})):null};ix.registerSymbol=CB;var sN=e=&gt;&quot;radius&quot;in e&amp;&amp;&quot;startAngle&quot;in e&amp;&amp;&quot;endAngle&quot;in e,sx=(e,r)=&gt;{if(!e||typeof e==&quot;function&quot;||typeof e==&quot;boolean&quot;)return null;var t=e;if(q.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(o=&gt;{Yb(o)&amp;&amp;(n[o]=(i=&gt;t[o](t,i)))}),n},EB=(e,r,t)=&gt;n=&gt;(e(r,t,n),null),em=(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(o=&gt;{var i=e[o];Yb(o)&amp;&amp;typeof i==&quot;function&quot;&amp;&amp;(n||(n={}),n[o]=EB(i,r,t))}),n};function H3(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function AB(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?H3(Object(t),!0).forEach(function(n){MB(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):H3(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function MB(e,r,t){return(r=OB(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function OB(e){var r=TB(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function TB(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 xn(e,r){var t=AB({},e),n=r,o=Object.keys(r),i=o.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 Yf(){return Yf=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},Yf.apply(null,arguments)}function K3(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function PB(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?K3(Object(t),!0).forEach(function(n){IB(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):K3(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function IB(e,r,t){return(r=RB(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function RB(e){var r=DB(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function DB(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 Ni=32,LB={align:&quot;center&quot;,iconSize:14,inactiveColor:&quot;#ccc&quot;,layout:&quot;horizontal&quot;,verticalAlign:&quot;middle&quot;};function FB(e){var{data:r,iconType:t,inactiveColor:n}=e,o=Ni/2,i=Ni/6,a=Ni/3,u=r.inactive?n:r.color,l=t??r.type;if(l===&quot;none&quot;)return null;if(l===&quot;plainline&quot;){var s;return q.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:o,x2:Ni,y2:o,className:&quot;recharts-legend-icon&quot;})}if(l===&quot;line&quot;)return q.createElement(&quot;path&quot;,{strokeWidth:4,fill:&quot;none&quot;,stroke:u,d:&quot;M0,&quot;.concat(o,&quot;h&quot;).concat(a,`
            A`).concat(i,&quot;,&quot;).concat(i,&quot;,0,1,1,&quot;).concat(2*a,&quot;,&quot;).concat(o,`
            H`).concat(Ni,&quot;M&quot;).concat(2*a,&quot;,&quot;).concat(o,`
            A`).concat(i,&quot;,&quot;).concat(i,&quot;,0,1,1,&quot;).concat(a,&quot;,&quot;).concat(o),className:&quot;recharts-legend-icon&quot;});if(l===&quot;rect&quot;)return q.createElement(&quot;path&quot;,{stroke:&quot;none&quot;,fill:u,d:&quot;M0,&quot;.concat(Ni/8,&quot;h&quot;).concat(Ni,&quot;v&quot;).concat(Ni*3/4,&quot;h&quot;).concat(-Ni,&quot;z&quot;),className:&quot;recharts-legend-icon&quot;});if(q.isValidElement(r.legendIcon)){var c=PB({},r);return delete c.legendIcon,q.cloneElement(r.legendIcon,c)}return q.createElement(ix,{fill:u,cx:o,cy:o,size:Ni,sizeType:&quot;diameter&quot;,type:l})}function BB(e){var{payload:r,iconSize:t,layout:n,formatter:o,inactiveColor:i,iconType:a}=e,u={x:0,y:0,width:Ni,height:Ni},l={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,m)=&gt;{var h=c.formatter||o,d=or({&quot;recharts-legend-item&quot;:!0,[&quot;legend-item-&quot;.concat(m)]:!0,inactive:c.inactive});if(c.type===&quot;none&quot;)return null;var g=c.inactive?i:c.color,y=h?h(c.value,c,m):c.value;return q.createElement(&quot;li&quot;,Yf({className:d,style:l,key:&quot;legend-item-&quot;.concat(m)},em(e,c,m)),q.createElement(Zb,{width:t,height:t,viewBox:u,style:s,&quot;aria-label&quot;:&quot;&quot;.concat(y,&quot; legend icon&quot;)},q.createElement(FB,{data:c,iconType:a,inactiveColor:i})),q.createElement(&quot;span&quot;,{className:&quot;recharts-legend-item-text&quot;,style:{color:g}},y))})}var zB=e=&gt;{var r=xn(e,LB),{payload:t,layout:n,align:o}=r;if(!t||!t.length)return null;var i={padding:0,margin:0,textAlign:n===&quot;horizontal&quot;?o:&quot;left&quot;};return q.createElement(&quot;ul&quot;,{className:&quot;recharts-default-legend&quot;,style:i},q.createElement(BB,Yf({},r,{payload:t})))},Z0={},Q0={},X3;function $B(){return X3||(X3=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t,n){const o=new Map;for(let i=0;i&lt;t.length;i++){const a=t[i],u=n(a,i,t);o.has(u)||o.set(u,a)}return Array.from(o.values())}e.uniqBy=r})(Q0)),Q0}var J0={},G3;function UB(){return G3||(G3=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t,n){return function(...o){return t.apply(this,o.slice(0,n))}}e.ary=r})(J0)),J0}var eg={},Y3;function aN(){return Y3||(Y3=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return t}e.identity=r})(eg)),eg}var tg={},rg={},ng={},Z3;function VB(){return Z3||(Z3=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})(ng)),ng}var Q3;function ax(){return Q3||(Q3=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=VB();function t(n){return n!=null&amp;&amp;typeof n!=&quot;function&quot;&amp;&amp;r.isLength(n.length)}e.isArrayLike=t})(rg)),rg}var ig={},J3;function qB(){return J3||(J3=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})(ig)),ig}var e4;function WB(){return e4||(e4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=ax(),t=qB();function n(o){return t.isObjectLike(o)&amp;&amp;r.isArrayLike(o)}e.isArrayLikeObject=n})(tg)),tg}var sg={},ag={},t4;function HB(){return t4||(t4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=nx();function t(n){return function(o){return r.get(o,n)}}e.property=t})(ag)),ag}var og={},lg={},cg={},ug={},r4;function oN(){return r4||(r4=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})(ug)),ug}var dg={},n4;function lN(){return n4||(n4=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})(dg)),dg}var fg={},i4;function cN(){return i4||(i4=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})(fg)),fg}var s4;function KB(){return s4||(s4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=oN(),t=lN(),n=cN();function o(c,m,h){return typeof h!=&quot;function&quot;?o(c,m,()=&gt;{}):i(c,m,function d(g,y,p,b,x,_){const E=h(g,y,p,b,x,_);return E!==void 0?!!E:i(g,y,d,_)},new Map)}function i(c,m,h,d){if(m===c)return!0;switch(typeof m){case&quot;object&quot;:return a(c,m,h,d);case&quot;function&quot;:return Object.keys(m).length&gt;0?i(c,{...m},h,d):n.isEqualsSameValueZero(c,m);default:return r.isObject(c)?typeof m==&quot;string&quot;?m===&quot;&quot;:!0:n.isEqualsSameValueZero(c,m)}}function a(c,m,h,d){if(m==null)return!0;if(Array.isArray(m))return l(c,m,h,d);if(m instanceof Map)return u(c,m,h,d);if(m instanceof Set)return s(c,m,h,d);const g=Object.keys(m);if(c==null||t.isPrimitive(c))return g.length===0;if(g.length===0)return!0;if(d?.has(m))return d.get(m)===c;d?.set(m,c);try{for(let y=0;y&lt;g.length;y++){const p=g[y];if(!t.isPrimitive(c)&amp;&amp;!(p in c)||m[p]===void 0&amp;&amp;c[p]!==void 0||m[p]===null&amp;&amp;c[p]!==null||!h(c[p],m[p],p,c,m,d))return!1}return!0}finally{d?.delete(m)}}function u(c,m,h,d){if(m.size===0)return!0;if(!(c instanceof Map))return!1;for(const[g,y]of m.entries()){const p=c.get(g);if(h(p,y,g,c,m,d)===!1)return!1}return!0}function l(c,m,h,d){if(m.length===0)return!0;if(!Array.isArray(c))return!1;const g=new Set;for(let y=0;y&lt;m.length;y++){const p=m[y];let b=!1;for(let x=0;x&lt;c.length;x++){if(g.has(x))continue;const _=c[x];let E=!1;if(h(_,p,y,c,m,d)&amp;&amp;(E=!0),E){g.add(x),b=!0;break}}if(!b)return!1}return!0}function s(c,m,h,d){return m.size===0?!0:c instanceof Set?l([...c],[...m],h,d):!1}e.isMatchWith=o,e.isSetMatch=s})(cg)),cg}var a4;function uN(){return a4||(a4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=KB();function t(n,o){return r.isMatchWith(n,o,()=&gt;{})}e.isMatch=t})(lg)),lg}var hg={},mg={},pg={},o4;function XB(){return o4||(o4=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})(pg)),pg}var gg={},l4;function ox(){return l4||(l4=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})(gg)),gg}var vg={},c4;function dN(){return c4||(c4=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;,o=&quot;[object Boolean]&quot;,i=&quot;[object Arguments]&quot;,a=&quot;[object Symbol]&quot;,u=&quot;[object Date]&quot;,l=&quot;[object Map]&quot;,s=&quot;[object Set]&quot;,c=&quot;[object Array]&quot;,m=&quot;[object Function]&quot;,h=&quot;[object ArrayBuffer]&quot;,d=&quot;[object Object]&quot;,g=&quot;[object Error]&quot;,y=&quot;[object DataView]&quot;,p=&quot;[object Uint8Array]&quot;,b=&quot;[object Uint8ClampedArray]&quot;,x=&quot;[object Uint16Array]&quot;,_=&quot;[object Uint32Array]&quot;,E=&quot;[object BigUint64Array]&quot;,M=&quot;[object Int8Array]&quot;,D=&quot;[object Int16Array]&quot;,W=&quot;[object Int32Array]&quot;,L=&quot;[object BigInt64Array]&quot;,V=&quot;[object Float32Array]&quot;,H=&quot;[object Float64Array]&quot;;e.argumentsTag=i,e.arrayBufferTag=h,e.arrayTag=c,e.bigInt64ArrayTag=L,e.bigUint64ArrayTag=E,e.booleanTag=o,e.dataViewTag=y,e.dateTag=u,e.errorTag=g,e.float32ArrayTag=V,e.float64ArrayTag=H,e.functionTag=m,e.int16ArrayTag=D,e.int32ArrayTag=W,e.int8ArrayTag=M,e.mapTag=l,e.numberTag=n,e.objectTag=d,e.regexpTag=r,e.setTag=s,e.stringTag=t,e.symbolTag=a,e.uint16ArrayTag=x,e.uint32ArrayTag=_,e.uint8ArrayTag=p,e.uint8ClampedArrayTag=b})(vg)),vg}var yg={},u4;function GB(){return u4||(u4=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})(yg)),yg}var d4;function fN(){return d4||(d4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=XB(),t=ox(),n=dN(),o=lN(),i=GB();function a(c,m){return u(c,void 0,c,new Map,m)}function u(c,m,h,d=new Map,g=void 0){const y=g?.(c,m,h,d);if(y!==void 0)return y;if(o.isPrimitive(c))return c;if(d.has(c))return d.get(c);if(Array.isArray(c)){const p=new Array(c.length);d.set(c,p);for(let b=0;b&lt;c.length;b++)p[b]=u(c[b],b,h,d,g);return Object.hasOwn(c,&quot;index&quot;)&amp;&amp;(p.index=c.index),Object.hasOwn(c,&quot;input&quot;)&amp;&amp;(p.input=c.input),p}if(c instanceof Date)return new Date(c.getTime());if(c instanceof RegExp){const p=new RegExp(c.source,c.flags);return p.lastIndex=c.lastIndex,p}if(c instanceof Map){const p=new Map;d.set(c,p);for(const[b,x]of c)p.set(b,u(x,b,h,d,g));return p}if(c instanceof Set){const p=new Set;d.set(c,p);for(const b of c)p.add(u(b,void 0,h,d,g));return p}if(typeof Buffer&lt;&quot;u&quot;&amp;&amp;Buffer.isBuffer(c))return c.subarray();if(i.isTypedArray(c)){const p=new(Object.getPrototypeOf(c)).constructor(c.length);d.set(c,p);for(let b=0;b&lt;c.length;b++)p[b]=u(c[b],b,h,d,g);return p}if(c instanceof ArrayBuffer||typeof SharedArrayBuffer&lt;&quot;u&quot;&amp;&amp;c instanceof SharedArrayBuffer)return c.slice(0);if(c instanceof DataView){const p=new DataView(c.buffer.slice(0),c.byteOffset,c.byteLength);return d.set(c,p),l(p,c,h,d,g),p}if(typeof File&lt;&quot;u&quot;&amp;&amp;c instanceof File){const p=new File([c],c.name,{type:c.type});return d.set(c,p),l(p,c,h,d,g),p}if(typeof Blob&lt;&quot;u&quot;&amp;&amp;c instanceof Blob){const p=new Blob([c],{type:c.type});return d.set(c,p),l(p,c,h,d,g),p}if(c instanceof Error){const p=new c.constructor;return d.set(c,p),p.message=c.message,p.name=c.name,p.stack=c.stack,p.cause=c.cause,l(p,c,h,d,g),p}if(c instanceof Boolean){const p=new Boolean(c.valueOf());return d.set(c,p),l(p,c,h,d,g),p}if(c instanceof Number){const p=new Number(c.valueOf());return d.set(c,p),l(p,c,h,d,g),p}if(c instanceof String){const p=new String(c.valueOf());return d.set(c,p),l(p,c,h,d,g),p}if(typeof c==&quot;object&quot;&amp;&amp;s(c)){const p=Object.create(Object.getPrototypeOf(c));return d.set(c,p),l(p,c,h,d,g),p}return c}function l(c,m,h=c,d,g){const y=[...Object.keys(m),...r.getSymbols(m)];for(let p=0;p&lt;y.length;p++){const b=y[p],x=Object.getOwnPropertyDescriptor(c,b);(x==null||x.writable)&amp;&amp;(c[b]=u(m[b],b,h,d,g))}}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=l})(mg)),mg}var f4;function YB(){return f4||(f4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=fN();function t(n){return r.cloneDeepWithImpl(n,void 0,n,new Map,void 0)}e.cloneDeep=t})(hg)),hg}var h4;function ZB(){return h4||(h4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=uN(),t=YB();function n(o){return o=t.cloneDeep(o),i=&gt;r.isMatch(i,o)}e.matches=n})(og)),og}var bg={},xg={},wg={},m4;function QB(){return m4||(m4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=fN(),t=ox(),n=dN();function o(i,a){return r.cloneDeepWith(i,(u,l,s,c)=&gt;{const m=a?.(u,l,s,c);if(m!==void 0)return m;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=o})(wg)),wg}var p4;function JB(){return p4||(p4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=QB();function t(n){return r.cloneDeepWith(n)}e.cloneDeep=t})(xg)),xg}var _g={},jg={},g4;function hN(){return g4||(g4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=/^(?:0|[1-9]\d*)$/;function t(n,o=Number.MAX_SAFE_INTEGER){switch(typeof n){case&quot;number&quot;:return Number.isInteger(n)&amp;&amp;n&gt;=0&amp;&amp;n&lt;o;case&quot;symbol&quot;:return!1;case&quot;string&quot;:return r.test(n)}}e.isIndex=t})(jg)),jg}var Sg={},v4;function ez(){return v4||(v4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=ox();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})(Sg)),Sg}var y4;function tz(){return y4||(y4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=tN(),t=hN(),n=ez(),o=rx();function i(a,u){let l;if(Array.isArray(u)?l=u:typeof u==&quot;string&quot;&amp;&amp;r.isDeepKey(u)&amp;&amp;a?.[u]==null?l=o.toPath(u):l=[u],l.length===0)return!1;let s=a;for(let c=0;c&lt;l.length;c++){const m=l[c];if((s==null||!Object.hasOwn(s,m))&amp;&amp;!((Array.isArray(s)||n.isArguments(s))&amp;&amp;t.isIndex(m)&amp;&amp;m&lt;s.length))return!1;s=s[m]}return!0}e.has=i})(_g)),_g}var b4;function rz(){return b4||(b4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=uN(),t=tx(),n=JB(),o=nx(),i=tz();function a(u,l){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 l=n.cloneDeep(l),function(s){const c=o.get(s,u);return c===void 0?i.has(s,u):l===void 0?c===void 0:r.isMatch(c,l)}}e.matchesProperty=a})(bg)),bg}var x4;function nz(){return x4||(x4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=aN(),t=HB(),n=ZB(),o=rz();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?o.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})(sg)),sg}var w4;function iz(){return w4||(w4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=$B(),t=UB(),n=aN(),o=WB(),i=nz();function a(u,l=n.identity){return o.isArrayLikeObject(u)?r.uniqBy(Array.from(u),t.ary(i.iteratee(l),1)):[]}e.uniqBy=a})(Z0)),Z0}var kg,_4;function sz(){return _4||(_4=1,kg=iz().uniqBy),kg}var az=sz();const j4=rs(az);function mN(e,r,t){return r===!0?j4(e,t):typeof r==&quot;function&quot;?j4(e,r):e}var Ng={exports:{}},Cg={},Eg={exports:{}},Ag={};var S4;function oz(){if(S4)return Ag;S4=1;var e=Dl();function r(m,h){return m===h&amp;&amp;(m!==0||1/m===1/h)||m!==m&amp;&amp;h!==h}var t=typeof Object.is==&quot;function&quot;?Object.is:r,n=e.useState,o=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue;function u(m,h){var d=h(),g=n({inst:{value:d,getSnapshot:h}}),y=g[0].inst,p=g[1];return i(function(){y.value=d,y.getSnapshot=h,l(y)&amp;&amp;p({inst:y})},[m,d,h]),o(function(){return l(y)&amp;&amp;p({inst:y}),m(function(){l(y)&amp;&amp;p({inst:y})})},[m]),a(d),d}function l(m){var h=m.getSnapshot;m=m.value;try{var d=h();return!t(m,d)}catch{return!0}}function s(m,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 Ag.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:c,Ag}var k4;function lz(){return k4||(k4=1,Eg.exports=oz()),Eg.exports}var N4;function cz(){if(N4)return Cg;N4=1;var e=Dl(),r=lz();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,o=r.useSyncExternalStore,i=e.useRef,a=e.useEffect,u=e.useMemo,l=e.useDebugValue;return Cg.useSyncExternalStoreWithSelector=function(s,c,m,h,d){var g=i(null);if(g.current===null){var y={hasValue:!1,value:null};g.current=y}else y=g.current;g=u(function(){function b(D){if(!x){if(x=!0,_=D,D=h(D),d!==void 0&amp;&amp;y.hasValue){var W=y.value;if(d(W,D))return E=W}return E=D}if(W=E,n(_,D))return W;var L=h(D);return d!==void 0&amp;&amp;d(W,L)?(_=D,W):(_=D,E=L)}var x=!1,_,E,M=m===void 0?null:m;return[function(){return b(c())},M===null?void 0:function(){return b(M())}]},[c,m,h,d]);var p=o(s,g[0],g[1]);return a(function(){y.hasValue=!0,y.value=p},[p]),l(p),p},Cg}var C4;function uz(){return C4||(C4=1,Ng.exports=cz()),Ng.exports}var dz=uz(),lx=q.createContext(null),fz=e=&gt;e,Ar=()=&gt;{var e=q.useContext(lx);return e?e.store.dispatch:fz},Sf=()=&gt;{},hz=()=&gt;Sf,mz=(e,r)=&gt;e===r;function bt(e){var r=q.useContext(lx);return dz.useSyncExternalStoreWithSelector(r?r.subscription.addNestedSub:hz,r?r.store.getState:Sf,r?r.store.getState:Sf,r?e:Sf,mz)}function pz(e,r=`expected a function, instead received ${typeof e}`){if(typeof e!=&quot;function&quot;)throw new TypeError(r)}function gz(e,r=`expected an object, instead received ${typeof e}`){if(typeof e!=&quot;object&quot;)throw new TypeError(r)}function vz(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 E4=e=&gt;Array.isArray(e)?e:[e];function yz(e){const r=Array.isArray(e[0])?e[0]:e;return vz(r,&quot;createSelector expects all input-selectors to be functions, but received the following types: &quot;),r}function bz(e,r){const t=[],{length:n}=e;for(let o=0;o&lt;n;o++)t.push(e[o].apply(null,r));return t}var xz=class{constructor(e){this.value=e}deref(){return this.value}},wz=typeof WeakRef&lt;&quot;u&quot;?WeakRef:xz,_z=0,A4=1;function ef(){return{s:_z,v:void 0,o:null,p:null}}function pN(e,r={}){let t=ef();const{resultEqualityCheck:n}=r;let o,i=0;function a(){let u=t;const{length:l}=arguments;for(let m=0,h=l;m&lt;h;m++){const d=arguments[m];if(typeof d==&quot;function&quot;||typeof d==&quot;object&quot;&amp;&amp;d!==null){let g=u.o;g===null&amp;&amp;(u.o=g=new WeakMap);const y=g.get(d);y===void 0?(u=ef(),g.set(d,u)):u=y}else{let g=u.p;g===null&amp;&amp;(u.p=g=new Map);const y=g.get(d);y===void 0?(u=ef(),g.set(d,u)):u=y}}const s=u;let c;if(u.s===A4)c=u.v;else if(c=e.apply(null,arguments),i++,n){const m=o?.deref?.()??o;m!=null&amp;&amp;n(m,c)&amp;&amp;(c=m,i!==0&amp;&amp;i--),o=typeof c==&quot;object&quot;&amp;&amp;c!==null||typeof c==&quot;function&quot;?new wz(c):c}return s.s=A4,s.v=c,c}return a.clearCache=()=&gt;{t=ef(),a.resetResultsCount()},a.resultsCount=()=&gt;i,a.resetResultsCount=()=&gt;{i=0},a}function jz(e,...r){const t=typeof e==&quot;function&quot;?{memoize:e,memoizeOptions:r}:e,n=(...o)=&gt;{let i=0,a=0,u,l={},s=o.pop();typeof s==&quot;object&quot;&amp;&amp;(l=s,s=o.pop()),pz(s,`createSelector expects an output function after the inputs, but received: [${typeof s}]`);const c={...t,...l},{memoize:m,memoizeOptions:h=[],argsMemoize:d=pN,argsMemoizeOptions:g=[]}=c,y=E4(h),p=E4(g),b=yz(o),x=m(function(){return i++,s.apply(null,arguments)},...y),_=d(function(){a++;const M=bz(b,arguments);return u=x.apply(null,M),u},...p);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:m,argsMemoize:d})};return Object.assign(n,{withTypes:()=&gt;n}),n}var Ee=jz(pN),Sz=Object.assign((e,r=Ee)=&gt;{gz(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,l)=&gt;(a[t[l]]=u,a),{}))},{withTypes:()=&gt;Sz}),Mg={},Og={},Tg={},M4;function kz(){return M4||(M4=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,o,i)=&gt;{if(n!==o){const a=r(n),u=r(o);if(a===u&amp;&amp;a===0){if(n&lt;o)return i===&quot;desc&quot;?1:-1;if(n&gt;o)return i===&quot;desc&quot;?-1:1}return i===&quot;desc&quot;?u-a:a-u}return 0};e.compareValues=t})(Tg)),Tg}var Pg={},Ig={},O4;function gN(){return O4||(O4=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})(Ig)),Ig}var T4;function Nz(){return T4||(T4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=gN(),t=/\.|\[(?:[^[\]]*|([&quot;&#039;])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function o(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=o})(Pg)),Pg}var P4;function Cz(){return P4||(P4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=kz(),t=Nz(),n=rx();function o(i,a,u,l){if(i==null)return[];u=l?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(d=&gt;String(d));const s=(d,g)=&gt;{let y=d;for(let p=0;p&lt;g.length&amp;&amp;y!=null;++p)y=y[g[p]];return y},c=(d,g)=&gt;g==null||d==null?g:typeof d==&quot;object&quot;&amp;&amp;&quot;key&quot;in d?Object.hasOwn(g,d.key)?g[d.key]:s(g,d.path):typeof d==&quot;function&quot;?d(g):Array.isArray(d)?s(g,d):typeof g==&quot;object&quot;?g[d]:g,m=a.map(d=&gt;(Array.isArray(d)&amp;&amp;d.length===1&amp;&amp;(d=d[0]),d==null||typeof d==&quot;function&quot;||Array.isArray(d)||t.isKey(d)?d:{key:d,path:n.toPath(d)}));return i.map(d=&gt;({original:d,criteria:m.map(g=&gt;c(g,d))})).slice().sort((d,g)=&gt;{for(let y=0;y&lt;m.length;y++){const p=r.compareValues(d.criteria[y],g.criteria[y],u[y]);if(p!==0)return p}return 0}).map(d=&gt;d.original)}e.orderBy=o})(Og)),Og}var Rg={},I4;function Ez(){return I4||(I4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t,n=1){const o=[],i=Math.floor(n),a=(u,l)=&gt;{for(let s=0;s&lt;u.length;s++){const c=u[s];Array.isArray(c)&amp;&amp;l&lt;i?a(c,l+1):o.push(c)}};return a(t,0),o}e.flatten=r})(Rg)),Rg}var Dg={},R4;function vN(){return R4||(R4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=hN(),t=ax(),n=oN(),o=cN();function i(a,u,l){return n.isObject(l)&amp;&amp;(typeof u==&quot;number&quot;&amp;&amp;t.isArrayLike(l)&amp;&amp;r.isIndex(u)&amp;&amp;u&lt;l.length||typeof u==&quot;string&quot;&amp;&amp;u in l)?o.isEqualsSameValueZero(l[u],a):!1}e.isIterateeCall=i})(Dg)),Dg}var D4;function Az(){return D4||(D4=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=Cz(),t=Ez(),n=vN();function o(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=o})(Mg)),Mg}var Lg,L4;function Mz(){return L4||(L4=1,Lg=Az().sortBy),Lg}var Oz=Mz();const tm=rs(Oz);var yN=e=&gt;e.legend.settings,Tz=e=&gt;e.legend.size,Pz=e=&gt;e.legend.payload,Iz=Ee([Pz,yN],(e,r)=&gt;{var{itemSorter:t}=r,n=e.flat(1);return t?tm(n,t):n});function Rz(){return bt(Iz)}var tf=1;function bN(){var e=arguments.length&gt;0&amp;&amp;arguments[0]!==void 0?arguments[0]:[],[r,t]=q.useState({height:0,left:0,top:0,width:0}),n=q.useCallback(o=&gt;{if(o!=null){var i=o.getBoundingClientRect(),a={height:i.height,left:i.left,top:i.top,width:i.width};(Math.abs(a.height-r.height)&gt;tf||Math.abs(a.left-r.left)&gt;tf||Math.abs(a.top-r.top)&gt;tf||Math.abs(a.width-r.width)&gt;tf)&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 gn(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 Dz=typeof Symbol==&quot;function&quot;&amp;&amp;Symbol.observable||&quot;@@observable&quot;,F4=Dz,Fg=()=&gt;Math.random().toString(36).substring(7).split(&quot;&quot;).join(&quot;.&quot;),Lz={INIT:`@@redux/INIT${Fg()}`,REPLACE:`@@redux/REPLACE${Fg()}`,PROBE_UNKNOWN_ACTION:()=&gt;`@@redux/PROBE_UNKNOWN_ACTION${Fg()}`},Zf=Lz;function cx(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 xN(e,r,t){if(typeof e!=&quot;function&quot;)throw new Error(gn(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(gn(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(gn(1));return t(xN)(e,r)}let n=e,o=r,i=new Map,a=i,u=0,l=!1;function s(){a===i&amp;&amp;(a=new Map,i.forEach((p,b)=&gt;{a.set(b,p)}))}function c(){if(l)throw new Error(gn(3));return o}function m(p){if(typeof p!=&quot;function&quot;)throw new Error(gn(4));if(l)throw new Error(gn(5));let b=!0;s();const x=u++;return a.set(x,p),function(){if(b){if(l)throw new Error(gn(6));b=!1,s(),a.delete(x),i=null}}}function h(p){if(!cx(p))throw new Error(gn(7));if(typeof p.type&gt;&quot;u&quot;)throw new Error(gn(8));if(typeof p.type!=&quot;string&quot;)throw new Error(gn(17));if(l)throw new Error(gn(9));try{l=!0,o=n(o,p)}finally{l=!1}return(i=a).forEach(x=&gt;{x()}),p}function d(p){if(typeof p!=&quot;function&quot;)throw new Error(gn(10));n=p,h({type:Zf.REPLACE})}function g(){const p=m;return{subscribe(b){if(typeof b!=&quot;object&quot;||b===null)throw new Error(gn(11));function x(){const E=b;E.next&amp;&amp;E.next(c())}return x(),{unsubscribe:p(x)}},[F4](){return this}}}return h({type:Zf.INIT}),{dispatch:h,subscribe:m,getState:c,replaceReducer:d,[F4]:g}}function Fz(e){Object.keys(e).forEach(r=&gt;{const t=e[r];if(typeof t(void 0,{type:Zf.INIT})&gt;&quot;u&quot;)throw new Error(gn(12));if(typeof t(void 0,{type:Zf.PROBE_UNKNOWN_ACTION()})&gt;&quot;u&quot;)throw new Error(gn(13))})}function wN(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 o;try{Fz(t)}catch(i){o=i}return function(a={},u){if(o)throw o;let l=!1;const s={};for(let c=0;c&lt;n.length;c++){const m=n[c],h=t[m],d=a[m],g=h(d,u);if(typeof g&gt;&quot;u&quot;)throw u&amp;&amp;u.type,new Error(gn(14));s[m]=g,l=l||g!==d}return l=l||n.length!==Object.keys(a).length,l?s:a}}function Qf(...e){return e.length===0?r=&gt;r:e.length===1?e[0]:e.reduce((r,t)=&gt;(...n)=&gt;r(t(...n)))}function Bz(...e){return r=&gt;(t,n)=&gt;{const o=r(t,n);let i=()=&gt;{throw new Error(gn(15))};const a={getState:o.getState,dispatch:(l,...s)=&gt;i(l,...s)},u=e.map(l=&gt;l(a));return i=Qf(...u)(o.dispatch),{...o,dispatch:i}}}function _N(e){return cx(e)&amp;&amp;&quot;type&quot;in e&amp;&amp;typeof e.type==&quot;string&quot;}var jN=Symbol.for(&quot;immer-nothing&quot;),B4=Symbol.for(&quot;immer-draftable&quot;),$n=Symbol.for(&quot;immer-state&quot;);function Ki(e,...r){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var li=Object,Al=li.getPrototypeOf,Jf=&quot;constructor&quot;,rm=&quot;prototype&quot;,my=&quot;configurable&quot;,eh=&quot;enumerable&quot;,kf=&quot;writable&quot;,au=&quot;value&quot;,Ws=e=&gt;!!e&amp;&amp;!!e[$n];function ts(e){return e?SN(e)||im(e)||!!e[B4]||!!e[Jf]?.[B4]||sm(e)||am(e):!1}var zz=li[rm][Jf].toString(),z4=new WeakMap;function SN(e){if(!e||!ux(e))return!1;const r=Al(e);if(r===null||r===li[rm])return!0;const t=li.hasOwnProperty.call(r,Jf)&amp;&amp;r[Jf];if(t===Object)return!0;if(!vl(t))return!1;let n=z4.get(t);return n===void 0&amp;&amp;(n=Function.toString.call(t),z4.set(t,n)),n===zz}function nm(e,r,t=!0){Eu(e)===0?(t?Reflect.ownKeys(e):li.keys(e)).forEach(o=&gt;{r(o,e[o],e)}):e.forEach((n,o)=&gt;r(o,n,e))}function Eu(e){const r=e[$n];return r?r.type_:im(e)?1:sm(e)?2:am(e)?3:0}var $4=(e,r,t=Eu(e))=&gt;t===2?e.has(r):li[rm].hasOwnProperty.call(e,r),py=(e,r,t=Eu(e))=&gt;t===2?e.get(r):e[r],th=(e,r,t,n=Eu(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 im=Array.isArray,sm=e=&gt;e instanceof Map,am=e=&gt;e instanceof Set,ux=e=&gt;typeof e==&quot;object&quot;,vl=e=&gt;typeof e==&quot;function&quot;,Bg=e=&gt;typeof e==&quot;boolean&quot;;function Uz(e){const r=+e;return Number.isInteger(r)&amp;&amp;String(r)===e}var Rs=e=&gt;e.copy_||e.base_,dx=e=&gt;e.modified_?e.copy_:e.base_;function gy(e,r){if(sm(e))return new Map(e);if(am(e))return new Set(e);if(im(e))return Array[rm].slice.call(e);const t=SN(e);if(r===!0||r===&quot;class_only&quot;&amp;&amp;!t){const n=li.getOwnPropertyDescriptors(e);delete n[$n];let o=Reflect.ownKeys(n);for(let i=0;i&lt;o.length;i++){const a=o[i],u=n[a];u[kf]===!1&amp;&amp;(u[kf]=!0,u[my]=!0),(u.get||u.set)&amp;&amp;(n[a]={[my]:!0,[kf]:!0,[eh]:u[eh],[au]:e[a]})}return li.create(Al(e),n)}else{const n=Al(e);if(n!==null&amp;&amp;t)return{...e};const o=li.create(n);return li.assign(o,e)}}function fx(e,r=!1){return om(e)||Ws(e)||!ts(e)||(Eu(e)&gt;1&amp;&amp;li.defineProperties(e,{set:rf,add:rf,clear:rf,delete:rf}),li.freeze(e),r&amp;&amp;nm(e,(t,n)=&gt;{fx(n,!0)},!1)),e}function Vz(){Ki(2)}var rf={[au]:Vz};function om(e){return e===null||!ux(e)?!0:li.isFrozen(e)}var rh=&quot;MapSet&quot;,vy=&quot;Patches&quot;,U4=&quot;ArrayMethods&quot;,kN={};function Co(e){const r=kN[e];return r||Ki(0,e),r}var V4=e=&gt;!!kN[e],ou,NN=()=&gt;ou,qz=(e,r)=&gt;({drafts_:[],parent_:e,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:V4(rh)?Co(rh):void 0,arrayMethodsPlugin_:V4(U4)?Co(U4):void 0});function q4(e,r){r&amp;&amp;(e.patchPlugin_=Co(vy),e.patches_=[],e.inversePatches_=[],e.patchListener_=r)}function yy(e){by(e),e.drafts_.forEach(Wz),e.drafts_=null}function by(e){e===ou&amp;&amp;(ou=e.parent_)}var W4=e=&gt;ou=qz(ou,e);function Wz(e){const r=e[$n];r.type_===0||r.type_===1?r.revoke_():r.revoked_=!0}function H4(e,r){r.unfinalizedDrafts_=r.drafts_.length;const t=r.drafts_[0];if(e!==void 0&amp;&amp;e!==t){t[$n].modified_&amp;&amp;(yy(r),Ki(4)),ts(e)&amp;&amp;(e=K4(r,e));const{patchPlugin_:o}=r;o&amp;&amp;o.generateReplacementPatches_(t[$n].base_,e,r)}else e=K4(r,t);return Hz(r,e,!0),yy(r),r.patches_&amp;&amp;r.patchListener_(r.patches_,r.inversePatches_),e!==jN?e:void 0}function K4(e,r){if(om(r))return r;const t=r[$n];if(!t)return nh(r,e.handledSet_,e);if(!lm(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);AN(t,e)}return t.copy_}function Hz(e,r,t=!1){!e.parent_&amp;&amp;e.immer_.autoFreeze_&amp;&amp;e.canAutoFreeze_&amp;&amp;fx(r,t)}function CN(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var lm=(e,r)=&gt;e.scope_===r,Kz=[];function EN(e,r,t,n){const o=Rs(e),i=e.type_;if(n!==void 0&amp;&amp;py(o,n,i)===r){th(o,n,t,i);return}if(!e.draftLocations_){const u=e.draftLocations_=new Map;nm(o,(l,s)=&gt;{if(Ws(s)){const c=u.get(s)||[];c.push(l),u.set(s,c)}})}const a=e.draftLocations_.get(r)??Kz;for(const u of a)th(o,u,t,i)}function Xz(e,r,t){e.callbacks_.push(function(o){const i=r;if(!i||!lm(i,o))return;o.mapSetPlugin_?.fixSetContents(i);const a=dx(i);EN(e,i.draft_??i,a,t),AN(i,o)})}function AN(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 o=n.getPath(e);o&amp;&amp;n.generatePatches_(e,o,r)}CN(e)}}function Gz(e,r,t){const{scope_:n}=e;if(Ws(t)){const o=t[$n];lm(o,n)&amp;&amp;o.callbacks_.push(function(){Nf(e);const a=dx(o);EN(e,t,a,r)})}else ts(t)&amp;&amp;e.callbacks_.push(function(){const i=Rs(e);e.type_===3?i.has(t)&amp;&amp;nh(t,n.handledSet_,n):py(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;nh(py(e.copy_,r,e.type_),n.handledSet_,n)})}function nh(e,r,t){return!t.immer_.autoFreeze_&amp;&amp;t.unfinalizedDrafts_&lt;1||Ws(e)||r.has(e)||!ts(e)||om(e)||(r.add(e),nm(e,(n,o)=&gt;{if(Ws(o)){const i=o[$n];if(lm(i,t)){const a=dx(i);th(e,n,a,e.type_),CN(i)}}else ts(o)&amp;&amp;nh(o,r,t)})),e}function Yz(e,r){const t=im(e),n={type_:t?1:0,scope_:r?r.scope_:NN(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:r,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let o=n,i=ih;t&amp;&amp;(o=[n],i=lu);const{revoke:a,proxy:u}=Proxy.revocable(o,i);return n.draft_=u,n.revoke_=a,[u,n]}var ih={get(e,r){if(r===$n)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 o=Rs(e);if(!$4(o,r,e.type_))return Zz(e,o,r);const i=o[r];if(e.finalized_||!ts(i)||n&amp;&amp;e.operationMethod&amp;&amp;t?.isMutatingArrayMethod(e.operationMethod)&amp;&amp;Uz(r))return i;if(i===zg(e.base_,r)){Nf(e);const a=e.type_===1?+r:r,u=wy(e.scope_,i,e,a);return e.copy_[a]=u}return i},has(e,r){return r in Rs(e)},ownKeys(e){return Reflect.ownKeys(Rs(e))},set(e,r,t){const n=MN(Rs(e),r);if(n?.set)return n.set.call(e.draft_,t),!0;if(!e.modified_){const o=zg(Rs(e),r),i=o?.[$n];if(i&amp;&amp;i.base_===t)return e.copy_[r]=t,e.assigned_.set(r,!1),!0;if($z(t,o)&amp;&amp;(t!==void 0||$4(e.base_,r,e.type_)))return!0;Nf(e),xy(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),Gz(e,r,t)),!0},deleteProperty(e,r){return Nf(e),zg(e.base_,r)!==void 0||r in e.base_?(e.assigned_.set(r,!1),xy(e)):e.assigned_.delete(r),e.copy_&amp;&amp;delete e.copy_[r],!0},getOwnPropertyDescriptor(e,r){const t=Rs(e),n=Reflect.getOwnPropertyDescriptor(t,r);return n&amp;&amp;{[kf]:!0,[my]:e.type_!==1||r!==&quot;length&quot;,[eh]:n[eh],[au]:t[r]}},defineProperty(){Ki(11)},getPrototypeOf(e){return Al(e.base_)},setPrototypeOf(){Ki(12)}},lu={};for(let e in ih){let r=ih[e];lu[e]=function(){const t=arguments;return t[0]=t[0][0],r.apply(this,t)}}lu.deleteProperty=function(e,r){return lu.set.call(this,e,r,void 0)};lu.set=function(e,r,t){return ih.set.call(this,e[0],r,t,e[0])};function zg(e,r){const t=e[$n];return(t?Rs(t):e)[r]}function Zz(e,r,t){const n=MN(r,t);return n?au in n?n[au]:n.get?.call(e.draft_):void 0}function MN(e,r){if(!(r in e))return;let t=Al(e);for(;t;){const n=Object.getOwnPropertyDescriptor(t,r);if(n)return n;t=Al(t)}}function xy(e){e.modified_||(e.modified_=!0,e.parent_&amp;&amp;xy(e.parent_))}function Nf(e){e.copy_||(e.assigned_=new Map,e.copy_=gy(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Qz=class{constructor(r){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,n,o)=&gt;{if(vl(t)&amp;&amp;!vl(n)){const a=n;n=t;const u=this;return function(s=a,...c){return u.produce(s,m=&gt;n.call(this,m,...c))}}vl(n)||Ki(6),o!==void 0&amp;&amp;!vl(o)&amp;&amp;Ki(7);let i;if(ts(t)){const a=W4(this),u=wy(a,t,void 0);let l=!0;try{i=n(u),l=!1}finally{l?yy(a):by(a)}return q4(a,o),H4(i,a)}else if(!t||!ux(t)){if(i=n(t),i===void 0&amp;&amp;(i=t),i===jN&amp;&amp;(i=void 0),this.autoFreeze_&amp;&amp;fx(i,!0),o){const a=[],u=[];Co(vy).generateReplacementPatches_(t,i,{patches_:a,inversePatches_:u}),o(a,u)}return i}else Ki(1,t)},this.produceWithPatches=(t,n)=&gt;{if(vl(t))return(u,...l)=&gt;this.produceWithPatches(u,s=&gt;t(s,...l));let o,i;return[this.produce(t,n,(u,l)=&gt;{o=u,i=l}),o,i]},Bg(r?.autoFreeze)&amp;&amp;this.setAutoFreeze(r.autoFreeze),Bg(r?.useStrictShallowCopy)&amp;&amp;this.setUseStrictShallowCopy(r.useStrictShallowCopy),Bg(r?.useStrictIteration)&amp;&amp;this.setUseStrictIteration(r.useStrictIteration)}createDraft(r){ts(r)||Ki(8),Ws(r)&amp;&amp;(r=Zi(r));const t=W4(this),n=wy(t,r,void 0);return n[$n].isManual_=!0,by(t),n}finishDraft(r,t){const n=r&amp;&amp;r[$n];(!n||!n.isManual_)&amp;&amp;Ki(9);const{scope_:o}=n;return q4(o,t),H4(void 0,o)}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 o=Co(vy).applyPatches_;return Ws(r)?o(r,t):this.produce(r,i=&gt;o(i,t))}};function wy(e,r,t,n){const[o,i]=sm(r)?Co(rh).proxyMap_(r,t):am(r)?Co(rh).proxySet_(r,t):Yz(r,t);return(t?.scope_??NN()).drafts_.push(o),i.callbacks_=t?.callbacks_??[],i.key_=n,t&amp;&amp;n!==void 0?Xz(t,i,n):i.callbacks_.push(function(l){l.mapSetPlugin_?.fixSetContents(i);const{patchPlugin_:s}=l;i.modified_&amp;&amp;s&amp;&amp;s.generatePatches_(i,[],l)}),o}function Zi(e){return Ws(e)||Ki(10,e),ON(e)}function ON(e){if(!ts(e)||om(e))return e;const r=e[$n];let t,n=!0;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,t=gy(e,r.scope_.immer_.useStrictShallowCopy_),n=r.scope_.immer_.shouldUseStrictIteration()}else t=gy(e,!0);return nm(t,(o,i)=&gt;{th(t,o,ON(i))},n),r&amp;&amp;(r.finalized_=!1),t}var Jz=new Qz,TN=Jz.produce;function PN(e){return({dispatch:t,getState:n})=&gt;o=&gt;i=&gt;typeof i==&quot;function&quot;?i(t,n,e):o(i)}var e$=PN(),t$=PN,r$=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;?Qf:Qf.apply(null,arguments)};function Oi(e,r){function t(...n){if(r){let o=r(...n);if(!o)throw new Error(ci(0));return{type:e,payload:o.payload,...&quot;meta&quot;in o&amp;&amp;{meta:o.meta},...&quot;error&quot;in o&amp;&amp;{error:o.error}}}return{type:e,payload:n[0]}}return t.toString=()=&gt;`${e}`,t.type=e,t.match=n=&gt;_N(n)&amp;&amp;n.type===e,t}var IN=class $c extends Array{constructor(...r){super(...r),Object.setPrototypeOf(this,$c.prototype)}static get[Symbol.species](){return $c}concat(...r){return super.concat.apply(this,r)}prepend(...r){return r.length===1&amp;&amp;Array.isArray(r[0])?new $c(...r[0].concat(this)):new $c(...r.concat(this))}};function X4(e){return ts(e)?TN(e,()=&gt;{}):e}function nf(e,r,t){return e.has(r)?e.get(r):e.set(r,t(r)).get(r)}function n$(e){return typeof e==&quot;boolean&quot;}var i$=()=&gt;function(r){const{thunk:t=!0,immutableCheck:n=!0,serializableCheck:o=!0,actionCreatorCheck:i=!0}=r??{};let a=new IN;return t&amp;&amp;(n$(t)?a.push(e$):a.push(t$(t.extraArgument))),a},RN=&quot;RTK_autoBatch&quot;,wr=()=&gt;e=&gt;({payload:e,meta:{[RN]:!0}}),G4=e=&gt;r=&gt;{setTimeout(r,e)},DN=(e={type:&quot;raf&quot;})=&gt;r=&gt;(...t)=&gt;{const n=r(...t);let o=!0,i=!1,a=!1;const u=new Set,l=e.type===&quot;tick&quot;?queueMicrotask:e.type===&quot;raf&quot;?typeof window&lt;&quot;u&quot;&amp;&amp;window.requestAnimationFrame?window.requestAnimationFrame:G4(10):e.type===&quot;callback&quot;?e.queueNotification:G4(e.timeout),s=()=&gt;{a=!1,i&amp;&amp;(i=!1,u.forEach(c=&gt;c()))};return Object.assign({},n,{subscribe(c){const m=()=&gt;o&amp;&amp;c(),h=n.subscribe(m);return u.add(c),()=&gt;{h(),u.delete(c)}},dispatch(c){try{return o=!c?.meta?.[RN],i=!o,i&amp;&amp;(a||(a=!0,l(s))),n.dispatch(c)}finally{o=!0}}})},s$=e=&gt;function(t){const{autoBatch:n=!0}=t??{};let o=new IN(e);return n&amp;&amp;o.push(DN(typeof n==&quot;object&quot;?n:void 0)),o};function a$(e){const r=i$(),{reducer:t=void 0,middleware:n,devTools:o=!0,preloadedState:i=void 0,enhancers:a=void 0}=e||{};let u;if(typeof t==&quot;function&quot;)u=t;else if(cx(t))u=wN(t);else throw new Error(ci(1));let l;typeof n==&quot;function&quot;?l=n(r):l=r();let s=Qf;o&amp;&amp;(s=r$({trace:!1,...typeof o==&quot;object&quot;&amp;&amp;o}));const c=Bz(...l),m=s$(c);let h=typeof a==&quot;function&quot;?a(m):m();const d=s(...h);return xN(u,i,d)}function LN(e){const r={},t=[];let n;const o={addCase(i,a){const u=typeof i==&quot;string&quot;?i:i.type;if(!u)throw new Error(ci(28));if(u in r)throw new Error(ci(29));return r[u]=a,o},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}),o},addMatcher(i,a){return t.push({matcher:i,reducer:a}),o},addDefaultCase(i){return n=i,o}};return e(o),[r,t,n]}function o$(e){return typeof e==&quot;function&quot;}function l$(e,r){let[t,n,o]=LN(r),i;if(o$(e))i=()=&gt;X4(e());else{const u=X4(e);i=()=&gt;u}function a(u=i(),l){let s=[t[l.type],...n.filter(({matcher:c})=&gt;c(l)).map(({reducer:c})=&gt;c)];return s.filter(c=&gt;!!c).length===0&amp;&amp;(s=[o]),s.reduce((c,m)=&gt;{if(m)if(Ws(c)){const d=m(c,l);return d===void 0?c:d}else{if(ts(c))return TN(c,h=&gt;m(h,l));{const h=m(c,l);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 c$=&quot;ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW&quot;,u$=(e=21)=&gt;{let r=&quot;&quot;,t=e;for(;t--;)r+=c$[Math.random()*64|0];return r},d$=Symbol.for(&quot;rtk-slice-createasyncthunk&quot;);function f$(e,r){return`${e}/${r}`}function h$({creators:e}={}){const r=e?.asyncThunk?.[d$];return function(n){const{name:o,reducerPath:i=o}=n;if(!o)throw new Error(ci(11));const a=(typeof n.reducers==&quot;function&quot;?n.reducers(p$()):n.reducers)||{},u=Object.keys(a),l={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},s={addCase(_,E){const M=typeof _==&quot;string&quot;?_:_.type;if(!M)throw new Error(ci(12));if(M in l.sliceCaseReducersByType)throw new Error(ci(13));return l.sliceCaseReducersByType[M]=E,s},addMatcher(_,E){return l.sliceMatchers.push({matcher:_,reducer:E}),s},exposeAction(_,E){return l.actionCreators[_]=E,s},exposeCaseReducer(_,E){return l.sliceCaseReducersByName[_]=E,s}};u.forEach(_=&gt;{const E=a[_],M={reducerName:_,type:f$(o,_),createNotation:typeof n.reducers==&quot;function&quot;};v$(E)?b$(M,E,s,r):g$(M,E,s)});function c(){const[_={},E=[],M=void 0]=typeof n.extraReducers==&quot;function&quot;?LN(n.extraReducers):[n.extraReducers],D={..._,...l.sliceCaseReducersByType};return l$(n.initialState,W=&gt;{for(let L in D)W.addCase(L,D[L]);for(let L of l.sliceMatchers)W.addMatcher(L.matcher,L.reducer);for(let L of E)W.addMatcher(L.matcher,L.reducer);M&amp;&amp;W.addDefaultCase(M)})}const m=_=&gt;_,h=new Map,d=new WeakMap;let g;function y(_,E){return g||(g=c()),g(_,E)}function p(){return g||(g=c()),g.getInitialState()}function b(_,E=!1){function M(W){let L=W[_];return typeof L&gt;&quot;u&quot;&amp;&amp;E&amp;&amp;(L=nf(d,M,p)),L}function D(W=m){const L=nf(h,E,()=&gt;new WeakMap);return nf(L,W,()=&gt;{const V={};for(const[H,K]of Object.entries(n.selectors??{}))V[H]=m$(K,W,()=&gt;nf(d,W,p),E);return V})}return{reducerPath:_,getSelectors:D,get selectors(){return D(M)},selectSlice:M}}const x={name:o,reducer:y,actions:l.actionCreators,caseReducers:l.sliceCaseReducersByName,getInitialState:p,...b(i),injectInto(_,{reducerPath:E,...M}={}){const D=E??i;return _.inject({reducerPath:D,reducer:y},M),{...x,...b(D,!0)}}};return x}}function m$(e,r,t,n){function o(i,...a){let u=r(i);return typeof u&gt;&quot;u&quot;&amp;&amp;n&amp;&amp;(u=t()),e(u,...a)}return o.unwrapped=e,o}var ti=h$();function p$(){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 g$({type:e,reducerName:r,createNotation:t},n,o){let i,a;if(&quot;reducer&quot;in n){if(t&amp;&amp;!y$(n))throw new Error(ci(17));i=n.reducer,a=n.prepare}else i=n;o.addCase(e,i).exposeCaseReducer(r,i).exposeAction(r,a?Oi(e,a):Oi(e))}function v$(e){return e._reducerDefinitionType===&quot;asyncThunk&quot;}function y$(e){return e._reducerDefinitionType===&quot;reducerWithPrepare&quot;}function b$({type:e,reducerName:r},t,n,o){if(!o)throw new Error(ci(18));const{payloadCreator:i,fulfilled:a,pending:u,rejected:l,settled:s,options:c}=t,m=o(e,i,c);n.exposeAction(r,m),a&amp;&amp;n.addCase(m.fulfilled,a),u&amp;&amp;n.addCase(m.pending,u),l&amp;&amp;n.addCase(m.rejected,l),s&amp;&amp;n.addMatcher(m.settled,s),n.exposeCaseReducer(r,{fulfilled:a||sf,pending:u||sf,rejected:l||sf,settled:s||sf})}function sf(){}var x$=&quot;task&quot;,FN=&quot;listener&quot;,BN=&quot;completed&quot;,hx=&quot;cancelled&quot;,w$=`task-${hx}`,_$=`task-${BN}`,_y=`${FN}-${hx}`,j$=`${FN}-${BN}`,cm=class{constructor(e){this.code=e,this.message=`${x$} ${hx} (reason: ${e})`}name=&quot;TaskAbortError&quot;;message},mx=(e,r)=&gt;{if(typeof e!=&quot;function&quot;)throw new TypeError(ci(32))},sh=()=&gt;{},zN=(e,r=sh)=&gt;(e.catch(r),e),$N=(e,r)=&gt;(e.addEventListener(&quot;abort&quot;,r,{once:!0}),()=&gt;e.removeEventListener(&quot;abort&quot;,r)),wo=e=&gt;{if(e.aborted)throw new cm(e.reason)};function UN(e,r){let t=sh;return new Promise((n,o)=&gt;{const i=()=&gt;o(new cm(e.reason));if(e.aborted){i();return}t=$N(e,i),r.finally(()=&gt;t()).then(n,o)}).finally(()=&gt;{t=sh})}var S$=async(e,r)=&gt;{try{return await Promise.resolve(),{status:&quot;ok&quot;,value:await e()}}catch(t){return{status:t instanceof cm?&quot;cancelled&quot;:&quot;rejected&quot;,error:t}}finally{r?.()}},ah=e=&gt;r=&gt;zN(UN(e,r).then(t=&gt;(wo(e),t))),VN=e=&gt;{const r=ah(e);return t=&gt;r(new Promise(n=&gt;setTimeout(n,t)))},{assign:kl}=Object,Y4={},um=&quot;listenerMiddleware&quot;,k$=(e,r)=&gt;{const t=n=&gt;$N(e,()=&gt;n.abort(e.reason));return(n,o)=&gt;{mx(n);const i=new AbortController;t(i);const a=S$(async()=&gt;{wo(e),wo(i.signal);const u=await n({pause:ah(i.signal),delay:VN(i.signal),signal:i.signal});return wo(i.signal),u},()=&gt;i.abort(_$));return o?.autoJoin&amp;&amp;r.push(a.catch(sh)),{result:ah(e)(a),cancel(){i.abort(w$)}}}},N$=(e,r)=&gt;{const t=async(n,o)=&gt;{wo(r);let i=()=&gt;{};const u=[new Promise((l,s)=&gt;{let c=e({predicate:n,effect:(m,h)=&gt;{h.unsubscribe(),l([m,h.getState(),h.getOriginalState()])}});i=()=&gt;{c(),s()}})];o!=null&amp;&amp;u.push(new Promise(l=&gt;setTimeout(l,o,null)));try{const l=await UN(r,Promise.race(u));return wo(r),l}finally{i()}};return(n,o)=&gt;zN(t(n,o))},qN=e=&gt;{let{type:r,actionCreator:t,matcher:n,predicate:o,effect:i}=e;if(r)o=Oi(r).match;else if(t)r=t.type,o=t.match;else if(n)o=n;else if(!o)throw new Error(ci(21));return mx(i),{predicate:o,type:r,effect:i}},WN=kl(e=&gt;{const{type:r,predicate:t,effect:n}=qN(e);return{id:u$(),effect:n,type:r,predicate:t,pending:new Set,unsubscribe:()=&gt;{throw new Error(ci(22))}}},{withTypes:()=&gt;WN}),Z4=(e,r)=&gt;{const{type:t,effect:n,predicate:o}=qN(r);return Array.from(e.values()).find(i=&gt;(typeof t==&quot;string&quot;?i.type===t:i.predicate===o)&amp;&amp;i.effect===n)},jy=e=&gt;{e.pending.forEach(r=&gt;{r.abort(_y)})},C$=(e,r)=&gt;()=&gt;{for(const t of r.keys())jy(t);e.clear()},Q4=(e,r,t)=&gt;{try{e(r,t)}catch(n){setTimeout(()=&gt;{throw n},0)}},HN=kl(Oi(`${um}/add`),{withTypes:()=&gt;HN}),E$=Oi(`${um}/removeAll`),KN=kl(Oi(`${um}/remove`),{withTypes:()=&gt;KN}),A$=(...e)=&gt;{console.error(`${um}/error`,...e)},Au=(e={})=&gt;{const r=new Map,t=new Map,n=d=&gt;{const g=t.get(d)??0;t.set(d,g+1)},o=d=&gt;{const g=t.get(d)??1;g===1?t.delete(d):t.set(d,g-1)},{extra:i,onError:a=A$}=e;mx(a);const u=d=&gt;(d.unsubscribe=()=&gt;r.delete(d.id),r.set(d.id,d),g=&gt;{d.unsubscribe(),g?.cancelActive&amp;&amp;jy(d)}),l=d=&gt;{const g=Z4(r,d)??WN(d);return u(g)};kl(l,{withTypes:()=&gt;l});const s=d=&gt;{const g=Z4(r,d);return g&amp;&amp;(g.unsubscribe(),d.cancelActive&amp;&amp;jy(g)),!!g};kl(s,{withTypes:()=&gt;s});const c=async(d,g,y,p)=&gt;{const b=new AbortController,x=N$(l,b.signal),_=[];try{d.pending.add(b),n(d),await Promise.resolve(d.effect(g,kl({},y,{getOriginalState:p,condition:(E,M)=&gt;x(E,M).then(Boolean),take:x,delay:VN(b.signal),pause:ah(b.signal),extra:i,signal:b.signal,fork:k$(b.signal,_),unsubscribe:d.unsubscribe,subscribe:()=&gt;{r.set(d.id,d)},cancelActiveListeners:()=&gt;{d.pending.forEach((E,M,D)=&gt;{E!==b&amp;&amp;(E.abort(_y),D.delete(E))})},cancel:()=&gt;{b.abort(_y),d.pending.delete(b)},throwIfCancelled:()=&gt;{wo(b.signal)}})))}catch(E){E instanceof cm||Q4(a,E,{raisedBy:&quot;effect&quot;})}finally{await Promise.all(_),b.abort(j$),o(d),d.pending.delete(b)}},m=C$(r,t);return{middleware:d=&gt;g=&gt;y=&gt;{if(!_N(y))return g(y);if(HN.match(y))return l(y.payload);if(E$.match(y)){m();return}if(KN.match(y))return s(y.payload);let p=d.getState();const b=()=&gt;{if(p===Y4)throw new Error(ci(23));return p};let x;try{if(x=g(y),r.size&gt;0){const _=d.getState(),E=Array.from(r.values());for(const M of E){let D=!1;try{D=M.predicate(y,_,p)}catch(W){D=!1,Q4(a,W,{raisedBy:&quot;predicate&quot;})}D&amp;&amp;c(M,y,d,b)}}}finally{p=Y4}return x},startListening:l,stopListening:s,clearListeners:m}};function ci(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 M$={layoutType:&quot;horizontal&quot;,width:0,height:0,margin:{top:5,right:5,bottom:5,left:5},scale:1},XN=ti({name:&quot;chartLayout&quot;,initialState:M$,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,o,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=(o=r.payload.bottom)!==null&amp;&amp;o!==void 0?o:0,e.margin.left=(i=r.payload.left)!==null&amp;&amp;i!==void 0?i:0},setScale(e,r){e.scale=r.payload}}}),{setMargin:O$,setLayout:T$,setChartSize:P$,setScale:I$}=XN.actions,R$=XN.reducer;function GN(e,r,t){return Array.isArray(e)&amp;&amp;e&amp;&amp;r+t!==0?e.slice(r,t+1):e}function Er(e){return Number.isFinite(e)}function ws(e){return typeof e==&quot;number&quot;&amp;&amp;e&gt;0&amp;&amp;Number.isFinite(e)}function J4(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).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?J4(Object(t),!0).forEach(function(n){D$(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):J4(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function D$(e,r,t){return(r=L$(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function L$(e){var r=F$(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function F$(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 Ur(e,r,t){return jr(e)||jr(r)?t:xs(r)?El(e,r,t):typeof r==&quot;function&quot;?r(e):t}var B$=(e,r,t)=&gt;{if(r&amp;&amp;t){var{width:n,height:o}=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;dt(e[i]))return _l(_l({},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;dt(e[a]))return _l(_l({},e),{},{[a]:e[a]+(o||0)})}return e},za=(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;,YN=(e,r,t,n)=&gt;{if(n)return e.map(u=&gt;u.coordinate);var o,i,a=e.map(u=&gt;(u.coordinate===r&amp;&amp;(o=!0),u.coordinate===t&amp;&amp;(i=!0),u.coordinate));return o||a.push(r),i||a.push(t),a},ZN=(e,r,t)=&gt;{if(!e)return null;var{duplicateDomain:n,type:o,range:i,scale:a,realScaleType:u,isCategorical:l,categoricalDomain:s,tickCount:c,ticks:m,niceTicks:h,axisType:d}=e;if(!a)return null;var g=u===&quot;scaleBand&quot;&amp;&amp;a.bandwidth?a.bandwidth()/2:2,y=o===&quot;category&quot;&amp;&amp;a.bandwidth?a.bandwidth()/g:0;if(y=d===&quot;angleAxis&quot;&amp;&amp;i&amp;&amp;i.length&gt;=2?Qn(i[0]-i[1])*2*y:y,m||h){var p=(m||h||[]).map((b,x)=&gt;{var _=n?n.indexOf(b):b;return{coordinate:a(_)+y,value:b,offset:y,index:x}});return p.filter(b=&gt;!Ji(b.coordinate))}return l&amp;&amp;s?s.map((b,x)=&gt;({coordinate:a(b)+y,value:b,index:x,offset:y})):a.ticks&amp;&amp;c!=null?a.ticks(c).map((b,x)=&gt;({coordinate:a(b)+y,value:b,offset:y,index:x})):a.domain().map((b,x)=&gt;({coordinate:a(b)+y,value:n?n[b]:b,index:x,offset:y}))},e5=1e-4,z$=e=&gt;{var r=e.domain();if(!(!r||r.length&lt;=2)){var t=r.length,n=e.range(),o=Math.min(n[0],n[1])-e5,i=Math.max(n[0],n[1])+e5,a=e(r[0]),u=e(r[t-1]);(a&lt;o||a&gt;i||u&lt;o||u&gt;i)&amp;&amp;e.domain([r[0],r[t-1]])}},$$=(e,r)=&gt;{if(!r||r.length!==2||!dt(r[0])||!dt(r[1]))return e;var t=Math.min(r[0],r[1]),n=Math.max(r[0],r[1]),o=[e[0],e[1]];return(!dt(e[0])||e[0]&lt;t)&amp;&amp;(o[0]=t),(!dt(e[1])||e[1]&gt;n)&amp;&amp;(o[1]=n),o[0]&gt;n&amp;&amp;(o[0]=n),o[1]&lt;t&amp;&amp;(o[1]=t),o},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 o=0;o&lt;n;++o)for(var i=0,a=0,u=0;u&lt;t;++u){var l=e[u],s=l?.[o];if(s!=null){var c=s[1],m=s[0],h=Ji(c)?m:c;h&gt;=0?(s[0]=i,s[1]=i+h,i=c):(s[0]=a,s[1]=a+h,a=c)}}}},V$=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 o=0;o&lt;n;++o)for(var i=0,a=0;a&lt;t;++a){var u=e[a],l=u?.[o];if(l!=null){var s=Ji(l[1])?l[0]:l[1];s&gt;=0?(l[0]=i,l[1]=i+s,i=l[1]):(l[0]=0,l[1]=0)}}}},q$={sign:U$,expand:lB,none:No,silhouette:cB,wiggle:uB,positive:V$},W$=(e,r,t)=&gt;{var n,o=(n=q$[t])!==null&amp;&amp;n!==void 0?n:No,i=oB().keys(r).value((u,l)=&gt;Number(Ur(u,l,0))).order(fy).offset(o),a=i(e);return a.forEach((u,l)=&gt;{u.forEach((s,c)=&gt;{var m=Ur(e[c],r[l],0);Array.isArray(m)&amp;&amp;m.length===2&amp;&amp;dt(m[0])&amp;&amp;dt(m[1])&amp;&amp;(s[0]=m[0],s[1]=m[1])})}),a};function H$(e){return e==null?void 0:String(e)}function t5(e){var{axis:r,ticks:t,bandSize:n,entry:o,index:i,dataKey:a}=e;if(r.type===&quot;category&quot;){if(!r.allowDuplicatedCategory&amp;&amp;r.dataKey&amp;&amp;!jr(o[r.dataKey])){var u=nN(t,&quot;value&quot;,o[r.dataKey]);if(u)return u.coordinate+n/2}return t[i]?t[i].coordinate+n/2:null}var l=Ur(o,jr(a)?r.dataKey:a);return jr(l)?null:r.scale(l)}var r5=e=&gt;{var{axis:r,ticks:t,offset:n,bandSize:o,entry:i,index:a}=e;if(r.type===&quot;category&quot;)return t[a]?t[a].coordinate+n:null;var u=Ur(i,r.dataKey,r.scale.domain()[a]);return jr(u)?null:r.scale(u)-o/2+n},K$=e=&gt;{var{numericAxis:r}=e,t=r.scale.domain();if(r.type===&quot;number&quot;){var n=Math.min(t[0],t[1]),o=Math.max(t[0],t[1]);return n&lt;=0&amp;&amp;o&gt;=0?0:o&lt;0?o:n}return t[0]},X$=e=&gt;{var r=e.flat(2).filter(dt);return[Math.min(...r),Math.max(...r)]},G$=e=&gt;[e[0]===1/0?0:e[0],e[1]===-1/0?0:e[1]],Y$=(e,r,t)=&gt;{if(e!=null)return G$(Object.keys(e).reduce((n,o)=&gt;{var i=e[o];if(!i)return n;var{stackedData:a}=i,u=a.reduce((l,s)=&gt;{var c=GN(s,r,t),m=X$(c);return!Er(m[0])||!Er(m[1])?l:[Math.min(l[0],m[0]),Math.max(l[1],m[1])]},[1/0,-1/0]);return[Math.min(u[0],n[0]),Math.max(u[1],n[1])]},[1/0,-1/0]))},n5=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,i5=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Ml=(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 o=tm(r,c=&gt;c.coordinate),i=1/0,a=1,u=o.length;a&lt;u;a++){var l=o[a],s=o[a-1];i=Math.min((l?.coordinate||0)-(s?.coordinate||0),i)}return i===1/0?0:i}return t?void 0:0};function s5(e){var{tooltipEntrySettings:r,dataKey:t,payload:n,value:o,name:i}=e;return _l(_l({},r),{},{dataKey:t,payload:n,value:o,name:i})}function dm(e,r){if(e)return String(e);if(typeof r==&quot;string&quot;)return r}var Z$=(e,r)=&gt;{if(r===&quot;horizontal&quot;)return e.chartX;if(r===&quot;vertical&quot;)return e.chartY},Q$=(e,r)=&gt;r===&quot;centric&quot;?e.angle:e.radius,Qs=e=&gt;e.layout.width,Js=e=&gt;e.layout.height,J$=e=&gt;e.layout.scale,QN=e=&gt;e.layout.margin,fm=Ee(e=&gt;e.cartesianAxis.xAxis,e=&gt;Object.values(e)),hm=Ee(e=&gt;e.cartesianAxis.yAxis,e=&gt;Object.values(e)),eU=&quot;data-recharts-item-index&quot;,tU=&quot;data-recharts-item-id&quot;,Mu=60;function a5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function af(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?a5(Object(t),!0).forEach(function(n){rU(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function rU(e,r,t){return(r=nU(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function nU(e){var r=iU(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function iU(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 sU=e=&gt;e.brush.height;function aU(e){var r=hm(e);return r.reduce((t,n)=&gt;{if(n.orientation===&quot;left&quot;&amp;&amp;!n.mirror&amp;&amp;!n.hide){var o=typeof n.width==&quot;number&quot;?n.width:Mu;return t+o}return t},0)}function oU(e){var r=hm(e);return r.reduce((t,n)=&gt;{if(n.orientation===&quot;right&quot;&amp;&amp;!n.mirror&amp;&amp;!n.hide){var o=typeof n.width==&quot;number&quot;?n.width:Mu;return t+o}return t},0)}function lU(e){var r=fm(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 cU(e){var r=fm(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 un=Ee([Qs,Js,QN,sU,aU,oU,lU,cU,yN,Tz],(e,r,t,n,o,i,a,u,l,s)=&gt;{var c={left:(t.left||0)+o,right:(t.right||0)+i},m={top:(t.top||0)+a,bottom:(t.bottom||0)+u},h=af(af({},m),c),d=h.bottom;h.bottom+=n,h=B$(h,l,s);var g=e-h.left-h.right,y=r-h.top-h.bottom;return af(af({brushBottom:d},h),{},{width:Math.max(g,0),height:Math.max(y,0)})}),uU=Ee(un,e=&gt;({x:e.left,y:e.top,width:e.width,height:e.height})),px=Ee(Qs,Js,(e,r)=&gt;({x:0,y:0,width:e,height:r})),dU=q.createContext(null),On=()=&gt;q.useContext(dU)!=null,mm=e=&gt;e.brush,pm=Ee([mm,un,QN],(e,r,t)=&gt;({height:e.height,x:dt(e.x)?e.x:r.left,y:dt(e.y)?e.y:r.top+r.height+r.brushBottom-(t?.bottom||0),width:dt(e.width)?e.width:r.width})),$g={},Ug={},Vg={},o5;function fU(){return o5||(o5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t,n,{signal:o,edges:i}={}){let a,u=null;const l=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)},m=()=&gt;{s&amp;&amp;c(),y()};let h=null;const d=()=&gt;{h!=null&amp;&amp;clearTimeout(h),h=setTimeout(()=&gt;{h=null,m()},n)},g=()=&gt;{h!==null&amp;&amp;(clearTimeout(h),h=null)},y=()=&gt;{g(),a=void 0,u=null},p=()=&gt;{c()},b=function(...x){if(o?.aborted)return;a=this,u=x;const _=h==null;d(),l&amp;&amp;_&amp;&amp;c()};return b.schedule=d,b.cancel=y,b.flush=p,o?.addEventListener(&quot;abort&quot;,y,{once:!0}),b}e.debounce=r})(Vg)),Vg}var l5;function hU(){return l5||(l5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=fU();function t(n,o=0,i={}){typeof i!=&quot;object&quot;&amp;&amp;(i={});const{leading:a=!1,trailing:u=!0,maxWait:l}=i,s=Array(2);a&amp;&amp;(s[0]=&quot;leading&quot;),u&amp;&amp;(s[1]=&quot;trailing&quot;);let c,m=null;const h=r.debounce(function(...y){c=n.apply(this,y),m=null},o,{edges:s}),d=function(...y){return l!=null&amp;&amp;(m===null&amp;&amp;(m=Date.now()),Date.now()-m&gt;=l)?(c=n.apply(this,y),m=Date.now(),h.cancel(),h.schedule(),c):(h.apply(this,y),c)},g=()=&gt;(h.flush(),c);return d.cancel=h.cancel,d.flush=g,d}e.debounce=t})(Ug)),Ug}var c5;function mU(){return c5||(c5=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=hU();function t(n,o=0,i={}){const{leading:a=!0,trailing:u=!0}=i;return r.debounce(n,o,{leading:a,maxWait:o,trailing:u})}e.throttle=t})($g)),$g}var qg,u5;function pU(){return u5||(u5=1,qg=mU().throttle),qg}var gU=pU();const vU=rs(gU);var oh=function(r,t){for(var n=arguments.length,o=new Array(n&gt;2?n-2:0),i=2;i&lt;n;i++)o[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;o[a++]))}},JN=(e,r,t)=&gt;{var{width:n=&quot;100%&quot;,height:o=&quot;100%&quot;,aspect:i,maxHeight:a}=t,u=qs(n)?e:Number(n),l=qs(o)?r:Number(o);return i&amp;&amp;i&gt;0&amp;&amp;(u?l=u/i:l&amp;&amp;(u=l*i),a&amp;&amp;l!=null&amp;&amp;l&gt;a&amp;&amp;(l=a)),{calculatedWidth:u,calculatedHeight:l}},yU={width:0,height:0,overflow:&quot;visible&quot;},bU={width:0,overflowX:&quot;visible&quot;},xU={height:0,overflowY:&quot;visible&quot;},wU={},_U=e=&gt;{var{width:r,height:t}=e,n=qs(r),o=qs(t);return n&amp;&amp;o?yU:n?bU:o?xU:wU};function jU(e){var{width:r,height:t,aspect:n}=e,o=r,i=t;return o===void 0&amp;&amp;i===void 0?(o=&quot;100%&quot;,i=&quot;100%&quot;):o===void 0?o=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:o,height:i}}function Sy(){return Sy=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},Sy.apply(null,arguments)}function d5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function f5(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?d5(Object(t),!0).forEach(function(n){SU(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):d5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function SU(e,r,t){return(r=kU(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function kU(e){var r=NU(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function NU(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 eC=q.createContext({width:-1,height:-1});function CU(e){return ws(e.width)&amp;&amp;ws(e.height)}function tC(e){var{children:r,width:t,height:n}=e,o=q.useMemo(()=&gt;({width:t,height:n}),[t,n]);return CU(o)?q.createElement(eC.Provider,{value:o},r):null}var gx=()=&gt;q.useContext(eC),EU=q.forwardRef((e,r)=&gt;{var{aspect:t,initialDimension:n={width:-1,height:-1},width:o,height:i,minWidth:a=0,minHeight:u,maxHeight:l,children:s,debounce:c=0,id:m,className:h,onResize:d,style:g={}}=e,y=q.useRef(null),p=q.useRef();p.current=d,q.useImperativeHandle(r,()=&gt;y.current);var[b,x]=q.useState({containerWidth:n.width,containerHeight:n.height}),_=q.useCallback((L,V)=&gt;{x(H=&gt;{var K=Math.round(L),z=Math.round(V);return H.containerWidth===K&amp;&amp;H.containerHeight===z?H:{containerWidth:K,containerHeight:z}})},[]);q.useEffect(()=&gt;{if(y.current==null||typeof ResizeObserver&gt;&quot;u&quot;)return Cu;var L=z=&gt;{var O,{width:I,height:C}=z[0].contentRect;_(I,C),(O=p.current)===null||O===void 0||O.call(p,I,C)};c&gt;0&amp;&amp;(L=vU(L,c,{trailing:!0,leading:!1}));var V=new ResizeObserver(L),{width:H,height:K}=y.current.getBoundingClientRect();return _(H,K),V.observe(y.current),()=&gt;{V.disconnect()}},[_,c]);var{containerWidth:E,containerHeight:M}=b;oh(!t||t&gt;0,&quot;The aspect(%s) must be greater than zero.&quot;,t);var{calculatedWidth:D,calculatedHeight:W}=JN(E,M,{width:o,height:i,aspect:t,maxHeight:l});return oh(D!=null&amp;&amp;D&gt;0||W!=null&amp;&amp;W&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.`,D,W,o,i,a,u,t),q.createElement(&quot;div&quot;,{id:m?&quot;&quot;.concat(m):void 0,className:or(&quot;recharts-responsive-container&quot;,h),style:f5(f5({},g),{},{width:o,height:i,minWidth:a,minHeight:u,maxHeight:l}),ref:y},q.createElement(&quot;div&quot;,{style:_U({width:o,height:i})},q.createElement(tC,{width:D,height:W},s)))}),Wg=q.forwardRef((e,r)=&gt;{var t=gx();if(ws(t.width)&amp;&amp;ws(t.height))return e.children;var{width:n,height:o}=jU({width:e.width,height:e.height,aspect:e.aspect}),{calculatedWidth:i,calculatedHeight:a}=JN(void 0,void 0,{width:n,height:o,aspect:e.aspect,maxHeight:e.maxHeight});return dt(i)&amp;&amp;dt(a)?q.createElement(tC,{width:i,height:a},e.children):q.createElement(EU,Sy({},e,{width:n,height:o,ref:r}))});function rC(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 gm=()=&gt;{var e,r=On(),t=bt(uU),n=bt(pm),o=(e=bt(mm))===null||e===void 0?void 0:e.padding;return!r||!n||!o?t:{width:n.width-o.left-o.right,height:n.height-o.top-o.bottom,x:o.left,y:o.top}},AU={top:0,bottom:0,left:0,right:0,width:0,height:0,brushBottom:0},nC=()=&gt;{var e;return(e=bt(un))!==null&amp;&amp;e!==void 0?e:AU},vx=()=&gt;bt(Qs),yx=()=&gt;bt(Js),MU=()=&gt;bt(e=&gt;e.layout.margin),ir=e=&gt;e.layout.layoutType,Ul=()=&gt;bt(ir),OU=()=&gt;{var e=Ul();return e!==void 0},vm=e=&gt;{var r=Ar(),t=On(),{width:n,height:o}=e,i=gx(),a=n,u=o;return i&amp;&amp;(a=i.width&gt;0?i.width:n,u=i.height&gt;0?i.height:o),q.useEffect(()=&gt;{!t&amp;&amp;ws(a)&amp;&amp;ws(u)&amp;&amp;r(P$({width:a,height:u}))},[r,t,a,u]),null},iC=Symbol.for(&quot;immer-nothing&quot;),h5=Symbol.for(&quot;immer-draftable&quot;),ui=Symbol.for(&quot;immer-state&quot;);function Xi(e,...r){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var cu=Object.getPrototypeOf;function Ol(e){return!!e&amp;&amp;!!e[ui]}function Eo(e){return e?sC(e)||Array.isArray(e)||!!e[h5]||!!e.constructor?.[h5]||Ou(e)||bm(e):!1}var TU=Object.prototype.constructor.toString(),m5=new WeakMap;function sC(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=m5.get(t);return n===void 0&amp;&amp;(n=Function.toString.call(t),m5.set(t,n)),n===TU}function lh(e,r,t=!0){ym(e)===0?(t?Reflect.ownKeys(e):Object.keys(e)).forEach(o=&gt;{r(o,e[o],e)}):e.forEach((n,o)=&gt;r(o,n,e))}function ym(e){const r=e[ui];return r?r.type_:Array.isArray(e)?1:Ou(e)?2:bm(e)?3:0}function ky(e,r){return ym(e)===2?e.has(r):Object.prototype.hasOwnProperty.call(e,r)}function aC(e,r,t){const n=ym(e);n===2?e.set(r,t):n===3?e.add(t):e[r]=t}function PU(e,r){return e===r?e!==0||1/e===1/r:e!==e&amp;&amp;r!==r}function Ou(e){return e instanceof Map}function bm(e){return e instanceof Set}function uo(e){return e.copy_||e.base_}function Ny(e,r){if(Ou(e))return new Map(e);if(bm(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const t=sC(e);if(r===!0||r===&quot;class_only&quot;&amp;&amp;!t){const n=Object.getOwnPropertyDescriptors(e);delete n[ui];let o=Reflect.ownKeys(n);for(let i=0;i&lt;o.length;i++){const a=o[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(cu(e),n)}else{const n=cu(e);if(n!==null&amp;&amp;t)return{...e};const o=Object.create(n);return Object.assign(o,e)}}function bx(e,r=!1){return xm(e)||Ol(e)||!Eo(e)||(ym(e)&gt;1&amp;&amp;Object.defineProperties(e,{set:of,add:of,clear:of,delete:of}),Object.freeze(e),r&amp;&amp;Object.values(e).forEach(t=&gt;bx(t,!0))),e}function IU(){Xi(2)}var of={value:IU};function xm(e){return e===null||typeof e!=&quot;object&quot;?!0:Object.isFrozen(e)}var RU={};function Ao(e){const r=RU[e];return r||Xi(0,e),r}var uu;function oC(){return uu}function DU(e,r){return{drafts_:[],parent_:e,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function p5(e,r){r&amp;&amp;(Ao(&quot;Patches&quot;),e.patches_=[],e.inversePatches_=[],e.patchListener_=r)}function Cy(e){Ey(e),e.drafts_.forEach(LU),e.drafts_=null}function Ey(e){e===uu&amp;&amp;(uu=e.parent_)}function g5(e){return uu=DU(uu,e)}function LU(e){const r=e[ui];r.type_===0||r.type_===1?r.revoke_():r.revoked_=!0}function v5(e,r){r.unfinalizedDrafts_=r.drafts_.length;const t=r.drafts_[0];return e!==void 0&amp;&amp;e!==t?(t[ui].modified_&amp;&amp;(Cy(r),Xi(4)),Eo(e)&amp;&amp;(e=ch(r,e),r.parent_||uh(r,e)),r.patches_&amp;&amp;Ao(&quot;Patches&quot;).generateReplacementPatches_(t[ui].base_,e,r.patches_,r.inversePatches_)):e=ch(r,t,[]),Cy(r),r.patches_&amp;&amp;r.patchListener_(r.patches_,r.inversePatches_),e!==iC?e:void 0}function ch(e,r,t){if(xm(r))return r;const n=e.immer_.shouldUseStrictIteration(),o=r[ui];if(!o)return lh(r,(i,a)=&gt;y5(e,o,r,i,a,t),n),r;if(o.scope_!==e)return r;if(!o.modified_)return uh(e,o.base_,!0),o.base_;if(!o.finalized_){o.finalized_=!0,o.scope_.unfinalizedDrafts_--;const i=o.copy_;let a=i,u=!1;o.type_===3&amp;&amp;(a=new Set(i),i.clear(),u=!0),lh(a,(l,s)=&gt;y5(e,o,i,l,s,t,u),n),uh(e,i,!1),t&amp;&amp;e.patches_&amp;&amp;Ao(&quot;Patches&quot;).generatePatches_(o,t,e.patches_,e.inversePatches_)}return o.copy_}function y5(e,r,t,n,o,i,a){if(o==null||typeof o!=&quot;object&quot;&amp;&amp;!a)return;const u=xm(o);if(!(u&amp;&amp;!a)){if(Ol(o)){const l=i&amp;&amp;r&amp;&amp;r.type_!==3&amp;&amp;!ky(r.assigned_,n)?i.concat(n):void 0,s=ch(e,o,l);if(aC(t,n,s),Ol(s))e.canAutoFreeze_=!1;else return}else a&amp;&amp;t.add(o);if(Eo(o)&amp;&amp;!u){if(!e.immer_.autoFreeze_&amp;&amp;e.unfinalizedDrafts_&lt;1||r&amp;&amp;r.base_&amp;&amp;r.base_[n]===o&amp;&amp;u)return;ch(e,o),(!r||!r.scope_.parent_)&amp;&amp;typeof n!=&quot;symbol&quot;&amp;&amp;(Ou(t)?t.has(n):Object.prototype.propertyIsEnumerable.call(t,n))&amp;&amp;uh(e,o)}}}function uh(e,r,t=!1){!e.parent_&amp;&amp;e.immer_.autoFreeze_&amp;&amp;e.canAutoFreeze_&amp;&amp;bx(r,t)}function FU(e,r){const t=Array.isArray(e),n={type_:t?1:0,scope_:r?r.scope_:oC(),modified_:!1,finalized_:!1,assigned_:{},parent_:r,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=n,i=xx;t&amp;&amp;(o=[n],i=du);const{revoke:a,proxy:u}=Proxy.revocable(o,i);return n.draft_=u,n.revoke_=a,u}var xx={get(e,r){if(r===ui)return e;const t=uo(e);if(!ky(t,r))return BU(e,t,r);const n=t[r];return e.finalized_||!Eo(n)?n:n===Hg(e.base_,r)?(Kg(e),e.copy_[r]=My(n,e)):n},has(e,r){return r in uo(e)},ownKeys(e){return Reflect.ownKeys(uo(e))},set(e,r,t){const n=lC(uo(e),r);if(n?.set)return n.set.call(e.draft_,t),!0;if(!e.modified_){const o=Hg(uo(e),r),i=o?.[ui];if(i&amp;&amp;i.base_===t)return e.copy_[r]=t,e.assigned_[r]=!1,!0;if(PU(t,o)&amp;&amp;(t!==void 0||ky(e.base_,r)))return!0;Kg(e),Ay(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 Hg(e.base_,r)!==void 0||r in e.base_?(e.assigned_[r]=!1,Kg(e),Ay(e)):delete e.assigned_[r],e.copy_&amp;&amp;delete e.copy_[r],!0},getOwnPropertyDescriptor(e,r){const t=uo(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(){Xi(11)},getPrototypeOf(e){return cu(e.base_)},setPrototypeOf(){Xi(12)}},du={};lh(xx,(e,r)=&gt;{du[e]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}});du.deleteProperty=function(e,r){return du.set.call(this,e,r,void 0)};du.set=function(e,r,t){return xx.set.call(this,e[0],r,t,e[0])};function Hg(e,r){const t=e[ui];return(t?uo(t):e)[r]}function BU(e,r,t){const n=lC(r,t);return n?&quot;value&quot;in n?n.value:n.get?.call(e.draft_):void 0}function lC(e,r){if(!(r in e))return;let t=cu(e);for(;t;){const n=Object.getOwnPropertyDescriptor(t,r);if(n)return n;t=cu(t)}}function Ay(e){e.modified_||(e.modified_=!0,e.parent_&amp;&amp;Ay(e.parent_))}function Kg(e){e.copy_||(e.copy_=Ny(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var zU=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(l=i,...s){return a.produce(l,c=&gt;t.call(this,c,...s))}}typeof t!=&quot;function&quot;&amp;&amp;Xi(6),n!==void 0&amp;&amp;typeof n!=&quot;function&quot;&amp;&amp;Xi(7);let o;if(Eo(r)){const i=g5(this),a=My(r,void 0);let u=!0;try{o=t(a),u=!1}finally{u?Cy(i):Ey(i)}return p5(i,n),v5(o,i)}else if(!r||typeof r!=&quot;object&quot;){if(o=t(r),o===void 0&amp;&amp;(o=r),o===iC&amp;&amp;(o=void 0),this.autoFreeze_&amp;&amp;bx(o,!0),n){const i=[],a=[];Ao(&quot;Patches&quot;).generateReplacementPatches_(r,o,i,a),n(i,a)}return o}else Xi(1,r)},this.produceWithPatches=(r,t)=&gt;{if(typeof r==&quot;function&quot;)return(a,...u)=&gt;this.produceWithPatches(a,l=&gt;r(l,...u));let n,o;return[this.produce(r,t,(a,u)=&gt;{n=a,o=u}),n,o]},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){Eo(e)||Xi(8),Ol(e)&amp;&amp;(e=$U(e));const r=g5(this),t=My(e,void 0);return t[ui].isManual_=!0,Ey(r),t}finishDraft(e,r){const t=e&amp;&amp;e[ui];(!t||!t.isManual_)&amp;&amp;Xi(9);const{scope_:n}=t;return p5(n,r),v5(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 o=r[t];if(o.path.length===0&amp;&amp;o.op===&quot;replace&quot;){e=o.value;break}}t&gt;-1&amp;&amp;(r=r.slice(t+1));const n=Ao(&quot;Patches&quot;).applyPatches_;return Ol(e)?n(e,r):this.produce(e,o=&gt;n(o,r))}};function My(e,r){const t=Ou(e)?Ao(&quot;MapSet&quot;).proxyMap_(e,r):bm(e)?Ao(&quot;MapSet&quot;).proxySet_(e,r):FU(e,r);return(r?r.scope_:oC()).drafts_.push(t),t}function $U(e){return Ol(e)||Xi(10,e),cC(e)}function cC(e){if(!Eo(e)||xm(e))return e;const r=e[ui];let t,n=!0;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,t=Ny(e,r.scope_.immer_.useStrictShallowCopy_),n=r.scope_.immer_.shouldUseStrictIteration()}else t=Ny(e,!0);return lh(t,(o,i)=&gt;{aC(t,o,cC(i))},n),r&amp;&amp;(r.finalized_=!1),t}var UU=new zU;UU.produce;var VU={settings:{layout:&quot;horizontal&quot;,align:&quot;center&quot;,verticalAlign:&quot;middle&quot;,itemSorter:&quot;value&quot;},size:{width:0,height:0},payload:[]},uC=ti({name:&quot;legend&quot;,initialState:VU,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:wr()},replaceLegendPayload:{reducer(e,r){var{prev:t,next:n}=r.payload,o=Zi(e).payload.indexOf(t);o&gt;-1&amp;&amp;(e.payload[o]=n)},prepare:wr()},removeLegendPayload:{reducer(e,r){var t=Zi(e).payload.indexOf(r.payload);t&gt;-1&amp;&amp;e.payload.splice(t,1)},prepare:wr()}}}),{setLegendSize:b5,setLegendSettings:qU,addLegendPayload:WU,replaceLegendPayload:HU,removeLegendPayload:KU}=uC.actions,XU=uC.reducer,GU=[&quot;contextPayload&quot;];function Oy(){return Oy=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},Oy.apply(null,arguments)}function x5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Tl(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?x5(Object(t),!0).forEach(function(n){YU(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):x5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function YU(e,r,t){return(r=ZU(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function ZU(e){var r=QU(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function QU(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 JU(e,r){if(e==null)return{};var t,n,o=eV(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;(o[t]=e[t])}return o}function eV(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 tV(e){return e.value}function rV(e){var{contextPayload:r}=e,t=JU(e,GU),n=mN(r,e.payloadUniqBy,tV),o=Tl(Tl({},t),{},{payload:n});return q.isValidElement(e.content)?q.cloneElement(e.content,o):typeof e.content==&quot;function&quot;?q.createElement(e.content,o):q.createElement(zB,o)}function nV(e,r,t,n,o,i){var{layout:a,align:u,verticalAlign:l}=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;(l===&quot;middle&quot;?c={top:((o||0)-i.height)/2}:c=l===&quot;bottom&quot;?{bottom:t&amp;&amp;t.bottom||0}:{top:t&amp;&amp;t.top||0}),Tl(Tl({},s),c)}function iV(e){var r=Ar();return q.useEffect(()=&gt;{r(qU(e))},[r,e]),null}function sV(e){var r=Ar();return q.useEffect(()=&gt;(r(b5(e)),()=&gt;{r(b5({width:0,height:0}))}),[r,e]),null}function aV(e,r,t,n){return e===&quot;vertical&quot;&amp;&amp;dt(r)?{height:r}:e===&quot;horizontal&quot;?{width:t||n}:null}var oV={align:&quot;center&quot;,iconSize:14,itemSorter:&quot;value&quot;,layout:&quot;horizontal&quot;,verticalAlign:&quot;bottom&quot;};function Cf(e){var r=xn(e,oV),t=Rz(),n=OF(),o=MU(),{width:i,height:a,wrapperStyle:u,portal:l}=r,[s,c]=bN([t]),m=vx(),h=yx();if(m==null||h==null)return null;var d=m-(o?.left||0)-(o?.right||0),g=aV(r.layout,a,i,d),y=l?u:Tl(Tl({position:&quot;absolute&quot;,width:g?.width||i||&quot;auto&quot;,height:g?.height||a||&quot;auto&quot;},nV(u,r,o,m,h,s)),u),p=l??n;if(p==null||t==null)return null;var b=q.createElement(&quot;div&quot;,{className:&quot;recharts-legend-wrapper&quot;,style:y,ref:c},q.createElement(iV,{layout:r.layout,align:r.align,verticalAlign:r.verticalAlign,itemSorter:r.itemSorter}),!l&amp;&amp;q.createElement(sV,{width:s.width,height:s.height}),q.createElement(rV,Oy({},r,g,{margin:o,chartWidth:m,chartHeight:h,contextPayload:t})));return cb.createPortal(b,p)}Cf.displayName=&quot;Legend&quot;;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)({}).hasOwnProperty.call(t,n)&amp;&amp;(e[n]=t[n])}return e},Ty.apply(null,arguments)}function w5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Xg(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?w5(Object(t),!0).forEach(function(n){lV(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function lV(e,r,t){return(r=cV(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function cV(e){var r=uV(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function uV(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 dV(e){return Array.isArray(e)&amp;&amp;xs(e[0])&amp;&amp;xs(e[1])?e.join(&quot; ~ &quot;):e}var fV=e=&gt;{var{separator:r=&quot; : &quot;,contentStyle:t={},itemStyle:n={},labelStyle:o={},payload:i,formatter:a,itemSorter:u,wrapperClassName:l,labelClassName:s,label:c,labelFormatter:m,accessibilityLayer:h=!1}=e,d=()=&gt;{if(i&amp;&amp;i.length){var M={padding:0,margin:0},D=(u?tm(i,u):i).map((W,L)=&gt;{if(W.type===&quot;none&quot;)return null;var V=W.formatter||a||dV,{value:H,name:K}=W,z=H,O=K;if(V){var I=V(H,K,W,L,i);if(Array.isArray(I))[z,O]=I;else if(I!=null)z=I;else return null}var C=Xg({display:&quot;block&quot;,paddingTop:4,paddingBottom:4,color:W.color||&quot;#000&quot;},n);return q.createElement(&quot;li&quot;,{className:&quot;recharts-tooltip-item&quot;,key:&quot;tooltip-item-&quot;.concat(L),style:C},xs(O)?q.createElement(&quot;span&quot;,{className:&quot;recharts-tooltip-item-name&quot;},O):null,xs(O)?q.createElement(&quot;span&quot;,{className:&quot;recharts-tooltip-item-separator&quot;},r):null,q.createElement(&quot;span&quot;,{className:&quot;recharts-tooltip-item-value&quot;},z),q.createElement(&quot;span&quot;,{className:&quot;recharts-tooltip-item-unit&quot;},W.unit||&quot;&quot;))});return q.createElement(&quot;ul&quot;,{className:&quot;recharts-tooltip-item-list&quot;,style:M},D)}return null},g=Xg({margin:0,padding:10,backgroundColor:&quot;#fff&quot;,border:&quot;1px solid #ccc&quot;,whiteSpace:&quot;nowrap&quot;},t),y=Xg({margin:0},o),p=!jr(c),b=p?c:&quot;&quot;,x=or(&quot;recharts-default-tooltip&quot;,l),_=or(&quot;recharts-tooltip-label&quot;,s);p&amp;&amp;m&amp;&amp;i!==void 0&amp;&amp;i!==null&amp;&amp;(b=m(c,i));var E=h?{role:&quot;status&quot;,&quot;aria-live&quot;:&quot;assertive&quot;}:{};return q.createElement(&quot;div&quot;,Ty({className:x,style:g},E),q.createElement(&quot;p&quot;,{className:_,style:y},q.isValidElement(b)?b:&quot;&quot;.concat(b)),d())},Ac=&quot;recharts-tooltip-wrapper&quot;,hV={visibility:&quot;hidden&quot;};function mV(e){var{coordinate:r,translateX:t,translateY:n}=e;return or(Ac,{[&quot;&quot;.concat(Ac,&quot;-right&quot;)]:dt(t)&amp;&amp;r&amp;&amp;dt(r.x)&amp;&amp;t&gt;=r.x,[&quot;&quot;.concat(Ac,&quot;-left&quot;)]:dt(t)&amp;&amp;r&amp;&amp;dt(r.x)&amp;&amp;t&lt;r.x,[&quot;&quot;.concat(Ac,&quot;-bottom&quot;)]:dt(n)&amp;&amp;r&amp;&amp;dt(r.y)&amp;&amp;n&gt;=r.y,[&quot;&quot;.concat(Ac,&quot;-top&quot;)]:dt(n)&amp;&amp;r&amp;&amp;dt(r.y)&amp;&amp;n&lt;r.y})}function _5(e){var{allowEscapeViewBox:r,coordinate:t,key:n,offsetTopLeft:o,position:i,reverseDirection:a,tooltipDimension:u,viewBox:l,viewBoxDimension:s}=e;if(i&amp;&amp;dt(i[n]))return i[n];var c=t[n]-u-(o&gt;0?o:0),m=t[n]+o;if(r[n])return a[n]?c:m;var h=l[n];if(h==null)return 0;if(a[n]){var d=c,g=h;return d&lt;g?Math.max(m,h):Math.max(c,h)}if(s==null)return 0;var y=m+u,p=h+s;return y&gt;p?Math.max(c,h):Math.max(m,h)}function pV(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 gV(e){var{allowEscapeViewBox:r,coordinate:t,offsetTopLeft:n,position:o,reverseDirection:i,tooltipBox:a,useTranslate3d:u,viewBox:l}=e,s,c,m;return a.height&gt;0&amp;&amp;a.width&gt;0&amp;&amp;t?(c=_5({allowEscapeViewBox:r,coordinate:t,key:&quot;x&quot;,offsetTopLeft:n,position:o,reverseDirection:i,tooltipDimension:a.width,viewBox:l,viewBoxDimension:l.width}),m=_5({allowEscapeViewBox:r,coordinate:t,key:&quot;y&quot;,offsetTopLeft:n,position:o,reverseDirection:i,tooltipDimension:a.height,viewBox:l,viewBoxDimension:l.height}),s=pV({translateX:c,translateY:m,useTranslate3d:u})):s=hV,{cssProperties:s,cssClasses:mV({translateX:c,translateY:m,coordinate:t})}}function j5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function lf(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){Py(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 Py(e,r,t){return(r=vV(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function vV(e){var r=yV(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function yV(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 bV extends q.PureComponent{constructor(){super(...arguments),Py(this,&quot;state&quot;,{dismissed:!1,dismissedAtCoordinate:{x:0,y:0}}),Py(this,&quot;handleKeyDown&quot;,r=&gt;{if(r.key===&quot;Escape&quot;){var t,n,o,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:(o=(i=this.props.coordinate)===null||i===void 0?void 0:i.y)!==null&amp;&amp;o!==void 0?o: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:o,children:i,coordinate:a,hasPayload:u,isAnimationActive:l,offset:s,position:c,reverseDirection:m,useTranslate3d:h,viewBox:d,wrapperStyle:g,lastBoundingBox:y,innerRef:p,hasPortalFromProps:b}=this.props,{cssClasses:x,cssProperties:_}=gV({allowEscapeViewBox:t,coordinate:a,offsetTopLeft:s,position:c,reverseDirection:m,tooltipBox:{height:y.height,width:y.width},useTranslate3d:h,viewBox:d}),E=b?{}:lf(lf({transition:l&amp;&amp;r?&quot;transform &quot;.concat(n,&quot;ms &quot;).concat(o):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}),M=lf(lf({},E),{},{visibility:!this.state.dismissed&amp;&amp;r&amp;&amp;u?&quot;visible&quot;:&quot;hidden&quot;},g);return q.createElement(&quot;div&quot;,{xmlns:&quot;http://www.w3.org/1999/xhtml&quot;,tabIndex:-1,className:x,style:M,ref:p},i)}}var dC=()=&gt;{var e;return(e=bt(r=&gt;r.rootProps.accessibilityLayer))!==null&amp;&amp;e!==void 0?e:!0};function Iy(){return Iy=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},Iy.apply(null,arguments)}function S5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function k5(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?S5(Object(t),!0).forEach(function(n){xV(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):S5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function xV(e,r,t){return(r=wV(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function wV(e){var r=_V(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function _V(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 N5={curveBasisClosed:YF,curveBasisOpen:ZF,curveBasis:GF,curveBumpX:RF,curveBumpY:DF,curveLinearClosed:QF,curveLinear:Qh,curveMonotoneX:JF,curveMonotoneY:eB,curveNatural:tB,curveStep:rB,curveStepAfter:iB,curveStepBefore:nB},dh=e=&gt;Er(e.x)&amp;&amp;Er(e.y),C5=e=&gt;e.base!=null&amp;&amp;dh(e.base)&amp;&amp;dh(e),Mc=e=&gt;e.x,Oc=e=&gt;e.y,jV=(e,r)=&gt;{if(typeof e==&quot;function&quot;)return e;var t=&quot;curve&quot;.concat(Nu(e));return(t===&quot;curveMonotone&quot;||t===&quot;curveBump&quot;)&amp;&amp;r?N5[&quot;&quot;.concat(t).concat(r===&quot;vertical&quot;?&quot;Y&quot;:&quot;X&quot;)]:N5[t]||Qh},SV=e=&gt;{var{type:r=&quot;linear&quot;,points:t=[],baseLine:n,layout:o,connectNulls:i=!1}=e,a=jV(r,o),u=i?t.filter(dh):t,l;if(Array.isArray(n)){var s=t.map((d,g)=&gt;k5(k5({},d),{},{base:n[g]}));o===&quot;vertical&quot;?l=Jd().y(Oc).x1(Mc).x0(d=&gt;d.base.x):l=Jd().x(Mc).y1(Oc).y0(d=&gt;d.base.y);var c=l.defined(C5).curve(a),m=i?s.filter(C5):s;return c(m)}o===&quot;vertical&quot;&amp;&amp;dt(n)?l=Jd().y(Oc).x1(Mc).x0(n):dt(n)?l=Jd().x(Mc).y1(Oc).y0(n):l=q8().x(Mc).y(Oc);var h=l.defined(dh).curve(a);return h(u)},fC=e=&gt;{var{className:r,points:t,path:n,pathRef:o}=e,i=Ul();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?SV(a):n;return q.createElement(&quot;path&quot;,Iy({},Qi(e),sx(e),{className:or(&quot;recharts-curve&quot;,r),d:u===null?void 0:u,ref:o}))},kV=[&quot;x&quot;,&quot;y&quot;,&quot;top&quot;,&quot;left&quot;,&quot;width&quot;,&quot;height&quot;,&quot;className&quot;];function Ry(){return Ry=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},Ry.apply(null,arguments)}function E5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function NV(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?E5(Object(t),!0).forEach(function(n){CV(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):E5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function CV(e,r,t){return(r=EV(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function EV(e){var r=AV(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function AV(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 MV(e,r){if(e==null)return{};var t,n,o=OV(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;(o[t]=e[t])}return o}function OV(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 TV=(e,r,t,n,o,i)=&gt;&quot;M&quot;.concat(e,&quot;,&quot;).concat(o,&quot;v&quot;).concat(n,&quot;M&quot;).concat(i,&quot;,&quot;).concat(r,&quot;h&quot;).concat(t),PV=e=&gt;{var{x:r=0,y:t=0,top:n=0,left:o=0,width:i=0,height:a=0,className:u}=e,l=MV(e,kV),s=NV({x:r,y:t,top:n,left:o,width:i,height:a},l);return!dt(r)||!dt(t)||!dt(i)||!dt(a)||!dt(n)||!dt(o)?null:q.createElement(&quot;path&quot;,Ry({},zn(s),{className:or(&quot;recharts-cross&quot;,u),d:TV(r,t,i,a,n,o)}))};function IV(e,r,t,n){var o=n/2;return{stroke:&quot;none&quot;,fill:&quot;#ccc&quot;,x:e===&quot;horizontal&quot;?r.x-o:t.left+.5,y:e===&quot;horizontal&quot;?t.top+.5:r.y-o,width:e===&quot;horizontal&quot;?n:t.width-1,height:e===&quot;horizontal&quot;?t.height-1:n}}function A5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function M5(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?A5(Object(t),!0).forEach(function(n){RV(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):A5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function RV(e,r,t){return(r=DV(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function DV(e){var r=LV(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function LV(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 FV=e=&gt;e.replace(/([A-Z])/g,r=&gt;&quot;-&quot;.concat(r.toLowerCase())),hC=(e,r,t)=&gt;e.map(n=&gt;&quot;&quot;.concat(FV(n),&quot; &quot;).concat(r,&quot;ms &quot;).concat(t)).join(&quot;,&quot;),BV=(e,r)=&gt;[Object.keys(e),Object.keys(r)].reduce((t,n)=&gt;t.filter(o=&gt;n.includes(o))),fu=(e,r)=&gt;Object.keys(r).reduce((t,n)=&gt;M5(M5({},t),{},{[n]:e(n,r[n])}),{});function O5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Kr(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?O5(Object(t),!0).forEach(function(n){zV(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):O5(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function zV(e,r,t){return(r=$V(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function $V(e){var r=UV(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function UV(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 fh=(e,r,t)=&gt;e+(r-e)*t,Dy=e=&gt;{var{from:r,to:t}=e;return r!==t},mC=(e,r,t)=&gt;{var n=fu((o,i)=&gt;{if(Dy(i)){var[a,u]=e(i.from,i.to,i.velocity);return Kr(Kr({},i),{},{from:a,velocity:u})}return i},r);return t&lt;1?fu((o,i)=&gt;Dy(i)&amp;&amp;n[o]!=null?Kr(Kr({},i),{},{velocity:fh(i.velocity,n[o].velocity,t),from:fh(i.from,n[o].from,t)}):i,r):mC(e,n,t-1)};function VV(e,r,t,n,o,i){var a,u=n.reduce((h,d)=&gt;Kr(Kr({},h),{},{[d]:{from:e[d],velocity:0,to:r[d]}}),{}),l=()=&gt;fu((h,d)=&gt;d.from,u),s=()=&gt;!Object.values(u).filter(Dy).length,c=null,m=h=&gt;{a||(a=h);var d=h-a,g=d/t.dt;u=mC(t,u,g),o(Kr(Kr(Kr({},e),r),l())),a=h,s()||(c=i.setTimeout(m))};return()=&gt;(c=i.setTimeout(m),()=&gt;{var h;(h=c)===null||h===void 0||h()})}function qV(e,r,t,n,o,i,a){var u=null,l=o.reduce((m,h)=&gt;{var d=e[h],g=r[h];return d==null||g==null?m:Kr(Kr({},m),{},{[h]:[d,g]})},{}),s,c=m=&gt;{s||(s=m);var h=(m-s)/n,d=fu((y,p)=&gt;fh(...p,t(h)),l);if(i(Kr(Kr(Kr({},e),r),d)),h&lt;1)u=a.setTimeout(c);else{var g=fu((y,p)=&gt;fh(...p,t(1)),l);i(Kr(Kr(Kr({},e),r),g))}};return()=&gt;(u=a.setTimeout(c),()=&gt;{var m;(m=u)===null||m===void 0||m()})}const WV=(e,r,t,n,o,i)=&gt;{var a=BV(e,r);return t==null?()=&gt;(o(Kr(Kr({},e),r)),()=&gt;{}):t.isStepper===!0?VV(e,r,t,a,o,i):qV(e,r,t,n,a,o,i)};var hh=1e-4,pC=(e,r)=&gt;[0,3*e,3*r-6*e,3*e-3*r+1],gC=(e,r)=&gt;e.map((t,n)=&gt;t*r**n).reduce((t,n)=&gt;t+n),T5=(e,r)=&gt;t=&gt;{var n=pC(e,r);return gC(n,t)},HV=(e,r)=&gt;t=&gt;{var n=pC(e,r),o=[...n.map((i,a)=&gt;i*a).slice(1),0];return gC(o,t)},KV=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 o=n.map(i=&gt;parseFloat(i));return[o[0],o[1],o[2],o[3]]},XV=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 o=KV(t[0]);if(o)return o}}return t.length===4?t:[0,0,1,1]},GV=(e,r,t,n)=&gt;{var o=T5(e,t),i=T5(r,n),a=HV(e,t),u=s=&gt;s&gt;1?1:s&lt;0?0:s,l=s=&gt;{for(var c=s&gt;1?1:s,m=c,h=0;h&lt;8;++h){var d=o(m)-c,g=a(m);if(Math.abs(d-c)&lt;hh||g&lt;hh)return i(m);m=u(m-d/g)}return i(m)};return l.isStepper=!1,l},P5=function(){return GV(...XV(...arguments))},YV=function(){var r=arguments.length&gt;0&amp;&amp;arguments[0]!==void 0?arguments[0]:{},{stiff:t=100,damping:n=8,dt:o=17}=r,i=(a,u,l)=&gt;{var s=-(a-u)*t,c=l*n,m=l+(s-c)*o/1e3,h=l*o/1e3+a;return Math.abs(h-u)&lt;hh&amp;&amp;Math.abs(m)&lt;hh?[u,0]:[h,m]};return i.isStepper=!0,i.dt=o,i},ZV=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 P5(e);case&quot;spring&quot;:return YV();default:if(e.split(&quot;(&quot;)[0]===&quot;cubic-bezier&quot;)return P5(e)}return typeof e==&quot;function&quot;?e:null};function QV(e){var r,t=()=&gt;null,n=!1,o=null,i=a=&gt;{if(!n){if(Array.isArray(a)){if(!a.length)return;var u=a,[l,...s]=u;if(typeof l==&quot;number&quot;){o=e.setTimeout(i.bind(null,s),l);return}i(l),o=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,o&amp;&amp;(o(),o=null),i(a)},subscribe:a=&gt;(t=a,()=&gt;{t=()=&gt;null}),getTimeoutController:()=&gt;e}}class JV{setTimeout(r){var t=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:0,n=performance.now(),o=null,i=a=&gt;{a-n&gt;=t?r(a):typeof requestAnimationFrame==&quot;function&quot;&amp;&amp;(o=requestAnimationFrame(i))};return o=requestAnimationFrame(i),()=&gt;{o!=null&amp;&amp;cancelAnimationFrame(o)}}}function eq(){return QV(new JV)}var tq=q.createContext(eq);function rq(e,r){var t=q.useContext(tq);return q.useMemo(()=&gt;r??t(e),[e,r,t])}var nq=()=&gt;!(typeof window&lt;&quot;u&quot;&amp;&amp;window.document&amp;&amp;window.document.createElement&amp;&amp;window.setTimeout),wm={isSsr:nq()},iq={begin:0,duration:1e3,easing:&quot;ease&quot;,isActive:!0,canBegin:!0,onAnimationEnd:()=&gt;{},onAnimationStart:()=&gt;{}},I5={t:0},Gg={t:1};function _m(e){var r=xn(e,iq),{isActive:t,canBegin:n,duration:o,easing:i,begin:a,onAnimationEnd:u,onAnimationStart:l,children:s}=r,c=t===&quot;auto&quot;?!wm.isSsr:t,m=rq(r.animationId,r.animationManager),[h,d]=q.useState(c?I5:Gg),g=q.useRef(null);return q.useEffect(()=&gt;{c||d(Gg)},[c]),q.useEffect(()=&gt;{if(!c||!n)return Cu;var y=WV(I5,Gg,ZV(i),o,d,m.getTimeoutController()),p=()=&gt;{g.current=y()};return m.start([l,a,p,o,u]),()=&gt;{m.stop(),g.current&amp;&amp;g.current(),u()}},[c,n,o,i,a,l,u,m]),s(h.t)}function jm(e){var r=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:&quot;animation-&quot;,t=q.useRef(su(r)),n=q.useRef(e);return n.current!==e&amp;&amp;(t.current=su(r),n.current=e),t.current}var sq=[&quot;radius&quot;],aq=[&quot;radius&quot;],R5,D5,L5,F5,B5,z5,$5,U5,V5,q5;function W5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function H5(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?W5(Object(t),!0).forEach(function(n){oq(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):W5(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 mh(){return mh=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},mh.apply(null,arguments)}function K5(e,r){if(e==null)return{};var t,n,o=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;(o[t]=e[t])}return o}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 hs(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var X5=(e,r,t,n,o)=&gt;{var i=Ea(t),a=Ea(n),u=Math.min(Math.abs(i)/2,Math.abs(a)/2),l=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,m;if(u&gt;0&amp;&amp;o instanceof Array){for(var h=[0,0,0,0],d=0,g=4;d&lt;g;d++)h[d]=o[d]&gt;u?u:o[d];m=Pr(R5||(R5=hs([&quot;M&quot;,&quot;,&quot;,&quot;&quot;])),e,r+l*h[0]),h[0]&gt;0&amp;&amp;(m+=Pr(D5||(D5=hs([&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)),m+=Pr(L5||(L5=hs([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t-s*h[1],r),h[1]&gt;0&amp;&amp;(m+=Pr(F5||(F5=hs([&quot;A &quot;,&quot;,&quot;,&quot;,0,0,&quot;,`,
        `,&quot;,&quot;,&quot;&quot;])),h[1],h[1],c,e+t,r+l*h[1])),m+=Pr(B5||(B5=hs([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t,r+n-l*h[2]),h[2]&gt;0&amp;&amp;(m+=Pr(z5||(z5=hs([&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)),m+=Pr($5||($5=hs([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+s*h[3],r+n),h[3]&gt;0&amp;&amp;(m+=Pr(U5||(U5=hs([&quot;A &quot;,&quot;,&quot;,&quot;,0,0,&quot;,`,
        `,&quot;,&quot;,&quot;&quot;])),h[3],h[3],c,e,r+n-l*h[3])),m+=&quot;Z&quot;}else if(u&gt;0&amp;&amp;o===+o&amp;&amp;o&gt;0){var y=Math.min(u,o);m=Pr(V5||(V5=hs([&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+l*y,y,y,c,e+s*y,r,e+t-s*y,r,y,y,c,e+t,r+l*y,e+t,r+n-l*y,y,y,c,e+t-s*y,r+n,e+s*y,r+n,y,y,c,e,r+n-l*y)}else m=Pr(q5||(q5=hs([&quot;M &quot;,&quot;,&quot;,&quot; h &quot;,&quot; v &quot;,&quot; h &quot;,&quot; Z&quot;])),e,r,t,n,-t);return m},G5={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:&quot;ease&quot;},vC=e=&gt;{var r=xn(e,G5),t=q.useRef(null),[n,o]=q.useState(-1);q.useEffect(()=&gt;{if(t.current&amp;&amp;t.current.getTotalLength)try{var k=t.current.getTotalLength();k&amp;&amp;o(k)}catch{}},[]);var{x:i,y:a,width:u,height:l,radius:s,className:c}=r,{animationEasing:m,animationDuration:h,animationBegin:d,isAnimationActive:g,isUpdateAnimationActive:y}=r,p=q.useRef(u),b=q.useRef(l),x=q.useRef(i),_=q.useRef(a),E=q.useMemo(()=&gt;({x:i,y:a,width:u,height:l,radius:s}),[i,a,u,l,s]),M=jm(E,&quot;rectangle-&quot;);if(i!==+i||a!==+a||u!==+u||l!==+l||u===0||l===0)return null;var D=or(&quot;recharts-rectangle&quot;,c);if(!y){var W=zn(r),{radius:L}=W,V=K5(W,sq);return q.createElement(&quot;path&quot;,mh({},V,{x:Ea(i),y:Ea(a),width:Ea(u),height:Ea(l),radius:typeof s==&quot;number&quot;?s:void 0,className:D,d:X5(i,a,u,l,s)}))}var H=p.current,K=b.current,z=x.current,O=_.current,I=&quot;0px &quot;.concat(n===-1?1:n,&quot;px&quot;),C=&quot;&quot;.concat(n,&quot;px 0px&quot;),j=hC([&quot;strokeDasharray&quot;],h,typeof m==&quot;string&quot;?m:G5.animationEasing);return q.createElement(_m,{animationId:M,key:M,canBegin:n&gt;0,duration:h,easing:m,isActive:y,begin:d},k=&gt;{var S=Ir(H,u,k),N=Ir(K,l,k),T=Ir(z,i,k),R=Ir(O,a,k);t.current&amp;&amp;(p.current=S,b.current=N,x.current=T,_.current=R);var B;g?k&gt;0?B={transition:j,strokeDasharray:C}:B={strokeDasharray:I}:B={strokeDasharray:C};var Y=zn(r),{radius:Q}=Y,ne=K5(Y,aq);return q.createElement(&quot;path&quot;,mh({},ne,{radius:typeof s==&quot;number&quot;?s:void 0,className:D,d:X5(T,R,S,N,s),ref:t,style:H5(H5({},B),r.style)}))})};function Y5(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Z5(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Y5(Object(t),!0).forEach(function(n){dq(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Y5(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)}var ph=Math.PI/180,mq=e=&gt;e*180/Math.PI,bn=(e,r,t,n)=&gt;({x:e+Math.cos(-ph*n)*t,y:r+Math.sin(-ph*n)*t}),pq=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},gq=(e,r)=&gt;{var{x:t,y:n}=e,{x:o,y:i}=r;return Math.sqrt((t-o)**2+(n-i)**2)},vq=(e,r)=&gt;{var{x:t,y:n}=e,{cx:o,cy:i}=r,a=gq({x:t,y:n},{x:o,y:i});if(a&lt;=0)return{radius:a,angle:0};var u=(t-o)/a,l=Math.acos(u);return n&gt;i&amp;&amp;(l=2*Math.PI-l),{radius:a,angle:mq(l),angleInRadian:l}},yq=e=&gt;{var{startAngle:r,endAngle:t}=e,n=Math.floor(r/360),o=Math.floor(t/360),i=Math.min(n,o);return{startAngle:r-i*360,endAngle:t-i*360}},bq=(e,r)=&gt;{var{startAngle:t,endAngle:n}=r,o=Math.floor(t/360),i=Math.floor(n/360),a=Math.min(o,i);return e+a*360},xq=(e,r)=&gt;{var{chartX:t,chartY:n}=e,{radius:o,angle:i}=vq({x:t,y:n},r),{innerRadius:a,outerRadius:u}=r;if(o&lt;a||o&gt;u||o===0)return null;var{startAngle:l,endAngle:s}=yq(r),c=i,m;if(l&lt;=s){for(;c&gt;s;)c-=360;for(;c&lt;l;)c+=360;m=c&gt;=l&amp;&amp;c&lt;=s}else{for(;c&gt;l;)c-=360;for(;c&lt;s;)c+=360;m=c&gt;=s&amp;&amp;c&lt;=l}return m?Z5(Z5({},r),{},{radius:o,angle:bq(c,r)}):null};function yC(e){var{cx:r,cy:t,radius:n,startAngle:o,endAngle:i}=e,a=bn(r,t,n,o),u=bn(r,t,n,i);return{points:[a,u],cx:r,cy:t,radius:n,startAngle:o,endAngle:i}}var Q5,J5,e6,t6,r6,n6,i6;function Ly(){return Ly=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},Ly.apply(null,arguments)}function go(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var wq=(e,r)=&gt;{var t=Qn(r-e),n=Math.min(Math.abs(r-e),359.999);return t*n},cf=e=&gt;{var{cx:r,cy:t,radius:n,angle:o,sign:i,isExternal:a,cornerRadius:u,cornerIsExternal:l}=e,s=u*(a?1:-1)+n,c=Math.asin(u/s)/ph,m=l?o:o+i*c,h=bn(r,t,s,m),d=bn(r,t,n,m),g=l?o-i*c:o,y=bn(r,t,s*Math.cos(c*ph),g);return{center:h,circleTangency:d,lineTangency:y,theta:c}},bC=e=&gt;{var{cx:r,cy:t,innerRadius:n,outerRadius:o,startAngle:i,endAngle:a}=e,u=wq(i,a),l=i+u,s=bn(r,t,o,i),c=bn(r,t,o,l),m=Pr(Q5||(Q5=go([&quot;M &quot;,&quot;,&quot;,`
    A `,&quot;,&quot;,`,0,
    `,&quot;,&quot;,`,
    `,&quot;,&quot;,`
  `])),s.x,s.y,o,o,+(Math.abs(u)&gt;180),+(i&gt;l),c.x,c.y);if(n&gt;0){var h=bn(r,t,n,i),d=bn(r,t,n,l);m+=Pr(J5||(J5=go([&quot;L &quot;,&quot;,&quot;,`
            A `,&quot;,&quot;,`,0,
            `,&quot;,&quot;,`,
            `,&quot;,&quot;,&quot; Z&quot;])),d.x,d.y,n,n,+(Math.abs(u)&gt;180),+(i&lt;=l),h.x,h.y)}else m+=Pr(e6||(e6=go([&quot;L &quot;,&quot;,&quot;,&quot; Z&quot;])),r,t);return m},_q=e=&gt;{var{cx:r,cy:t,innerRadius:n,outerRadius:o,cornerRadius:i,forceCornerRadius:a,cornerIsExternal:u,startAngle:l,endAngle:s}=e,c=Qn(s-l),{circleTangency:m,lineTangency:h,theta:d}=cf({cx:r,cy:t,radius:o,angle:l,sign:c,cornerRadius:i,cornerIsExternal:u}),{circleTangency:g,lineTangency:y,theta:p}=cf({cx:r,cy:t,radius:o,angle:s,sign:-c,cornerRadius:i,cornerIsExternal:u}),b=u?Math.abs(l-s):Math.abs(l-s)-d-p;if(b&lt;0)return a?Pr(t6||(t6=go([&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):bC({cx:r,cy:t,innerRadius:n,outerRadius:o,startAngle:l,endAngle:s});var x=Pr(r6||(r6=go([&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),m.x,m.y,o,o,+(b&gt;180),+(c&lt;0),g.x,g.y,i,i,+(c&lt;0),y.x,y.y);if(n&gt;0){var{circleTangency:_,lineTangency:E,theta:M}=cf({cx:r,cy:t,radius:n,angle:l,sign:c,isExternal:!0,cornerRadius:i,cornerIsExternal:u}),{circleTangency:D,lineTangency:W,theta:L}=cf({cx:r,cy:t,radius:n,angle:s,sign:-c,isExternal:!0,cornerRadius:i,cornerIsExternal:u}),V=u?Math.abs(l-s):Math.abs(l-s)-M-L;if(V&lt;0&amp;&amp;i===0)return&quot;&quot;.concat(x,&quot;L&quot;).concat(r,&quot;,&quot;).concat(t,&quot;Z&quot;);x+=Pr(n6||(n6=go([&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;])),W.x,W.y,i,i,+(c&lt;0),D.x,D.y,n,n,+(V&gt;180),+(c&gt;0),_.x,_.y,i,i,+(c&lt;0),E.x,E.y)}else x+=Pr(i6||(i6=go([&quot;L&quot;,&quot;,&quot;,&quot;Z&quot;])),r,t);return x},jq={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},xC=e=&gt;{var r=xn(e,jq),{cx:t,cy:n,innerRadius:o,outerRadius:i,cornerRadius:a,forceCornerRadius:u,cornerIsExternal:l,startAngle:s,endAngle:c,className:m}=r;if(i&lt;o||s===c)return null;var h=or(&quot;recharts-sector&quot;,m),d=i-o,g=es(a,d,0,!0),y;return g&gt;0&amp;&amp;Math.abs(s-c)&lt;360?y=_q({cx:t,cy:n,innerRadius:o,outerRadius:i,cornerRadius:Math.min(g,d/2),forceCornerRadius:u,cornerIsExternal:l,startAngle:s,endAngle:c}):y=bC({cx:t,cy:n,innerRadius:o,outerRadius:i,startAngle:s,endAngle:c}),q.createElement(&quot;path&quot;,Ly({},zn(r),{className:h,d:y}))};function Sq(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(sN(r)){if(e===&quot;centric&quot;){var{cx:n,cy:o,innerRadius:i,outerRadius:a,angle:u}=r,l=bn(n,o,i,u),s=bn(n,o,a,u);return[{x:l.x,y:l.y},{x:s.x,y:s.y}]}return yC(r)}}var Yg={},Zg={},Qg={},s6;function kq(){return s6||(s6=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=gN();function t(n){return r.isSymbol(n)?NaN:Number(n)}e.toNumber=t})(Qg)),Qg}var a6;function Nq(){return a6||(a6=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=kq();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})(Zg)),Zg}var o6;function Cq(){return o6||(o6=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=vN(),t=Nq();function n(o,i,a){a&amp;&amp;typeof a!=&quot;number&quot;&amp;&amp;r.isIterateeCall(o,i,a)&amp;&amp;(i=a=void 0),o=t.toFinite(o),i===void 0?(i=o,o=0):i=t.toFinite(i),a=a===void 0?o&lt;i?1:-1:t.toFinite(a);const u=Math.max(Math.ceil((i-o)/(a||1)),0),l=new Array(u);for(let s=0;s&lt;u;s++)l[s]=o,o+=a;return l}e.range=n})(Yg)),Yg}var Jg,l6;function Eq(){return l6||(l6=1,Jg=Cq().range),Jg}var Aq=Eq();const wC=rs(Aq);function Oa(e,r){return e==null||r==null?NaN:e&lt;r?-1:e&gt;r?1:e&gt;=r?0:NaN}function Mq(e,r){return e==null||r==null?NaN:r&lt;e?-1:r&gt;e?1:r&gt;=e?0:NaN}function wx(e){let r,t,n;e.length!==2?(r=Oa,t=(u,l)=&gt;Oa(e(u),l),n=(u,l)=&gt;e(u)-l):(r=e===Oa||e===Mq?e:Oq,t=e,n=e);function o(u,l,s=0,c=u.length){if(s&lt;c){if(r(l,l)!==0)return c;do{const m=s+c&gt;&gt;&gt;1;t(u[m],l)&lt;0?s=m+1:c=m}while(s&lt;c)}return s}function i(u,l,s=0,c=u.length){if(s&lt;c){if(r(l,l)!==0)return c;do{const m=s+c&gt;&gt;&gt;1;t(u[m],l)&lt;=0?s=m+1:c=m}while(s&lt;c)}return s}function a(u,l,s=0,c=u.length){const m=o(u,l,s,c-1);return m&gt;s&amp;&amp;n(u[m-1],l)&gt;-n(u[m],l)?m-1:m}return{left:o,center:a,right:i}}function Oq(){return 0}function _C(e){return e===null?NaN:+e}function*Tq(e,r){for(let t of e)t!=null&amp;&amp;(t=+t)&gt;=t&amp;&amp;(yield t)}const Pq=wx(Oa),Tu=Pq.right;wx(_C).center;class c6 extends Map{constructor(r,t=Dq){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),r!=null)for(const[n,o]of r)this.set(n,o)}get(r){return super.get(u6(this,r))}has(r){return super.has(u6(this,r))}set(r,t){return super.set(Iq(this,r),t)}delete(r){return super.delete(Rq(this,r))}}function u6({_intern:e,_key:r},t){const n=r(t);return e.has(n)?e.get(n):t}function Iq({_intern:e,_key:r},t){const n=r(t);return e.has(n)?e.get(n):(e.set(n,t),t)}function Rq({_intern:e,_key:r},t){const n=r(t);return e.has(n)&amp;&amp;(t=e.get(n),e.delete(n)),t}function Dq(e){return e!==null&amp;&amp;typeof e==&quot;object&quot;?e.valueOf():e}function Lq(e=Oa){if(e===Oa)return jC;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 jC(e,r){return(e==null||!(e&gt;=e))-(r==null||!(r&gt;=r))||(e&lt;r?-1:e&gt;r?1:0)}const Fq=Math.sqrt(50),Bq=Math.sqrt(10),zq=Math.sqrt(2);function gh(e,r,t){const n=(r-e)/Math.max(0,t),o=Math.floor(Math.log10(n)),i=n/Math.pow(10,o),a=i&gt;=Fq?10:i&gt;=Bq?5:i&gt;=zq?2:1;let u,l,s;return o&lt;0?(s=Math.pow(10,-o)/a,u=Math.round(e*s),l=Math.round(r*s),u/s&lt;e&amp;&amp;++u,l/s&gt;r&amp;&amp;--l,s=-s):(s=Math.pow(10,o)*a,u=Math.round(e/s),l=Math.round(r/s),u*s&lt;e&amp;&amp;++u,l*s&gt;r&amp;&amp;--l),l&lt;u&amp;&amp;.5&lt;=t&amp;&amp;t&lt;2?gh(e,r,t*2):[u,l,s]}function Fy(e,r,t){if(r=+r,e=+e,t=+t,!(t&gt;0))return[];if(e===r)return[e];const n=r&lt;e,[o,i,a]=n?gh(r,e,t):gh(e,r,t);if(!(i&gt;=o))return[];const u=i-o+1,l=new Array(u);if(n)if(a&lt;0)for(let s=0;s&lt;u;++s)l[s]=(i-s)/-a;else for(let s=0;s&lt;u;++s)l[s]=(i-s)*a;else if(a&lt;0)for(let s=0;s&lt;u;++s)l[s]=(o+s)/-a;else for(let s=0;s&lt;u;++s)l[s]=(o+s)*a;return l}function By(e,r,t){return r=+r,e=+e,t=+t,gh(e,r,t)[2]}function zy(e,r,t){r=+r,e=+e,t=+t;const n=r&lt;e,o=n?By(r,e,t):By(e,r,t);return(n?-1:1)*(o&lt;0?1/-o:o)}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 SC(e,r,t=0,n=1/0,o){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(o=o===void 0?jC:Lq(o);n&gt;t;){if(n-t&gt;600){const l=n-t+1,s=r-t+1,c=Math.log(l),m=.5*Math.exp(2*c/3),h=.5*Math.sqrt(c*m*(l-m)/l)*(s-l/2&lt;0?-1:1),d=Math.max(t,Math.floor(r-s*m/l+h)),g=Math.min(n,Math.floor(r+(l-s)*m/l+h));SC(e,r,d,g,o)}const i=e[r];let a=t,u=n;for(Tc(e,t,r),o(e[n],i)&gt;0&amp;&amp;Tc(e,t,n);a&lt;u;){for(Tc(e,a,u),++a,--u;o(e[a],i)&lt;0;)++a;for(;o(e[u],i)&gt;0;)--u}o(e[t],i)===0?Tc(e,t,u):(++u,Tc(e,u,n)),u&lt;=r&amp;&amp;(t=u+1),r&lt;=u&amp;&amp;(n=u-1)}return e}function Tc(e,r,t){const n=e[r];e[r]=e[t],e[t]=n}function $q(e,r,t){if(e=Float64Array.from(Tq(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,o=(n-1)*r,i=Math.floor(o),a=d6(SC(e,i).subarray(0,i+1)),u=f6(e.subarray(i+1));return a+(u-a)*(o-i)}}function Uq(e,r,t=_C){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,o=(n-1)*r,i=Math.floor(o),a=+t(e[i],i,e),u=+t(e[i+1],i+1,e);return a+(u-a)*(o-i)}}function Vq(e,r,t){e=+e,r=+r,t=(o=arguments.length)&lt;2?(r=e,e=0,1):o&lt;3?1:+t;for(var n=-1,o=Math.max(0,Math.ceil((r-e)/t))|0,i=new Array(o);++n&lt;o;)i[n]=e+n*t;return i}function Pi(e,r){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(r).domain(e);break}return this}function ea(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 $y=Symbol(&quot;implicit&quot;);function _x(){var e=new c6,r=[],t=[],n=$y;function o(i){let a=e.get(i);if(a===void 0){if(n!==$y)return n;e.set(i,a=r.push(i)-1)}return t[a%t.length]}return o.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 o},o.range=function(i){return arguments.length?(t=Array.from(i),o):t.slice()},o.unknown=function(i){return arguments.length?(n=i,o):n},o.copy=function(){return _x(r,t).unknown(n)},Pi.apply(o,arguments),o}function jx(){var e=_x().unknown(void 0),r=e.domain,t=e.range,n=0,o=1,i,a,u=!1,l=0,s=0,c=.5;delete e.unknown;function m(){var h=r().length,d=o&lt;n,g=d?o:n,y=d?n:o;i=(y-g)/Math.max(1,h-l+s*2),u&amp;&amp;(i=Math.floor(i)),g+=(y-g-i*(h-l))*c,a=i*(1-l),u&amp;&amp;(g=Math.round(g),a=Math.round(a));var p=Vq(h).map(function(b){return g+i*b});return t(d?p.reverse():p)}return e.domain=function(h){return arguments.length?(r(h),m()):r()},e.range=function(h){return arguments.length?([n,o]=h,n=+n,o=+o,m()):[n,o]},e.rangeRound=function(h){return[n,o]=h,n=+n,o=+o,u=!0,m()},e.bandwidth=function(){return a},e.step=function(){return i},e.round=function(h){return arguments.length?(u=!!h,m()):u},e.padding=function(h){return arguments.length?(l=Math.min(1,s=+h),m()):l},e.paddingInner=function(h){return arguments.length?(l=Math.min(1,h),m()):l},e.paddingOuter=function(h){return arguments.length?(s=+h,m()):s},e.align=function(h){return arguments.length?(c=Math.max(0,Math.min(1,h)),m()):c},e.copy=function(){return jx(r(),[n,o]).round(u).paddingInner(l).paddingOuter(s).align(c)},Pi.apply(m(),arguments)}function kC(e){var r=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return kC(r())},e}function qq(){return kC(jx.apply(null,arguments).paddingInner(1))}function Sx(e,r,t){e.prototype=r.prototype=t,t.constructor=e}function NC(e,r){var t=Object.create(e.prototype);for(var n in r)t[n]=r[n];return t}function Pu(){}var hu=.7,vh=1/hu,Nl=&quot;\\s*([+-]?\\d+)\\s*&quot;,mu=&quot;\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*&quot;,ys=&quot;\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*&quot;,Wq=/^#([0-9a-f]{3,8})$/,Hq=new RegExp(`^rgb\\(${Nl},${Nl},${Nl}\\)$`),Kq=new RegExp(`^rgb\\(${ys},${ys},${ys}\\)$`),Xq=new RegExp(`^rgba\\(${Nl},${Nl},${Nl},${mu}\\)$`),Gq=new RegExp(`^rgba\\(${ys},${ys},${ys},${mu}\\)$`),Yq=new RegExp(`^hsl\\(${mu},${ys},${ys}\\)$`),Zq=new RegExp(`^hsla\\(${mu},${ys},${ys},${mu}\\)$`),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};Sx(Pu,pu,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:m6,formatHex:m6,formatHex8:Qq,formatHsl:Jq,formatRgb:p6,toString:p6});function m6(){return this.rgb().formatHex()}function Qq(){return this.rgb().formatHex8()}function Jq(){return CC(this).formatHsl()}function p6(){return this.rgb().formatRgb()}function pu(e){var r,t;return e=(e+&quot;&quot;).trim().toLowerCase(),(r=Wq.exec(e))?(t=r[1].length,r=parseInt(r[1],16),t===6?g6(r):t===3?new Jn(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?uf(r&gt;&gt;24&amp;255,r&gt;&gt;16&amp;255,r&gt;&gt;8&amp;255,(r&amp;255)/255):t===4?uf(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=Hq.exec(e))?new Jn(r[1],r[2],r[3],1):(r=Kq.exec(e))?new Jn(r[1]*255/100,r[2]*255/100,r[3]*255/100,1):(r=Xq.exec(e))?uf(r[1],r[2],r[3],r[4]):(r=Gq.exec(e))?uf(r[1]*255/100,r[2]*255/100,r[3]*255/100,r[4]):(r=Yq.exec(e))?b6(r[1],r[2]/100,r[3]/100,1):(r=Zq.exec(e))?b6(r[1],r[2]/100,r[3]/100,r[4]):h6.hasOwnProperty(e)?g6(h6[e]):e===&quot;transparent&quot;?new Jn(NaN,NaN,NaN,0):null}function g6(e){return new Jn(e&gt;&gt;16&amp;255,e&gt;&gt;8&amp;255,e&amp;255,1)}function uf(e,r,t,n){return n&lt;=0&amp;&amp;(e=r=t=NaN),new Jn(e,r,t,n)}function eW(e){return e instanceof Pu||(e=pu(e)),e?(e=e.rgb(),new Jn(e.r,e.g,e.b,e.opacity)):new Jn}function Uy(e,r,t,n){return arguments.length===1?eW(e):new Jn(e,r,t,n??1)}function Jn(e,r,t,n){this.r=+e,this.g=+r,this.b=+t,this.opacity=+n}Sx(Jn,Uy,NC(Pu,{brighter(e){return e=e==null?vh:Math.pow(vh,e),new Jn(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?hu:Math.pow(hu,e),new Jn(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Jn(_o(this.r),_o(this.g),_o(this.b),yh(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:tW,formatRgb:y6,toString:y6}));function v6(){return`#${vo(this.r)}${vo(this.g)}${vo(this.b)}`}function tW(){return`#${vo(this.r)}${vo(this.g)}${vo(this.b)}${vo((isNaN(this.opacity)?1:this.opacity)*255)}`}function y6(){const e=yh(this.opacity);return`${e===1?&quot;rgb(&quot;:&quot;rgba(&quot;}${_o(this.r)}, ${_o(this.g)}, ${_o(this.b)}${e===1?&quot;)&quot;:`, ${e})`}`}function yh(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function _o(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function vo(e){return e=_o(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 Gi(e,r,t,n)}function CC(e){if(e instanceof Gi)return new Gi(e.h,e.s,e.l,e.opacity);if(e instanceof Pu||(e=pu(e)),!e)return new Gi;if(e instanceof Gi)return e;e=e.rgb();var r=e.r/255,t=e.g/255,n=e.b/255,o=Math.min(r,t,n),i=Math.max(r,t,n),a=NaN,u=i-o,l=(i+o)/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/=l&lt;.5?i+o:2-i-o,a*=60):u=l&gt;0&amp;&amp;l&lt;1?0:a,new Gi(a,u,l,e.opacity)}function rW(e,r,t,n){return arguments.length===1?CC(e):new Gi(e,r,t,n??1)}function Gi(e,r,t,n){this.h=+e,this.s=+r,this.l=+t,this.opacity=+n}Sx(Gi,rW,NC(Pu,{brighter(e){return e=e==null?vh:Math.pow(vh,e),new Gi(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?hu:Math.pow(hu,e),new Gi(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,o=2*t-n;return new Jn(ev(e&gt;=240?e-240:e+120,o,n),ev(e,o,n),ev(e&lt;120?e+240:e-120,o,n),this.opacity)},clamp(){return new Gi(x6(this.h),df(this.s),df(this.l),yh(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=yh(this.opacity);return`${e===1?&quot;hsl(&quot;:&quot;hsla(&quot;}${x6(this.h)}, ${df(this.s)*100}%, ${df(this.l)*100}%${e===1?&quot;)&quot;:`, ${e})`}`}}));function x6(e){return e=(e||0)%360,e&lt;0?e+360:e}function df(e){return Math.max(0,Math.min(1,e||0))}function ev(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 kx=e=&gt;()=&gt;e;function nW(e,r){return function(t){return e+t*r}}function iW(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 sW(e){return(e=+e)==1?EC:function(r,t){return t-r?iW(r,t,e):kx(isNaN(r)?t:r)}}function EC(e,r){var t=r-e;return t?nW(e,t):kx(isNaN(e)?r:e)}const w6=(function e(r){var t=sW(r);function n(o,i){var a=t((o=Uy(o)).r,(i=Uy(i)).r),u=t(o.g,i.g),l=t(o.b,i.b),s=EC(o.opacity,i.opacity);return function(c){return o.r=a(c),o.g=u(c),o.b=l(c),o.opacity=s(c),o+&quot;&quot;}}return n.gamma=e,n})(1);function aW(e,r){r||(r=[]);var t=e?Math.min(r.length,e.length):0,n=r.slice(),o;return function(i){for(o=0;o&lt;t;++o)n[o]=e[o]*(1-i)+r[o]*i;return n}}function oW(e){return ArrayBuffer.isView(e)&amp;&amp;!(e instanceof DataView)}function lW(e,r){var t=r?r.length:0,n=e?Math.min(t,e.length):0,o=new Array(n),i=new Array(t),a;for(a=0;a&lt;n;++a)o[a]=Vl(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]=o[a](u);return i}}function cW(e,r){var t=new Date;return e=+e,r=+r,function(n){return t.setTime(e*(1-n)+r*n),t}}function bh(e,r){return e=+e,r=+r,function(t){return e*(1-t)+r*t}}function uW(e,r){var t={},n={},o;(e===null||typeof e!=&quot;object&quot;)&amp;&amp;(e={}),(r===null||typeof r!=&quot;object&quot;)&amp;&amp;(r={});for(o in r)o in e?t[o]=Vl(e[o],r[o]):n[o]=r[o];return function(i){for(o in t)n[o]=t[o](i);return n}}var Vy=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,tv=new RegExp(Vy.source,&quot;g&quot;);function dW(e){return function(){return e}}function fW(e){return function(r){return e(r)+&quot;&quot;}}function hW(e,r){var t=Vy.lastIndex=tv.lastIndex=0,n,o,i,a=-1,u=[],l=[];for(e=e+&quot;&quot;,r=r+&quot;&quot;;(n=Vy.exec(e))&amp;&amp;(o=tv.exec(r));)(i=o.index)&gt;t&amp;&amp;(i=r.slice(t,i),u[a]?u[a]+=i:u[++a]=i),(n=n[0])===(o=o[0])?u[a]?u[a]+=o:u[++a]=o:(u[++a]=null,l.push({i:a,x:bh(n,o)})),t=tv.lastIndex;return t&lt;r.length&amp;&amp;(i=r.slice(t),u[a]?u[a]+=i:u[++a]=i),u.length&lt;2?l[0]?fW(l[0].x):dW(r):(r=l.length,function(s){for(var c=0,m;c&lt;r;++c)u[(m=l[c]).i]=m.x(s);return u.join(&quot;&quot;)})}function Vl(e,r){var t=typeof r,n;return r==null||t===&quot;boolean&quot;?kx(r):(t===&quot;number&quot;?bh:t===&quot;string&quot;?(n=pu(r))?(r=n,w6):hW:r instanceof pu?w6:r instanceof Date?cW:oW(r)?aW:Array.isArray(r)?lW:typeof r.valueOf!=&quot;function&quot;&amp;&amp;typeof r.toString!=&quot;function&quot;||isNaN(r)?uW:bh)(e,r)}function Nx(e,r){return e=+e,r=+r,function(t){return Math.round(e*(1-t)+r*t)}}function mW(e,r){r===void 0&amp;&amp;(r=e,e=Vl);for(var t=0,n=r.length-1,o=r[0],i=new Array(n&lt;0?0:n);t&lt;n;)i[t]=e(o,o=r[++t]);return function(a){var u=Math.max(0,Math.min(n-1,Math.floor(a*=n)));return i[u](a-u)}}function pW(e){return function(){return e}}function xh(e){return+e}var _6=[0,1];function Bn(e){return e}function qy(e,r){return(r-=e=+e)?function(t){return(t-e)/r}:pW(isNaN(r)?NaN:.5)}function gW(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 vW(e,r,t){var n=e[0],o=e[1],i=r[0],a=r[1];return o&lt;n?(n=qy(o,n),i=t(a,i)):(n=qy(n,o),i=t(i,a)),function(u){return i(n(u))}}function yW(e,r,t){var n=Math.min(e.length,r.length)-1,o=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;)o[a]=qy(e[a],e[a+1]),i[a]=t(r[a],r[a+1]);return function(u){var l=Tu(e,u,1,n)-1;return i[l](o[l](u))}}function Iu(e,r){return r.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Sm(){var e=_6,r=_6,t=Vl,n,o,i,a=Bn,u,l,s;function c(){var h=Math.min(e.length,r.length);return a!==Bn&amp;&amp;(a=gW(e[0],e[h-1])),u=h&gt;2?yW:vW,l=s=null,m}function m(h){return h==null||isNaN(h=+h)?i:(l||(l=u(e.map(n),r,t)))(n(a(h)))}return m.invert=function(h){return a(o((s||(s=u(r,e.map(n),bh)))(h)))},m.domain=function(h){return arguments.length?(e=Array.from(h,xh),c()):e.slice()},m.range=function(h){return arguments.length?(r=Array.from(h),c()):r.slice()},m.rangeRound=function(h){return r=Array.from(h),t=Nx,c()},m.clamp=function(h){return arguments.length?(a=h?!0:Bn,c()):a!==Bn},m.interpolate=function(h){return arguments.length?(t=h,c()):t},m.unknown=function(h){return arguments.length?(i=h,m):i},function(h,d){return n=h,o=d,c()}}function Cx(){return Sm()(Bn,Bn)}function bW(e){return Math.abs(e=Math.round(e))&gt;=1e21?e.toLocaleString(&quot;en&quot;).replace(/,/g,&quot;&quot;):e.toString(10)}function wh(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 Pl(e){return e=wh(Math.abs(e)),e?e[1]:NaN}function xW(e,r){return function(t,n){for(var o=t.length,i=[],a=0,u=e[0],l=0;o&gt;0&amp;&amp;u&gt;0&amp;&amp;(l+u+1&gt;n&amp;&amp;(u=Math.max(1,n-l)),i.push(t.substring(o-=u,o+u)),!((l+=u+1)&gt;n));)u=e[a=(a+1)%e.length];return i.reverse().join(r)}}function wW(e){return function(r){return r.replace(/[0-9]/g,function(t){return e[+t]})}}var _W=/^(?:(.)?([&lt;&gt;=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function gu(e){if(!(r=_W.exec(e)))throw new Error(&quot;invalid format: &quot;+e);var r;return new Ex({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]})}gu.prototype=Ex.prototype;function Ex(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;}Ex.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 jW(e){e:for(var r=e.length,t=1,n=-1,o;t&lt;r;++t)switch(e[t]){case&quot;.&quot;:n=o=t;break;case&quot;0&quot;:n===0&amp;&amp;(n=t),o=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(o+1):e}var _h;function SW(e,r){var t=wh(e,r);if(!t)return _h=void 0,e.toPrecision(r);var n=t[0],o=t[1],i=o-(_h=Math.max(-8,Math.min(8,Math.floor(o/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;)+wh(e,Math.max(0,r+i-1))[0]}function j6(e,r){var t=wh(e,r);if(!t)return e+&quot;&quot;;var n=t[0],o=t[1];return o&lt;0?&quot;0.&quot;+new Array(-o).join(&quot;0&quot;)+n:n.length&gt;o+1?n.slice(0,o+1)+&quot;.&quot;+n.slice(o+1):n+new Array(o-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:bW,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:SW,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 kW(e){var r=e.grouping===void 0||e.thousands===void 0?k6:xW(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;,o=e.decimal===void 0?&quot;.&quot;:e.decimal+&quot;&quot;,i=e.numerals===void 0?k6:wW(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;,l=e.nan===void 0?&quot;NaN&quot;:e.nan+&quot;&quot;;function s(m,h){m=gu(m);var d=m.fill,g=m.align,y=m.sign,p=m.symbol,b=m.zero,x=m.width,_=m.comma,E=m.precision,M=m.trim,D=m.type;D===&quot;n&quot;?(_=!0,D=&quot;g&quot;):S6[D]||(E===void 0&amp;&amp;(E=12),M=!0,D=&quot;g&quot;),(b||d===&quot;0&quot;&amp;&amp;g===&quot;=&quot;)&amp;&amp;(b=!0,d=&quot;0&quot;,g=&quot;=&quot;);var W=(h&amp;&amp;h.prefix!==void 0?h.prefix:&quot;&quot;)+(p===&quot;$&quot;?t:p===&quot;#&quot;&amp;&amp;/[boxX]/.test(D)?&quot;0&quot;+D.toLowerCase():&quot;&quot;),L=(p===&quot;$&quot;?n:/[%p]/.test(D)?a:&quot;&quot;)+(h&amp;&amp;h.suffix!==void 0?h.suffix:&quot;&quot;),V=S6[D],H=/[defgprs%]/.test(D);E=E===void 0?6:/[gprs]/.test(D)?Math.max(1,Math.min(21,E)):Math.max(0,Math.min(20,E));function K(z){var O=W,I=L,C,j,k;if(D===&quot;c&quot;)I=V(z)+I,z=&quot;&quot;;else{z=+z;var S=z&lt;0||1/z&lt;0;if(z=isNaN(z)?l:V(Math.abs(z),E),M&amp;&amp;(z=jW(z)),S&amp;&amp;+z==0&amp;&amp;y!==&quot;+&quot;&amp;&amp;(S=!1),O=(S?y===&quot;(&quot;?y:u:y===&quot;-&quot;||y===&quot;(&quot;?&quot;&quot;:y)+O,I=(D===&quot;s&quot;&amp;&amp;!isNaN(z)&amp;&amp;_h!==void 0?C6[8+_h/3]:&quot;&quot;)+I+(S&amp;&amp;y===&quot;(&quot;?&quot;)&quot;:&quot;&quot;),H){for(C=-1,j=z.length;++C&lt;j;)if(k=z.charCodeAt(C),48&gt;k||k&gt;57){I=(k===46?o+z.slice(C+1):z.slice(C))+I,z=z.slice(0,C);break}}}_&amp;&amp;!b&amp;&amp;(z=r(z,1/0));var N=O.length+z.length+I.length,T=N&lt;x?new Array(x-N+1).join(d):&quot;&quot;;switch(_&amp;&amp;b&amp;&amp;(z=r(T+z,T.length?x-I.length:1/0),T=&quot;&quot;),g){case&quot;&lt;&quot;:z=O+z+I+T;break;case&quot;=&quot;:z=O+T+z+I;break;case&quot;^&quot;:z=T.slice(0,N=T.length&gt;&gt;1)+O+z+I+T.slice(N);break;default:z=T+O+z+I;break}return i(z)}return K.toString=function(){return m+&quot;&quot;},K}function c(m,h){var d=Math.max(-8,Math.min(8,Math.floor(Pl(h)/3)))*3,g=Math.pow(10,-d),y=s((m=gu(m),m.type=&quot;f&quot;,m),{suffix:C6[8+d/3]});return function(p){return y(g*p)}}return{format:s,formatPrefix:c}}var ff,Ax,AC;NW({thousands:&quot;,&quot;,grouping:[3],currency:[&quot;$&quot;,&quot;&quot;]});function NW(e){return ff=kW(e),Ax=ff.format,AC=ff.formatPrefix,ff}function CW(e){return Math.max(0,-Pl(Math.abs(e)))}function EW(e,r){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Pl(r)/3)))*3-Pl(Math.abs(e)))}function AW(e,r){return e=Math.abs(e),r=Math.abs(r)-e,Math.max(0,Pl(r)-Pl(e))+1}function MC(e,r,t,n){var o=zy(e,r,t),i;switch(n=gu(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=EW(o,a))&amp;&amp;(n.precision=i),AC(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=AW(o,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=CW(o))&amp;&amp;(n.precision=i-(n.type===&quot;%&quot;)*2);break}}return Ax(n)}function $a(e){var r=e.domain;return e.ticks=function(t){var n=r();return Fy(n[0],n[n.length-1],t??10)},e.tickFormat=function(t,n){var o=r();return MC(o[0],o[o.length-1],t??10,n)},e.nice=function(t){t==null&amp;&amp;(t=10);var n=r(),o=0,i=n.length-1,a=n[o],u=n[i],l,s,c=10;for(u&lt;a&amp;&amp;(s=a,a=u,u=s,s=o,o=i,i=s);c-- &gt;0;){if(s=By(a,u,t),s===l)return n[o]=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;l=s}return e},e}function OC(){var e=Cx();return e.copy=function(){return Iu(e,OC())},Pi.apply(e,arguments),$a(e)}function TC(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,xh),t):e.slice()},t.unknown=function(n){return arguments.length?(r=n,t):r},t.copy=function(){return TC(e).unknown(r)},e=arguments.length?Array.from(e,xh):[0,1],$a(t)}function PC(e,r){e=e.slice();var t=0,n=e.length-1,o=e[t],i=e[n],a;return i&lt;o&amp;&amp;(a=t,t=n,n=a,a=o,o=i,i=a),e[t]=r.floor(o),e[n]=r.ceil(i),e}function E6(e){return Math.log(e)}function A6(e){return Math.exp(e)}function MW(e){return-Math.log(-e)}function OW(e){return-Math.exp(-e)}function TW(e){return isFinite(e)?+(&quot;1e&quot;+e):e&lt;0?0:e}function PW(e){return e===10?TW:e===Math.E?Math.exp:r=&gt;Math.pow(e,r)}function IW(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 Mx(e){const r=e(E6,A6),t=r.domain;let n=10,o,i;function a(){return o=IW(n),i=PW(n),t()[0]&lt;0?(o=M6(o),i=M6(i),e(MW,OW)):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 l=t();let s=l[0],c=l[l.length-1];const m=c&lt;s;m&amp;&amp;([s,c]=[c,s]);let h=o(s),d=o(c),g,y;const p=u==null?10:+u;let b=[];if(!(n%1)&amp;&amp;d-h&lt;p){if(h=Math.floor(h),d=Math.ceil(d),s&gt;0){for(;h&lt;=d;++h)for(g=1;g&lt;n;++g)if(y=h&lt;0?g/i(-h):g*i(h),!(y&lt;s)){if(y&gt;c)break;b.push(y)}}else for(;h&lt;=d;++h)for(g=n-1;g&gt;=1;--g)if(y=h&gt;0?g/i(-h):g*i(h),!(y&lt;s)){if(y&gt;c)break;b.push(y)}b.length*2&lt;p&amp;&amp;(b=Fy(s,c,p))}else b=Fy(h,d,Math.min(d-h,p)).map(i);return m?b.reverse():b},r.tickFormat=(u,l)=&gt;{if(u==null&amp;&amp;(u=10),l==null&amp;&amp;(l=n===10?&quot;s&quot;:&quot;,&quot;),typeof l!=&quot;function&quot;&amp;&amp;(!(n%1)&amp;&amp;(l=gu(l)).precision==null&amp;&amp;(l.trim=!0),l=Ax(l)),u===1/0)return l;const s=Math.max(1,n*u/r.ticks().length);return c=&gt;{let m=c/i(Math.round(o(c)));return m*n&lt;n-.5&amp;&amp;(m*=n),m&lt;=s?l(c):&quot;&quot;}},r.nice=()=&gt;t(PC(t(),{floor:u=&gt;i(Math.floor(o(u))),ceil:u=&gt;i(Math.ceil(o(u)))})),r}function IC(){const e=Mx(Sm()).domain([1,10]);return e.copy=()=&gt;Iu(e,IC()).base(e.base()),Pi.apply(e,arguments),e}function O6(e){return function(r){return Math.sign(r)*Math.log1p(Math.abs(r/e))}}function T6(e){return function(r){return Math.sign(r)*Math.expm1(Math.abs(r))*e}}function Ox(e){var r=1,t=e(O6(r),T6(r));return t.constant=function(n){return arguments.length?e(O6(r=+n),T6(r)):r},$a(t)}function RC(){var e=Ox(Sm());return e.copy=function(){return Iu(e,RC()).constant(e.constant())},Pi.apply(e,arguments)}function P6(e){return function(r){return r&lt;0?-Math.pow(-r,e):Math.pow(r,e)}}function RW(e){return e&lt;0?-Math.sqrt(-e):Math.sqrt(e)}function DW(e){return e&lt;0?-e*e:e*e}function Tx(e){var r=e(Bn,Bn),t=1;function n(){return t===1?e(Bn,Bn):t===.5?e(RW,DW):e(P6(t),P6(1/t))}return r.exponent=function(o){return arguments.length?(t=+o,n()):t},$a(r)}function Px(){var e=Tx(Sm());return e.copy=function(){return Iu(e,Px()).exponent(e.exponent())},Pi.apply(e,arguments),e}function LW(){return Px.apply(null,arguments).exponent(.5)}function I6(e){return Math.sign(e)*e*e}function FW(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function DC(){var e=Cx(),r=[0,1],t=!1,n;function o(i){var a=FW(e(i));return isNaN(a)?n:t?Math.round(a):a}return o.invert=function(i){return e.invert(I6(i))},o.domain=function(i){return arguments.length?(e.domain(i),o):e.domain()},o.range=function(i){return arguments.length?(e.range((r=Array.from(i,xh)).map(I6)),o):r.slice()},o.rangeRound=function(i){return o.range(i).round(!0)},o.round=function(i){return arguments.length?(t=!!i,o):t},o.clamp=function(i){return arguments.length?(e.clamp(i),o):e.clamp()},o.unknown=function(i){return arguments.length?(n=i,o):n},o.copy=function(){return DC(e.domain(),r).round(t).clamp(e.clamp()).unknown(n)},Pi.apply(o,arguments),$a(o)}function LC(){var e=[],r=[],t=[],n;function o(){var a=0,u=Math.max(1,r.length);for(t=new Array(u-1);++a&lt;u;)t[a-1]=Uq(e,a/u);return i}function i(a){return a==null||isNaN(a=+a)?n:r[Tu(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(Oa),o()},i.range=function(a){return arguments.length?(r=Array.from(a),o()):r.slice()},i.unknown=function(a){return arguments.length?(n=a,i):n},i.quantiles=function(){return t.slice()},i.copy=function(){return LC().domain(e).range(r).unknown(n)},Pi.apply(i,arguments)}function FC(){var e=0,r=1,t=1,n=[.5],o=[0,1],i;function a(l){return l!=null&amp;&amp;l&lt;=l?o[Tu(n,l,0,t)]:i}function u(){var l=-1;for(n=new Array(t);++l&lt;t;)n[l]=((l+1)*r-(l-t)*e)/(t+1);return a}return a.domain=function(l){return arguments.length?([e,r]=l,e=+e,r=+r,u()):[e,r]},a.range=function(l){return arguments.length?(t=(o=Array.from(l)).length-1,u()):o.slice()},a.invertExtent=function(l){var s=o.indexOf(l);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(l){return arguments.length&amp;&amp;(i=l),a},a.thresholds=function(){return n.slice()},a.copy=function(){return FC().domain([e,r]).range(o).unknown(i)},Pi.apply($a(a),arguments)}function BC(){var e=[.5],r=[0,1],t,n=1;function o(i){return i!=null&amp;&amp;i&lt;=i?r[Tu(e,i,0,n)]:t}return o.domain=function(i){return arguments.length?(e=Array.from(i),n=Math.min(e.length,r.length-1),o):e.slice()},o.range=function(i){return arguments.length?(r=Array.from(i),n=Math.min(e.length,r.length-1),o):r.slice()},o.invertExtent=function(i){var a=r.indexOf(i);return[e[a-1],e[a]]},o.unknown=function(i){return arguments.length?(t=i,o):t},o.copy=function(){return BC().domain(e).range(r).unknown(t)},Pi.apply(o,arguments)}const rv=new Date,nv=new Date;function Xr(e,r,t,n){function o(i){return e(i=arguments.length===0?new Date:new Date(+i)),i}return o.floor=i=&gt;(e(i=new Date(+i)),i),o.ceil=i=&gt;(e(i=new Date(i-1)),r(i,1),e(i),i),o.round=i=&gt;{const a=o(i),u=o.ceil(i);return i-a&lt;u-i?a:u},o.offset=(i,a)=&gt;(r(i=new Date(+i),a==null?1:Math.floor(a)),i),o.range=(i,a,u)=&gt;{const l=[];if(i=o.ceil(i),u=u==null?1:Math.floor(u),!(i&lt;a)||!(u&gt;0))return l;let s;do l.push(s=new Date(+i)),r(i,u),e(i);while(s&lt;i&amp;&amp;i&lt;a);return l},o.filter=i=&gt;Xr(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;(o.count=(i,a)=&gt;(rv.setTime(+i),nv.setTime(+a),e(rv),e(nv),Math.floor(t(rv,nv))),o.every=i=&gt;(i=Math.floor(i),!isFinite(i)||!(i&gt;0)?null:i&gt;1?o.filter(n?a=&gt;n(a)%i===0:a=&gt;o.count(0,a)%i===0):o)),o}const jh=Xr(()=&gt;{},(e,r)=&gt;{e.setTime(+e+r)},(e,r)=&gt;r-e);jh.every=e=&gt;(e=Math.floor(e),!isFinite(e)||!(e&gt;0)?null:e&gt;1?Xr(r=&gt;{r.setTime(Math.floor(r/e)*e)},(r,t)=&gt;{r.setTime(+r+t*e)},(r,t)=&gt;(t-r)/e):jh);jh.range;const Fs=1e3,Ei=Fs*60,Bs=Ei*60,Hs=Bs*24,Ix=Hs*7,R6=Hs*30,iv=Hs*365,yo=Xr(e=&gt;{e.setTime(e-e.getMilliseconds())},(e,r)=&gt;{e.setTime(+e+r*Fs)},(e,r)=&gt;(r-e)/Fs,e=&gt;e.getUTCSeconds());yo.range;const Rx=Xr(e=&gt;{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Fs)},(e,r)=&gt;{e.setTime(+e+r*Ei)},(e,r)=&gt;(r-e)/Ei,e=&gt;e.getMinutes());Rx.range;const Dx=Xr(e=&gt;{e.setUTCSeconds(0,0)},(e,r)=&gt;{e.setTime(+e+r*Ei)},(e,r)=&gt;(r-e)/Ei,e=&gt;e.getUTCMinutes());Dx.range;const Lx=Xr(e=&gt;{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Fs-e.getMinutes()*Ei)},(e,r)=&gt;{e.setTime(+e+r*Bs)},(e,r)=&gt;(r-e)/Bs,e=&gt;e.getHours());Lx.range;const Fx=Xr(e=&gt;{e.setUTCMinutes(0,0,0)},(e,r)=&gt;{e.setTime(+e+r*Bs)},(e,r)=&gt;(r-e)/Bs,e=&gt;e.getUTCHours());Fx.range;const Ru=Xr(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())*Ei)/Hs,e=&gt;e.getDate()-1);Ru.range;const km=Xr(e=&gt;{e.setUTCHours(0,0,0,0)},(e,r)=&gt;{e.setUTCDate(e.getUTCDate()+r)},(e,r)=&gt;(r-e)/Hs,e=&gt;e.getUTCDate()-1);km.range;const zC=Xr(e=&gt;{e.setUTCHours(0,0,0,0)},(e,r)=&gt;{e.setUTCDate(e.getUTCDate()+r)},(e,r)=&gt;(r-e)/Hs,e=&gt;Math.floor(e/Hs));zC.range;function Io(e){return Xr(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())*Ei)/Ix)}const Nm=Io(0),Sh=Io(1),BW=Io(2),zW=Io(3),Il=Io(4),$W=Io(5),UW=Io(6);Nm.range;Sh.range;BW.range;zW.range;Il.range;$W.range;UW.range;function Ro(e){return Xr(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)/Ix)}const Cm=Ro(0),kh=Ro(1),VW=Ro(2),qW=Ro(3),Rl=Ro(4),WW=Ro(5),HW=Ro(6);Cm.range;kh.range;VW.range;qW.range;Rl.range;WW.range;HW.range;const Bx=Xr(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());Bx.range;const zx=Xr(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());zx.range;const Ks=Xr(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());Ks.every=e=&gt;!isFinite(e=Math.floor(e))||!(e&gt;0)?null:Xr(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)});Ks.range;const Xs=Xr(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());Xs.every=e=&gt;!isFinite(e=Math.floor(e))||!(e&gt;0)?null:Xr(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)});Xs.range;function $C(e,r,t,n,o,i){const a=[[yo,1,Fs],[yo,5,5*Fs],[yo,15,15*Fs],[yo,30,30*Fs],[i,1,Ei],[i,5,5*Ei],[i,15,15*Ei],[i,30,30*Ei],[o,1,Bs],[o,3,3*Bs],[o,6,6*Bs],[o,12,12*Bs],[n,1,Hs],[n,2,2*Hs],[t,1,Ix],[r,1,R6],[r,3,3*R6],[e,1,iv]];function u(s,c,m){const h=c&lt;s;h&amp;&amp;([s,c]=[c,s]);const d=m&amp;&amp;typeof m.range==&quot;function&quot;?m:l(s,c,m),g=d?d.range(s,+c+1):[];return h?g.reverse():g}function l(s,c,m){const h=Math.abs(c-s)/m,d=wx(([,,p])=&gt;p).right(a,h);if(d===a.length)return e.every(zy(s/iv,c/iv,m));if(d===0)return jh.every(Math.max(zy(s,c,m),1));const[g,y]=a[h/a[d-1][2]&lt;a[d][2]/h?d-1:d];return g.every(y)}return[u,l]}const[KW,XW]=$C(Xs,zx,Cm,zC,Fx,Dx),[GW,YW]=$C(Ks,Bx,Nm,Ru,Lx,Rx);function sv(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 av(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 Pc(e,r,t){return{y:e,m:r,d:t,H:0,M:0,S:0,L:0}}function ZW(e){var r=e.dateTime,t=e.date,n=e.time,o=e.periods,i=e.days,a=e.shortDays,u=e.months,l=e.shortMonths,s=Ic(o),c=Rc(o),m=Ic(i),h=Rc(i),d=Ic(a),g=Rc(a),y=Ic(u),p=Rc(u),b=Ic(l),x=Rc(l),_={a:k,A:S,b:N,B:T,c:null,d:$6,e:$6,f:xH,g:MH,G:TH,H:vH,I:yH,j:bH,L:UC,m:wH,M:_H,p:R,q:B,Q:q6,s:W6,S:jH,u:SH,U:kH,V:NH,w:CH,W:EH,x:null,X:null,y:AH,Y:OH,Z:PH,&quot;%&quot;:V6},E={a:Y,A:Q,b:ne,B:U,c:null,d:U6,e:U6,f:LH,g:KH,G:GH,H:IH,I:RH,j:DH,L:qC,m:FH,M:BH,p:ee,q:F,Q:q6,s:W6,S:zH,u:$H,U:UH,V:VH,w:qH,W:WH,x:null,X:null,y:HH,Y:XH,Z:YH,&quot;%&quot;:V6},M={a:H,A:K,b:z,B:O,c:I,d:B6,e:B6,f:hH,g:F6,G:L6,H:z6,I:z6,j:cH,L:fH,m:lH,M:uH,p:V,q:oH,Q:pH,s:gH,S:dH,u:rH,U:nH,V:iH,w:tH,W:sH,x:C,X:j,y:F6,Y:L6,Z:aH,&quot;%&quot;:mH};_.x=D(t,_),_.X=D(n,_),_.c=D(r,_),E.x=D(t,E),E.X=D(n,E),E.c=D(r,E);function D(P,X){return function(re){var Z=[],te=-1,ae=0,ce=P.length,fe,se,ue;for(re instanceof Date||(re=new Date(+re));++te&lt;ce;)P.charCodeAt(te)===37&amp;&amp;(Z.push(P.slice(ae,te)),(se=D6[fe=P.charAt(++te)])!=null?fe=P.charAt(++te):se=fe===&quot;e&quot;?&quot; &quot;:&quot;0&quot;,(ue=X[fe])&amp;&amp;(fe=ue(re,se)),Z.push(fe),ae=te+1);return Z.push(P.slice(ae,te)),Z.join(&quot;&quot;)}}function W(P,X){return function(re){var Z=Pc(1900,void 0,1),te=L(Z,P,re+=&quot;&quot;,0),ae,ce;if(te!=re.length)return null;if(&quot;Q&quot;in Z)return new Date(Z.Q);if(&quot;s&quot;in Z)return new Date(Z.s*1e3+(&quot;L&quot;in Z?Z.L:0));if(X&amp;&amp;!(&quot;Z&quot;in Z)&amp;&amp;(Z.Z=0),&quot;p&quot;in Z&amp;&amp;(Z.H=Z.H%12+Z.p*12),Z.m===void 0&amp;&amp;(Z.m=&quot;q&quot;in Z?Z.q:0),&quot;V&quot;in Z){if(Z.V&lt;1||Z.V&gt;53)return null;&quot;w&quot;in Z||(Z.w=1),&quot;Z&quot;in Z?(ae=av(Pc(Z.y,0,1)),ce=ae.getUTCDay(),ae=ce&gt;4||ce===0?kh.ceil(ae):kh(ae),ae=km.offset(ae,(Z.V-1)*7),Z.y=ae.getUTCFullYear(),Z.m=ae.getUTCMonth(),Z.d=ae.getUTCDate()+(Z.w+6)%7):(ae=sv(Pc(Z.y,0,1)),ce=ae.getDay(),ae=ce&gt;4||ce===0?Sh.ceil(ae):Sh(ae),ae=Ru.offset(ae,(Z.V-1)*7),Z.y=ae.getFullYear(),Z.m=ae.getMonth(),Z.d=ae.getDate()+(Z.w+6)%7)}else(&quot;W&quot;in Z||&quot;U&quot;in Z)&amp;&amp;(&quot;w&quot;in Z||(Z.w=&quot;u&quot;in Z?Z.u%7:&quot;W&quot;in Z?1:0),ce=&quot;Z&quot;in Z?av(Pc(Z.y,0,1)).getUTCDay():sv(Pc(Z.y,0,1)).getDay(),Z.m=0,Z.d=&quot;W&quot;in Z?(Z.w+6)%7+Z.W*7-(ce+5)%7:Z.w+Z.U*7-(ce+6)%7);return&quot;Z&quot;in Z?(Z.H+=Z.Z/100|0,Z.M+=Z.Z%100,av(Z)):sv(Z)}}function L(P,X,re,Z){for(var te=0,ae=X.length,ce=re.length,fe,se;te&lt;ae;){if(Z&gt;=ce)return-1;if(fe=X.charCodeAt(te++),fe===37){if(fe=X.charAt(te++),se=M[fe in D6?X.charAt(te++):fe],!se||(Z=se(P,re,Z))&lt;0)return-1}else if(fe!=re.charCodeAt(Z++))return-1}return Z}function V(P,X,re){var Z=s.exec(X.slice(re));return Z?(P.p=c.get(Z[0].toLowerCase()),re+Z[0].length):-1}function H(P,X,re){var Z=d.exec(X.slice(re));return Z?(P.w=g.get(Z[0].toLowerCase()),re+Z[0].length):-1}function K(P,X,re){var Z=m.exec(X.slice(re));return Z?(P.w=h.get(Z[0].toLowerCase()),re+Z[0].length):-1}function z(P,X,re){var Z=b.exec(X.slice(re));return Z?(P.m=x.get(Z[0].toLowerCase()),re+Z[0].length):-1}function O(P,X,re){var Z=y.exec(X.slice(re));return Z?(P.m=p.get(Z[0].toLowerCase()),re+Z[0].length):-1}function I(P,X,re){return L(P,r,X,re)}function C(P,X,re){return L(P,t,X,re)}function j(P,X,re){return L(P,n,X,re)}function k(P){return a[P.getDay()]}function S(P){return i[P.getDay()]}function N(P){return l[P.getMonth()]}function T(P){return u[P.getMonth()]}function R(P){return o[+(P.getHours()&gt;=12)]}function B(P){return 1+~~(P.getMonth()/3)}function Y(P){return a[P.getUTCDay()]}function Q(P){return i[P.getUTCDay()]}function ne(P){return l[P.getUTCMonth()]}function U(P){return u[P.getUTCMonth()]}function ee(P){return o[+(P.getUTCHours()&gt;=12)]}function F(P){return 1+~~(P.getUTCMonth()/3)}return{format:function(P){var X=D(P+=&quot;&quot;,_);return X.toString=function(){return P},X},parse:function(P){var X=W(P+=&quot;&quot;,!1);return X.toString=function(){return P},X},utcFormat:function(P){var X=D(P+=&quot;&quot;,E);return X.toString=function(){return P},X},utcParse:function(P){var X=W(P+=&quot;&quot;,!0);return X.toString=function(){return P},X}}}var D6={&quot;-&quot;:&quot;&quot;,_:&quot; &quot;,0:&quot;0&quot;},dn=/^\s*\d+/,QW=/^%/,JW=/[\\^$*+?|[\]().{}]/g;function nr(e,r,t){var n=e&lt;0?&quot;-&quot;:&quot;&quot;,o=(n?-e:e)+&quot;&quot;,i=o.length;return n+(i&lt;t?new Array(t-i+1).join(r)+o:o)}function eH(e){return e.replace(JW,&quot;\\$&amp;&quot;)}function Ic(e){return new RegExp(&quot;^(?:&quot;+e.map(eH).join(&quot;|&quot;)+&quot;)&quot;,&quot;i&quot;)}function Rc(e){return new Map(e.map((r,t)=&gt;[r.toLowerCase(),t]))}function tH(e,r,t){var n=dn.exec(r.slice(t,t+1));return n?(e.w=+n[0],t+n[0].length):-1}function rH(e,r,t){var n=dn.exec(r.slice(t,t+1));return n?(e.u=+n[0],t+n[0].length):-1}function nH(e,r,t){var n=dn.exec(r.slice(t,t+2));return n?(e.U=+n[0],t+n[0].length):-1}function iH(e,r,t){var n=dn.exec(r.slice(t,t+2));return n?(e.V=+n[0],t+n[0].length):-1}function sH(e,r,t){var n=dn.exec(r.slice(t,t+2));return n?(e.W=+n[0],t+n[0].length):-1}function L6(e,r,t){var n=dn.exec(r.slice(t,t+4));return n?(e.y=+n[0],t+n[0].length):-1}function F6(e,r,t){var n=dn.exec(r.slice(t,t+2));return n?(e.y=+n[0]+(+n[0]&gt;68?1900:2e3),t+n[0].length):-1}function aH(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 oH(e,r,t){var n=dn.exec(r.slice(t,t+1));return n?(e.q=n[0]*3-3,t+n[0].length):-1}function lH(e,r,t){var n=dn.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=dn.exec(r.slice(t,t+2));return n?(e.d=+n[0],t+n[0].length):-1}function cH(e,r,t){var n=dn.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=dn.exec(r.slice(t,t+2));return n?(e.H=+n[0],t+n[0].length):-1}function uH(e,r,t){var n=dn.exec(r.slice(t,t+2));return n?(e.M=+n[0],t+n[0].length):-1}function dH(e,r,t){var n=dn.exec(r.slice(t,t+2));return n?(e.S=+n[0],t+n[0].length):-1}function fH(e,r,t){var n=dn.exec(r.slice(t,t+3));return n?(e.L=+n[0],t+n[0].length):-1}function hH(e,r,t){var n=dn.exec(r.slice(t,t+6));return n?(e.L=Math.floor(n[0]/1e3),t+n[0].length):-1}function mH(e,r,t){var n=QW.exec(r.slice(t,t+1));return n?t+n[0].length:-1}function pH(e,r,t){var n=dn.exec(r.slice(t));return n?(e.Q=+n[0],t+n[0].length):-1}function gH(e,r,t){var n=dn.exec(r.slice(t));return n?(e.s=+n[0],t+n[0].length):-1}function $6(e,r){return nr(e.getDate(),r,2)}function vH(e,r){return nr(e.getHours(),r,2)}function yH(e,r){return nr(e.getHours()%12||12,r,2)}function bH(e,r){return nr(1+Ru.count(Ks(e),e),r,3)}function UC(e,r){return nr(e.getMilliseconds(),r,3)}function xH(e,r){return UC(e,r)+&quot;000&quot;}function wH(e,r){return nr(e.getMonth()+1,r,2)}function _H(e,r){return nr(e.getMinutes(),r,2)}function jH(e,r){return nr(e.getSeconds(),r,2)}function SH(e){var r=e.getDay();return r===0?7:r}function kH(e,r){return nr(Nm.count(Ks(e)-1,e),r,2)}function VC(e){var r=e.getDay();return r&gt;=4||r===0?Il(e):Il.ceil(e)}function NH(e,r){return e=VC(e),nr(Il.count(Ks(e),e)+(Ks(e).getDay()===4),r,2)}function CH(e){return e.getDay()}function EH(e,r){return nr(Sh.count(Ks(e)-1,e),r,2)}function AH(e,r){return nr(e.getFullYear()%100,r,2)}function MH(e,r){return e=VC(e),nr(e.getFullYear()%100,r,2)}function OH(e,r){return nr(e.getFullYear()%1e4,r,4)}function TH(e,r){var t=e.getDay();return e=t&gt;=4||t===0?Il(e):Il.ceil(e),nr(e.getFullYear()%1e4,r,4)}function PH(e){var r=e.getTimezoneOffset();return(r&gt;0?&quot;-&quot;:(r*=-1,&quot;+&quot;))+nr(r/60|0,&quot;0&quot;,2)+nr(r%60,&quot;0&quot;,2)}function U6(e,r){return nr(e.getUTCDate(),r,2)}function IH(e,r){return nr(e.getUTCHours(),r,2)}function RH(e,r){return nr(e.getUTCHours()%12||12,r,2)}function DH(e,r){return nr(1+km.count(Xs(e),e),r,3)}function qC(e,r){return nr(e.getUTCMilliseconds(),r,3)}function LH(e,r){return qC(e,r)+&quot;000&quot;}function FH(e,r){return nr(e.getUTCMonth()+1,r,2)}function BH(e,r){return nr(e.getUTCMinutes(),r,2)}function zH(e,r){return nr(e.getUTCSeconds(),r,2)}function $H(e){var r=e.getUTCDay();return r===0?7:r}function UH(e,r){return nr(Cm.count(Xs(e)-1,e),r,2)}function WC(e){var r=e.getUTCDay();return r&gt;=4||r===0?Rl(e):Rl.ceil(e)}function VH(e,r){return e=WC(e),nr(Rl.count(Xs(e),e)+(Xs(e).getUTCDay()===4),r,2)}function qH(e){return e.getUTCDay()}function WH(e,r){return nr(kh.count(Xs(e)-1,e),r,2)}function HH(e,r){return nr(e.getUTCFullYear()%100,r,2)}function KH(e,r){return e=WC(e),nr(e.getUTCFullYear()%100,r,2)}function XH(e,r){return nr(e.getUTCFullYear()%1e4,r,4)}function GH(e,r){var t=e.getUTCDay();return e=t&gt;=4||t===0?Rl(e):Rl.ceil(e),nr(e.getUTCFullYear()%1e4,r,4)}function YH(){return&quot;+0000&quot;}function V6(){return&quot;%&quot;}function q6(e){return+e}function W6(e){return Math.floor(+e/1e3)}var hl,HC,KC;ZH({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 ZH(e){return hl=ZW(e),HC=hl.format,hl.parse,KC=hl.utcFormat,hl.utcParse,hl}function QH(e){return new Date(e)}function JH(e){return e instanceof Date?+e:+new Date(+e)}function $x(e,r,t,n,o,i,a,u,l,s){var c=Cx(),m=c.invert,h=c.domain,d=s(&quot;.%L&quot;),g=s(&quot;:%S&quot;),y=s(&quot;%I:%M&quot;),p=s(&quot;%I %p&quot;),b=s(&quot;%a %d&quot;),x=s(&quot;%b %d&quot;),_=s(&quot;%B&quot;),E=s(&quot;%Y&quot;);function M(D){return(l(D)&lt;D?d:u(D)&lt;D?g:a(D)&lt;D?y:i(D)&lt;D?p:n(D)&lt;D?o(D)&lt;D?b:x:t(D)&lt;D?_:E)(D)}return c.invert=function(D){return new Date(m(D))},c.domain=function(D){return arguments.length?h(Array.from(D,JH)):h().map(QH)},c.ticks=function(D){var W=h();return e(W[0],W[W.length-1],D??10)},c.tickFormat=function(D,W){return W==null?M:s(W)},c.nice=function(D){var W=h();return(!D||typeof D.range!=&quot;function&quot;)&amp;&amp;(D=r(W[0],W[W.length-1],D??10)),D?h(PC(W,D)):c},c.copy=function(){return Iu(c,$x(e,r,t,n,o,i,a,u,l,s))},c}function eK(){return Pi.apply($x(GW,YW,Ks,Bx,Nm,Ru,Lx,Rx,yo,HC).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function tK(){return Pi.apply($x(KW,XW,Xs,zx,Cm,km,Fx,Dx,yo,KC).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Em(){var e=0,r=1,t,n,o,i,a=Bn,u=!1,l;function s(m){return m==null||isNaN(m=+m)?l:a(o===0?.5:(m=(i(m)-t)*o,u?Math.max(0,Math.min(1,m)):m))}s.domain=function(m){return arguments.length?([e,r]=m,t=i(e=+e),n=i(r=+r),o=t===n?0:1/(n-t),s):[e,r]},s.clamp=function(m){return arguments.length?(u=!!m,s):u},s.interpolator=function(m){return arguments.length?(a=m,s):a};function c(m){return function(h){var d,g;return arguments.length?([d,g]=h,a=m(d,g),s):[a(0),a(1)]}}return s.range=c(Vl),s.rangeRound=c(Nx),s.unknown=function(m){return arguments.length?(l=m,s):l},function(m){return i=m,t=m(e),n=m(r),o=t===n?0:1/(n-t),s}}function Ua(e,r){return r.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function XC(){var e=$a(Em()(Bn));return e.copy=function(){return Ua(e,XC())},ea.apply(e,arguments)}function GC(){var e=Mx(Em()).domain([1,10]);return e.copy=function(){return Ua(e,GC()).base(e.base())},ea.apply(e,arguments)}function YC(){var e=Ox(Em());return e.copy=function(){return Ua(e,YC()).constant(e.constant())},ea.apply(e,arguments)}function Ux(){var e=Tx(Em());return e.copy=function(){return Ua(e,Ux()).exponent(e.exponent())},ea.apply(e,arguments)}function rK(){return Ux.apply(null,arguments).exponent(.5)}function ZC(){var e=[],r=Bn;function t(n){if(n!=null&amp;&amp;!isNaN(n=+n))return r((Tu(e,n,1)-1)/(e.length-1))}return t.domain=function(n){if(!arguments.length)return e.slice();e=[];for(let o of n)o!=null&amp;&amp;!isNaN(o=+o)&amp;&amp;e.push(o);return e.sort(Oa),t},t.interpolator=function(n){return arguments.length?(r=n,t):r},t.range=function(){return e.map((n,o)=&gt;r(o/(e.length-1)))},t.quantiles=function(n){return Array.from({length:n+1},(o,i)=&gt;$q(e,i/n))},t.copy=function(){return ZC(r).domain(e)},ea.apply(t,arguments)}function Am(){var e=0,r=.5,t=1,n=1,o,i,a,u,l,s=Bn,c,m=!1,h;function d(y){return isNaN(y=+y)?h:(y=.5+((y=+c(y))-i)*(n*y&lt;n*i?u:l),s(m?Math.max(0,Math.min(1,y)):y))}d.domain=function(y){return arguments.length?([e,r,t]=y,o=c(e=+e),i=c(r=+r),a=c(t=+t),u=o===i?0:.5/(i-o),l=i===a?0:.5/(a-i),n=i&lt;o?-1:1,d):[e,r,t]},d.clamp=function(y){return arguments.length?(m=!!y,d):m},d.interpolator=function(y){return arguments.length?(s=y,d):s};function g(y){return function(p){var b,x,_;return arguments.length?([b,x,_]=p,s=mW(y,[b,x,_]),d):[s(0),s(.5),s(1)]}}return d.range=g(Vl),d.rangeRound=g(Nx),d.unknown=function(y){return arguments.length?(h=y,d):h},function(y){return c=y,o=y(e),i=y(r),a=y(t),u=o===i?0:.5/(i-o),l=i===a?0:.5/(a-i),n=i&lt;o?-1:1,d}}function QC(){var e=$a(Am()(Bn));return e.copy=function(){return Ua(e,QC())},ea.apply(e,arguments)}function JC(){var e=Mx(Am()).domain([.1,1,10]);return e.copy=function(){return Ua(e,JC()).base(e.base())},ea.apply(e,arguments)}function e7(){var e=Ox(Am());return e.copy=function(){return Ua(e,e7()).constant(e.constant())},ea.apply(e,arguments)}function Vx(){var e=Tx(Am());return e.copy=function(){return Ua(e,Vx()).exponent(e.exponent())},ea.apply(e,arguments)}function nK(){return Vx.apply(null,arguments).exponent(.5)}const Uc=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:jx,scaleDiverging:QC,scaleDivergingLog:JC,scaleDivergingPow:Vx,scaleDivergingSqrt:nK,scaleDivergingSymlog:e7,scaleIdentity:TC,scaleImplicit:$y,scaleLinear:OC,scaleLog:IC,scaleOrdinal:_x,scalePoint:qq,scalePow:Px,scaleQuantile:LC,scaleQuantize:FC,scaleRadial:DC,scaleSequential:XC,scaleSequentialLog:GC,scaleSequentialPow:Ux,scaleSequentialQuantile:ZC,scaleSequentialSqrt:rK,scaleSequentialSymlog:YC,scaleSqrt:LW,scaleSymlog:RC,scaleThreshold:BC,scaleTime:eK,scaleUtc:tK,tickFormat:MC},Symbol.toStringTag,{value:&quot;Module&quot;}));var ta=e=&gt;e.chartData,t7=Ee([ta],e=&gt;{var r=e.chartData!=null?e.chartData.length-1:0;return{chartData:e.chartData,computedData:e.computedData,dataEndIndex:r,dataStartIndex:0}}),qx=(e,r,t,n)=&gt;n?t7(e):ta(e),iK=(e,r,t)=&gt;t?t7(e):ta(e);function Ra(e){if(Array.isArray(e)&amp;&amp;e.length===2){var[r,t]=e;if(Er(r)&amp;&amp;Er(t))return!0}return!1}function H6(e,r,t){return t?e:[Math.min(e[0],r[0]),Math.max(e[1],r[1])]}function r7(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,o,i;if(Er(t))o=t;else if(typeof t==&quot;function&quot;)return;if(Er(n))i=n;else if(typeof n==&quot;function&quot;)return;var a=[o,i];if(Ra(a))return a}}function sK(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(Ra(n))return H6(n,r,t)}catch{}if(Array.isArray(e)&amp;&amp;e.length===2){var[o,i]=e,a,u;if(o===&quot;auto&quot;)r!=null&amp;&amp;(a=Math.min(...r));else if(dt(o))a=o;else if(typeof o==&quot;function&quot;)try{r!=null&amp;&amp;(a=o(r?.[0]))}catch{}else if(typeof o==&quot;string&quot;&amp;&amp;n5.test(o)){var l=n5.exec(o);if(l==null||l[1]==null||r==null)a=void 0;else{var s=+l[1];a=r[0]-s}}else a=r?.[0];if(i===&quot;auto&quot;)r!=null&amp;&amp;(u=Math.max(...r));else if(dt(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;i5.test(i)){var c=i5.exec(i);if(c==null||c[1]==null||r==null)u=void 0;else{var m=+c[1];u=r[1]+m}}else u=r?.[1];var h=[a,u];if(Ra(h))return r==null?h:H6(h,r,t)}}}var ql=1e9,aK={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:&quot;2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286&quot;},Hx,_r=!0,Ti=&quot;[DecimalError] &quot;,jo=Ti+&quot;Invalid argument: &quot;,Wx=Ti+&quot;Exponent out of range: &quot;,Wl=Math.floor,fo=Math.pow,oK=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,oi,an=1e7,vr=7,n7=9007199254740991,Nh=Wl(n7/vr),lt={};lt.absoluteValue=lt.abs=function(){var e=new this.constructor(this);return e.s&amp;&amp;(e.s=1),e};lt.comparedTo=lt.cmp=function(e){var r,t,n,o,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,o=e.d.length,r=0,t=n&lt;o?n:o;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===o?0:n&gt;o^i.s&lt;0?1:-1};lt.decimalPlaces=lt.dp=function(){var e=this,r=e.d.length-1,t=(r-e.e)*vr;if(r=e.d[r],r)for(;r%10==0;r/=10)t--;return t&lt;0?0:t};lt.dividedBy=lt.div=function(e){return $s(this,new this.constructor(e))};lt.dividedToIntegerBy=lt.idiv=function(e){var r=this,t=r.constructor;return ur($s(r,new t(e),0,1),t.precision)};lt.equals=lt.eq=function(e){return!this.cmp(e)};lt.exponent=function(){return Vr(this)};lt.greaterThan=lt.gt=function(e){return this.cmp(e)&gt;0};lt.greaterThanOrEqualTo=lt.gte=function(e){return this.cmp(e)&gt;=0};lt.isInteger=lt.isint=function(){return this.e&gt;this.d.length-2};lt.isNegative=lt.isneg=function(){return this.s&lt;0};lt.isPositive=lt.ispos=function(){return this.s&gt;0};lt.isZero=function(){return this.s===0};lt.lessThan=lt.lt=function(e){return this.cmp(e)&lt;0};lt.lessThanOrEqualTo=lt.lte=function(e){return this.cmp(e)&lt;1};lt.logarithm=lt.log=function(e){var r,t=this,n=t.constructor,o=n.precision,i=o+5;if(e===void 0)e=new n(10);else if(e=new n(e),e.s&lt;1||e.eq(oi))throw Error(Ti+&quot;NaN&quot;);if(t.s&lt;1)throw Error(Ti+(t.s?&quot;NaN&quot;:&quot;-Infinity&quot;));return t.eq(oi)?new n(0):(_r=!1,r=$s(vu(t,i),vu(e,i),i),_r=!0,ur(r,o))};lt.minus=lt.sub=function(e){var r=this;return e=new r.constructor(e),r.s==e.s?a7(r,e):i7(r,(e.s=-e.s,e))};lt.modulo=lt.mod=function(e){var r,t=this,n=t.constructor,o=n.precision;if(e=new n(e),!e.s)throw Error(Ti+&quot;NaN&quot;);return t.s?(_r=!1,r=$s(t,e,0,1).times(e),_r=!0,t.minus(r)):ur(new n(t),o)};lt.naturalExponential=lt.exp=function(){return s7(this)};lt.naturalLogarithm=lt.ln=function(){return vu(this)};lt.negated=lt.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};lt.plus=lt.add=function(e){var r=this;return e=new r.constructor(e),r.s==e.s?i7(r,e):a7(r,(e.s=-e.s,e))};lt.precision=lt.sd=function(e){var r,t,n,o=this;if(e!==void 0&amp;&amp;e!==!!e&amp;&amp;e!==1&amp;&amp;e!==0)throw Error(jo+e);if(r=Vr(o)+1,n=o.d.length-1,t=n*vr+1,n=o.d[n],n){for(;n%10==0;n/=10)t--;for(n=o.d[0];n&gt;=10;n/=10)t++}return e&amp;&amp;r&gt;t?r:t};lt.squareRoot=lt.sqrt=function(){var e,r,t,n,o,i,a,u=this,l=u.constructor;if(u.s&lt;1){if(!u.s)return new l(0);throw Error(Ti+&quot;NaN&quot;)}for(e=Vr(u),_r=!1,o=Math.sqrt(+u),o==0||o==1/0?(r=gs(u.d),(r.length+e)%2==0&amp;&amp;(r+=&quot;0&quot;),o=Math.sqrt(r),e=Wl((e+1)/2)-(e&lt;0||e%2),o==1/0?r=&quot;5e&quot;+e:(r=o.toExponential(),r=r.slice(0,r.indexOf(&quot;e&quot;)+1)+e),n=new l(r)):n=new l(o.toString()),t=l.precision,o=a=t+3;;)if(i=n,n=i.plus($s(u,i,a+2)).times(.5),gs(i.d).slice(0,a)===(r=gs(n.d)).slice(0,a)){if(r=r.slice(a-3,a+1),o==a&amp;&amp;r==&quot;4999&quot;){if(ur(i,t+1,0),i.times(i).eq(u)){n=i;break}}else if(r!=&quot;9999&quot;)break;a+=4}return _r=!0,ur(n,t)};lt.times=lt.mul=function(e){var r,t,n,o,i,a,u,l,s,c=this,m=c.constructor,h=c.d,d=(e=new m(e)).d;if(!c.s||!e.s)return new m(0);for(e.s*=c.s,t=c.e+e.e,l=h.length,s=d.length,l&lt;s&amp;&amp;(i=h,h=d,d=i,a=l,l=s,s=a),i=[],a=l+s,n=a;n--;)i.push(0);for(n=s;--n&gt;=0;){for(r=0,o=l+n;o&gt;n;)u=i[o]+d[n]*h[o-n-1]+r,i[o--]=u%an|0,r=u/an|0;i[o]=(i[o]+r)%an|0}for(;!i[--a];)i.pop();return r?++t:i.shift(),e.d=i,e.e=t,_r?ur(e,m.precision):e};lt.toDecimalPlaces=lt.todp=function(e,r){var t=this,n=t.constructor;return t=new n(t),e===void 0?t:(_s(e,0,ql),r===void 0?r=n.rounding:_s(r,0,8),ur(t,e+Vr(t)+1,r))};lt.toExponential=function(e,r){var t,n=this,o=n.constructor;return e===void 0?t=Mo(n,!0):(_s(e,0,ql),r===void 0?r=o.rounding:_s(r,0,8),n=ur(new o(n),e+1,r),t=Mo(n,!0,e+1)),t};lt.toFixed=function(e,r){var t,n,o=this,i=o.constructor;return e===void 0?Mo(o):(_s(e,0,ql),r===void 0?r=i.rounding:_s(r,0,8),n=ur(new i(o),e+Vr(o)+1,r),t=Mo(n.abs(),!1,e+Vr(n)+1),o.isneg()&amp;&amp;!o.isZero()?&quot;-&quot;+t:t)};lt.toInteger=lt.toint=function(){var e=this,r=e.constructor;return ur(new r(e),Vr(e)+1,r.rounding)};lt.toNumber=function(){return+this};lt.toPower=lt.pow=function(e){var r,t,n,o,i,a,u=this,l=u.constructor,s=12,c=+(e=new l(e));if(!e.s)return new l(oi);if(u=new l(u),!u.s){if(e.s&lt;1)throw Error(Ti+&quot;Infinity&quot;);return u}if(u.eq(oi))return u;if(n=l.precision,e.eq(oi))return ur(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;=n7){for(o=new l(oi),r=Math.ceil(n/vr+4),_r=!1;t%2&amp;&amp;(o=o.times(u),X6(o.d,r)),t=Wl(t/2),t!==0;)u=u.times(u),X6(u.d,r);return _r=!0,e.s&lt;0?new l(oi).div(o):ur(o,n)}}else if(i&lt;0)throw Error(Ti+&quot;NaN&quot;);return i=i&lt;0&amp;&amp;e.d[Math.max(r,t)]&amp;1?-1:1,u.s=1,_r=!1,o=e.times(vu(u,n+s)),_r=!0,o=s7(o),o.s=i,o};lt.toPrecision=function(e,r){var t,n,o=this,i=o.constructor;return e===void 0?(t=Vr(o),n=Mo(o,t&lt;=i.toExpNeg||t&gt;=i.toExpPos)):(_s(e,1,ql),r===void 0?r=i.rounding:_s(r,0,8),o=ur(new i(o),e,r),t=Vr(o),n=Mo(o,e&lt;=t||t&lt;=i.toExpNeg,e)),n};lt.toSignificantDigits=lt.tosd=function(e,r){var t=this,n=t.constructor;return e===void 0?(e=n.precision,r=n.rounding):(_s(e,1,ql),r===void 0?r=n.rounding:_s(r,0,8)),ur(new n(t),e,r)};lt.toString=lt.valueOf=lt.val=lt.toJSON=lt[Symbol.for(&quot;nodejs.util.inspect.custom&quot;)]=function(){var e=this,r=Vr(e),t=e.constructor;return Mo(e,r&lt;=t.toExpNeg||r&gt;=t.toExpPos)};function i7(e,r){var t,n,o,i,a,u,l,s,c=e.constructor,m=c.precision;if(!e.s||!r.s)return r.s||(r=new c(e)),_r?ur(r,m):r;if(l=e.d,s=r.d,a=e.e,o=r.e,l=l.slice(),i=a-o,i){for(i&lt;0?(n=l,i=-i,u=s.length):(n=s,o=a,u=l.length),a=Math.ceil(m/vr),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=l.length,i=s.length,u-i&lt;0&amp;&amp;(i=u,n=s,s=l,l=n),t=0;i;)t=(l[--i]=l[i]+s[i]+t)/an|0,l[i]%=an;for(t&amp;&amp;(l.unshift(t),++o),u=l.length;l[--u]==0;)l.pop();return r.d=l,r.e=o,_r?ur(r,m):r}function _s(e,r,t){if(e!==~~e||e&lt;r||e&gt;t)throw Error(jo+e)}function gs(e){var r,t,n,o=e.length-1,i=&quot;&quot;,a=e[0];if(o&gt;0){for(i+=a,r=1;r&lt;o;r++)n=e[r]+&quot;&quot;,t=vr-n.length,t&amp;&amp;(i+=ja(t)),i+=n;a=e[r],n=a+&quot;&quot;,t=vr-n.length,t&amp;&amp;(i+=ja(t))}else if(a===0)return&quot;0&quot;;for(;a%10===0;)a/=10;return i+a}var $s=(function(){function e(n,o){var i,a=0,u=n.length;for(n=n.slice();u--;)i=n[u]*o+a,n[u]=i%an|0,a=i/an|0;return a&amp;&amp;n.unshift(a),n}function r(n,o,i,a){var u,l;if(i!=a)l=i&gt;a?1:-1;else for(u=l=0;u&lt;i;u++)if(n[u]!=o[u]){l=n[u]&gt;o[u]?1:-1;break}return l}function t(n,o,i){for(var a=0;i--;)n[i]-=a,a=n[i]&lt;o[i]?1:0,n[i]=a*an+n[i]-o[i];for(;!n[0]&amp;&amp;n.length&gt;1;)n.shift()}return function(n,o,i,a){var u,l,s,c,m,h,d,g,y,p,b,x,_,E,M,D,W,L,V=n.constructor,H=n.s==o.s?1:-1,K=n.d,z=o.d;if(!n.s)return new V(n);if(!o.s)throw Error(Ti+&quot;Division by zero&quot;);for(l=n.e-o.e,W=z.length,M=K.length,d=new V(H),g=d.d=[],s=0;z[s]==(K[s]||0);)++s;if(z[s]&gt;(K[s]||0)&amp;&amp;--l,i==null?x=i=V.precision:a?x=i+(Vr(n)-Vr(o))+1:x=i,x&lt;0)return new V(0);if(x=x/vr+2|0,s=0,W==1)for(c=0,z=z[0],x++;(s&lt;M||c)&amp;&amp;x--;s++)_=c*an+(K[s]||0),g[s]=_/z|0,c=_%z|0;else{for(c=an/(z[0]+1)|0,c&gt;1&amp;&amp;(z=e(z,c),K=e(K,c),W=z.length,M=K.length),E=W,y=K.slice(0,W),p=y.length;p&lt;W;)y[p++]=0;L=z.slice(),L.unshift(0),D=z[0],z[1]&gt;=an/2&amp;&amp;++D;do c=0,u=r(z,y,W,p),u&lt;0?(b=y[0],W!=p&amp;&amp;(b=b*an+(y[1]||0)),c=b/D|0,c&gt;1?(c&gt;=an&amp;&amp;(c=an-1),m=e(z,c),h=m.length,p=y.length,u=r(m,y,h,p),u==1&amp;&amp;(c--,t(m,W&lt;h?L:z,h))):(c==0&amp;&amp;(u=c=1),m=z.slice()),h=m.length,h&lt;p&amp;&amp;m.unshift(0),t(y,m,p),u==-1&amp;&amp;(p=y.length,u=r(z,y,W,p),u&lt;1&amp;&amp;(c++,t(y,W&lt;p?L:z,p))),p=y.length):u===0&amp;&amp;(c++,y=[0]),g[s++]=c,u&amp;&amp;y[0]?y[p++]=K[E]||0:(y=[K[E]],p=1);while((E++&lt;M||y[0]!==void 0)&amp;&amp;x--)}return g[0]||g.shift(),d.e=l,ur(d,a?i+Vr(d)+1:i)}})();function s7(e,r){var t,n,o,i,a,u,l=0,s=0,c=e.constructor,m=c.precision;if(Vr(e)&gt;16)throw Error(Wx+Vr(e));if(!e.s)return new c(oi);for(_r=!1,u=m,a=new c(.03125);e.abs().gte(.1);)e=e.times(a),s+=5;for(n=Math.log(fo(2,s))/Math.LN10*2+5|0,u+=n,t=o=i=new c(oi),c.precision=u;;){if(o=ur(o.times(e),u),t=t.times(++l),a=i.plus($s(o,t,u)),gs(a.d).slice(0,u)===gs(i.d).slice(0,u)){for(;s--;)i=ur(i.times(i),u);return c.precision=m,r==null?(_r=!0,ur(i,m)):i}i=a}}function Vr(e){for(var r=e.e*vr,t=e.d[0];t&gt;=10;t/=10)r++;return r}function ov(e,r,t){if(r&gt;e.LN10.sd())throw _r=!0,t&amp;&amp;(e.precision=t),Error(Ti+&quot;LN10 precision limit exceeded&quot;);return ur(new e(e.LN10),r)}function ja(e){for(var r=&quot;&quot;;e--;)r+=&quot;0&quot;;return r}function vu(e,r){var t,n,o,i,a,u,l,s,c,m=1,h=10,d=e,g=d.d,y=d.constructor,p=y.precision;if(d.s&lt;1)throw Error(Ti+(d.s?&quot;NaN&quot;:&quot;-Infinity&quot;));if(d.eq(oi))return new y(0);if(r==null?(_r=!1,s=p):s=r,d.eq(10))return r==null&amp;&amp;(_r=!0),ov(y,s);if(s+=h,y.precision=s,t=gs(g),n=t.charAt(0),i=Vr(d),Math.abs(i)&lt;15e14){for(;n&lt;7&amp;&amp;n!=1||n==1&amp;&amp;t.charAt(1)&gt;3;)d=d.times(e),t=gs(d.d),n=t.charAt(0),m++;i=Vr(d),n&gt;1?(d=new y(&quot;0.&quot;+t),i++):d=new y(n+&quot;.&quot;+t.slice(1))}else return l=ov(y,s+2,p).times(i+&quot;&quot;),d=vu(new y(n+&quot;.&quot;+t.slice(1)),s-h).plus(l),y.precision=p,r==null?(_r=!0,ur(d,p)):d;for(u=a=d=$s(d.minus(oi),d.plus(oi),s),c=ur(d.times(d),s),o=3;;){if(a=ur(a.times(c),s),l=u.plus($s(a,new y(o),s)),gs(l.d).slice(0,s)===gs(u.d).slice(0,s))return u=u.times(2),i!==0&amp;&amp;(u=u.plus(ov(y,s+2,p).times(i+&quot;&quot;))),u=$s(u,new y(m),s),y.precision=p,r==null?(_r=!0,ur(u,p)):u;u=l,o+=2}}function K6(e,r){var t,n,o;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(o=r.length;r.charCodeAt(o-1)===48;)--o;if(r=r.slice(n,o),r){if(o-=n,t=t-n-1,e.e=Wl(t/vr),e.d=[],n=(t+1)%vr,t&lt;0&amp;&amp;(n+=vr),n&lt;o){for(n&amp;&amp;e.d.push(+r.slice(0,n)),o-=vr;n&lt;o;)e.d.push(+r.slice(n,n+=vr));r=r.slice(n),n=vr-r.length}else n-=o;for(;n--;)r+=&quot;0&quot;;if(e.d.push(+r),_r&amp;&amp;(e.e&gt;Nh||e.e&lt;-Nh))throw Error(Wx+t)}else e.s=0,e.e=0,e.d=[0];return e}function ur(e,r,t){var n,o,i,a,u,l,s,c,m=e.d;for(a=1,i=m[0];i&gt;=10;i/=10)a++;if(n=r-a,n&lt;0)n+=vr,o=r,s=m[c=0];else{if(c=Math.ceil((n+1)/vr),i=m.length,c&gt;=i)return e;for(s=i=m[c],a=1;i&gt;=10;i/=10)a++;n%=vr,o=n-vr+a}if(t!==void 0&amp;&amp;(i=fo(10,a-o-1),u=s/i%10|0,l=r&lt;0||m[c+1]!==void 0||s%i,l=t&lt;4?(u||l)&amp;&amp;(t==0||t==(e.s&lt;0?3:2)):u&gt;5||u==5&amp;&amp;(t==4||l||t==6&amp;&amp;(n&gt;0?o&gt;0?s/fo(10,a-o):0:m[c-1])%10&amp;1||t==(e.s&lt;0?8:7))),r&lt;1||!m[0])return l?(i=Vr(e),m.length=1,r=r-i-1,m[0]=fo(10,(vr-r%vr)%vr),e.e=Wl(-r/vr)||0):(m.length=1,m[0]=e.e=e.s=0),e;if(n==0?(m.length=c,i=1,c--):(m.length=c+1,i=fo(10,vr-n),m[c]=o&gt;0?(s/fo(10,a-o)%fo(10,o)|0)*i:0),l)for(;;)if(c==0){(m[0]+=i)==an&amp;&amp;(m[0]=1,++e.e);break}else{if(m[c]+=i,m[c]!=an)break;m[c--]=0,i=1}for(n=m.length;m[--n]===0;)m.pop();if(_r&amp;&amp;(e.e&gt;Nh||e.e&lt;-Nh))throw Error(Wx+Vr(e));return e}function a7(e,r){var t,n,o,i,a,u,l,s,c,m,h=e.constructor,d=h.precision;if(!e.s||!r.s)return r.s?r.s=-r.s:r=new h(e),_r?ur(r,d):r;if(l=e.d,m=r.d,n=r.e,s=e.e,l=l.slice(),a=s-n,a){for(c=a&lt;0,c?(t=l,a=-a,u=m.length):(t=m,n=s,u=l.length),o=Math.max(Math.ceil(d/vr),u)+2,a&gt;o&amp;&amp;(a=o,t.length=1),t.reverse(),o=a;o--;)t.push(0);t.reverse()}else{for(o=l.length,u=m.length,c=o&lt;u,c&amp;&amp;(u=o),o=0;o&lt;u;o++)if(l[o]!=m[o]){c=l[o]&lt;m[o];break}a=0}for(c&amp;&amp;(t=l,l=m,m=t,r.s=-r.s),u=l.length,o=m.length-u;o&gt;0;--o)l[u++]=0;for(o=m.length;o&gt;a;){if(l[--o]&lt;m[o]){for(i=o;i&amp;&amp;l[--i]===0;)l[i]=an-1;--l[i],l[o]+=an}l[o]-=m[o]}for(;l[--u]===0;)l.pop();for(;l[0]===0;l.shift())--n;return l[0]?(r.d=l,r.e=n,_r?ur(r,d):r):new h(0)}function Mo(e,r,t){var n,o=Vr(e),i=gs(e.d),a=i.length;return r?(t&amp;&amp;(n=t-a)&gt;0?i=i.charAt(0)+&quot;.&quot;+i.slice(1)+ja(n):a&gt;1&amp;&amp;(i=i.charAt(0)+&quot;.&quot;+i.slice(1)),i=i+(o&lt;0?&quot;e&quot;:&quot;e+&quot;)+o):o&lt;0?(i=&quot;0.&quot;+ja(-o-1)+i,t&amp;&amp;(n=t-a)&gt;0&amp;&amp;(i+=ja(n))):o&gt;=a?(i+=ja(o+1-a),t&amp;&amp;(n=t-o-1)&gt;0&amp;&amp;(i=i+&quot;.&quot;+ja(n))):((n=o+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;(o+1===a&amp;&amp;(i+=&quot;.&quot;),i+=ja(n))),e.s&lt;0?&quot;-&quot;+i:i}function X6(e,r){if(e.length&gt;r)return e.length=r,!0}function o7(e){var r,t,n;function o(i){var a=this;if(!(a instanceof o))return new o(i);if(a.constructor=o,i instanceof o){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(jo+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(jo+i);if(i.charCodeAt(0)===45?(i=i.slice(1),a.s=-1):a.s=1,oK.test(i))K6(a,i);else throw Error(jo+i)}if(o.prototype=lt,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=o7,o.config=o.set=lK,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 o.config(e),o}function lK(e){if(!e||typeof e!=&quot;object&quot;)throw Error(Ti+&quot;Object expected&quot;);var r,t,n,o=[&quot;precision&quot;,1,ql,&quot;rounding&quot;,0,8,&quot;toExpNeg&quot;,-1/0,0,&quot;toExpPos&quot;,0,1/0];for(r=0;r&lt;o.length;r+=3)if((n=e[t=o[r]])!==void 0)if(Wl(n)===n&amp;&amp;n&gt;=o[r+1]&amp;&amp;n&lt;=o[r+2])this[t]=n;else throw Error(jo+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(jo+t+&quot;: &quot;+n);return this}var Hx=o7(aK);oi=new Hx(1);const ar=Hx;var cK=e=&gt;e,l7={},c7=e=&gt;e===l7,G6=e=&gt;function r(){return arguments.length===0||arguments.length===1&amp;&amp;c7(arguments.length&lt;=0?void 0:arguments[0])?r:e(...arguments)},u7=(e,r)=&gt;e===1?r:G6(function(){for(var t=arguments.length,n=new Array(t),o=0;o&lt;t;o++)n[o]=arguments[o];var i=n.filter(a=&gt;a!==l7).length;return i&gt;=e?r(...n):u7(e-i,G6(function(){for(var a=arguments.length,u=new Array(a),l=0;l&lt;a;l++)u[l]=arguments[l];var s=n.map(c=&gt;c7(c)?u.shift():c);return r(...s,...u)}))}),uK=e=&gt;u7(e.length,e),Wy=(e,r)=&gt;{for(var t=[],n=e;n&lt;r;++n)t[n-e]=n;return t},dK=uK((e,r)=&gt;Array.isArray(r)?r.map(e):Object.keys(r).map(t=&gt;r[t]).map(e)),fK=function(){for(var r=arguments.length,t=new Array(r),n=0;n&lt;r;n++)t[n]=arguments[n];if(!t.length)return cK;var o=t.reverse(),i=o[0],a=o.slice(1);return function(){return a.reduce((u,l)=&gt;l(u),i(...arguments))}};function d7(e){var r;return e===0?r=1:r=Math.floor(new ar(e).abs().log(10).toNumber())+1,r}function f7(e,r,t){for(var n=new ar(e),o=0,i=[];n.lt(r)&amp;&amp;o&lt;1e5;)i.push(n.toNumber()),n=n.add(t),o++;return i}var h7=e=&gt;{var[r,t]=e,[n,o]=[r,t];return r&gt;t&amp;&amp;([n,o]=[t,r]),[n,o]},m7=(e,r,t)=&gt;{if(e.lte(0))return new ar(0);var n=d7(e.toNumber()),o=new ar(10).pow(n),i=e.div(o),a=n!==1?.05:.1,u=new ar(Math.ceil(i.div(a).toNumber())).add(t).mul(a),l=u.mul(o);return r?new ar(l.toNumber()):new ar(Math.ceil(l.toNumber()))},hK=(e,r,t)=&gt;{var n=new ar(1),o=new ar(e);if(!o.isint()&amp;&amp;t){var i=Math.abs(e);i&lt;1?(n=new ar(10).pow(d7(e)-1),o=new ar(Math.floor(o.div(n).toNumber())).mul(n)):i&gt;1&amp;&amp;(o=new ar(Math.floor(e)))}else e===0?o=new ar(Math.floor((r-1)/2)):t||(o=new ar(Math.floor(e)));var a=Math.floor((r-1)/2),u=fK(dK(l=&gt;o.add(new ar(l-a).mul(n)).toNumber()),Wy);return u(0,r)},p7=function(r,t,n,o){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 ar(0),tickMin:new ar(0),tickMax:new ar(0)};var a=m7(new ar(t).sub(r).div(n-1),o,i),u;r&lt;=0&amp;&amp;t&gt;=0?u=new ar(0):(u=new ar(r).add(t).div(2),u=u.sub(new ar(u).mod(a)));var l=Math.ceil(u.sub(r).div(a).toNumber()),s=Math.ceil(new ar(t).sub(u).div(a).toNumber()),c=l+s+1;return c&gt;n?p7(r,t,n,o,i+1):(c&lt;n&amp;&amp;(s=t&gt;0?s+(n-c):s,l=t&gt;0?l:l+(n-c)),{step:a,tickMin:u.sub(new ar(l).mul(a)),tickMax:u.add(new ar(s).mul(a))})},mK=function(r){var[t,n]=r,o=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(o,2),[u,l]=h7([t,n]);if(u===-1/0||l===1/0){var s=l===1/0?[u,...Wy(0,o-1).map(()=&gt;1/0)]:[...Wy(0,o-1).map(()=&gt;-1/0),l];return t&gt;n?s.reverse():s}if(u===l)return hK(u,o,i);var{step:c,tickMin:m,tickMax:h}=p7(u,l,a,i,0),d=f7(m,h.add(new ar(.1).mul(c)),c);return t&gt;n?d.reverse():d},pK=function(r,t){var[n,o]=r,i=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:!0,[a,u]=h7([n,o]);if(a===-1/0||u===1/0)return[n,o];if(a===u)return[a];var l=Math.max(t,2),s=m7(new ar(u).sub(a).div(l-1),i,0),c=[...f7(new ar(a),new ar(u),s),u];return i===!1&amp;&amp;(c=c.map(m=&gt;Math.round(m))),n&gt;o?c.reverse():c},g7=e=&gt;e.rootProps.maxBarSize,gK=e=&gt;e.rootProps.barGap,v7=e=&gt;e.rootProps.barCategoryGap,vK=e=&gt;e.rootProps.barSize,Mm=e=&gt;e.rootProps.stackOffset,y7=e=&gt;e.rootProps.reverseStackOrder,Kx=e=&gt;e.options.chartName,Xx=e=&gt;e.rootProps.syncId,b7=e=&gt;e.rootProps.syncMethod,Gx=e=&gt;e.options.eventEmitter,cn={grid:-100,barBackground:-50,area:100,cursorRectangle:200,bar:300,line:400,axis:500,scatter:600,activeBar:1e3,cursorLine:1100,activeDot:1200,label:2e3},Ds={allowDuplicatedCategory:!0,angleAxisId:0,reversed:!1,scale:&quot;auto&quot;,tick:!0,type:&quot;category&quot;},ai={allowDataOverflow:!1,allowDuplicatedCategory:!0,radiusAxisId:0,scale:&quot;auto&quot;,tick:!0,tickCount:5,type:&quot;number&quot;},Om=(e,r)=&gt;{if(!(!e||!r))return e!=null&amp;&amp;e.reversed?[r[1],r[0]]:r},yK={allowDataOverflow:!1,allowDecimals:!1,allowDuplicatedCategory:!1,dataKey:void 0,domain:void 0,id:Ds.angleAxisId,includeHidden:!1,name:void 0,reversed:Ds.reversed,scale:Ds.scale,tick:Ds.tick,tickCount:void 0,ticks:void 0,type:Ds.type,unit:void 0},bK={allowDataOverflow:ai.allowDataOverflow,allowDecimals:!1,allowDuplicatedCategory:ai.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:ai.radiusAxisId,includeHidden:!1,name:void 0,reversed:!1,scale:ai.scale,tick:ai.tick,tickCount:ai.tickCount,ticks:void 0,type:ai.type,unit:void 0},xK={allowDataOverflow:!1,allowDecimals:!1,allowDuplicatedCategory:Ds.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:Ds.angleAxisId,includeHidden:!1,name:void 0,reversed:!1,scale:Ds.scale,tick:Ds.tick,tickCount:void 0,ticks:void 0,type:&quot;number&quot;,unit:void 0},wK={allowDataOverflow:ai.allowDataOverflow,allowDecimals:!1,allowDuplicatedCategory:ai.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:ai.radiusAxisId,includeHidden:!1,name:void 0,reversed:!1,scale:ai.scale,tick:ai.tick,tickCount:ai.tickCount,ticks:void 0,type:&quot;category&quot;,unit:void 0},Yx=(e,r)=&gt;e.polarAxis.angleAxis[r]!=null?e.polarAxis.angleAxis[r]:e.layout.layoutType===&quot;radial&quot;?xK:yK,Zx=(e,r)=&gt;e.polarAxis.radiusAxis[r]!=null?e.polarAxis.radiusAxis[r]:e.layout.layoutType===&quot;radial&quot;?wK:bK,Tm=e=&gt;e.polarOptions,Qx=Ee([Qs,Js,un],pq),x7=Ee([Tm,Qx],(e,r)=&gt;{if(e!=null)return es(e.innerRadius,r,0)}),w7=Ee([Tm,Qx],(e,r)=&gt;{if(e!=null)return es(e.outerRadius,r,r*.8)}),_K=e=&gt;{if(e==null)return[0,0];var{startAngle:r,endAngle:t}=e;return[r,t]},_7=Ee([Tm],_K);Ee([Yx,_7],Om);var j7=Ee([Qx,x7,w7],(e,r,t)=&gt;{if(!(e==null||r==null||t==null))return[r,t]});Ee([Zx,j7],Om);var S7=Ee([ir,Tm,x7,w7,Qs,Js],(e,r,t,n,o,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:l,endAngle:s}=r;return{cx:es(a,o,o/2),cy:es(u,i,i/2),innerRadius:t,outerRadius:n,startAngle:l,endAngle:s,clockWise:!1}}}),Gr=(e,r)=&gt;r,Pm=(e,r,t)=&gt;t;function Jx(e){return e?.id}function k7(e,r,t){var{chartData:n=[]}=r,{allowDuplicatedCategory:o,dataKey:i}=t,a=new Map;return e.forEach(u=&gt;{var l,s=(l=u.data)!==null&amp;&amp;l!==void 0?l:n;if(!(s==null||s.length===0)){var c=Jx(u);s.forEach((m,h)=&gt;{var d=i==null||o?h:String(Ur(m,i,null)),g=Ur(m,u.dataKey,0),y;a.has(d)?y=a.get(d):y={},Object.assign(y,{[c]:g}),a.set(d,y)})}}),Array.from(a.values())}function Im(e){return&quot;stackId&quot;in e&amp;&amp;e.stackId!=null&amp;&amp;e.dataKey!=null}var Rm=(e,r)=&gt;e===r?!0:e==null||r==null?!1:e[0]===r[0]&amp;&amp;e[1]===r[1];function Dm(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 jK(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 Yr=e=&gt;{var r=ir(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;},Hl=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(o){return Object.getOwnPropertyDescriptor(e,o).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?Y6(Object(t),!0).forEach(function(n){SK(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 SK(e,r,t){return(r=kK(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function kK(e){var r=NK(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function NK(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 Hy=[0,&quot;auto&quot;],nn={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},N7=(e,r)=&gt;e.cartesianAxis.xAxis[r],ra=(e,r)=&gt;{var t=N7(e,r);return t??nn},sn={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:Hy,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:Mu},C7=(e,r)=&gt;e.cartesianAxis.yAxis[r],na=(e,r)=&gt;{var t=C7(e,r);return t??sn},CK={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;},e1=(e,r)=&gt;{var t=e.cartesianAxis.zAxis[r];return t??CK},Un=(e,r,t)=&gt;{switch(r){case&quot;xAxis&quot;:return ra(e,t);case&quot;yAxis&quot;:return na(e,t);case&quot;zAxis&quot;:return e1(e,t);case&quot;angleAxis&quot;:return Yx(e,t);case&quot;radiusAxis&quot;:return Zx(e,t);default:throw new Error(&quot;Unexpected axis type: &quot;.concat(r))}},EK=(e,r,t)=&gt;{switch(r){case&quot;xAxis&quot;:return ra(e,t);case&quot;yAxis&quot;:return na(e,t);default:throw new Error(&quot;Unexpected axis type: &quot;.concat(r))}},Du=(e,r,t)=&gt;{switch(r){case&quot;xAxis&quot;:return ra(e,t);case&quot;yAxis&quot;:return na(e,t);case&quot;angleAxis&quot;:return Yx(e,t);case&quot;radiusAxis&quot;:return Zx(e,t);default:throw new Error(&quot;Unexpected axis type: &quot;.concat(r))}},E7=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 A7(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 Lm=e=&gt;e.graphicalItems.cartesianItems,AK=Ee([Gr,Pm],A7),M7=(e,r,t)=&gt;e.filter(t).filter(n=&gt;r?.includeHidden===!0?!0:!n.hide),Lu=Ee([Lm,Un,AK],M7,{memoizeOptions:{resultEqualityCheck:Dm}}),O7=Ee([Lu],e=&gt;e.filter(r=&gt;r.type===&quot;area&quot;||r.type===&quot;bar&quot;).filter(Im)),T7=e=&gt;e.filter(r=&gt;!(&quot;stackId&quot;in r)||r.stackId===void 0),MK=Ee([Lu],T7),P7=e=&gt;e.map(r=&gt;r.data).filter(Boolean).flat(1),OK=Ee([Lu],P7,{memoizeOptions:{resultEqualityCheck:Dm}}),I7=(e,r)=&gt;{var{chartData:t=[],dataStartIndex:n,dataEndIndex:o}=r;return e.length&gt;0?e:t.slice(n,o+1)},t1=Ee([OK,qx],I7),R7=(e,r,t)=&gt;r?.dataKey!=null?e.map(n=&gt;({value:Ur(n,r.dataKey)})):t.length&gt;0?t.map(n=&gt;n.dataKey).flatMap(n=&gt;e.map(o=&gt;({value:Ur(o,n)}))):e.map(n=&gt;({value:n})),Fm=Ee([t1,Un,Lu],R7);function D7(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 Ef(e){if(xs(e)||e instanceof Date){var r=Number(e);if(Er(r))return r}}function Z6(e){if(Array.isArray(e)){var r=[Ef(e[0]),Ef(e[1])];return Ra(r)?r:void 0}var t=Ef(e);if(t!=null)return[t,t]}function Gs(e){return e.map(Ef).filter(vB)}function TK(e,r,t){return!t||typeof r!=&quot;number&quot;||Ji(r)?[]:t.length?Gs(t.flatMap(n=&gt;{var o=Ur(e,n.dataKey),i,a;if(Array.isArray(o)?[i,a]=o:i=a=o,!(!Er(i)||!Er(a)))return[r-i,r+a]})):[]}var Zr=e=&gt;{var r=Yr(e),t=Hl(e);return Du(e,r,t)},Fu=Ee([Zr],e=&gt;e?.dataKey),PK=Ee([O7,qx,Zr],k7),L7=(e,r,t,n)=&gt;{var o={},i=r.reduce((a,u)=&gt;{if(u.stackId==null)return a;var l=a[u.stackId];return l==null&amp;&amp;(l=[]),l.push(u),a[u.stackId]=l,a},o);return Object.fromEntries(Object.entries(i).map(a=&gt;{var[u,l]=a,s=n?[...l].reverse():l,c=s.map(Jx);return[u,{stackedData:W$(e,c,t),graphicalItems:s}]}))},Ky=Ee([PK,O7,Mm,y7],L7),F7=(e,r,t,n)=&gt;{var{dataStartIndex:o,dataEndIndex:i}=r;if(n==null&amp;&amp;t!==&quot;zAxis&quot;){var a=Y$(e,o,i);if(!(a!=null&amp;&amp;a[0]===0&amp;&amp;a[1]===0))return a}},IK=Ee([Un],e=&gt;e.allowDataOverflow),r1=e=&gt;{var r;if(e==null||!(&quot;domain&quot;in e))return Hy;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=Gs(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:Hy},B7=Ee([Un],r1),z7=Ee([B7,IK],r7),RK=Ee([Ky,ta,Gr,z7],F7,{memoizeOptions:{resultEqualityCheck:Rm}}),n1=e=&gt;e.errorBars,DK=(e,r,t)=&gt;e.flatMap(n=&gt;r[n.id]).filter(Boolean).filter(n=&gt;D7(t,n)),Eh=function(){for(var r=arguments.length,t=new Array(r),n=0;n&lt;r;n++)t[n]=arguments[n];var o=t.filter(Boolean);if(o.length!==0){var i=o.flat(),a=Math.min(...i),u=Math.max(...i);return[a,u]}},$7=(e,r,t,n,o)=&gt;{var i,a;if(t.length&gt;0&amp;&amp;e.forEach(u=&gt;{t.forEach(l=&gt;{var s,c,m=(s=n[l.id])===null||s===void 0?void 0:s.filter(b=&gt;D7(o,b)),h=Ur(u,(c=r.dataKey)!==null&amp;&amp;c!==void 0?c:l.dataKey),d=TK(u,h,m);if(d.length&gt;=2){var g=Math.min(...d),y=Math.max(...d);(i==null||g&lt;i)&amp;&amp;(i=g),(a==null||y&gt;a)&amp;&amp;(a=y)}var p=Z6(h);p!=null&amp;&amp;(i=i==null?p[0]:Math.min(i,p[0]),a=a==null?p[1]:Math.max(a,p[1]))})}),r?.dataKey!=null&amp;&amp;e.forEach(u=&gt;{var l=Z6(Ur(u,r.dataKey));l!=null&amp;&amp;(i=i==null?l[0]:Math.min(i,l[0]),a=a==null?l[1]:Math.max(a,l[1]))}),Er(i)&amp;&amp;Er(a))return[i,a]},LK=Ee([t1,Un,MK,n1,Gr],$7,{memoizeOptions:{resultEqualityCheck:Rm}});function FK(e){var{value:r}=e;if(xs(r)||r instanceof Date)return r}var BK=(e,r,t)=&gt;{var n=e.map(FK).filter(o=&gt;o!=null);return t&amp;&amp;(r.dataKey==null||r.allowDuplicatedCategory&amp;&amp;rN(n))?wC(0,e.length):r.allowDuplicatedCategory?n:Array.from(new Set(n))},U7=e=&gt;e.referenceElements.dots,Kl=(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),zK=Ee([U7,Gr,Pm],Kl),V7=e=&gt;e.referenceElements.areas,$K=Ee([V7,Gr,Pm],Kl),q7=e=&gt;e.referenceElements.lines,UK=Ee([q7,Gr,Pm],Kl),W7=(e,r)=&gt;{if(e!=null){var t=Gs(e.map(n=&gt;r===&quot;xAxis&quot;?n.x:n.y));if(t.length!==0)return[Math.min(...t),Math.max(...t)]}},VK=Ee(zK,Gr,W7),H7=(e,r)=&gt;{if(e!=null){var t=Gs(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)]}},qK=Ee([$K,Gr],H7);function WK(e){var r;if(e.x!=null)return Gs([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?[]:Gs(t)}function HK(e){var r;if(e.y!=null)return Gs([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?[]:Gs(t)}var K7=(e,r)=&gt;{if(e!=null){var t=e.flatMap(n=&gt;r===&quot;xAxis&quot;?WK(n):HK(n));if(t.length!==0)return[Math.min(...t),Math.max(...t)]}},KK=Ee([UK,Gr],K7),XK=Ee(VK,KK,qK,(e,r,t)=&gt;Eh(e,t,r)),X7=(e,r,t,n,o,i,a,u)=&gt;{if(t!=null)return t;var l=a===&quot;vertical&quot;&amp;&amp;u===&quot;xAxis&quot;||a===&quot;horizontal&quot;&amp;&amp;u===&quot;yAxis&quot;,s=l?Eh(n,i,o):Eh(i,o);return sK(r,s,e.allowDataOverflow)},GK=Ee([Un,B7,z7,RK,LK,XK,ir,Gr],X7,{memoizeOptions:{resultEqualityCheck:Rm}}),YK=[0,1],G7=(e,r,t,n,o,i,a)=&gt;{if(!((e==null||t==null||t.length===0)&amp;&amp;a===void 0)){var{dataKey:u,type:l}=e,s=za(r,i);if(s&amp;&amp;u==null){var c;return wC(0,(c=t?.length)!==null&amp;&amp;c!==void 0?c:0)}return l===&quot;category&quot;?BK(n,e,s):o===&quot;expand&quot;?YK:a}},i1=Ee([Un,ir,t1,Fm,Mm,Gr,GK],G7),Y7=(e,r,t,n,o)=&gt;{if(e!=null){var{scale:i,type:a}=e;if(i===&quot;auto&quot;)return r===&quot;radial&quot;&amp;&amp;o===&quot;radiusAxis&quot;?&quot;band&quot;:r===&quot;radial&quot;&amp;&amp;o===&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(Nu(i));return u in Uc?u:&quot;point&quot;}}},Bu=Ee([Un,ir,E7,Kx,Gr],Y7);function ZK(e){if(e!=null){if(e in Uc)return Uc[e]();var r=&quot;scale&quot;.concat(Nu(e));if(r in Uc)return Uc[r]()}}function s1(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 o=ZK(r);if(o!=null){var i=o.domain(t).range(n);return z$(i),i}}}var Z7=(e,r,t)=&gt;{var n=r1(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;Ra(e))return mK(e,r.tickCount,r.allowDecimals);if(r!=null&amp;&amp;r.tickCount&amp;&amp;r.type===&quot;number&quot;&amp;&amp;Ra(e))return pK(e,r.tickCount,r.allowDecimals)}},a1=Ee([i1,Du,Bu],Z7),Q7=(e,r,t,n)=&gt;{if(n!==&quot;angleAxis&quot;&amp;&amp;e?.type===&quot;number&quot;&amp;&amp;Ra(r)&amp;&amp;Array.isArray(t)&amp;&amp;t.length&gt;0){var o=r[0],i=t[0],a=r[1],u=t[t.length-1];return[Math.min(o,i),Math.max(a,u)]}return r},QK=Ee([Un,i1,a1,Gr],Q7),JK=Ee(Fm,Un,(e,r)=&gt;{if(!(!r||r.type!==&quot;number&quot;)){var t=1/0,n=Array.from(Gs(e.map(m=&gt;m.value))).sort((m,h)=&gt;m-h),o=n[0],i=n[n.length-1];if(o==null||i==null)return 1/0;var a=i-o;if(a===0)return 1/0;for(var u=0;u&lt;n.length-1;u++){var l=n[u],s=n[u+1];if(!(l==null||s==null)){var c=s-l;t=Math.min(t,c)}}return t/a}}),J7=Ee(JK,ir,v7,un,(e,r,t,n,o)=&gt;o,(e,r,t,n,o)=&gt;{if(!Er(e))return 0;var i=r===&quot;vertical&quot;?n.height:n.width;if(o===&quot;gap&quot;)return e*i/2;if(o===&quot;no-gap&quot;){var a=es(t,e*i),u=e*i/2;return u-a-(u-a)/i*a}return 0}),eX=(e,r,t)=&gt;{var n=ra(e,r);return n==null||typeof n.padding!=&quot;string&quot;?0:J7(e,&quot;xAxis&quot;,r,t,n.padding)},tX=(e,r,t)=&gt;{var n=na(e,r);return n==null||typeof n.padding!=&quot;string&quot;?0:J7(e,&quot;yAxis&quot;,r,t,n.padding)},rX=Ee(ra,eX,(e,r)=&gt;{var t,n;if(e==null)return{left:0,right:0};var{padding:o}=e;return typeof o==&quot;string&quot;?{left:r,right:r}:{left:((t=o.left)!==null&amp;&amp;t!==void 0?t:0)+r,right:((n=o.right)!==null&amp;&amp;n!==void 0?n:0)+r}}),nX=Ee(na,tX,(e,r)=&gt;{var t,n;if(e==null)return{top:0,bottom:0};var{padding:o}=e;return typeof o==&quot;string&quot;?{top:r,bottom:r}:{top:((t=o.top)!==null&amp;&amp;t!==void 0?t:0)+r,bottom:((n=o.bottom)!==null&amp;&amp;n!==void 0?n:0)+r}}),iX=Ee([un,rX,pm,mm,(e,r,t)=&gt;t],(e,r,t,n,o)=&gt;{var{padding:i}=n;return o?[i.left,t.width-i.right]:[e.left+r.left,e.left+e.width-r.right]}),sX=Ee([un,ir,nX,pm,mm,(e,r,t)=&gt;t],(e,r,t,n,o,i)=&gt;{var{padding:a}=o;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]}),zu=(e,r,t,n)=&gt;{var o;switch(r){case&quot;xAxis&quot;:return iX(e,t,n);case&quot;yAxis&quot;:return sX(e,t,n);case&quot;zAxis&quot;:return(o=e1(e,t))===null||o===void 0?void 0:o.range;case&quot;angleAxis&quot;:return _7(e);case&quot;radiusAxis&quot;:return j7(e,t);default:return}},e9=Ee([Un,zu],Om),Bm=Ee([Un,Bu,QK,e9],s1);Ee([Lu,n1,Gr],DK);function t9(e,r){return e.id&lt;r.id?-1:e.id&gt;r.id?1:0}var zm=(e,r)=&gt;r,$m=(e,r,t)=&gt;t,aX=Ee(fm,zm,$m,(e,r,t)=&gt;e.filter(n=&gt;n.orientation===r).filter(n=&gt;n.mirror===t).sort(t9)),oX=Ee(hm,zm,$m,(e,r,t)=&gt;e.filter(n=&gt;n.orientation===r).filter(n=&gt;n.mirror===t).sort(t9)),r9=(e,r)=&gt;({width:e.width,height:r.height}),lX=(e,r)=&gt;{var t=typeof r.width==&quot;number&quot;?r.width:Mu;return{width:t,height:e.height}},n9=Ee(un,ra,r9),cX=(e,r,t)=&gt;{switch(r){case&quot;top&quot;:return e.top;case&quot;bottom&quot;:return t-e.bottom;default:return 0}},uX=(e,r,t)=&gt;{switch(r){case&quot;left&quot;:return e.left;case&quot;right&quot;:return t-e.right;default:return 0}},dX=Ee(Js,un,aX,zm,$m,(e,r,t,n,o)=&gt;{var i={},a;return t.forEach(u=&gt;{var l=r9(r,u);a==null&amp;&amp;(a=cX(r,n,e));var s=n===&quot;top&quot;&amp;&amp;!o||n===&quot;bottom&quot;&amp;&amp;o;i[u.id]=a-Number(s)*l.height,a+=(s?-1:1)*l.height}),i}),fX=Ee(Qs,un,oX,zm,$m,(e,r,t,n,o)=&gt;{var i={},a;return t.forEach(u=&gt;{var l=lX(r,u);a==null&amp;&amp;(a=uX(r,n,e));var s=n===&quot;left&quot;&amp;&amp;!o||n===&quot;right&quot;&amp;&amp;o;i[u.id]=a-Number(s)*l.width,a+=(s?-1:1)*l.width}),i}),hX=(e,r)=&gt;{var t=ra(e,r);if(t!=null)return dX(e,t.orientation,t.mirror)},mX=Ee([un,ra,hX,(e,r)=&gt;r],(e,r,t,n)=&gt;{if(r!=null){var o=t?.[n];return o==null?{x:e.left,y:0}:{x:e.left,y:o}}}),pX=(e,r)=&gt;{var t=na(e,r);if(t!=null)return fX(e,t.orientation,t.mirror)},gX=Ee([un,na,pX,(e,r)=&gt;r],(e,r,t,n)=&gt;{if(r!=null){var o=t?.[n];return o==null?{x:0,y:e.top}:{x:o,y:e.top}}}),i9=Ee(un,na,(e,r)=&gt;{var t=typeof r.width==&quot;number&quot;?r.width:Mu;return{width:t,height:e.height}}),Q6=(e,r,t)=&gt;{switch(r){case&quot;xAxis&quot;:return n9(e,t).width;case&quot;yAxis&quot;:return i9(e,t).height;default:return}},s9=(e,r,t,n)=&gt;{if(t!=null){var{allowDuplicatedCategory:o,type:i,dataKey:a}=t,u=za(e,n),l=r.map(s=&gt;s.value);if(a&amp;&amp;u&amp;&amp;i===&quot;category&quot;&amp;&amp;o&amp;&amp;rN(l))return l}},o1=Ee([ir,Fm,Un,Gr],s9),a9=(e,r,t,n)=&gt;{if(!(t==null||t.dataKey==null)){var{type:o,scale:i}=t,a=za(e,n);if(a&amp;&amp;(o===&quot;number&quot;||i!==&quot;auto&quot;))return r.map(u=&gt;u.value)}},l1=Ee([ir,Fm,Du,Gr],a9),J6=Ee([ir,EK,Bu,Bm,o1,l1,zu,a1,Gr],(e,r,t,n,o,i,a,u,l)=&gt;{if(r!=null){var s=za(e,l);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:l,categoricalDomain:i,duplicateDomain:o,isCategorical:s,niceTicks:u,range:a,realScaleType:t,scale:n}}}),vX=(e,r,t,n,o,i,a,u,l)=&gt;{if(!(r==null||n==null)){var s=za(e,l),{type:c,ticks:m,tickCount:h}=r,d=t===&quot;scaleBand&quot;&amp;&amp;typeof n.bandwidth==&quot;function&quot;?n.bandwidth()/2:2,g=c===&quot;category&quot;&amp;&amp;n.bandwidth?n.bandwidth()/d:0;g=l===&quot;angleAxis&quot;&amp;&amp;i!=null&amp;&amp;i.length&gt;=2?Qn(i[0]-i[1])*2*g:g;var y=m||o;if(y){var p=y.map((b,x)=&gt;{var _=a?a.indexOf(b):b;return{index:x,coordinate:n(_)+g,value:b,offset:g}});return p.filter(b=&gt;Er(b.coordinate))}return s&amp;&amp;u?u.map((b,x)=&gt;({coordinate:n(b)+g,value:b,index:x,offset:g})).filter(b=&gt;Er(b.coordinate)):n.ticks?n.ticks(h).map(b=&gt;({coordinate:n(b)+g,value:b,offset:g})):n.domain().map((b,x)=&gt;({coordinate:n(b)+g,value:a?a[b]:b,index:x,offset:g}))}},o9=Ee([ir,Du,Bu,Bm,a1,zu,o1,l1,Gr],vX),yX=(e,r,t,n,o,i,a)=&gt;{if(!(r==null||t==null||n==null||n[0]===n[1])){var u=za(e,a),{tickCount:l}=r,s=0;return s=a===&quot;angleAxis&quot;&amp;&amp;n?.length&gt;=2?Qn(n[0]-n[1])*2*s:s,u&amp;&amp;i?i.map((c,m)=&gt;({coordinate:t(c)+s,value:c,index:m,offset:s})):t.ticks?t.ticks(l).map(c=&gt;({coordinate:t(c)+s,value:c,offset:s})):t.domain().map((c,m)=&gt;({coordinate:t(c)+s,value:o?o[c]:c,index:m,offset:s}))}},Da=Ee([ir,Du,Bm,zu,o1,l1,Gr],yX),La=Ee(Un,Bm,(e,r)=&gt;{if(!(e==null||r==null))return Ch(Ch({},e),{},{scale:r})}),bX=Ee([Un,Bu,i1,e9],s1);Ee((e,r,t)=&gt;e1(e,t),bX,(e,r)=&gt;{if(!(e==null||r==null))return Ch(Ch({},e),{},{scale:r})});var xX=Ee([ir,fm,hm],(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}}),l9=e=&gt;e.options.defaultTooltipEventType,c9=e=&gt;e.options.validateTooltipEventTypes;function u9(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 c1(e,r){var t=l9(e),n=c9(e);return u9(r,t,n)}function wX(e){return bt(r=&gt;c1(r,e))}var d9=(e,r)=&gt;{var t,n=Number(r);if(!(Ji(n)||r==null))return n&gt;=0?e==null||(t=e[n])===null||t===void 0?void 0:t.value:void 0},_X=e=&gt;e.tooltip.settings,ka={active:!1,index:null,dataKey:void 0,graphicalItemId:void 0,coordinate:void 0},jX={itemInteraction:{click:ka,hover:ka},axisInteraction:{click:ka,hover:ka},keyboardInteraction:ka,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}},f9=ti({name:&quot;tooltip&quot;,initialState:jX,reducers:{addTooltipEntrySettings:{reducer(e,r){e.tooltipItemPayloads.push(r.payload)},prepare:wr()},replaceTooltipEntrySettings:{reducer(e,r){var{prev:t,next:n}=r.payload,o=Zi(e).tooltipItemPayloads.indexOf(t);o&gt;-1&amp;&amp;(e.tooltipItemPayloads[o]=n)},prepare:wr()},removeTooltipEntrySettings:{reducer(e,r){var t=Zi(e).tooltipItemPayloads.indexOf(r.payload);t&gt;-1&amp;&amp;e.tooltipItemPayloads.splice(t,1)},prepare:wr()},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:SX,replaceTooltipEntrySettings:kX,removeTooltipEntrySettings:NX,setTooltipSettingsState:CX,setActiveMouseOverItemIndex:h9,mouseLeaveItem:EX,mouseLeaveChart:m9,setActiveClickItemIndex:AX,setMouseOverAxisIndex:p9,setMouseClickAxisIndex:MX,setSyncInteraction:Xy,setKeyboardInteraction:Gy}=f9.actions,OX=f9.reducer;function ej(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function hf(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){TX(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 TX(e,r,t){return(r=PX(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function PX(e){var r=IX(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function IX(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 RX(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 DX(e){return e.index!=null}var g9=(e,r,t,n)=&gt;{if(r==null)return ka;var o=RX(e,r,t);if(o==null)return ka;if(o.active)return o;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(DX(o)){if(i)return hf(hf({},o),{},{active:!0})}else if(n!=null)return{active:!0,coordinate:void 0,dataKey:void 0,index:n,graphicalItemId:void 0};return hf(hf({},ka),{},{coordinate:o.coordinate})};function LX(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 FX(e,r){var t=LX(e),n=r[0],o=r[1];if(t===void 0)return!1;var i=Math.min(n,o),a=Math.max(n,o);return t&gt;=i&amp;&amp;t&lt;=a}function BX(e,r,t){if(t==null||r==null)return!0;var n=Ur(e,r);return n==null||!Ra(t)?!0:FX(n,t)}var u1=(e,r,t,n)=&gt;{var o=e?.index;if(o==null)return null;var i=Number(o);if(!Er(i))return o;var a=0,u=1/0;r.length&gt;0&amp;&amp;(u=r.length-1);var l=Math.max(a,Math.min(i,u)),s=r[l];return s==null||BX(s,t,n)?String(l):null},v9=(e,r,t,n,o,i,a,u)=&gt;{if(!(i==null||u==null)){var l=a[0],s=l==null?void 0:u(l.positions,i);if(s!=null)return s;var c=o?.[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}}},y9=(e,r,t,n)=&gt;{if(r===&quot;axis&quot;)return e.tooltipItemPayloads;if(e.tooltipItemPayloads.length===0)return[];var o;if(t===&quot;hover&quot;?o=e.itemInteraction.hover.graphicalItemId:o=e.itemInteraction.click.graphicalItemId,o==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)===o})},$u=e=&gt;e.options.tooltipPayloadSearcher,Xl=e=&gt;e.tooltip;function tj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function rj(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?tj(Object(t),!0).forEach(function(n){zX(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):tj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function zX(e,r,t){return(r=$X(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function $X(e){var r=UX(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function UX(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 VX(e,r){return e??r}var b9=(e,r,t,n,o,i,a)=&gt;{if(!(r==null||i==null)){var{chartData:u,computedData:l,dataStartIndex:s,dataEndIndex:c}=t,m=[];return e.reduce((h,d)=&gt;{var g,{dataDefinedOnItem:y,settings:p}=d,b=VX(y,u),x=Array.isArray(b)?GN(b,s,c):b,_=(g=p?.dataKey)!==null&amp;&amp;g!==void 0?g:n,E=p?.nameKey,M;if(n&amp;&amp;Array.isArray(x)&amp;&amp;!Array.isArray(x[0])&amp;&amp;a===&quot;axis&quot;?M=nN(x,n,o):M=i(x,r,l,E),Array.isArray(M))M.forEach(W=&gt;{var L=rj(rj({},p),{},{name:W.name,unit:W.unit,color:void 0,fill:void 0});h.push(s5({tooltipEntrySettings:L,dataKey:W.dataKey,payload:W.payload,value:Ur(W.payload,W.dataKey),name:W.name}))});else{var D;h.push(s5({tooltipEntrySettings:p,dataKey:_,payload:M,value:Ur(M,_),name:(D=Ur(M,E))!==null&amp;&amp;D!==void 0?D:p?.name}))}return h},m)}},d1=Ee([Zr,ir,E7,Kx,Yr],Y7),qX=Ee([e=&gt;e.graphicalItems.cartesianItems,e=&gt;e.graphicalItems.polarItems],(e,r)=&gt;[...e,...r]),WX=Ee([Yr,Hl],A7),Gl=Ee([qX,Zr,WX],M7,{memoizeOptions:{resultEqualityCheck:Dm}}),HX=Ee([Gl],e=&gt;e.filter(Im)),KX=Ee([Gl],P7,{memoizeOptions:{resultEqualityCheck:Dm}}),Yl=Ee([KX,ta],I7),XX=Ee([HX,ta,Zr],k7),f1=Ee([Yl,Zr,Gl],R7),x9=Ee([Zr],r1),GX=Ee([Zr],e=&gt;e.allowDataOverflow),w9=Ee([x9,GX],r7),YX=Ee([Gl],e=&gt;e.filter(Im)),ZX=Ee([XX,YX,Mm,y7],L7),QX=Ee([ZX,ta,Yr,w9],F7),JX=Ee([Gl],T7),eG=Ee([Yl,Zr,JX,n1,Yr],$7,{memoizeOptions:{resultEqualityCheck:Rm}}),tG=Ee([U7,Yr,Hl],Kl),rG=Ee([tG,Yr],W7),nG=Ee([V7,Yr,Hl],Kl),iG=Ee([nG,Yr],H7),sG=Ee([q7,Yr,Hl],Kl),aG=Ee([sG,Yr],K7),oG=Ee([rG,aG,iG],Eh),lG=Ee([Zr,x9,w9,QX,eG,oG,ir,Yr],X7),Uu=Ee([Zr,ir,Yl,f1,Mm,Yr,lG],G7),cG=Ee([Uu,Zr,d1],Z7),uG=Ee([Zr,Uu,cG,Yr],Q7),_9=e=&gt;{var r=Yr(e),t=Hl(e),n=!1;return zu(e,r,t,n)},j9=Ee([Zr,_9],Om),S9=Ee([Zr,d1,uG,j9],s1),dG=Ee([ir,f1,Zr,Yr],s9),fG=Ee([ir,f1,Zr,Yr],a9),hG=(e,r,t,n,o,i,a,u)=&gt;{if(r){var{type:l}=r,s=za(e,u);if(n){var c=t===&quot;scaleBand&quot;&amp;&amp;n.bandwidth?n.bandwidth()/2:2,m=l===&quot;category&quot;&amp;&amp;n.bandwidth?n.bandwidth()/c:0;return m=u===&quot;angleAxis&quot;&amp;&amp;o!=null&amp;&amp;o?.length&gt;=2?Qn(o[0]-o[1])*2*m:m,s&amp;&amp;a?a.map((h,d)=&gt;({coordinate:n(h)+m,value:h,index:d,offset:m})):n.domain().map((h,d)=&gt;({coordinate:n(h)+m,value:i?i[h]:h,index:d,offset:m}))}}},ia=Ee([ir,Zr,d1,S9,_9,dG,fG,Yr],hG),h1=Ee([l9,c9,_X],(e,r,t)=&gt;u9(t.shared,e,r)),k9=e=&gt;e.tooltip.settings.trigger,m1=e=&gt;e.tooltip.settings.defaultIndex,Vu=Ee([Xl,h1,k9,m1],g9),Oo=Ee([Vu,Yl,Fu,Uu],u1),N9=Ee([ia,Oo],d9),C9=Ee([Vu],e=&gt;{if(e)return e.dataKey});Ee([Vu],e=&gt;{if(e)return e.graphicalItemId});var E9=Ee([Xl,h1,k9,m1],y9),mG=Ee([Qs,Js,ir,un,ia,m1,E9,$u],v9),pG=Ee([Vu,mG],(e,r)=&gt;e!=null&amp;&amp;e.coordinate?e.coordinate:r),gG=Ee([Vu],e=&gt;{var r;return(r=e?.active)!==null&amp;&amp;r!==void 0?r:!1}),vG=Ee([E9,Oo,ta,Fu,N9,$u,h1],b9),yG=Ee([vG],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 nj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function ij(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?nj(Object(t),!0).forEach(function(n){bG(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):nj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function bG(e,r,t){return(r=xG(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function xG(e){var r=wG(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function wG(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 _G=()=&gt;bt(Zr),jG=()=&gt;{var e=_G(),r=bt(ia),t=bt(S9);return Ml(!e||!t?void 0:ij(ij({},e),{},{scale:t}),r)};function sj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function ml(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){SG(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 SG(e,r,t){return(r=kG(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function kG(e){var r=NG(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function NG(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 CG=(e,r,t,n)=&gt;{var o=r.find(i=&gt;i&amp;&amp;i.index===t);if(o){if(e===&quot;horizontal&quot;)return{x:o.coordinate,y:n.chartY};if(e===&quot;vertical&quot;)return{x:n.chartX,y:o.coordinate}}return{x:0,y:0}},EG=(e,r,t,n)=&gt;{var o=r.find(s=&gt;s&amp;&amp;s.index===t);if(o){if(e===&quot;centric&quot;){var i=o.coordinate,{radius:a}=n;return ml(ml(ml({},n),bn(n.cx,n.cy,a,i)),{},{angle:i,radius:a})}var u=o.coordinate,{angle:l}=n;return ml(ml(ml({},n),bn(n.cx,n.cy,u,l)),{},{angle:l,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 AG(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 A9=(e,r,t,n,o)=&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;o!=null&amp;&amp;Math.abs(Math.abs(o[1]-o[0])-360)&lt;=1e-6)for(var u=0;u&lt;a;u++){var l,s,c,m,h,d=u&gt;0?(l=t[u-1])===null||l===void 0?void 0:l.coordinate:(s=t[a-1])===null||s===void 0?void 0:s.coordinate,g=(c=t[u])===null||c===void 0?void 0:c.coordinate,y=u&gt;=a-1?(m=t[0])===null||m===void 0?void 0:m.coordinate:(h=t[u+1])===null||h===void 0?void 0:h.coordinate,p=void 0;if(!(d==null||g==null||y==null))if(Qn(g-d)!==Qn(y-g)){var b=[];if(Qn(y-g)===Qn(o[1]-o[0])){p=y;var x=g+o[1]-o[0];b[0]=Math.min(x,(x+d)/2),b[1]=Math.max(x,(x+d)/2)}else{p=d;var _=y+o[1]-o[0];b[0]=Math.min(g,(_+g)/2),b[1]=Math.max(g,(_+g)/2)}var E=[Math.min(g,(p+g)/2),Math.max(g,(p+g)/2)];if(e&gt;E[0]&amp;&amp;e&lt;=E[1]||e&gt;=b[0]&amp;&amp;e&lt;=b[1]){var M;return(M=t[u])===null||M===void 0?void 0:M.index}}else{var D=Math.min(d,y),W=Math.max(d,y);if(e&gt;(D+g)/2&amp;&amp;e&lt;=(W+g)/2){var L;return(L=t[u])===null||L===void 0?void 0:L.index}}}else if(r)for(var V=0;V&lt;a;V++){var H=r[V];if(H!=null){var K=r[V+1],z=r[V-1];if(V===0&amp;&amp;K!=null&amp;&amp;e&lt;=(H.coordinate+K.coordinate)/2||V===a-1&amp;&amp;z!=null&amp;&amp;e&gt;(H.coordinate+z.coordinate)/2||V&gt;0&amp;&amp;V&lt;a-1&amp;&amp;z!=null&amp;&amp;K!=null&amp;&amp;e&gt;(H.coordinate+z.coordinate)/2&amp;&amp;e&lt;=(H.coordinate+K.coordinate)/2)return H.index}}return-1},MG=()=&gt;bt(Kx),p1=(e,r)=&gt;r,M9=(e,r,t)=&gt;t,g1=(e,r,t,n)=&gt;n,OG=Ee(ia,e=&gt;tm(e,r=&gt;r.coordinate)),v1=Ee([Xl,p1,M9,g1],g9),y1=Ee([v1,Yl,Fu,Uu],u1),TG=(e,r,t)=&gt;{if(r!=null){var n=Xl(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}},O9=Ee([Xl,p1,M9,g1],y9),Ah=Ee([Qs,Js,ir,un,ia,g1,O9,$u],v9),PG=Ee([v1,Ah],(e,r)=&gt;{var t;return(t=e.coordinate)!==null&amp;&amp;t!==void 0?t:r}),T9=Ee([ia,y1],d9),IG=Ee([O9,y1,ta,Fu,T9,$u,p1],b9),RG=Ee([v1,y1],(e,r)=&gt;({isActive:e.active&amp;&amp;r!=null,activeIndex:r})),DG=(e,r,t,n,o,i,a)=&gt;{if(!(!e||!t||!n||!o)&amp;&amp;AG(e,a)){var u=Z$(e,r),l=A9(u,i,o,t,n),s=CG(r,o,l,e);return{activeIndex:String(l),activeCoordinate:s}}},LG=(e,r,t,n,o,i,a)=&gt;{if(!(!e||!n||!o||!i||!t)){var u=xq(e,t);if(u){var l=Q$(u,r),s=A9(l,a,i,n,o),c=EG(r,i,s,u);return{activeIndex:String(s),activeCoordinate:c}}}},FG=(e,r,t,n,o,i,a,u)=&gt;{if(!(!e||!r||!n||!o||!i))return r===&quot;horizontal&quot;||r===&quot;vertical&quot;?DG(e,r,n,o,i,a,u):LG(e,r,t,n,o,i,a)},BG=Ee(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}}),zG=Ee(e=&gt;e.zIndex.zIndexMap,e=&gt;{var r=Object.keys(e).map(n=&gt;parseInt(n,10)).concat(Object.values(cn)),t=Array.from(new Set(r));return t.sort((n,o)=&gt;n-o)},{memoizeOptions:{resultEqualityCheck:jK}});function aj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function oj(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){$G(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 $G(e,r,t){return(r=UG(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function UG(e){var r=VG(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function VG(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 qG={},WG={zIndexMap:Object.values(cn).reduce((e,r)=&gt;oj(oj({},e),{},{[r]:{element:void 0,panoramaElement:void 0,consumers:0}}),qG)},HG=new Set(Object.values(cn));function KG(e){return HG.has(e)}var P9=ti({name:&quot;zIndex&quot;,initialState:WG,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:wr()},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;!KG(t)&amp;&amp;delete e.zIndexMap[t])},prepare:wr()},registerZIndexPortalElement:{reducer:(e,r)=&gt;{var{zIndex:t,element:n,isPanorama:o}=r.payload;e.zIndexMap[t]?o?e.zIndexMap[t].panoramaElement=n:e.zIndexMap[t].element=n:e.zIndexMap[t]={consumers:0,element:o?void 0:n,panoramaElement:o?n:void 0}},prepare:wr()},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:wr()}}}),{registerZIndexPortal:XG,unregisterZIndexPortal:GG,registerZIndexPortalElement:YG,unregisterZIndexPortalElement:ZG}=P9.actions,QG=P9.reducer;function Ii(e){var{zIndex:r,children:t}=e,n=OU(),o=n&amp;&amp;r!==void 0&amp;&amp;r!==0,i=On(),a=Ar();q.useLayoutEffect(()=&gt;o?(a(XG({zIndex:r})),()=&gt;{a(GG({zIndex:r}))}):Cu,[a,r,o]);var u=bt(l=&gt;BG(l,r,i));return o?u?cb.createPortal(t,u):null:t}function Yy(){return Yy=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},Yy.apply(null,arguments)}function lj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function mf(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?lj(Object(t),!0).forEach(function(n){JG(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):lj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function JG(e,r,t){return(r=eY(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function eY(e){var r=tY(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function tY(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 rY(e){var{cursor:r,cursorComp:t,cursorProps:n}=e;return q.isValidElement(r)?q.cloneElement(r,n):q.createElement(t,n)}function nY(e){var r,{coordinate:t,payload:n,index:o,offset:i,tooltipAxisBandSize:a,layout:u,cursor:l,tooltipEventType:s,chartName:c}=e,m=t,h=n,d=o;if(!l||!m||c!==&quot;ScatterChart&quot;&amp;&amp;s!==&quot;axis&quot;)return null;var g,y,p;if(c===&quot;ScatterChart&quot;)g=m,y=PV,p=cn.cursorLine;else if(c===&quot;BarChart&quot;)g=IV(u,m,i,a),y=vC,p=cn.cursorRectangle;else if(u===&quot;radial&quot;&amp;&amp;sN(m)){var{cx:b,cy:x,radius:_,startAngle:E,endAngle:M}=yC(m);g={cx:b,cy:x,startAngle:E,endAngle:M,innerRadius:_,outerRadius:_},y=xC,p=cn.cursorLine}else g={points:Sq(u,m,i)},y=fC,p=cn.cursorLine;var D=typeof l==&quot;object&quot;&amp;&amp;&quot;className&quot;in l?l.className:void 0,W=mf(mf(mf(mf({stroke:&quot;#ccc&quot;,pointerEvents:&quot;none&quot;},i),g),ku(l)),{},{payload:h,payloadIndex:d,className:or(&quot;recharts-tooltip-cursor&quot;,D)});return q.createElement(Ii,{zIndex:(r=e.zIndex)!==null&amp;&amp;r!==void 0?r:p},q.createElement(rY,{cursor:l,cursorComp:y,cursorProps:W}))}function iY(e){var r=jG(),t=nC(),n=Ul(),o=MG();return r==null||t==null||n==null||o==null?null:q.createElement(nY,Yy({},e,{offset:t,layout:n,tooltipAxisBandSize:r,chartName:o}))}var I9=q.createContext(null),sY=()=&gt;q.useContext(I9),lv={exports:{}},cj;function aY(){return cj||(cj=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 o(l,s,c){this.fn=l,this.context=s,this.once=c||!1}function i(l,s,c,m,h){if(typeof c!=&quot;function&quot;)throw new TypeError(&quot;The listener must be a function&quot;);var d=new o(c,m||l,h),g=t?t+s:s;return l._events[g]?l._events[g].fn?l._events[g]=[l._events[g],d]:l._events[g].push(d):(l._events[g]=d,l._eventsCount++),l}function a(l,s){--l._eventsCount===0?l._events=new n:delete l._events[s]}function u(){this._events=new n,this._eventsCount=0}u.prototype.eventNames=function(){var s=[],c,m;if(this._eventsCount===0)return s;for(m in c=this._events)r.call(c,m)&amp;&amp;s.push(t?m.slice(1):m);return Object.getOwnPropertySymbols?s.concat(Object.getOwnPropertySymbols(c)):s},u.prototype.listeners=function(s){var c=t?t+s:s,m=this._events[c];if(!m)return[];if(m.fn)return[m.fn];for(var h=0,d=m.length,g=new Array(d);h&lt;d;h++)g[h]=m[h].fn;return g},u.prototype.listenerCount=function(s){var c=t?t+s:s,m=this._events[c];return m?m.fn?1:m.length:0},u.prototype.emit=function(s,c,m,h,d,g){var y=t?t+s:s;if(!this._events[y])return!1;var p=this._events[y],b=arguments.length,x,_;if(p.fn){switch(p.once&amp;&amp;this.removeListener(s,p.fn,void 0,!0),b){case 1:return p.fn.call(p.context),!0;case 2:return p.fn.call(p.context,c),!0;case 3:return p.fn.call(p.context,c,m),!0;case 4:return p.fn.call(p.context,c,m,h),!0;case 5:return p.fn.call(p.context,c,m,h,d),!0;case 6:return p.fn.call(p.context,c,m,h,d,g),!0}for(_=1,x=new Array(b-1);_&lt;b;_++)x[_-1]=arguments[_];p.fn.apply(p.context,x)}else{var E=p.length,M;for(_=0;_&lt;E;_++)switch(p[_].once&amp;&amp;this.removeListener(s,p[_].fn,void 0,!0),b){case 1:p[_].fn.call(p[_].context);break;case 2:p[_].fn.call(p[_].context,c);break;case 3:p[_].fn.call(p[_].context,c,m);break;case 4:p[_].fn.call(p[_].context,c,m,h);break;default:if(!x)for(M=1,x=new Array(b-1);M&lt;b;M++)x[M-1]=arguments[M];p[_].fn.apply(p[_].context,x)}}return!0},u.prototype.on=function(s,c,m){return i(this,s,c,m,!1)},u.prototype.once=function(s,c,m){return i(this,s,c,m,!0)},u.prototype.removeListener=function(s,c,m,h){var d=t?t+s:s;if(!this._events[d])return this;if(!c)return a(this,d),this;var g=this._events[d];if(g.fn)g.fn===c&amp;&amp;(!h||g.once)&amp;&amp;(!m||g.context===m)&amp;&amp;a(this,d);else{for(var y=0,p=[],b=g.length;y&lt;b;y++)(g[y].fn!==c||h&amp;&amp;!g[y].once||m&amp;&amp;g[y].context!==m)&amp;&amp;p.push(g[y]);p.length?this._events[d]=p.length===1?p[0]:p:a(this,d)}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})(lv)),lv.exports}var oY=aY();const lY=rs(oY);var yu=new lY,Zy=&quot;recharts.syncEvent.tooltip&quot;,uj=&quot;recharts.syncEvent.brush&quot;;function R9(e,r){if(r){var t=Number.parseInt(r,10);if(!Ji(t))return e?.[t]}}var cY={chartName:&quot;&quot;,tooltipPayloadSearcher:void 0,eventEmitter:void 0,defaultTooltipEventType:&quot;axis&quot;},D9=ti({name:&quot;options&quot;,initialState:cY,reducers:{createEventEmitter:e=&gt;{e.eventEmitter==null&amp;&amp;(e.eventEmitter=Symbol(&quot;rechartsEventEmitter&quot;))}}}),uY=D9.reducer,{createEventEmitter:dY}=D9.actions;function fY(e){return e.tooltip.syncInteraction}var hY={chartData:void 0,computedData:void 0,dataStartIndex:0,dataEndIndex:0},L9=ti({name:&quot;chartData&quot;,initialState:hY,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:dj,setDataStartEndIndexes:mY,setComputedData:Vne}=L9.actions,pY=L9.reducer,gY=[&quot;x&quot;,&quot;y&quot;];function fj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function pl(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?fj(Object(t),!0).forEach(function(n){vY(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):fj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function vY(e,r,t){return(r=yY(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function yY(e){var r=bY(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function bY(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 xY(e,r){if(e==null)return{};var t,n,o=wY(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;(o[t]=e[t])}return o}function wY(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 _Y(){var e=bt(Xx),r=bt(Gx),t=Ar(),n=bt(b7),o=bt(ia),i=Ul(),a=gm(),u=bt(l=&gt;l.rootProps.className);q.useEffect(()=&gt;{if(e==null)return Cu;var l=(s,c,m)=&gt;{if(r!==m&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 d=c.payload.coordinate,{x:g,y}=d,p=xY(d,gY),{x:b,y:x,width:_,height:E}=c.payload.sourceViewBox,M=pl(pl({},p),{},{x:a.x+(_?(g-b)/_:0)*a.width,y:a.y+(E?(y-x)/E:0)*a.height});t(pl(pl({},c),{},{payload:pl(pl({},c.payload),{},{coordinate:M})}))}else t(c);return}if(o!=null){var D;if(typeof n==&quot;function&quot;){var W={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(o,W);D=o[L]}else n===&quot;value&quot;&amp;&amp;(D=o.find(j=&gt;String(j.value)===c.payload.label));var{coordinate:V}=c.payload;if(D==null||c.payload.active===!1||V==null||a==null){t(Xy({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:void 0,graphicalItemId:void 0}));return}var{x:H,y:K}=V,z=Math.min(H,a.x+a.width),O=Math.min(K,a.y+a.height),I={x:i===&quot;horizontal&quot;?D.coordinate:z,y:i===&quot;horizontal&quot;?O:D.coordinate},C=Xy({active:c.payload.active,coordinate:I,dataKey:c.payload.dataKey,index:String(D.index),label:c.payload.label,sourceViewBox:c.payload.sourceViewBox,graphicalItemId:c.payload.graphicalItemId});t(C)}}};return yu.on(Zy,l),()=&gt;{yu.off(Zy,l)}},[u,t,r,e,n,o,i,a])}function jY(){var e=bt(Xx),r=bt(Gx),t=Ar();q.useEffect(()=&gt;{if(e==null)return Cu;var n=(o,i,a)=&gt;{r!==a&amp;&amp;e===o&amp;&amp;t(mY(i))};return yu.on(uj,n),()=&gt;{yu.off(uj,n)}},[t,r,e])}function SY(){var e=Ar();q.useEffect(()=&gt;{e(dY())},[e]),_Y(),jY()}function kY(e,r,t,n,o,i){var a=bt(d=&gt;TG(d,e,r)),u=bt(Gx),l=bt(Xx),s=bt(b7),c=bt(fY),m=c?.active,h=gm();q.useEffect(()=&gt;{if(!m&amp;&amp;l!=null&amp;&amp;u!=null){var d=Xy({active:i,coordinate:t,dataKey:a,index:o,label:typeof n==&quot;number&quot;?String(n):n,sourceViewBox:h,graphicalItemId:void 0});yu.emit(Zy,l,d,u)}},[m,t,a,o,n,u,l,s,i,h])}function hj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).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?hj(Object(t),!0).forEach(function(n){NY(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 NY(e,r,t){return(r=CY(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function CY(e){var r=EY(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function EY(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 AY(e){return e.dataKey}function MY(e,r){return q.isValidElement(e)?q.cloneElement(e,r):typeof e==&quot;function&quot;?q.createElement(e,r):q.createElement(fV,r)}var pj=[],OY={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 cv(e){var r,t,n=xn(e,OY),{active:o,allowEscapeViewBox:i,animationDuration:a,animationEasing:u,content:l,filterNull:s,isAnimationActive:c,offset:m,payloadUniqBy:h,position:d,reverseDirection:g,useTranslate3d:y,wrapperStyle:p,cursor:b,shared:x,trigger:_,defaultIndex:E,portal:M,axisId:D}=n,W=Ar(),L=typeof E==&quot;number&quot;?String(E):E;q.useEffect(()=&gt;{W(CX({shared:x,trigger:_,axisId:D,active:o,defaultIndex:L}))},[W,x,_,D,o,L]);var V=gm(),H=dC(),K=wX(x),{activeIndex:z,isActive:O}=(r=bt(ee=&gt;RG(ee,K,_,L)))!==null&amp;&amp;r!==void 0?r:{},I=bt(ee=&gt;IG(ee,K,_,L)),C=bt(ee=&gt;T9(ee,K,_,L)),j=bt(ee=&gt;PG(ee,K,_,L)),k=I,S=sY(),N=(t=o??O)!==null&amp;&amp;t!==void 0?t:!1,[T,R]=bN([k,N]),B=K===&quot;axis&quot;?C:void 0;kY(K,_,j,B,z,N);var Y=M??S;if(Y==null||V==null||K==null)return null;var Q=k??pj;N||(Q=pj),s&amp;&amp;Q.length&amp;&amp;(Q=mN(Q.filter(ee=&gt;ee.value!=null&amp;&amp;(ee.hide!==!0||n.includeHidden)),h,AY));var ne=Q.length&gt;0,U=q.createElement(bV,{allowEscapeViewBox:i,animationDuration:a,animationEasing:u,isAnimationActive:c,active:N,coordinate:j,hasPayload:ne,offset:m,position:d,reverseDirection:g,useTranslate3d:y,viewBox:V,wrapperStyle:p,lastBoundingBox:T,innerRef:R,hasPortalFromProps:!!M},MY(l,mj(mj({},n),{},{payload:Q,label:B,active:N,activeIndex:z,coordinate:j,accessibilityLayer:H})));return q.createElement(q.Fragment,null,cb.createPortal(U,Y),N&amp;&amp;q.createElement(iY,{cursor:b,tooltipEventType:K,coordinate:j,payload:Q,index:z}))}var F9=e=&gt;null;F9.displayName=&quot;Cell&quot;;function TY(e,r,t){return(r=PY(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function PY(e){var r=IY(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function IY(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 RY{constructor(r){TY(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 gj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function DY(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?gj(Object(t),!0).forEach(function(n){LY(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):gj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function LY(e,r,t){return(r=FY(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function FY(e){var r=BY(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function BY(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 zY={cacheSize:2e3,enableCache:!0},B9=DY({},zY),vj=new RY(B9.cacheSize),$Y={position:&quot;absolute&quot;,top:&quot;-20000px&quot;,left:0,padding:0,margin:0,border:&quot;none&quot;,whiteSpace:&quot;pre&quot;},yj=&quot;recharts_measurement_span&quot;;function UY(e,r){var t=r.fontSize||&quot;&quot;,n=r.fontFamily||&quot;&quot;,o=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(o,&quot;|&quot;).concat(i,&quot;|&quot;).concat(a,&quot;|&quot;).concat(u)}var bj=(e,r)=&gt;{try{var t=document.getElementById(yj);t||(t=document.createElement(&quot;span&quot;),t.setAttribute(&quot;id&quot;,yj),t.setAttribute(&quot;aria-hidden&quot;,&quot;true&quot;),document.body.appendChild(t)),Object.assign(t.style,$Y,r),t.textContent=&quot;&quot;.concat(e);var n=t.getBoundingClientRect();return{width:n.width,height:n.height}}catch{return{width:0,height:0}}},Kc=function(r){var t=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{};if(r==null||wm.isSsr)return{width:0,height:0};if(!B9.enableCache)return bj(r,t);var n=UY(r,t),o=vj.get(n);if(o)return o;var i=bj(r,t);return vj.set(n,i),i},z9;function VY(e,r,t){return(r=qY(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function qY(e){var r=WY(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function WY(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 xj=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,wj=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,HY=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,KY=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,XY={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},GY=[&quot;cm&quot;,&quot;mm&quot;,&quot;pt&quot;,&quot;pc&quot;,&quot;in&quot;,&quot;Q&quot;,&quot;px&quot;];function YY(e){return GY.includes(e)}var jl=&quot;NaN&quot;;function ZY(e,r){return e*XY[r]}class yn{static parse(r){var t,[,n,o]=(t=KY.exec(r))!==null&amp;&amp;t!==void 0?t:[];return n==null?yn.NaN:new yn(parseFloat(n),o??&quot;&quot;)}constructor(r,t){this.num=r,this.unit=t,this.num=r,this.unit=t,Ji(r)&amp;&amp;(this.unit=&quot;&quot;),t!==&quot;&quot;&amp;&amp;!HY.test(t)&amp;&amp;(this.num=NaN,this.unit=&quot;&quot;),YY(t)&amp;&amp;(this.num=ZY(r,t),this.unit=&quot;px&quot;)}add(r){return this.unit!==r.unit?new yn(NaN,&quot;&quot;):new yn(this.num+r.num,this.unit)}subtract(r){return this.unit!==r.unit?new yn(NaN,&quot;&quot;):new yn(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 yn(NaN,&quot;&quot;):new yn(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 yn(NaN,&quot;&quot;):new yn(this.num/r.num,this.unit||r.unit)}toString(){return&quot;&quot;.concat(this.num).concat(this.unit)}isNaN(){return Ji(this.num)}}z9=yn;VY(yn,&quot;NaN&quot;,new z9(NaN,&quot;&quot;));function $9(e){if(e==null||e.includes(jl))return jl;for(var r=e;r.includes(&quot;*&quot;)||r.includes(&quot;/&quot;);){var t,[,n,o,i]=(t=xj.exec(r))!==null&amp;&amp;t!==void 0?t:[],a=yn.parse(n??&quot;&quot;),u=yn.parse(i??&quot;&quot;),l=o===&quot;*&quot;?a.multiply(u):a.divide(u);if(l.isNaN())return jl;r=r.replace(xj,l.toString())}for(;r.includes(&quot;+&quot;)||/.-\d+(?:\.\d+)?/.test(r);){var s,[,c,m,h]=(s=wj.exec(r))!==null&amp;&amp;s!==void 0?s:[],d=yn.parse(c??&quot;&quot;),g=yn.parse(h??&quot;&quot;),y=m===&quot;+&quot;?d.add(g):d.subtract(g);if(y.isNaN())return jl;r=r.replace(wj,y.toString())}return r}var _j=/\(([^()]*)\)/;function QY(e){for(var r=e,t;(t=_j.exec(r))!=null;){var[,n]=t;r=r.replace(_j,$9(n))}return r}function JY(e){var r=e.replace(/\s+/g,&quot;&quot;);return r=QY(r),r=$9(r),r}function eZ(e){try{return JY(e)}catch{return jl}}function uv(e){var r=eZ(e.slice(5,-1));return r===jl?&quot;&quot;:r}var tZ=[&quot;x&quot;,&quot;y&quot;,&quot;lineHeight&quot;,&quot;capHeight&quot;,&quot;fill&quot;,&quot;scaleToFit&quot;,&quot;textAnchor&quot;,&quot;verticalAnchor&quot;],rZ=[&quot;dx&quot;,&quot;dy&quot;,&quot;angle&quot;,&quot;className&quot;,&quot;breakAll&quot;];function Qy(){return Qy=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},Qy.apply(null,arguments)}function jj(e,r){if(e==null)return{};var t,n,o=nZ(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;(o[t]=e[t])}return o}function nZ(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 U9=/[ \f\n\r\t\v\u2028\u2029]+/,V9=e=&gt;{var{children:r,breakAll:t,style:n}=e;try{var o=[];jr(r)||(t?o=r.toString().split(&quot;&quot;):o=r.toString().split(U9));var i=o.map(u=&gt;({word:u,width:Kc(u,n).width})),a=t?0:Kc(&quot; &quot;,n).width;return{wordsWithComputedWidth:i,spaceWidth:a}}catch{return null}};function iZ(e){return e===&quot;start&quot;||e===&quot;middle&quot;||e===&quot;end&quot;||e===&quot;inherit&quot;}var q9=(e,r,t,n)=&gt;e.reduce((o,i)=&gt;{var{word:a,width:u}=i,l=o[o.length-1];if(l&amp;&amp;u!=null&amp;&amp;(r==null||n||l.width+u+t&lt;Number(r)))l.words.push(a),l.width+=u+t;else{var s={words:[a],width:u};o.push(s)}return o},[]),W9=e=&gt;e.reduce((r,t)=&gt;r.width&gt;t.width?r:t),sZ=&quot;…&quot;,Sj=(e,r,t,n,o,i,a,u)=&gt;{var l=e.slice(0,r),s=V9({breakAll:t,style:n,children:l+sZ});if(!s)return[!1,[]];var c=q9(s.wordsWithComputedWidth,i,a,u),m=c.length&gt;o||W9(c).width&gt;Number(i);return[m,c]},aZ=(e,r,t,n,o)=&gt;{var{maxLines:i,children:a,style:u,breakAll:l}=e,s=dt(i),c=String(a),m=q9(r,n,t,o);if(!s||o)return m;var h=m.length&gt;i||W9(m).width&gt;Number(n);if(!h)return m;for(var d=0,g=c.length-1,y=0,p;d&lt;=g&amp;&amp;y&lt;=c.length-1;){var b=Math.floor((d+g)/2),x=b-1,[_,E]=Sj(c,x,l,u,i,n,t,o),[M]=Sj(c,b,l,u,i,n,t,o);if(!_&amp;&amp;!M&amp;&amp;(d=b+1),_&amp;&amp;M&amp;&amp;(g=b-1),!_&amp;&amp;M){p=E;break}y++}return p||m},kj=e=&gt;{var r=jr(e)?[]:e.toString().split(U9);return[{words:r,width:void 0}]},oZ=e=&gt;{var{width:r,scaleToFit:t,children:n,style:o,breakAll:i,maxLines:a}=e;if((r||t)&amp;&amp;!wm.isSsr){var u,l,s=V9({breakAll:i,children:n,style:o});if(s){var{wordsWithComputedWidth:c,spaceWidth:m}=s;u=c,l=m}else return kj(n);return aZ({breakAll:i,children:n,maxLines:a,style:o},u,l,r,!!t)}return kj(n)},H9=&quot;#808080&quot;,lZ={angle:0,breakAll:!1,capHeight:&quot;0.71em&quot;,fill:H9,lineHeight:&quot;1em&quot;,scaleToFit:!1,textAnchor:&quot;start&quot;,verticalAnchor:&quot;end&quot;,x:0,y:0},b1=q.forwardRef((e,r)=&gt;{var t=xn(e,lZ),{x:n,y:o,lineHeight:i,capHeight:a,fill:u,scaleToFit:l,textAnchor:s,verticalAnchor:c}=t,m=jj(t,tZ),h=q.useMemo(()=&gt;oZ({breakAll:m.breakAll,children:m.children,maxLines:m.maxLines,scaleToFit:l,style:m.style,width:m.width}),[m.breakAll,m.children,m.maxLines,l,m.style,m.width]),{dx:d,dy:g,angle:y,className:p,breakAll:b}=m,x=jj(m,rZ);if(!xs(n)||!xs(o)||h.length===0)return null;var _=Number(n)+(dt(d)?d:0),E=Number(o)+(dt(g)?g:0);if(!Er(_)||!Er(E))return null;var M;switch(c){case&quot;start&quot;:M=uv(&quot;calc(&quot;.concat(a,&quot;)&quot;));break;case&quot;middle&quot;:M=uv(&quot;calc(&quot;.concat((h.length-1)/2,&quot; * -&quot;).concat(i,&quot; + (&quot;).concat(a,&quot; / 2))&quot;));break;default:M=uv(&quot;calc(&quot;.concat(h.length-1,&quot; * -&quot;).concat(i,&quot;)&quot;));break}var D=[];if(l){var W=h[0].width,{width:L}=m;D.push(&quot;scale(&quot;.concat(dt(L)&amp;&amp;dt(W)?L/W:1,&quot;)&quot;))}return y&amp;&amp;D.push(&quot;rotate(&quot;.concat(y,&quot;, &quot;).concat(_,&quot;, &quot;).concat(E,&quot;)&quot;)),D.length&amp;&amp;(x.transform=D.join(&quot; &quot;)),q.createElement(&quot;text&quot;,Qy({},zn(x),{ref:r,x:_,y:E,className:or(&quot;recharts-text&quot;,p),textAnchor:s,fill:u.includes(&quot;url&quot;)?H9:u}),h.map((V,H)=&gt;{var K=V.words.join(b?&quot;&quot;:&quot; &quot;);return q.createElement(&quot;tspan&quot;,{x:_,dy:H===0?M:i,key:&quot;&quot;.concat(K,&quot;-&quot;).concat(H)},K)}))});b1.displayName=&quot;Text&quot;;var cZ=[&quot;labelRef&quot;],uZ=[&quot;content&quot;];function Nj(e,r){if(e==null)return{};var t,n,o=dZ(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;(o[t]=e[t])}return o}function dZ(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 Cj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Lr(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Cj(Object(t),!0).forEach(function(n){fZ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Cj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function fZ(e,r,t){return(r=hZ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function hZ(e){var r=mZ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function mZ(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 Ls(){return Ls=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},Ls.apply(null,arguments)}var K9=q.createContext(null),pZ=e=&gt;{var{x:r,y:t,upperWidth:n,lowerWidth:o,width:i,height:a,children:u}=e,l=q.useMemo(()=&gt;({x:r,y:t,upperWidth:n,lowerWidth:o,width:i,height:a}),[r,t,n,o,i,a]);return q.createElement(K9.Provider,{value:l},u)},X9=()=&gt;{var e=q.useContext(K9),r=gm();return e||rC(r)},gZ=q.createContext(null),vZ=()=&gt;{var e=q.useContext(gZ),r=bt(S7);return e||r},yZ=e=&gt;{var{value:r,formatter:t}=e,n=jr(e.children)?r:e.children;return typeof t==&quot;function&quot;?t(n):n},x1=e=&gt;e!=null&amp;&amp;typeof e==&quot;function&quot;,bZ=(e,r)=&gt;{var t=Qn(r-e),n=Math.min(Math.abs(r-e),360);return t*n},xZ=(e,r,t,n,o)=&gt;{var{offset:i,className:a}=e,{cx:u,cy:l,innerRadius:s,outerRadius:c,startAngle:m,endAngle:h,clockWise:d}=o,g=(s+c)/2,y=bZ(m,h),p=y&gt;=0?1:-1,b,x;switch(r){case&quot;insideStart&quot;:b=m+p*i,x=d;break;case&quot;insideEnd&quot;:b=h-p*i,x=!d;break;case&quot;end&quot;:b=h+p*i,x=d;break;default:throw new Error(&quot;Unsupported position &quot;.concat(r))}x=y&lt;=0?x:!x;var _=bn(u,l,g,b),E=bn(u,l,g,b+(x?1:-1)*359),M=&quot;M&quot;.concat(_.x,&quot;,&quot;).concat(_.y,`
    A`).concat(g,&quot;,&quot;).concat(g,&quot;,0,1,&quot;).concat(x?0:1,`,
    `).concat(E.x,&quot;,&quot;).concat(E.y),D=jr(e.id)?su(&quot;recharts-radial-line-&quot;):e.id;return q.createElement(&quot;text&quot;,Ls({},n,{dominantBaseline:&quot;central&quot;,className:or(&quot;recharts-radial-bar-label&quot;,a)}),q.createElement(&quot;defs&quot;,null,q.createElement(&quot;path&quot;,{id:D,d:M})),q.createElement(&quot;textPath&quot;,{xlinkHref:&quot;#&quot;.concat(D)},t))},wZ=(e,r,t)=&gt;{var{cx:n,cy:o,innerRadius:i,outerRadius:a,startAngle:u,endAngle:l}=e,s=(u+l)/2;if(t===&quot;outside&quot;){var{x:c,y:m}=bn(n,o,a+r,s);return{x:c,y:m,textAnchor:c&gt;=n?&quot;start&quot;:&quot;end&quot;,verticalAnchor:&quot;middle&quot;}}if(t===&quot;center&quot;)return{x:n,y:o,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;middle&quot;};if(t===&quot;centerTop&quot;)return{x:n,y:o,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;start&quot;};if(t===&quot;centerBottom&quot;)return{x:n,y:o,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;end&quot;};var h=(i+a)/2,{x:d,y:g}=bn(n,o,h,s);return{x:d,y:g,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;middle&quot;}},Jy=e=&gt;&quot;cx&quot;in e&amp;&amp;dt(e.cx),_Z=(e,r)=&gt;{var{parentViewBox:t,offset:n,position:o}=e,i;t!=null&amp;&amp;!Jy(t)&amp;&amp;(i=t);var{x:a,y:u,upperWidth:l,lowerWidth:s,height:c}=r,m=a,h=a+(l-s)/2,d=(m+h)/2,g=(l+s)/2,y=m+l/2,p=c&gt;=0?1:-1,b=p*n,x=p&gt;0?&quot;end&quot;:&quot;start&quot;,_=p&gt;0?&quot;start&quot;:&quot;end&quot;,E=l&gt;=0?1:-1,M=E*n,D=E&gt;0?&quot;end&quot;:&quot;start&quot;,W=E&gt;0?&quot;start&quot;:&quot;end&quot;;if(o===&quot;top&quot;){var L={x:m+l/2,y:u-b,textAnchor:&quot;middle&quot;,verticalAnchor:x};return Lr(Lr({},L),i?{height:Math.max(u-i.y,0),width:l}:{})}if(o===&quot;bottom&quot;){var V={x:h+s/2,y:u+c+b,textAnchor:&quot;middle&quot;,verticalAnchor:_};return Lr(Lr({},V),i?{height:Math.max(i.y+i.height-(u+c),0),width:s}:{})}if(o===&quot;left&quot;){var H={x:d-M,y:u+c/2,textAnchor:D,verticalAnchor:&quot;middle&quot;};return Lr(Lr({},H),i?{width:Math.max(H.x-i.x,0),height:c}:{})}if(o===&quot;right&quot;){var K={x:d+g+M,y:u+c/2,textAnchor:W,verticalAnchor:&quot;middle&quot;};return Lr(Lr({},K),i?{width:Math.max(i.x+i.width-K.x,0),height:c}:{})}var z=i?{width:g,height:c}:{};return o===&quot;insideLeft&quot;?Lr({x:d+M,y:u+c/2,textAnchor:W,verticalAnchor:&quot;middle&quot;},z):o===&quot;insideRight&quot;?Lr({x:d+g-M,y:u+c/2,textAnchor:D,verticalAnchor:&quot;middle&quot;},z):o===&quot;insideTop&quot;?Lr({x:m+l/2,y:u+b,textAnchor:&quot;middle&quot;,verticalAnchor:_},z):o===&quot;insideBottom&quot;?Lr({x:h+s/2,y:u+c-b,textAnchor:&quot;middle&quot;,verticalAnchor:x},z):o===&quot;insideTopLeft&quot;?Lr({x:m+M,y:u+b,textAnchor:W,verticalAnchor:_},z):o===&quot;insideTopRight&quot;?Lr({x:m+l-M,y:u+b,textAnchor:D,verticalAnchor:_},z):o===&quot;insideBottomLeft&quot;?Lr({x:h+M,y:u+c-b,textAnchor:W,verticalAnchor:x},z):o===&quot;insideBottomRight&quot;?Lr({x:h+s-M,y:u+c-b,textAnchor:D,verticalAnchor:x},z):o&amp;&amp;typeof o==&quot;object&quot;&amp;&amp;(dt(o.x)||qs(o.x))&amp;&amp;(dt(o.y)||qs(o.y))?Lr({x:a+es(o.x,g),y:u+es(o.y,c),textAnchor:&quot;end&quot;,verticalAnchor:&quot;end&quot;},z):Lr({x:y,y:u+c/2,textAnchor:&quot;middle&quot;,verticalAnchor:&quot;middle&quot;},z)},jZ={angle:0,offset:5,zIndex:cn.label,position:&quot;middle&quot;,textBreakAll:!1};function Sa(e){var r=xn(e,jZ),{viewBox:t,position:n,value:o,children:i,content:a,className:u=&quot;&quot;,textBreakAll:l,labelRef:s}=r,c=vZ(),m=X9(),h=n===&quot;center&quot;?m:c??m,d,g,y;if(t==null?d=h:Jy(t)?d=t:d=rC(t),!d||jr(o)&amp;&amp;jr(i)&amp;&amp;!q.isValidElement(a)&amp;&amp;typeof a!=&quot;function&quot;)return null;var p=Lr(Lr({},r),{},{viewBox:d});if(q.isValidElement(a)){var{labelRef:b}=p,x=Nj(p,cZ);return q.cloneElement(a,x)}if(typeof a==&quot;function&quot;){var{content:_}=p,E=Nj(p,uZ);if(g=q.createElement(a,E),q.isValidElement(g))return g}else g=yZ(r);var M=zn(r);if(Jy(d)){if(n===&quot;insideStart&quot;||n===&quot;insideEnd&quot;||n===&quot;end&quot;)return xZ(r,n,g,M,d);y=wZ(d,r.offset,r.position)}else y=_Z(r,d);return q.createElement(Ii,{zIndex:r.zIndex},q.createElement(b1,Ls({ref:s,className:or(&quot;recharts-label&quot;,u)},M,y,{textAnchor:iZ(M.textAnchor)?M.textAnchor:y.textAnchor,breakAll:l}),g))}Sa.displayName=&quot;Label&quot;;var SZ=(e,r,t)=&gt;{if(!e)return null;var n={viewBox:r,labelRef:t};return e===!0?q.createElement(Sa,Ls({key:&quot;label-implicit&quot;},n)):xs(e)?q.createElement(Sa,Ls({key:&quot;label-implicit&quot;,value:e},n)):q.isValidElement(e)?e.type===Sa?q.cloneElement(e,Lr({key:&quot;label-implicit&quot;},n)):q.createElement(Sa,Ls({key:&quot;label-implicit&quot;,content:e},n)):x1(e)?q.createElement(Sa,Ls({key:&quot;label-implicit&quot;,content:e},n)):e&amp;&amp;typeof e==&quot;object&quot;?q.createElement(Sa,Ls({},e,{key:&quot;label-implicit&quot;},n)):null};function kZ(e){var{label:r,labelRef:t}=e,n=X9();return SZ(r,n,t)||null}var dv={},fv={},Ej;function NZ(){return Ej||(Ej=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});function r(t){return t[t.length-1]}e.last=r})(fv)),fv}var hv={},Aj;function CZ(){return Aj||(Aj=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})(hv)),hv}var Mj;function EZ(){return Mj||(Mj=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;});const r=NZ(),t=CZ(),n=ax();function o(i){if(n.isArrayLike(i))return r.last(t.toArray(i))}e.last=o})(dv)),dv}var mv,Oj;function AZ(){return Oj||(Oj=1,mv=EZ().last),mv}var MZ=AZ();const OZ=rs(MZ);var TZ=[&quot;valueAccessor&quot;],PZ=[&quot;dataKey&quot;,&quot;clockWise&quot;,&quot;id&quot;,&quot;textBreakAll&quot;,&quot;zIndex&quot;];function Mh(){return Mh=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},Mh.apply(null,arguments)}function Tj(e,r){if(e==null)return{};var t,n,o=IZ(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;(o[t]=e[t])}return o}function IZ(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 RZ=e=&gt;Array.isArray(e.value)?OZ(e.value):e.value,G9=q.createContext(void 0),Y9=G9.Provider,Z9=q.createContext(void 0);Z9.Provider;function DZ(){return q.useContext(G9)}function LZ(){return q.useContext(Z9)}function Af(e){var{valueAccessor:r=RZ}=e,t=Tj(e,TZ),{dataKey:n,clockWise:o,id:i,textBreakAll:a,zIndex:u}=t,l=Tj(t,PZ),s=DZ(),c=LZ(),m=s||c;return!m||!m.length?null:q.createElement(Ii,{zIndex:u??cn.label},q.createElement(Mi,{className:&quot;recharts-label-list&quot;},m.map((h,d)=&gt;{var g,y=jr(n)?r(h,d):Ur(h&amp;&amp;h.payload,n),p=jr(i)?{}:{id:&quot;&quot;.concat(i,&quot;-&quot;).concat(d)};return q.createElement(Sa,Mh({key:&quot;label-&quot;.concat(d)},zn(h),l,p,{fill:(g=t.fill)!==null&amp;&amp;g!==void 0?g:h.fill,parentViewBox:h.parentViewBox,value:y,textBreakAll:a,viewBox:h.viewBox,index:d,zIndex:0}))})))}Af.displayName=&quot;LabelList&quot;;function Q9(e){var{label:r}=e;return r?r===!0?q.createElement(Af,{key:&quot;labelList-implicit&quot;}):q.isValidElement(r)||x1(r)?q.createElement(Af,{key:&quot;labelList-implicit&quot;,content:r}):typeof r==&quot;object&quot;?q.createElement(Af,Mh({key:&quot;labelList-implicit&quot;},r,{type:String(r.type)})):null:null}function eb(){return eb=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},eb.apply(null,arguments)}var J9=e=&gt;{var{cx:r,cy:t,r:n,className:o}=e,i=or(&quot;recharts-dot&quot;,o);return dt(r)&amp;&amp;dt(t)&amp;&amp;dt(n)?q.createElement(&quot;circle&quot;,eb({},Qi(e),sx(e),{className:i,cx:r,cy:t,r:n})):null},FZ={radiusAxis:{},angleAxis:{}},eE=ti({name:&quot;polarAxis&quot;,initialState:FZ,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:qne,removeRadiusAxis:Wne,addAngleAxis:Hne,removeAngleAxis:Kne}=eE.actions,BZ=eE.reducer,pv={exports:{}},lr={};var Pj;function zZ(){if(Pj)return lr;Pj=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;),o=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;),l=Symbol.for(&quot;react.suspense&quot;),s=Symbol.for(&quot;react.suspense_list&quot;),c=Symbol.for(&quot;react.memo&quot;),m=Symbol.for(&quot;react.lazy&quot;),h=Symbol.for(&quot;react.view_transition&quot;),d=Symbol.for(&quot;react.client.reference&quot;);function g(y){if(typeof y==&quot;object&quot;&amp;&amp;y!==null){var p=y.$$typeof;switch(p){case e:switch(y=y.type,y){case t:case o:case n:case l:case s:case h:return y;default:switch(y=y&amp;&amp;y.$$typeof,y){case a:case u:case m:case c:return y;case i:return y;default:return p}}case r:return p}}}return lr.ContextConsumer=i,lr.ContextProvider=a,lr.Element=e,lr.ForwardRef=u,lr.Fragment=t,lr.Lazy=m,lr.Memo=c,lr.Portal=r,lr.Profiler=o,lr.StrictMode=n,lr.Suspense=l,lr.SuspenseList=s,lr.isContextConsumer=function(y){return g(y)===i},lr.isContextProvider=function(y){return g(y)===a},lr.isElement=function(y){return typeof y==&quot;object&quot;&amp;&amp;y!==null&amp;&amp;y.$$typeof===e},lr.isForwardRef=function(y){return g(y)===u},lr.isFragment=function(y){return g(y)===t},lr.isLazy=function(y){return g(y)===m},lr.isMemo=function(y){return g(y)===c},lr.isPortal=function(y){return g(y)===r},lr.isProfiler=function(y){return g(y)===o},lr.isStrictMode=function(y){return g(y)===n},lr.isSuspense=function(y){return g(y)===l},lr.isSuspenseList=function(y){return g(y)===s},lr.isValidElementType=function(y){return typeof y==&quot;string&quot;||typeof y==&quot;function&quot;||y===t||y===o||y===n||y===l||y===s||typeof y==&quot;object&quot;&amp;&amp;y!==null&amp;&amp;(y.$$typeof===m||y.$$typeof===c||y.$$typeof===a||y.$$typeof===i||y.$$typeof===u||y.$$typeof===d||y.getModuleId!==void 0)},lr.typeOf=g,lr}var Ij;function $Z(){return Ij||(Ij=1,pv.exports=zZ()),pv.exports}var UZ=$Z(),Rj=e=&gt;typeof e==&quot;string&quot;?e:e?e.displayName||e.name||&quot;Component&quot;:&quot;&quot;,Dj=null,gv=null,tE=e=&gt;{if(e===Dj&amp;&amp;Array.isArray(gv))return gv;var r=[];return q.Children.forEach(e,t=&gt;{jr(t)||(UZ.isFragment(t)?r=r.concat(tE(t.props.children)):r.push(t))}),gv=r,Dj=e,r};function VZ(e,r){var t=[],n=[];return Array.isArray(r)?n=r.map(o=&gt;Rj(o)):n=[Rj(r)],tE(e).forEach(o=&gt;{var i=El(o,&quot;type.displayName&quot;)||El(o,&quot;type.name&quot;);i&amp;&amp;n.indexOf(i)!==-1&amp;&amp;t.push(o)}),t}var rE=e=&gt;e&amp;&amp;typeof e==&quot;object&quot;&amp;&amp;&quot;clipDot&quot;in e?!!e.clipDot:!0,vv={},Lj;function qZ(){return Lj||(Lj=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 o=t[Symbol.toStringTag];return o==null||!Object.getOwnPropertyDescriptor(t,Symbol.toStringTag)?.writable?!1:t.toString()===`[object ${o}]`}let n=t;for(;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(t)===n}e.isPlainObject=r})(vv)),vv}var yv,Fj;function WZ(){return Fj||(Fj=1,yv=qZ().isPlainObject),yv}var HZ=WZ();const KZ=rs(HZ);var Bj,zj,$j,Uj,Vj;function qj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).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?qj(Object(t),!0).forEach(function(n){XZ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):qj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function XZ(e,r,t){return(r=GZ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function GZ(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 Oh(){return Oh=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},Oh.apply(null,arguments)}function Dc(e,r){return r||(r=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(r)}}))}var Hj=(e,r,t,n,o)=&gt;{var i=t-n,a;return a=Pr(Bj||(Bj=Dc([&quot;M &quot;,&quot;,&quot;,&quot;&quot;])),e,r),a+=Pr(zj||(zj=Dc([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t,r),a+=Pr($j||($j=Dc([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t-i/2,r+o),a+=Pr(Uj||(Uj=Dc([&quot;L &quot;,&quot;,&quot;,&quot;&quot;])),e+t-i/2-n,r+o),a+=Pr(Vj||(Vj=Dc([&quot;L &quot;,&quot;,&quot;,&quot; Z&quot;])),e,r),a},ZZ={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:&quot;ease&quot;},QZ=e=&gt;{var r=xn(e,ZZ),{x:t,y:n,upperWidth:o,lowerWidth:i,height:a,className:u}=r,{animationEasing:l,animationDuration:s,animationBegin:c,isUpdateAnimationActive:m}=r,h=q.useRef(null),[d,g]=q.useState(-1),y=q.useRef(o),p=q.useRef(i),b=q.useRef(a),x=q.useRef(t),_=q.useRef(n),E=jm(e,&quot;trapezoid-&quot;);if(q.useEffect(()=&gt;{if(h.current&amp;&amp;h.current.getTotalLength)try{var I=h.current.getTotalLength();I&amp;&amp;g(I)}catch{}},[]),t!==+t||n!==+n||o!==+o||i!==+i||a!==+a||o===0&amp;&amp;i===0||a===0)return null;var M=or(&quot;recharts-trapezoid&quot;,u);if(!m)return q.createElement(&quot;g&quot;,null,q.createElement(&quot;path&quot;,Oh({},zn(r),{className:M,d:Hj(t,n,o,i,a)})));var D=y.current,W=p.current,L=b.current,V=x.current,H=_.current,K=&quot;0px &quot;.concat(d===-1?1:d,&quot;px&quot;),z=&quot;&quot;.concat(d,&quot;px 0px&quot;),O=hC([&quot;strokeDasharray&quot;],s,l);return q.createElement(_m,{animationId:E,key:E,canBegin:d&gt;0,duration:s,easing:l,isActive:m,begin:c},I=&gt;{var C=Ir(D,o,I),j=Ir(W,i,I),k=Ir(L,a,I),S=Ir(V,t,I),N=Ir(H,n,I);h.current&amp;&amp;(y.current=C,p.current=j,b.current=k,x.current=S,_.current=N);var T=I&gt;0?{transition:O,strokeDasharray:z}:{strokeDasharray:K};return q.createElement(&quot;path&quot;,Oh({},zn(r),{className:M,d:Hj(S,N,C,j,k),ref:h,style:Wj(Wj({},T),r.style)}))})},JZ=[&quot;option&quot;,&quot;shapeType&quot;,&quot;activeClassName&quot;];function eQ(e,r){if(e==null)return{};var t,n,o=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;(o[t]=e[t])}return o}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}function Kj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Th(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Kj(Object(t),!0).forEach(function(n){rQ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Kj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function rQ(e,r,t){return(r=nQ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function nQ(e){var r=iQ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function iQ(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 sQ(e,r){return Th(Th({},r),e)}function aQ(e,r){return e===&quot;symbols&quot;}function Xj(e){var{shapeType:r,elementProps:t}=e;switch(r){case&quot;rectangle&quot;:return q.createElement(vC,t);case&quot;trapezoid&quot;:return q.createElement(QZ,t);case&quot;sector&quot;:return q.createElement(xC,t);case&quot;symbols&quot;:if(aQ(r))return q.createElement(ix,t);break;case&quot;curve&quot;:return q.createElement(fC,t);default:return null}}function oQ(e){return q.isValidElement(e)?e.props:e}function nE(e){var{option:r,shapeType:t,activeClassName:n=&quot;recharts-active-shape&quot;}=e,o=eQ(e,JZ),i;if(q.isValidElement(r))i=q.cloneElement(r,Th(Th({},o),oQ(r)));else if(typeof r==&quot;function&quot;)i=r(o,o.index);else if(KZ(r)&amp;&amp;typeof r!=&quot;boolean&quot;){var a=sQ(r,o);i=q.createElement(Xj,{shapeType:t,elementProps:a})}else{var u=o;i=q.createElement(Xj,{shapeType:t,elementProps:u})}return o.isActive?q.createElement(Mi,{className:n},i):i}var iE=(e,r,t)=&gt;{var n=Ar();return(o,i)=&gt;a=&gt;{e?.(o,i,a),n(h9({activeIndex:String(i),activeDataKey:r,activeCoordinate:o.tooltipPosition,activeGraphicalItemId:t}))}},sE=e=&gt;{var r=Ar();return(t,n)=&gt;o=&gt;{e?.(t,n,o),r(EX())}},aE=(e,r,t)=&gt;{var n=Ar();return(o,i)=&gt;a=&gt;{e?.(o,i,a),n(AX({activeIndex:String(i),activeDataKey:r,activeCoordinate:o.tooltipPosition,activeGraphicalItemId:t}))}};function oE(e){var{tooltipEntrySettings:r}=e,t=Ar(),n=On(),o=q.useRef(null);return q.useLayoutEffect(()=&gt;{n||(o.current===null?t(SX(r)):o.current!==r&amp;&amp;t(kX({prev:o.current,next:r})),o.current=r)},[r,t,n]),q.useLayoutEffect(()=&gt;()=&gt;{o.current&amp;&amp;(t(NX(o.current)),o.current=null)},[t]),null}function lE(e){var{legendPayload:r}=e,t=Ar(),n=On(),o=q.useRef(null);return q.useLayoutEffect(()=&gt;{n||(o.current===null?t(WU(r)):o.current!==r&amp;&amp;t(HU({prev:o.current,next:r})),o.current=r)},[t,n,r]),q.useLayoutEffect(()=&gt;()=&gt;{o.current&amp;&amp;(t(KU(o.current)),o.current=null)},[t]),null}var bv,lQ=()=&gt;{var[e]=q.useState(()=&gt;su(&quot;uid-&quot;));return e},cQ=(bv=IS.useId)!==null&amp;&amp;bv!==void 0?bv:lQ;function uQ(e,r){var t=cQ();return r||(e?&quot;&quot;.concat(e,&quot;-&quot;).concat(t):t)}var dQ=q.createContext(void 0),cE=e=&gt;{var{id:r,type:t,children:n}=e,o=uQ(&quot;recharts-&quot;.concat(t),r);return q.createElement(dQ.Provider,{value:o},n(o))},fQ={cartesianItems:[],polarItems:[]},uE=ti({name:&quot;graphicalItems&quot;,initialState:fQ,reducers:{addCartesianGraphicalItem:{reducer(e,r){e.cartesianItems.push(r.payload)},prepare:wr()},replaceCartesianGraphicalItem:{reducer(e,r){var{prev:t,next:n}=r.payload,o=Zi(e).cartesianItems.indexOf(t);o&gt;-1&amp;&amp;(e.cartesianItems[o]=n)},prepare:wr()},removeCartesianGraphicalItem:{reducer(e,r){var t=Zi(e).cartesianItems.indexOf(r.payload);t&gt;-1&amp;&amp;e.cartesianItems.splice(t,1)},prepare:wr()},addPolarGraphicalItem:{reducer(e,r){e.polarItems.push(r.payload)},prepare:wr()},removePolarGraphicalItem:{reducer(e,r){var t=Zi(e).polarItems.indexOf(r.payload);t&gt;-1&amp;&amp;e.polarItems.splice(t,1)},prepare:wr()}}}),{addCartesianGraphicalItem:hQ,replaceCartesianGraphicalItem:mQ,removeCartesianGraphicalItem:pQ,addPolarGraphicalItem:Xne,removePolarGraphicalItem:Gne}=uE.actions,gQ=uE.reducer,vQ=e=&gt;{var r=Ar(),t=q.useRef(null);return q.useLayoutEffect(()=&gt;{t.current===null?r(hQ(e)):t.current!==e&amp;&amp;r(mQ({prev:t.current,next:e})),t.current=e},[r,e]),q.useLayoutEffect(()=&gt;()=&gt;{t.current&amp;&amp;(r(pQ(t.current)),t.current=null)},[r]),null},dE=q.memo(vQ),yQ=[&quot;points&quot;];function Gj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function xv(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Gj(Object(t),!0).forEach(function(n){bQ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Gj(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)}function Ph(){return Ph=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},Ph.apply(null,arguments)}function _Q(e,r){if(e==null)return{};var t,n,o=jQ(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;(o[t]=e[t])}return o}function jQ(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 SQ(e){var{option:r,dotProps:t,className:n}=e;if(q.isValidElement(r))return q.cloneElement(r,t);if(typeof r==&quot;function&quot;)return r(t);var o=or(n,typeof r!=&quot;boolean&quot;?r.className:&quot;&quot;),i=t??{},{points:a}=i,u=_Q(i,yQ);return q.createElement(J9,Ph({},u,{className:o}))}function kQ(e,r){return e==null?!1:r?!0:e.length===1}function NQ(e){var{points:r,dot:t,className:n,dotClassName:o,dataKey:i,baseProps:a,needClip:u,clipPathId:l,zIndex:s=cn.scatter}=e;if(!kQ(r,t))return null;var c=rE(t),m=SF(t),h=r.map((g,y)=&gt;{var p,b,x=xv(xv(xv({r:3},a),m),{},{index:y,cx:(p=g.x)!==null&amp;&amp;p!==void 0?p:void 0,cy:(b=g.y)!==null&amp;&amp;b!==void 0?b:void 0,dataKey:i,value:g.value,payload:g.payload,points:r});return q.createElement(SQ,{key:&quot;dot-&quot;.concat(y),option:t,dotProps:x,className:o})}),d={};return u&amp;&amp;l!=null&amp;&amp;(d.clipPath=&quot;url(#clipPath-&quot;.concat(c?&quot;&quot;:&quot;dots-&quot;).concat(l,&quot;)&quot;)),q.createElement(Ii,{zIndex:s},q.createElement(Mi,Ph({className:n},d),h))}function Yj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).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){CQ(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 CQ(e,r,t){return(r=EQ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function EQ(e){var r=AQ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function AQ(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 fE=0,MQ={xAxis:{},yAxis:{},zAxis:{}},hE=ti({name:&quot;cartesianAxis&quot;,initialState:MQ,reducers:{addXAxis:{reducer(e,r){e.xAxis[r.payload.id]=r.payload},prepare:wr()},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:wr()},removeXAxis:{reducer(e,r){delete e.xAxis[r.payload.id]},prepare:wr()},addYAxis:{reducer(e,r){e.yAxis[r.payload.id]=r.payload},prepare:wr()},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:wr()},removeYAxis:{reducer(e,r){delete e.yAxis[r.payload.id]},prepare:wr()},addZAxis:{reducer(e,r){e.zAxis[r.payload.id]=r.payload},prepare:wr()},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:wr()},removeZAxis:{reducer(e,r){delete e.zAxis[r.payload.id]},prepare:wr()},updateYAxisWidth(e,r){var{id:t,width:n}=r.payload,o=e.yAxis[t];if(o){var i=o.widthHistory||[];if(i.length===3&amp;&amp;i[0]===i[2]&amp;&amp;n===i[1]&amp;&amp;n!==o.width&amp;&amp;Math.abs(n-i[0])&lt;=1)return;var a=[...i,n].slice(-3);e.yAxis[t]=Zj(Zj({},e.yAxis[t]),{},{width:n,widthHistory:a})}}}}),{addXAxis:OQ,replaceXAxis:TQ,removeXAxis:PQ,addYAxis:IQ,replaceYAxis:RQ,removeYAxis:DQ,addZAxis:Yne,replaceZAxis:Zne,removeZAxis:Qne,updateYAxisWidth:LQ}=hE.actions,FQ=hE.reducer,BQ=Ee([un],e=&gt;({top:e.top,bottom:e.bottom,left:e.left,right:e.right})),zQ=Ee([BQ,Qs,Js],(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)}}),w1=()=&gt;bt(zQ),$Q=()=&gt;bt(yG);function Qj(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function wv(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Qj(Object(t),!0).forEach(function(n){UQ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Qj(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function UQ(e,r,t){return(r=VQ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function VQ(e){var r=qQ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function qQ(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 WQ=e=&gt;{var{point:r,childIndex:t,mainColor:n,activeDot:o,dataKey:i,clipPath:a}=e;if(o===!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},l=wv(wv(wv({},u),ku(o)),sx(o)),s;return q.isValidElement(o)?s=q.cloneElement(o,l):typeof o==&quot;function&quot;?s=o(l):s=q.createElement(J9,l),q.createElement(Mi,{className:&quot;recharts-active-dot&quot;,clipPath:a},s)};function HQ(e){var{points:r,mainColor:t,activeDot:n,itemDataKey:o,clipPath:i,zIndex:a=cn.activeDot}=e,u=bt(Oo),l=$Q();if(r==null||l==null)return null;var s=r.find(c=&gt;l.includes(c.payload));return jr(s)?null:q.createElement(Ii,{zIndex:a},q.createElement(WQ,{point:s,childIndex:Number(u),mainColor:t,dataKey:o,activeDot:n,clipPath:i}))}var Jj=(e,r,t)=&gt;{var n=t??e;if(!jr(n))return es(n,r,0)},KQ=(e,r,t)=&gt;{var n={},o=e.filter(Im),i=e.filter(s=&gt;s.stackId==null),a=o.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,m]=s,h=m.map(g=&gt;g.dataKey),d=Jj(r,t,m[0].barSize);return{stackId:c,dataKeys:h,barSize:d}}),l=i.map(s=&gt;{var c=[s.dataKey].filter(h=&gt;h!=null),m=Jj(r,t,s.barSize);return{stackId:void 0,dataKeys:c,barSize:m}});return[...u,...l]};function eS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function pf(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){XQ(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 XQ(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=YQ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function YQ(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 ZQ(e,r,t,n,o){var i=n.length;if(!(i&lt;1)){var a=es(e,t,0,!0),u,l=[];if(Er(n[0].barSize)){var s=!1,c=t/i,m=n.reduce((b,x)=&gt;b+(x.barSize||0),0);m+=(i-1)*a,m&gt;=t&amp;&amp;(m-=(i-1)*a,a=0),m&gt;=t&amp;&amp;c&gt;0&amp;&amp;(s=!0,c*=.9,m=i*c);var h=(t-m)/2&gt;&gt;0,d={offset:h-a,size:0};u=n.reduce((b,x)=&gt;{var _,E={stackId:x.stackId,dataKeys:x.dataKeys,position:{offset:d.offset+d.size+a,size:s?c:(_=x.barSize)!==null&amp;&amp;_!==void 0?_:0}},M=[...b,E];return d=M[M.length-1].position,M},l)}else{var g=es(r,t,0,!0);t-2*g-(i-1)*a&lt;=0&amp;&amp;(a=0);var y=(t-2*g-(i-1)*a)/i;y&gt;1&amp;&amp;(y&gt;&gt;=0);var p=Er(o)?Math.min(y,o):y;u=n.reduce((b,x,_)=&gt;[...b,{stackId:x.stackId,dataKeys:x.dataKeys,position:{offset:g+(y+a)*_+(y-p)/2,size:p}}],l)}return u}}var QQ=(e,r,t,n,o,i,a)=&gt;{var u=jr(a)?r:a,l=ZQ(t,n,o!==i?o:i,e,u);return o!==i&amp;&amp;l!=null&amp;&amp;(l=l.map(s=&gt;pf(pf({},s),{},{position:pf(pf({},s.position),{},{offset:s.position.offset-o/2})}))),l},JQ=(e,r)=&gt;{var t=Jx(r);if(!(!e||t==null||r==null)){var{stackId:n}=r;if(n!=null){var o=e[n];if(o){var{stackedData:i}=o;if(i)return i.find(a=&gt;a.key===t)}}}};function eJ(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;Er(e.zIndex)?e.zIndex:r}var tJ=e=&gt;{var{chartData:r}=e,t=Ar(),n=On();return q.useEffect(()=&gt;n?()=&gt;{}:(t(dj(r)),()=&gt;{t(dj(void 0))}),[r,t,n]),null},tS={x:0,y:0,width:0,height:0,padding:{top:0,right:0,bottom:0,left:0}},mE=ti({name:&quot;brush&quot;,initialState:tS,reducers:{setBrushSettings(e,r){return r.payload==null?tS:r.payload}}}),{setBrushSettings:Jne}=mE.actions,rJ=mE.reducer;function nJ(e,r,t){return(r=iJ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function iJ(e){var r=sJ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function sJ(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 _1{static create(r){return new _1(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 o=this.bandwidth?this.bandwidth()/2:0;return this.scale(r)+o}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],o=t[t.length-1];return n&lt;=o?r&gt;=n&amp;&amp;r&lt;=o:r&gt;=o&amp;&amp;r&lt;=n}}nJ(_1,&quot;EPS&quot;,1e-4);function aJ(e){return(e%180+180)%180}var oJ=function(r){var{width:t,height:n}=r,o=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:0,i=aJ(o),a=i*Math.PI/180,u=Math.atan(n/t),l=a&gt;u&amp;&amp;a&lt;Math.PI-u?n/Math.sin(a):t/Math.cos(a);return Math.abs(l)},lJ={dots:[],areas:[],lines:[]},pE=ti({name:&quot;referenceElements&quot;,initialState:lJ,reducers:{addDot:(e,r)=&gt;{e.dots.push(r.payload)},removeDot:(e,r)=&gt;{var t=Zi(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=Zi(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=Zi(e).lines.findIndex(n=&gt;n===r.payload);t!==-1&amp;&amp;e.lines.splice(t,1)}}}),{addDot:eie,removeDot:tie,addArea:rie,removeArea:nie,addLine:iie,removeLine:sie}=pE.actions,cJ=pE.reducer,uJ=q.createContext(void 0),dJ=e=&gt;{var{children:r}=e,[t]=q.useState(&quot;&quot;.concat(su(&quot;recharts&quot;),&quot;-clip&quot;)),n=w1();if(n==null)return null;var{x:o,y:i,width:a,height:u}=n;return q.createElement(uJ.Provider,{value:t},q.createElement(&quot;defs&quot;,null,q.createElement(&quot;clipPath&quot;,{id:t},q.createElement(&quot;rect&quot;,{x:o,y:i,height:u,width:a}))),r)};function gE(e,r){if(r&lt;1)return[];if(r===1)return e;for(var t=[],n=0;n&lt;e.length;n+=r){var o=e[n];o!==void 0&amp;&amp;t.push(o)}return t}function fJ(e,r,t){var n={width:e.width+r.width,height:e.height+r.height};return oJ(n,t)}function hJ(e,r,t){var n=t===&quot;width&quot;,{x:o,y:i,width:a,height:u}=e;return r===1?{start:n?o:i,end:n?o+a:i+u}:{start:n?o+a:i+u,end:n?o:i}}function bu(e,r,t,n,o){if(e*r&lt;e*n||e*r&gt;e*o)return!1;var i=t();return e*(r-e*i/2-n)&gt;=0&amp;&amp;e*(r+e*i/2-o)&lt;=0}function mJ(e,r){return gE(e,r+1)}function pJ(e,r,t,n,o){for(var i=(n||[]).slice(),{start:a,end:u}=r,l=0,s=1,c=a,m=function(){var g=n?.[l];if(g===void 0)return{v:gE(n,s)};var y=l,p,b=()=&gt;(p===void 0&amp;&amp;(p=t(g,y)),p),x=g.coordinate,_=l===0||bu(e,x,b,c,u);_||(l=0,c=a,s+=1),_&amp;&amp;(c=x+e*(b()/2+o),l+=s)},h;s&lt;=i.length;)if(h=m(),h)return h.v;return[]}function gJ(e,r,t,n,o){var i=(n||[]).slice(),a=i.length;if(a===0)return[];for(var{start:u,end:l}=r,s=1;s&lt;=a;s++){for(var c=(a-1)%s,m=u,h=!0,d=function(){var x=n[g],_=g,E,M=()=&gt;(E===void 0&amp;&amp;(E=t(x,_)),E),D=x.coordinate,W=g===c||bu(e,D,M,m,l);if(!W)return h=!1,1;W&amp;&amp;(m=D+e*(M()/2+o))},g=c;g&lt;a&amp;&amp;!d();g+=s);if(h){for(var y=[],p=c;p&lt;a;p+=s)y.push(n[p]);return y}}return[]}function rS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function En(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?rS(Object(t),!0).forEach(function(n){vJ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):rS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function vJ(e,r,t){return(r=yJ(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function yJ(e){var r=bJ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function bJ(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 xJ(e,r,t,n,o){for(var i=(n||[]).slice(),a=i.length,{start:u}=r,{end:l}=r,s=function(h){var d=i[h],g,y=()=&gt;(g===void 0&amp;&amp;(g=t(d,h)),g);if(h===a-1){var p=e*(d.coordinate+e*y()/2-l);i[h]=d=En(En({},d),{},{tickCoord:p&gt;0?d.coordinate-p*e:d.coordinate})}else i[h]=d=En(En({},d),{},{tickCoord:d.coordinate});if(d.tickCoord!=null){var b=bu(e,d.tickCoord,y,u,l);b&amp;&amp;(l=d.tickCoord-e*(y()/2+o),i[h]=En(En({},d),{},{isShow:!0}))}},c=a-1;c&gt;=0;c--)s(c);return i}function wJ(e,r,t,n,o,i){var a=(n||[]).slice(),u=a.length,{start:l,end:s}=r;if(i){var c=n[u-1],m=t(c,u-1),h=e*(c.coordinate+e*m/2-s);if(a[u-1]=c=En(En({},c),{},{tickCoord:h&gt;0?c.coordinate-h*e:c.coordinate}),c.tickCoord!=null){var d=bu(e,c.tickCoord,()=&gt;m,l,s);d&amp;&amp;(s=c.tickCoord-e*(m/2+o),a[u-1]=En(En({},c),{},{isShow:!0}))}}for(var g=i?u-1:u,y=function(x){var _=a[x],E,M=()=&gt;(E===void 0&amp;&amp;(E=t(_,x)),E);if(x===0){var D=e*(_.coordinate-e*M()/2-l);a[x]=_=En(En({},_),{},{tickCoord:D&lt;0?_.coordinate-D*e:_.coordinate})}else a[x]=_=En(En({},_),{},{tickCoord:_.coordinate});if(_.tickCoord!=null){var W=bu(e,_.tickCoord,M,l,s);W&amp;&amp;(l=_.tickCoord+e*(M()/2+o),a[x]=En(En({},_),{},{isShow:!0}))}},p=0;p&lt;g;p++)y(p);return a}function j1(e,r,t){var{tick:n,ticks:o,viewBox:i,minTickGap:a,orientation:u,interval:l,tickFormatter:s,unit:c,angle:m}=e;if(!o||!o.length||!n)return[];if(dt(l)||wm.isSsr){var h;return(h=mJ(o,dt(l)?l:0))!==null&amp;&amp;h!==void 0?h:[]}var d=[],g=u===&quot;top&quot;||u===&quot;bottom&quot;?&quot;width&quot;:&quot;height&quot;,y=c&amp;&amp;g===&quot;width&quot;?Kc(c,{fontSize:r,letterSpacing:t}):{width:0,height:0},p=(_,E)=&gt;{var M=typeof s==&quot;function&quot;?s(_.value,E):_.value;return g===&quot;width&quot;?fJ(Kc(M,{fontSize:r,letterSpacing:t}),y,m):Kc(M,{fontSize:r,letterSpacing:t})[g]},b=o.length&gt;=2?Qn(o[1].coordinate-o[0].coordinate):1,x=hJ(i,b,g);return l===&quot;equidistantPreserveStart&quot;?pJ(b,x,p,o,a):l===&quot;equidistantPreserveEnd&quot;?gJ(b,x,p,o,a):(l===&quot;preserveStart&quot;||l===&quot;preserveStartEnd&quot;?d=wJ(b,x,p,o,a,l===&quot;preserveStartEnd&quot;):d=xJ(b,x,p,o,a),d.filter(_=&gt;_.isShow))}var _J=e=&gt;{var{ticks:r,label:t,labelGapWithTick:n=5,tickSize:o=0,tickMargin:i=0}=e,a=0;if(r){Array.from(r).forEach(c=&gt;{if(c){var m=c.getBoundingClientRect();m.width&gt;a&amp;&amp;(a=m.width)}});var u=t?t.getBoundingClientRect().width:0,l=o+i,s=a+l+u+(t?n:0);return Math.round(s)}return 0},jJ=[&quot;axisLine&quot;,&quot;width&quot;,&quot;height&quot;,&quot;className&quot;,&quot;hide&quot;,&quot;ticks&quot;,&quot;axisType&quot;];function SJ(e,r){if(e==null)return{};var t,n,o=kJ(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;(o[t]=e[t])}return o}function kJ(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 To(){return To=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},To.apply(null,arguments)}function nS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).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?nS(Object(t),!0).forEach(function(n){NJ(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 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 Us={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:cn.axis};function AJ(e){var{x:r,y:t,width:n,height:o,orientation:i,mirror:a,axisLine:u,otherSvgProps:l}=e;if(!u)return null;var s=$r($r($r({},l),Qi(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=$r($r({},s),{},{x1:r,y1:t+c*o,x2:r+n,y2:t+c*o})}else{var m=+(i===&quot;left&quot;&amp;&amp;!a||i===&quot;right&quot;&amp;&amp;a);s=$r($r({},s),{},{x1:r+m*n,y1:t,x2:r+m*n,y2:t+o})}return q.createElement(&quot;line&quot;,To({},s,{className:or(&quot;recharts-cartesian-axis-line&quot;,El(u,&quot;className&quot;))}))}function MJ(e,r,t,n,o,i,a,u,l){var s,c,m,h,d,g,y=u?-1:1,p=e.tickSize||a,b=dt(e.tickCoord)?e.tickCoord:e.coordinate;switch(i){case&quot;top&quot;:s=c=e.coordinate,h=t+ +!u*o,m=h-y*p,g=m-y*l,d=b;break;case&quot;left&quot;:m=h=e.coordinate,c=r+ +!u*n,s=c-y*p,d=s-y*l,g=b;break;case&quot;right&quot;:m=h=e.coordinate,c=r+ +u*n,s=c+y*p,d=s+y*l,g=b;break;default:s=c=e.coordinate,h=t+ +u*o,m=h+y*p,g=m+y*l,d=b;break}return{line:{x1:s,y1:m,x2:c,y2:h},tick:{x:d,y:g}}}function OJ(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 TJ(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 PJ(e){var{option:r,tickProps:t,value:n}=e,o,i=or(t.className,&quot;recharts-cartesian-axis-tick-value&quot;);if(q.isValidElement(r))o=q.cloneElement(r,$r($r({},t),{},{className:i}));else if(typeof r==&quot;function&quot;)o=r($r($r({},t),{},{className:i}));else{var a=&quot;recharts-cartesian-axis-tick-value&quot;;typeof r!=&quot;boolean&quot;&amp;&amp;(a=or(a,r?.className)),o=q.createElement(b1,To({},t,{className:a}),n)}return o}var IJ=q.forwardRef((e,r)=&gt;{var{ticks:t=[],tick:n,tickLine:o,stroke:i,tickFormatter:a,unit:u,padding:l,tickTextProps:s,orientation:c,mirror:m,x:h,y:d,width:g,height:y,tickSize:p,tickMargin:b,fontSize:x,letterSpacing:_,getTicksConfig:E,events:M,axisType:D}=e,W=j1($r($r({},E),{},{ticks:t}),x,_),L=OJ(c,m),V=TJ(c,m),H=Qi(E),K=ku(n),z={};typeof o==&quot;object&quot;&amp;&amp;(z=o);var O=$r($r({},H),{},{fill:&quot;none&quot;},z),I=W.map(k=&gt;$r({entry:k},MJ(k,h,d,g,y,c,p,m,b))),C=I.map(k=&gt;{var{entry:S,line:N}=k;return q.createElement(Mi,{className:&quot;recharts-cartesian-axis-tick&quot;,key:&quot;tick-&quot;.concat(S.value,&quot;-&quot;).concat(S.coordinate,&quot;-&quot;).concat(S.tickCoord)},o&amp;&amp;q.createElement(&quot;line&quot;,To({},O,N,{className:or(&quot;recharts-cartesian-axis-tick-line&quot;,El(o,&quot;className&quot;))})))}),j=I.map((k,S)=&gt;{var{entry:N,tick:T}=k,R=$r($r($r($r({textAnchor:L,verticalAnchor:V},H),{},{stroke:&quot;none&quot;,fill:i},K),T),{},{index:S,payload:N,visibleTicksCount:W.length,tickFormatter:a,padding:l},s);return q.createElement(Mi,To({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)},em(M,N,S)),n&amp;&amp;q.createElement(PJ,{option:n,tickProps:R,value:&quot;&quot;.concat(typeof a==&quot;function&quot;?a(N.value,S):N.value).concat(u||&quot;&quot;)}))});return q.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-axis-ticks recharts-&quot;.concat(D,&quot;-ticks&quot;)},j.length&gt;0&amp;&amp;q.createElement(Ii,{zIndex:cn.label},q.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-axis-tick-labels recharts-&quot;.concat(D,&quot;-tick-labels&quot;),ref:r},j)),C.length&gt;0&amp;&amp;q.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-axis-tick-lines recharts-&quot;.concat(D,&quot;-tick-lines&quot;)},C))}),RJ=q.forwardRef((e,r)=&gt;{var{axisLine:t,width:n,height:o,className:i,hide:a,ticks:u,axisType:l}=e,s=SJ(e,jJ),[c,m]=q.useState(&quot;&quot;),[h,d]=q.useState(&quot;&quot;),g=q.useRef(null);q.useImperativeHandle(r,()=&gt;({getCalculatedWidth:()=&gt;{var p;return _J({ticks:g.current,label:(p=e.labelRef)===null||p===void 0?void 0:p.current,labelGapWithTick:5,tickSize:e.tickSize,tickMargin:e.tickMargin})}}));var y=q.useCallback(p=&gt;{if(p){var b=p.getElementsByClassName(&quot;recharts-cartesian-axis-tick-value&quot;);g.current=b;var x=b[0];if(x){var _=window.getComputedStyle(x),E=_.fontSize,M=_.letterSpacing;(E!==c||M!==h)&amp;&amp;(m(E),d(M))}}},[c,h]);return a||n!=null&amp;&amp;n&lt;=0||o!=null&amp;&amp;o&lt;=0?null:q.createElement(Ii,{zIndex:e.zIndex},q.createElement(Mi,{className:or(&quot;recharts-cartesian-axis&quot;,i)},q.createElement(AJ,{x:e.x,y:e.y,width:n,height:o,orientation:e.orientation,mirror:e.mirror,axisLine:t,otherSvgProps:Qi(e)}),q.createElement(IJ,{ref:y,axisType:l,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}),q.createElement(pZ,{x:e.x,y:e.y,width:e.width,height:e.height,lowerWidth:e.width,upperWidth:e.width},q.createElement(kZ,{label:e.label,labelRef:e.labelRef}),e.children)))}),S1=q.forwardRef((e,r)=&gt;{var t=xn(e,Us);return q.createElement(RJ,To({},t,{ref:r}))});S1.displayName=&quot;CartesianAxis&quot;;var DJ=[&quot;x1&quot;,&quot;y1&quot;,&quot;x2&quot;,&quot;y2&quot;,&quot;key&quot;],LJ=[&quot;offset&quot;],FJ=[&quot;xAxisId&quot;,&quot;yAxisId&quot;],BJ=[&quot;xAxisId&quot;,&quot;yAxisId&quot;];function iS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function An(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?iS(Object(t),!0).forEach(function(n){zJ(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):iS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function zJ(e,r,t){return(r=$J(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function $J(e){var r=UJ(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function UJ(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 bo(){return bo=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},bo.apply(null,arguments)}function Ih(e,r){if(e==null)return{};var t,n,o=VJ(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;(o[t]=e[t])}return o}function VJ(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 qJ=e=&gt;{var{fill:r}=e;if(!r||r===&quot;none&quot;)return null;var{fillOpacity:t,x:n,y:o,width:i,height:a,ry:u}=e;return q.createElement(&quot;rect&quot;,{x:n,y:o,ry:u,width:i,height:a,stroke:&quot;none&quot;,fill:r,fillOpacity:t,className:&quot;recharts-cartesian-grid-bg&quot;})};function vE(e){var{option:r,lineItemProps:t}=e,n;if(q.isValidElement(r))n=q.cloneElement(r,t);else if(typeof r==&quot;function&quot;)n=r(t);else{var o,{x1:i,y1:a,x2:u,y2:l,key:s}=t,c=Ih(t,DJ),m=(o=Qi(c))!==null&amp;&amp;o!==void 0?o:{},{offset:h}=m,d=Ih(m,LJ);n=q.createElement(&quot;line&quot;,bo({},d,{x1:i,y1:a,x2:u,y2:l,fill:&quot;none&quot;,key:s}))}return n}function WJ(e){var{x:r,width:t,horizontal:n=!0,horizontalPoints:o}=e;if(!n||!o||!o.length)return null;var{xAxisId:i,yAxisId:a}=e,u=Ih(e,FJ),l=o.map((s,c)=&gt;{var m=An(An({},u),{},{x1:r,y1:s,x2:r+t,y2:s,key:&quot;line-&quot;.concat(c),index:c});return q.createElement(vE,{key:&quot;line-&quot;.concat(c),option:n,lineItemProps:m})});return q.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-grid-horizontal&quot;},l)}function HJ(e){var{y:r,height:t,vertical:n=!0,verticalPoints:o}=e;if(!n||!o||!o.length)return null;var{xAxisId:i,yAxisId:a}=e,u=Ih(e,BJ),l=o.map((s,c)=&gt;{var m=An(An({},u),{},{x1:s,y1:r,x2:s,y2:r+t,key:&quot;line-&quot;.concat(c),index:c});return q.createElement(vE,{option:n,lineItemProps:m,key:&quot;line-&quot;.concat(c)})});return q.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-grid-vertical&quot;},l)}function KJ(e){var{horizontalFill:r,fillOpacity:t,x:n,y:o,width:i,height:a,horizontalPoints:u,horizontal:l=!0}=e;if(!l||!r||!r.length||u==null)return null;var s=u.map(m=&gt;Math.round(m+o-o)).sort((m,h)=&gt;m-h);o!==s[0]&amp;&amp;s.unshift(0);var c=s.map((m,h)=&gt;{var d=!s[h+1],g=d?o+a-m:s[h+1]-m;if(g&lt;=0)return null;var y=h%r.length;return q.createElement(&quot;rect&quot;,{key:&quot;react-&quot;.concat(h),y:m,x:n,height:g,width:i,stroke:&quot;none&quot;,fill:r[y],fillOpacity:t,className:&quot;recharts-cartesian-grid-bg&quot;})});return q.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-gridstripes-horizontal&quot;},c)}function XJ(e){var{vertical:r=!0,verticalFill:t,fillOpacity:n,x:o,y:i,width:a,height:u,verticalPoints:l}=e;if(!r||!t||!t.length)return null;var s=l.map(m=&gt;Math.round(m+o-o)).sort((m,h)=&gt;m-h);o!==s[0]&amp;&amp;s.unshift(0);var c=s.map((m,h)=&gt;{var d=!s[h+1],g=d?o+a-m:s[h+1]-m;if(g&lt;=0)return null;var y=h%t.length;return q.createElement(&quot;rect&quot;,{key:&quot;react-&quot;.concat(h),x:m,y:i,width:g,height:u,stroke:&quot;none&quot;,fill:t[y],fillOpacity:n,className:&quot;recharts-cartesian-grid-bg&quot;})});return q.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-gridstripes-vertical&quot;},c)}var GJ=(e,r)=&gt;{var{xAxis:t,width:n,height:o,offset:i}=e;return YN(j1(An(An(An({},Us),t),{},{ticks:ZN(t),viewBox:{x:0,y:0,width:n,height:o}})),i.left,i.left+i.width,r)},YJ=(e,r)=&gt;{var{yAxis:t,width:n,height:o,offset:i}=e;return YN(j1(An(An(An({},Us),t),{},{ticks:ZN(t),viewBox:{x:0,y:0,width:n,height:o}})),i.top,i.top+i.height,r)},ZJ={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:&quot;#ccc&quot;,fill:&quot;none&quot;,verticalFill:[],horizontalFill:[],xAxisId:0,yAxisId:0,syncWithTicks:!1,zIndex:cn.grid};function Mf(e){var r=vx(),t=yx(),n=nC(),o=An(An({},xn(e,ZJ)),{},{x:dt(e.x)?e.x:n.left,y:dt(e.y)?e.y:n.top,width:dt(e.width)?e.width:n.width,height:dt(e.height)?e.height:n.height}),{xAxisId:i,yAxisId:a,x:u,y:l,width:s,height:c,syncWithTicks:m,horizontalValues:h,verticalValues:d}=o,g=On(),y=bt(V=&gt;J6(V,&quot;xAxis&quot;,i,g)),p=bt(V=&gt;J6(V,&quot;yAxis&quot;,a,g));if(!ws(s)||!ws(c)||!dt(u)||!dt(l))return null;var b=o.verticalCoordinatesGenerator||GJ,x=o.horizontalCoordinatesGenerator||YJ,{horizontalPoints:_,verticalPoints:E}=o;if((!_||!_.length)&amp;&amp;typeof x==&quot;function&quot;){var M=h&amp;&amp;h.length,D=x({yAxis:p?An(An({},p),{},{ticks:M?h:p.ticks}):void 0,width:r??s,height:t??c,offset:n},M?!0:m);oh(Array.isArray(D),&quot;horizontalCoordinatesGenerator should return Array but instead it returned [&quot;.concat(typeof D,&quot;]&quot;)),Array.isArray(D)&amp;&amp;(_=D)}if((!E||!E.length)&amp;&amp;typeof b==&quot;function&quot;){var W=d&amp;&amp;d.length,L=b({xAxis:y?An(An({},y),{},{ticks:W?d:y.ticks}):void 0,width:r??s,height:t??c,offset:n},W?!0:m);oh(Array.isArray(L),&quot;verticalCoordinatesGenerator should return Array but instead it returned [&quot;.concat(typeof L,&quot;]&quot;)),Array.isArray(L)&amp;&amp;(E=L)}return q.createElement(Ii,{zIndex:o.zIndex},q.createElement(&quot;g&quot;,{className:&quot;recharts-cartesian-grid&quot;},q.createElement(qJ,{fill:o.fill,fillOpacity:o.fillOpacity,x:o.x,y:o.y,width:o.width,height:o.height,ry:o.ry}),q.createElement(KJ,bo({},o,{horizontalPoints:_})),q.createElement(XJ,bo({},o,{verticalPoints:E})),q.createElement(WJ,bo({},o,{offset:n,horizontalPoints:_,xAxis:y,yAxis:p})),q.createElement(HJ,bo({},o,{offset:n,verticalPoints:E,xAxis:y,yAxis:p}))))}Mf.displayName=&quot;CartesianGrid&quot;;var QJ={},yE=ti({name:&quot;errorBars&quot;,initialState:QJ,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:o}=r.payload;e[t]&amp;&amp;(e[t]=e[t].map(i=&gt;i.dataKey===n.dataKey&amp;&amp;i.direction===n.direction?o:i))},removeErrorBar:(e,r)=&gt;{var{itemId:t,errorBar:n}=r.payload;e[t]&amp;&amp;(e[t]=e[t].filter(o=&gt;o.dataKey!==n.dataKey||o.direction!==n.direction))}}}),{addErrorBar:aie,replaceErrorBar:oie,removeErrorBar:lie}=yE.actions,JJ=yE.reducer,eee=[&quot;children&quot;];function tee(e,r){if(e==null)return{};var t,n,o=ree(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;(o[t]=e[t])}return o}function ree(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 nee={data:[],xAxisId:&quot;xAxis-0&quot;,yAxisId:&quot;yAxis-0&quot;,dataPointFormatter:()=&gt;({x:0,y:0,value:0}),errorBarOffset:0},iee=q.createContext(nee);function bE(e){var{children:r}=e,t=tee(e,eee);return q.createElement(iee.Provider,{value:t},r)}function k1(e,r){var t,n,o=bt(s=&gt;ra(s,e)),i=bt(s=&gt;na(s,r)),a=(t=o?.allowDataOverflow)!==null&amp;&amp;t!==void 0?t:nn.allowDataOverflow,u=(n=i?.allowDataOverflow)!==null&amp;&amp;n!==void 0?n:sn.allowDataOverflow,l=a||u;return{needClip:l,needClipX:a,needClipY:u}}function xE(e){var{xAxisId:r,yAxisId:t,clipPathId:n}=e,o=w1(),{needClipX:i,needClipY:a,needClip:u}=k1(r,t);if(!u||!o)return null;var{x:l,y:s,width:c,height:m}=o;return q.createElement(&quot;clipPath&quot;,{id:&quot;clipPath-&quot;.concat(n)},q.createElement(&quot;rect&quot;,{x:i?l:l-c/2,y:a?s:s-m/2,width:i?c:c*2,height:a?m:m*2}))}var wE=(e,r,t,n)=&gt;La(e,&quot;xAxis&quot;,r,n),_E=(e,r,t,n)=&gt;Da(e,&quot;xAxis&quot;,r,n),jE=(e,r,t,n)=&gt;La(e,&quot;yAxis&quot;,t,n),SE=(e,r,t,n)=&gt;Da(e,&quot;yAxis&quot;,t,n),see=Ee([ir,wE,jE,_E,SE],(e,r,t,n,o)=&gt;za(e,&quot;xAxis&quot;)?Ml(r,n,!1):Ml(t,o,!1)),aee=(e,r,t,n,o)=&gt;o;function oee(e){return e.type===&quot;line&quot;}var lee=Ee([Lm,aee],(e,r)=&gt;e.filter(oee).find(t=&gt;t.id===r)),cee=Ee([ir,wE,jE,_E,SE,lee,see,qx],(e,r,t,n,o,i,a,u)=&gt;{var{chartData:l,dataStartIndex:s,dataEndIndex:c}=u;if(!(i==null||r==null||t==null||n==null||o==null||n.length===0||o.length===0||a==null||e!==&quot;horizontal&quot;&amp;&amp;e!==&quot;vertical&quot;)){var{dataKey:m,data:h}=i,d;if(h!=null&amp;&amp;h.length&gt;0?d=h:d=l?.slice(s,c+1),d!=null)return Yee({layout:e,xAxis:r,yAxis:t,xAxisTicks:n,yAxisTicks:o,dataKey:m,bandSize:a,displayedData:d})}});function uee(e){var r=ku(e),t=3,n=2;if(r!=null){var{r:o,strokeWidth:i}=r,a=Number(o),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 _v={exports:{}},jv={};var sS;function dee(){if(sS)return jv;sS=1;var e=Dl();function r(l,s){return l===s&amp;&amp;(l!==0||1/l===1/s)||l!==l&amp;&amp;s!==s}var t=typeof Object.is==&quot;function&quot;?Object.is:r,n=e.useSyncExternalStore,o=e.useRef,i=e.useEffect,a=e.useMemo,u=e.useDebugValue;return jv.useSyncExternalStoreWithSelector=function(l,s,c,m,h){var d=o(null);if(d.current===null){var g={hasValue:!1,value:null};d.current=g}else g=d.current;d=a(function(){function p(M){if(!b){if(b=!0,x=M,M=m(M),h!==void 0&amp;&amp;g.hasValue){var D=g.value;if(h(D,M))return _=D}return _=M}if(D=_,t(x,M))return D;var W=m(M);return h!==void 0&amp;&amp;h(D,W)?(x=M,D):(x=M,_=W)}var b=!1,x,_,E=c===void 0?null:c;return[function(){return p(s())},E===null?void 0:function(){return p(E())}]},[s,c,m,h]);var y=n(l,d[0],d[1]);return i(function(){g.hasValue=!0,g.value=y},[y]),u(y),y},jv}var aS;function fee(){return aS||(aS=1,_v.exports=dee()),_v.exports}fee();function hee(e){e()}function mee(){let e=null,r=null;return{clear(){e=null,r=null},notify(){hee(()=&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 o=r={callback:t,next:null,prev:r};return o.prev?o.prev.next=o:e=o,function(){!n||e===null||(n=!1,o.next?o.next.prev=o.prev:r=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}var oS={notify(){},get:()=&gt;[]};function pee(e,r){let t,n=oS,o=0,i=!1;function a(y){c();const p=n.subscribe(y);let b=!1;return()=&gt;{b||(b=!0,p(),m())}}function u(){n.notify()}function l(){g.onStateChange&amp;&amp;g.onStateChange()}function s(){return i}function c(){o++,t||(t=e.subscribe(l),n=mee())}function m(){o--,t&amp;&amp;o===0&amp;&amp;(t(),t=void 0,n.clear(),n=oS)}function h(){i||(i=!0,c())}function d(){i&amp;&amp;(i=!1,m())}const g={addNestedSub:a,notifyNestedSubs:u,handleChangeWrapper:l,isSubscribed:s,trySubscribe:h,tryUnsubscribe:d,getListeners:()=&gt;n};return g}var gee=()=&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;,vee=gee(),yee=()=&gt;typeof navigator&lt;&quot;u&quot;&amp;&amp;navigator.product===&quot;ReactNative&quot;,bee=yee(),xee=()=&gt;vee||bee?q.useLayoutEffect:q.useEffect,wee=xee();function lS(e,r){return e===r?e!==0||r!==0||1/e===1/r:e!==e&amp;&amp;r!==r}function _ee(e,r){if(lS(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 o=0;o&lt;t.length;o++)if(!Object.prototype.hasOwnProperty.call(r,t[o])||!lS(e[t[o]],r[t[o]]))return!1;return!0}var jee=Symbol.for(&quot;react-redux-context&quot;),See=typeof globalThis&lt;&quot;u&quot;?globalThis:{};function kee(){if(!q.createContext)return{};const e=See[jee]??=new Map;let r=e.get(q.createContext);return r||(r=q.createContext(null),e.set(q.createContext,r)),r}var Nee=kee();function Cee(e){const{children:r,context:t,serverState:n,store:o}=e,i=q.useMemo(()=&gt;{const l=pee(o);return{store:o,subscription:l,getServerState:n?()=&gt;n:void 0}},[o,n]),a=q.useMemo(()=&gt;o.getState(),[o]);wee(()=&gt;{const{subscription:l}=i;return l.onStateChange=l.notifyNestedSubs,l.trySubscribe(),a!==o.getState()&amp;&amp;l.notifyNestedSubs(),()=&gt;{l.tryUnsubscribe(),l.onStateChange=void 0}},[i,a]);const u=t||Nee;return q.createElement(u.Provider,{value:i},r)}var Eee=Cee,Aee=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 Mee(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 Um(e,r){var t=new Set([...Object.keys(e),...Object.keys(r)]);for(var n of t)if(Aee.has(n)){if(e[n]==null&amp;&amp;r[n]==null)continue;if(!_ee(e[n],r[n]))return!1}else if(!Mee(e[n],r[n]))return!1;return!0}var Oee=[&quot;id&quot;],Tee=[&quot;type&quot;,&quot;layout&quot;,&quot;connectNulls&quot;,&quot;needClip&quot;,&quot;shape&quot;],Pee=[&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 xu(){return xu=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},xu.apply(null,arguments)}function cS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).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?cS(Object(t),!0).forEach(function(n){Iee(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 Iee(e,r,t){return(r=Ree(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Ree(e){var r=Dee(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Dee(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 N1(e,r){if(e==null)return{};var t,n,o=Lee(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;(o[t]=e[t])}return o}function Lee(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 Fee=e=&gt;{var{dataKey:r,name:t,stroke:n,legendType:o,hide:i}=e;return[{inactive:i,dataKey:r,type:o,color:n,value:dm(t,r),payload:e}]},Bee=q.memo(e=&gt;{var{dataKey:r,data:t,stroke:n,strokeWidth:o,fill:i,name:a,hide:u,unit:l,tooltipType:s,id:c}=e,m={dataDefinedOnItem:t,positions:void 0,settings:{stroke:n,strokeWidth:o,fill:i,dataKey:r,nameKey:void 0,name:dm(a,r),hide:u,type:s,color:n,unit:l,graphicalItemId:c}};return q.createElement(oE,{tooltipEntrySettings:m})}),kE=(e,r)=&gt;&quot;&quot;.concat(r,&quot;px &quot;).concat(e-r,&quot;px&quot;);function zee(e,r){for(var t=e.length%2!==0?[...e,0]:e,n=[],o=0;o&lt;r;++o)n=[...n,...t];return n}var $ee=(e,r,t)=&gt;{var n=t.reduce((m,h)=&gt;m+h);if(!n)return kE(r,e);for(var o=Math.floor(e/n),i=e%n,a=r-e,u=[],l=0,s=0;l&lt;t.length;s+=t[l],++l)if(s+t[l]&gt;i){u=[...t.slice(0,l),i-s];break}var c=u.length%2===0?[0,a]:[a];return[...zee(t,o),...u,...c].map(m=&gt;&quot;&quot;.concat(m,&quot;px&quot;)).join(&quot;, &quot;)};function Uee(e){var{clipPathId:r,points:t,props:n}=e,{dot:o,dataKey:i,needClip:a}=n,{id:u}=n,l=N1(n,Oee),s=Qi(l);return q.createElement(NQ,{points:t,dot:o,className:&quot;recharts-line-dots&quot;,dotClassName:&quot;recharts-line-dot&quot;,dataKey:i,baseProps:s,needClip:a,clipPathId:r})}function Vee(e){var{showLabels:r,children:t,points:n}=e,o=q.useMemo(()=&gt;n?.map(i=&gt;{var a,u,l={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 ms(ms({},l),{},{value:i.value,payload:i.payload,viewBox:l,parentViewBox:void 0,fill:void 0})}),[n]);return q.createElement(Y9,{value:r?o:void 0},t)}function uS(e){var{clipPathId:r,pathRef:t,points:n,strokeDasharray:o,props:i}=e,{type:a,layout:u,connectNulls:l,needClip:s,shape:c}=i,m=N1(i,Tee),h=ms(ms({},zn(m)),{},{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:l,strokeDasharray:o??i.strokeDasharray});return q.createElement(q.Fragment,null,n?.length&gt;1&amp;&amp;q.createElement(nE,xu({shapeType:&quot;curve&quot;,option:c},h,{pathRef:t})),q.createElement(Uee,{points:n,clipPathId:r,props:i}))}function qee(e){try{return e&amp;&amp;e.getTotalLength&amp;&amp;e.getTotalLength()||0}catch{return 0}}function Wee(e){var{clipPathId:r,props:t,pathRef:n,previousPointsRef:o,longestAnimatedLengthRef:i}=e,{points:a,strokeDasharray:u,isAnimationActive:l,animationBegin:s,animationDuration:c,animationEasing:m,animateNewValues:h,width:d,height:g,onAnimationEnd:y,onAnimationStart:p}=t,b=o.current,x=jm(a,&quot;recharts-line-&quot;),_=q.useRef(x),[E,M]=q.useState(!1),D=!E,W=q.useCallback(()=&gt;{typeof y==&quot;function&quot;&amp;&amp;y(),M(!1)},[y]),L=q.useCallback(()=&gt;{typeof p==&quot;function&quot;&amp;&amp;p(),M(!0)},[p]),V=qee(n.current),H=q.useRef(0);_.current!==x&amp;&amp;(H.current=i.current,_.current=x);var K=H.current;return q.createElement(Vee,{points:a,showLabels:D},t.children,q.createElement(_m,{animationId:x,begin:s,duration:c,isActive:l,easing:m,onAnimationEnd:W,onAnimationStart:L,key:x},z=&gt;{var O=Ir(K,V+K,z),I=Math.min(O,V),C;if(l)if(u){var j=&quot;&quot;.concat(u).split(/[,\s]+/gim).map(N=&gt;parseFloat(N));C=$ee(I,V,j)}else C=kE(V,I);else C=u==null?void 0:String(u);if(z&gt;0&amp;&amp;V&gt;0&amp;&amp;(o.current=a,i.current=Math.max(i.current,I)),b){var k=b.length/a.length,S=z===1?a:a.map((N,T)=&gt;{var R=Math.floor(T*k);if(b[R]){var B=b[R];return ms(ms({},N),{},{x:Ir(B.x,N.x,z),y:Ir(B.y,N.y,z)})}return h?ms(ms({},N),{},{x:Ir(d*2,N.x,z),y:Ir(g/2,N.y,z)}):ms(ms({},N),{},{x:N.x,y:N.y})});return o.current=S,q.createElement(uS,{props:t,points:S,clipPathId:r,pathRef:n,strokeDasharray:C})}return q.createElement(uS,{props:t,points:a,clipPathId:r,pathRef:n,strokeDasharray:C})}),q.createElement(Q9,{label:t.label}))}function Hee(e){var{clipPathId:r,props:t}=e,n=q.useRef(null),o=q.useRef(0),i=q.useRef(null);return q.createElement(Wee,{props:t,clipPathId:r,previousPointsRef:n,longestAnimatedLengthRef:o,pathRef:i})}var Kee=(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:Ur(e.payload,r)}};class Xee extends q.Component{render(){var{hide:r,dot:t,points:n,className:o,xAxisId:i,yAxisId:a,top:u,left:l,width:s,height:c,id:m,needClip:h,zIndex:d}=this.props;if(r)return null;var g=or(&quot;recharts-line&quot;,o),y=m,{r:p,strokeWidth:b}=uee(t),x=rE(t),_=p*2+b,E=h?&quot;url(#clipPath-&quot;.concat(x?&quot;&quot;:&quot;dots-&quot;).concat(y,&quot;)&quot;):void 0;return q.createElement(Ii,{zIndex:d},q.createElement(Mi,{className:g},h&amp;&amp;q.createElement(&quot;defs&quot;,null,q.createElement(xE,{clipPathId:y,xAxisId:i,yAxisId:a}),!x&amp;&amp;q.createElement(&quot;clipPath&quot;,{id:&quot;clipPath-dots-&quot;.concat(y)},q.createElement(&quot;rect&quot;,{x:l-_/2,y:u-_/2,width:s+_,height:c+_}))),q.createElement(bE,{xAxisId:i,yAxisId:a,data:n,dataPointFormatter:Kee,errorBarOffset:0},q.createElement(Hee,{props:this.props,clipPathId:y}))),q.createElement(HQ,{activeDot:this.props.activeDot,points:n,mainColor:this.props.stroke,itemDataKey:this.props.dataKey,clipPath:E}))}}var NE={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:cn.line,type:&quot;linear&quot;};function Gee(e){var r=xn(e,NE),{activeDot:t,animateNewValues:n,animationBegin:o,animationDuration:i,animationEasing:a,connectNulls:u,dot:l,hide:s,isAnimationActive:c,label:m,legendType:h,xAxisId:d,yAxisId:g,id:y}=r,p=N1(r,Pee),{needClip:b}=k1(d,g),x=w1(),_=Ul(),E=On(),M=bt(H=&gt;cee(H,d,g,E,y));if(_!==&quot;horizontal&quot;&amp;&amp;_!==&quot;vertical&quot;||M==null||x==null)return null;var{height:D,width:W,x:L,y:V}=x;return q.createElement(Xee,xu({},p,{id:y,connectNulls:u,dot:l,activeDot:t,animateNewValues:n,animationBegin:o,animationDuration:i,animationEasing:a,isAnimationActive:c,hide:s,label:m,legendType:h,xAxisId:d,yAxisId:g,points:M,layout:_,height:D,width:W,left:L,top:V,needClip:b}))}function Yee(e){var{layout:r,xAxis:t,yAxis:n,xAxisTicks:o,yAxisTicks:i,dataKey:a,bandSize:u,displayedData:l}=e;return l.map((s,c)=&gt;{var m=Ur(s,a);if(r===&quot;horizontal&quot;){var h=t5({axis:t,ticks:o,bandSize:u,entry:s,index:c}),d=jr(m)?null:n.scale(m);return{x:h,y:d,value:m,payload:s}}var g=jr(m)?null:t.scale(m),y=t5({axis:n,ticks:i,bandSize:u,entry:s,index:c});return g==null||y==null?null:{x:g,y,value:m,payload:s}}).filter(Boolean)}function Zee(e){var r=xn(e,NE),t=On();return q.createElement(cE,{id:r.id,type:&quot;line&quot;},n=&gt;q.createElement(q.Fragment,null,q.createElement(lE,{legendPayload:Fee(r)}),q.createElement(Bee,{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}),q.createElement(dE,{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}),q.createElement(Gee,xu({},r,{id:n}))))}var CE=q.memo(Zee,Um);CE.displayName=&quot;Line&quot;;function Do(e,r){var t,n;return(t=(n=e.graphicalItems.cartesianItems.find(o=&gt;o.id===r))===null||n===void 0?void 0:n.xAxisId)!==null&amp;&amp;t!==void 0?t:fE}function Lo(e,r){var t,n;return(t=(n=e.graphicalItems.cartesianItems.find(o=&gt;o.id===r))===null||n===void 0?void 0:n.yAxisId)!==null&amp;&amp;t!==void 0?t:fE}var Qee=&quot;Invariant failed&quot;;function Jee(e,r){throw new Error(Qee)}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 Rh(e){return q.createElement(nE,tb({shapeType:&quot;rectangle&quot;,activeClassName:&quot;recharts-active-bar&quot;},e))}var ete=function(r){var t=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:0;return(n,o)=&gt;{if(dt(r))return r;var i=dt(n)||jr(n);return i?r(n,o):(i||Jee(),t)}},tte=(e,r,t)=&gt;t,rte=(e,r)=&gt;r,qu=Ee([Lm,rte],(e,r)=&gt;e.filter(t=&gt;t.type===&quot;bar&quot;).find(t=&gt;t.id===r)),nte=Ee([qu],e=&gt;e?.maxBarSize),ite=(e,r,t,n)=&gt;n,ste=Ee([ir,Lm,Do,Lo,tte],(e,r,t,n,o)=&gt;r.filter(i=&gt;e===&quot;horizontal&quot;?i.xAxisId===t:i.yAxisId===n).filter(i=&gt;i.isPanorama===o).filter(i=&gt;i.hide===!1).filter(i=&gt;i.type===&quot;bar&quot;)),ate=(e,r,t)=&gt;{var n=ir(e),o=Do(e,r),i=Lo(e,r);if(!(o==null||i==null))return n===&quot;horizontal&quot;?Ky(e,&quot;yAxis&quot;,i,t):Ky(e,&quot;xAxis&quot;,o,t)},ote=(e,r)=&gt;{var t=ir(e),n=Do(e,r),o=Lo(e,r);if(!(n==null||o==null))return t===&quot;horizontal&quot;?Q6(e,&quot;xAxis&quot;,n):Q6(e,&quot;yAxis&quot;,o)},lte=Ee([ste,vK,ote],KQ),cte=(e,r,t)=&gt;{var n,o,i=qu(e,r);if(i!=null){var a=Do(e,r),u=Lo(e,r);if(!(a==null||u==null)){var l=ir(e),s=g7(e),{maxBarSize:c}=i,m=jr(c)?s:c,h,d;return l===&quot;horizontal&quot;?(h=La(e,&quot;xAxis&quot;,a,t),d=Da(e,&quot;xAxis&quot;,a,t)):(h=La(e,&quot;yAxis&quot;,u,t),d=Da(e,&quot;yAxis&quot;,u,t)),(n=(o=Ml(h,d,!0))!==null&amp;&amp;o!==void 0?o:m)!==null&amp;&amp;n!==void 0?n:0}}},EE=(e,r,t)=&gt;{var n=ir(e),o=Do(e,r),i=Lo(e,r);if(!(o==null||i==null)){var a,u;return n===&quot;horizontal&quot;?(a=La(e,&quot;xAxis&quot;,o,t),u=Da(e,&quot;xAxis&quot;,o,t)):(a=La(e,&quot;yAxis&quot;,i,t),u=Da(e,&quot;yAxis&quot;,i,t)),Ml(a,u)}},ute=Ee([lte,g7,gK,v7,cte,EE,nte],QQ),dte=(e,r,t)=&gt;{var n=Do(e,r);if(n!=null)return La(e,&quot;xAxis&quot;,n,t)},fte=(e,r,t)=&gt;{var n=Lo(e,r);if(n!=null)return La(e,&quot;yAxis&quot;,n,t)},hte=(e,r,t)=&gt;{var n=Do(e,r);if(n!=null)return Da(e,&quot;xAxis&quot;,n,t)},mte=(e,r,t)=&gt;{var n=Lo(e,r);if(n!=null)return Da(e,&quot;yAxis&quot;,n,t)},pte=Ee([ute,qu],(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}}),gte=Ee([ate,qu],JQ),vte=Ee([un,px,dte,fte,hte,mte,pte,ir,iK,EE,gte,qu,ite],(e,r,t,n,o,i,a,u,l,s,c,m,h)=&gt;{var{chartData:d,dataStartIndex:g,dataEndIndex:y}=l;if(!(m==null||a==null||r==null||u!==&quot;horizontal&quot;&amp;&amp;u!==&quot;vertical&quot;||t==null||n==null||o==null||i==null||s==null)){var{data:p}=m,b;if(p!=null&amp;&amp;p.length&gt;0?b=p:b=d?.slice(g,y+1),b!=null)return Hte({layout:u,barSettings:m,pos:a,parentViewBox:r,bandSize:s,xAxis:t,yAxis:n,xAxisTicks:o,yAxisTicks:i,stackedData:c,displayedData:b,offset:e,cells:h,dataStartIndex:g})}}),yte=[&quot;index&quot;];function rb(){return rb=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},rb.apply(null,arguments)}function bte(e,r){if(e==null)return{};var t,n,o=xte(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;(o[t]=e[t])}return o}function xte(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 AE=q.createContext(void 0),wte=e=&gt;{var r=q.useContext(AE);if(r!=null)return r.stackId;if(e!=null)return H$(e)},_te=(e,r)=&gt;&quot;recharts-bar-stack-clip-path-&quot;.concat(e,&quot;-&quot;).concat(r),jte=e=&gt;{var r=q.useContext(AE);if(r!=null){var{stackId:t}=r;return&quot;url(#&quot;.concat(_te(t,e),&quot;)&quot;)}},Ste=e=&gt;{var{index:r}=e,t=bte(e,yte),n=jte(r);return q.createElement(Mi,rb({className:&quot;recharts-bar-stack-layer&quot;,clipPath:n},t))},kte=[&quot;onMouseEnter&quot;,&quot;onMouseLeave&quot;,&quot;onClick&quot;],Nte=[&quot;value&quot;,&quot;background&quot;,&quot;tooltipPosition&quot;],Cte=[&quot;id&quot;],Ete=[&quot;onMouseEnter&quot;,&quot;onClick&quot;,&quot;onMouseLeave&quot;];function Ys(){return Ys=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},Ys.apply(null,arguments)}function dS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Dn(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?dS(Object(t),!0).forEach(function(n){Ate(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):dS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Ate(e,r,t){return(r=Mte(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Mte(e){var r=Ote(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Ote(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 Dh(e,r){if(e==null)return{};var t,n,o=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;(o[t]=e[t])}return o}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 Pte=e=&gt;{var{dataKey:r,name:t,fill:n,legendType:o,hide:i}=e;return[{inactive:i,dataKey:r,type:o,color:n,value:dm(t,r),payload:e}]},Ite=q.memo(e=&gt;{var{dataKey:r,stroke:t,strokeWidth:n,fill:o,name:i,hide:a,unit:u,tooltipType:l,id:s}=e,c={dataDefinedOnItem:void 0,positions:void 0,settings:{stroke:t,strokeWidth:n,fill:o,dataKey:r,nameKey:void 0,name:dm(i,r),hide:a,type:l,color:o,unit:u,graphicalItemId:s}};return q.createElement(oE,{tooltipEntrySettings:c})});function Rte(e){var r=bt(Oo),{data:t,dataKey:n,background:o,allOtherBarProps:i}=e,{onMouseEnter:a,onMouseLeave:u,onClick:l}=i,s=Dh(i,kte),c=iE(a,n,i.id),m=sE(u),h=aE(l,n,i.id);if(!o||t==null)return null;var d=ku(o);return q.createElement(Ii,{zIndex:eJ(o,cn.barBackground)},t.map((g,y)=&gt;{var{value:p,background:b,tooltipPosition:x}=g,_=Dh(g,Nte);if(!b)return null;var E=c(g,y),M=m(g,y),D=h(g,y),W=Dn(Dn(Dn(Dn(Dn({option:o,isActive:String(y)===r},_),{},{fill:&quot;#eee&quot;},b),d),em(s,g,y)),{},{onMouseEnter:E,onMouseLeave:M,onClick:D,dataKey:n,index:y,className:&quot;recharts-bar-background-rectangle&quot;});return q.createElement(Rh,Ys({key:&quot;background-bar-&quot;.concat(y)},W))}))}function Dte(e){var{showLabels:r,children:t,rects:n}=e,o=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 Dn(Dn({},a),{},{value:i.value,payload:i.payload,parentViewBox:i.parentViewBox,viewBox:a,fill:i.fill})});return q.createElement(Y9,{value:r?o:void 0},t)}function Lte(e){var{shape:r,activeBar:t,baseProps:n,entry:o,index:i,dataKey:a}=e,u=bt(Oo),l=bt(C9),s=t&amp;&amp;String(i)===u&amp;&amp;(l==null||a===l),c=s?t:r;return s?q.createElement(Ii,{zIndex:cn.activeBar},q.createElement(Rh,Ys({},n,{name:String(n.name)},o,{isActive:s,option:c,index:i,dataKey:a}))):q.createElement(Rh,Ys({},n,{name:String(n.name)},o,{isActive:s,option:c,index:i,dataKey:a}))}function Fte(e){var{shape:r,baseProps:t,entry:n,index:o,dataKey:i}=e;return q.createElement(Rh,Ys({},t,{name:String(t.name)},n,{isActive:!1,option:r,index:o,dataKey:i}))}function Bte(e){var r,{data:t,props:n}=e,o=(r=Qi(n))!==null&amp;&amp;r!==void 0?r:{},{id:i}=o,a=Dh(o,Cte),{shape:u,dataKey:l,activeBar:s}=n,{onMouseEnter:c,onClick:m,onMouseLeave:h}=n,d=Dh(n,Ete),g=iE(c,l,i),y=sE(h),p=aE(m,l,i);return t?q.createElement(q.Fragment,null,t.map((b,x)=&gt;q.createElement(Ste,Ys({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;},em(d,b,x),{onMouseEnter:g(b,x),onMouseLeave:y(b,x),onClick:p(b,x)}),s?q.createElement(Lte,{shape:u,activeBar:s,baseProps:a,entry:b,index:x,dataKey:l}):q.createElement(Fte,{shape:u,baseProps:a,entry:b,index:x,dataKey:l})))):null}function zte(e){var{props:r,previousRectanglesRef:t}=e,{data:n,layout:o,isAnimationActive:i,animationBegin:a,animationDuration:u,animationEasing:l,onAnimationEnd:s,onAnimationStart:c}=r,m=t.current,h=jm(r,&quot;recharts-bar-&quot;),[d,g]=q.useState(!1),y=!d,p=q.useCallback(()=&gt;{typeof s==&quot;function&quot;&amp;&amp;s(),g(!1)},[s]),b=q.useCallback(()=&gt;{typeof c==&quot;function&quot;&amp;&amp;c(),g(!0)},[c]);return q.createElement(Dte,{showLabels:y,rects:n},q.createElement(_m,{animationId:h,begin:a,duration:u,isActive:i,easing:l,onAnimationEnd:p,onAnimationStart:b,key:h},x=&gt;{var _=x===1?n:n?.map((E,M)=&gt;{var D=m&amp;&amp;m[M];if(D)return Dn(Dn({},E),{},{x:Ir(D.x,E.x,x),y:Ir(D.y,E.y,x),width:Ir(D.width,E.width,x),height:Ir(D.height,E.height,x)});if(o===&quot;horizontal&quot;){var W=Ir(0,E.height,x),L=Ir(E.stackedBarStart,E.y,x);return Dn(Dn({},E),{},{y:L,height:W})}var V=Ir(0,E.width,x),H=Ir(E.stackedBarStart,E.x,x);return Dn(Dn({},E),{},{width:V,x:H})});return x&gt;0&amp;&amp;(t.current=_??null),_==null?null:q.createElement(Mi,null,q.createElement(Bte,{props:r,data:_}))}),q.createElement(Q9,{label:r.label}),r.children)}function $te(e){var r=q.useRef(null);return q.createElement(zte,{previousRectanglesRef:r,props:e})}var ME=0,Ute=(e,r)=&gt;{var t=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:t,errorVal:Ur(e,r)}};class Vte extends q.PureComponent{render(){var{hide:r,data:t,dataKey:n,className:o,xAxisId:i,yAxisId:a,needClip:u,background:l,id:s}=this.props;if(r||t==null)return null;var c=or(&quot;recharts-bar&quot;,o),m=s;return q.createElement(Mi,{className:c,id:s},u&amp;&amp;q.createElement(&quot;defs&quot;,null,q.createElement(xE,{clipPathId:m,xAxisId:i,yAxisId:a})),q.createElement(Mi,{className:&quot;recharts-bar-rectangles&quot;,clipPath:u?&quot;url(#clipPath-&quot;.concat(m,&quot;)&quot;):void 0},q.createElement(Rte,{data:t,dataKey:n,background:l,allOtherBarProps:this.props}),q.createElement($te,this.props)))}}var qte={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:ME,xAxisId:0,yAxisId:0,zIndex:cn.bar};function Wte(e){var{xAxisId:r,yAxisId:t,hide:n,legendType:o,minPointSize:i,activeBar:a,animationBegin:u,animationDuration:l,animationEasing:s,isAnimationActive:c}=e,{needClip:m}=k1(r,t),h=Ul(),d=On(),g=VZ(e.children,F9),y=bt(x=&gt;vte(x,e.id,d,g));if(h!==&quot;vertical&quot;&amp;&amp;h!==&quot;horizontal&quot;)return null;var p,b=y?.[0];return b==null||b.height==null||b.width==null?p=0:p=h===&quot;vertical&quot;?b.height/2:b.width/2,q.createElement(bE,{xAxisId:r,yAxisId:t,data:y,dataPointFormatter:Ute,errorBarOffset:p},q.createElement(Vte,Ys({},e,{layout:h,needClip:m,data:y,xAxisId:r,yAxisId:t,hide:n,legendType:o,minPointSize:i,activeBar:a,animationBegin:u,animationDuration:l,animationEasing:s,isAnimationActive:c})))}function Hte(e){var{layout:r,barSettings:{dataKey:t,minPointSize:n},pos:o,bandSize:i,xAxis:a,yAxis:u,xAxisTicks:l,yAxisTicks:s,stackedData:c,displayedData:m,offset:h,cells:d,parentViewBox:g,dataStartIndex:y}=e,p=r===&quot;horizontal&quot;?u:a,b=c?p.scale.domain():null,x=K$({numericAxis:p}),_=p.scale(x);return m.map((E,M)=&gt;{var D,W,L,V,H,K;if(c){var z=c[M+y];if(z==null)return null;D=$$(z,b)}else D=Ur(E,t),Array.isArray(D)||(D=[x,D]);var O=ete(n,ME)(D[1],M);if(r===&quot;horizontal&quot;){var I,[C,j]=[u.scale(D[0]),u.scale(D[1])];W=r5({axis:a,ticks:l,bandSize:i,offset:o.offset,entry:E,index:M}),L=(I=j??C)!==null&amp;&amp;I!==void 0?I:void 0,V=o.size;var k=C-j;if(H=Ji(k)?0:k,K={x:W,y:h.top,width:V,height:h.height},Math.abs(O)&gt;0&amp;&amp;Math.abs(H)&lt;Math.abs(O)){var S=Qn(H||O)*(Math.abs(O)-Math.abs(H));L-=S,H+=S}}else{var[N,T]=[a.scale(D[0]),a.scale(D[1])];if(W=N,L=r5({axis:u,ticks:s,bandSize:i,offset:o.offset,entry:E,index:M}),V=T-N,H=o.size,K={x:h.left,y:L,width:h.width,height:H},Math.abs(O)&gt;0&amp;&amp;Math.abs(V)&lt;Math.abs(O)){var R=Qn(V||O)*(Math.abs(O)-Math.abs(V));V+=R}}if(W==null||L==null||V==null||H==null)return null;var B=Dn(Dn({},E),{},{stackedBarStart:_,x:W,y:L,width:V,height:H,value:c?D:D[1],payload:E,background:K,tooltipPosition:{x:W+V/2,y:L+H/2},parentViewBox:g},d&amp;&amp;d[M]&amp;&amp;d[M].props);return B}).filter(Boolean)}function Kte(e){var r=xn(e,qte),t=wte(r.stackId),n=On();return q.createElement(cE,{id:r.id,type:&quot;bar&quot;},o=&gt;q.createElement(q.Fragment,null,q.createElement(lE,{legendPayload:Pte(r)}),q.createElement(Ite,{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:o}),q.createElement(dE,{type:&quot;bar&quot;,id:o,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}),q.createElement(Ii,{zIndex:r.zIndex},q.createElement(Wte,Ys({},r,{id:o})))))}var nb=q.memo(Kte,Um);nb.displayName=&quot;Bar&quot;;var Xte=[&quot;domain&quot;,&quot;range&quot;],Gte=[&quot;domain&quot;,&quot;range&quot;];function fS(e,r){if(e==null)return{};var t,n,o=Yte(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;(o[t]=e[t])}return o}function Yte(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 hS(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 OE(e,r){if(e===r)return!0;var{domain:t,range:n}=e,o=fS(e,Xte),{domain:i,range:a}=r,u=fS(r,Gte);return!hS(t,i)||!hS(n,a)?!1:Um(o,u)}var Zte=[&quot;dangerouslySetInnerHTML&quot;,&quot;ticks&quot;,&quot;scale&quot;],Qte=[&quot;id&quot;,&quot;scale&quot;];function ib(){return ib=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},ib.apply(null,arguments)}function mS(e,r){if(e==null)return{};var t,n,o=Jte(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;(o[t]=e[t])}return o}function Jte(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 ere(e){var r=Ar(),t=q.useRef(null);return q.useLayoutEffect(()=&gt;{t.current===null?r(OQ(e)):t.current!==e&amp;&amp;r(TQ({prev:t.current,next:e})),t.current=e},[e,r]),q.useLayoutEffect(()=&gt;()=&gt;{t.current&amp;&amp;(r(PQ(t.current)),t.current=null)},[r]),null}var tre=e=&gt;{var{xAxisId:r,className:t}=e,n=bt(px),o=On(),i=&quot;xAxis&quot;,a=bt(b=&gt;o9(b,i,r,o)),u=bt(b=&gt;n9(b,r)),l=bt(b=&gt;mX(b,r)),s=bt(b=&gt;N7(b,r));if(u==null||l==null||s==null)return null;var{dangerouslySetInnerHTML:c,ticks:m,scale:h}=e,d=mS(e,Zte),{id:g,scale:y}=s,p=mS(s,Qte);return q.createElement(S1,ib({},d,p,{x:l.x,y:l.y,width:u.width,height:u.height,className:or(&quot;recharts-&quot;.concat(i,&quot; &quot;).concat(i),t),viewBox:n,ticks:a,axisType:i}))},rre={allowDataOverflow:nn.allowDataOverflow,allowDecimals:nn.allowDecimals,allowDuplicatedCategory:nn.allowDuplicatedCategory,angle:nn.angle,axisLine:Us.axisLine,height:nn.height,hide:!1,includeHidden:nn.includeHidden,interval:nn.interval,minTickGap:nn.minTickGap,mirror:nn.mirror,orientation:nn.orientation,padding:nn.padding,reversed:nn.reversed,scale:nn.scale,tick:nn.tick,tickCount:nn.tickCount,tickLine:Us.tickLine,tickSize:Us.tickSize,type:nn.type,xAxisId:0},nre=e=&gt;{var r=xn(e,rre);return q.createElement(q.Fragment,null,q.createElement(ere,{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}),q.createElement(tre,r))},Of=q.memo(nre,OE);Of.displayName=&quot;XAxis&quot;;var ire=[&quot;dangerouslySetInnerHTML&quot;,&quot;ticks&quot;,&quot;scale&quot;],sre=[&quot;id&quot;,&quot;scale&quot;];function sb(){return sb=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},sb.apply(null,arguments)}function pS(e,r){if(e==null)return{};var t,n,o=are(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;(o[t]=e[t])}return o}function are(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 ore(e){var r=Ar(),t=q.useRef(null);return q.useLayoutEffect(()=&gt;{t.current===null?r(IQ(e)):t.current!==e&amp;&amp;r(RQ({prev:t.current,next:e})),t.current=e},[e,r]),q.useLayoutEffect(()=&gt;()=&gt;{t.current&amp;&amp;(r(DQ(t.current)),t.current=null)},[r]),null}var lre=e=&gt;{var{yAxisId:r,className:t,width:n,label:o}=e,i=q.useRef(null),a=q.useRef(null),u=bt(px),l=On(),s=Ar(),c=&quot;yAxis&quot;,m=bt(D=&gt;i9(D,r)),h=bt(D=&gt;gX(D,r)),d=bt(D=&gt;o9(D,c,r,l)),g=bt(D=&gt;C7(D,r));if(q.useLayoutEffect(()=&gt;{if(!(n!==&quot;auto&quot;||!m||x1(o)||q.isValidElement(o)||g==null)){var D=i.current;if(D){var W=D.getCalculatedWidth();Math.round(m.width)!==Math.round(W)&amp;&amp;s(LQ({id:r,width:W}))}}},[d,m,s,o,r,n,g]),m==null||h==null||g==null)return null;var{dangerouslySetInnerHTML:y,ticks:p,scale:b}=e,x=pS(e,ire),{id:_,scale:E}=g,M=pS(g,sre);return q.createElement(S1,sb({},x,M,{ref:i,labelRef:a,x:h.x,y:h.y,tickTextProps:n===&quot;auto&quot;?{width:void 0}:{width:n},width:m.width,height:m.height,className:or(&quot;recharts-&quot;.concat(c,&quot; &quot;).concat(c),t),viewBox:u,ticks:d,axisType:c}))},cre={allowDataOverflow:sn.allowDataOverflow,allowDecimals:sn.allowDecimals,allowDuplicatedCategory:sn.allowDuplicatedCategory,angle:sn.angle,axisLine:Us.axisLine,hide:!1,includeHidden:sn.includeHidden,interval:sn.interval,minTickGap:sn.minTickGap,mirror:sn.mirror,orientation:sn.orientation,padding:sn.padding,reversed:sn.reversed,scale:sn.scale,tick:sn.tick,tickCount:sn.tickCount,tickLine:Us.tickLine,tickSize:Us.tickSize,type:sn.type,width:sn.width,yAxisId:0},ure=e=&gt;{var r=xn(e,cre);return q.createElement(q.Fragment,null,q.createElement(ore,{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}),q.createElement(lre,r))},Tf=q.memo(ure,OE);Tf.displayName=&quot;YAxis&quot;;var dre=(e,r)=&gt;r,C1=Ee([dre,ir,S7,Yr,j9,ia,OG,un],FG),E1=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)}},TE=Oi(&quot;mouseClick&quot;),PE=Au();PE.startListening({actionCreator:TE,effect:(e,r)=&gt;{var t=e.payload,n=C1(r.getState(),E1(t));n?.activeIndex!=null&amp;&amp;r.dispatch(MX({activeIndex:n.activeIndex,activeDataKey:void 0,activeCoordinate:n.activeCoordinate}))}});var ab=Oi(&quot;mouseMove&quot;),IE=Au(),gf=null;IE.startListening({actionCreator:ab,effect:(e,r)=&gt;{var t=e.payload;gf!==null&amp;&amp;cancelAnimationFrame(gf);var n=E1(t);gf=requestAnimationFrame(()=&gt;{var o=r.getState(),i=c1(o,o.tooltip.settings.shared);if(i===&quot;axis&quot;){var a=C1(o,n);a?.activeIndex!=null?r.dispatch(p9({activeIndex:a.activeIndex,activeDataKey:void 0,activeCoordinate:a.activeCoordinate})):r.dispatch(m9())}gf=null})}});function fre(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 gS={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},RE=ti({name:&quot;rootProps&quot;,initialState:gS,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:gS.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}}}),hre=RE.reducer,{updateOptions:mre}=RE.actions,DE=ti({name:&quot;polarOptions&quot;,initialState:null,reducers:{updatePolarOptions:(e,r)=&gt;r.payload}}),{updatePolarOptions:cie}=DE.actions,pre=DE.reducer,LE=Oi(&quot;keyDown&quot;),FE=Oi(&quot;focus&quot;),A1=Au();A1.startListening({actionCreator:LE,effect:(e,r)=&gt;{var t=r.getState(),n=t.rootProps.accessibilityLayer!==!1;if(n){var{keyboardInteraction:o}=t.tooltip,i=e.payload;if(!(i!==&quot;ArrowRight&quot;&amp;&amp;i!==&quot;ArrowLeft&quot;&amp;&amp;i!==&quot;Enter&quot;)){var a=u1(o,Yl(t),Fu(t),Uu(t)),u=a==null?-1:Number(a);if(!(!Number.isFinite(u)||u&lt;0)){var l=ia(t);if(i===&quot;Enter&quot;){var s=Ah(t,&quot;axis&quot;,&quot;hover&quot;,String(o.index));r.dispatch(Gy({active:!o.active,activeIndex:o.index,activeCoordinate:s}));return}var c=xX(t),m=c===&quot;left-to-right&quot;?1:-1,h=i===&quot;ArrowRight&quot;?1:-1,d=u+h*m;if(!(l==null||d&gt;=l.length||d&lt;0)){var g=Ah(t,&quot;axis&quot;,&quot;hover&quot;,String(d));r.dispatch(Gy({active:!0,activeIndex:d.toString(),activeCoordinate:g}))}}}}}});A1.startListening({actionCreator:FE,effect:(e,r)=&gt;{var t=r.getState(),n=t.rootProps.accessibilityLayer!==!1;if(n){var{keyboardInteraction:o}=t.tooltip;if(!o.active&amp;&amp;o.index==null){var i=&quot;0&quot;,a=Ah(t,&quot;axis&quot;,&quot;hover&quot;,String(i));r.dispatch(Gy({active:!0,activeIndex:i,activeCoordinate:a}))}}}});var Si=Oi(&quot;externalEvent&quot;),BE=Au(),Sv=new Map;BE.startListening({actionCreator:Si,effect:(e,r)=&gt;{var{handler:t,reactEvent:n}=e.payload;if(t!=null){n.persist();var o=n.type,i=Sv.get(o);i!==void 0&amp;&amp;cancelAnimationFrame(i);var a=requestAnimationFrame(()=&gt;{try{var u=r.getState(),l={activeCoordinate:pG(u),activeDataKey:C9(u),activeIndex:Oo(u),activeLabel:N9(u),activeTooltipIndex:Oo(u),isTooltipActive:gG(u)};t(l,n)}finally{Sv.delete(o)}});Sv.set(o,a)}}});var gre=Ee([Xl],e=&gt;e.tooltipItemPayloads),vre=Ee([gre,$u,(e,r)=&gt;r,(e,r,t)=&gt;t],(e,r,t,n)=&gt;{var o=e.find(u=&gt;u.settings.graphicalItemId===n);if(o!=null){var{positions:i}=o;if(i!=null){var a=r(i,t);return a}}}),zE=Oi(&quot;touchMove&quot;),$E=Au();$E.startListening({actionCreator:zE,effect:(e,r)=&gt;{var t=e.payload;if(!(t.touches==null||t.touches.length===0)){var n=r.getState(),o=c1(n,n.tooltip.settings.shared);if(o===&quot;axis&quot;){var i=t.touches[0];if(i==null)return;var a=C1(n,E1({clientX:i.clientX,clientY:i.clientY,currentTarget:t.currentTarget}));a?.activeIndex!=null&amp;&amp;r.dispatch(p9({activeIndex:a.activeIndex,activeDataKey:void 0,activeCoordinate:a.activeCoordinate}))}else if(o===&quot;item&quot;){var u,l=t.touches[0];if(document.elementFromPoint==null||l==null)return;var s=document.elementFromPoint(l.clientX,l.clientY);if(!s||!s.getAttribute)return;var c=s.getAttribute(eU),m=(u=s.getAttribute(tU))!==null&amp;&amp;u!==void 0?u:void 0,h=Gl(n).find(y=&gt;y.id===m);if(c==null||h==null||m==null)return;var{dataKey:d}=h,g=vre(n,c,m);r.dispatch(h9({activeDataKey:d,activeIndex:c,activeCoordinate:g,activeGraphicalItemId:m}))}}}});var yre=wN({brush:rJ,cartesianAxis:FQ,chartData:pY,errorBars:JJ,graphicalItems:gQ,layout:R$,legend:XU,options:uY,polarAxis:BZ,polarOptions:pre,referenceElements:cJ,rootProps:hre,tooltip:OX,zIndex:QG}),bre=function(r){var t=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:&quot;Chart&quot;;return a$({reducer:yre,preloadedState:r,middleware:n=&gt;{var o;return n({serializableCheck:!1,immutableCheck:![&quot;commonjs&quot;,&quot;es6&quot;,&quot;production&quot;].includes((o=&quot;es6&quot;)!==null&amp;&amp;o!==void 0?o:&quot;&quot;)}).concat([PE.middleware,IE.middleware,A1.middleware,BE.middleware,$E.middleware])},enhancers:n=&gt;{var o=n;return typeof n==&quot;function&quot;&amp;&amp;(o=n()),o.concat(DN({type:&quot;raf&quot;}))},devTools:{serialize:{replacer:fre},name:&quot;recharts-&quot;.concat(t)}})};function xre(e){var{preloadedState:r,children:t,reduxStoreName:n}=e,o=On(),i=q.useRef(null);if(o)return t;i.current==null&amp;&amp;(i.current=bre(r,n));var a=lx;return q.createElement(Eee,{context:a,store:i.current},t)}function wre(e){var{layout:r,margin:t}=e,n=Ar(),o=On();return q.useEffect(()=&gt;{o||(n(T$(r)),n(O$(t)))},[n,o,r,t]),null}var _re=q.memo(wre,Um);function jre(e){var r=Ar();return q.useEffect(()=&gt;{r(mre(e))},[r,e]),null}function vS(e){var{zIndex:r,isPanorama:t}=e,n=q.useRef(null),o=Ar();return q.useLayoutEffect(()=&gt;(n.current&amp;&amp;o(YG({zIndex:r,element:n.current,isPanorama:t})),()=&gt;{o(ZG({zIndex:r,isPanorama:t}))}),[o,r,t]),q.createElement(&quot;g&quot;,{tabIndex:-1,ref:n})}function yS(e){var{children:r,isPanorama:t}=e,n=bt(zG);if(!n||n.length===0)return r;var o=n.filter(a=&gt;a&lt;0),i=n.filter(a=&gt;a&gt;0);return q.createElement(q.Fragment,null,o.map(a=&gt;q.createElement(vS,{key:a,zIndex:a,isPanorama:t})),r,i.map(a=&gt;q.createElement(vS,{key:a,zIndex:a,isPanorama:t})))}var Sre=[&quot;children&quot;];function kre(e,r){if(e==null)return{};var t,n,o=Nre(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;(o[t]=e[t])}return o}function Nre(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 Lh(){return Lh=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},Lh.apply(null,arguments)}var Cre={width:&quot;100%&quot;,height:&quot;100%&quot;,display:&quot;block&quot;},Ere=q.forwardRef((e,r)=&gt;{var t=vx(),n=yx(),o=dC();if(!ws(t)||!ws(n))return null;var{children:i,otherAttributes:a,title:u,desc:l}=e,s,c;return a!=null&amp;&amp;(typeof a.tabIndex==&quot;number&quot;?s=a.tabIndex:s=o?0:void 0,typeof a.role==&quot;string&quot;?c=a.role:c=o?&quot;application&quot;:void 0),q.createElement(Zb,Lh({},a,{title:u,desc:l,role:c,tabIndex:s,width:t,height:n,style:Cre,ref:r}),i)}),Are=e=&gt;{var{children:r}=e,t=bt(pm);if(!t)return null;var{width:n,height:o,y:i,x:a}=t;return q.createElement(Zb,{width:n,height:o,x:a,y:i},r)},bS=q.forwardRef((e,r)=&gt;{var{children:t}=e,n=kre(e,Sre),o=On();return o?q.createElement(Are,null,q.createElement(yS,{isPanorama:!0},t)):q.createElement(Ere,Lh({ref:r},n),q.createElement(yS,{isPanorama:!1},t))});function Mre(){var e=Ar(),[r,t]=q.useState(null),n=bt(J$);return q.useEffect(()=&gt;{if(r!=null){var o=r.getBoundingClientRect(),i=o.width/r.offsetWidth;Er(i)&amp;&amp;i!==n&amp;&amp;e(I$(i))}},[r,e,n]),t}function xS(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&amp;&amp;(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),t.push.apply(t,n)}return t}function Ore(e){for(var r=1;r&lt;arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?xS(Object(t),!0).forEach(function(n){Tre(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):xS(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Tre(e,r,t){return(r=Pre(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Pre(e){var r=Ire(e,&quot;string&quot;);return typeof r==&quot;symbol&quot;?r:r+&quot;&quot;}function Ire(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 Po(){return Po=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},Po.apply(null,arguments)}var Rre=()=&gt;(SY(),null);function Fh(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 Dre=q.forwardRef((e,r)=&gt;{var t,n,o=q.useRef(null),[i,a]=q.useState({containerWidth:Fh((t=e.style)===null||t===void 0?void 0:t.width),containerHeight:Fh((n=e.style)===null||n===void 0?void 0:n.height)}),u=q.useCallback((s,c)=&gt;{a(m=&gt;{var h=Math.round(s),d=Math.round(c);return m.containerWidth===h&amp;&amp;m.containerHeight===d?m:{containerWidth:h,containerHeight:d}})},[]),l=q.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:m}=s.getBoundingClientRect();u(c,m);var h=g=&gt;{var{width:y,height:p}=g[0].contentRect;u(y,p)},d=new ResizeObserver(h);d.observe(s),o.current=d}},[r,u]);return q.useEffect(()=&gt;()=&gt;{var s=o.current;s?.disconnect()},[u]),q.createElement(q.Fragment,null,q.createElement(vm,{width:i.containerWidth,height:i.containerHeight}),q.createElement(&quot;div&quot;,Po({ref:l},e)))}),Lre=q.forwardRef((e,r)=&gt;{var{width:t,height:n}=e,[o,i]=q.useState({containerWidth:Fh(t),containerHeight:Fh(n)}),a=q.useCallback((l,s)=&gt;{i(c=&gt;{var m=Math.round(l),h=Math.round(s);return c.containerWidth===m&amp;&amp;c.containerHeight===h?c:{containerWidth:m,containerHeight:h}})},[]),u=q.useCallback(l=&gt;{if(typeof r==&quot;function&quot;&amp;&amp;r(l),l!=null){var{width:s,height:c}=l.getBoundingClientRect();a(s,c)}},[r,a]);return q.createElement(q.Fragment,null,q.createElement(vm,{width:o.containerWidth,height:o.containerHeight}),q.createElement(&quot;div&quot;,Po({ref:u},e)))}),Fre=q.forwardRef((e,r)=&gt;{var{width:t,height:n}=e;return q.createElement(q.Fragment,null,q.createElement(vm,{width:t,height:n}),q.createElement(&quot;div&quot;,Po({ref:r},e)))}),Bre=q.forwardRef((e,r)=&gt;{var{width:t,height:n}=e;return qs(t)||qs(n)?q.createElement(Lre,Po({},e,{ref:r})):q.createElement(Fre,Po({},e,{ref:r}))});function zre(e){return e===!0?Dre:Bre}var $re=q.forwardRef((e,r)=&gt;{var{children:t,className:n,height:o,onClick:i,onContextMenu:a,onDoubleClick:u,onMouseDown:l,onMouseEnter:s,onMouseLeave:c,onMouseMove:m,onMouseUp:h,onTouchEnd:d,onTouchMove:g,onTouchStart:y,style:p,width:b,responsive:x,dispatchTouchEvents:_=!0}=e,E=q.useRef(null),M=Ar(),[D,W]=q.useState(null),[L,V]=q.useState(null),H=Mre(),K=gx(),z=K?.width&gt;0?K.width:b,O=K?.height&gt;0?K.height:o,I=q.useCallback(P=&gt;{H(P),typeof r==&quot;function&quot;&amp;&amp;r(P),W(P),V(P),P!=null&amp;&amp;(E.current=P)},[H,r,W,V]),C=q.useCallback(P=&gt;{M(TE(P)),M(Si({handler:i,reactEvent:P}))},[M,i]),j=q.useCallback(P=&gt;{M(ab(P)),M(Si({handler:s,reactEvent:P}))},[M,s]),k=q.useCallback(P=&gt;{M(m9()),M(Si({handler:c,reactEvent:P}))},[M,c]),S=q.useCallback(P=&gt;{M(ab(P)),M(Si({handler:m,reactEvent:P}))},[M,m]),N=q.useCallback(()=&gt;{M(FE())},[M]),T=q.useCallback(P=&gt;{M(LE(P.key))},[M]),R=q.useCallback(P=&gt;{M(Si({handler:a,reactEvent:P}))},[M,a]),B=q.useCallback(P=&gt;{M(Si({handler:u,reactEvent:P}))},[M,u]),Y=q.useCallback(P=&gt;{M(Si({handler:l,reactEvent:P}))},[M,l]),Q=q.useCallback(P=&gt;{M(Si({handler:h,reactEvent:P}))},[M,h]),ne=q.useCallback(P=&gt;{M(Si({handler:y,reactEvent:P}))},[M,y]),U=q.useCallback(P=&gt;{_&amp;&amp;M(zE(P)),M(Si({handler:g,reactEvent:P}))},[M,_,g]),ee=q.useCallback(P=&gt;{M(Si({handler:d,reactEvent:P}))},[M,d]),F=zre(x);return q.createElement(I9.Provider,{value:D},q.createElement(F8.Provider,{value:L},q.createElement(F,{width:z??p?.width,height:O??p?.height,className:or(&quot;recharts-wrapper&quot;,n),style:Ore({position:&quot;relative&quot;,cursor:&quot;default&quot;,width:z,height:O},p),onClick:C,onContextMenu:R,onDoubleClick:B,onFocus:N,onKeyDown:T,onMouseDown:Y,onMouseEnter:j,onMouseLeave:k,onMouseMove:S,onMouseUp:Q,onTouchEnd:ee,onTouchMove:U,onTouchStart:ne,ref:I},q.createElement(Rre,null),t)))}),Ure=[&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 Vre(e,r){if(e==null)return{};var t,n,o=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;(o[t]=e[t])}return o}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}var Wre=q.forwardRef((e,r)=&gt;{var{width:t,height:n,responsive:o,children:i,className:a,style:u,compact:l,title:s,desc:c}=e,m=Vre(e,Ure),h=Qi(m);return l?q.createElement(q.Fragment,null,q.createElement(vm,{width:t,height:n}),q.createElement(bS,{otherAttributes:h,title:s,desc:c},i)):q.createElement($re,{className:a,style:u,width:t,height:n,responsive:o??!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},q.createElement(bS,{otherAttributes:h,title:s,desc:c,ref:r},q.createElement(dJ,null,i)))});function ob(){return ob=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},ob.apply(null,arguments)}var Hre={top:5,right:5,bottom:5,left:5},Kre={accessibilityLayer:!0,barCategoryGap:&quot;10%&quot;,barGap:4,layout:&quot;horizontal&quot;,margin:Hre,responsive:!1,reverseStackOrder:!1,stackOffset:&quot;none&quot;,syncMethod:&quot;index&quot;},UE=q.forwardRef(function(r,t){var n,o=xn(r.categoricalChartProps,Kre),{chartName:i,defaultTooltipEventType:a,validateTooltipEventTypes:u,tooltipPayloadSearcher:l,categoricalChartProps:s}=r,c={chartName:i,defaultTooltipEventType:a,validateTooltipEventTypes:u,tooltipPayloadSearcher:l,eventEmitter:void 0};return q.createElement(xre,{preloadedState:{options:c},reduxStoreName:(n=s.id)!==null&amp;&amp;n!==void 0?n:i},q.createElement(tJ,{chartData:s.data}),q.createElement(_re,{layout:o.layout,margin:o.margin}),q.createElement(jre,{baseValue:o.baseValue,accessibilityLayer:o.accessibilityLayer,barCategoryGap:o.barCategoryGap,maxBarSize:o.maxBarSize,stackOffset:o.stackOffset,barGap:o.barGap,barSize:o.barSize,syncId:o.syncId,syncMethod:o.syncMethod,className:o.className,reverseStackOrder:o.reverseStackOrder}),q.createElement(Wre,ob({},o,{ref:t})))}),Xre=[&quot;axis&quot;],Gre=q.forwardRef((e,r)=&gt;q.createElement(UE,{chartName:&quot;LineChart&quot;,defaultTooltipEventType:&quot;axis&quot;,validateTooltipEventTypes:Xre,tooltipPayloadSearcher:R9,categoricalChartProps:e,ref:r})),Yre=[&quot;axis&quot;,&quot;item&quot;],wS=q.forwardRef((e,r)=&gt;q.createElement(UE,{chartName:&quot;BarChart&quot;,defaultTooltipEventType:&quot;axis&quot;,validateTooltipEventTypes:Yre,tooltipPayloadSearcher:R9,categoricalChartProps:e,ref:r}));function Zre({stats:e,loading:r}){if(r)return f.jsx(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6&quot;,children:[1,2,3,4].map(i=&gt;f.jsx(ln,{className:&quot;animate-pulse&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;h-20 bg-gray-200 rounded&quot;})},i))});if(!e)return f.jsx(&quot;div&quot;,{className:&quot;text-center py-8 text-ink-500&quot;,children:&quot;Aucune statistique disponible&quot;});const t=(e.timeline||[]).map(i=&gt;({date:new Date(i.date).toLocaleDateString(&quot;fr-FR&quot;,{day:&quot;2-digit&quot;,month:&quot;2-digit&quot;}),count:i.count})),n=Object.entries(e.by_status||{}).map(([i,a])=&gt;({status:i,count:a})),o=(e.by_plan||[]).slice(0,5).map(i=&gt;({name:i.pricing_plan_code||i.pricing_plan_name||&quot;-&quot;,count:i.count}));return f.jsxs(&quot;div&quot;,{className:&quot;space-y-6&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6&quot;,children:[f.jsxs(ln,{children:[f.jsx(&quot;div&quot;,{className:&quot;text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Total&quot;}),f.jsx(&quot;div&quot;,{className:&quot;text-3xl font-bold text-ink-900&quot;,children:e.total})]}),f.jsxs(ln,{children:[f.jsx(&quot;div&quot;,{className:&quot;text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Soumis&quot;}),f.jsx(&quot;div&quot;,{className:&quot;text-3xl font-bold text-blue-600&quot;,children:e.by_status.submitted||0})]}),f.jsxs(ln,{children:[f.jsx(&quot;div&quot;,{className:&quot;text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;En attente&quot;}),f.jsx(&quot;div&quot;,{className:&quot;text-3xl font-bold text-yellow-600&quot;,children:e.by_status.pending_payment||0})]}),f.jsxs(ln,{children:[f.jsx(&quot;div&quot;,{className:&quot;text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Payé&quot;}),f.jsx(&quot;div&quot;,{className:&quot;text-3xl font-bold text-green-600&quot;,children:e.by_status.paid||0})]})]}),f.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 lg:grid-cols-2 gap-6&quot;,children:[f.jsxs(ln,{children:[f.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-4&quot;,children:&quot;Évolution dans le temps&quot;}),f.jsx(Wg,{width:&quot;100%&quot;,height:300,children:f.jsxs(Gre,{data:t,children:[f.jsx(Mf,{strokeDasharray:&quot;3 3&quot;}),f.jsx(Of,{dataKey:&quot;date&quot;}),f.jsx(Tf,{}),f.jsx(cv,{}),f.jsx(Cf,{}),f.jsx(CE,{type:&quot;monotone&quot;,dataKey:&quot;count&quot;,stroke:&quot;#0B4A6F&quot;,strokeWidth:2,name:&quot;Inscriptions&quot;})]})})]}),f.jsxs(ln,{children:[f.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-4&quot;,children:&quot;Répartition par statut&quot;}),f.jsx(Wg,{width:&quot;100%&quot;,height:300,children:f.jsxs(wS,{data:n,children:[f.jsx(Mf,{strokeDasharray:&quot;3 3&quot;}),f.jsx(Of,{dataKey:&quot;status&quot;}),f.jsx(Tf,{}),f.jsx(cv,{}),f.jsx(Cf,{}),f.jsx(nb,{dataKey:&quot;count&quot;,fill:&quot;#0B4A6F&quot;,name:&quot;Nombre&quot;})]})})]})]}),o.length&gt;0&amp;&amp;f.jsxs(ln,{children:[f.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900 mb-4&quot;,children:&quot;Répartition par formule&quot;}),f.jsx(Wg,{width:&quot;100%&quot;,height:300,children:f.jsxs(wS,{data:o,children:[f.jsx(Mf,{strokeDasharray:&quot;3 3&quot;}),f.jsx(Of,{dataKey:&quot;name&quot;}),f.jsx(Tf,{}),f.jsx(cv,{}),f.jsx(Cf,{}),f.jsx(nb,{dataKey:&quot;count&quot;,fill:&quot;#1F6F8B&quot;,name:&quot;Nombre&quot;})]})})]})]})}function vf(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 kv={exports:{}};var _S;function Qre(){return _S||(_S=1,(function(e,r){(function(t){e.exports=t()})((function(){return(function t(n,o,i){function a(s,c){if(!o[s]){if(!n[s]){var m=typeof vf==&quot;function&quot;&amp;&amp;vf;if(!c&amp;&amp;m)return m(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 d=o[s]={exports:{}};n[s][0].call(d.exports,(function(g){return a(n[s][1][g]||g)}),d,d.exports,t,n,o,i)}return o[s].exports}for(var u=typeof vf==&quot;function&quot;&amp;&amp;vf,l=0;l&lt;i.length;l++)a(i[l]);return a})({1:[function(t,n,o){const i=t(&quot;fs&quot;),a=t(&quot;fast-csv&quot;),u=t(&quot;dayjs/plugin/customParseFormat&quot;),l=t(&quot;dayjs/plugin/utc&quot;),s=t(&quot;dayjs&quot;).extend(u).extend(l),c=t(&quot;../utils/stream-buf&quot;),{fs:{exists:m}}=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(d){this.workbook=d,this.worksheet=null}async readFile(d,g){if(g=g||{},!await m(d))throw new Error(&quot;File not found: &quot;+d);const y=i.createReadStream(d),p=await this.read(y,g);return y.close(),p}read(d,g){return g=g||{},new Promise((y,p)=&gt;{const b=this.workbook.addWorksheet(g.sheetName),x=g.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;],_=g.map||function(M){if(M===&quot;&quot;)return null;const D=Number(M);if(!Number.isNaN(D)&amp;&amp;D!==1/0)return D;const W=x.reduce((V,H)=&gt;{if(V)return V;const K=s(M,H,!0);return K.isValid()?K:null},null);if(W)return new Date(W.valueOf());const L=h[M];return L!==void 0?L:M},E=a.parse(g.parserOptions).on(&quot;data&quot;,M=&gt;{b.addRow(M.map(_))}).on(&quot;end&quot;,()=&gt;{E.emit(&quot;worksheet&quot;,b)});E.on(&quot;worksheet&quot;,y).on(&quot;error&quot;,p),d.pipe(E)})}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(d,g){return new Promise((y,p)=&gt;{g=g||{};const b=this.workbook.getWorksheet(g.sheetName||g.sheetId),x=a.format(g.formatterOptions);d.on(&quot;finish&quot;,()=&gt;{y()}),x.on(&quot;error&quot;,p),x.pipe(d);const{dateFormat:_,dateUTC:E}=g,M=g.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 _?E?s.utc(L).format(_):s(L).format(_):E?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}),D=g.includeEmptyRows===void 0||g.includeEmptyRows;let W=1;b&amp;&amp;b.eachRow((L,V)=&gt;{if(D)for(;W++&lt;V-1;)x.write([]);const{values:H}=L;H.shift(),x.write(H.map(M)),W=V}),x.end()})}writeFile(d,g){const y={encoding:(g=g||{}).encoding||&quot;utf8&quot;},p=i.createWriteStream(d,y);return this.write(p,g)}async writeBuffer(d){const g=new c;return await this.write(g,d),g.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,o){const i=t(&quot;../utils/col-cache&quot;);class a{constructor(l,s){let c=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:0;if(this.worksheet=l,s)if(typeof s==&quot;string&quot;){const m=i.decodeAddress(s);this.nativeCol=m.col+c,this.nativeColOff=0,this.nativeRow=m.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(l){return l instanceof a||l==null?l:new a(l)}get col(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth}set col(l){this.nativeCol=Math.floor(l),this.nativeColOff=Math.floor((l-this.nativeCol)*this.colWidth)}get row(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight}set row(l){this.nativeRow=Math.floor(l),this.nativeRowOff=Math.floor((l-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(l){this.nativeCol=l.nativeCol,this.nativeColOff=l.nativeColOff,this.nativeRow=l.nativeRow,this.nativeRowOff=l.nativeRowOff}}n.exports=a},{&quot;../utils/col-cache&quot;:19}],3:[function(t,n,o){const i=t(&quot;../utils/col-cache&quot;),a=t(&quot;../utils/under-dash&quot;),u=t(&quot;./enums&quot;),{slideFormula:l}=t(&quot;../utils/shared-formula&quot;),s=t(&quot;./note&quot;);class c{constructor(d,g,y){if(!d||!g)throw new Error(&quot;A Cell needs a Row&quot;);this._row=d,this._column=g,i.validateAddress(y),this._address=y,this._value=m.create(c.Types.Null,this),this.style=this._mergeStyle(d.style,g.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(d){this.style.numFmt=d}get font(){return this.style.font}set font(d){this.style.font=d}get alignment(){return this.style.alignment}set alignment(d){this.style.alignment=d}get border(){return this.style.border}set border(d){this.style.border=d}get fill(){return this.style.fill}set fill(d){this.style.fill=d}get protection(){return this.style.protection}set protection(d){this.style.protection=d}_mergeStyle(d,g,y){const p=d&amp;&amp;d.numFmt||g&amp;&amp;g.numFmt;p&amp;&amp;(y.numFmt=p);const b=d&amp;&amp;d.font||g&amp;&amp;g.font;b&amp;&amp;(y.font=b);const x=d&amp;&amp;d.alignment||g&amp;&amp;g.alignment;x&amp;&amp;(y.alignment=x);const _=d&amp;&amp;d.border||g&amp;&amp;g.border;_&amp;&amp;(y.border=_);const E=d&amp;&amp;d.fill||g&amp;&amp;g.fill;E&amp;&amp;(y.fill=E);const M=d&amp;&amp;d.protection||g&amp;&amp;g.protection;return M&amp;&amp;(y.protection=M),y}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(d,g){this._value.release(),this._value=m.create(c.Types.Merge,this,d),g||(this.style=d.style)}unmerge(){this.type===c.Types.Merge&amp;&amp;(this._value.release(),this._value=m.create(c.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{}))}isMergedTo(d){return this._value.type===c.Types.Merge&amp;&amp;this._value.isMergedTo(d)}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(d){this.type!==c.Types.Merge?(this._value.release(),this._value=m.create(m.getType(d),this,d)):this._value.master.value=d}get note(){return this._comment&amp;&amp;this._comment.note}set note(d){this._comment=new s(d)}get text(){return this._value.toString()}get html(){return a.escapeHtml(this.text)}toString(){return this.text}_upgradeToHyperlink(d){this.type===c.Types.String&amp;&amp;(this._value=m.create(c.Types.Hyperlink,this,{text:this._value.value,hyperlink:d}))}get formula(){return this._value.formula}get result(){return this._value.result}get formulaType(){return this._value.formulaType}get fullAddress(){const{worksheet:d}=this._row;return{sheetName:d.name,address:this.address,row:this.row,col:this.col}}get name(){return this.names[0]}set name(d){this.names=[d]}get names(){return this.workbook.definedNames.getNamesEx(this.fullAddress)}set names(d){const{definedNames:g}=this.workbook;g.removeAllNames(this.fullAddress),d.forEach(y=&gt;{g.addEx(this.fullAddress,y)})}addName(d){this.workbook.definedNames.addEx(this.fullAddress,d)}removeName(d){this.workbook.definedNames.removeEx(this.fullAddress,d)}removeAllNames(){this.workbook.definedNames.removeAllNames(this.fullAddress)}get _dataValidations(){return this.worksheet.dataValidations}get dataValidation(){return this._dataValidations.find(this.address)}set dataValidation(d){this._dataValidations.add(this.address,d)}get model(){const{model:d}=this._value;return d.style=this.style,this._comment&amp;&amp;(d.comment=this._comment.model),d}set model(d){this._value.release(),this._value=m.create(d.type,this),this._value.model=d,d.comment&amp;&amp;d.comment.type===&quot;note&quot;&amp;&amp;(this._comment=s.fromModel(d.comment)),d.style?this.style=d.style:this.style={}}}c.Types=u.ValueType;const m={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,d){this.model={address:h.address,type:c.Types.Number,value:d}}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,d){this.model={address:h.address,type:c.Types.String,value:d}}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,d){this.model={address:h.address,type:c.Types.Date,value:d}}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,d){this.model={address:h.address,type:c.Types.Hyperlink,text:d?d.text:void 0,hyperlink:d?d.hyperlink:void 0},d&amp;&amp;d.tooltip&amp;&amp;(this.model.tooltip=d.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,d){this.cell=h,this.model={address:h.address,type:c.Types.Formula,shareType:d?d.shareType:void 0,ref:d?d.ref:void 0,formula:d?d.formula:void 0,sharedFormula:d?d.sharedFormula:void 0,result:d?d.result:void 0}}_copyModel(h){const d={},g=y=&gt;{const p=h[y];p&amp;&amp;(d[y]=p)};return g(&quot;formula&quot;),g(&quot;result&quot;),g(&quot;ref&quot;),g(&quot;shareType&quot;),g(&quot;sharedFormula&quot;),d}get value(){return this._copyModel(this.model)}set value(h){this.model=this._copyModel(h)}validate(h){switch(m.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,d=h.findCell(this.model.sharedFormula);this._translatedFormula=d&amp;&amp;l(d.formula,d.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,d){this.model={address:h.address,type:c.Types.Merge,master:d?d.address:void 0},this._master=d,d&amp;&amp;d.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,d){this.model={address:h.address,type:c.Types.String,value:JSON.stringify(d),rawValue:d}}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,d){this.model={address:h.address,type:c.Types.SharedString,value:d}}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,d){this.model={address:h.address,type:c.Types.String,value:d}}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,d){this.model={address:h.address,type:c.Types.Boolean,value:d}}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,d){this.model={address:h.address,type:c.Types.Error,value:d}}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,d)=&gt;(h[d.t]=d.f,h),[]),create(h,d,g){const y=this.types[h];if(!y)throw new Error(&quot;Could not create Value of type &quot;+h);return new y(d,g)}};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,o){const i=t(&quot;../utils/under-dash&quot;),a=t(&quot;./enums&quot;),u=t(&quot;../utils/col-cache&quot;);class l{constructor(c,m,h){this._worksheet=c,this._number=m,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((m,h)=&gt;{this._worksheet.getCell(h+1,this.number).value=m})):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,m){const h=this.number;m||(m=c,c=null),this._worksheet.eachRow(c,(d,g)=&gt;{m(d.getCell(h),g)})}get values(){const c=[];return this.eachCell((m,h)=&gt;{m&amp;&amp;m.type!==a.ValueType.Null&amp;&amp;(c[h]=m.value)}),c}set values(c){if(!c)return;const m=this.number;let h=0;c.hasOwnProperty(&quot;0&quot;)&amp;&amp;(h=1),c.forEach((d,g)=&gt;{this._worksheet.getCell(g+h,m).value=d})}_applyStyle(c,m){return this.style[c]=m,this.eachCell(h=&gt;{h[c]=m}),m}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 m=[];let h=null;return c&amp;&amp;c.forEach((d,g)=&gt;{d.isDefault?h&amp;&amp;(h=null):h&amp;&amp;d.equivalentTo(h)?h.max=g+1:(h={min:g+1,max:g+1,width:d.width!==void 0?d.width:9,style:d.style,isCustomWidth:d.isCustomWidth,hidden:d.hidden,outlineLevel:d.outlineLevel,collapsed:d.collapsed},m.push(h))}),m.length?m:void 0}static fromModel(c,m){const h=[];let d=1,g=0;for(m=(m=m||[]).sort((function(y,p){return y.min-p.min}));g&lt;m.length;){const y=m[g++];for(;d&lt;y.min;)h.push(new l(c,d++));for(;d&lt;=y.max;)h.push(new l(c,d++,y))}return h.length?h:null}}n.exports=l},{&quot;../utils/col-cache&quot;:19,&quot;../utils/under-dash&quot;:26,&quot;./enums&quot;:7}],5:[function(t,n,o){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,o){const i=t(&quot;../utils/under-dash&quot;),a=t(&quot;../utils/col-cache&quot;),u=t(&quot;../utils/cell-matrix&quot;),l=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,m){const h=a.decodeEx(c);this.addEx(h,m)}addEx(c,m){const h=this.getMatrix(m);if(c.top)for(let d=c.left;d&lt;=c.right;d++)for(let g=c.top;g&lt;=c.bottom;g++){const y={sheetName:c.sheetName,address:a.n2l(d)+g,row:g,col:d};h.addCellEx(y)}else h.addCellEx(c)}remove(c,m){const h=a.decodeEx(c);this.removeEx(h,m)}removeEx(c,m){this.getMatrix(m).removeCellEx(c)}removeAllNames(c){i.each(this.matrixMap,m=&gt;{m.removeCellEx(c)})}forEach(c){i.each(this.matrixMap,(m,h)=&gt;{m.forEach(d=&gt;{c(h,d)})})}getNames(c){return this.getNamesEx(a.decodeEx(c))}getNamesEx(c){return i.map(this.matrixMap,(m,h)=&gt;m.findCellEx(c)&amp;&amp;h).filter(Boolean)}_explore(c,m){m.mark=!1;const{sheetName:h}=m,d=new l(m.row,m.col,m.row,m.col,h);let g,y;function p(x,_){const E=c.findCellAt(h,x,m.col);return!(!E||!E.mark)&amp;&amp;(d[_]=x,E.mark=!1,!0)}for(y=m.row-1;p(y,&quot;top&quot;);y--);for(y=m.row+1;p(y,&quot;bottom&quot;);y++);function b(x,_){const E=[];for(y=d.top;y&lt;=d.bottom;y++){const M=c.findCellAt(h,y,x);if(!M||!M.mark)return!1;E.push(M)}d[_]=x;for(let M=0;M&lt;E.length;M++)E[M].mark=!1;return!0}for(g=m.col-1;b(g,&quot;left&quot;);g--);for(g=m.col+1;b(g,&quot;right&quot;);g++);return d}getRanges(c,m){return(m=m||this.matrixMap[c])?(m.forEach(h=&gt;{h.mark=!0}),{name:c,ranges:m.map(h=&gt;h.mark&amp;&amp;this._explore(m,h)).filter(Boolean).map(h=&gt;h.$shortRange)}):{name:c,ranges:[]}}normaliseMatrix(c,m){c.forEachInSheet(m,(h,d,g)=&gt;{h&amp;&amp;(h.row===d&amp;&amp;h.col===g||(h.row=d,h.col=g,h.address=a.n2l(g)+d))})}spliceRows(c,m,h,d){i.each(this.matrixMap,g=&gt;{g.spliceRows(c,m,h,d),this.normaliseMatrix(g,c)})}spliceColumns(c,m,h,d){i.each(this.matrixMap,g=&gt;{g.spliceColumns(c,m,h,d),this.normaliseMatrix(g,c)})}get model(){return i.map(this.matrixMap,(c,m)=&gt;this.getRanges(m,c)).filter(c=&gt;c.ranges.length)}set model(c){const m=this.matrixMap={};c.forEach(h=&gt;{const d=m[h.name]=new u;h.ranges.forEach(g=&gt;{s.test(g.split(&quot;!&quot;).pop()||&quot;&quot;)&amp;&amp;d.addCell(g)})})}}},{&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,o){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,o){const i=t(&quot;../utils/col-cache&quot;),a=t(&quot;./anchor&quot;);n.exports=class{constructor(u,l){this.worksheet=u,this.model=l}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:l,imageId:s,range:c,hyperlinks:m}=u;if(this.type=l,this.imageId=s,l===&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:m||c.hyperlinks}}}},{&quot;../utils/col-cache&quot;:19,&quot;./anchor&quot;:2}],9:[function(t,n,o){const i=t(&quot;../utils/under-dash&quot;);class a{constructor(l){this.note=l}get model(){let l=null;return typeof this.note===&quot;string&quot;?l={type:&quot;note&quot;,note:{texts:[{text:this.note}]}}:l={type:&quot;note&quot;,note:this.note},i.deepMerge({},a.DEFAULT_CONFIGS,l)}set model(l){const{note:s}=l,{texts:c}=s;c.length===1&amp;&amp;Object.keys(c[0]).length===1?this.note=c[0].text:this.note=s}static fromModel(l){const s=new a;return s.model=l,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,o){const i=t(&quot;../utils/col-cache&quot;);class a{constructor(){this.decode(arguments)}setTLBR(l,s,c,m,h){if(arguments.length&lt;4){const d=i.decodeAddress(l),g=i.decodeAddress(s);this.model={top:Math.min(d.row,g.row),left:Math.min(d.col,g.col),bottom:Math.max(d.row,g.row),right:Math.max(d.col,g.col),sheetName:c},this.setTLBR(d.row,d.col,g.row,g.col,h)}else this.model={top:Math.min(l,c),left:Math.min(s,m),bottom:Math.max(l,c),right:Math.max(s,m),sheetName:h}}decode(l){switch(l.length){case 5:this.setTLBR(l[0],l[1],l[2],l[3],l[4]);break;case 4:this.setTLBR(l[0],l[1],l[2],l[3]);break;case 3:this.setTLBR(l[0],l[1],l[2]);break;case 2:this.setTLBR(l[0],l[1]);break;case 1:{const s=l[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;+l.length)}}get top(){return this.model.top||1}set top(l){this.model.top=l}get left(){return this.model.left||1}set left(l){this.model.left=l}get bottom(){return this.model.bottom||1}set bottom(l){this.model.bottom=l}get right(){return this.model.right||1}set right(l){this.model.right=l}get sheetName(){return this.model.sheetName}set sheetName(l){this.model.sheetName=l}get _serialisedSheetName(){const{sheetName:l}=this.model;return l?/^[a-zA-Z0-9]*$/.test(l)?l+&quot;!&quot;:`&#039;${l}&#039;!`:&quot;&quot;}expand(l,s,c,m){(!this.model.top||l&lt;this.top)&amp;&amp;(this.top=l),(!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||m&gt;this.right)&amp;&amp;(this.right=m)}expandRow(l){if(l){const{dimensions:s,number:c}=l;s&amp;&amp;this.expand(c,s.min,c,s.max)}}expandToAddress(l){const s=i.decodeEx(l);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(l){return(!l.sheetName||!this.sheetName||l.sheetName===this.sheetName)&amp;&amp;!(l.bottom&lt;this.top)&amp;&amp;!(l.top&gt;this.bottom)&amp;&amp;!(l.right&lt;this.left)&amp;&amp;!(l.left&gt;this.right)}contains(l){const s=i.decodeEx(l);return this.containsEx(s)}containsEx(l){return(!l.sheetName||!this.sheetName||l.sheetName===this.sheetName)&amp;&amp;l.row&gt;=this.top&amp;&amp;l.row&lt;=this.bottom&amp;&amp;l.col&gt;=this.left&amp;&amp;l.col&lt;=this.right}forEachAddress(l){for(let s=this.left;s&lt;=this.right;s++)for(let c=this.top;c&lt;=this.bottom;c++)l(i.encodeAddress(c,s),c,s)}}n.exports=a},{&quot;../utils/col-cache&quot;:19}],11:[function(t,n,o){const i=t(&quot;../utils/under-dash&quot;),a=t(&quot;./enums&quot;),u=t(&quot;../utils/col-cache&quot;),l=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 m=this._worksheet.getColumn(s.col);c=new l(this,m,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 m=s+c;for(var h=arguments.length,d=new Array(h&gt;2?h-2:0),g=2;g&lt;h;g++)d[g-2]=arguments[g];const y=d.length-c,p=this._cells.length;let b,x,_;if(y&lt;0)for(b=s+d.length;b&lt;=p;b++)_=this._cells[b-1],x=this._cells[b-y-1],x?(_=this.getCell(b),_.value=x.value,_.style=x.style,_._comment=x._comment):_&amp;&amp;(_.value=null,_.style={},_._comment=void 0);else if(y&gt;0)for(b=p;b&gt;=m;b--)x=this._cells[b-1],x?(_=this.getCell(b+y),_.value=x.value,_.style=x.style,_._comment=x._comment):this._cells[b+y-1]=void 0;for(b=0;b&lt;d.length;b++)_=this.getCell(s+b),_.value=d[b],_.style={},_._comment=void 0}eachCell(s,c){if(c||(c=s,s=null),s&amp;&amp;s.includeEmpty){const m=this._cells.length;for(let h=1;h&lt;=m;h++)c(this.getCell(h),h)}else this._cells.forEach((m,h)=&gt;{m&amp;&amp;m.type!==a.ValueType.Null&amp;&amp;c(m,h+1)})}addPageBreak(s,c){const m=this._worksheet,h=Math.max(0,s-1)||0,d=Math.max(0,c-1)||16838,g={id:this._number,max:d,man:1};h&amp;&amp;(g.min=h),m.rowBreaks.push(g)}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((m,h)=&gt;{m!==void 0&amp;&amp;(this.getCellEx({address:u.encodeAddress(this._number,h+c),row:this._number,col:h+c}).value=m)})}else this._worksheet.eachColumnKey((c,m)=&gt;{s[m]!==void 0&amp;&amp;(this.getCellEx({address:u.encodeAddress(this._number,c.number),row:this._number,col:c.number}).value=s[m])})}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(m=&gt;{m&amp;&amp;m.type!==a.ValueType.Null&amp;&amp;((!s||s&gt;m.col)&amp;&amp;(s=m.col),c&lt;m.col&amp;&amp;(c=m.col))}),s&gt;0?{min:s,max:c}:null}_applyStyle(s,c){return this.style[s]=c,this._cells.forEach(m=&gt;{m&amp;&amp;(m[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,m=0;return this._cells.forEach(h=&gt;{if(h){const d=h.model;d&amp;&amp;((!c||c&gt;h.col)&amp;&amp;(c=h.col),m&lt;h.col&amp;&amp;(m=h.col),s.push(d))}}),this.height||s.length?{cells:s,number:this.number,min:c,max:m,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(m=&gt;{switch(m.type){case l.Types.Merge:break;default:{let h;if(m.address)h=u.decodeAddress(m.address);else if(c){const{row:d}=c,g=c.col+1;h={row:d,col:g,address:u.encodeAddress(d,g),$col$row:`$${u.n2l(g)}$${d}`}}c=h,this.getCellEx(h).model=m;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,o){const i=t(&quot;../utils/col-cache&quot;);class a{constructor(l,s,c){this.table=l,this.column=s,this.index=c}_set(l,s){this.table.cacheState(),this.column[l]=s}get name(){return this.column.name}set name(l){this._set(&quot;name&quot;,l)}get filterButton(){return this.column.filterButton}set filterButton(l){this.column.filterButton=l}get style(){return this.column.style}set style(l){this.column.style=l}get totalsRowLabel(){return this.column.totalsRowLabel}set totalsRowLabel(l){this._set(&quot;totalsRowLabel&quot;,l)}get totalsRowFunction(){return this.column.totalsRowFunction}set totalsRowFunction(l){this._set(&quot;totalsRowFunction&quot;,l)}get totalsRowResult(){return this.column.totalsRowResult}set totalsRowResult(l){this._set(&quot;totalsRowResult&quot;,l)}get totalsRowFormula(){return this.column.totalsRowFormula}set totalsRowFormula(l){this._set(&quot;totalsRowFormula&quot;,l)}}n.exports=class{constructor(u,l){this.worksheet=u,l&amp;&amp;(this.table=l,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,l=(y,p,b)=&gt;{y[p]===void 0&amp;&amp;(y[p]=b)};l(u,&quot;headerRow&quot;,!0),l(u,&quot;totalsRow&quot;,!1),l(u,&quot;style&quot;,{}),l(u.style,&quot;theme&quot;,&quot;TableStyleMedium2&quot;),l(u.style,&quot;showFirstColumn&quot;,!1),l(u.style,&quot;showLastColumn&quot;,!1),l(u.style,&quot;showRowStripes&quot;,!1),l(u.style,&quot;showColumnStripes&quot;,!1);const s=(y,p)=&gt;{if(!y)throw new Error(p)};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:m}=u.tl;s(c&gt;0,&quot;Table must be on valid row&quot;),s(m&gt;0,&quot;Table must be on valid col&quot;);const{width:h,filterHeight:d,tableHeight:g}=this;u.autoFilterRef=i.encode(c,m,c+d-1,m+h-1),u.tableRef=i.encode(c,m,c+g-1,m+h-1),u.columns.forEach((y,p)=&gt;{s(y.name,`Column ${p} must have a name`),p===0?l(y,&quot;totalsRowLabel&quot;,&quot;Total&quot;):(l(y,&quot;totalsRowFunction&quot;,&quot;none&quot;),y.totalsRowFormula=this.getFormula(y))})}store(){const u=(d,g)=&gt;{g&amp;&amp;Object.keys(g).forEach(y=&gt;{d[y]=g[y]})},{worksheet:l,table:s}=this,{row:c,col:m}=s.tl;let h=0;if(s.headerRow){const d=l.getRow(c+h++);s.columns.forEach((g,y)=&gt;{const{style:p,name:b}=g,x=d.getCell(m+y);x.value=b,u(x,p)})}if(s.rows.forEach(d=&gt;{const g=l.getRow(c+h++);d.forEach((y,p)=&gt;{const b=g.getCell(m+p);b.value=y,u(b,s.columns[p].style)})}),s.totalsRow){const d=l.getRow(c+h++);s.columns.forEach((g,y)=&gt;{const p=d.getCell(m+y);if(y===0)p.value=g.totalsRowLabel;else{const b=this.getFormula(g);p.value=b?{formula:g.totalsRowFormula,result:g.totalsRowResult}:null}u(p,g.style)})}}load(u){const{table:l}=this,{row:s,col:c}=l.tl;let m=0;if(l.headerRow){const h=u.getRow(s+m++);l.columns.forEach((d,g)=&gt;{h.getCell(c+g).value=d.name})}if(l.rows.forEach(h=&gt;{const d=u.getRow(s+m++);h.forEach((g,y)=&gt;{d.getCell(c+y).value=g})}),l.totalsRow){const h=u.getRow(s+m++);l.columns.forEach((d,g)=&gt;{const y=h.getCell(c+g);g===0?y.value=d.totalsRowLabel:this.getFormula(d)&amp;&amp;(y.value={formula:d.totalsRowFormula,result:d.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 l=0;l&lt;this._cache.tableHeight;l++){const s=this.worksheet.getRow(u.row+l);for(let c=0;c&lt;this._cache.width;c++)s.getCell(u.col+c).value=null}else{for(let l=this.tableHeight;l&lt;this._cache.tableHeight;l++){const s=this.worksheet.getRow(u.row+l);for(let c=0;c&lt;this._cache.width;c++)s.getCell(u.col+c).value=null}for(let l=0;l&lt;this.tableHeight;l++){const s=this.worksheet.getRow(u.row+l);for(let c=this.width;c&lt;this._cache.width;c++)s.getCell(u.col+c).value=null}}this.store()}addRow(u,l){this.cacheState(),l===void 0?this.table.rows.push(u):this.table.rows.splice(l,0,u)}removeRows(u){let l=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.rows.splice(u,l)}getColumn(u){const l=this.table.columns[u];return new a(this,l,u)}addColumn(u,l,s){this.cacheState(),s===void 0?(this.table.columns.push(u),this.table.rows.forEach((c,m)=&gt;{c.push(l[m])})):(this.table.columns.splice(s,0,u),this.table.rows.forEach((c,m)=&gt;{c.splice(s,0,l[m])}))}removeColumns(u){let l=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.columns.splice(u,l),this.table.rows.forEach(s=&gt;{s.splice(u,l)})}_assign(u,l,s){this.cacheState(),u[l]=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,o){const i=t(&quot;./worksheet&quot;),a=t(&quot;./defined-names&quot;),u=t(&quot;../xlsx/xlsx&quot;),l=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 l(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 m=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((y,p)=&gt;(p&amp;&amp;p.orderNo)&gt;y?p.orderNo:y,0),d=Object.assign({},c,{id:m,name:s,orderNo:h+1,workbook:this}),g=new i(d);return this._worksheets[m]=g,g}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:m,name:h,state:d}=c,g=s.sheets&amp;&amp;s.sheets.findIndex(y=&gt;y.id===m);(this._worksheets[m]=new i({id:m,name:h,orderNo:g,state:d,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,o){const i=t(&quot;../utils/under-dash&quot;),a=t(&quot;../utils/col-cache&quot;),u=t(&quot;./range&quot;),l=t(&quot;./row&quot;),s=t(&quot;./column&quot;),c=t(&quot;./enums&quot;),m=t(&quot;./image&quot;),h=t(&quot;./table&quot;),d=t(&quot;./data-validations&quot;),g=t(&quot;../utils/encryptor&quot;),{copyStyle:y}=t(&quot;../utils/copy-style&quot;);n.exports=class{constructor(p){p=p||{},this._workbook=p.workbook,this.id=p.id,this.orderNo=p.orderNo,this.name=p.name,this.state=p.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},p.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:!(!p.pageSetup||!p.pageSetup.fitToWidth&amp;&amp;!p.pageSetup.fitToHeight||p.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},p.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},p.headerFooter),this.dataValidations=new d,this.views=p.views||[],this.autoFilter=p.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}get name(){return this._name}set name(p){if(p===void 0&amp;&amp;(p=&quot;sheet&quot;+this.id),this._name!==p){if(typeof p!=&quot;string&quot;)throw new Error(&quot;The name has to be a string.&quot;);if(p===&quot;&quot;)throw new Error(&quot;The name can&#039;t be empty.&quot;);if(p===&quot;History&quot;)throw new Error(&#039;The name &quot;History&quot; is protected. Please use a different name.&#039;);if(/[*?:/\\[\]]/.test(p))throw new Error(`Worksheet name ${p} cannot include any of the following characters: * ? : \\ / [ ]`);if(/(^&#039;)|(&#039;$)/.test(p))throw new Error(&quot;The first or last character of worksheet name cannot be a single quotation mark: &quot;+p);if(p&amp;&amp;p.length&gt;31&amp;&amp;(console.warn(`Worksheet name ${p} exceeds 31 chars. This will be truncated`),p=p.substring(0,31)),this._workbook._worksheets.find(b=&gt;b&amp;&amp;b.name.toLowerCase()===p.toLowerCase()))throw new Error(&quot;Worksheet name already exists: &quot;+p);this._name=p}}get workbook(){return this._workbook}destroy(){this._workbook.removeWorksheetEx(this)}get dimensions(){const p=new u;return this._rows.forEach(b=&gt;{if(b){const x=b.dimensions;x&amp;&amp;p.expand(b.number,x.min,b.number,x.max)}}),p}get columns(){return this._columns}set columns(p){this._headerRowCount=p.reduce((_,E)=&gt;{const M=(E.header?1:E.headers&amp;&amp;E.headers.length)||0;return Math.max(_,M)},0);let b=1;const x=this._columns=[];p.forEach(_=&gt;{const E=new s(this,b++,!1);x.push(E),E.defn=_})}getColumnKey(p){return this._keys[p]}setColumnKey(p,b){this._keys[p]=b}deleteColumnKey(p){delete this._keys[p]}eachColumnKey(p){i.each(this._keys,p)}getColumn(p){if(typeof p==&quot;string&quot;){const b=this._keys[p];if(b)return b;p=a.l2n(p)}if(this._columns||(this._columns=[]),p&gt;this._columns.length){let b=this._columns.length+1;for(;b&lt;=p;)this._columns.push(new s(this,b++))}return this._columns[p-1]}spliceColumns(p,b){const x=this._rows.length;for(var _=arguments.length,E=new Array(_&gt;2?_-2:0),M=2;M&lt;_;M++)E[M-2]=arguments[M];if(E.length&gt;0)for(let V=0;V&lt;x;V++){const H=[p,b];E.forEach(z=&gt;{H.push(z[V]||null)});const K=this.getRow(V+1);K.splice.apply(K,H)}else this._rows.forEach(V=&gt;{V&amp;&amp;V.splice(p,b)});const D=E.length-b,W=p+b,L=this._columns.length;if(D&lt;0)for(let V=p+E.length;V&lt;=L;V++)this.getColumn(V).defn=this.getColumn(V-D).defn;else if(D&gt;0)for(let V=L;V&gt;=W;V--)this.getColumn(V+D).defn=this.getColumn(V).defn;for(let V=p;V&lt;p+E.length;V++)this.getColumn(V).defn=null;this.workbook.definedNames.spliceColumns(this.name,p,b,E.length)}get lastColumn(){return this.getColumn(this.columnCount)}get columnCount(){let p=0;return this.eachRow(b=&gt;{p=Math.max(p,b.cellCount)}),p}get actualColumnCount(){const p=[];let b=0;return this.eachRow(x=&gt;{x.eachCell(_=&gt;{let{col:E}=_;p[E]||(p[E]=!0,b++)})}),b}_commitRow(){}get _lastRowNumber(){const p=this._rows;let b=p.length;for(;b&gt;0&amp;&amp;p[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(p){return this._rows[p-1]}findRows(p,b){return this._rows.slice(p-1,p-1+b)}get rowCount(){return this._lastRowNumber}get actualRowCount(){let p=0;return this.eachRow(()=&gt;{p++}),p}getRow(p){let b=this._rows[p-1];return b||(b=this._rows[p-1]=new l(this,p)),b}getRows(p,b){if(b&lt;1)return;const x=[];for(let _=p;_&lt;p+b;_++)x.push(this.getRow(_));return x}addRow(p){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=p,this._setStyleOption(x,b[0]===&quot;i&quot;?b:&quot;n&quot;),_}addRows(p){let b=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:&quot;n&quot;;const x=[];return p.forEach(_=&gt;{x.push(this.addRow(_,b))}),x}insertRow(p,b){let x=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:&quot;n&quot;;return this.spliceRows(p,0,b),this._setStyleOption(p,x),this.getRow(p)}insertRows(p,b){let x=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0?arguments[2]:&quot;n&quot;;if(this.spliceRows(p,0,...b),x!==&quot;n&quot;)for(let _=0;_&lt;b.length;_++)x[0]===&quot;o&quot;&amp;&amp;this.findRow(b.length+p+_)!==void 0?this._copyStyle(b.length+p+_,p+_,x[1]===&quot;+&quot;):x[0]===&quot;i&quot;&amp;&amp;this.findRow(p-1)!==void 0&amp;&amp;this._copyStyle(p-1,p+_,x[1]===&quot;+&quot;);return this.getRows(p,b.length)}_setStyleOption(p){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(p+1)!==void 0?this._copyStyle(p+1,p,b[1]===&quot;+&quot;):b[0]===&quot;i&quot;&amp;&amp;this.findRow(p-1)!==void 0&amp;&amp;this._copyStyle(p-1,p,b[1]===&quot;+&quot;)}_copyStyle(p,b){let x=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];const _=this.getRow(p),E=this.getRow(b);E.style=y(_.style),_.eachCell({includeEmpty:x},(M,D)=&gt;{E.getCell(D).style=y(M.style)}),E.height=_.height}duplicateRow(p,b){let x=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];const _=this._rows[p-1],E=new Array(b).fill(_.values);this.spliceRows(p+1,x?0:b,...E);for(let M=0;M&lt;b;M++){const D=this._rows[p+M];D.style=_.style,D.height=_.height,_.eachCell({includeEmpty:!0},(W,L)=&gt;{D.getCell(L).style=W.style})}}spliceRows(p,b){const x=p+b;for(var _=arguments.length,E=new Array(_&gt;2?_-2:0),M=2;M&lt;_;M++)E[M-2]=arguments[M];const D=E.length,W=D-b,L=this._rows.length;let V,H;if(W&lt;0)for(p===L&amp;&amp;(this._rows[L-1]=void 0),V=x;V&lt;=L;V++)if(H=this._rows[V-1],H){const K=this.getRow(V+W);K.values=H.values,K.style=H.style,K.height=H.height,H.eachCell({includeEmpty:!0},(z,O)=&gt;{K.getCell(O).style=z.style}),this._rows[V-1]=void 0}else this._rows[V+W-1]=void 0;else if(W&gt;0)for(V=L;V&gt;=x;V--)if(H=this._rows[V-1],H){const K=this.getRow(V+W);K.values=H.values,K.style=H.style,K.height=H.height,H.eachCell({includeEmpty:!0},(z,O)=&gt;{if(K.getCell(O).style=z.style,z._value.constructor.name===&quot;MergeValue&quot;){const I=this.getRow(z._row._number+D).getCell(O),C=z._value._master,j=this.getRow(C._row._number+D).getCell(C._column._number);I.merge(j)}})}else this._rows[V+W-1]=void 0;for(V=0;V&lt;D;V++){const K=this.getRow(p+V);K.style={},K.values=E[V]}this.workbook.definedNames.spliceRows(this.name,p,b,D)}eachRow(p,b){if(b||(b=p,p=void 0),p&amp;&amp;p.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 p=[];return this._rows.forEach(b=&gt;{b&amp;&amp;(p[b.number]=b.values)}),p}findCell(p,b){const x=a.getAddress(p,b),_=this._rows[x.row-1];return _?_.findCell(x.col):void 0}getCell(p,b){const x=a.getAddress(p,b);return this.getRow(x.row).getCellEx(x)}mergeCells(){for(var p=arguments.length,b=new Array(p),x=0;x&lt;p;x++)b[x]=arguments[x];const _=new u(b);this._mergeCellsInternal(_)}mergeCellsWithoutStyle(){for(var p=arguments.length,b=new Array(p),x=0;x&lt;p;x++)b[x]=arguments[x];const _=new u(b);this._mergeCellsInternal(_,!0)}_mergeCellsInternal(p,b){i.each(this._merges,_=&gt;{if(_.intersects(p))throw new Error(&quot;Cannot merge already merged cells&quot;)});const x=this.getCell(p.top,p.left);for(let _=p.top;_&lt;=p.bottom;_++)for(let E=p.left;E&lt;=p.right;E++)(_&gt;p.top||E&gt;p.left)&amp;&amp;this.getCell(_,E).merge(x,b);this._merges[x.address]=p}_unMergeMaster(p){const b=this._merges[p.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[p.address]}}get hasMerges(){return i.some(this._merges,Boolean)}unMergeCells(){for(var p=arguments.length,b=new Array(p),x=0;x&lt;p;x++)b[x]=arguments[x];const _=new u(b);for(let E=_.top;E&lt;=_.bottom;E++)for(let M=_.left;M&lt;=_.right;M++){const D=this.findCell(E,M);D&amp;&amp;(D.type===c.ValueType.Merge?this._unMergeMaster(D.master):this._merges[D.address]&amp;&amp;this._unMergeMaster(D))}}fillFormula(p,b,x){let _=arguments.length&gt;3&amp;&amp;arguments[3]!==void 0?arguments[3]:&quot;shared&quot;;const E=a.decode(p),{top:M,left:D,bottom:W,right:L}=E,V=L-D+1,H=a.encodeAddress(M,D),K=_===&quot;shared&quot;;let z;z=typeof x==&quot;function&quot;?x:Array.isArray(x)?Array.isArray(x[0])?(I,C)=&gt;x[I-M][C-D]:(I,C)=&gt;x[(I-M)*V+(C-D)]:()=&gt;{};let O=!0;for(let I=M;I&lt;=W;I++)for(let C=D;C&lt;=L;C++)O?(this.getCell(I,C).value={shareType:_,formula:b,ref:p,result:z(I,C)},O=!1):this.getCell(I,C).value=K?{sharedFormula:H,result:z(I,C)}:z(I,C)}addImage(p,b){const x={type:&quot;image&quot;,imageId:p,range:b};this._media.push(new m(this,x))}getImages(){return this._media.filter(p=&gt;p.type===&quot;image&quot;)}addBackgroundImage(p){const b={type:&quot;background&quot;,imageId:p};this._media.push(new m(this,b))}getBackgroundImageId(){const p=this._media.find(b=&gt;b.type===&quot;background&quot;);return p&amp;&amp;p.imageId}protect(p,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),p&amp;&amp;(this.sheetProtection.algorithmName=&quot;SHA-512&quot;,this.sheetProtection.saltValue=g.randomBytes(16).toString(&quot;base64&quot;),this.sheetProtection.spinCount=b&amp;&amp;&quot;spinCount&quot;in b?b.spinCount:1e5,this.sheetProtection.hashValue=g.convertPasswordToHash(p,&quot;SHA512&quot;,this.sheetProtection.saltValue,this.sheetProtection.spinCount)),b&amp;&amp;(this.sheetProtection=Object.assign(this.sheetProtection,b),!p&amp;&amp;&quot;spinCount&quot;in b&amp;&amp;delete this.sheetProtection.spinCount),x()})}unprotect(){this.sheetProtection=null}addTable(p){const b=new h(this,p);return this.tables[p.name]=b,b}getTable(p){return this.tables[p]}removeTable(p){delete this.tables[p]}getTables(){return Object.values(this.tables)}addConditionalFormatting(p){this.conditionalFormattings.push(p)}removeConditionalFormatting(p){typeof p==&quot;number&quot;?this.conditionalFormattings.splice(p,1):this.conditionalFormattings=p instanceof Function?this.conditionalFormattings.filter(p):[]}get tabColor(){return console.trace(&quot;worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor&quot;),this.properties.tabColor}set tabColor(p){console.trace(&quot;worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor&quot;),this.properties.tabColor=p}get model(){const p={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};p.cols=s.toModel(this.columns);const b=p.rows=[],x=p.dimensions=new u;return this._rows.forEach(_=&gt;{const E=_&amp;&amp;_.model;E&amp;&amp;(x.expand(E.number,E.min,E.number,E.max),b.push(E))}),p.merges=[],i.each(this._merges,_=&gt;{p.merges.push(_.range)}),p}_parseRows(p){this._rows=[],p.rows.forEach(b=&gt;{const x=new l(this,b.number);this._rows[x.number-1]=x,x.model=b})}_parseMergeCells(p){i.each(p.mergeCells,b=&gt;{this.mergeCellsWithoutStyle(b)})}set model(p){this.name=p.name,this._columns=s.fromModel(this,p.cols),this._parseRows(p),this._parseMergeCells(p),this.dataValidations=new d(p.dataValidations),this.properties=p.properties,this.pageSetup=p.pageSetup,this.headerFooter=p.headerFooter,this.views=p.views,this.autoFilter=p.autoFilter,this._media=p.media.map(b=&gt;new m(this,b)),this.sheetProtection=p.sheetProtection,this.tables=p.tables.reduce((b,x)=&gt;{const _=new h;return _.model=x,b[x.name]=_,b},{}),this.conditionalFormattings=p.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,o){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,o){const i=typeof TextDecoder&gt;&quot;u&quot;?null:new TextDecoder(&quot;utf-8&quot;);o.bufferToString=function(a){return typeof a==&quot;string&quot;?a:i?i.decode(a):a.toString()}},{}],17:[function(t,n,o){const i=typeof TextEncoder&gt;&quot;u&quot;?null:new TextEncoder(&quot;utf-8&quot;),{Buffer:a}=t(&quot;buffer&quot;);o.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,o){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,l,s){const c=this.sheets[u],m=c&amp;&amp;c[l];return m&amp;&amp;m[s]}addCellEx(u){if(u.top)for(let l=u.top;l&lt;=u.bottom;l++)for(let s=u.left;s&lt;=u.right;s++)this.getCellAt(u.sheetName,l,s);else this.findCellEx(u,!0)}getCellEx(u){return this.findCellEx(u,!0)}findCellEx(u,l){const s=this.findSheet(u,l),c=this.findSheetRow(s,u,l);return this.findRowCell(c,u,l)}getCellAt(u,l,s){const c=this.sheets[u]||(this.sheets[u]=[]),m=c[l]||(c[l]=[]);return m[s]||(m[s]={sheetName:u,address:a.n2l(s)+l,row:l,col:s})}removeCellEx(u){const l=this.findSheet(u);if(!l)return;const s=this.findSheetRow(l,u);s&amp;&amp;delete s[u.col]}forEachInSheet(u,l){const s=this.sheets[u];s&amp;&amp;s.forEach((c,m)=&gt;{c&amp;&amp;c.forEach((h,d)=&gt;{h&amp;&amp;l(h,m,d)})})}forEach(u){i.each(this.sheets,(l,s)=&gt;{this.forEachInSheet(s,u)})}map(u){const l=[];return this.forEach(s=&gt;{l.push(u(s))}),l}findSheet(u,l){const s=u.sheetName;return this.sheets[s]?this.sheets[s]:l?this.sheets[s]=[]:void 0}findSheetRow(u,l,s){const{row:c}=l;return u&amp;&amp;u[c]?u[c]:s?u[c]=[]:void 0}findRowCell(u,l,s){const{col:c}=l;return u&amp;&amp;u[c]?u[c]:s?u[c]=this.template?Object.assign(l,JSON.parse(JSON.stringify(this.template))):l:void 0}spliceRows(u,l,s,c){const m=this.sheets[u];if(m){const h=[];for(let d=0;d&lt;c;d++)h.push([]);m.splice(l,s,...h)}}spliceColumns(u,l,s,c){const m=this.sheets[u];if(m){const h=[];for(let d=0;d&lt;c;d++)h.push(null);i.each(m,d=&gt;{d.splice(l,s,...h)})}}}},{&quot;./col-cache&quot;:19,&quot;./under-dash&quot;:26}],19:[function(t,n,o){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 l,s,c,m,h,d=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(;d&lt;=26;)l=this._dictionary[d-1],this._n2l[d]=l,this._l2n[l]=d,d++;this._l2nFill=1}if(this._l2nFill&lt;2&amp;&amp;u&gt;=2){for(d=27;d&lt;=702;)s=d-27,c=s%26,m=Math.floor(s/26),l=this._dictionary[m]+this._dictionary[c],this._n2l[d]=l,this._l2n[l]=d,d++;this._l2nFill=2}if(this._l2nFill&lt;3&amp;&amp;u&gt;=3){for(d=703;d&lt;=16384;)s=d-703,c=s%26,m=Math.floor(s/26)%26,h=Math.floor(s/676),l=this._dictionary[h]+this._dictionary[m]+this._dictionary[c],this._n2l[d]=l,this._l2n[l]=d,d++;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 l=u.length&lt;5&amp;&amp;this._hash[u];if(l)return l;let s=!1,c=&quot;&quot;,m=0,h=!1,d=&quot;&quot;,g=0;for(let p,b=0;b&lt;u.length;b++)if(p=u.charCodeAt(b),!h&amp;&amp;p&gt;=65&amp;&amp;p&lt;=90)s=!0,c+=u[b],m=26*m+p-64;else if(p&gt;=48&amp;&amp;p&lt;=57)h=!0,d+=u[b],g=10*g+p-48;else if(h&amp;&amp;s&amp;&amp;p!==36)break;if(s){if(m&gt;16384)throw new Error(&quot;Out of bounds. Invalid column letter: &quot;+c)}else m=void 0;h||(g=void 0);const y={address:u=c+d,col:m,row:g,$col$row:`$${c}$${d}`};return m&lt;=100&amp;&amp;g&lt;=100&amp;&amp;(this._hash[u]=y,this._hash[y.$col$row]=y),y},getAddress(u,l){if(l){const s=this.n2l(l)+u;return this.decodeAddress(s)}return this.decodeAddress(u)},decode(u){const l=u.split(&quot;:&quot;);if(l.length===2){const s=this.decodeAddress(l[0]),c=this.decodeAddress(l[1]),m={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 m.tl=this.n2l(m.left)+m.top,m.br=this.n2l(m.right)+m.bottom,m.dimensions=`${m.tl}:${m.br}`,m}return this.decodeAddress(u)},decodeEx(u){const l=u.match(/(?:(?:(?:&#039;((?:[^&#039;]|&#039;&#039;)*)&#039;)|([^&#039;^ !]*))!)?(.*)/),s=l[1]||l[2],c=l[3],m=c.split(&quot;:&quot;);if(m.length&gt;1){let d=this.decodeAddress(m[0]),g=this.decodeAddress(m[1]);const y=Math.min(d.row,g.row),p=Math.min(d.col,g.col),b=Math.max(d.row,g.row),x=Math.max(d.col,g.col);return d=this.n2l(p)+y,g=this.n2l(x)+b,{top:y,left:p,bottom:b,right:x,sheetName:s,tl:{address:d,col:p,row:y,$col$row:`$${this.n2l(p)}$${y}`,sheetName:s},br:{address:g,col:x,row:b,$col$row:`$${this.n2l(x)}$${b}`,sheetName:s},dimensions:`${d}:${g}`}}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,l)=&gt;a.n2l(l)+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,l){const[s,c,,m,h]=u,[d,g]=l;return d&gt;=s&amp;&amp;d&lt;=m&amp;&amp;g&gt;=c&amp;&amp;g&lt;=h}};n.exports=a},{}],20:[function(t,n,o){const i=(u,l)=&gt;({...u,...l.reduce((s,c)=&gt;(u[c]&amp;&amp;(s[c]={...u[c]}),s),{})}),a=function(u,l,s){let c=arguments.length&gt;3&amp;&amp;arguments[3]!==void 0?arguments[3]:[];u[s]&amp;&amp;(l[s]=i(u[s],c))};o.copyStyle=u=&gt;{if(!u)return u;if(l=u,Object.keys(l).length===0)return{};var l;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,o){(function(i){(function(){const a=t(&quot;crypto&quot;),u={hash(l){const s=a.createHash(l);for(var c=arguments.length,m=new Array(c&gt;1?c-1:0),h=1;h&lt;c;h++)m[h-1]=arguments[h];return s.update(i.concat(m)),s.digest()},convertPasswordToHash(l,s,c,m){if(s=s.toLowerCase(),a.getHashes().indexOf(s)&lt;0)throw new Error(`Hash algorithm &#039;${s}&#039; not supported!`);const h=i.from(l,&quot;utf16le&quot;);let d=this.hash(s,i.from(c,&quot;base64&quot;),h);for(let g=0;g&lt;m;g++){const y=i.alloc(4);y.writeUInt32LE(g,0),d=this.hash(s,d,y)}return d.toString(&quot;base64&quot;)},randomBytes:l=&gt;a.randomBytes(l)};n.exports=u}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{buffer:220,crypto:390}],22:[function(t,n,o){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*(l){l.pipe&amp;&amp;!l[Symbol.asyncIterator]&amp;&amp;(l=l.pipe(new a));const s=new i;let c;s.on(&quot;error&quot;,h=&gt;{c=h});let m=[];s.on(&quot;opentag&quot;,h=&gt;m.push({eventType:&quot;opentag&quot;,value:h})),s.on(&quot;text&quot;,h=&gt;m.push({eventType:&quot;text&quot;,value:h})),s.on(&quot;closetag&quot;,h=&gt;m.push({eventType:&quot;closetag&quot;,value:h}));for await(const h of l){if(s.write(u(h)),c)throw c;yield m,m=[]}}},{&quot;./browser-buffer-decode&quot;:16,&quot;readable-stream&quot;:491,saxes:496}],23:[function(t,n,o){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(l,s,c){const m=i.decode(s),h=i.decode(c);return l.replace(a,(d,g,y,p,b)=&gt;{if(b)return d;const x=u.exec(p);if(x){const _=x[1],E=x[2].toUpperCase(),M=x[3],D=x[4];if(E.length&gt;3||E.length===3&amp;&amp;E&gt;&quot;XFD&quot;)return d;let W=i.l2n(E),L=parseInt(D,10);return _||(W+=h.col-m.col),M||(L+=h.row-m.row),(g||&quot;&quot;)+(_||&quot;&quot;)+i.n2l(W)+(M||&quot;&quot;)+L}return d})}}},{&quot;./col-cache&quot;:19}],24:[function(t,n,o){(function(i,a){(function(){const u=t(&quot;readable-stream&quot;),l=t(&quot;./utils&quot;),s=t(&quot;./string-buf&quot;);class c{constructor(p,b){this._data=p,this._encoding=b}get length(){return this.toBuffer().length}copy(p,b,x,_){return this.toBuffer().copy(p,b,x,_)}toBuffer(){return this._buffer||(this._buffer=a.from(this._data,this._encoding)),this._buffer}}class m{constructor(p){this._data=p}get length(){return this._data.length}copy(p,b,x,_){return this._data._buf.copy(p,b,x,_)}toBuffer(){return this._data.toBuffer()}}class h{constructor(p){this._data=p}get length(){return this._data.length}copy(p,b,x,_){this._data.copy(p,b,x,_)}toBuffer(){return this._data}}class d{constructor(p){this.size=p,this.buffer=a.alloc(p),this.iRead=0,this.iWrite=0}toBuffer(){if(this.iRead===0&amp;&amp;this.iWrite===this.size)return this.buffer;const p=a.alloc(this.iWrite-this.iRead);return this.buffer.copy(p,0,this.iRead,this.iWrite),p}get length(){return this.iWrite-this.iRead}get eod(){return this.iRead===this.iWrite}get full(){return this.iWrite===this.size}read(p){let b;return p===0?null:p===void 0||p&gt;=this.length?(b=this.toBuffer(),this.iRead=this.iWrite,b):(b=a.alloc(p),this.buffer.copy(b,0,this.iRead,p),this.iRead+=p,b)}write(p,b,x){const _=Math.min(x,this.size-this.iWrite);return p.copy(this.buffer,this.iWrite,b,b+_),this.iWrite+=_,_}}const g=function(y){y=y||{},this.bufSize=y.bufSize||1048576,this.buffers=[],this.batch=y.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};l.inherits(g,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(y=&gt;y.toBuffer()))}},_getWritableBuffer(){if(this.buffers.length){const p=this.buffers[this.buffers.length-1];if(!p.full)return p}const y=new d(this.bufSize);return this.buffers.push(y),y},async _pipe(y){await Promise.all(this.pipes.map((function(p){return new Promise(b=&gt;{p.write(y.toBuffer(),()=&gt;{b()})})})))},_writeToBuffers(y){let p=0;const b=y.length;for(;p&lt;b;)p+=this._getWritableBuffer().write(y,p,b-p)},async write(y,p,b){let x;if(p instanceof Function&amp;&amp;(b=p,p=&quot;utf8&quot;),b=b||l.nop,y instanceof s)x=new m(y);else if(y instanceof a)x=new h(y);else{if(!(typeof y==&quot;string&quot;||y instanceof String||y instanceof ArrayBuffer))throw new Error(&quot;Chunk must be one of type String, Buffer or StringBuf.&quot;);x=new c(y,p)}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(y,p,b){const x=_=&gt;{_?b(_):(this._flush(),this.pipes.forEach(E=&gt;{E.end()}),this.emit(&quot;finish&quot;))};y?this.write(y,p,x):x()},read(y){let p;if(y){for(p=[];y&amp;&amp;this.buffers.length&amp;&amp;!this.buffers[0].eod;){const b=this.buffers[0],x=b.read(y);y-=x.length,p.push(x),b.eod&amp;&amp;b.full&amp;&amp;this.buffers.shift()}return a.concat(p)}return p=this.buffers.map(b=&gt;b.toBuffer()).filter(Boolean),this.buffers=[],a.concat(p)},setEncoding(y){this.encoding=y},pause(){this.paused=!0},resume(){this.paused=!1},isPaused(){return!!this.paused},pipe(y){this.pipes.push(y),!this.paused&amp;&amp;this.buffers.length&amp;&amp;this.end()},unpipe(y){this.pipes=this.pipes.filter(p=&gt;p!==y)},unshift(){throw new Error(&quot;Not Implemented&quot;)},wrap(){throw new Error(&quot;Not Implemented&quot;)}}),n.exports=g}).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,o){(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 l=i.alloc(u);this._buf.copy(l,0),this._buf=l}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,o){const{toString:i}=Object.prototype,a=/[&quot;&amp;&lt;&gt;]/,u={each:function(l,s){l&amp;&amp;(Array.isArray(l)?l.forEach(s):Object.keys(l).forEach(c=&gt;{s(l[c],c)}))},some:function(l,s){return!!l&amp;&amp;(Array.isArray(l)?l.some(s):Object.keys(l).some(c=&gt;s(l[c],c)))},every:function(l,s){return!l||(Array.isArray(l)?l.every(s):Object.keys(l).every(c=&gt;s(l[c],c)))},map:function(l,s){return l?Array.isArray(l)?l.map(s):Object.keys(l).map(c=&gt;s(l[c],c)):[]},keyBy:(l,s)=&gt;l.reduce((c,m)=&gt;(c[m[s]]=m,c),{}),isEqual:function(l,s){const c=typeof l,m=typeof s,h=Array.isArray(l),d=Array.isArray(s);let g;if(c!==m)return!1;switch(typeof l){case&quot;object&quot;:if(h||d)return!(!h||!d)&amp;&amp;l.length===s.length&amp;&amp;l.every((y,p)=&gt;{const b=s[p];return u.isEqual(y,b)});if(l===null||s===null)return l===s;if(g=Object.keys(l),Object.keys(s).length!==g.length)return!1;for(const y of g)if(!s.hasOwnProperty(y))return!1;return u.every(l,(y,p)=&gt;{const b=s[p];return u.isEqual(y,b)});default:return l===s}},escapeHtml(l){const s=a.exec(l);if(!s)return l;let c=&quot;&quot;,m=&quot;&quot;,h=0,d=s.index;for(;d&lt;l.length;d++){switch(l.charAt(d)){case&#039;&quot;&#039;:m=&quot;&amp;quot;&quot;;break;case&quot;&amp;&quot;:m=&quot;&amp;amp;&quot;;break;case&quot;&#039;&quot;:m=&quot;&amp;apos;&quot;;break;case&quot;&lt;&quot;:m=&quot;&amp;lt;&quot;;break;case&quot;&gt;&quot;:m=&quot;&amp;gt;&quot;;break;default:continue}h!==d&amp;&amp;(c+=l.substring(h,d)),h=d+1,c+=m}return h!==d?c+l.substring(h,d):c},strcmp:(l,s)=&gt;l&lt;s?-1:l&gt;s?1:0,isUndefined:l=&gt;i.call(l)===&quot;[object Undefined]&quot;,isObject:l=&gt;i.call(l)===&quot;[object Object]&quot;,deepMerge(){const l=arguments[0]||{},{length:s}=arguments;let c,m,h;function d(g,y){c=l[y],h=Array.isArray(g),u.isObject(g)||h?(h?(h=!1,m=c&amp;&amp;Array.isArray(c)?c:[]):m=c&amp;&amp;u.isObject(c)?c:{},l[y]=u.deepMerge(m,g)):u.isUndefined(g)||(l[y]=g)}for(let g=0;g&lt;s;g++)u.each(arguments[g],d);return l}};n.exports=u},{}],27:[function(t,n,o){(function(i,a){(function(){const u=t(&quot;fs&quot;),l=/[&lt;&gt;&amp;&#039;&quot;\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,s={nop(){},promiseImmediate:c=&gt;new Promise(m=&gt;{i.setImmediate?a(()=&gt;{m(c)}):setTimeout(()=&gt;{m(c)},1)}),inherits:function(c,m,h,d){c.super_=m,d||(d=h,h=null),h&amp;&amp;Object.keys(h).forEach(y=&gt;{Object.defineProperty(c,y,Object.getOwnPropertyDescriptor(h,y))});const g={constructor:{value:c,enumerable:!1,writable:!1,configurable:!0}};d&amp;&amp;Object.keys(d).forEach(y=&gt;{g[y]=Object.getOwnPropertyDescriptor(d,y)}),c.prototype=Object.create(m.prototype,g)},dateToExcel:(c,m)=&gt;25569+c.getTime()/864e5-(m?1462:0),excelToDate(c,m){const h=Math.round(24*(c-25569+(m?1462:0))*3600*1e3);return new Date(h)},parsePath(c){const m=c.lastIndexOf(&quot;/&quot;);return{path:c.substring(0,m),name:c.substring(m+1)}},getRelsPath(c){const m=s.parsePath(c);return`${m.path}/_rels/${m.name}.rels`},xmlEncode(c){const m=l.exec(c);if(!m)return c;let h=&quot;&quot;,d=&quot;&quot;,g=0,y=m.index;for(;y&lt;c.length;y++){const p=c.charCodeAt(y);switch(p){case 34:d=&quot;&amp;quot;&quot;;break;case 38:d=&quot;&amp;amp;&quot;;break;case 39:d=&quot;&amp;apos;&quot;;break;case 60:d=&quot;&amp;lt;&quot;;break;case 62:d=&quot;&amp;gt;&quot;;break;case 127:d=&quot;&quot;;break;default:if(p&lt;=31&amp;&amp;(p&lt;=8||p&gt;=11&amp;&amp;p!==13)){d=&quot;&quot;;break}continue}g!==y&amp;&amp;(h+=c.substring(g,y)),g=y+1,d&amp;&amp;(h+=d)}return g!==y?h+c.substring(g,y):h},xmlDecode:c=&gt;c.replace(/&amp;([a-z]*);/g,m=&gt;{switch(m){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 m}}),validInt(c){const m=parseInt(c,10);return Number.isNaN(m)?0:m},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(m=&gt;{u.access(c,u.constants.F_OK,h=&gt;{m(!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 Yt&lt;&quot;u&quot;?Yt: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,o){const i=t(&quot;./under-dash&quot;),a=t(&quot;./utils&quot;);function u(c,m,h){c.push(` ${m}=&quot;${a.xmlEncode(h.toString())}&quot;`)}function l(c,m){if(m){const h=[];i.each(m,(d,g)=&gt;{d!==void 0&amp;&amp;u(h,g,d)}),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(m){const h=this._xml;h.push(&quot;&lt;?xml&quot;),l(h,m),h.push(`?&gt;
`)}openNode(m,h){const d=this.tos,g=this._xml;d&amp;&amp;this.open&amp;&amp;g.push(&quot;&gt;&quot;),this._stack.push(m),g.push(&quot;&lt;&quot;),g.push(m),l(g,h),this.leaf=!0,this.open=!0}addAttribute(m,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,m,h)}addAttributes(m){if(!this.open)throw new Error(&quot;Cannot write attributes to node if it is not open&quot;);l(this._xml,m)}writeText(m){const h=this._xml;this.open&amp;&amp;(h.push(&quot;&gt;&quot;),this.open=!1),this.leaf=!1,h.push(a.xmlEncode(m.toString()))}writeXml(m){this.open&amp;&amp;(this._xml.push(&quot;&gt;&quot;),this.open=!1),this.leaf=!1,this._xml.push(m)}closeNode(){const m=this._stack.pop(),h=this._xml;this.leaf?h.push(&quot;/&gt;&quot;):(h.push(&quot;&lt;/&quot;),h.push(m),h.push(&quot;&gt;&quot;)),this.open=!1,this.leaf=!1}leafNode(m,h,d){this.openNode(m,h),d!==void 0&amp;&amp;this.writeText(d),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 m=this._rollbacks.pop();this._xml.length&gt;m.xml&amp;&amp;this._xml.splice(m.xml,this._xml.length-m.xml),this._stack.length&gt;m.stack&amp;&amp;this._stack.splice(m.stack,this._stack.length-m.stack),this.leaf=m.leaf,this.open=m.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,o){(function(i){(function(){const a=t(&quot;events&quot;),u=t(&quot;jszip&quot;),l=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 l}append(h,d){d.hasOwnProperty(&quot;base64&quot;)&amp;&amp;d.base64?this.zip.file(d.name,h,{base64:!0}):(i.browser&amp;&amp;typeof h==&quot;string&quot;&amp;&amp;(h=s(h)),this.zip.file(d.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,d){return this.stream.pipe(h,d)}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,o){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,o){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,o){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:m,value:h}of c)if(m===&quot;opentag&quot;)this.parseOpen(h);else if(m===&quot;text&quot;)this.parseText(h);else if(m===&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 m=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];if(s===void 0){if(m)return c}else if(m||s!==c)return s.toString()}static toStringAttribute(s,c){let m=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];return u.toAttribute(s,c,m)}static toStringValue(s,c){return s===void 0?c:s}static toBoolAttribute(s,c){let m=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];if(s===void 0){if(m)return c}else if(m||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 m=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];return u.toAttribute(s,c,m)}static toIntValue(s,c){return s===void 0?c:parseInt(s,10)}static toFloatAttribute(s,c){let m=arguments.length&gt;2&amp;&amp;arguments[2]!==void 0&amp;&amp;arguments[2];return u.toAttribute(s,c,m)}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,o){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 l(s){const c=[];let m=!1,h=&quot;&quot;;return s.split(&quot;,&quot;).forEach(d=&gt;{if(!d)return;const g=(d.match(/&#039;/g)||[]).length;if(!g)return void(m?h+=d+&quot;,&quot;:u(d)&amp;&amp;c.push(d));const y=g%2==0;!m&amp;&amp;y&amp;&amp;u(d)?c.push(d):m&amp;&amp;!y?(m=!1,u(h+d)&amp;&amp;c.push(h+d),h=&quot;&quot;):(m=!0,h+=d+&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:l(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,o){const i=t(&quot;../../../utils/utils&quot;),a=t(&quot;../base-xform&quot;);n.exports=class extends a{render(u,l){u.leafNode(&quot;sheet&quot;,{sheetId:l.id,name:l.name,state:l.state,&quot;r:id&quot;:l.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,o){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,o){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,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{render(a,u){const l={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;(l.visibility=u.visibility),a.leafNode(&quot;workbookView&quot;,l)}parseOpen(a){if(a.name===&quot;workbookView&quot;){const u=this.model={},l=function(c,m,h){const d=m!==void 0?u[c]=m:h;d!==void 0&amp;&amp;(u[c]=d)},s=function(c,m,h){const d=m!==void 0?u[c]=parseInt(m,10):h;d!==void 0&amp;&amp;(u[c]=d)};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),l(&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,o){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../../../utils/col-cache&quot;),u=t(&quot;../../../utils/xml-stream&quot;),l=t(&quot;../base-xform&quot;),s=t(&quot;../static-xform&quot;),c=t(&quot;../list-xform&quot;),m=t(&quot;./defined-name-xform&quot;),h=t(&quot;./sheet-xform&quot;),d=t(&quot;./workbook-view-xform&quot;),g=t(&quot;./workbook-properties-xform&quot;),y=t(&quot;./workbook-calc-properties-xform&quot;);class p extends l{constructor(){super(),this.map={fileVersion:p.STATIC_XFORMS.fileVersion,workbookPr:new g,bookViews:new c({tag:&quot;bookViews&quot;,count:!1,childXform:new d}),sheets:new c({tag:&quot;sheets&quot;,count:!1,childXform:new h}),definedNames:new c({tag:&quot;definedNames&quot;,count:!1,childXform:new m}),calcPr:new y}}prepare(x){x.sheets=x.worksheets;const _=[];let E=0;x.sheets.forEach(M=&gt;{if(M.pageSetup&amp;&amp;M.pageSetup.printArea&amp;&amp;M.pageSetup.printArea.split(&quot;&amp;&amp;&quot;).forEach(D=&gt;{const W=D.split(&quot;:&quot;),L={name:&quot;_xlnm.Print_Area&quot;,ranges:[`&#039;${M.name}&#039;!$${W[0]}:$${W[1]}`],localSheetId:E};_.push(L)}),M.pageSetup&amp;&amp;(M.pageSetup.printTitlesRow||M.pageSetup.printTitlesColumn)){const D=[];if(M.pageSetup.printTitlesColumn){const L=M.pageSetup.printTitlesColumn.split(&quot;:&quot;);D.push(`&#039;${M.name}&#039;!$${L[0]}:$${L[1]}`)}if(M.pageSetup.printTitlesRow){const L=M.pageSetup.printTitlesRow.split(&quot;:&quot;);D.push(`&#039;${M.name}&#039;!$${L[0]}:$${L[1]}`)}const W={name:&quot;_xlnm.Print_Titles&quot;,ranges:D,localSheetId:E};_.push(W)}E++}),_.length&amp;&amp;(x.definedNames=x.definedNames.concat(_)),(x.media||[]).forEach((M,D)=&gt;{M.name=M.type+(D+1)})}render(x,_){x.openXml(u.StdDocAttributes),x.openNode(&quot;workbook&quot;,p.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,V)=&gt;(L[V.Id]=V,L),{}),E=[];let M,D=0;(x.sheets||[]).forEach(L=&gt;{const V=_[L.rId];V&amp;&amp;(M=x.worksheetHash[&quot;xl/&quot;+V.Target.replace(/^(\s|\/xl\/)+/,&quot;&quot;)],M&amp;&amp;(M.name=L.name,M.id=L.id,M.state=L.state,E[D++]=M))});const W=[];i.each(x.definedNames,L=&gt;{if(L.name===&quot;_xlnm.Print_Area&quot;){if(M=E[L.localSheetId],M){M.pageSetup||(M.pageSetup={});const V=a.decodeEx(L.ranges[0]);M.pageSetup.printArea=M.pageSetup.printArea?`${M.pageSetup.printArea}&amp;&amp;${V.dimensions}`:V.dimensions}}else if(L.name===&quot;_xlnm.Print_Titles&quot;){if(M=E[L.localSheetId],M){M.pageSetup||(M.pageSetup={});const V=L.ranges.join(&quot;,&quot;),H=/\$/g,K=/\$\d+:\$\d+/,z=V.match(K);if(z&amp;&amp;z.length){const C=z[0];M.pageSetup.printTitlesRow=C.replace(H,&quot;&quot;)}const O=/\$[A-Z]+:\$[A-Z]+/,I=V.match(O);if(I&amp;&amp;I.length){const C=I[0];M.pageSetup.printTitlesColumn=C.replace(H,&quot;&quot;)}}}else W.push(L)}),x.definedNames=W,x.media.forEach((L,V)=&gt;{L.index=V})}}p.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;},p.STATIC_XFORMS={fileVersion:new s({tag:&quot;fileVersion&quot;,$:{appName:&quot;xl&quot;,lastEdited:5,lowestEdited:5,rupBuild:9303}})},n.exports=p},{&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,o){const i=t(&quot;../strings/rich-text-xform&quot;),a=t(&quot;../../../utils/utils&quot;),u=t(&quot;../base-xform&quot;),l=n.exports=function(s){this.model=s};a.inherits(l,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(m=&gt;{this.richTextXform.render(s,m)}),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,o){const i=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../../../utils/utils&quot;),u=t(&quot;../base-xform&quot;),l=t(&quot;./comment-xform&quot;),s=n.exports=function(){this.map={comment:new l}};a.inherits(s,u,{COMMENTS_ATTRIBUTES:{xmlns:&quot;http://schemas.openxmlformats.org/spreadsheetml/2006/main&quot;}},{render(c,m){m=m||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;),m.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,o){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,l){(u===l[2]||this.tag===&quot;x:SizeWithCells&quot;&amp;&amp;u===l[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,o){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,o){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),l=Math.floor(68*(a.left-u)),s=Math.floor(a.top),c=Math.floor(18*(a.top-s)),m=Math.floor(a.right),h=Math.floor(68*(a.right-m)),d=Math.floor(a.bottom);return[u,l,s,c,m,h,d,Math.floor(18*(a.bottom-d))]}getDefaultRect(a){const u=a.col,l=Math.max(a.row-2,0);return[u,6,l,14,u+2,2,l+4,16]}render(a,u){const l=u.anchor?this.getAnchorRect(u.anchor):this.getDefaultRect(u.refAddress);a.leafNode(&quot;x:Anchor&quot;,null,l.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,o){const i=t(&quot;../base-xform&quot;),a=t(&quot;./vml-anchor-xform&quot;),u=t(&quot;./style/vml-protection-xform&quot;),l=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 l({tag:&quot;x:SizeWithCells&quot;}),&quot;x:MoveWithCells&quot;:new l({tag:&quot;x:MoveWithCells&quot;})}}get tag(){return&quot;x:ClientData&quot;}render(c,m){const{protection:h,editAs:d}=m.note;c.openNode(this.tag,{ObjectType:&quot;Note&quot;}),this.map[&quot;x:MoveWithCells&quot;].render(c,d,s),this.map[&quot;x:SizeWithCells&quot;].render(c,d,s),this.map[&quot;x:Anchor&quot;].render(c,m),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,m.refAddress.row-1),c.leafNode(&quot;x:Column&quot;,null,m.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),m=Object.keys(c).length;this.model.editAs=s[m],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,o){const i=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;./vml-shape-xform&quot;);class l extends a{constructor(){super(),this.map={&quot;v:shape&quot;:new u}}get tag(){return&quot;xml&quot;}render(c,m){c.openXml(i.StdDocAttributes),c.openNode(this.tag,l.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(),m.comments.forEach((h,d)=&gt;{this.map[&quot;v:shape&quot;].render(c,h,d)}),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,m){c.anchors.forEach(h=&gt;{h.br?this.map[&quot;xdr:twoCellAnchor&quot;].reconcile(h,m):this.map[&quot;xdr:oneCellAnchor&quot;].reconcile(h,m)})}}l.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=l},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;./vml-shape-xform&quot;:46}],46:[function(t,n,o){const i=t(&quot;../base-xform&quot;),a=t(&quot;./vml-textbox-xform&quot;),u=t(&quot;./vml-client-data-xform&quot;);class l 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,m,h){c.openNode(&quot;v:shape&quot;,l.V_SHAPE_ATTRIBUTES(m,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,m),this.map[&quot;x:ClientData&quot;].render(c,m),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}}l.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=l},{&quot;../base-xform&quot;:32,&quot;./vml-client-data-xform&quot;:44,&quot;./vml-textbox-xform&quot;:47}],47:[function(t,n,o){const i=t(&quot;../base-xform&quot;);n.exports=class extends i{get tag(){return&quot;v:textbox&quot;}conversionUnit(a,u,l){return`${parseFloat(a)*u.toFixed(2)}${l}`}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 l={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;(l.inset=s)}a.openNode(&quot;v:textbox&quot;,l),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,o){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,o){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,o){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(l=&gt;{a.leafNode(&quot;vt:lpstr&quot;,void 0,l.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,o){const i=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;../simple/string-xform&quot;),l=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 l,TitleOfParts:new s}}render(h,d){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,d.worksheets),this.map.TitleOfParts.render(h,d.worksheets),this.map.Company.render(h,d.company||&quot;&quot;),this.map.Manager.render(h,d.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(m){return m.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,o){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 m={};(c.media||[]).forEach(h=&gt;{if(h.type===&quot;image&quot;){const d=h.extension;m[d]||(m[d]=!0,s.leafNode(&quot;Default&quot;,{Extension:d,ContentType:&quot;image/&quot;+d}))}}),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 d=`/xl/worksheets/sheet${h.id}.xml`;s.leafNode(&quot;Override&quot;,{PartName:d,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:d}=h;s.leafNode(&quot;Override&quot;,{PartName:`/xl/${d}.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,o){const i=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;../simple/date-xform&quot;),l=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 l({tag:&quot;dc:creator&quot;}),&quot;dc:title&quot;:new l({tag:&quot;dc:title&quot;}),&quot;dc:subject&quot;:new l({tag:&quot;dc:subject&quot;}),&quot;dc:description&quot;:new l({tag:&quot;dc:description&quot;}),&quot;dc:identifier&quot;:new l({tag:&quot;dc:identifier&quot;}),&quot;dc:language&quot;:new l({tag:&quot;dc:language&quot;}),&quot;cp:keywords&quot;:new l({tag:&quot;cp:keywords&quot;}),&quot;cp:category&quot;:new l({tag:&quot;cp:category&quot;}),&quot;cp:lastModifiedBy&quot;:new l({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 l({tag:&quot;cp:version&quot;}),&quot;cp:contentStatus&quot;:new l({tag:&quot;cp:contentStatus&quot;}),&quot;cp:contentType&quot;:new l({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,d){h.openXml(i.StdDocAttributes),h.openNode(&quot;cp:coreProperties&quot;,c.CORE_PROPERTY_ATTRIBUTES),this.map[&quot;dc:creator&quot;].render(h,d.creator),this.map[&quot;dc:title&quot;].render(h,d.title),this.map[&quot;dc:subject&quot;].render(h,d.subject),this.map[&quot;dc:description&quot;].render(h,d.description),this.map[&quot;dc:identifier&quot;].render(h,d.identifier),this.map[&quot;dc:language&quot;].render(h,d.language),this.map[&quot;cp:keywords&quot;].render(h,d.keywords),this.map[&quot;cp:category&quot;].render(h,d.category),this.map[&quot;cp:lastModifiedBy&quot;].render(h,d.lastModifiedBy),this.map[&quot;cp:lastPrinted&quot;].render(h,d.lastPrinted),this.map[&quot;cp:revision&quot;].render(h,d.revision),this.map[&quot;cp:version&quot;].render(h,d.version),this.map[&quot;cp:contentStatus&quot;].render(h,d.contentStatus),this.map[&quot;cp:contentType&quot;].render(h,d.contentType),this.map[&quot;dcterms:created&quot;].render(h,d.created),this.map[&quot;dcterms:modified&quot;].render(h,d.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(m){return m.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,o){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,o){const i=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;./relationship-xform&quot;);class l extends a{constructor(){super(),this.map={Relationship:new u}}render(c,m){m=m||this._values,c.openXml(i.StdDocAttributes),c.openNode(&quot;Relationships&quot;,l.RELATIONSHIPS_ATTRIBUTES),m.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)}}l.RELATIONSHIPS_ATTRIBUTES={xmlns:&quot;http://schemas.openxmlformats.org/package/2006/relationships&quot;},n.exports=l},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;./relationship-xform&quot;:54}],56:[function(t,n,o){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 l=u.rels[a.rId].Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(l){const s=l[1],c=u.mediaIndex[s];return u.media[c]}}}}},{&quot;../base-xform&quot;:32}],57:[function(t,n,o){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,l){u.openNode(this.tag),this.map[&quot;a:blip&quot;].render(u,l),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,o){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,o){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,o){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(l,s){l.openNode(this.tag,{id:s.index,name:&quot;Picture &quot;+s.index}),this.map[&quot;a:hlinkClick&quot;].render(l,s),this.map[&quot;a:extLst&quot;].render(l,s),l.closeNode()}parseOpen(l){return this.parser?(this.parser.parseOpen(l),!0):(l.name===this.tag?this.reset():(this.parser=this.map[l.name],this.parser&amp;&amp;this.parser.parseOpen(l)),!0)}parseText(){}parseClose(l){return this.parser?(this.parser.parseClose(l)||(this.parser=void 0),!0):l===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,o){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,l){u.openNode(this.tag),this.map[&quot;xdr:col&quot;].render(u,l.nativeCol),this.map[&quot;xdr:colOff&quot;].render(u,l.nativeColOff),this.map[&quot;xdr:row&quot;].render(u,l.nativeRow),this.map[&quot;xdr:rowOff&quot;].render(u,l.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,o){const i=t(&quot;../../../utils/col-cache&quot;),a=t(&quot;../../../utils/xml-stream&quot;),u=t(&quot;../base-xform&quot;),l=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 l,&quot;xdr:oneCellAnchor&quot;:new s}}prepare(h){h.anchors.forEach((d,g)=&gt;{d.anchorType=(function(y){return(typeof y.range==&quot;string&quot;?i.decode(y.range):y.range).br?&quot;xdr:twoCellAnchor&quot;:&quot;xdr:oneCellAnchor&quot;})(d),this.map[d.anchorType].prepare(d,{index:g})})}get tag(){return&quot;xdr:wsDr&quot;}render(h,d){h.openXml(a.StdDocAttributes),h.openNode(this.tag,c.DRAWING_ATTRIBUTES),d.anchors.forEach(g=&gt;{this.map[g.anchorType].render(h,g)}),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,d){h.anchors.forEach(g=&gt;{g.br?this.map[&quot;xdr:twoCellAnchor&quot;].reconcile(g,d):this.map[&quot;xdr:oneCellAnchor&quot;].reconcile(g,d)})}}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,o){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,o){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 l=Math.floor(9525*u.width),s=Math.floor(9525*u.height);a.addAttribute(&quot;cx&quot;,l),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,o){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,o){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(l,s){l.openNode(this.tag),this.map[&quot;xdr:cNvPr&quot;].render(l,s),this.map[&quot;xdr:cNvPicPr&quot;].render(l,s),l.closeNode()}parseOpen(l){return this.parser?(this.parser.parseOpen(l),!0):(l.name===this.tag?this.reset():(this.parser=this.map[l.name],this.parser&amp;&amp;this.parser.parseOpen(l)),!0)}parseText(){}parseClose(l){return this.parser?(this.parser.parseClose(l)||(this.parser=void 0),!0):l===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,o){const i=t(&quot;./base-cell-anchor-xform&quot;),a=t(&quot;../static-xform&quot;),u=t(&quot;./cell-position-xform&quot;),l=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 l({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,m){this.map[&quot;xdr:pic&quot;].prepare(c.picture,m)}render(c,m){c.openNode(this.tag,{editAs:m.range.editAs||&quot;oneCell&quot;}),this.map[&quot;xdr:from&quot;].render(c,m.range.tl),this.map[&quot;xdr:ext&quot;].render(c,m.range.ext),this.map[&quot;xdr:pic&quot;].render(c,m.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,m){c.medium=this.reconcilePicture(c.picture,m)}}},{&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,o){const i=t(&quot;../base-xform&quot;),a=t(&quot;../static-xform&quot;),u=t(&quot;./blip-fill-xform&quot;),l=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 l,&quot;xdr:blipFill&quot;:new u,&quot;xdr:spPr&quot;:new a(s)}}get tag(){return&quot;xdr:pic&quot;}prepare(c,m){c.index=m.index+1}render(c,m){c.openNode(this.tag),this.map[&quot;xdr:nvPicPr&quot;].render(c,m),this.map[&quot;xdr:blipFill&quot;].render(c,m),this.map[&quot;xdr:spPr&quot;].render(c,m),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,o){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,o){const i=t(&quot;./base-cell-anchor-xform&quot;),a=t(&quot;../static-xform&quot;),u=t(&quot;./cell-position-xform&quot;),l=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 l,&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,o){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:l}=this;a&amp;&amp;a.forEach((s,c)=&gt;{u.index=c,l.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:l}=this;(u||[]).forEach((s,c)=&gt;{l.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:l}=this;a.forEach(s=&gt;{l.reconcile(s,u)})}}}},{&quot;./base-xform&quot;:32}],72:[function(t,n,o){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,l){if(l)if(typeof l==&quot;string&quot;)u.leafNode(&quot;autoFilter&quot;,{ref:l});else{const s=function(h){return typeof h==&quot;string&quot;?h:i.getAddress(h.row,h.column).address},c=s(l.from),m=s(l.to);c&amp;&amp;m&amp;&amp;u.leafNode(&quot;autoFilter&quot;,{ref:`${c}:${m}`})}}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,o){const i=t(&quot;../../../utils/utils&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;../../../doc/range&quot;),l=t(&quot;../../../doc/enums&quot;),s=t(&quot;../strings/rich-text-xform&quot;);function c(m){if(m==null)return l.ValueType.Null;if(m instanceof String||typeof m==&quot;string&quot;)return l.ValueType.String;if(typeof m==&quot;number&quot;)return l.ValueType.Number;if(typeof m==&quot;boolean&quot;)return l.ValueType.Boolean;if(m instanceof Date)return l.ValueType.Date;if(m.text&amp;&amp;m.hyperlink)return l.ValueType.Hyperlink;if(m.formula)return l.ValueType.Formula;if(m.error)return l.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(m,h){const d=h.styles.addStyleModel(m.style||{},(function(g){return g.type===l.ValueType.Formula?c(g.result):g.type})(m));switch(d&amp;&amp;(m.styleId=d),m.comment&amp;&amp;h.comments.push({...m.comment,ref:m.address}),m.type){case l.ValueType.String:case l.ValueType.RichText:h.sharedStrings&amp;&amp;(m.ssId=h.sharedStrings.add(m.value));break;case l.ValueType.Date:h.date1904&amp;&amp;(m.date1904=!0);break;case l.ValueType.Hyperlink:h.sharedStrings&amp;&amp;m.text!==void 0&amp;&amp;m.text!==null&amp;&amp;(m.ssId=h.sharedStrings.add(m.text)),h.hyperlinks.push({address:m.address,target:m.hyperlink,tooltip:m.tooltip});break;case l.ValueType.Merge:h.merges.add(m);break;case l.ValueType.Formula:if(h.date1904&amp;&amp;(m.date1904=!0),m.shareType===&quot;shared&quot;&amp;&amp;(m.si=h.siFormulae++),m.formula)h.formulae[m.address]=m;else if(m.sharedFormula){const g=h.formulae[m.sharedFormula];if(!g)throw new Error(&quot;Shared Formula master must exist above and or left of clone for cell &quot;+m.address);g.si===void 0?(g.shareType=&quot;shared&quot;,g.si=h.siFormulae++,g.range=new u(g.address,m.address)):g.range&amp;&amp;g.range.expandToAddress(m.address),m.si=g.si}}}renderFormula(m,h){let d=null;switch(h.shareType){case&quot;shared&quot;:d={t:&quot;shared&quot;,ref:h.ref||h.range.range,si:h.si};break;case&quot;array&quot;:d={t:&quot;array&quot;,ref:h.ref};break;default:h.si!==void 0&amp;&amp;(d={t:&quot;shared&quot;,si:h.si})}switch(c(h.result)){case l.ValueType.Null:m.leafNode(&quot;f&quot;,d,h.formula);break;case l.ValueType.String:m.addAttribute(&quot;t&quot;,&quot;str&quot;),m.leafNode(&quot;f&quot;,d,h.formula),m.leafNode(&quot;v&quot;,null,h.result);break;case l.ValueType.Number:m.leafNode(&quot;f&quot;,d,h.formula),m.leafNode(&quot;v&quot;,null,h.result);break;case l.ValueType.Boolean:m.addAttribute(&quot;t&quot;,&quot;b&quot;),m.leafNode(&quot;f&quot;,d,h.formula),m.leafNode(&quot;v&quot;,null,h.result?1:0);break;case l.ValueType.Error:m.addAttribute(&quot;t&quot;,&quot;e&quot;),m.leafNode(&quot;f&quot;,d,h.formula),m.leafNode(&quot;v&quot;,null,h.result.error);break;case l.ValueType.Date:m.leafNode(&quot;f&quot;,d,h.formula),m.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(m,h){if(h.type!==l.ValueType.Null||h.styleId){switch(m.openNode(&quot;c&quot;),m.addAttribute(&quot;r&quot;,h.address),h.styleId&amp;&amp;m.addAttribute(&quot;s&quot;,h.styleId),h.type){case l.ValueType.Null:break;case l.ValueType.Number:m.leafNode(&quot;v&quot;,null,h.value);break;case l.ValueType.Boolean:m.addAttribute(&quot;t&quot;,&quot;b&quot;),m.leafNode(&quot;v&quot;,null,h.value?&quot;1&quot;:&quot;0&quot;);break;case l.ValueType.Error:m.addAttribute(&quot;t&quot;,&quot;e&quot;),m.leafNode(&quot;v&quot;,null,h.value.error);break;case l.ValueType.String:case l.ValueType.RichText:h.ssId!==void 0?(m.addAttribute(&quot;t&quot;,&quot;s&quot;),m.leafNode(&quot;v&quot;,null,h.ssId)):h.value&amp;&amp;h.value.richText?(m.addAttribute(&quot;t&quot;,&quot;inlineStr&quot;),m.openNode(&quot;is&quot;),h.value.richText.forEach(d=&gt;{this.richTextXForm.render(m,d)}),m.closeNode(&quot;is&quot;)):(m.addAttribute(&quot;t&quot;,&quot;str&quot;),m.leafNode(&quot;v&quot;,null,h.value));break;case l.ValueType.Date:m.leafNode(&quot;v&quot;,null,i.dateToExcel(h.value,h.date1904));break;case l.ValueType.Hyperlink:h.ssId!==void 0?(m.addAttribute(&quot;t&quot;,&quot;s&quot;),m.leafNode(&quot;v&quot;,null,h.ssId)):(m.addAttribute(&quot;t&quot;,&quot;str&quot;),m.leafNode(&quot;v&quot;,null,h.text));break;case l.ValueType.Formula:this.renderFormula(m,h);break;case l.ValueType.Merge:}m.closeNode()}}parseOpen(m){if(this.parser)return this.parser.parseOpen(m),!0;switch(m.name){case&quot;c&quot;:return this.model={address:m.attributes.r},this.t=m.attributes.t,m.attributes.s&amp;&amp;(this.model.styleId=parseInt(m.attributes.s,10)),!0;case&quot;f&quot;:return this.currentNode=&quot;f&quot;,this.model.si=m.attributes.si,this.model.shareType=m.attributes.t,this.model.ref=m.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(m),!0;default:return!1}}parseText(m){if(this.parser)this.parser.parseText(m);else switch(this.currentNode){case&quot;f&quot;:this.model.formula=this.model.formula?this.model.formula+m:m;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+m:m:this.model.value=this.model.value?this.model.value+m:m}}parseClose(m){switch(m){case&quot;c&quot;:{const{model:h}=this;if(h.formula||h.shareType)h.type=l.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=l.ValueType.String,h.value=parseInt(h.value,10);break;case&quot;str&quot;:h.type=l.ValueType.String,h.value=i.xmlDecode(h.value);break;case&quot;inlineStr&quot;:h.type=l.ValueType.String;break;case&quot;b&quot;:h.type=l.ValueType.Boolean,h.value=parseInt(h.value,10)!==0;break;case&quot;e&quot;:h.type=l.ValueType.Error,h.value={error:h.value};break;default:h.type=l.ValueType.Number,h.value=parseFloat(h.value)}else h.styleId?h.type=l.ValueType.Null:h.type=l.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(m),!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(m),!0)}}reconcile(m,h){const d=m.styleId&amp;&amp;h.styles&amp;&amp;h.styles.getStyleModel(m.styleId);switch(d&amp;&amp;(m.style=d),m.styleId!==void 0&amp;&amp;(m.styleId=void 0),m.type){case l.ValueType.String:typeof m.value==&quot;number&quot;&amp;&amp;h.sharedStrings&amp;&amp;(m.value=h.sharedStrings.getString(m.value)),m.value.richText&amp;&amp;(m.type=l.ValueType.RichText);break;case l.ValueType.Number:d&amp;&amp;i.isDateFmt(d.numFmt)&amp;&amp;(m.type=l.ValueType.Date,m.value=i.excelToDate(m.value,h.date1904));break;case l.ValueType.Formula:m.result!==void 0&amp;&amp;d&amp;&amp;i.isDateFmt(d.numFmt)&amp;&amp;(m.result=i.excelToDate(m.result,h.date1904)),m.shareType===&quot;shared&quot;&amp;&amp;(m.ref?h.formulae[m.si]=m.address:(m.sharedFormula=h.formulae[m.si],delete m.shareType),delete m.si)}const g=h.hyperlinkMap[m.address];g&amp;&amp;(m.type===l.ValueType.Formula?(m.text=m.result,m.result=void 0):(m.text=m.value,m.value=void 0),m.type=l.ValueType.Hyperlink,m.hyperlink=g);const y=h.commentsMap&amp;&amp;h.commentsMap[m.address];y&amp;&amp;(m.comment=y)}}},{&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,o){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,o){const{v4:i}=t(&quot;uuid&quot;),a=t(&quot;../../base-xform&quot;),u=t(&quot;../../composite-xform&quot;),l=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 m extends u{constructor(){super(),this.map={&quot;x14:dataBar&quot;:this.databarXform=new l,&quot;x14:iconSet&quot;:this.iconSetXform=new s}}get tag(){return&quot;x14:cfRule&quot;}static isExt(d){return d.type===&quot;dataBar&quot;?l.isExt(d):!(d.type!==&quot;iconSet&quot;||!d.custom&amp;&amp;!c[d.iconSet])}prepare(d){m.isExt(d)&amp;&amp;(d.x14Id=`{${i()}}`.toUpperCase())}render(d,g){if(m.isExt(g))switch(g.type){case&quot;dataBar&quot;:this.renderDataBar(d,g);break;case&quot;iconSet&quot;:this.renderIconSet(d,g)}}renderDataBar(d,g){d.openNode(this.tag,{type:&quot;dataBar&quot;,id:g.x14Id}),this.databarXform.render(d,g),d.closeNode()}renderIconSet(d,g){d.openNode(this.tag,{type:&quot;iconSet&quot;,priority:g.priority,id:g.x14Id||`{${i()}}`}),this.iconSetXform.render(d,g),d.closeNode()}createNewModel(d){let{attributes:g}=d;return{type:g.type,x14Id:g.id,priority:a.toIntValue(g.priority)}}onParserClose(d,g){Object.assign(this.model,g.model)}}n.exports=m},{&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,o){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,l){u.openNode(this.tag,{type:l.type}),l.value!==void 0&amp;&amp;this.fExtXform.render(u,l.value),u.closeNode()}createNewModel(u){return{type:u.attributes.type}}onParserClose(u,l){u===&quot;xm:f&quot;&amp;&amp;(this.model.value=l.model?parseFloat(l.model):0)}}},{&quot;../../composite-xform&quot;:48,&quot;./f-ext-xform&quot;:80}],77:[function(t,n,o){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(l,s){l.rules.forEach(c=&gt;{this.cfRule.prepare(c,s)})}render(l,s){s.rules.some(u.isExt)&amp;&amp;(l.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(l,c)),this.sqRef.render(l,s.ref),l.closeNode())}createNewModel(){return{rules:[]}}onParserClose(l,s){switch(l){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,o){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(l){return l.hasExtContent===void 0&amp;&amp;(l.hasExtContent=l.some(s=&gt;s.rules.some(a.isExt))),l.hasExtContent}prepare(l,s){l.forEach(c=&gt;{this.cfXform.prepare(c,s)})}render(l,s){this.hasContent(s)&amp;&amp;(l.openNode(this.tag),s.forEach(c=&gt;this.cfXform.render(l,c)),l.closeNode())}createNewModel(){return[]}onParserClose(l,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,o){const i=t(&quot;../../base-xform&quot;),a=t(&quot;../../composite-xform&quot;),u=t(&quot;../../style/color-xform&quot;),l=t(&quot;./cfvo-ext-xform&quot;);n.exports=class extends a{constructor(){super(),this.map={&quot;x14:cfvo&quot;:this.cfvoXform=new l,&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(m=&gt;{this.cfvoXform.render(s,m)}),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[,m]=s.split(&quot;:&quot;);m===&quot;cfvo&quot;?this.model.cfvo.push(c.model):this.model[m]=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,o){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,o){const i=t(&quot;../../base-xform&quot;),a=t(&quot;../../composite-xform&quot;),u=t(&quot;./cfvo-ext-xform&quot;),l=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 l}}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(m=&gt;{this.cfvoXform.render(s,m)}),c.icons&amp;&amp;c.icons.forEach((m,h)=&gt;{m.iconId=h,this.cfIconXform.render(s,m)}),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[,m]=s.split(&quot;:&quot;);switch(m){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[m]=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,o){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,o){const i=t(&quot;../../base-xform&quot;),a=t(&quot;../../composite-xform&quot;),u=t(&quot;../../../../doc/range&quot;),l=t(&quot;./databar-xform&quot;),s=t(&quot;./ext-lst-ref-xform&quot;),c=t(&quot;./formula-xform&quot;),m=t(&quot;./color-scale-xform&quot;),h=t(&quot;./icon-set-xform&quot;),d={&quot;3Triangles&quot;:!0,&quot;3Stars&quot;:!0,&quot;5Boxes&quot;:!0},g=p=&gt;{const{type:b,operator:x}=p;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 y extends a{constructor(){super(),this.map={dataBar:this.databarXform=new l,extLst:this.extLstRefXform=new s,formula:this.formulaXform=new c,colorScale:this.colorScaleXform=new m,iconSet:this.iconSetXform=new h}}get tag(){return&quot;cfRule&quot;}static isPrimitive(b){return b.type!==&quot;iconSet&quot;||!b.custom&amp;&amp;!d[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){y.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 _=(E=&gt;{if(E.formulae&amp;&amp;E.formulae[0])return E.formulae[0];const M=new u(E.ref),{tl:D}=M;switch(E.operator){case&quot;containsText&quot;:return`NOT(ISERROR(SEARCH(&quot;${E.text}&quot;,${D})))`;case&quot;containsBlanks&quot;:return`LEN(TRIM(${D}))=0`;case&quot;notContainsBlanks&quot;:return`LEN(TRIM(${D}))&gt;0`;case&quot;containsErrors&quot;:return`ISERROR(${D})`;case&quot;notContainsErrors&quot;:return`NOT(ISERROR(${D}))`;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 _=(E=&gt;{if(E.formulae&amp;&amp;E.formulae[0])return E.formulae[0];const M=new u(E.ref),{tl:D}=M;switch(E.timePeriod){case&quot;thisWeek&quot;:return`AND(TODAY()-ROUNDDOWN(${D},0)&lt;=WEEKDAY(TODAY())-1,ROUNDDOWN(${D},0)-TODAY()&lt;=7-WEEKDAY(TODAY()))`;case&quot;lastWeek&quot;:return`AND(TODAY()-ROUNDDOWN(${D},0)&gt;=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(${D},0)&lt;(WEEKDAY(TODAY())+7))`;case&quot;nextWeek&quot;:return`AND(ROUNDDOWN(${D},0)-TODAY()&gt;(7-WEEKDAY(TODAY())),ROUNDDOWN(${D},0)-TODAY()&lt;(15-WEEKDAY(TODAY())))`;case&quot;yesterday&quot;:return`FLOOR(${D},1)=TODAY()-1`;case&quot;today&quot;:return`FLOOR(${D},1)=TODAY()`;case&quot;tomorrow&quot;:return`FLOOR(${D},1)=TODAY()+1`;case&quot;last7Days&quot;:return`AND(TODAY()-FLOOR(${D},1)&lt;=6,FLOOR(${D},1)&lt;=TODAY())`;case&quot;lastMonth&quot;:return`AND(MONTH(${D})=MONTH(EDATE(TODAY(),0-1)),YEAR(${D})=YEAR(EDATE(TODAY(),0-1)))`;case&quot;thisMonth&quot;:return`AND(MONTH(${D})=MONTH(TODAY()),YEAR(${D})=YEAR(TODAY()))`;case&quot;nextMonth&quot;:return`AND(MONTH(${D})=MONTH(EDATE(TODAY(),0+1)),YEAR(${D})=YEAR(EDATE(TODAY(),0+1)))`;default:return}})(x);_&amp;&amp;this.formulaXform.render(b,_),b.closeNode()}createNewModel(b){let{attributes:x}=b;return{...g(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=y},{&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,o){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,o){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(l,s){l.openNode(this.tag),s.cfvo.forEach(c=&gt;{this.cfvoXform.render(l,c)}),s.color.forEach(c=&gt;{this.colorXform.render(l,c)}),l.closeNode()}createNewModel(l){return{cfvo:[],color:[]}}onParserClose(l,s){this.model[l].push(s.model)}}},{&quot;../../composite-xform&quot;:48,&quot;../../style/color-xform&quot;:128,&quot;./cfvo-xform&quot;:84}],86:[function(t,n,o){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,l){l.rules.some(a.isPrimitive)&amp;&amp;(u.openNode(this.tag,{sqref:l.ref}),l.rules.forEach(s=&gt;{a.isPrimitive(s)&amp;&amp;(s.ref=l.ref,this.map.cfRule.render(u,s))}),u.closeNode())}createNewModel(u){let{attributes:l}=u;return{ref:l.sqref,rules:[]}}onParserClose(u,l){this.model.rules.push(l.model)}}},{&quot;../../composite-xform&quot;:48,&quot;./cf-rule-xform&quot;:83}],87:[function(t,n,o){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,l){let s=u.reduce((c,m)=&gt;Math.max(c,...m.rules.map(h=&gt;h.priority||0)),1);u.forEach(c=&gt;{c.rules.forEach(m=&gt;{m.priority||(m.priority=s++),m.style&amp;&amp;(m.dxfId=l.styles.addDxfStyle(m.style))})})}render(u,l){l.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,l){u.forEach(s=&gt;{s.rules.forEach(c=&gt;{c.dxfId!==void 0&amp;&amp;(c.style=l.styles.getDxfStyle(c.dxfId),delete c.dxfId)})})}}},{&quot;../../base-xform&quot;:32,&quot;./conditional-formatting-xform&quot;:86}],88:[function(t,n,o){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(l,s){l.openNode(this.tag),s.cfvo.forEach(c=&gt;{this.cfvoXform.render(l,c)}),this.colorXform.render(l,s.color),l.closeNode()}createNewModel(){return{cfvo:[]}}onParserClose(l,s){switch(l){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,o){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,m){c.leafNode(this.tag,null,m)}parseOpen(){this.model=&quot;&quot;}parseText(c){this.model+=c}parseClose(c){return c!==this.tag}}class l extends a{constructor(){super(),this.map={&quot;x14:id&quot;:this.idXform=new u}}get tag(){return&quot;ext&quot;}render(c,m){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,m.x14Id),c.closeNode()}createNewModel(){return{}}onParserClose(c,m){this.model.x14Id=m.model}}n.exports=class extends a{constructor(){super(),this.map={ext:new l}}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,o){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,o){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(l,s){l.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(l,c)}),l.closeNode()}createNewModel(l){let{attributes:s}=l;return{iconSet:i.toStringValue(s.iconSet,&quot;3TrafficLights&quot;),reverse:i.toBoolValue(s.reverse),showValue:i.toBoolValue(s.showValue),cfvo:[]}}onParserClose(l,s){this.model[l].push(s.model)}}},{&quot;../../base-xform&quot;:32,&quot;../../composite-xform&quot;:48,&quot;./cfvo-xform&quot;:84}],92:[function(t,n,o){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,l){const s=l.styles.addStyleModel(u.style||{});s&amp;&amp;(u.styleId=s)}render(u,l){u.openNode(&quot;col&quot;),u.addAttribute(&quot;min&quot;,l.min),u.addAttribute(&quot;max&quot;,l.max),l.width&amp;&amp;u.addAttribute(&quot;width&quot;,l.width),l.styleId&amp;&amp;u.addAttribute(&quot;style&quot;,l.styleId),l.hidden&amp;&amp;u.addAttribute(&quot;hidden&quot;,&quot;1&quot;),l.bestFit&amp;&amp;u.addAttribute(&quot;bestFit&quot;,&quot;1&quot;),l.outlineLevel&amp;&amp;u.addAttribute(&quot;outlineLevel&quot;,l.outlineLevel),l.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 l=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;(l.styleId=parseInt(u.attributes.style,10)),i.parseBoolean(u.attributes.hidden)&amp;&amp;(l.hidden=!0),i.parseBoolean(u.attributes.bestFit)&amp;&amp;(l.bestFit=!0),u.attributes.outlineLevel&amp;&amp;(l.outlineLevel=parseInt(u.attributes.outlineLevel,10)),i.parseBoolean(u.attributes.collapsed)&amp;&amp;(l.collapsed=!0),!0}return!1}parseText(){}parseClose(){return!1}reconcile(u,l){u.styleId&amp;&amp;(u.style=l.styles.getStyleModel(u.styleId))}}},{&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32}],93:[function(t,n,o){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../../../utils/utils&quot;),u=t(&quot;../../../utils/col-cache&quot;),l=t(&quot;../base-xform&quot;),s=t(&quot;../../../doc/range&quot;);function c(h,d,g,y){const p=d[g];p!==void 0?h[g]=p:y!==void 0&amp;&amp;(h[g]=y)}function m(h,d,g,y){const p=d[g];p!==void 0&amp;&amp;(h[g]=a.parseBoolean(p))}n.exports=class extends l{get tag(){return&quot;dataValidations&quot;}render(h,d){const g=(function(y){const p=i.map(y,(_,E)=&gt;({address:E,dataValidation:_,marked:!1})).sort((_,E)=&gt;i.strcmp(_.address,E.address)),b=i.keyBy(p,&quot;address&quot;),x=(_,E,M)=&gt;{for(let D=0;D&lt;E;D++){const W=u.encodeAddress(_.row+D,M);if(!y[W]||!i.isEqual(y[_.address],y[W]))return!1}return!0};return p.map(_=&gt;{if(!_.marked){const E=u.decodeEx(_.address);if(E.dimensions)return b[E.dimensions].marked=!0,{..._.dataValidation,sqref:_.address};let M=1,D=u.encodeAddress(E.row+M,E.col);for(;y[D]&amp;&amp;i.isEqual(_.dataValidation,y[D]);)M++,D=u.encodeAddress(E.row+M,E.col);let W=1;for(;x(E,M,E.col+W);)W++;for(let L=0;L&lt;M;L++)for(let V=0;V&lt;W;V++)D=u.encodeAddress(E.row+L,E.col+V),b[D].marked=!0;if(M&gt;1||W&gt;1){const L=E.row+(M-1),V=E.col+(W-1);return{..._.dataValidation,sqref:`${_.address}:${u.encodeAddress(L,V)}`}}return{..._.dataValidation,sqref:_.address}}return null}).filter(Boolean)})(d);g.length&amp;&amp;(h.openNode(&quot;dataValidations&quot;,{count:g.length}),g.forEach(y=&gt;{h.openNode(&quot;dataValidation&quot;),y.type!==&quot;any&quot;&amp;&amp;(h.addAttribute(&quot;type&quot;,y.type),y.operator&amp;&amp;y.type!==&quot;list&quot;&amp;&amp;y.operator!==&quot;between&quot;&amp;&amp;h.addAttribute(&quot;operator&quot;,y.operator),y.allowBlank&amp;&amp;h.addAttribute(&quot;allowBlank&quot;,&quot;1&quot;)),y.showInputMessage&amp;&amp;h.addAttribute(&quot;showInputMessage&quot;,&quot;1&quot;),y.promptTitle&amp;&amp;h.addAttribute(&quot;promptTitle&quot;,y.promptTitle),y.prompt&amp;&amp;h.addAttribute(&quot;prompt&quot;,y.prompt),y.showErrorMessage&amp;&amp;h.addAttribute(&quot;showErrorMessage&quot;,&quot;1&quot;),y.errorStyle&amp;&amp;h.addAttribute(&quot;errorStyle&quot;,y.errorStyle),y.errorTitle&amp;&amp;h.addAttribute(&quot;errorTitle&quot;,y.errorTitle),y.error&amp;&amp;h.addAttribute(&quot;error&quot;,y.error),h.addAttribute(&quot;sqref&quot;,y.sqref),(y.formulae||[]).forEach((p,b)=&gt;{h.openNode(&quot;formula&quot;+(b+1)),y.type===&quot;date&quot;?h.writeText(a.dateToExcel(new Date(p))):h.writeText(p),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 d={type:h.attributes.type||&quot;any&quot;,formulae:[]};switch(h.attributes.type&amp;&amp;m(d,h.attributes,&quot;allowBlank&quot;),m(d,h.attributes,&quot;showInputMessage&quot;),m(d,h.attributes,&quot;showErrorMessage&quot;),d.type){case&quot;any&quot;:case&quot;list&quot;:case&quot;custom&quot;:break;default:c(d,h.attributes,&quot;operator&quot;,&quot;between&quot;)}return c(d,h.attributes,&quot;promptTitle&quot;),c(d,h.attributes,&quot;prompt&quot;),c(d,h.attributes,&quot;errorStyle&quot;),c(d,h.attributes,&quot;errorTitle&quot;),c(d,h.attributes,&quot;error&quot;),this._dataValidation=d,!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(d=&gt;{d.includes(&quot;:&quot;)?new s(d).forEachAddress(g=&gt;{this.model[g]=this._dataValidation}):this.model[d]=this._dataValidation}),!0;case&quot;formula1&quot;:case&quot;formula2&quot;:{let d=this._formula.join(&quot;&quot;);switch(this._dataValidation.type){case&quot;whole&quot;:case&quot;textLength&quot;:d=parseInt(d,10);break;case&quot;decimal&quot;:d=parseFloat(d);break;case&quot;date&quot;:d=a.excelToDate(parseFloat(d))}return this._dataValidation.formulae.push(d),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,o){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,o){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,o){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(l,s){this.ext.prepare(l,s)}hasContent(l){return this.ext.hasContent(l)}render(l,s){this.hasContent(s)&amp;&amp;(l.openNode(&quot;extLst&quot;),this.ext.render(l,s),l.closeNode())}createNewModel(){return{}}onParserClose(l,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,o){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 l=!1;a.openNode(&quot;headerFooter&quot;),u.differentFirst&amp;&amp;(a.addAttribute(&quot;differentFirst&quot;,&quot;1&quot;),l=!0),u.differentOddEven&amp;&amp;(a.addAttribute(&quot;differentOddEven&quot;,&quot;1&quot;),l=!0),u.oddHeader&amp;&amp;typeof u.oddHeader==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;oddHeader&quot;,null,u.oddHeader),l=!0),u.oddFooter&amp;&amp;typeof u.oddFooter==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;oddFooter&quot;,null,u.oddFooter),l=!0),u.evenHeader&amp;&amp;typeof u.evenHeader==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;evenHeader&quot;,null,u.evenHeader),l=!0),u.evenFooter&amp;&amp;typeof u.evenFooter==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;evenFooter&quot;,null,u.evenFooter),l=!0),u.firstHeader&amp;&amp;typeof u.firstHeader==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;firstHeader&quot;,null,u.firstHeader),l=!0),u.firstFooter&amp;&amp;typeof u.firstFooter==&quot;string&quot;&amp;&amp;(a.leafNode(&quot;firstFooter&quot;,null,u.firstFooter),l=!0),l?(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,o){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,o){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,o){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../../../doc/range&quot;),u=t(&quot;../../../utils/col-cache&quot;),l=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,m=&gt;{const h=u.decode(m);for(let d=h.top;d&lt;=h.bottom;d++){const g=c[d-1];for(let y=h.left;y&lt;=h.right;y++){const p=g.cells[y-1];p?p.type===l.ValueType.Merge&amp;&amp;(p.master=h.tl):g.cells[y]={type:l.ValueType.Null,address:u.encodeAddress(d,y)}}}})}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,o){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,l){return!(!l||!a(l.summaryBelow)&amp;&amp;!a(l.summaryRight))&amp;&amp;(u.leafNode(this.tag,{summaryBelow:a(l.summaryBelow)?Number(l.summaryBelow):void 0,summaryRight:a(l.summaryRight)?Number(l.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,o){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,o){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,l){if(l){const s={left:l.left,right:l.right,top:l.top,bottom:l.bottom,header:l.header,footer:l.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,o){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,o){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../base-xform&quot;);function u(m){return m?&quot;1&quot;:void 0}function l(m){if(m===&quot;overThenDown&quot;)return m}function s(m){switch(m){case&quot;atEnd&quot;:case&quot;asDisplyed&quot;:return m;default:return}}function c(m){switch(m){case&quot;dash&quot;:case&quot;blank&quot;:case&quot;NA&quot;:return m;default:return}}n.exports=class extends a{get tag(){return&quot;pageSetup&quot;}render(m,h){if(h){const d={paperSize:h.paperSize,orientation:h.orientation,horizontalDpi:h.horizontalDpi,verticalDpi:h.verticalDpi,pageOrder:l(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(d,g=&gt;g!==void 0)&amp;&amp;m.leafNode(this.tag,d)}}parseOpen(m){if(m.name===this.tag)return this.model={paperSize:(h=m.attributes.paperSize,h!==void 0?parseInt(h,10):void 0),orientation:m.attributes.orientation||&quot;portrait&quot;,horizontalDpi:parseInt(m.attributes.horizontalDpi||&quot;4294967295&quot;,10),verticalDpi:parseInt(m.attributes.verticalDpi||&quot;4294967295&quot;,10),pageOrder:m.attributes.pageOrder||&quot;downThenOver&quot;,blackAndWhite:m.attributes.blackAndWhite===&quot;1&quot;,draft:m.attributes.draft===&quot;1&quot;,cellComments:m.attributes.cellComments||&quot;None&quot;,errors:m.attributes.errors||&quot;displayed&quot;,scale:parseInt(m.attributes.scale||&quot;100&quot;,10),fitToWidth:parseInt(m.attributes.fitToWidth||&quot;1&quot;,10),fitToHeight:parseInt(m.attributes.fitToHeight||&quot;1&quot;,10),firstPageNumber:parseInt(m.attributes.firstPageNumber||&quot;1&quot;,10),useFirstPageNumber:m.attributes.useFirstPageNumber===&quot;1&quot;,usePrinterDefaults:m.attributes.usePrinterDefaults===&quot;1&quot;,copies:parseInt(m.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,o){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,o){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../base-xform&quot;);function u(l){return l?&quot;1&quot;:void 0}n.exports=class extends a{get tag(){return&quot;printOptions&quot;}render(l,s){if(s){const c={headings:u(s.showRowColHeaders),gridLines:u(s.showGridLines),horizontalCentered:u(s.horizontalCentered),verticalCentered:u(s.verticalCentered)};i.some(c,m=&gt;m!==void 0)&amp;&amp;l.leafNode(this.tag,c)}}parseOpen(l){return l.name===this.tag?(this.model={showRowColHeaders:l.attributes.headings===&quot;1&quot;,showGridLines:l.attributes.gridLines===&quot;1&quot;,horizontalCentered:l.attributes.horizontalCentered===&quot;1&quot;,verticalCentered:l.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,o){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,l){if(l&amp;&amp;l.length){u.openNode(this.tag,this.$),this.count&amp;&amp;(u.addAttribute(this.$count,l.length),u.addAttribute(&quot;manualBreakCount&quot;,l.length));const{childXform:s}=this;l.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,o){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(l){super(),this.maxItems=l&amp;&amp;l.maxItems,this.map={c:new u}}get tag(){return&quot;row&quot;}prepare(l,s){const c=s.styles.addStyleModel(l.style);c&amp;&amp;(l.styleId=c);const m=this.map.c;l.cells.forEach(h=&gt;{m.prepare(h,s)})}render(l,s,c){l.openNode(&quot;row&quot;),l.addAttribute(&quot;r&quot;,s.number),s.height&amp;&amp;(l.addAttribute(&quot;ht&quot;,s.height),l.addAttribute(&quot;customHeight&quot;,&quot;1&quot;)),s.hidden&amp;&amp;l.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;l.addAttribute(&quot;spans&quot;,`${s.min}:${s.max}`),s.styleId&amp;&amp;(l.addAttribute(&quot;s&quot;,s.styleId),l.addAttribute(&quot;customFormat&quot;,&quot;1&quot;)),l.addAttribute(&quot;x14ac:dyDescent&quot;,&quot;0.25&quot;),s.outlineLevel&amp;&amp;l.addAttribute(&quot;outlineLevel&quot;,s.outlineLevel),s.collapsed&amp;&amp;l.addAttribute(&quot;collapsed&quot;,&quot;1&quot;);const m=this.map.c;s.cells.forEach(h=&gt;{m.render(l,h,c)}),l.closeNode()}parseOpen(l){if(this.parser)return this.parser.parseOpen(l),!0;if(l.name===&quot;row&quot;){this.numRowsSeen+=1;const s=l.attributes.spans?l.attributes.spans.split(&quot;:&quot;).map(m=&gt;parseInt(m,10)):[void 0,void 0],c=this.model={number:parseInt(l.attributes.r,10),min:s[0],max:s[1],cells:[]};return l.attributes.s&amp;&amp;(c.styleId=parseInt(l.attributes.s,10)),a.parseBoolean(l.attributes.hidden)&amp;&amp;(c.hidden=!0),a.parseBoolean(l.attributes.bestFit)&amp;&amp;(c.bestFit=!0),l.attributes.ht&amp;&amp;(c.height=parseFloat(l.attributes.ht)),l.attributes.outlineLevel&amp;&amp;(c.outlineLevel=parseInt(l.attributes.outlineLevel,10)),a.parseBoolean(l.attributes.collapsed)&amp;&amp;(c.collapsed=!0),!0}return this.parser=this.map[l.name],!!this.parser&amp;&amp;(this.parser.parseOpen(l),!0)}parseText(l){this.parser&amp;&amp;this.parser.parseText(l)}parseClose(l){if(this.parser){if(!this.parser.parseClose(l)){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(l,s){l.style=l.styleId?s.styles.getStyleModel(l.styleId):{},l.styleId!==void 0&amp;&amp;(l.styleId=void 0);const c=this.map.c;l.cells.forEach(m=&gt;{c.reconcile(m,s)})}}},{&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32,&quot;./cell-xform&quot;:73}],110:[function(t,n,o){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,l){if(l){const s={defaultRowHeight:l.defaultRowHeight,outlineLevelRow:l.outlineLevelRow,outlineLevelCol:l.outlineLevelCol,&quot;x14ac:dyDescent&quot;:l.dyDescent};l.defaultColWidth&amp;&amp;(s.defaultColWidth=l.defaultColWidth),l.defaultRowHeight&amp;&amp;l.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,o){const i=t(&quot;../base-xform&quot;),a=t(&quot;../style/color-xform&quot;),u=t(&quot;./page-setup-properties-xform&quot;),l=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 l}}get tag(){return&quot;sheetPr&quot;}render(s,c){if(c){s.addRollback(),s.openNode(&quot;sheetPr&quot;);let m=!1;m=this.map.tabColor.render(s,c.tabColor)||m,m=this.map.pageSetUpPr.render(s,c.pageSetup)||m,m=this.map.outlinePr.render(s,c.outlineProperties)||m,m?(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,o){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../base-xform&quot;);function u(s,c){return s?c:void 0}function l(s,c){return s===c||void 0}n.exports=class extends a{get tag(){return&quot;sheetProtection&quot;}render(s,c){if(c){const m={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;(m.algorithmName=c.algorithmName,m.hashValue=c.hashValue,m.saltValue=c.saltValue,m.spinCount=c.spinCount,m.objects=u(c.objects===!1,&quot;1&quot;),m.scenarios=u(c.scenarios===!1,&quot;1&quot;)),i.some(m,h=&gt;h!==void 0)&amp;&amp;s.leafNode(this.tag,m)}}parseOpen(s){return s.name===this.tag?(this.model={sheet:l(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:l(s.attributes.formatCells,&quot;0&quot;),formatColumns:l(s.attributes.formatColumns,&quot;0&quot;),formatRows:l(s.attributes.formatRows,&quot;0&quot;),insertColumns:l(s.attributes.insertColumns,&quot;0&quot;),insertRows:l(s.attributes.insertRows,&quot;0&quot;),insertHyperlinks:l(s.attributes.insertHyperlinks,&quot;0&quot;),deleteColumns:l(s.attributes.deleteColumns,&quot;0&quot;),deleteRows:l(s.attributes.deleteRows,&quot;0&quot;),sort:l(s.attributes.sort,&quot;0&quot;),autoFilter:l(s.attributes.autoFilter,&quot;0&quot;),pivotTables:l(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,o){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(l){switch(l.state){case&quot;frozen&quot;:case&quot;split&quot;:break;default:l.state=&quot;normal&quot;}}render(l,s){l.openNode(&quot;sheetView&quot;,{workbookViewId:s.workbookViewId||0});const c=function(y,p,b){b&amp;&amp;l.addAttribute(y,p)};let m,h,d,g;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,d=s.ySplit||0,m=s.topLeftCell||i.getAddress(d+1,h+1).address,g=(s.xSplit&amp;&amp;s.ySplit?&quot;bottomRight&quot;:s.xSplit&amp;&amp;&quot;topRight&quot;)||&quot;bottomLeft&quot;,l.leafNode(&quot;pane&quot;,{xSplit:s.xSplit||void 0,ySplit:s.ySplit||void 0,topLeftCell:m,activePane:g,state:&quot;frozen&quot;}),l.leafNode(&quot;selection&quot;,{pane:g,activeCell:s.activeCell,sqref:s.activeCell});break;case&quot;split&quot;:s.activePane===&quot;topLeft&quot;&amp;&amp;(s.activePane=void 0),l.leafNode(&quot;pane&quot;,{xSplit:s.xSplit||void 0,ySplit:s.ySplit||void 0,topLeftCell:s.topLeftCell,activePane:s.activePane}),l.leafNode(&quot;selection&quot;,{pane:s.activePane,activeCell:s.activeCell,sqref:s.activeCell});break;case&quot;normal&quot;:s.activeCell&amp;&amp;l.leafNode(&quot;selection&quot;,{activeCell:s.activeCell,sqref:s.activeCell})}l.closeNode()}parseOpen(l){switch(l.name){case&quot;sheetView&quot;:return this.sheetView={workbookViewId:parseInt(l.attributes.workbookViewId,10),rightToLeft:l.attributes.rightToLeft===&quot;1&quot;,tabSelected:l.attributes.tabSelected===&quot;1&quot;,showRuler:l.attributes.showRuler!==&quot;0&quot;,showRowColHeaders:l.attributes.showRowColHeaders!==&quot;0&quot;,showGridLines:l.attributes.showGridLines!==&quot;0&quot;,zoomScale:parseInt(l.attributes.zoomScale||&quot;100&quot;,10),zoomScaleNormal:parseInt(l.attributes.zoomScaleNormal||&quot;100&quot;,10),style:l.attributes.view},this.pane=void 0,this.selections={},!0;case&quot;pane&quot;:return this.pane={xSplit:parseInt(l.attributes.xSplit||&quot;0&quot;,10),ySplit:parseInt(l.attributes.ySplit||&quot;0&quot;,10),topLeftCell:l.attributes.topLeftCell,activePane:l.attributes.activePane||&quot;topLeft&quot;,state:l.attributes.state},!0;case&quot;selection&quot;:{const s=l.attributes.pane||&quot;topLeft&quot;;return this.selections[s]={pane:s,activeCell:l.attributes.activeCell},!0}default:return!1}}parseText(){}parseClose(l){let s,c;return l===&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,o){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,o){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../../../utils/col-cache&quot;),u=t(&quot;../../../utils/xml-stream&quot;),l=t(&quot;../../rel-type&quot;),s=t(&quot;./merges&quot;),c=t(&quot;../base-xform&quot;),m=t(&quot;../list-xform&quot;),h=t(&quot;./row-xform&quot;),d=t(&quot;./col-xform&quot;),g=t(&quot;./dimension-xform&quot;),y=t(&quot;./hyperlink-xform&quot;),p=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;),E=t(&quot;./sheet-view-xform&quot;),M=t(&quot;./sheet-protection-xform&quot;),D=t(&quot;./page-margins-xform&quot;),W=t(&quot;./page-setup-xform&quot;),L=t(&quot;./print-options-xform&quot;),V=t(&quot;./auto-filter-xform&quot;),H=t(&quot;./picture-xform&quot;),K=t(&quot;./drawing-xform&quot;),z=t(&quot;./table-part-xform&quot;),O=t(&quot;./row-breaks-xform&quot;),I=t(&quot;./header-footer-xform&quot;),C=t(&quot;./cf/conditional-formattings-xform&quot;),j=t(&quot;./ext-lst-xform&quot;),k=(N,T)=&gt;{if(!T||!T.length)return N;if(!N||!N.length)return T;const R={},B={};return N.forEach(Y=&gt;{R[Y.ref]=Y,Y.rules.forEach(Q=&gt;{const{x14Id:ne}=Q;ne&amp;&amp;(B[ne]=Q)})}),T.forEach(Y=&gt;{Y.rules.forEach(Q=&gt;{const ne=B[Q.x14Id];ne?((U,ee)=&gt;{Object.keys(ee).forEach(F=&gt;{const P=U[F],X=ee[F];P===void 0&amp;&amp;X!==void 0&amp;&amp;(U[F]=X)})})(ne,Q):R[Y.ref]?R[Y.ref].rules.push(Q):N.push({ref:Y.ref,rules:[Q]})})}),N};class S extends c{constructor(T){super();const{maxRows:R,maxCols:B,ignoreNodes:Y}=T||{};this.ignoreNodes=Y||[],this.map={sheetPr:new x,dimension:new g,sheetViews:new m({tag:&quot;sheetViews&quot;,count:!1,childXform:new E}),sheetFormatPr:new _,cols:new m({tag:&quot;cols&quot;,count:!1,childXform:new d}),sheetData:new m({tag:&quot;sheetData&quot;,count:!1,empty:!0,childXform:new h({maxItems:B}),maxItems:R}),autoFilter:new V,mergeCells:new m({tag:&quot;mergeCells&quot;,count:!0,childXform:new p}),rowBreaks:new O,hyperlinks:new m({tag:&quot;hyperlinks&quot;,count:!1,childXform:new y}),pageMargins:new D,dataValidations:new b,pageSetup:new W,headerFooter:new I,printOptions:new L,picture:new H,drawing:new K,sheetProtection:new M,tableParts:new m({tag:&quot;tableParts&quot;,count:!0,childXform:new z}),conditionalFormatting:new C,extLst:new j}}prepare(T,R){R.merges=new s,T.hyperlinks=R.hyperlinks=[],T.comments=R.comments=[],R.formulae={},R.siFormulae=0,this.map.cols.prepare(T.cols,R),this.map.sheetData.prepare(T.rows,R),this.map.conditionalFormatting.prepare(T.conditionalFormattings,R),T.mergeCells=R.merges.mergeCells;const B=T.rels=[];function Y(U){return&quot;rId&quot;+(U.length+1)}if(T.hyperlinks.forEach(U=&gt;{const ee=Y(B);U.rId=ee,B.push({Id:ee,Type:l.Hyperlink,Target:U.target,TargetMode:&quot;External&quot;})}),T.comments.length&gt;0){const U={Id:Y(B),Type:l.Comments,Target:`../comments${T.id}.xml`};B.push(U);const ee={Id:Y(B),Type:l.VmlDrawing,Target:`../drawings/vmlDrawing${T.id}.vml`};B.push(ee),T.comments.forEach(F=&gt;{F.refAddress=a.decodeAddress(F.ref)}),R.commentRefs.push({commentName:&quot;comments&quot;+T.id,vmlDrawing:&quot;vmlDrawing&quot;+T.id})}const Q=[];let ne;T.media.forEach(U=&gt;{if(U.type===&quot;background&quot;){const ee=Y(B);ne=R.media[U.imageId],B.push({Id:ee,Type:l.Image,Target:`../media/${ne.name}.${ne.extension}`}),T.background={rId:ee},T.image=R.media[U.imageId]}else if(U.type===&quot;image&quot;){let{drawing:ee}=T;ne=R.media[U.imageId],ee||(ee=T.drawing={rId:Y(B),name:&quot;drawing&quot;+ ++R.drawingsCount,anchors:[],rels:[]},R.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 F=this.preImageId===U.imageId?Q[U.imageId]:Q[ee.rels.length];F||(F=Y(ee.rels),Q[ee.rels.length]=F,ee.rels.push({Id:F,Type:&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/image&quot;,Target:`../media/${ne.name}.${ne.extension}`}));const P={picture:{rId:F},range:U.range};if(U.hyperlinks&amp;&amp;U.hyperlinks.hyperlink){const X=Y(ee.rels);Q[ee.rels.length]=X,P.picture.hyperlinks={tooltip:U.hyperlinks.tooltip,rId:X},ee.rels.push({Id:X,Type:l.Hyperlink,Target:U.hyperlinks.hyperlink,TargetMode:&quot;External&quot;})}this.preImageId=U.imageId,ee.anchors.push(P)}}),T.tables.forEach(U=&gt;{const ee=Y(B);U.rId=ee,B.push({Id:ee,Type:l.Table,Target:&quot;../tables/&quot;+U.target}),U.columns.forEach(F=&gt;{const{style:P}=F;P&amp;&amp;(F.dxfId=R.styles.addDxfStyle(P))})}),this.map.extLst.prepare(T,R)}render(T,R){T.openXml(u.StdDocAttributes),T.openNode(&quot;worksheet&quot;,S.WORKSHEET_ATTRIBUTES);const B=R.properties?{defaultRowHeight:R.properties.defaultRowHeight,dyDescent:R.properties.dyDescent,outlineLevelCol:R.properties.outlineLevelCol,outlineLevelRow:R.properties.outlineLevelRow}:void 0;R.properties&amp;&amp;R.properties.defaultColWidth&amp;&amp;(B.defaultColWidth=R.properties.defaultColWidth);const Y={outlineProperties:R.properties&amp;&amp;R.properties.outlineProperties,tabColor:R.properties&amp;&amp;R.properties.tabColor,pageSetup:R.pageSetup&amp;&amp;R.pageSetup.fitToPage?{fitToPage:R.pageSetup.fitToPage}:void 0},Q=R.pageSetup&amp;&amp;R.pageSetup.margins,ne={showRowColHeaders:R.pageSetup&amp;&amp;R.pageSetup.showRowColHeaders,showGridLines:R.pageSetup&amp;&amp;R.pageSetup.showGridLines,horizontalCentered:R.pageSetup&amp;&amp;R.pageSetup.horizontalCentered,verticalCentered:R.pageSetup&amp;&amp;R.pageSetup.verticalCentered},U=R.sheetProtection;this.map.sheetPr.render(T,Y),this.map.dimension.render(T,R.dimensions),this.map.sheetViews.render(T,R.views),this.map.sheetFormatPr.render(T,B),this.map.cols.render(T,R.cols),this.map.sheetData.render(T,R.rows),this.map.sheetProtection.render(T,U),this.map.autoFilter.render(T,R.autoFilter),this.map.mergeCells.render(T,R.mergeCells),this.map.conditionalFormatting.render(T,R.conditionalFormattings),this.map.dataValidations.render(T,R.dataValidations),this.map.hyperlinks.render(T,R.hyperlinks),this.map.printOptions.render(T,ne),this.map.pageMargins.render(T,Q),this.map.pageSetup.render(T,R.pageSetup),this.map.headerFooter.render(T,R.headerFooter),this.map.rowBreaks.render(T,R.rowBreaks),this.map.drawing.render(T,R.drawing),this.map.picture.render(T,R.background),this.map.tableParts.render(T,R.tables),this.map.extLst.render(T,R),R.rels&amp;&amp;R.rels.forEach(ee=&gt;{ee.Type===l.VmlDrawing&amp;&amp;T.leafNode(&quot;legacyDrawing&quot;,{&quot;r:id&quot;:ee.Id})}),T.closeNode()}parseOpen(T){return this.parser?(this.parser.parseOpen(T),!0):T.name===&quot;worksheet&quot;?(i.each(this.map,R=&gt;{R.reset()}),!0):(this.map[T.name]&amp;&amp;!this.ignoreNodes.includes(T.name)&amp;&amp;(this.parser=this.map[T.name],this.parser.parseOpen(T)),!0)}parseText(T){this.parser&amp;&amp;this.parser.parseText(T)}parseClose(T){if(this.parser)return this.parser.parseClose(T)||(this.parser=void 0),!0;if(T===&quot;worksheet&quot;){const R=this.map.sheetFormatPr.model||{};this.map.sheetPr.model&amp;&amp;this.map.sheetPr.model.tabColor&amp;&amp;(R.tabColor=this.map.sheetPr.model.tabColor),this.map.sheetPr.model&amp;&amp;this.map.sheetPr.model.outlineProperties&amp;&amp;(R.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),Q=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:R,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:Q},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(T,R){const B=(T.relationships||[]).reduce((Q,ne)=&gt;{if(Q[ne.Id]=ne,ne.Type===l.Comments&amp;&amp;(T.comments=R.comments[ne.Target].comments),ne.Type===l.VmlDrawing&amp;&amp;T.comments&amp;&amp;T.comments.length){const U=R.vmlDrawings[ne.Target].comments;T.comments.forEach((ee,F)=&gt;{ee.note=Object.assign({},ee.note,U[F])})}return Q},{});if(R.commentsMap=(T.comments||[]).reduce((Q,ne)=&gt;(ne.ref&amp;&amp;(Q[ne.ref]=ne),Q),{}),R.hyperlinkMap=(T.hyperlinks||[]).reduce((Q,ne)=&gt;(ne.rId&amp;&amp;(Q[ne.address]=B[ne.rId].Target),Q),{}),R.formulae={},T.rows=T.rows&amp;&amp;T.rows.filter(Boolean)||[],T.rows.forEach(Q=&gt;{Q.cells=Q.cells&amp;&amp;Q.cells.filter(Boolean)||[]}),this.map.cols.reconcile(T.cols,R),this.map.sheetData.reconcile(T.rows,R),this.map.conditionalFormatting.reconcile(T.conditionalFormattings,R),T.media=[],T.drawing){const Q=B[T.drawing.rId].Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(Q){const ne=Q[1];R.drawings[ne].anchors.forEach(U=&gt;{if(U.medium){const ee={type:&quot;image&quot;,imageId:U.medium.index,range:U.range,hyperlinks:U.picture.hyperlinks};T.media.push(ee)}})}}const Y=T.background&amp;&amp;B[T.background.rId];if(Y){const Q=Y.Target.split(&quot;/media/&quot;)[1],ne=R.mediaIndex&amp;&amp;R.mediaIndex[Q];ne!==void 0&amp;&amp;T.media.push({type:&quot;background&quot;,imageId:ne})}T.tables=(T.tables||[]).map(Q=&gt;{const ne=B[Q.rId];return R.tables[ne.Target]}),delete T.relationships,delete T.hyperlinks,delete T.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,o){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,o){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,o){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,o){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,o){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 l=new a;(function s(c,m){c.openNode(m.tag,m.$),m.c&amp;&amp;m.c.forEach(h=&gt;{s(c,h)}),m.t&amp;&amp;c.writeText(m.t),c.closeNode()})(l,this._model),this._xml=l.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,o){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(l,s){if(l.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(m=&gt;{c.render(l,m)})}else s&amp;&amp;this.map.t.render(l,s.text);l.closeNode()}parseOpen(l){const{name:s}=l;return this.parser?(this.parser.parseOpen(l),!0):s===this.tag?(this.model={sb:parseInt(l.attributes.sb,10),eb:parseInt(l.attributes.eb,10)},!0):(this.parser=this.map[s],!!this.parser&amp;&amp;(this.parser.parseOpen(l),!0))}parseText(l){this.parser&amp;&amp;this.parser.parseText(l)}parseClose(l){if(this.parser){if(!this.parser.parseClose(l)){switch(l){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 l!==this.tag}}},{&quot;../base-xform&quot;:32,&quot;./rich-text-xform&quot;:122,&quot;./text-xform&quot;:125}],122:[function(t,n,o){const i=t(&quot;./text-xform&quot;),a=t(&quot;../style/font-xform&quot;),u=t(&quot;../base-xform&quot;);class l 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(l.FONT_OPTIONS))}render(c,m){m=m||this.model,c.openNode(&quot;r&quot;),m.font&amp;&amp;this.fontXform.render(c,m.font),this.textXform.render(c,m.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}}}l.FONT_OPTIONS={tagName:&quot;rPr&quot;,fontNameTag:&quot;rFont&quot;},n.exports=l},{&quot;../base-xform&quot;:32,&quot;../style/font-xform&quot;:131,&quot;./text-xform&quot;:125}],123:[function(t,n,o){const i=t(&quot;./text-xform&quot;),a=t(&quot;./rich-text-xform&quot;),u=t(&quot;./phonetic-text-xform&quot;),l=t(&quot;../base-xform&quot;);n.exports=class extends l{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(m=&gt;{this.map.r.render(s,m)}):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,o){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(l){super(),this.model=l||{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(l){return this.model.values[l]}add(l){return l.richText?this.addRichText(l):this.addText(l)}addText(l){let s=this.hash[l];return s===void 0&amp;&amp;(s=this.hash[l]=this.model.values.length,this.model.values.push(l)),this.model.count++,s}addRichText(l){const s=this.sharedStringXform.toXml(l);let c=this.rich[s];return c===void 0&amp;&amp;(c=this.rich[s]=this.model.values.length,this.model.values.push(l)),this.model.count++,c}render(l,s){s=s||this._values,l.openXml(i.StdDocAttributes),l.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(m=&gt;{c.render(l,m)}),l.closeNode()}parseOpen(l){if(this.parser)return this.parser.parseOpen(l),!0;switch(l.name){case&quot;sst&quot;:return!0;case&quot;si&quot;:return this.parser=this.sharedStringXform,this.parser.parseOpen(l),!0;default:throw new Error(&quot;Unexpected xml node in parseOpen: &quot;+JSON.stringify(l))}}parseText(l){this.parser&amp;&amp;this.parser.parseText(l)}parseClose(l){if(this.parser)return this.parser.parseClose(l)||(this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0),!0;if(l===&quot;sst&quot;)return!1;throw new Error(&quot;Unexpected xml node in parseClose: &quot;+l)}}},{&quot;../../../utils/xml-stream&quot;:28,&quot;../base-xform&quot;:32,&quot;./shared-string-xform&quot;:123}],125:[function(t,n,o){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,o){const i=t(&quot;../../../doc/enums&quot;),a=t(&quot;../../../utils/utils&quot;),u=t(&quot;../base-xform&quot;),l={horizontalValues:[&quot;left&quot;,&quot;center&quot;,&quot;right&quot;,&quot;fill&quot;,&quot;centerContinuous&quot;,&quot;distributed&quot;,&quot;justify&quot;].reduce((c,m)=&gt;(c[m]=!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,m)=&gt;(c[m]=!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=l.textRotation(c)){if(c===&quot;vertical&quot;)return 255;const m=Math.round(c);if(m&gt;=0&amp;&amp;m&lt;=90)return m;if(m&lt;0&amp;&amp;m&gt;=-90)return 90-m}},toModel(c){const m=a.validInt(c);if(m!==void 0){if(m===255)return&quot;vertical&quot;;if(m&gt;=0&amp;&amp;m&lt;=90)return m;if(m&gt;90&amp;&amp;m&lt;=180)return 90-m}}};n.exports=class extends u{get tag(){return&quot;alignment&quot;}render(c,m){c.addRollback(),c.openNode(&quot;alignment&quot;);let h=!1;function d(g,y){y&amp;&amp;(c.addAttribute(g,y),h=!0)}d(&quot;horizontal&quot;,l.horizontal(m.horizontal)),d(&quot;vertical&quot;,l.vertical(m.vertical)),d(&quot;wrapText&quot;,!!l.wrapText(m.wrapText)&amp;&amp;&quot;1&quot;),d(&quot;shrinkToFit&quot;,!!l.shrinkToFit(m.shrinkToFit)&amp;&amp;&quot;1&quot;),d(&quot;indent&quot;,l.indent(m.indent)),d(&quot;textRotation&quot;,s.toXml(m.textRotation)),d(&quot;readingOrder&quot;,l.readingOrder(m.readingOrder)),c.closeNode(),h?c.commit():c.rollback()}parseOpen(c){const m={};let h=!1;function d(g,y,p){g&amp;&amp;(m[y]=p,h=!0)}d(c.attributes.horizontal,&quot;horizontal&quot;,c.attributes.horizontal),d(c.attributes.vertical,&quot;vertical&quot;,c.attributes.vertical===&quot;center&quot;?&quot;middle&quot;:c.attributes.vertical),d(c.attributes.wrapText,&quot;wrapText&quot;,a.parseBoolean(c.attributes.wrapText)),d(c.attributes.shrinkToFit,&quot;shrinkToFit&quot;,a.parseBoolean(c.attributes.shrinkToFit)),d(c.attributes.indent,&quot;indent&quot;,parseInt(c.attributes.indent,10)),d(c.attributes.textRotation,&quot;textRotation&quot;,s.toModel(c.attributes.textRotation)),d(c.attributes.readingOrder,&quot;readingOrder&quot;,c.attributes.readingOrder===&quot;2&quot;?&quot;rtl&quot;:&quot;ltr&quot;),this.model=h?m:null}parseText(){}parseClose(){return!1}}},{&quot;../../../doc/enums&quot;:7,&quot;../../../utils/utils&quot;:27,&quot;../base-xform&quot;:32}],127:[function(t,n,o){const i=t(&quot;../base-xform&quot;),a=t(&quot;../../../utils/utils&quot;),u=t(&quot;./color-xform&quot;);class l extends i{constructor(c){super(),this.name=c,this.map={color:new u}}get tag(){return this.name}render(c,m,h){const d=m&amp;&amp;m.color||h||this.defaultColor;c.openNode(this.name),m&amp;&amp;m.style&amp;&amp;(c.addAttribute(&quot;style&quot;,m.style),d&amp;&amp;this.map.color.render(c,d)),c.closeNode()}parseOpen(c){if(this.parser)return this.parser.parseOpen(c),!0;switch(c.name){case this.name:{const{style:m}=c.attributes;return this.model=m?{style:m}: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 l.validStyleValues[c]}}l.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 l(&quot;top&quot;),left:new l(&quot;left&quot;),bottom:new l(&quot;bottom&quot;),right:new l(&quot;right&quot;),diagonal:new l(&quot;diagonal&quot;)}}render(s,c){const{color:m}=c;function h(d,g){d&amp;&amp;!d.color&amp;&amp;c.color&amp;&amp;(d={...d,color:c.color}),g.render(s,d,m)}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={},m=function(h,d,g){d&amp;&amp;(g&amp;&amp;Object.assign(d,g),c[h]=d)};m(&quot;left&quot;,this.map.left.model),m(&quot;right&quot;,this.map.right.model),m(&quot;top&quot;,this.map.top.model),m(&quot;bottom&quot;,this.map.bottom.model),m(&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,o){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,o){const i=t(&quot;../base-xform&quot;),a=t(&quot;./alignment-xform&quot;),u=t(&quot;./border-xform&quot;),l=t(&quot;./fill-xform&quot;),s=t(&quot;./font-xform&quot;),c=t(&quot;./numfmt-xform&quot;),m=t(&quot;./protection-xform&quot;);n.exports=class extends i{constructor(){super(),this.map={alignment:new a,border:new u,fill:new l,font:new s,numFmt:new c,protection:new m}}get tag(){return&quot;dxf&quot;}render(h,d){if(h.openNode(this.tag),d.font&amp;&amp;this.map.font.render(h,d.font),d.numFmt&amp;&amp;d.numFmtId){const g={id:d.numFmtId,formatCode:d.numFmt};this.map.numFmt.render(h,g)}d.fill&amp;&amp;this.map.fill.render(h,d.fill),d.alignment&amp;&amp;this.map.alignment.render(h,d.alignment),d.border&amp;&amp;this.map.border.render(h,d.border),d.protection&amp;&amp;this.map.protection.render(h,d.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,o){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,d){h.openNode(&quot;stop&quot;),h.addAttribute(&quot;position&quot;,d.position),this.map.color.render(h,d.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 l 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,d){h.openNode(&quot;patternFill&quot;),h.addAttribute(&quot;patternType&quot;,d.pattern),d.fgColor&amp;&amp;this.map.fgColor.render(h,d.fgColor),d.bgColor&amp;&amp;this.map.bgColor.render(h,d.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,d){switch(h.openNode(&quot;gradientFill&quot;),d.gradient){case&quot;angle&quot;:h.addAttribute(&quot;degree&quot;,d.degree);break;case&quot;path&quot;:h.addAttribute(&quot;type&quot;,&quot;path&quot;),d.center.left&amp;&amp;(h.addAttribute(&quot;left&quot;,d.center.left),d.center.right===void 0&amp;&amp;h.addAttribute(&quot;right&quot;,d.center.left)),d.center.right&amp;&amp;h.addAttribute(&quot;right&quot;,d.center.right),d.center.top&amp;&amp;(h.addAttribute(&quot;top&quot;,d.center.top),d.center.bottom===void 0&amp;&amp;h.addAttribute(&quot;bottom&quot;,d.center.top)),d.center.bottom&amp;&amp;h.addAttribute(&quot;bottom&quot;,d.center.bottom)}const g=this.map.stop;d.stops.forEach(y=&gt;{g.render(h,y)}),h.closeNode()}parseOpen(h){if(this.parser)return this.parser.parseOpen(h),!0;switch(h.name){case&quot;gradientFill&quot;:{const d=this.model={stops:[]};return h.attributes.degree?(d.gradient=&quot;angle&quot;,d.degree=parseInt(h.attributes.degree,10)):h.attributes.type===&quot;path&quot;&amp;&amp;(d.gradient=&quot;path&quot;,d.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;(d.center.right=h.attributes.right?parseFloat(h.attributes.right):0),h.attributes.bottom!==h.attributes.top&amp;&amp;(d.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 l,gradientFill:new s}}get tag(){return&quot;fill&quot;}render(h,d){switch(h.addRollback(),h.openNode(&quot;fill&quot;),d.type){case&quot;pattern&quot;:this.map.patternFill.render(h,d);break;case&quot;gradient&quot;:this.map.gradientFill.render(h,d);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((m,h)=&gt;(m[h]=!0,m),{}),c.StopXform=u,c.PatternFillXform=l,c.GradientFillXform=s,n.exports=c},{&quot;../base-xform&quot;:32,&quot;./color-xform&quot;:128}],131:[function(t,n,o){const i=t(&quot;./color-xform&quot;),a=t(&quot;../simple/boolean-xform&quot;),u=t(&quot;../simple/integer-xform&quot;),l=t(&quot;../simple/string-xform&quot;),s=t(&quot;./underline-xform&quot;),c=t(&quot;../../../utils/under-dash&quot;),m=t(&quot;../base-xform&quot;);class h extends m{constructor(g){super(),this.options=g||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 l({tag:&quot;vertAlign&quot;,attr:&quot;val&quot;})},scheme:{prop:&quot;scheme&quot;,xform:new l({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 l({tag:this.options.fontNameTag,attr:&quot;val&quot;})}}get tag(){return this.options.tagName}render(g,y){const{map:p}=this;g.openNode(this.options.tagName),c.each(this.map,(b,x)=&gt;{p[x].xform.render(g,y[b.prop])}),g.closeNode()}parseOpen(g){return this.parser?(this.parser.parseOpen(g),!0):this.map[g.name]?(this.parser=this.map[g.name].xform,this.parser.parseOpen(g)):g.name===this.options.tagName?(this.model={},!0):!1}parseText(g){this.parser&amp;&amp;this.parser.parseText(g)}parseClose(g){if(this.parser&amp;&amp;!this.parser.parseClose(g)){const y=this.map[g];return this.parser.model&amp;&amp;(this.model[y.prop]=this.parser.model),this.parser=void 0,!0}return g!==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,o){const i=t(&quot;../../../utils/under-dash&quot;),a=t(&quot;../../defaultnumformats&quot;),u=t(&quot;../base-xform&quot;),l=(function(){const c={};return i.each(a,(m,h)=&gt;{m.f&amp;&amp;(c[m.f]=parseInt(h,10))}),c})();class s extends u{constructor(m,h){super(),this.id=m,this.formatCode=h}get tag(){return&quot;numFmt&quot;}render(m,h){m.leafNode(&quot;numFmt&quot;,{numFmtId:h.id,formatCode:h.formatCode})}parseOpen(m){return m.name===&quot;numFmt&quot;?(this.model={id:parseInt(m.attributes.numFmtId,10),formatCode:m.attributes.formatCode.replace(/[\\](.)/g,&quot;$1&quot;)},!0):!1}parseText(){}parseClose(){return!1}}s.getDefaultFmtId=function(c){return l[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,o){const i=t(&quot;../base-xform&quot;),a={boolean:(u,l)=&gt;u===void 0?l:u};n.exports=class extends i{get tag(){return&quot;protection&quot;}render(u,l){u.addRollback(),u.openNode(&quot;protection&quot;);let s=!1;function c(m,h){h!==void 0&amp;&amp;(u.addAttribute(m,h),s=!0)}c(&quot;locked&quot;,a.boolean(l.locked,!0)?void 0:&quot;0&quot;),c(&quot;hidden&quot;,a.boolean(l.hidden,!1)?&quot;1&quot;:void 0),u.closeNode(),s?u.commit():u.rollback()}parseOpen(u){const l={locked:u.attributes.locked!==&quot;0&quot;,hidden:u.attributes.hidden===&quot;1&quot;},s=!l.locked||l.hidden;this.model=s?l:null}parseText(){}parseClose(){return!1}}},{&quot;../base-xform&quot;:32}],134:[function(t,n,o){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(l){super(),this.xfId=!(!l||!l.xfId),this.map={alignment:new a,protection:new u}}get tag(){return&quot;xf&quot;}render(l,s){l.openNode(&quot;xf&quot;,{numFmtId:s.numFmtId||0,fontId:s.fontId||0,fillId:s.fillId||0,borderId:s.borderId||0}),this.xfId&amp;&amp;l.addAttribute(&quot;xfId&quot;,s.xfId||0),s.numFmtId&amp;&amp;l.addAttribute(&quot;applyNumberFormat&quot;,&quot;1&quot;),s.fontId&amp;&amp;l.addAttribute(&quot;applyFont&quot;,&quot;1&quot;),s.fillId&amp;&amp;l.addAttribute(&quot;applyFill&quot;,&quot;1&quot;),s.borderId&amp;&amp;l.addAttribute(&quot;applyBorder&quot;,&quot;1&quot;),s.alignment&amp;&amp;l.addAttribute(&quot;applyAlignment&quot;,&quot;1&quot;),s.protection&amp;&amp;l.addAttribute(&quot;applyProtection&quot;,&quot;1&quot;),s.alignment&amp;&amp;this.map.alignment.render(l,s.alignment),s.protection&amp;&amp;this.map.protection.render(l,s.protection),l.closeNode()}parseOpen(l){if(this.parser)return this.parser.parseOpen(l),!0;switch(l.name){case&quot;xf&quot;:return this.model={numFmtId:parseInt(l.attributes.numFmtId,10),fontId:parseInt(l.attributes.fontId,10),fillId:parseInt(l.attributes.fillId,10),borderId:parseInt(l.attributes.borderId,10)},this.xfId&amp;&amp;(this.model.xfId=parseInt(l.attributes.xfId,10)),!0;case&quot;alignment&quot;:return this.parser=this.map.alignment,this.parser.parseOpen(l),!0;case&quot;protection&quot;:return this.parser=this.map.protection,this.parser.parseOpen(l),!0;default:return!1}}parseText(l){this.parser&amp;&amp;this.parser.parseText(l)}parseClose(l){return this.parser?(this.parser.parseClose(l)||(this.map.protection===this.parser?this.model.protection=this.parser.model:this.model.alignment=this.parser.model,this.parser=void 0),!0):l!==&quot;xf&quot;}}},{&quot;../base-xform&quot;:32,&quot;./alignment-xform&quot;:126,&quot;./protection-xform&quot;:133}],135:[function(t,n,o){const i=t(&quot;../../../doc/enums&quot;),a=t(&quot;../../../utils/xml-stream&quot;),u=t(&quot;../base-xform&quot;),l=t(&quot;../static-xform&quot;),s=t(&quot;../list-xform&quot;),c=t(&quot;./font-xform&quot;),m=t(&quot;./fill-xform&quot;),h=t(&quot;./border-xform&quot;),d=t(&quot;./numfmt-xform&quot;),g=t(&quot;./style-xform&quot;),y=t(&quot;./dxf-xform&quot;);class p extends u{constructor(x){super(),this.map={numFmts:new s({tag:&quot;numFmts&quot;,count:!0,childXform:new d}),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 m}),borders:new s({tag:&quot;borders&quot;,count:!0,childXform:new h}),cellStyleXfs:new s({tag:&quot;cellStyleXfs&quot;,count:!0,childXform:new g}),cellXfs:new s({tag:&quot;cellXfs&quot;,count:!0,childXform:new g({xfId:!0})}),dxfs:new s({tag:&quot;dxfs&quot;,always:!0,count:!0,childXform:new y}),numFmt:new d,font:new c,fill:new m,border:new h,style:new g({xfId:!0}),cellStyles:p.STATIC_XFORMS.cellStyles,tableStyles:p.STATIC_XFORMS.tableStyles,extLst:p.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;,p.STYLESHEET_ATTRIBUTES),this.index?(_.numFmts&amp;&amp;_.numFmts.length&amp;&amp;(x.openNode(&quot;numFmts&quot;,{count:_.numFmts.length}),_.numFmts.forEach(E=&gt;{x.writeXml(E)}),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(E=&gt;{x.writeXml(E)}),x.closeNode(),x.openNode(&quot;fills&quot;,{count:_.fills.length}),_.fills.forEach(E=&gt;{x.writeXml(E)}),x.closeNode(),x.openNode(&quot;borders&quot;,{count:_.borders.length}),_.borders.forEach(E=&gt;{x.writeXml(E)}),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(E=&gt;{x.writeXml(E)}),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)),p.STATIC_XFORMS.cellStyles.render(x),this.map.dxfs.render(x,_.dxfs),p.STATIC_XFORMS.tableStyles.render(x),p.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 _=(E,M)=&gt;{M.model&amp;&amp;M.model.length&amp;&amp;(this.model[E]=M.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 E=this.index.numFmt;this.model.numFmts.forEach(M=&gt;{E[M.id]=M.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 E={};if(_=_||i.ValueType.Number,x.numFmt)E.numFmtId=this._addNumFmtStr(x.numFmt);else switch(_){case i.ValueType.Number:E.numFmtId=this._addNumFmtStr(&quot;General&quot;);break;case i.ValueType.Date:E.numFmtId=this._addNumFmtStr(&quot;mm-dd-yy&quot;)}x.font&amp;&amp;(E.fontId=this._addFont(x.font)),x.border&amp;&amp;(E.borderId=this._addBorder(x.border)),x.fill&amp;&amp;(E.fillId=this._addFill(x.fill)),x.alignment&amp;&amp;(E.alignment=x.alignment),x.protection&amp;&amp;(E.protection=x.protection);const M=this._addStyle(E);return this.weakMap&amp;&amp;this.weakMap.set(x,M),M}getStyleModel(x){const _=this.model.styles[x];if(!_)return null;let E=this.index.model[x];if(E)return E;if(E=this.index.model[x]={},_.numFmtId){const D=this.index.numFmt[_.numFmtId]||d.getDefaultFmtCode(_.numFmtId);D&amp;&amp;(E.numFmt=D)}function M(D,W,L){if(L||L===0){const V=W[L];V&amp;&amp;(E[D]=V)}}return M(&quot;font&quot;,this.model.fonts,_.fontId),M(&quot;border&quot;,this.model.borders,_.borderId),M(&quot;fill&quot;,this.model.fills,_.fillId),_.alignment&amp;&amp;(E.alignment=_.alignment),_.protection&amp;&amp;(E.protection=_.protection),E}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 E=this.index.style[_];return E===void 0&amp;&amp;(E=this.index.style[_]=this.model.styles.length,this.model.styles.push(_)),E}_addNumFmtStr(x){let _=d.getDefaultFmtId(x);if(_!==void 0||(_=this.index.numFmt[x],_!==void 0))return _;_=this.index.numFmt[x]=164+this.model.numFmts.length;const E=this.map.numFmt.toXml({id:_,formatCode:x});return this.model.numFmts.push(E),_}_addFont(x){const _=this.map.font.toXml(x);let E=this.index.font[_];return E===void 0&amp;&amp;(E=this.index.font[_]=this.model.fonts.length,this.model.fonts.push(_)),E}_addBorder(x){const _=this.map.border.toXml(x);let E=this.index.border[_];return E===void 0&amp;&amp;(E=this.index.border[_]=this.model.borders.length,this.model.borders.push(_)),E}_addFill(x){const _=this.map.fill.toXml(x);let E=this.index.fill[_];return E===void 0&amp;&amp;(E=this.index.fill[_]=this.model.fills.length,this.model.fills.push(_)),E}}p.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;},p.STATIC_XFORMS={cellStyles:new l({tag:&quot;cellStyles&quot;,$:{count:1},c:[{tag:&quot;cellStyle&quot;,$:{name:&quot;Normal&quot;,xfId:0,builtinId:0}}]}),dxfs:new l({tag:&quot;dxfs&quot;,$:{count:0}}),tableStyles:new l({tag:&quot;tableStyles&quot;,$:{count:0,defaultTableStyle:&quot;TableStyleMedium2&quot;,defaultPivotStyle:&quot;PivotStyleLight16&quot;}}),extLst:new l({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;}}]}]})},p.Mock=class extends p{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:d.getDefaultFmtId(&quot;mm-dd-yy&quot;)};this._dateStyleId=this.model.styles.length,this.model.styles.push(b)}return this._dateStyleId}getStyleModel(){return{}}},n.exports=p},{&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,o){const i=t(&quot;../base-xform&quot;);class a extends i{constructor(l){super(),this.model=l}get tag(){return&quot;u&quot;}render(l,s){if((s=s||this.model)===!0)l.leafNode(&quot;u&quot;);else{const c=a.Attributes[s];c&amp;&amp;l.leafNode(&quot;u&quot;,c)}}parseOpen(l){l.name===&quot;u&quot;&amp;&amp;(this.model=l.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,o){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((l,s)=&gt;{this.map.filterColumn.prepare(l,{index:s})})}render(u,l){return u.openNode(this.tag,{ref:l.autoFilterRef}),l.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,o){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,o){const i=t(&quot;../base-xform&quot;),a=t(&quot;../list-xform&quot;),u=t(&quot;./custom-filter-xform&quot;),l=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 l})}}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,o){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,o){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,o){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,o){const i=t(&quot;../../../utils/xml-stream&quot;),a=t(&quot;../base-xform&quot;),u=t(&quot;../list-xform&quot;),l=t(&quot;./auto-filter-xform&quot;),s=t(&quot;./table-column-xform&quot;),c=t(&quot;./table-style-info-xform&quot;);class m extends a{constructor(){super(),this.map={autoFilter:new l,tableColumns:new u({tag:&quot;tableColumns&quot;,count:!0,empty:!0,childXform:new s}),tableStyleInfo:new c}}prepare(d,g){this.map.autoFilter.prepare(d),this.map.tableColumns.prepare(d.columns,g)}get tag(){return&quot;table&quot;}render(d,g){d.openXml(i.StdDocAttributes),d.openNode(this.tag,{...m.TABLE_ATTRIBUTES,id:g.id,name:g.name,displayName:g.displayName||g.name,ref:g.tableRef,totalsRowCount:g.totalsRow?&quot;1&quot;:void 0,totalsRowShown:g.totalsRow?void 0:&quot;1&quot;,headerRowCount:g.headerRow?&quot;1&quot;:&quot;0&quot;}),this.map.autoFilter.render(d,g),this.map.tableColumns.render(d,g.columns),this.map.tableStyleInfo.render(d,g.style),d.closeNode()}parseOpen(d){if(this.parser)return this.parser.parseOpen(d),!0;const{name:g,attributes:y}=d;return g===this.tag?(this.reset(),this.model={name:y.name,displayName:y.displayName||y.name,tableRef:y.ref,totalsRow:y.totalsRowCount===&quot;1&quot;,headerRow:y.headerRowCount===&quot;1&quot;}):(this.parser=this.map[d.name],this.parser&amp;&amp;this.parser.parseOpen(d)),!0}parseText(d){this.parser&amp;&amp;this.parser.parseText(d)}parseClose(d){return this.parser?(this.parser.parseClose(d)||(this.parser=void 0),!0):d===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((g,y)=&gt;{this.model.columns[y].filterButton=g.filterButton})),this.model.style=this.map.tableStyleInfo.model,!1):!0}reconcile(d,g){d.columns.forEach(y=&gt;{y.dxfId!==void 0&amp;&amp;(y.style=g.styles.getDxfStyle(y.dxfId))})}}m.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=m},{&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,o){(function(i,a){(function(){const u=t(&quot;fs&quot;),l=t(&quot;jszip&quot;),{PassThrough:s}=t(&quot;readable-stream&quot;),c=t(&quot;../utils/zip-stream&quot;),m=t(&quot;../utils/stream-buf&quot;),h=t(&quot;../utils/utils&quot;),d=t(&quot;../utils/xml-stream&quot;),{bufferToString:g}=t(&quot;../utils/browser-buffer-decode&quot;),y=t(&quot;./xform/style/styles-xform&quot;),p=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;),E=t(&quot;./xform/core/app-xform&quot;),M=t(&quot;./xform/book/workbook-xform&quot;),D=t(&quot;./xform/sheet/worksheet-xform&quot;),W=t(&quot;./xform/drawing/drawing-xform&quot;),L=t(&quot;./xform/table/table-xform&quot;),V=t(&quot;./xform/comment/comments-xform&quot;),H=t(&quot;./xform/comment/vml-notes-xform&quot;),K=t(&quot;./xml/theme1&quot;);class z{constructor(I){this.workbook=I}async readFile(I,C){if(!await h.fs.exists(I))throw new Error(&quot;File not found: &quot;+I);const j=u.createReadStream(I);try{const k=await this.read(j,C);return j.close(),k}catch(k){throw j.close(),k}}parseRels(I){return new x().parseStream(I)}parseWorkbook(I){return new M().parseStream(I)}parseSharedStrings(I){return new b().parseStream(I)}reconcile(I,C){const j=new M,k=new D(C),S=new W,N=new L;j.reconcile(I);const T={media:I.media,mediaIndex:I.mediaIndex};Object.keys(I.drawings).forEach(Y=&gt;{const Q=I.drawings[Y],ne=I.drawingRels[Y];ne&amp;&amp;(T.rels=ne.reduce((U,ee)=&gt;(U[ee.Id]=ee,U),{}),(Q.anchors||[]).forEach(U=&gt;{const ee=U.picture&amp;&amp;U.picture.hyperlinks;ee&amp;&amp;T.rels[ee.rId]&amp;&amp;(ee.hyperlink=T.rels[ee.rId].Target,delete ee.rId)}),S.reconcile(Q,T))});const R={styles:I.styles};Object.values(I.tables).forEach(Y=&gt;{N.reconcile(Y,R)});const B={styles:I.styles,sharedStrings:I.sharedStrings,media:I.media,mediaIndex:I.mediaIndex,date1904:I.properties&amp;&amp;I.properties.date1904,drawings:I.drawings,comments:I.comments,tables:I.tables,vmlDrawings:I.vmlDrawings};I.worksheets.forEach(Y=&gt;{Y.relationships=I.worksheetRels[Y.sheetNo],k.reconcile(Y,B)}),delete I.worksheetHash,delete I.worksheetRels,delete I.globalRels,delete I.sharedStrings,delete I.workbookRels,delete I.sheetDefs,delete I.styles,delete I.mediaIndex,delete I.drawings,delete I.drawingRels,delete I.vmlDrawings}async _processWorksheetEntry(I,C,j,k,S){const N=new D(k),T=await N.parseStream(I);T.sheetNo=j,C.worksheetHash[S]=T,C.worksheets.push(T)}async _processCommentEntry(I,C,j){const k=new V,S=await k.parseStream(I);C.comments[`../${j}.xml`]=S}async _processTableEntry(I,C,j){const k=new L,S=await k.parseStream(I);C.tables[`../tables/${j}.xml`]=S}async _processWorksheetRelsEntry(I,C,j){const k=new x,S=await k.parseStream(I);C.worksheetRels[j]=S}async _processMediaEntry(I,C,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((T,R)=&gt;{const B=new m;B.on(&quot;finish&quot;,()=&gt;{C.mediaIndex[j]=C.media.length,C.mediaIndex[N]=C.media.length;const Y={type:&quot;image&quot;,name:N,extension:S,buffer:B.toBuffer()};C.media.push(Y),T()}),I.on(&quot;error&quot;,Y=&gt;{R(Y)}),I.pipe(B)})}}async _processDrawingEntry(I,C,j){const k=new W,S=await k.parseStream(I);C.drawings[j]=S}async _processDrawingRelsEntry(I,C,j){const k=new x,S=await k.parseStream(I);C.drawingRels[j]=S}async _processVmlDrawingEntry(I,C,j){const k=new H,S=await k.parseStream(I);C.vmlDrawings[`../drawings/${j}.vml`]=S}async _processThemeEntry(I,C,j){await new Promise((k,S)=&gt;{const N=new m;I.on(&quot;error&quot;,S),N.on(&quot;error&quot;,S),N.on(&quot;finish&quot;,()=&gt;{C.themes[j]=N.read().toString(),k()}),I.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(I,C){!I[Symbol.asyncIterator]&amp;&amp;I.pipe&amp;&amp;(I=I.pipe(new s));const j=[];for await(const k of I)j.push(k);return this.load(a.concat(j),C)}async load(I,C){let j;j=C&amp;&amp;C.base64?a.from(I.toString(),&quot;base64&quot;):I;const k={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},S=await l.loadAsync(j);for(const N of Object.values(S.files))if(!N.dir){let T,R=N.name;if(R[0]===&quot;/&quot;&amp;&amp;(R=R.substr(1)),R.match(/xl\/media\//)||R.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))T=new s,T.write(await N.async(&quot;nodebuffer&quot;));else{let B;T=new s({writableObjectMode:!0,readableObjectMode:!0}),B=i.browser?g(await N.async(&quot;nodebuffer&quot;)):await N.async(&quot;string&quot;);const Y=16384;for(let Q=0;Q&lt;B.length;Q+=Y)T.write(B.substring(Q,Q+Y))}switch(T.end(),R){case&quot;_rels/.rels&quot;:k.globalRels=await this.parseRels(T);break;case&quot;xl/workbook.xml&quot;:{const B=await this.parseWorkbook(T);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(T);break;case&quot;xl/sharedStrings.xml&quot;:k.sharedStrings=new b,await k.sharedStrings.parseStream(T);break;case&quot;xl/styles.xml&quot;:k.styles=new y,await k.styles.parseStream(T);break;case&quot;docProps/app.xml&quot;:{const B=new E,Y=await B.parseStream(T);k.company=Y.company,k.manager=Y.manager;break}case&quot;docProps/core.xml&quot;:{const B=new p,Y=await B.parseStream(T);Object.assign(k,Y);break}default:{let B=R.match(/xl\/worksheets\/sheet(\d+)[.]xml/);if(B){await this._processWorksheetEntry(T,k,B[1],C,R);break}if(B=R.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/),B){await this._processWorksheetRelsEntry(T,k,B[1]);break}if(B=R.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/),B){await this._processThemeEntry(T,k,B[1]);break}if(B=R.match(/xl\/media\/([a-zA-Z0-9]+[.][a-zA-Z0-9]{3,4})$/),B){await this._processMediaEntry(T,k,B[1]);break}if(B=R.match(/xl\/drawings\/([a-zA-Z0-9]+)[.]xml/),B){await this._processDrawingEntry(T,k,B[1]);break}if(B=R.match(/xl\/(comments\d+)[.]xml/),B){await this._processCommentEntry(T,k,B[1]);break}if(B=R.match(/xl\/tables\/(table\d+)[.]xml/),B){await this._processTableEntry(T,k,B[1]);break}if(B=R.match(/xl\/drawings\/_rels\/([a-zA-Z0-9]+)[.]xml[.]rels/),B){await this._processDrawingRelsEntry(T,k,B[1]);break}if(B=R.match(/xl\/drawings\/(vmlDrawing\d+)[.]vml/),B){await this._processVmlDrawingEntry(T,k,B[1]);break}}}}return this.reconcile(k,C),this.workbook.model=k,this.workbook}async addMedia(I,C){await Promise.all(C.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,T){return new Promise((R,B)=&gt;{u.readFile(N,T,(Y,Q)=&gt;{Y?B(Y):R(Q)})})})(j.filename);return I.append(S,{name:k})}if(j.buffer)return I.append(j.buffer,{name:k});if(j.base64){const S=j.base64,N=S.substring(S.indexOf(&quot;,&quot;)+1);return I.append(N,{name:k,base64:!0})}}throw new Error(&quot;Unsupported media&quot;)}))}addDrawings(I,C){const j=new W,k=new x;C.worksheets.forEach(S=&gt;{const{drawing:N}=S;if(N){j.prepare(N,{});let T=j.toXml(N);I.append(T,{name:`xl/drawings/${N.name}.xml`}),T=k.toXml(N.rels),I.append(T,{name:`xl/drawings/_rels/${N.name}.xml.rels`})}})}addTables(I,C){const j=new L;C.worksheets.forEach(k=&gt;{const{tables:S}=k;S.forEach(N=&gt;{j.prepare(N,{});const T=j.toXml(N);I.append(T,{name:&quot;xl/tables/&quot;+N.target})})})}async addContentTypes(I,C){const j=new _().toXml(C);I.append(j,{name:&quot;[Content_Types].xml&quot;})}async addApp(I,C){const j=new E().toXml(C);I.append(j,{name:&quot;docProps/app.xml&quot;})}async addCore(I,C){const j=new p;I.append(j.toXml(C),{name:&quot;docProps/core.xml&quot;})}async addThemes(I,C){const j=C.themes||{theme1:K};Object.keys(j).forEach(k=&gt;{const S=j[k],N=`xl/theme/${k}.xml`;I.append(S,{name:N})})}async addOfficeRels(I){const C=new x().toXml([{Id:&quot;rId1&quot;,Type:z.RelType.OfficeDocument,Target:&quot;xl/workbook.xml&quot;},{Id:&quot;rId2&quot;,Type:z.RelType.CoreProperties,Target:&quot;docProps/core.xml&quot;},{Id:&quot;rId3&quot;,Type:z.RelType.ExtenderProperties,Target:&quot;docProps/app.xml&quot;}]);I.append(C,{name:&quot;_rels/.rels&quot;})}async addWorkbookRels(I,C){let j=1;const k=[{Id:&quot;rId&quot;+j++,Type:z.RelType.Styles,Target:&quot;styles.xml&quot;},{Id:&quot;rId&quot;+j++,Type:z.RelType.Theme,Target:&quot;theme/theme1.xml&quot;}];C.sharedStrings.count&amp;&amp;k.push({Id:&quot;rId&quot;+j++,Type:z.RelType.SharedStrings,Target:&quot;sharedStrings.xml&quot;}),C.worksheets.forEach(N=&gt;{N.rId=&quot;rId&quot;+j++,k.push({Id:N.rId,Type:z.RelType.Worksheet,Target:`worksheets/sheet${N.id}.xml`})});const S=new x().toXml(k);I.append(S,{name:&quot;xl/_rels/workbook.xml.rels&quot;})}async addSharedStrings(I,C){C.sharedStrings&amp;&amp;C.sharedStrings.count&amp;&amp;I.append(C.sharedStrings.xml,{name:&quot;xl/sharedStrings.xml&quot;})}async addStyles(I,C){const{xml:j}=C.styles;j&amp;&amp;I.append(j,{name:&quot;xl/styles.xml&quot;})}async addWorkbook(I,C){const j=new M;I.append(j.toXml(C),{name:&quot;xl/workbook.xml&quot;})}async addWorksheets(I,C){const j=new D,k=new x,S=new V,N=new H;C.worksheets.forEach(T=&gt;{let R=new d;j.render(R,T),I.append(R.xml,{name:`xl/worksheets/sheet${T.id}.xml`}),T.rels&amp;&amp;T.rels.length&amp;&amp;(R=new d,k.render(R,T.rels),I.append(R.xml,{name:`xl/worksheets/_rels/sheet${T.id}.xml.rels`})),T.comments.length&gt;0&amp;&amp;(R=new d,S.render(R,T),I.append(R.xml,{name:`xl/comments${T.id}.xml`}),R=new d,N.render(R,T),I.append(R.xml,{name:`xl/drawings/vmlDrawing${T.id}.vml`}))})}_finalize(I){return new Promise((C,j)=&gt;{I.on(&quot;finish&quot;,()=&gt;{C(this)}),I.on(&quot;error&quot;,j),I.finalize()})}prepareModel(I,C){I.creator=I.creator||&quot;ExcelJS&quot;,I.lastModifiedBy=I.lastModifiedBy||&quot;ExcelJS&quot;,I.created=I.created||new Date,I.modified=I.modified||new Date,I.useSharedStrings=C.useSharedStrings===void 0||C.useSharedStrings,I.useStyles=C.useStyles===void 0||C.useStyles,I.sharedStrings=new b,I.styles=I.useStyles?new y(!0):new y.Mock;const j=new M,k=new D;j.prepare(I);const S={sharedStrings:I.sharedStrings,styles:I.styles,date1904:I.properties.date1904,drawingsCount:0,media:I.media};S.drawings=I.drawings=[],S.commentRefs=I.commentRefs=[];let N=0;I.tables=[],I.worksheets.forEach(T=&gt;{T.tables.forEach(R=&gt;{N++,R.target=`table${N}.xml`,R.id=N,I.tables.push(R)}),k.prepare(T,S)})}async write(I,C){C=C||{};const{model:j}=this.workbook,k=new c.ZipWriter(C.zip);return k.pipe(I),this.prepareModel(j,C),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(I,C){const j=u.createWriteStream(I);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,C).then(()=&gt;{j.end()}).catch(N=&gt;{S(N)})})}async writeBuffer(I){const C=new m;return await this.write(C,I),C.read()}}z.RelType=t(&quot;./rel-type&quot;),n.exports=z}).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,o){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,o){(function(i){(function(){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.CsvFormatterStream=void 0;const a=t(&quot;stream&quot;),u=t(&quot;./formatter&quot;);class l 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,m,h){let d=!1;try{this.hasWrittenBOM||(this.push(this.formatterOptions.BOM),this.hasWrittenBOM=!0),this.rowFormatter.format(c,(g,y)=&gt;g?(d=!0,h(g)):(y&amp;&amp;y.forEach(p=&gt;{this.push(i.from(p,&quot;utf8&quot;))}),d=!0,h()))}catch(g){if(d)throw g;h(g)}}_flush(c){this.rowFormatter.finish((m,h)=&gt;m?c(m):(h&amp;&amp;h.forEach(d=&gt;{this.push(i.from(d,&quot;utf8&quot;))}),c()))}}o.CsvFormatterStream=l}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;./formatter&quot;:150,buffer:220,stream:505}],147:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.FormatterOptions=void 0,o.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,o){var i=function(s){return s&amp;&amp;s.__esModule?s:{default:s}};Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.FieldFormatter=void 0;const a=i(t(&quot;lodash.isboolean&quot;)),u=i(t(&quot;lodash.isnil&quot;)),l=i(t(&quot;lodash.escaperegexp&quot;));o.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}${l.default(s.rowDelimiter)}|\r|
]`;this.ESCAPE_REGEXP=new RegExp(c)}set headers(s){this._headers=s}shouldQuote(s,c){const m=c?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;return a.default(m)?m:Array.isArray(m)?m[s]:this._headers!==null&amp;&amp;m[this._headers[s]]}format(s,c,m){const h=(&quot;&quot;+(u.default(s)?&quot;&quot;:s)).replace(/\0/g,&quot;&quot;),{formatterOptions:d}=this;return d.quote!==&quot;&quot;&amp;&amp;h.indexOf(d.quote)!==-1?this.quoteField(h.replace(this.REPLACE_REGEXP,d.escapedQuote)):h.search(this.ESCAPE_REGEXP)!==-1||this.shouldQuote(c,m)?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,o){var i=function(m){return m&amp;&amp;m.__esModule?m:{default:m}};Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.RowFormatter=void 0;const a=i(t(&quot;lodash.isfunction&quot;)),u=i(t(&quot;lodash.isequal&quot;)),l=t(&quot;./FieldFormatter&quot;),s=t(&quot;../types&quot;);class c{constructor(h){this.rowCount=0,this.formatterOptions=h,this.fieldFormatter=new l.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(d=&gt;d[0]):Array.isArray(h)?h:Object.keys(h)}static createTransform(h){return s.isSyncTransform(h)?(d,g)=&gt;{let y=null;try{y=h(d)}catch(p){return g(p)}return g(null,y)}:(d,g)=&gt;{h(d,g)}}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,d){this.callTransformer(h,(g,y)=&gt;{if(g)return d(g);if(!h)return d(null);const p=[];if(y){const{shouldFormatColumns:b,headers:x}=this.checkHeaders(y);if(this.shouldWriteHeaders&amp;&amp;x&amp;&amp;!this.hasWrittenHeaders&amp;&amp;(p.push(this.formatColumns(x,!0)),this.hasWrittenHeaders=!0),b){const _=this.gatherColumns(y);p.push(this.formatColumns(_,!1))}}return d(null,p)})}finish(h){const d=[];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;));d.push(this.formatColumns(this.headers,!0))}return this.formatterOptions.includeEndRowDelimiter&amp;&amp;d.push(this.formatterOptions.rowDelimiter),h(null,d)}checkHeaders(h){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};const d=c.gatherHeaders(h);return this.headers=d,this.fieldFormatter.headers=d,this.shouldWriteHeaders?{shouldFormatColumns:!u.default(d,h),headers:d}:{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((d,g)=&gt;{const y=h[g];return y?y[1]:&quot;&quot;}):c.isRowArray(h)&amp;&amp;!this.shouldWriteHeaders?h:this.headers.map((d,g)=&gt;h[g]):this.headers.map(d=&gt;h[d])}callTransformer(h,d){return this._rowTransform?this._rowTransform(h,d):d(null,h)}formatColumns(h,d){const g=h.map((p,b)=&gt;this.fieldFormatter.format(p,b,d)).join(this.formatterOptions.delimiter),{rowCount:y}=this;return this.rowCount+=1,y?[this.formatterOptions.rowDelimiter,g].join(&quot;&quot;):g}}o.RowFormatter=c},{&quot;../types&quot;:152,&quot;./FieldFormatter&quot;:148,&quot;lodash.isequal&quot;:445,&quot;lodash.isfunction&quot;:446}],150:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.FieldFormatter=o.RowFormatter=void 0;var i=t(&quot;./RowFormatter&quot;);Object.defineProperty(o,&quot;RowFormatter&quot;,{enumerable:!0,get:function(){return i.RowFormatter}});var a=t(&quot;./FieldFormatter&quot;);Object.defineProperty(o,&quot;FieldFormatter&quot;,{enumerable:!0,get:function(){return a.FieldFormatter}})},{&quot;./FieldFormatter&quot;:148,&quot;./RowFormatter&quot;:149}],151:[function(t,n,o){(function(i){(function(){var a=Object.create?function(b,x,_,E){E===void 0&amp;&amp;(E=_),Object.defineProperty(b,E,{enumerable:!0,get:function(){return x[_]}})}:function(b,x,_,E){E===void 0&amp;&amp;(E=_),b[E]=x[_]},u=Object.create?function(b,x){Object.defineProperty(b,&quot;default&quot;,{enumerable:!0,value:x})}:function(b,x){b.default=x},l=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(o,&quot;__esModule&quot;,{value:!0}),o.writeToPath=o.writeToString=o.writeToBuffer=o.writeToStream=o.write=o.format=o.FormatterOptions=o.CsvFormatterStream=void 0;const c=t(&quot;util&quot;),m=t(&quot;stream&quot;),h=l(t(&quot;fs&quot;)),d=t(&quot;./FormatterOptions&quot;),g=t(&quot;./CsvFormatterStream&quot;);s(t(&quot;./types&quot;),o);var y=t(&quot;./CsvFormatterStream&quot;);Object.defineProperty(o,&quot;CsvFormatterStream&quot;,{enumerable:!0,get:function(){return y.CsvFormatterStream}});var p=t(&quot;./FormatterOptions&quot;);Object.defineProperty(o,&quot;FormatterOptions&quot;,{enumerable:!0,get:function(){return p.FormatterOptions}}),o.format=b=&gt;new g.CsvFormatterStream(new d.FormatterOptions(b)),o.write=(b,x)=&gt;{const _=o.format(x),E=c.promisify((M,D)=&gt;{_.write(M,void 0,D)});return b.reduce((M,D)=&gt;M.then(()=&gt;E(D)),Promise.resolve()).then(()=&gt;_.end()).catch(M=&gt;{_.emit(&quot;error&quot;,M)}),_},o.writeToStream=(b,x,_)=&gt;o.write(x,_).pipe(b),o.writeToBuffer=function(b){let x=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{};const _=[],E=new m.Writable({write(M,D,W){_.push(M),W()}});return new Promise((M,D)=&gt;{E.on(&quot;error&quot;,D).on(&quot;finish&quot;,()=&gt;M(i.concat(_))),o.write(b,x).pipe(E)})},o.writeToString=(b,x)=&gt;o.writeToBuffer(b,x).then(_=&gt;_.toString()),o.writeToPath=(b,x,_)=&gt;{const E=h.createWriteStream(b,{encoding:&quot;utf8&quot;});return o.write(x,_).pipe(E)}}).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,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.isSyncTransform=void 0,o.isSyncTransform=i=&gt;i.length===1},{}],153:[function(t,n,o){(function(i){(function(){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.CsvParserStream=void 0;const a=t(&quot;string_decoder&quot;),u=t(&quot;stream&quot;),l=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 l.HeaderTransformer(h),this.decoder=new a.StringDecoder(h.encoding),this.rowTransformerValidator=new l.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 d=arguments.length,g=new Array(d&gt;1?d-1:0),y=1;y&lt;d;y++)g[y-1]=arguments[y];return super.emit(h,...g)}_transform(h,d,g){if(this.hasHitRowLimit)return g();const y=c.wrapDoneCallback(g);try{const{lines:p}=this,b=p+this.decoder.write(h),x=this.parse(b,!0);return this.processRows(x,y)}catch(p){return y(p)}}_flush(h){const d=c.wrapDoneCallback(h);if(this.hasHitRowLimit)return d();try{const g=this.lines+this.decoder.end(),y=this.parse(g,!1);return this.processRows(y,d)}catch(g){return d(g)}}parse(h,d){if(!h)return[];const{line:g,rows:y}=this.parser.parse(h,d);return this.lines=g,y}processRows(h,d){const g=h.length,y=p=&gt;{const b=E=&gt;E?d(E):p%100!=0?y(p+1):void i(()=&gt;y(p+1));if(this.checkAndEmitHeaders(),p&gt;=g||this.hasHitRowLimit)return d();if(this.parsedLineCount+=1,this.shouldSkipLine)return b();const x=h[p];this.rowCount+=1,this.parsedRowCount+=1;const _=this.rowCount;return this.transformRow(x,(E,M)=&gt;{if(E)return this.rowCount-=1,b(E);if(!M)return b(new Error(&quot;expected transform result&quot;));if(M.isValid){if(M.row)return this.pushRow(M.row,b)}else this.emit(&quot;data-invalid&quot;,M.row,_,M.reason);return b()})};y(0)}transformRow(h,d){try{this.headerTransformer.transform(h,(g,y)=&gt;g?d(g):y?y.isValid?y.row?this.shouldEmitRows?this.rowTransformerValidator.transformAndValidate(y.row,d):this.skipRow(d):(this.rowCount-=1,this.parsedRowCount-=1,d(null,{row:null,isValid:!0})):this.shouldEmitRows?d(null,{isValid:!1,row:h}):this.skipRow(d):d(new Error(&quot;Expected result from header transform&quot;)))}catch(g){d(g)}}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,d){try{this.parserOptions.objectMode?this.push(h):this.push(JSON.stringify(h)),d()}catch(g){d(g)}}static wrapDoneCallback(h){let d=!1;return function(g){if(g){if(d)throw g;return d=!0,void h(g)}for(var y=arguments.length,p=new Array(y&gt;1?y-1:0),b=1;b&lt;y;b++)p[b-1]=arguments[b];h(...p)}}}o.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,o){var i=function(l){return l&amp;&amp;l.__esModule?l:{default:l}};Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.ParserOptions=void 0;const a=i(t(&quot;lodash.escaperegexp&quot;)),u=i(t(&quot;lodash.isnil&quot;));o.ParserOptions=class{constructor(l){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,l||{}),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,o){var i=Object.create?function(y,p,b,x){x===void 0&amp;&amp;(x=b),Object.defineProperty(y,x,{enumerable:!0,get:function(){return p[b]}})}:function(y,p,b,x){x===void 0&amp;&amp;(x=b),y[x]=p[b]},a=Object.create?function(y,p){Object.defineProperty(y,&quot;default&quot;,{enumerable:!0,value:p})}:function(y,p){y.default=p},u=function(y){if(y&amp;&amp;y.__esModule)return y;var p={};if(y!=null)for(var b in y)b!==&quot;default&quot;&amp;&amp;Object.prototype.hasOwnProperty.call(y,b)&amp;&amp;i(p,y,b);return a(p,y),p},l=function(y,p){for(var b in y)b===&quot;default&quot;||Object.prototype.hasOwnProperty.call(p,b)||i(p,y,b)};Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.parseString=o.parseFile=o.parseStream=o.parse=o.ParserOptions=o.CsvParserStream=void 0;const s=u(t(&quot;fs&quot;)),c=t(&quot;stream&quot;),m=t(&quot;./ParserOptions&quot;),h=t(&quot;./CsvParserStream&quot;);l(t(&quot;./types&quot;),o);var d=t(&quot;./CsvParserStream&quot;);Object.defineProperty(o,&quot;CsvParserStream&quot;,{enumerable:!0,get:function(){return d.CsvParserStream}});var g=t(&quot;./ParserOptions&quot;);Object.defineProperty(o,&quot;ParserOptions&quot;,{enumerable:!0,get:function(){return g.ParserOptions}}),o.parse=y=&gt;new h.CsvParserStream(new m.ParserOptions(y)),o.parseStream=(y,p)=&gt;y.pipe(new h.CsvParserStream(new m.ParserOptions(p))),o.parseFile=function(y){let p=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:{};return s.createReadStream(y).pipe(new h.CsvParserStream(new m.ParserOptions(p)))},o.parseString=(y,p)=&gt;{const b=new c.Readable;return b.push(y),b.push(null),b.pipe(new h.CsvParserStream(new m.ParserOptions(p)))}},{&quot;./CsvParserStream&quot;:153,&quot;./ParserOptions&quot;:154,&quot;./types&quot;:169,fs:216,stream:505}],156:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.Parser=void 0;const i=t(&quot;./Scanner&quot;),a=t(&quot;./RowParser&quot;),u=t(&quot;./Token&quot;);class l{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,m){const h=new i.Scanner({line:l.removeBOM(c),parserOptions:this.parserOptions,hasMoreData:m});return this.parserOptions.supportsComments?this.parseWithComments(h):this.parseWithoutComments(h)}parseWithoutComments(c){const m=[];let h=!0;for(;h;)h=this.parseRow(c,m);return{line:c.line,rows:m}}parseWithComments(c){const{parserOptions:m}=this,h=[];for(let d=c.nextCharacterToken;d!==null;d=c.nextCharacterToken)if(u.Token.isTokenComment(d,m)){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,m){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)||m.push(h),!0)}}o.Parser=l},{&quot;./RowParser&quot;:157,&quot;./Scanner&quot;:158,&quot;./Token&quot;:159}],157:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.RowParser=void 0;const i=t(&quot;./column&quot;),a=t(&quot;./Token&quot;);o.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:l}=this,{hasMoreData:s}=u,c=u,m=[];let h=this.getStartToken(c,m);for(;h;){if(a.Token.isTokenRowDelimiter(h))return c.advancePastToken(h),!c.hasMoreCharacters&amp;&amp;a.Token.isTokenCarriageReturn(h,l)&amp;&amp;s?null:(c.truncateToCursor(),m);if(!this.shouldSkipColumnParse(c,h,m)){const d=this.columnParser.parse(c);if(d===null)return null;m.push(d)}h=c.nextNonSpaceToken}return s?null:(c.truncateToCursor(),m)}getStartToken(u,l){const s=u.nextNonSpaceToken;return s!==null&amp;&amp;a.Token.isTokenDelimiter(s,this.parserOptions)?(l.push(&quot;&quot;),u.nextNonSpaceToken):s}shouldSkipColumnParse(u,l,s){const{parserOptions:c}=this;if(a.Token.isTokenDelimiter(l,c)){u.advancePastToken(l);const m=u.nextCharacterToken;if(!u.hasMoreCharacters||m!==null&amp;&amp;a.Token.isTokenRowDelimiter(m)||m!==null&amp;&amp;a.Token.isTokenDelimiter(m,c))return s.push(&quot;&quot;),!0}return!1}}},{&quot;./Token&quot;:159,&quot;./column&quot;:164}],158:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.Scanner=void 0;const i=t(&quot;./Token&quot;),a=/((?:\r\n)|\n|\r)/;o.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,l=this.parserOptions.NEXT_TOKEN_REGEXP;if(u.search(l)===-1)return null;const s=l.exec(u);if(s==null)return null;const c=s[1],m=this.cursor+(s.index||0);return new i.Token({token:c,startCursor:m,endCursor:m+c.length-1})}get nextCharacterToken(){const{cursor:u,lineLength:l}=this;return l&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,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.Token=void 0,o.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,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.ColumnFormatter=void 0,o.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,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.ColumnParser=void 0;const i=t(&quot;./NonQuotedColumnParser&quot;),a=t(&quot;./QuotedColumnParser&quot;),u=t(&quot;../Token&quot;);o.ColumnParser=class{constructor(l){this.parserOptions=l,this.quotedColumnParser=new a.QuotedColumnParser(l),this.nonQuotedColumnParser=new i.NonQuotedColumnParser(l)}parse(l){const{nextNonSpaceToken:s}=l;return s!==null&amp;&amp;u.Token.isTokenQuote(s,this.parserOptions)?(l.advanceToToken(s),this.quotedColumnParser.parse(l)):this.nonQuotedColumnParser.parse(l)}}},{&quot;../Token&quot;:159,&quot;./NonQuotedColumnParser&quot;:162,&quot;./QuotedColumnParser&quot;:163}],162:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.NonQuotedColumnParser=void 0;const i=t(&quot;./ColumnFormatter&quot;),a=t(&quot;../Token&quot;);o.NonQuotedColumnParser=class{constructor(u){this.parserOptions=u,this.columnFormatter=new i.ColumnFormatter(u)}parse(u){if(!u.hasMoreCharacters)return null;const{parserOptions:l}=this,s=[];let c=u.nextCharacterToken;for(;c&amp;&amp;!a.Token.isTokenDelimiter(c,l)&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,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.QuotedColumnParser=void 0;const i=t(&quot;./ColumnFormatter&quot;),a=t(&quot;../Token&quot;);o.QuotedColumnParser=class{constructor(u){this.parserOptions=u,this.columnFormatter=new i.ColumnFormatter(u)}parse(u){if(!u.hasMoreCharacters)return null;const l=u.cursor,{foundClosingQuote:s,col:c}=this.gatherDataBetweenQuotes(u);if(!s){if(u.advanceTo(l),!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:l}=this;let s=!1,c=!1;const m=[];let h=u.nextCharacterToken;for(;!c&amp;&amp;h!==null;h=u.nextCharacterToken){const d=a.Token.isTokenQuote(h,l);if(!s&amp;&amp;d)s=!0;else if(s)if(a.Token.isTokenEscapeCharacter(h,l)){u.advancePastToken(h);const g=u.nextCharacterToken;g!==null&amp;&amp;(a.Token.isTokenQuote(g,l)||a.Token.isTokenEscapeCharacter(g,l))?(m.push(g.token),h=g):d?c=!0:m.push(h.token)}else d?c=!0:m.push(h.token);u.advancePastToken(h)}return{col:this.columnFormatter.format(m.join(&quot;&quot;)),foundClosingQuote:c}}checkForMalformedColumn(u){const{parserOptions:l}=this,{nextNonSpaceToken:s}=u;if(s){const c=a.Token.isTokenDelimiter(s,l),m=a.Token.isTokenRowDelimiter(s);if(!c&amp;&amp;!m){const h=u.lineFromCursor.substr(0,10).replace(/[\r\n]/g,&quot;\\n&#039;&quot;);throw new Error(`Parse Error: expected: &#039;${l.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,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.ColumnFormatter=o.QuotedColumnParser=o.NonQuotedColumnParser=o.ColumnParser=void 0;var i=t(&quot;./ColumnParser&quot;);Object.defineProperty(o,&quot;ColumnParser&quot;,{enumerable:!0,get:function(){return i.ColumnParser}});var a=t(&quot;./NonQuotedColumnParser&quot;);Object.defineProperty(o,&quot;NonQuotedColumnParser&quot;,{enumerable:!0,get:function(){return a.NonQuotedColumnParser}});var u=t(&quot;./QuotedColumnParser&quot;);Object.defineProperty(o,&quot;QuotedColumnParser&quot;,{enumerable:!0,get:function(){return u.QuotedColumnParser}});var l=t(&quot;./ColumnFormatter&quot;);Object.defineProperty(o,&quot;ColumnFormatter&quot;,{enumerable:!0,get:function(){return l.ColumnFormatter}})},{&quot;./ColumnFormatter&quot;:160,&quot;./ColumnParser&quot;:161,&quot;./NonQuotedColumnParser&quot;:162,&quot;./QuotedColumnParser&quot;:163}],165:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.QuotedColumnParser=o.NonQuotedColumnParser=o.ColumnParser=o.Token=o.Scanner=o.RowParser=o.Parser=void 0;var i=t(&quot;./Parser&quot;);Object.defineProperty(o,&quot;Parser&quot;,{enumerable:!0,get:function(){return i.Parser}});var a=t(&quot;./RowParser&quot;);Object.defineProperty(o,&quot;RowParser&quot;,{enumerable:!0,get:function(){return a.RowParser}});var u=t(&quot;./Scanner&quot;);Object.defineProperty(o,&quot;Scanner&quot;,{enumerable:!0,get:function(){return u.Scanner}});var l=t(&quot;./Token&quot;);Object.defineProperty(o,&quot;Token&quot;,{enumerable:!0,get:function(){return l.Token}});var s=t(&quot;./column&quot;);Object.defineProperty(o,&quot;ColumnParser&quot;,{enumerable:!0,get:function(){return s.ColumnParser}}),Object.defineProperty(o,&quot;NonQuotedColumnParser&quot;,{enumerable:!0,get:function(){return s.NonQuotedColumnParser}}),Object.defineProperty(o,&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,o){var i=function(c){return c&amp;&amp;c.__esModule?c:{default:c}};Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.HeaderTransformer=void 0;const a=i(t(&quot;lodash.isundefined&quot;)),u=i(t(&quot;lodash.isfunction&quot;)),l=i(t(&quot;lodash.uniq&quot;)),s=i(t(&quot;lodash.groupby&quot;));o.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,m){return this.shouldMapRow(c)?m(null,this.processRow(c)):m(null,{row:null,isValid:!0})}shouldMapRow(c){const{parserOptions:m}=this;if(!this.headersTransform&amp;&amp;m.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:m}=this;if(!m.discardUnmappedColumns&amp;&amp;c.length&gt;this.headersLength){if(!m.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 m.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 m={},{headers:h,headersLength:d}=this;for(let g=0;g&lt;d;g+=1){const y=h[g];if(!a.default(y)){const p=c[g];a.default(p)?m[y]=&quot;&quot;:m[y]=p}}return m}setHeaders(c){var m;const h=c.filter(d=&gt;!!d);if(l.default(h).length!==h.length){const d=s.default(h),g=Object.keys(d).filter(y=&gt;d[y].length&gt;1);throw new Error(&quot;Duplicate headers found &quot;+JSON.stringify(g))}this.headers=c,this.receivedHeaders=!0,this.headersLength=((m=this.headers)===null||m===void 0?void 0:m.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,o){var i=function(s){return s&amp;&amp;s.__esModule?s:{default:s}};Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.RowTransformerValidator=void 0;const a=i(t(&quot;lodash.isfunction&quot;)),u=t(&quot;../types&quot;);class l{constructor(){this._rowTransform=null,this._rowValidator=null}static createTransform(c){return u.isSyncTransform(c)?(m,h)=&gt;{let d=null;try{d=c(m)}catch(g){return h(g)}return h(null,d)}:c}static createValidator(c){return u.isSyncValidate(c)?(m,h)=&gt;{h(null,{row:m,isValid:c(m)})}:(m,h)=&gt;{c(m,(d,g,y)=&gt;d?h(d):h(null,g?{row:m,isValid:g,reason:y}:{row:m,isValid:!1,reason:y}))}}set rowTransform(c){if(!a.default(c))throw new TypeError(&quot;The transform should be a function&quot;);this._rowTransform=l.createTransform(c)}set rowValidator(c){if(!a.default(c))throw new TypeError(&quot;The validate should be a function&quot;);this._rowValidator=l.createValidator(c)}transformAndValidate(c,m){return this.callTransformer(c,(h,d)=&gt;h?m(h):d?this.callValidator(d,(g,y)=&gt;g?m(g):y&amp;&amp;!y.isValid?m(null,{row:d,isValid:!1,reason:y.reason}):m(null,{row:d,isValid:!0})):m(null,{row:null,isValid:!0}))}callTransformer(c,m){return this._rowTransform?this._rowTransform(c,m):m(null,c)}callValidator(c,m){return this._rowValidator?this._rowValidator(c,m):m(null,{row:c,isValid:!0})}}o.RowTransformerValidator=l},{&quot;../types&quot;:169,&quot;lodash.isfunction&quot;:446}],168:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.HeaderTransformer=o.RowTransformerValidator=void 0;var i=t(&quot;./RowTransformerValidator&quot;);Object.defineProperty(o,&quot;RowTransformerValidator&quot;,{enumerable:!0,get:function(){return i.RowTransformerValidator}});var a=t(&quot;./HeaderTransformer&quot;);Object.defineProperty(o,&quot;HeaderTransformer&quot;,{enumerable:!0,get:function(){return a.HeaderTransformer}})},{&quot;./HeaderTransformer&quot;:166,&quot;./RowTransformerValidator&quot;:167}],169:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.isSyncValidate=o.isSyncTransform=void 0,o.isSyncTransform=i=&gt;i.length===1,o.isSyncValidate=i=&gt;i.length===1},{}],170:[function(t,n,o){const i=o;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,o){const i=t(&quot;./encoders&quot;),a=t(&quot;./decoders&quot;),u=t(&quot;inherits&quot;);function l(s,c){this.name=s,this.body=c,this.decoders={},this.encoders={}}o.define=function(s,c){return new l(s,c)},l.prototype._createNamed=function(s){const c=this.name;function m(h){this._initNamed(h,c)}return u(m,s),m.prototype._initNamed=function(h,d){s.call(this,h,d)},new m(this)},l.prototype._getDecoder=function(s){return s=s||&quot;der&quot;,this.decoders.hasOwnProperty(s)||(this.decoders[s]=this._createNamed(a[s])),this.decoders[s]},l.prototype.decode=function(s,c,m){return this._getDecoder(c).decode(s,m)},l.prototype._getEncoder=function(s){return s=s||&quot;der&quot;,this.encoders.hasOwnProperty(s)||(this.encoders[s]=this._createNamed(i[s])),this.encoders[s]},l.prototype.encode=function(s,c,m){return this._getEncoder(c).encode(s,m)}},{&quot;./decoders&quot;:179,&quot;./encoders&quot;:182,inherits:440}],172:[function(t,n,o){const i=t(&quot;inherits&quot;),a=t(&quot;../base/reporter&quot;).Reporter,u=t(&quot;safer-buffer&quot;).Buffer;function l(c,m){a.call(this,m),u.isBuffer(c)?(this.base=c,this.offset=0,this.length=c.length):this.error(&quot;Input not Buffer&quot;)}function s(c,m){if(Array.isArray(c))this.length=0,this.value=c.map((function(h){return s.isEncoderBuffer(h)||(h=new s(h,m)),this.length+=h.length,h}),this);else if(typeof c==&quot;number&quot;){if(!(0&lt;=c&amp;&amp;c&lt;=255))return m.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 m.error(&quot;Unsupported type: &quot;+typeof c);this.value=c,this.length=c.length}}i(l,a),o.DecoderBuffer=l,l.isDecoderBuffer=function(c){return c instanceof l?!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;},l.prototype.save=function(){return{offset:this.offset,reporter:a.prototype.save.call(this)}},l.prototype.restore=function(c){const m=new l(this.base);return m.offset=c.offset,m.length=this.offset,this.offset=c.offset,a.prototype.restore.call(this,c.reporter),m},l.prototype.isEmpty=function(){return this.offset===this.length},l.prototype.readUInt8=function(c){return this.offset+1&lt;=this.length?this.base.readUInt8(this.offset++,!0):this.error(c||&quot;DecoderBuffer overrun&quot;)},l.prototype.skip=function(c,m){if(!(this.offset+c&lt;=this.length))return this.error(m||&quot;DecoderBuffer overrun&quot;);const h=new l(this.base);return h._reporterState=this._reporterState,h.offset=this.offset,h.length=this.offset+c,this.offset+=c,h},l.prototype.raw=function(c){return this.base.slice(c?c.offset:this.offset,this.length)},o.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,m){return c||(c=u.alloc(this.length)),m||(m=0),this.length===0||(Array.isArray(this.value)?this.value.forEach((function(h){h.join(c,m),m+=h.length})):(typeof this.value==&quot;number&quot;?c[m]=this.value:typeof this.value==&quot;string&quot;?c.write(this.value,m):u.isBuffer(this.value)&amp;&amp;this.value.copy(c,m),m+=this.length)),c}},{&quot;../base/reporter&quot;:175,inherits:440,&quot;safer-buffer&quot;:495}],173:[function(t,n,o){const i=o;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,o){const i=t(&quot;../base/reporter&quot;).Reporter,a=t(&quot;../base/buffer&quot;).EncoderBuffer,u=t(&quot;../base/buffer&quot;).DecoderBuffer,l=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 m(d,g,y){const p={};this._baseState=p,p.name=y,p.enc=d,p.parent=g||null,p.children=null,p.tag=null,p.args=null,p.reverseArgs=null,p.choice=null,p.optional=!1,p.any=!1,p.obj=!1,p.use=null,p.useDecoder=null,p.key=null,p.default=null,p.explicit=null,p.implicit=null,p.contains=null,p.parent||(p.children=[],this._wrap())}n.exports=m;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;];m.prototype.clone=function(){const d=this._baseState,g={};h.forEach((function(p){g[p]=d[p]}));const y=new this.constructor(g.parent);return y._baseState=g,y},m.prototype._wrap=function(){const d=this._baseState;c.forEach((function(g){this[g]=function(){const y=new this.constructor(this);return d.children.push(y),y[g].apply(y,arguments)}}),this)},m.prototype._init=function(d){const g=this._baseState;l(g.parent===null),d.call(this),g.children=g.children.filter((function(y){return y._baseState.parent===this}),this),l.equal(g.children.length,1,&quot;Root node can have only one child&quot;)},m.prototype._useArgs=function(d){const g=this._baseState,y=d.filter((function(p){return p instanceof this.constructor}),this);d=d.filter((function(p){return!(p instanceof this.constructor)}),this),y.length!==0&amp;&amp;(l(g.children===null),g.children=y,y.forEach((function(p){p._baseState.parent=this}),this)),d.length!==0&amp;&amp;(l(g.args===null),g.args=d,g.reverseArgs=d.map((function(p){if(typeof p!=&quot;object&quot;||p.constructor!==Object)return p;const b={};return Object.keys(p).forEach((function(x){x==(0|x)&amp;&amp;(x|=0);const _=p[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(d){m.prototype[d]=function(){const g=this._baseState;throw new Error(d+&quot; not implemented for encoding: &quot;+g.enc)}})),s.forEach((function(d){m.prototype[d]=function(){const g=this._baseState,y=Array.prototype.slice.call(arguments);return l(g.tag===null),g.tag=d,this._useArgs(y),this}})),m.prototype.use=function(d){l(d);const g=this._baseState;return l(g.use===null),g.use=d,this},m.prototype.optional=function(){return this._baseState.optional=!0,this},m.prototype.def=function(d){const g=this._baseState;return l(g.default===null),g.default=d,g.optional=!0,this},m.prototype.explicit=function(d){const g=this._baseState;return l(g.explicit===null&amp;&amp;g.implicit===null),g.explicit=d,this},m.prototype.implicit=function(d){const g=this._baseState;return l(g.explicit===null&amp;&amp;g.implicit===null),g.implicit=d,this},m.prototype.obj=function(){const d=this._baseState,g=Array.prototype.slice.call(arguments);return d.obj=!0,g.length!==0&amp;&amp;this._useArgs(g),this},m.prototype.key=function(d){const g=this._baseState;return l(g.key===null),g.key=d,this},m.prototype.any=function(){return this._baseState.any=!0,this},m.prototype.choice=function(d){const g=this._baseState;return l(g.choice===null),g.choice=d,this._useArgs(Object.keys(d).map((function(y){return d[y]}))),this},m.prototype.contains=function(d){const g=this._baseState;return l(g.use===null),g.contains=d,this},m.prototype._decode=function(d,g){const y=this._baseState;if(y.parent===null)return d.wrapResult(y.children[0]._decode(d,g));let p,b=y.default,x=!0,_=null;if(y.key!==null&amp;&amp;(_=d.enterKey(y.key)),y.optional){let E=null;if(y.explicit!==null?E=y.explicit:y.implicit!==null?E=y.implicit:y.tag!==null&amp;&amp;(E=y.tag),E!==null||y.any){if(x=this._peekTag(d,E,y.any),d.isError(x))return x}else{const M=d.save();try{y.choice===null?this._decodeGeneric(y.tag,d,g):this._decodeChoice(d,g),x=!0}catch{x=!1}d.restore(M)}}if(y.obj&amp;&amp;x&amp;&amp;(p=d.enterObject()),x){if(y.explicit!==null){const M=this._decodeTag(d,y.explicit);if(d.isError(M))return M;d=M}const E=d.offset;if(y.use===null&amp;&amp;y.choice===null){let M;y.any&amp;&amp;(M=d.save());const D=this._decodeTag(d,y.implicit!==null?y.implicit:y.tag,y.any);if(d.isError(D))return D;y.any?b=d.raw(M):d=D}if(g&amp;&amp;g.track&amp;&amp;y.tag!==null&amp;&amp;g.track(d.path(),E,d.length,&quot;tagged&quot;),g&amp;&amp;g.track&amp;&amp;y.tag!==null&amp;&amp;g.track(d.path(),d.offset,d.length,&quot;content&quot;),y.any||(b=y.choice===null?this._decodeGeneric(y.tag,d,g):this._decodeChoice(d,g)),d.isError(b))return b;if(y.any||y.choice!==null||y.children===null||y.children.forEach((function(M){M._decode(d,g)})),y.contains&amp;&amp;(y.tag===&quot;octstr&quot;||y.tag===&quot;bitstr&quot;)){const M=new u(b);b=this._getUse(y.contains,d._reporterState.obj)._decode(M,g)}}return y.obj&amp;&amp;x&amp;&amp;(b=d.leaveObject(p)),y.key===null||b===null&amp;&amp;x!==!0?_!==null&amp;&amp;d.exitKey(_):d.leaveKey(_,y.key,b),b},m.prototype._decodeGeneric=function(d,g,y){const p=this._baseState;return d===&quot;seq&quot;||d===&quot;set&quot;?null:d===&quot;seqof&quot;||d===&quot;setof&quot;?this._decodeList(g,d,p.args[0],y):/str$/.test(d)?this._decodeStr(g,d,y):d===&quot;objid&quot;&amp;&amp;p.args?this._decodeObjid(g,p.args[0],p.args[1],y):d===&quot;objid&quot;?this._decodeObjid(g,null,null,y):d===&quot;gentime&quot;||d===&quot;utctime&quot;?this._decodeTime(g,d,y):d===&quot;null_&quot;?this._decodeNull(g,y):d===&quot;bool&quot;?this._decodeBool(g,y):d===&quot;objDesc&quot;?this._decodeStr(g,d,y):d===&quot;int&quot;||d===&quot;enum&quot;?this._decodeInt(g,p.args&amp;&amp;p.args[0],y):p.use!==null?this._getUse(p.use,g._reporterState.obj)._decode(g,y):g.error(&quot;unknown tag: &quot;+d)},m.prototype._getUse=function(d,g){const y=this._baseState;return y.useDecoder=this._use(d,g),l(y.useDecoder._baseState.parent===null),y.useDecoder=y.useDecoder._baseState.children[0],y.implicit!==y.useDecoder._baseState.implicit&amp;&amp;(y.useDecoder=y.useDecoder.clone(),y.useDecoder._baseState.implicit=y.implicit),y.useDecoder},m.prototype._decodeChoice=function(d,g){const y=this._baseState;let p=null,b=!1;return Object.keys(y.choice).some((function(x){const _=d.save(),E=y.choice[x];try{const M=E._decode(d,g);if(d.isError(M))return!1;p={type:x,value:M},b=!0}catch{return d.restore(_),!1}return!0}),this),b?p:d.error(&quot;Choice not matched&quot;)},m.prototype._createEncoderBuffer=function(d){return new a(d,this.reporter)},m.prototype._encode=function(d,g,y){const p=this._baseState;if(p.default!==null&amp;&amp;p.default===d)return;const b=this._encodeValue(d,g,y);return b===void 0||this._skipDefault(b,g,y)?void 0:b},m.prototype._encodeValue=function(d,g,y){const p=this._baseState;if(p.parent===null)return p.children[0]._encode(d,g||new i);let b=null;if(this.reporter=g,p.optional&amp;&amp;d===void 0){if(p.default===null)return;d=p.default}let x=null,_=!1;if(p.any)b=this._createEncoderBuffer(d);else if(p.choice)b=this._encodeChoice(d,g);else if(p.contains)x=this._getUse(p.contains,y)._encode(d,g),_=!0;else if(p.children)x=p.children.map((function(E){if(E._baseState.tag===&quot;null_&quot;)return E._encode(null,g,d);if(E._baseState.key===null)return g.error(&quot;Child should have a key&quot;);const M=g.enterKey(E._baseState.key);if(typeof d!=&quot;object&quot;)return g.error(&quot;Child expected, but input is not object&quot;);const D=E._encode(d[E._baseState.key],g,d);return g.leaveKey(M),D}),this).filter((function(E){return E})),x=this._createEncoderBuffer(x);else if(p.tag===&quot;seqof&quot;||p.tag===&quot;setof&quot;){if(!p.args||p.args.length!==1)return g.error(&quot;Too many args for : &quot;+p.tag);if(!Array.isArray(d))return g.error(&quot;seqof/setof, but data is not Array&quot;);const E=this.clone();E._baseState.implicit=null,x=this._createEncoderBuffer(d.map((function(M){const D=this._baseState;return this._getUse(D.args[0],d)._encode(M,g)}),E))}else p.use!==null?b=this._getUse(p.use,y)._encode(d,g):(x=this._encodePrimitive(p.tag,d),_=!0);if(!p.any&amp;&amp;p.choice===null){const E=p.implicit!==null?p.implicit:p.tag,M=p.implicit===null?&quot;universal&quot;:&quot;context&quot;;E===null?p.use===null&amp;&amp;g.error(&quot;Tag could be omitted only for .use()&quot;):p.use===null&amp;&amp;(b=this._encodeComposite(E,_,M,x))}return p.explicit!==null&amp;&amp;(b=this._encodeComposite(p.explicit,!1,&quot;context&quot;,b)),b},m.prototype._encodeChoice=function(d,g){const y=this._baseState,p=y.choice[d.type];return p||l(!1,d.type+&quot; not found in &quot;+JSON.stringify(Object.keys(y.choice))),p._encode(d.value,g)},m.prototype._encodePrimitive=function(d,g){const y=this._baseState;if(/str$/.test(d))return this._encodeStr(g,d);if(d===&quot;objid&quot;&amp;&amp;y.args)return this._encodeObjid(g,y.reverseArgs[0],y.args[1]);if(d===&quot;objid&quot;)return this._encodeObjid(g,null,null);if(d===&quot;gentime&quot;||d===&quot;utctime&quot;)return this._encodeTime(g,d);if(d===&quot;null_&quot;)return this._encodeNull();if(d===&quot;int&quot;||d===&quot;enum&quot;)return this._encodeInt(g,y.args&amp;&amp;y.reverseArgs[0]);if(d===&quot;bool&quot;)return this._encodeBool(g);if(d===&quot;objDesc&quot;)return this._encodeStr(g,d);throw new Error(&quot;Unsupported tag: &quot;+d)},m.prototype._isNumstr=function(d){return/^[0-9 ]*$/.test(d)},m.prototype._isPrintstr=function(d){return/^[A-Za-z0-9 &#039;()+,-./:=?]*$/.test(d)}},{&quot;../base/buffer&quot;:172,&quot;../base/reporter&quot;:175,&quot;minimalistic-assert&quot;:453}],175:[function(t,n,o){const i=t(&quot;inherits&quot;);function a(l){this._reporterState={obj:null,path:[],options:l||{},errors:[]}}function u(l,s){this.path=l,this.rethrow(s)}o.Reporter=a,a.prototype.isError=function(l){return l instanceof u},a.prototype.save=function(){const l=this._reporterState;return{obj:l.obj,pathLen:l.path.length}},a.prototype.restore=function(l){const s=this._reporterState;s.obj=l.obj,s.path=s.path.slice(0,l.pathLen)},a.prototype.enterKey=function(l){return this._reporterState.path.push(l)},a.prototype.exitKey=function(l){const s=this._reporterState;s.path=s.path.slice(0,l-1)},a.prototype.leaveKey=function(l,s,c){const m=this._reporterState;this.exitKey(l),m.obj!==null&amp;&amp;(m.obj[s]=c)},a.prototype.path=function(){return this._reporterState.path.join(&quot;/&quot;)},a.prototype.enterObject=function(){const l=this._reporterState,s=l.obj;return l.obj={},s},a.prototype.leaveObject=function(l){const s=this._reporterState,c=s.obj;return s.obj=l,c},a.prototype.error=function(l){let s;const c=this._reporterState,m=l instanceof u;if(s=m?l:new u(c.path.map((function(h){return&quot;[&quot;+JSON.stringify(h)+&quot;]&quot;})).join(&quot;&quot;),l.message||l,l.stack),!c.options.partial)throw s;return m||c.errors.push(s),s},a.prototype.wrapResult=function(l){const s=this._reporterState;return s.options.partial?{result:this.isError(l)?null:l,errors:s.errors}:l},i(u,Error),u.prototype.rethrow=function(l){if(this.message=l+&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,o){function i(a){const u={};return Object.keys(a).forEach((function(l){(0|l)==l&amp;&amp;(l|=0);const s=a[l];u[s]=l})),u}o.tagClass={0:&quot;universal&quot;,1:&quot;application&quot;,2:&quot;context&quot;,3:&quot;private&quot;},o.tagClassByName=i(o.tagClass),o.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;},o.tagByName=i(o.tag)},{}],177:[function(t,n,o){const i=o;i._reverse=function(a){const u={};return Object.keys(a).forEach((function(l){(0|l)==l&amp;&amp;(l|=0);const s=a[l];u[s]=l})),u},i.der=t(&quot;./der&quot;)},{&quot;./der&quot;:176}],178:[function(t,n,o){const i=t(&quot;inherits&quot;),a=t(&quot;bn.js&quot;),u=t(&quot;../base/buffer&quot;).DecoderBuffer,l=t(&quot;../base/node&quot;),s=t(&quot;../constants/der&quot;);function c(g){this.enc=&quot;der&quot;,this.name=g.name,this.entity=g,this.tree=new m,this.tree._init(g.body)}function m(g){l.call(this,&quot;der&quot;,g)}function h(g,y){let p=g.readUInt8(y);if(g.isError(p))return p;const b=s.tagClass[p&gt;&gt;6],x=(32&amp;p)==0;if((31&amp;p)==31){let _=p;for(p=0;(128&amp;_)==128;){if(_=g.readUInt8(y),g.isError(_))return _;p&lt;&lt;=7,p|=127&amp;_}}else p&amp;=31;return{cls:b,primitive:x,tag:p,tagStr:s.tag[p]}}function d(g,y,p){let b=g.readUInt8(p);if(g.isError(b))return b;if(!y&amp;&amp;b===128)return null;if((128&amp;b)==0)return b;const x=127&amp;b;if(x&gt;4)return g.error(&quot;length octect is too long&quot;);b=0;for(let _=0;_&lt;x;_++){b&lt;&lt;=8;const E=g.readUInt8(p);if(g.isError(E))return E;b|=E}return b}n.exports=c,c.prototype.decode=function(g,y){return u.isDecoderBuffer(g)||(g=new u(g,y)),this.tree._decode(g,y)},i(m,l),m.prototype._peekTag=function(g,y,p){if(g.isEmpty())return!1;const b=g.save(),x=h(g,&#039;Failed to peek tag: &quot;&#039;+y+&#039;&quot;&#039;);return g.isError(x)?x:(g.restore(b),x.tag===y||x.tagStr===y||x.tagStr+&quot;of&quot;===y||p)},m.prototype._decodeTag=function(g,y,p){const b=h(g,&#039;Failed to decode tag of &quot;&#039;+y+&#039;&quot;&#039;);if(g.isError(b))return b;let x=d(g,b.primitive,&#039;Failed to get length of &quot;&#039;+y+&#039;&quot;&#039;);if(g.isError(x))return x;if(!p&amp;&amp;b.tag!==y&amp;&amp;b.tagStr!==y&amp;&amp;b.tagStr+&quot;of&quot;!==y)return g.error(&#039;Failed to match tag: &quot;&#039;+y+&#039;&quot;&#039;);if(b.primitive||x!==null)return g.skip(x,&#039;Failed to match body of: &quot;&#039;+y+&#039;&quot;&#039;);const _=g.save(),E=this._skipUntilEnd(g,&#039;Failed to skip indefinite length body: &quot;&#039;+this.tag+&#039;&quot;&#039;);return g.isError(E)?E:(x=g.offset-_.offset,g.restore(_),g.skip(x,&#039;Failed to match body of: &quot;&#039;+y+&#039;&quot;&#039;))},m.prototype._skipUntilEnd=function(g,y){for(;;){const p=h(g,y);if(g.isError(p))return p;const b=d(g,p.primitive,y);if(g.isError(b))return b;let x;if(x=p.primitive||b!==null?g.skip(b):this._skipUntilEnd(g,y),g.isError(x))return x;if(p.tagStr===&quot;end&quot;)break}},m.prototype._decodeList=function(g,y,p,b){const x=[];for(;!g.isEmpty();){const _=this._peekTag(g,&quot;end&quot;);if(g.isError(_))return _;const E=p.decode(g,&quot;der&quot;,b);if(g.isError(E)&amp;&amp;_)break;x.push(E)}return x},m.prototype._decodeStr=function(g,y){if(y===&quot;bitstr&quot;){const p=g.readUInt8();return g.isError(p)?p:{unused:p,data:g.raw()}}if(y===&quot;bmpstr&quot;){const p=g.raw();if(p.length%2==1)return g.error(&quot;Decoding of string type: bmpstr length mismatch&quot;);let b=&quot;&quot;;for(let x=0;x&lt;p.length/2;x++)b+=String.fromCharCode(p.readUInt16BE(2*x));return b}if(y===&quot;numstr&quot;){const p=g.raw().toString(&quot;ascii&quot;);return this._isNumstr(p)?p:g.error(&quot;Decoding of string type: numstr unsupported characters&quot;)}if(y===&quot;octstr&quot;||y===&quot;objDesc&quot;)return g.raw();if(y===&quot;printstr&quot;){const p=g.raw().toString(&quot;ascii&quot;);return this._isPrintstr(p)?p:g.error(&quot;Decoding of string type: printstr unsupported characters&quot;)}return/str$/.test(y)?g.raw().toString():g.error(&quot;Decoding of string type: &quot;+y+&quot; unsupported&quot;)},m.prototype._decodeObjid=function(g,y,p){let b;const x=[];let _=0,E=0;for(;!g.isEmpty();)E=g.readUInt8(),_&lt;&lt;=7,_|=127&amp;E,(128&amp;E)==0&amp;&amp;(x.push(_),_=0);128&amp;E&amp;&amp;x.push(_);const M=x[0]/40|0,D=x[0]%40;if(b=p?x:[M,D].concat(x.slice(1)),y){let W=y[b.join(&quot; &quot;)];W===void 0&amp;&amp;(W=y[b.join(&quot;.&quot;)]),W!==void 0&amp;&amp;(b=W)}return b},m.prototype._decodeTime=function(g,y){const p=g.raw().toString();let b,x,_,E,M,D;if(y===&quot;gentime&quot;)b=0|p.slice(0,4),x=0|p.slice(4,6),_=0|p.slice(6,8),E=0|p.slice(8,10),M=0|p.slice(10,12),D=0|p.slice(12,14);else{if(y!==&quot;utctime&quot;)return g.error(&quot;Decoding &quot;+y+&quot; time is not supported yet&quot;);b=0|p.slice(0,2),x=0|p.slice(2,4),_=0|p.slice(4,6),E=0|p.slice(6,8),M=0|p.slice(8,10),D=0|p.slice(10,12),b=b&lt;70?2e3+b:1900+b}return Date.UTC(b,x-1,_,E,M,D,0)},m.prototype._decodeNull=function(){return null},m.prototype._decodeBool=function(g){const y=g.readUInt8();return g.isError(y)?y:y!==0},m.prototype._decodeInt=function(g,y){const p=g.raw();let b=new a(p);return y&amp;&amp;(b=y[b.toString(10)]||b),b},m.prototype._use=function(g,y){return typeof g==&quot;function&quot;&amp;&amp;(g=g(y)),g._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,o){const i=o;i.der=t(&quot;./der&quot;),i.pem=t(&quot;./pem&quot;)},{&quot;./der&quot;:178,&quot;./pem&quot;:180}],180:[function(t,n,o){const i=t(&quot;inherits&quot;),a=t(&quot;safer-buffer&quot;).Buffer,u=t(&quot;./der&quot;);function l(s){u.call(this,s),this.enc=&quot;pem&quot;}i(l,u),n.exports=l,l.prototype.decode=function(s,c){const m=s.toString().split(/[\r\n]+/g),h=c.label.toUpperCase(),d=/^-----(BEGIN|END) ([^-]+)-----$/;let g=-1,y=-1;for(let x=0;x&lt;m.length;x++){const _=m[x].match(d);if(_!==null&amp;&amp;_[2]===h){if(g!==-1){if(_[1]!==&quot;END&quot;)break;y=x;break}if(_[1]!==&quot;BEGIN&quot;)break;g=x}}if(g===-1||y===-1)throw new Error(&quot;PEM section not found for: &quot;+h);const p=m.slice(g+1,y).join(&quot;&quot;);p.replace(/[^a-z0-9+/=]+/gi,&quot;&quot;);const b=a.from(p,&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,o){const i=t(&quot;inherits&quot;),a=t(&quot;safer-buffer&quot;).Buffer,u=t(&quot;../base/node&quot;),l=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 m(h){return h&lt;10?&quot;0&quot;+h:h}n.exports=s,s.prototype.encode=function(h,d){return this.tree._encode(h,d).join()},i(c,u),c.prototype._encodeComposite=function(h,d,g,y){const p=(function(_,E,M,D){let W;if(_===&quot;seqof&quot;?_=&quot;seq&quot;:_===&quot;setof&quot;&amp;&amp;(_=&quot;set&quot;),l.tagByName.hasOwnProperty(_))W=l.tagByName[_];else{if(typeof _!=&quot;number&quot;||(0|_)!==_)return D.error(&quot;Unknown tag: &quot;+_);W=_}return W&gt;=31?D.error(&quot;Multi-octet tag encoding unsupported&quot;):(E||(W|=32),W|=l.tagClassByName[M||&quot;universal&quot;]&lt;&lt;6,W)})(h,d,g,this.reporter);if(y.length&lt;128){const _=a.alloc(2);return _[0]=p,_[1]=y.length,this._createEncoderBuffer([_,y])}let b=1;for(let _=y.length;_&gt;=256;_&gt;&gt;=8)b++;const x=a.alloc(2+b);x[0]=p,x[1]=128|b;for(let _=1+b,E=y.length;E&gt;0;_--,E&gt;&gt;=8)x[_]=255&amp;E;return this._createEncoderBuffer([x,y])},c.prototype._encodeStr=function(h,d){if(d===&quot;bitstr&quot;)return this._createEncoderBuffer([0|h.unused,h.data]);if(d===&quot;bmpstr&quot;){const g=a.alloc(2*h.length);for(let y=0;y&lt;h.length;y++)g.writeUInt16BE(h.charCodeAt(y),2*y);return this._createEncoderBuffer(g)}return d===&quot;numstr&quot;?this._isNumstr(h)?this._createEncoderBuffer(h):this.reporter.error(&quot;Encoding of string type: numstr supports only digits and space&quot;):d===&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(d)||d===&quot;objDesc&quot;?this._createEncoderBuffer(h):this.reporter.error(&quot;Encoding of string type: &quot;+d+&quot; unsupported&quot;)},c.prototype._encodeObjid=function(h,d,g){if(typeof h==&quot;string&quot;){if(!d)return this.reporter.error(&quot;string objid given, but no values map found&quot;);if(!d.hasOwnProperty(h))return this.reporter.error(&quot;objid not found in values map&quot;);h=d[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(!g){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 y=0;for(let x=0;x&lt;h.length;x++){let _=h[x];for(y++;_&gt;=128;_&gt;&gt;=7)y++}const p=a.alloc(y);let b=p.length-1;for(let x=h.length-1;x&gt;=0;x--){let _=h[x];for(p[b--]=127&amp;_;(_&gt;&gt;=7)&gt;0;)p[b--]=128|127&amp;_}return this._createEncoderBuffer(p)},c.prototype._encodeTime=function(h,d){let g;const y=new Date(h);return d===&quot;gentime&quot;?g=[m(y.getUTCFullYear()),m(y.getUTCMonth()+1),m(y.getUTCDate()),m(y.getUTCHours()),m(y.getUTCMinutes()),m(y.getUTCSeconds()),&quot;Z&quot;].join(&quot;&quot;):d===&quot;utctime&quot;?g=[m(y.getUTCFullYear()%100),m(y.getUTCMonth()+1),m(y.getUTCDate()),m(y.getUTCHours()),m(y.getUTCMinutes()),m(y.getUTCSeconds()),&quot;Z&quot;].join(&quot;&quot;):this.reporter.error(&quot;Encoding &quot;+d+&quot; time is not supported yet&quot;),this._encodeStr(g,&quot;octstr&quot;)},c.prototype._encodeNull=function(){return this._createEncoderBuffer(&quot;&quot;)},c.prototype._encodeInt=function(h,d){if(typeof h==&quot;string&quot;){if(!d)return this.reporter.error(&quot;String int or enum given, but no values map&quot;);if(!d.hasOwnProperty(h))return this.reporter.error(&quot;Values map doesn&#039;t contain: &quot;+JSON.stringify(h));h=d[h]}if(typeof h!=&quot;number&quot;&amp;&amp;!a.isBuffer(h)){const p=h.toArray();!h.sign&amp;&amp;128&amp;p[0]&amp;&amp;p.unshift(0),h=a.from(p)}if(a.isBuffer(h)){let p=h.length;h.length===0&amp;&amp;p++;const b=a.alloc(p);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 g=1;for(let p=h;p&gt;=256;p&gt;&gt;=8)g++;const y=new Array(g);for(let p=y.length-1;p&gt;=0;p--)y[p]=255&amp;h,h&gt;&gt;=8;return 128&amp;y[0]&amp;&amp;y.unshift(0),this._createEncoderBuffer(a.from(y))},c.prototype._encodeBool=function(h){return this._createEncoderBuffer(h?255:0)},c.prototype._use=function(h,d){return typeof h==&quot;function&quot;&amp;&amp;(h=h(d)),h._getEncoder(&quot;der&quot;).tree},c.prototype._skipDefault=function(h,d,g){const y=this._baseState;let p;if(y.default===null)return!1;const b=h.join();if(y.defaultBuffer===void 0&amp;&amp;(y.defaultBuffer=this._encodeValue(y.default,d,g).join()),b.length!==y.defaultBuffer.length)return!1;for(p=0;p&lt;b.length;p++)if(b[p]!==y.defaultBuffer[p])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,o){const i=o;i.der=t(&quot;./der&quot;),i.pem=t(&quot;./pem&quot;)},{&quot;./der&quot;:181,&quot;./pem&quot;:183}],183:[function(t,n,o){const i=t(&quot;inherits&quot;),a=t(&quot;./der&quot;);function u(l){a.call(this,l),this.enc=&quot;pem&quot;}i(u,a),n.exports=u,u.prototype.encode=function(l,s){const c=a.prototype.encode.call(this,l).toString(&quot;base64&quot;),m=[&quot;-----BEGIN &quot;+s.label+&quot;-----&quot;];for(let h=0;h&lt;c.length;h+=64)m.push(c.slice(h,h+64));return m.push(&quot;-----END &quot;+s.label+&quot;-----&quot;),m.join(`
`)}},{&quot;./der&quot;:181,inherits:440}],184:[function(t,n,o){(function(i,a){function u(O,I){if(!O)throw new Error(I||&quot;Assertion failed&quot;)}function l(O,I){O.super_=I;var C=function(){};C.prototype=I.prototype,O.prototype=new C,O.prototype.constructor=O}function s(O,I,C){if(s.isBN(O))return O;this.negative=0,this.words=null,this.length=0,this.red=null,O!==null&amp;&amp;(I!==&quot;le&quot;&amp;&amp;I!==&quot;be&quot;||(C=I,I=10),this._init(O||0,I||10,C||&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 m(O,I){var C=O.charCodeAt(I);return C&gt;=65&amp;&amp;C&lt;=70?C-55:C&gt;=97&amp;&amp;C&lt;=102?C-87:C-48&amp;15}function h(O,I,C){var j=m(O,C);return C-1&gt;=I&amp;&amp;(j|=m(O,C-1)&lt;&lt;4),j}function d(O,I,C,j){for(var k=0,S=Math.min(O.length,C),N=I;N&lt;S;N++){var T=O.charCodeAt(N)-48;k*=j,k+=T&gt;=49?T-49+10:T&gt;=17?T-17+10:T}return k}s.isBN=function(O){return O instanceof s||O!==null&amp;&amp;typeof O==&quot;object&quot;&amp;&amp;O.constructor.wordSize===s.wordSize&amp;&amp;Array.isArray(O.words)},s.max=function(O,I){return O.cmp(I)&gt;0?O:I},s.min=function(O,I){return O.cmp(I)&lt;0?O:I},s.prototype._init=function(O,I,C){if(typeof O==&quot;number&quot;)return this._initNumber(O,I,C);if(typeof O==&quot;object&quot;)return this._initArray(O,I,C);I===&quot;hex&quot;&amp;&amp;(I=16),u(I===(0|I)&amp;&amp;I&gt;=2&amp;&amp;I&lt;=36);var j=0;(O=O.toString().replace(/\s+/g,&quot;&quot;))[0]===&quot;-&quot;&amp;&amp;(j++,this.negative=1),j&lt;O.length&amp;&amp;(I===16?this._parseHex(O,j,C):(this._parseBase(O,I,j),C===&quot;le&quot;&amp;&amp;this._initArray(this.toArray(),I,C)))},s.prototype._initNumber=function(O,I,C){O&lt;0&amp;&amp;(this.negative=1,O=-O),O&lt;67108864?(this.words=[67108863&amp;O],this.length=1):O&lt;4503599627370496?(this.words=[67108863&amp;O,O/67108864&amp;67108863],this.length=2):(u(O&lt;9007199254740992),this.words=[67108863&amp;O,O/67108864&amp;67108863,1],this.length=3),C===&quot;le&quot;&amp;&amp;this._initArray(this.toArray(),I,C)},s.prototype._initArray=function(O,I,C){if(u(typeof O.length==&quot;number&quot;),O.length&lt;=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(O.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(C===&quot;be&quot;)for(j=O.length-1,k=0;j&gt;=0;j-=3)S=O[j]|O[j-1]&lt;&lt;8|O[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(C===&quot;le&quot;)for(j=0,k=0;j&lt;O.length;j+=3)S=O[j]|O[j+1]&lt;&lt;8|O[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(O,I,C){this.length=Math.ceil((O.length-I)/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(C===&quot;be&quot;)for(j=O.length-1;j&gt;=I;j-=2)k=h(O,I,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=(O.length-I)%2==0?I+1:I;j&lt;O.length;j+=2)k=h(O,I,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(O,I,C){this.words=[0],this.length=1;for(var j=0,k=1;k&lt;=67108863;k*=I)j++;j--,k=k/I|0;for(var S=O.length-C,N=S%j,T=Math.min(S,S-N)+C,R=0,B=C;B&lt;T;B+=j)R=d(O,B,B+j,I),this.imuln(k),this.words[0]+R&lt;67108864?this.words[0]+=R:this._iaddn(R);if(N!==0){var Y=1;for(R=d(O,B,O.length,I),B=0;B&lt;N;B++)Y*=I;this.imuln(Y),this.words[0]+R&lt;67108864?this.words[0]+=R:this._iaddn(R)}this.strip()},s.prototype.copy=function(O){O.words=new Array(this.length);for(var I=0;I&lt;this.length;I++)O.words[I]=this.words[I];O.length=this.length,O.negative=this.negative,O.red=this.red},s.prototype.clone=function(){var O=new s(null);return this.copy(O),O},s.prototype._expand=function(O){for(;this.length&lt;O;)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 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;],y=[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],p=[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(O,I,C){C.negative=I.negative^O.negative;var j=O.length+I.length|0;C.length=j,j=j-1|0;var k=0|O.words[0],S=0|I.words[0],N=k*S,T=67108863&amp;N,R=N/67108864|0;C.words[0]=T;for(var B=1;B&lt;j;B++){for(var Y=R&gt;&gt;&gt;26,Q=67108863&amp;R,ne=Math.min(B,I.length-1),U=Math.max(0,B-O.length+1);U&lt;=ne;U++){var ee=B-U|0;Y+=(N=(k=0|O.words[ee])*(S=0|I.words[U])+Q)/67108864|0,Q=67108863&amp;N}C.words[B]=0|Q,R=0|Y}return R!==0?C.words[B]=0|R:C.length--,C.strip()}s.prototype.toString=function(O,I){var C;if(I=0|I||1,(O=O||10)===16||O===&quot;hex&quot;){C=&quot;&quot;;for(var j=0,k=0,S=0;S&lt;this.length;S++){var N=this.words[S],T=(16777215&amp;(N&lt;&lt;j|k)).toString(16);C=(k=N&gt;&gt;&gt;24-j&amp;16777215)!==0||S!==this.length-1?g[6-T.length]+T+C:T+C,(j+=2)&gt;=26&amp;&amp;(j-=26,S--)}for(k!==0&amp;&amp;(C=k.toString(16)+C);C.length%I!=0;)C=&quot;0&quot;+C;return this.negative!==0&amp;&amp;(C=&quot;-&quot;+C),C}if(O===(0|O)&amp;&amp;O&gt;=2&amp;&amp;O&lt;=36){var R=y[O],B=p[O];C=&quot;&quot;;var Y=this.clone();for(Y.negative=0;!Y.isZero();){var Q=Y.modn(B).toString(O);C=(Y=Y.idivn(B)).isZero()?Q+C:g[R-Q.length]+Q+C}for(this.isZero()&amp;&amp;(C=&quot;0&quot;+C);C.length%I!=0;)C=&quot;0&quot;+C;return this.negative!==0&amp;&amp;(C=&quot;-&quot;+C),C}u(!1,&quot;Base should be between 2 and 36&quot;)},s.prototype.toNumber=function(){var O=this.words[0];return this.length===2?O+=67108864*this.words[1]:this.length===3&amp;&amp;this.words[2]===1?O+=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?-O:O},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(O,I){return u(c!==void 0),this.toArrayLike(c,O,I)},s.prototype.toArray=function(O,I){return this.toArrayLike(Array,O,I)},s.prototype.toArrayLike=function(O,I,C){var j=this.byteLength(),k=C||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,T=I===&quot;le&quot;,R=new O(k),B=this.clone();if(T){for(N=0;!B.isZero();N++)S=B.andln(255),B.iushrn(8),R[N]=S;for(;N&lt;k;N++)R[N]=0}else{for(N=0;N&lt;k-j;N++)R[N]=0;for(N=0;!B.isZero();N++)S=B.andln(255),B.iushrn(8),R[k-N-1]=S}return R},Math.clz32?s.prototype._countBits=function(O){return 32-Math.clz32(O)}:s.prototype._countBits=function(O){var I=O,C=0;return I&gt;=4096&amp;&amp;(C+=13,I&gt;&gt;&gt;=13),I&gt;=64&amp;&amp;(C+=7,I&gt;&gt;&gt;=7),I&gt;=8&amp;&amp;(C+=4,I&gt;&gt;&gt;=4),I&gt;=2&amp;&amp;(C+=2,I&gt;&gt;&gt;=2),C+I},s.prototype._zeroBits=function(O){if(O===0)return 26;var I=O,C=0;return(8191&amp;I)==0&amp;&amp;(C+=13,I&gt;&gt;&gt;=13),(127&amp;I)==0&amp;&amp;(C+=7,I&gt;&gt;&gt;=7),(15&amp;I)==0&amp;&amp;(C+=4,I&gt;&gt;&gt;=4),(3&amp;I)==0&amp;&amp;(C+=2,I&gt;&gt;&gt;=2),(1&amp;I)==0&amp;&amp;C++,C},s.prototype.bitLength=function(){var O=this.words[this.length-1],I=this._countBits(O);return 26*(this.length-1)+I},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var O=0,I=0;I&lt;this.length;I++){var C=this._zeroBits(this.words[I]);if(O+=C,C!==26)break}return O},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(O){return this.negative!==0?this.abs().inotn(O).iaddn(1):this.clone()},s.prototype.fromTwos=function(O){return this.testn(O-1)?this.notn(O).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(O){for(;this.length&lt;O.length;)this.words[this.length++]=0;for(var I=0;I&lt;O.length;I++)this.words[I]=this.words[I]|O.words[I];return this.strip()},s.prototype.ior=function(O){return u((this.negative|O.negative)==0),this.iuor(O)},s.prototype.or=function(O){return this.length&gt;O.length?this.clone().ior(O):O.clone().ior(this)},s.prototype.uor=function(O){return this.length&gt;O.length?this.clone().iuor(O):O.clone().iuor(this)},s.prototype.iuand=function(O){var I;I=this.length&gt;O.length?O:this;for(var C=0;C&lt;I.length;C++)this.words[C]=this.words[C]&amp;O.words[C];return this.length=I.length,this.strip()},s.prototype.iand=function(O){return u((this.negative|O.negative)==0),this.iuand(O)},s.prototype.and=function(O){return this.length&gt;O.length?this.clone().iand(O):O.clone().iand(this)},s.prototype.uand=function(O){return this.length&gt;O.length?this.clone().iuand(O):O.clone().iuand(this)},s.prototype.iuxor=function(O){var I,C;this.length&gt;O.length?(I=this,C=O):(I=O,C=this);for(var j=0;j&lt;C.length;j++)this.words[j]=I.words[j]^C.words[j];if(this!==I)for(;j&lt;I.length;j++)this.words[j]=I.words[j];return this.length=I.length,this.strip()},s.prototype.ixor=function(O){return u((this.negative|O.negative)==0),this.iuxor(O)},s.prototype.xor=function(O){return this.length&gt;O.length?this.clone().ixor(O):O.clone().ixor(this)},s.prototype.uxor=function(O){return this.length&gt;O.length?this.clone().iuxor(O):O.clone().iuxor(this)},s.prototype.inotn=function(O){u(typeof O==&quot;number&quot;&amp;&amp;O&gt;=0);var I=0|Math.ceil(O/26),C=O%26;this._expand(I),C&gt;0&amp;&amp;I--;for(var j=0;j&lt;I;j++)this.words[j]=67108863&amp;~this.words[j];return C&gt;0&amp;&amp;(this.words[j]=~this.words[j]&amp;67108863&gt;&gt;26-C),this.strip()},s.prototype.notn=function(O){return this.clone().inotn(O)},s.prototype.setn=function(O,I){u(typeof O==&quot;number&quot;&amp;&amp;O&gt;=0);var C=O/26|0,j=O%26;return this._expand(C+1),this.words[C]=I?this.words[C]|1&lt;&lt;j:this.words[C]&amp;~(1&lt;&lt;j),this.strip()},s.prototype.iadd=function(O){var I,C,j;if(this.negative!==0&amp;&amp;O.negative===0)return this.negative=0,I=this.isub(O),this.negative^=1,this._normSign();if(this.negative===0&amp;&amp;O.negative!==0)return O.negative=0,I=this.isub(O),O.negative=1,I._normSign();this.length&gt;O.length?(C=this,j=O):(C=O,j=this);for(var k=0,S=0;S&lt;j.length;S++)I=(0|C.words[S])+(0|j.words[S])+k,this.words[S]=67108863&amp;I,k=I&gt;&gt;&gt;26;for(;k!==0&amp;&amp;S&lt;C.length;S++)I=(0|C.words[S])+k,this.words[S]=67108863&amp;I,k=I&gt;&gt;&gt;26;if(this.length=C.length,k!==0)this.words[this.length]=k,this.length++;else if(C!==this)for(;S&lt;C.length;S++)this.words[S]=C.words[S];return this},s.prototype.add=function(O){var I;return O.negative!==0&amp;&amp;this.negative===0?(O.negative=0,I=this.sub(O),O.negative^=1,I):O.negative===0&amp;&amp;this.negative!==0?(this.negative=0,I=O.sub(this),this.negative=1,I):this.length&gt;O.length?this.clone().iadd(O):O.clone().iadd(this)},s.prototype.isub=function(O){if(O.negative!==0){O.negative=0;var I=this.iadd(O);return O.negative=1,I._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(O),this.negative=1,this._normSign();var C,j,k=this.cmp(O);if(k===0)return this.negative=0,this.length=1,this.words[0]=0,this;k&gt;0?(C=this,j=O):(C=O,j=this);for(var S=0,N=0;N&lt;j.length;N++)S=(I=(0|C.words[N])-(0|j.words[N])+S)&gt;&gt;26,this.words[N]=67108863&amp;I;for(;S!==0&amp;&amp;N&lt;C.length;N++)S=(I=(0|C.words[N])+S)&gt;&gt;26,this.words[N]=67108863&amp;I;if(S===0&amp;&amp;N&lt;C.length&amp;&amp;C!==this)for(;N&lt;C.length;N++)this.words[N]=C.words[N];return this.length=Math.max(this.length,N),C!==this&amp;&amp;(this.negative=1),this.strip()},s.prototype.sub=function(O){return this.clone().isub(O)};var x=function(O,I,C){var j,k,S,N=O.words,T=I.words,R=C.words,B=0,Y=0|N[0],Q=8191&amp;Y,ne=Y&gt;&gt;&gt;13,U=0|N[1],ee=8191&amp;U,F=U&gt;&gt;&gt;13,P=0|N[2],X=8191&amp;P,re=P&gt;&gt;&gt;13,Z=0|N[3],te=8191&amp;Z,ae=Z&gt;&gt;&gt;13,ce=0|N[4],fe=8191&amp;ce,se=ce&gt;&gt;&gt;13,ue=0|N[5],ie=8191&amp;ue,he=ue&gt;&gt;&gt;13,ge=0|N[6],pe=8191&amp;ge,le=ge&gt;&gt;&gt;13,_e=0|N[7],Se=8191&amp;_e,Oe=_e&gt;&gt;&gt;13,Pe=0|N[8],Ie=8191&amp;Pe,Ve=Pe&gt;&gt;&gt;13,Qe=0|N[9],Ke=8191&amp;Qe,it=Qe&gt;&gt;&gt;13,Ge=0|T[0],$e=8191&amp;Ge,Je=Ge&gt;&gt;&gt;13,tt=0|T[1],Ye=8191&amp;tt,Tt=tt&gt;&gt;&gt;13,qt=0|T[2],ct=8191&amp;qt,Rt=qt&gt;&gt;&gt;13,mt=0|T[3],St=8191&amp;mt,Zt=mt&gt;&gt;&gt;13,Ut=0|T[4],at=8191&amp;Ut,Dt=Ut&gt;&gt;&gt;13,Xt=0|T[5],xt=8191&amp;Xt,zt=Xt&gt;&gt;&gt;13,Lt=0|T[6],vt=8191&amp;Lt,ve=Lt&gt;&gt;&gt;13,je=0|T[7],Ae=8191&amp;je,Ue=je&gt;&gt;&gt;13,ft=0|T[8],We=8191&amp;ft,wt=ft&gt;&gt;&gt;13,pt=0|T[9],rt=8191&amp;pt,kt=pt&gt;&gt;&gt;13;C.negative=O.negative^I.negative,C.length=19;var _t=(B+(j=Math.imul(Q,$e))|0)+((8191&amp;(k=(k=Math.imul(Q,Je))+Math.imul(ne,$e)|0))&lt;&lt;13)|0;B=((S=Math.imul(ne,Je))+(k&gt;&gt;&gt;13)|0)+(_t&gt;&gt;&gt;26)|0,_t&amp;=67108863,j=Math.imul(ee,$e),k=(k=Math.imul(ee,Je))+Math.imul(F,$e)|0,S=Math.imul(F,Je);var At=(B+(j=j+Math.imul(Q,Ye)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Q,Tt)|0)+Math.imul(ne,Ye)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,Tt)|0)+(k&gt;&gt;&gt;13)|0)+(At&gt;&gt;&gt;26)|0,At&amp;=67108863,j=Math.imul(X,$e),k=(k=Math.imul(X,Je))+Math.imul(re,$e)|0,S=Math.imul(re,Je),j=j+Math.imul(ee,Ye)|0,k=(k=k+Math.imul(ee,Tt)|0)+Math.imul(F,Ye)|0,S=S+Math.imul(F,Tt)|0;var Jt=(B+(j=j+Math.imul(Q,ct)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Q,Rt)|0)+Math.imul(ne,ct)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,Rt)|0)+(k&gt;&gt;&gt;13)|0)+(Jt&gt;&gt;&gt;26)|0,Jt&amp;=67108863,j=Math.imul(te,$e),k=(k=Math.imul(te,Je))+Math.imul(ae,$e)|0,S=Math.imul(ae,Je),j=j+Math.imul(X,Ye)|0,k=(k=k+Math.imul(X,Tt)|0)+Math.imul(re,Ye)|0,S=S+Math.imul(re,Tt)|0,j=j+Math.imul(ee,ct)|0,k=(k=k+Math.imul(ee,Rt)|0)+Math.imul(F,ct)|0,S=S+Math.imul(F,Rt)|0;var Me=(B+(j=j+Math.imul(Q,St)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Q,Zt)|0)+Math.imul(ne,St)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,Zt)|0)+(k&gt;&gt;&gt;13)|0)+(Me&gt;&gt;&gt;26)|0,Me&amp;=67108863,j=Math.imul(fe,$e),k=(k=Math.imul(fe,Je))+Math.imul(se,$e)|0,S=Math.imul(se,Je),j=j+Math.imul(te,Ye)|0,k=(k=k+Math.imul(te,Tt)|0)+Math.imul(ae,Ye)|0,S=S+Math.imul(ae,Tt)|0,j=j+Math.imul(X,ct)|0,k=(k=k+Math.imul(X,Rt)|0)+Math.imul(re,ct)|0,S=S+Math.imul(re,Rt)|0,j=j+Math.imul(ee,St)|0,k=(k=k+Math.imul(ee,Zt)|0)+Math.imul(F,St)|0,S=S+Math.imul(F,Zt)|0;var Pt=(B+(j=j+Math.imul(Q,at)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Q,Dt)|0)+Math.imul(ne,at)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,Dt)|0)+(k&gt;&gt;&gt;13)|0)+(Pt&gt;&gt;&gt;26)|0,Pt&amp;=67108863,j=Math.imul(ie,$e),k=(k=Math.imul(ie,Je))+Math.imul(he,$e)|0,S=Math.imul(he,Je),j=j+Math.imul(fe,Ye)|0,k=(k=k+Math.imul(fe,Tt)|0)+Math.imul(se,Ye)|0,S=S+Math.imul(se,Tt)|0,j=j+Math.imul(te,ct)|0,k=(k=k+Math.imul(te,Rt)|0)+Math.imul(ae,ct)|0,S=S+Math.imul(ae,Rt)|0,j=j+Math.imul(X,St)|0,k=(k=k+Math.imul(X,Zt)|0)+Math.imul(re,St)|0,S=S+Math.imul(re,Zt)|0,j=j+Math.imul(ee,at)|0,k=(k=k+Math.imul(ee,Dt)|0)+Math.imul(F,at)|0,S=S+Math.imul(F,Dt)|0;var Vt=(B+(j=j+Math.imul(Q,xt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Q,zt)|0)+Math.imul(ne,xt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,zt)|0)+(k&gt;&gt;&gt;13)|0)+(Vt&gt;&gt;&gt;26)|0,Vt&amp;=67108863,j=Math.imul(pe,$e),k=(k=Math.imul(pe,Je))+Math.imul(le,$e)|0,S=Math.imul(le,Je),j=j+Math.imul(ie,Ye)|0,k=(k=k+Math.imul(ie,Tt)|0)+Math.imul(he,Ye)|0,S=S+Math.imul(he,Tt)|0,j=j+Math.imul(fe,ct)|0,k=(k=k+Math.imul(fe,Rt)|0)+Math.imul(se,ct)|0,S=S+Math.imul(se,Rt)|0,j=j+Math.imul(te,St)|0,k=(k=k+Math.imul(te,Zt)|0)+Math.imul(ae,St)|0,S=S+Math.imul(ae,Zt)|0,j=j+Math.imul(X,at)|0,k=(k=k+Math.imul(X,Dt)|0)+Math.imul(re,at)|0,S=S+Math.imul(re,Dt)|0,j=j+Math.imul(ee,xt)|0,k=(k=k+Math.imul(ee,zt)|0)+Math.imul(F,xt)|0,S=S+Math.imul(F,zt)|0;var er=(B+(j=j+Math.imul(Q,vt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Q,ve)|0)+Math.imul(ne,vt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,ve)|0)+(k&gt;&gt;&gt;13)|0)+(er&gt;&gt;&gt;26)|0,er&amp;=67108863,j=Math.imul(Se,$e),k=(k=Math.imul(Se,Je))+Math.imul(Oe,$e)|0,S=Math.imul(Oe,Je),j=j+Math.imul(pe,Ye)|0,k=(k=k+Math.imul(pe,Tt)|0)+Math.imul(le,Ye)|0,S=S+Math.imul(le,Tt)|0,j=j+Math.imul(ie,ct)|0,k=(k=k+Math.imul(ie,Rt)|0)+Math.imul(he,ct)|0,S=S+Math.imul(he,Rt)|0,j=j+Math.imul(fe,St)|0,k=(k=k+Math.imul(fe,Zt)|0)+Math.imul(se,St)|0,S=S+Math.imul(se,Zt)|0,j=j+Math.imul(te,at)|0,k=(k=k+Math.imul(te,Dt)|0)+Math.imul(ae,at)|0,S=S+Math.imul(ae,Dt)|0,j=j+Math.imul(X,xt)|0,k=(k=k+Math.imul(X,zt)|0)+Math.imul(re,xt)|0,S=S+Math.imul(re,zt)|0,j=j+Math.imul(ee,vt)|0,k=(k=k+Math.imul(ee,ve)|0)+Math.imul(F,vt)|0,S=S+Math.imul(F,ve)|0;var de=(B+(j=j+Math.imul(Q,Ae)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Q,Ue)|0)+Math.imul(ne,Ae)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,Ue)|0)+(k&gt;&gt;&gt;13)|0)+(de&gt;&gt;&gt;26)|0,de&amp;=67108863,j=Math.imul(Ie,$e),k=(k=Math.imul(Ie,Je))+Math.imul(Ve,$e)|0,S=Math.imul(Ve,Je),j=j+Math.imul(Se,Ye)|0,k=(k=k+Math.imul(Se,Tt)|0)+Math.imul(Oe,Ye)|0,S=S+Math.imul(Oe,Tt)|0,j=j+Math.imul(pe,ct)|0,k=(k=k+Math.imul(pe,Rt)|0)+Math.imul(le,ct)|0,S=S+Math.imul(le,Rt)|0,j=j+Math.imul(ie,St)|0,k=(k=k+Math.imul(ie,Zt)|0)+Math.imul(he,St)|0,S=S+Math.imul(he,Zt)|0,j=j+Math.imul(fe,at)|0,k=(k=k+Math.imul(fe,Dt)|0)+Math.imul(se,at)|0,S=S+Math.imul(se,Dt)|0,j=j+Math.imul(te,xt)|0,k=(k=k+Math.imul(te,zt)|0)+Math.imul(ae,xt)|0,S=S+Math.imul(ae,zt)|0,j=j+Math.imul(X,vt)|0,k=(k=k+Math.imul(X,ve)|0)+Math.imul(re,vt)|0,S=S+Math.imul(re,ve)|0,j=j+Math.imul(ee,Ae)|0,k=(k=k+Math.imul(ee,Ue)|0)+Math.imul(F,Ae)|0,S=S+Math.imul(F,Ue)|0;var we=(B+(j=j+Math.imul(Q,We)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Q,wt)|0)+Math.imul(ne,We)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,wt)|0)+(k&gt;&gt;&gt;13)|0)+(we&gt;&gt;&gt;26)|0,we&amp;=67108863,j=Math.imul(Ke,$e),k=(k=Math.imul(Ke,Je))+Math.imul(it,$e)|0,S=Math.imul(it,Je),j=j+Math.imul(Ie,Ye)|0,k=(k=k+Math.imul(Ie,Tt)|0)+Math.imul(Ve,Ye)|0,S=S+Math.imul(Ve,Tt)|0,j=j+Math.imul(Se,ct)|0,k=(k=k+Math.imul(Se,Rt)|0)+Math.imul(Oe,ct)|0,S=S+Math.imul(Oe,Rt)|0,j=j+Math.imul(pe,St)|0,k=(k=k+Math.imul(pe,Zt)|0)+Math.imul(le,St)|0,S=S+Math.imul(le,Zt)|0,j=j+Math.imul(ie,at)|0,k=(k=k+Math.imul(ie,Dt)|0)+Math.imul(he,at)|0,S=S+Math.imul(he,Dt)|0,j=j+Math.imul(fe,xt)|0,k=(k=k+Math.imul(fe,zt)|0)+Math.imul(se,xt)|0,S=S+Math.imul(se,zt)|0,j=j+Math.imul(te,vt)|0,k=(k=k+Math.imul(te,ve)|0)+Math.imul(ae,vt)|0,S=S+Math.imul(ae,ve)|0,j=j+Math.imul(X,Ae)|0,k=(k=k+Math.imul(X,Ue)|0)+Math.imul(re,Ae)|0,S=S+Math.imul(re,Ue)|0,j=j+Math.imul(ee,We)|0,k=(k=k+Math.imul(ee,wt)|0)+Math.imul(F,We)|0,S=S+Math.imul(F,wt)|0;var Te=(B+(j=j+Math.imul(Q,rt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Q,kt)|0)+Math.imul(ne,rt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ne,kt)|0)+(k&gt;&gt;&gt;13)|0)+(Te&gt;&gt;&gt;26)|0,Te&amp;=67108863,j=Math.imul(Ke,Ye),k=(k=Math.imul(Ke,Tt))+Math.imul(it,Ye)|0,S=Math.imul(it,Tt),j=j+Math.imul(Ie,ct)|0,k=(k=k+Math.imul(Ie,Rt)|0)+Math.imul(Ve,ct)|0,S=S+Math.imul(Ve,Rt)|0,j=j+Math.imul(Se,St)|0,k=(k=k+Math.imul(Se,Zt)|0)+Math.imul(Oe,St)|0,S=S+Math.imul(Oe,Zt)|0,j=j+Math.imul(pe,at)|0,k=(k=k+Math.imul(pe,Dt)|0)+Math.imul(le,at)|0,S=S+Math.imul(le,Dt)|0,j=j+Math.imul(ie,xt)|0,k=(k=k+Math.imul(ie,zt)|0)+Math.imul(he,xt)|0,S=S+Math.imul(he,zt)|0,j=j+Math.imul(fe,vt)|0,k=(k=k+Math.imul(fe,ve)|0)+Math.imul(se,vt)|0,S=S+Math.imul(se,ve)|0,j=j+Math.imul(te,Ae)|0,k=(k=k+Math.imul(te,Ue)|0)+Math.imul(ae,Ae)|0,S=S+Math.imul(ae,Ue)|0,j=j+Math.imul(X,We)|0,k=(k=k+Math.imul(X,wt)|0)+Math.imul(re,We)|0,S=S+Math.imul(re,wt)|0;var Re=(B+(j=j+Math.imul(ee,rt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(ee,kt)|0)+Math.imul(F,rt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(F,kt)|0)+(k&gt;&gt;&gt;13)|0)+(Re&gt;&gt;&gt;26)|0,Re&amp;=67108863,j=Math.imul(Ke,ct),k=(k=Math.imul(Ke,Rt))+Math.imul(it,ct)|0,S=Math.imul(it,Rt),j=j+Math.imul(Ie,St)|0,k=(k=k+Math.imul(Ie,Zt)|0)+Math.imul(Ve,St)|0,S=S+Math.imul(Ve,Zt)|0,j=j+Math.imul(Se,at)|0,k=(k=k+Math.imul(Se,Dt)|0)+Math.imul(Oe,at)|0,S=S+Math.imul(Oe,Dt)|0,j=j+Math.imul(pe,xt)|0,k=(k=k+Math.imul(pe,zt)|0)+Math.imul(le,xt)|0,S=S+Math.imul(le,zt)|0,j=j+Math.imul(ie,vt)|0,k=(k=k+Math.imul(ie,ve)|0)+Math.imul(he,vt)|0,S=S+Math.imul(he,ve)|0,j=j+Math.imul(fe,Ae)|0,k=(k=k+Math.imul(fe,Ue)|0)+Math.imul(se,Ae)|0,S=S+Math.imul(se,Ue)|0,j=j+Math.imul(te,We)|0,k=(k=k+Math.imul(te,wt)|0)+Math.imul(ae,We)|0,S=S+Math.imul(ae,wt)|0;var et=(B+(j=j+Math.imul(X,rt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(X,kt)|0)+Math.imul(re,rt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(re,kt)|0)+(k&gt;&gt;&gt;13)|0)+(et&gt;&gt;&gt;26)|0,et&amp;=67108863,j=Math.imul(Ke,St),k=(k=Math.imul(Ke,Zt))+Math.imul(it,St)|0,S=Math.imul(it,Zt),j=j+Math.imul(Ie,at)|0,k=(k=k+Math.imul(Ie,Dt)|0)+Math.imul(Ve,at)|0,S=S+Math.imul(Ve,Dt)|0,j=j+Math.imul(Se,xt)|0,k=(k=k+Math.imul(Se,zt)|0)+Math.imul(Oe,xt)|0,S=S+Math.imul(Oe,zt)|0,j=j+Math.imul(pe,vt)|0,k=(k=k+Math.imul(pe,ve)|0)+Math.imul(le,vt)|0,S=S+Math.imul(le,ve)|0,j=j+Math.imul(ie,Ae)|0,k=(k=k+Math.imul(ie,Ue)|0)+Math.imul(he,Ae)|0,S=S+Math.imul(he,Ue)|0,j=j+Math.imul(fe,We)|0,k=(k=k+Math.imul(fe,wt)|0)+Math.imul(se,We)|0,S=S+Math.imul(se,wt)|0;var ze=(B+(j=j+Math.imul(te,rt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(te,kt)|0)+Math.imul(ae,rt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(ae,kt)|0)+(k&gt;&gt;&gt;13)|0)+(ze&gt;&gt;&gt;26)|0,ze&amp;=67108863,j=Math.imul(Ke,at),k=(k=Math.imul(Ke,Dt))+Math.imul(it,at)|0,S=Math.imul(it,Dt),j=j+Math.imul(Ie,xt)|0,k=(k=k+Math.imul(Ie,zt)|0)+Math.imul(Ve,xt)|0,S=S+Math.imul(Ve,zt)|0,j=j+Math.imul(Se,vt)|0,k=(k=k+Math.imul(Se,ve)|0)+Math.imul(Oe,vt)|0,S=S+Math.imul(Oe,ve)|0,j=j+Math.imul(pe,Ae)|0,k=(k=k+Math.imul(pe,Ue)|0)+Math.imul(le,Ae)|0,S=S+Math.imul(le,Ue)|0,j=j+Math.imul(ie,We)|0,k=(k=k+Math.imul(ie,wt)|0)+Math.imul(he,We)|0,S=S+Math.imul(he,wt)|0;var He=(B+(j=j+Math.imul(fe,rt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(fe,kt)|0)+Math.imul(se,rt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(se,kt)|0)+(k&gt;&gt;&gt;13)|0)+(He&gt;&gt;&gt;26)|0,He&amp;=67108863,j=Math.imul(Ke,xt),k=(k=Math.imul(Ke,zt))+Math.imul(it,xt)|0,S=Math.imul(it,zt),j=j+Math.imul(Ie,vt)|0,k=(k=k+Math.imul(Ie,ve)|0)+Math.imul(Ve,vt)|0,S=S+Math.imul(Ve,ve)|0,j=j+Math.imul(Se,Ae)|0,k=(k=k+Math.imul(Se,Ue)|0)+Math.imul(Oe,Ae)|0,S=S+Math.imul(Oe,Ue)|0,j=j+Math.imul(pe,We)|0,k=(k=k+Math.imul(pe,wt)|0)+Math.imul(le,We)|0,S=S+Math.imul(le,wt)|0;var Ft=(B+(j=j+Math.imul(ie,rt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(ie,kt)|0)+Math.imul(he,rt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(he,kt)|0)+(k&gt;&gt;&gt;13)|0)+(Ft&gt;&gt;&gt;26)|0,Ft&amp;=67108863,j=Math.imul(Ke,vt),k=(k=Math.imul(Ke,ve))+Math.imul(it,vt)|0,S=Math.imul(it,ve),j=j+Math.imul(Ie,Ae)|0,k=(k=k+Math.imul(Ie,Ue)|0)+Math.imul(Ve,Ae)|0,S=S+Math.imul(Ve,Ue)|0,j=j+Math.imul(Se,We)|0,k=(k=k+Math.imul(Se,wt)|0)+Math.imul(Oe,We)|0,S=S+Math.imul(Oe,wt)|0;var Mt=(B+(j=j+Math.imul(pe,rt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(pe,kt)|0)+Math.imul(le,rt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(le,kt)|0)+(k&gt;&gt;&gt;13)|0)+(Mt&gt;&gt;&gt;26)|0,Mt&amp;=67108863,j=Math.imul(Ke,Ae),k=(k=Math.imul(Ke,Ue))+Math.imul(it,Ae)|0,S=Math.imul(it,Ue),j=j+Math.imul(Ie,We)|0,k=(k=k+Math.imul(Ie,wt)|0)+Math.imul(Ve,We)|0,S=S+Math.imul(Ve,wt)|0;var jt=(B+(j=j+Math.imul(Se,rt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Se,kt)|0)+Math.imul(Oe,rt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(Oe,kt)|0)+(k&gt;&gt;&gt;13)|0)+(jt&gt;&gt;&gt;26)|0,jt&amp;=67108863,j=Math.imul(Ke,We),k=(k=Math.imul(Ke,wt))+Math.imul(it,We)|0,S=Math.imul(it,wt);var yt=(B+(j=j+Math.imul(Ie,rt)|0)|0)+((8191&amp;(k=(k=k+Math.imul(Ie,kt)|0)+Math.imul(Ve,rt)|0))&lt;&lt;13)|0;B=((S=S+Math.imul(Ve,kt)|0)+(k&gt;&gt;&gt;13)|0)+(yt&gt;&gt;&gt;26)|0,yt&amp;=67108863;var Et=(B+(j=Math.imul(Ke,rt))|0)+((8191&amp;(k=(k=Math.imul(Ke,kt))+Math.imul(it,rt)|0))&lt;&lt;13)|0;return B=((S=Math.imul(it,kt))+(k&gt;&gt;&gt;13)|0)+(Et&gt;&gt;&gt;26)|0,Et&amp;=67108863,R[0]=_t,R[1]=At,R[2]=Jt,R[3]=Me,R[4]=Pt,R[5]=Vt,R[6]=er,R[7]=de,R[8]=we,R[9]=Te,R[10]=Re,R[11]=et,R[12]=ze,R[13]=He,R[14]=Ft,R[15]=Mt,R[16]=jt,R[17]=yt,R[18]=Et,B!==0&amp;&amp;(R[19]=B,C.length++),C};function _(O,I,C){return new E().mulp(O,I,C)}function E(O,I){this.x=O,this.y=I}Math.imul||(x=b),s.prototype.mulTo=function(O,I){var C=this.length+O.length;return this.length===10&amp;&amp;O.length===10?x(this,O,I):C&lt;63?b(this,O,I):C&lt;1024?(function(j,k,S){S.negative=k.negative^j.negative,S.length=j.length+k.length;for(var N=0,T=0,R=0;R&lt;S.length-1;R++){var B=T;T=0;for(var Y=67108863&amp;N,Q=Math.min(R,k.length-1),ne=Math.max(0,R-j.length+1);ne&lt;=Q;ne++){var U=R-ne,ee=(0|j.words[U])*(0|k.words[ne]),F=67108863&amp;ee;Y=67108863&amp;(F=F+Y|0),T+=(B=(B=B+(ee/67108864|0)|0)+(F&gt;&gt;&gt;26)|0)&gt;&gt;&gt;26,B&amp;=67108863}S.words[R]=Y,N=B,B=T}return N!==0?S.words[R]=N:S.length--,S.strip()})(this,O,I):_(this,O,I)},E.prototype.makeRBT=function(O){for(var I=new Array(O),C=s.prototype._countBits(O)-1,j=0;j&lt;O;j++)I[j]=this.revBin(j,C,O);return I},E.prototype.revBin=function(O,I,C){if(O===0||O===C-1)return O;for(var j=0,k=0;k&lt;I;k++)j|=(1&amp;O)&lt;&lt;I-k-1,O&gt;&gt;=1;return j},E.prototype.permute=function(O,I,C,j,k,S){for(var N=0;N&lt;S;N++)j[N]=I[O[N]],k[N]=C[O[N]]},E.prototype.transform=function(O,I,C,j,k,S){this.permute(S,O,I,C,j,k);for(var N=1;N&lt;k;N&lt;&lt;=1)for(var T=N&lt;&lt;1,R=Math.cos(2*Math.PI/T),B=Math.sin(2*Math.PI/T),Y=0;Y&lt;k;Y+=T)for(var Q=R,ne=B,U=0;U&lt;N;U++){var ee=C[Y+U],F=j[Y+U],P=C[Y+U+N],X=j[Y+U+N],re=Q*P-ne*X;X=Q*X+ne*P,P=re,C[Y+U]=ee+P,j[Y+U]=F+X,C[Y+U+N]=ee-P,j[Y+U+N]=F-X,U!==T&amp;&amp;(re=R*Q-B*ne,ne=R*ne+B*Q,Q=re)}},E.prototype.guessLen13b=function(O,I){var C=1|Math.max(I,O),j=1&amp;C,k=0;for(C=C/2|0;C;C&gt;&gt;&gt;=1)k++;return 1&lt;&lt;k+1+j},E.prototype.conjugate=function(O,I,C){if(!(C&lt;=1))for(var j=0;j&lt;C/2;j++){var k=O[j];O[j]=O[C-j-1],O[C-j-1]=k,k=I[j],I[j]=-I[C-j-1],I[C-j-1]=-k}},E.prototype.normalize13b=function(O,I){for(var C=0,j=0;j&lt;I/2;j++){var k=8192*Math.round(O[2*j+1]/I)+Math.round(O[2*j]/I)+C;O[j]=67108863&amp;k,C=k&lt;67108864?0:k/67108864|0}return O},E.prototype.convert13b=function(O,I,C,j){for(var k=0,S=0;S&lt;I;S++)k+=0|O[S],C[2*S]=8191&amp;k,k&gt;&gt;&gt;=13,C[2*S+1]=8191&amp;k,k&gt;&gt;&gt;=13;for(S=2*I;S&lt;j;++S)C[S]=0;u(k===0),u((-8192&amp;k)==0)},E.prototype.stub=function(O){for(var I=new Array(O),C=0;C&lt;O;C++)I[C]=0;return I},E.prototype.mulp=function(O,I,C){var j=2*this.guessLen13b(O.length,I.length),k=this.makeRBT(j),S=this.stub(j),N=new Array(j),T=new Array(j),R=new Array(j),B=new Array(j),Y=new Array(j),Q=new Array(j),ne=C.words;ne.length=j,this.convert13b(O.words,O.length,N,j),this.convert13b(I.words,I.length,B,j),this.transform(N,S,T,R,j,k),this.transform(B,S,Y,Q,j,k);for(var U=0;U&lt;j;U++){var ee=T[U]*Y[U]-R[U]*Q[U];R[U]=T[U]*Q[U]+R[U]*Y[U],T[U]=ee}return this.conjugate(T,R,j),this.transform(T,R,ne,S,j,k),this.conjugate(ne,S,j),this.normalize13b(ne,j),C.negative=O.negative^I.negative,C.length=O.length+I.length,C.strip()},s.prototype.mul=function(O){var I=new s(null);return I.words=new Array(this.length+O.length),this.mulTo(O,I)},s.prototype.mulf=function(O){var I=new s(null);return I.words=new Array(this.length+O.length),_(this,O,I)},s.prototype.imul=function(O){return this.clone().mulTo(O,this)},s.prototype.imuln=function(O){u(typeof O==&quot;number&quot;),u(O&lt;67108864);for(var I=0,C=0;C&lt;this.length;C++){var j=(0|this.words[C])*O,k=(67108863&amp;j)+(67108863&amp;I);I&gt;&gt;=26,I+=j/67108864|0,I+=k&gt;&gt;&gt;26,this.words[C]=67108863&amp;k}return I!==0&amp;&amp;(this.words[C]=I,this.length++),this},s.prototype.muln=function(O){return this.clone().imuln(O)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(O){var I=(function(S){for(var N=new Array(S.bitLength()),T=0;T&lt;N.length;T++){var R=T/26|0,B=T%26;N[T]=(S.words[R]&amp;1&lt;&lt;B)&gt;&gt;&gt;B}return N})(O);if(I.length===0)return new s(1);for(var C=this,j=0;j&lt;I.length&amp;&amp;I[j]===0;j++,C=C.sqr());if(++j&lt;I.length)for(var k=C.sqr();j&lt;I.length;j++,k=k.sqr())I[j]!==0&amp;&amp;(C=C.mul(k));return C},s.prototype.iushln=function(O){u(typeof O==&quot;number&quot;&amp;&amp;O&gt;=0);var I,C=O%26,j=(O-C)/26,k=67108863&gt;&gt;&gt;26-C&lt;&lt;26-C;if(C!==0){var S=0;for(I=0;I&lt;this.length;I++){var N=this.words[I]&amp;k,T=(0|this.words[I])-N&lt;&lt;C;this.words[I]=T|S,S=N&gt;&gt;&gt;26-C}S&amp;&amp;(this.words[I]=S,this.length++)}if(j!==0){for(I=this.length-1;I&gt;=0;I--)this.words[I+j]=this.words[I];for(I=0;I&lt;j;I++)this.words[I]=0;this.length+=j}return this.strip()},s.prototype.ishln=function(O){return u(this.negative===0),this.iushln(O)},s.prototype.iushrn=function(O,I,C){var j;u(typeof O==&quot;number&quot;&amp;&amp;O&gt;=0),j=I?(I-I%26)/26:0;var k=O%26,S=Math.min((O-k)/26,this.length),N=67108863^67108863&gt;&gt;&gt;k&lt;&lt;k,T=C;if(j-=S,j=Math.max(0,j),T){for(var R=0;R&lt;S;R++)T.words[R]=this.words[R];T.length=S}if(S!==0)if(this.length&gt;S)for(this.length-=S,R=0;R&lt;this.length;R++)this.words[R]=this.words[R+S];else this.words[0]=0,this.length=1;var B=0;for(R=this.length-1;R&gt;=0&amp;&amp;(B!==0||R&gt;=j);R--){var Y=0|this.words[R];this.words[R]=B&lt;&lt;26-k|Y&gt;&gt;&gt;k,B=Y&amp;N}return T&amp;&amp;B!==0&amp;&amp;(T.words[T.length++]=B),this.length===0&amp;&amp;(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(O,I,C){return u(this.negative===0),this.iushrn(O,I,C)},s.prototype.shln=function(O){return this.clone().ishln(O)},s.prototype.ushln=function(O){return this.clone().iushln(O)},s.prototype.shrn=function(O){return this.clone().ishrn(O)},s.prototype.ushrn=function(O){return this.clone().iushrn(O)},s.prototype.testn=function(O){u(typeof O==&quot;number&quot;&amp;&amp;O&gt;=0);var I=O%26,C=(O-I)/26,j=1&lt;&lt;I;return!(this.length&lt;=C)&amp;&amp;!!(this.words[C]&amp;j)},s.prototype.imaskn=function(O){u(typeof O==&quot;number&quot;&amp;&amp;O&gt;=0);var I=O%26,C=(O-I)/26;if(u(this.negative===0,&quot;imaskn works only with positive numbers&quot;),this.length&lt;=C)return this;if(I!==0&amp;&amp;C++,this.length=Math.min(C,this.length),I!==0){var j=67108863^67108863&gt;&gt;&gt;I&lt;&lt;I;this.words[this.length-1]&amp;=j}return this.strip()},s.prototype.maskn=function(O){return this.clone().imaskn(O)},s.prototype.iaddn=function(O){return u(typeof O==&quot;number&quot;),u(O&lt;67108864),O&lt;0?this.isubn(-O):this.negative!==0?this.length===1&amp;&amp;(0|this.words[0])&lt;O?(this.words[0]=O-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(O),this.negative=1,this):this._iaddn(O)},s.prototype._iaddn=function(O){this.words[0]+=O;for(var I=0;I&lt;this.length&amp;&amp;this.words[I]&gt;=67108864;I++)this.words[I]-=67108864,I===this.length-1?this.words[I+1]=1:this.words[I+1]++;return this.length=Math.max(this.length,I+1),this},s.prototype.isubn=function(O){if(u(typeof O==&quot;number&quot;),u(O&lt;67108864),O&lt;0)return this.iaddn(-O);if(this.negative!==0)return this.negative=0,this.iaddn(O),this.negative=1,this;if(this.words[0]-=O,this.length===1&amp;&amp;this.words[0]&lt;0)this.words[0]=-this.words[0],this.negative=1;else for(var I=0;I&lt;this.length&amp;&amp;this.words[I]&lt;0;I++)this.words[I]+=67108864,this.words[I+1]-=1;return this.strip()},s.prototype.addn=function(O){return this.clone().iaddn(O)},s.prototype.subn=function(O){return this.clone().isubn(O)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(O,I,C){var j,k,S=O.length+C;this._expand(S);var N=0;for(j=0;j&lt;O.length;j++){k=(0|this.words[j+C])+N;var T=(0|O.words[j])*I;N=((k-=67108863&amp;T)&gt;&gt;26)-(T/67108864|0),this.words[j+C]=67108863&amp;k}for(;j&lt;this.length-C;j++)N=(k=(0|this.words[j+C])+N)&gt;&gt;26,this.words[j+C]=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(O,I){var C=(this.length,O.length),j=this.clone(),k=O,S=0|k.words[k.length-1];(C=26-this._countBits(S))!==0&amp;&amp;(k=k.ushln(C),j.iushln(C),S=0|k.words[k.length-1]);var N,T=j.length-k.length;if(I!==&quot;mod&quot;){(N=new s(null)).length=T+1,N.words=new Array(N.length);for(var R=0;R&lt;N.length;R++)N.words[R]=0}var B=j.clone()._ishlnsubmul(k,1,T);B.negative===0&amp;&amp;(j=B,N&amp;&amp;(N.words[T]=1));for(var Y=T-1;Y&gt;=0;Y--){var Q=67108864*(0|j.words[k.length+Y])+(0|j.words[k.length+Y-1]);for(Q=Math.min(Q/S|0,67108863),j._ishlnsubmul(k,Q,Y);j.negative!==0;)Q--,j.negative=0,j._ishlnsubmul(k,1,Y),j.isZero()||(j.negative^=1);N&amp;&amp;(N.words[Y]=Q)}return N&amp;&amp;N.strip(),j.strip(),I!==&quot;div&quot;&amp;&amp;C!==0&amp;&amp;j.iushrn(C),{div:N||null,mod:j}},s.prototype.divmod=function(O,I,C){return u(!O.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:this.negative!==0&amp;&amp;O.negative===0?(S=this.neg().divmod(O,I),I!==&quot;mod&quot;&amp;&amp;(j=S.div.neg()),I!==&quot;div&quot;&amp;&amp;(k=S.mod.neg(),C&amp;&amp;k.negative!==0&amp;&amp;k.iadd(O)),{div:j,mod:k}):this.negative===0&amp;&amp;O.negative!==0?(S=this.divmod(O.neg(),I),I!==&quot;mod&quot;&amp;&amp;(j=S.div.neg()),{div:j,mod:S.mod}):(this.negative&amp;O.negative)!=0?(S=this.neg().divmod(O.neg(),I),I!==&quot;div&quot;&amp;&amp;(k=S.mod.neg(),C&amp;&amp;k.negative!==0&amp;&amp;k.isub(O)),{div:S.div,mod:k}):O.length&gt;this.length||this.cmp(O)&lt;0?{div:new s(0),mod:this}:O.length===1?I===&quot;div&quot;?{div:this.divn(O.words[0]),mod:null}:I===&quot;mod&quot;?{div:null,mod:new s(this.modn(O.words[0]))}:{div:this.divn(O.words[0]),mod:new s(this.modn(O.words[0]))}:this._wordDiv(O,I);var j,k,S},s.prototype.div=function(O){return this.divmod(O,&quot;div&quot;,!1).div},s.prototype.mod=function(O){return this.divmod(O,&quot;mod&quot;,!1).mod},s.prototype.umod=function(O){return this.divmod(O,&quot;mod&quot;,!0).mod},s.prototype.divRound=function(O){var I=this.divmod(O);if(I.mod.isZero())return I.div;var C=I.div.negative!==0?I.mod.isub(O):I.mod,j=O.ushrn(1),k=O.andln(1),S=C.cmp(j);return S&lt;0||k===1&amp;&amp;S===0?I.div:I.div.negative!==0?I.div.isubn(1):I.div.iaddn(1)},s.prototype.modn=function(O){u(O&lt;=67108863);for(var I=(1&lt;&lt;26)%O,C=0,j=this.length-1;j&gt;=0;j--)C=(I*C+(0|this.words[j]))%O;return C},s.prototype.idivn=function(O){u(O&lt;=67108863);for(var I=0,C=this.length-1;C&gt;=0;C--){var j=(0|this.words[C])+67108864*I;this.words[C]=j/O|0,I=j%O}return this.strip()},s.prototype.divn=function(O){return this.clone().idivn(O)},s.prototype.egcd=function(O){u(O.negative===0),u(!O.isZero());var I=this,C=O.clone();I=I.negative!==0?I.umod(O):I.clone();for(var j=new s(1),k=new s(0),S=new s(0),N=new s(1),T=0;I.isEven()&amp;&amp;C.isEven();)I.iushrn(1),C.iushrn(1),++T;for(var R=C.clone(),B=I.clone();!I.isZero();){for(var Y=0,Q=1;(I.words[0]&amp;Q)==0&amp;&amp;Y&lt;26;++Y,Q&lt;&lt;=1);if(Y&gt;0)for(I.iushrn(Y);Y-- &gt;0;)(j.isOdd()||k.isOdd())&amp;&amp;(j.iadd(R),k.isub(B)),j.iushrn(1),k.iushrn(1);for(var ne=0,U=1;(C.words[0]&amp;U)==0&amp;&amp;ne&lt;26;++ne,U&lt;&lt;=1);if(ne&gt;0)for(C.iushrn(ne);ne-- &gt;0;)(S.isOdd()||N.isOdd())&amp;&amp;(S.iadd(R),N.isub(B)),S.iushrn(1),N.iushrn(1);I.cmp(C)&gt;=0?(I.isub(C),j.isub(S),k.isub(N)):(C.isub(I),S.isub(j),N.isub(k))}return{a:S,b:N,gcd:C.iushln(T)}},s.prototype._invmp=function(O){u(O.negative===0),u(!O.isZero());var I=this,C=O.clone();I=I.negative!==0?I.umod(O):I.clone();for(var j,k=new s(1),S=new s(0),N=C.clone();I.cmpn(1)&gt;0&amp;&amp;C.cmpn(1)&gt;0;){for(var T=0,R=1;(I.words[0]&amp;R)==0&amp;&amp;T&lt;26;++T,R&lt;&lt;=1);if(T&gt;0)for(I.iushrn(T);T-- &gt;0;)k.isOdd()&amp;&amp;k.iadd(N),k.iushrn(1);for(var B=0,Y=1;(C.words[0]&amp;Y)==0&amp;&amp;B&lt;26;++B,Y&lt;&lt;=1);if(B&gt;0)for(C.iushrn(B);B-- &gt;0;)S.isOdd()&amp;&amp;S.iadd(N),S.iushrn(1);I.cmp(C)&gt;=0?(I.isub(C),k.isub(S)):(C.isub(I),S.isub(k))}return(j=I.cmpn(1)===0?k:S).cmpn(0)&lt;0&amp;&amp;j.iadd(O),j},s.prototype.gcd=function(O){if(this.isZero())return O.abs();if(O.isZero())return this.abs();var I=this.clone(),C=O.clone();I.negative=0,C.negative=0;for(var j=0;I.isEven()&amp;&amp;C.isEven();j++)I.iushrn(1),C.iushrn(1);for(;;){for(;I.isEven();)I.iushrn(1);for(;C.isEven();)C.iushrn(1);var k=I.cmp(C);if(k&lt;0){var S=I;I=C,C=S}else if(k===0||C.cmpn(1)===0)break;I.isub(C)}return C.iushln(j)},s.prototype.invm=function(O){return this.egcd(O).a.umod(O)},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(O){return this.words[0]&amp;O},s.prototype.bincn=function(O){u(typeof O==&quot;number&quot;);var I=O%26,C=(O-I)/26,j=1&lt;&lt;I;if(this.length&lt;=C)return this._expand(C+1),this.words[C]|=j,this;for(var k=j,S=C;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(O){var I,C=O&lt;0;if(this.negative!==0&amp;&amp;!C)return-1;if(this.negative===0&amp;&amp;C)return 1;if(this.strip(),this.length&gt;1)I=1;else{C&amp;&amp;(O=-O),u(O&lt;=67108863,&quot;Number is too big&quot;);var j=0|this.words[0];I=j===O?0:j&lt;O?-1:1}return this.negative!==0?0|-I:I},s.prototype.cmp=function(O){if(this.negative!==0&amp;&amp;O.negative===0)return-1;if(this.negative===0&amp;&amp;O.negative!==0)return 1;var I=this.ucmp(O);return this.negative!==0?0|-I:I},s.prototype.ucmp=function(O){if(this.length&gt;O.length)return 1;if(this.length&lt;O.length)return-1;for(var I=0,C=this.length-1;C&gt;=0;C--){var j=0|this.words[C],k=0|O.words[C];if(j!==k){j&lt;k?I=-1:j&gt;k&amp;&amp;(I=1);break}}return I},s.prototype.gtn=function(O){return this.cmpn(O)===1},s.prototype.gt=function(O){return this.cmp(O)===1},s.prototype.gten=function(O){return this.cmpn(O)&gt;=0},s.prototype.gte=function(O){return this.cmp(O)&gt;=0},s.prototype.ltn=function(O){return this.cmpn(O)===-1},s.prototype.lt=function(O){return this.cmp(O)===-1},s.prototype.lten=function(O){return this.cmpn(O)&lt;=0},s.prototype.lte=function(O){return this.cmp(O)&lt;=0},s.prototype.eqn=function(O){return this.cmpn(O)===0},s.prototype.eq=function(O){return this.cmp(O)===0},s.red=function(O){return new K(O)},s.prototype.toRed=function(O){return u(!this.red,&quot;Already a number in reduction context&quot;),u(this.negative===0,&quot;red works only with positives&quot;),O.convertTo(this)._forceRed(O)},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(O){return this.red=O,this},s.prototype.forceRed=function(O){return u(!this.red,&quot;Already a number in reduction context&quot;),this._forceRed(O)},s.prototype.redAdd=function(O){return u(this.red,&quot;redAdd works only with red numbers&quot;),this.red.add(this,O)},s.prototype.redIAdd=function(O){return u(this.red,&quot;redIAdd works only with red numbers&quot;),this.red.iadd(this,O)},s.prototype.redSub=function(O){return u(this.red,&quot;redSub works only with red numbers&quot;),this.red.sub(this,O)},s.prototype.redISub=function(O){return u(this.red,&quot;redISub works only with red numbers&quot;),this.red.isub(this,O)},s.prototype.redShl=function(O){return u(this.red,&quot;redShl works only with red numbers&quot;),this.red.shl(this,O)},s.prototype.redMul=function(O){return u(this.red,&quot;redMul works only with red numbers&quot;),this.red._verify2(this,O),this.red.mul(this,O)},s.prototype.redIMul=function(O){return u(this.red,&quot;redMul works only with red numbers&quot;),this.red._verify2(this,O),this.red.imul(this,O)},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(O){return u(this.red&amp;&amp;!O.red,&quot;redPow(normalNum)&quot;),this.red._verify1(this),this.red.pow(this,O)};var M={k256:null,p224:null,p192:null,p25519:null};function D(O,I){this.name=O,this.p=new s(I,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function W(){D.call(this,&quot;k256&quot;,&quot;ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f&quot;)}function L(){D.call(this,&quot;p224&quot;,&quot;ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001&quot;)}function V(){D.call(this,&quot;p192&quot;,&quot;ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff&quot;)}function H(){D.call(this,&quot;25519&quot;,&quot;7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed&quot;)}function K(O){if(typeof O==&quot;string&quot;){var I=s._prime(O);this.m=I.p,this.prime=I}else u(O.gtn(1),&quot;modulus must be greater than 1&quot;),this.m=O,this.prime=null}function z(O){K.call(this,O),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)}D.prototype._tmp=function(){var O=new s(null);return O.words=new Array(Math.ceil(this.n/13)),O},D.prototype.ireduce=function(O){var I,C=O;do this.split(C,this.tmp),I=(C=(C=this.imulK(C)).iadd(this.tmp)).bitLength();while(I&gt;this.n);var j=I&lt;this.n?-1:C.ucmp(this.p);return j===0?(C.words[0]=0,C.length=1):j&gt;0?C.isub(this.p):C.strip!==void 0?C.strip():C._strip(),C},D.prototype.split=function(O,I){O.iushrn(this.n,0,I)},D.prototype.imulK=function(O){return O.imul(this.k)},l(W,D),W.prototype.split=function(O,I){for(var C=Math.min(O.length,9),j=0;j&lt;C;j++)I.words[j]=O.words[j];if(I.length=C,O.length&lt;=9)return O.words[0]=0,void(O.length=1);var k=O.words[9];for(I.words[I.length++]=4194303&amp;k,j=10;j&lt;O.length;j++){var S=0|O.words[j];O.words[j-10]=(4194303&amp;S)&lt;&lt;4|k&gt;&gt;&gt;22,k=S}k&gt;&gt;&gt;=22,O.words[j-10]=k,k===0&amp;&amp;O.length&gt;10?O.length-=10:O.length-=9},W.prototype.imulK=function(O){O.words[O.length]=0,O.words[O.length+1]=0,O.length+=2;for(var I=0,C=0;C&lt;O.length;C++){var j=0|O.words[C];I+=977*j,O.words[C]=67108863&amp;I,I=64*j+(I/67108864|0)}return O.words[O.length-1]===0&amp;&amp;(O.length--,O.words[O.length-1]===0&amp;&amp;O.length--),O},l(L,D),l(V,D),l(H,D),H.prototype.imulK=function(O){for(var I=0,C=0;C&lt;O.length;C++){var j=19*(0|O.words[C])+I,k=67108863&amp;j;j&gt;&gt;&gt;=26,O.words[C]=k,I=j}return I!==0&amp;&amp;(O.words[O.length++]=I),O},s._prime=function(O){if(M[O])return M[O];var I;if(O===&quot;k256&quot;)I=new W;else if(O===&quot;p224&quot;)I=new L;else if(O===&quot;p192&quot;)I=new V;else{if(O!==&quot;p25519&quot;)throw new Error(&quot;Unknown prime &quot;+O);I=new H}return M[O]=I,I},K.prototype._verify1=function(O){u(O.negative===0,&quot;red works only with positives&quot;),u(O.red,&quot;red works only with red numbers&quot;)},K.prototype._verify2=function(O,I){u((O.negative|I.negative)==0,&quot;red works only with positives&quot;),u(O.red&amp;&amp;O.red===I.red,&quot;red works only with red numbers&quot;)},K.prototype.imod=function(O){return this.prime?this.prime.ireduce(O)._forceRed(this):O.umod(this.m)._forceRed(this)},K.prototype.neg=function(O){return O.isZero()?O.clone():this.m.sub(O)._forceRed(this)},K.prototype.add=function(O,I){this._verify2(O,I);var C=O.add(I);return C.cmp(this.m)&gt;=0&amp;&amp;C.isub(this.m),C._forceRed(this)},K.prototype.iadd=function(O,I){this._verify2(O,I);var C=O.iadd(I);return C.cmp(this.m)&gt;=0&amp;&amp;C.isub(this.m),C},K.prototype.sub=function(O,I){this._verify2(O,I);var C=O.sub(I);return C.cmpn(0)&lt;0&amp;&amp;C.iadd(this.m),C._forceRed(this)},K.prototype.isub=function(O,I){this._verify2(O,I);var C=O.isub(I);return C.cmpn(0)&lt;0&amp;&amp;C.iadd(this.m),C},K.prototype.shl=function(O,I){return this._verify1(O),this.imod(O.ushln(I))},K.prototype.imul=function(O,I){return this._verify2(O,I),this.imod(O.imul(I))},K.prototype.mul=function(O,I){return this._verify2(O,I),this.imod(O.mul(I))},K.prototype.isqr=function(O){return this.imul(O,O.clone())},K.prototype.sqr=function(O){return this.mul(O,O)},K.prototype.sqrt=function(O){if(O.isZero())return O.clone();var I=this.m.andln(3);if(u(I%2==1),I===3){var C=this.m.add(new s(1)).iushrn(2);return this.pow(O,C)}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(),T=this.m.subn(1).iushrn(1),R=this.m.bitLength();for(R=new s(2*R*R).toRed(this);this.pow(R,T).cmp(N)!==0;)R.redIAdd(N);for(var B=this.pow(R,j),Y=this.pow(O,j.addn(1).iushrn(1)),Q=this.pow(O,j),ne=k;Q.cmp(S)!==0;){for(var U=Q,ee=0;U.cmp(S)!==0;ee++)U=U.redSqr();u(ee&lt;ne);var F=this.pow(B,new s(1).iushln(ne-ee-1));Y=Y.redMul(F),B=F.redSqr(),Q=Q.redMul(B),ne=ee}return Y},K.prototype.invm=function(O){var I=O._invmp(this.m);return I.negative!==0?(I.negative=0,this.imod(I).redNeg()):this.imod(I)},K.prototype.pow=function(O,I){if(I.isZero())return new s(1).toRed(this);if(I.cmpn(1)===0)return O.clone();var C=new Array(16);C[0]=new s(1).toRed(this),C[1]=O;for(var j=2;j&lt;C.length;j++)C[j]=this.mul(C[j-1],O);var k=C[0],S=0,N=0,T=I.bitLength()%26;for(T===0&amp;&amp;(T=26),j=I.length-1;j&gt;=0;j--){for(var R=I.words[j],B=T-1;B&gt;=0;B--){var Y=R&gt;&gt;B&amp;1;k!==C[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,C[S]),N=0,S=0)):N=0}T=26}return k},K.prototype.convertTo=function(O){var I=O.umod(this.m);return I===O?I.clone():I},K.prototype.convertFrom=function(O){var I=O.clone();return I.red=null,I},s.mont=function(O){return new z(O)},l(z,K),z.prototype.convertTo=function(O){return this.imod(O.ushln(this.shift))},z.prototype.convertFrom=function(O){var I=this.imod(O.mul(this.rinv));return I.red=null,I},z.prototype.imul=function(O,I){if(O.isZero()||I.isZero())return O.words[0]=0,O.length=1,O;var C=O.imul(I),j=C.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),k=C.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)},z.prototype.mul=function(O,I){if(O.isZero()||I.isZero())return new s(0)._forceRed(this);var C=O.mul(I),j=C.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),k=C.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)},z.prototype.invm=function(O){return this.imod(O._invmp(this.m).mul(this.r2))._forceRed(this)}})(n===void 0||n)},{buffer:188}],185:[function(t,n,o){o.byteLength=function(d){var g=m(d),y=g[0],p=g[1];return 3*(y+p)/4-p},o.toByteArray=function(d){var g,y,p=m(d),b=p[0],x=p[1],_=new u((function(D,W,L){return 3*(W+L)/4-L})(0,b,x)),E=0,M=x&gt;0?b-4:b;for(y=0;y&lt;M;y+=4)g=a[d.charCodeAt(y)]&lt;&lt;18|a[d.charCodeAt(y+1)]&lt;&lt;12|a[d.charCodeAt(y+2)]&lt;&lt;6|a[d.charCodeAt(y+3)],_[E++]=g&gt;&gt;16&amp;255,_[E++]=g&gt;&gt;8&amp;255,_[E++]=255&amp;g;return x===2&amp;&amp;(g=a[d.charCodeAt(y)]&lt;&lt;2|a[d.charCodeAt(y+1)]&gt;&gt;4,_[E++]=255&amp;g),x===1&amp;&amp;(g=a[d.charCodeAt(y)]&lt;&lt;10|a[d.charCodeAt(y+1)]&lt;&lt;4|a[d.charCodeAt(y+2)]&gt;&gt;2,_[E++]=g&gt;&gt;8&amp;255,_[E++]=255&amp;g),_},o.fromByteArray=function(d){for(var g,y=d.length,p=y%3,b=[],x=0,_=y-p;x&lt;_;x+=16383)b.push(h(d,x,x+16383&gt;_?_:x+16383));return p===1?(g=d[y-1],b.push(i[g&gt;&gt;2]+i[g&lt;&lt;4&amp;63]+&quot;==&quot;)):p===2&amp;&amp;(g=(d[y-2]&lt;&lt;8)+d[y-1],b.push(i[g&gt;&gt;10]+i[g&gt;&gt;4&amp;63]+i[g&lt;&lt;2&amp;63]+&quot;=&quot;)),b.join(&quot;&quot;)};for(var i=[],a=[],u=typeof Uint8Array&lt;&quot;u&quot;?Uint8Array:Array,l=&quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/&quot;,s=0,c=l.length;s&lt;c;++s)i[s]=l[s],a[l.charCodeAt(s)]=s;function m(d){var g=d.length;if(g%4&gt;0)throw new Error(&quot;Invalid string. Length must be a multiple of 4&quot;);var y=d.indexOf(&quot;=&quot;);return y===-1&amp;&amp;(y=g),[y,y===g?0:4-y%4]}function h(d,g,y){for(var p,b,x=[],_=g;_&lt;y;_+=3)p=(d[_]&lt;&lt;16&amp;16711680)+(d[_+1]&lt;&lt;8&amp;65280)+(255&amp;d[_+2]),x.push(i[(b=p)&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,o){(function(i,a){function u(C,j){if(!C)throw new Error(j||&quot;Assertion failed&quot;)}function l(C,j){C.super_=j;var k=function(){};k.prototype=j.prototype,C.prototype=new k,C.prototype.constructor=C}function s(C,j,k){if(s.isBN(C))return C;this.negative=0,this.words=null,this.length=0,this.red=null,C!==null&amp;&amp;(j!==&quot;le&quot;&amp;&amp;j!==&quot;be&quot;||(k=j,j=10),this._init(C||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 m(C,j){var k=C.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;+C)}function h(C,j,k){var S=m(C,k);return k-1&gt;=j&amp;&amp;(S|=m(C,k-1)&lt;&lt;4),S}function d(C,j,k,S){for(var N=0,T=0,R=Math.min(C.length,k),B=j;B&lt;R;B++){var Y=C.charCodeAt(B)-48;N*=S,T=Y&gt;=49?Y-49+10:Y&gt;=17?Y-17+10:Y,u(Y&gt;=0&amp;&amp;T&lt;S,&quot;Invalid character&quot;),N+=T}return N}function g(C,j){C.words=j.words,C.length=j.length,C.negative=j.negative,C.red=j.red}if(s.isBN=function(C){return C instanceof s||C!==null&amp;&amp;typeof C==&quot;object&quot;&amp;&amp;C.constructor.wordSize===s.wordSize&amp;&amp;Array.isArray(C.words)},s.max=function(C,j){return C.cmp(j)&gt;0?C:j},s.min=function(C,j){return C.cmp(j)&lt;0?C:j},s.prototype._init=function(C,j,k){if(typeof C==&quot;number&quot;)return this._initNumber(C,j,k);if(typeof C==&quot;object&quot;)return this._initArray(C,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;(C=C.toString().replace(/\s+/g,&quot;&quot;))[0]===&quot;-&quot;&amp;&amp;(S++,this.negative=1),S&lt;C.length&amp;&amp;(j===16?this._parseHex(C,S,k):(this._parseBase(C,j,S),k===&quot;le&quot;&amp;&amp;this._initArray(this.toArray(),j,k)))},s.prototype._initNumber=function(C,j,k){C&lt;0&amp;&amp;(this.negative=1,C=-C),C&lt;67108864?(this.words=[67108863&amp;C],this.length=1):C&lt;4503599627370496?(this.words=[67108863&amp;C,C/67108864&amp;67108863],this.length=2):(u(C&lt;9007199254740992),this.words=[67108863&amp;C,C/67108864&amp;67108863,1],this.length=3),k===&quot;le&quot;&amp;&amp;this._initArray(this.toArray(),j,k)},s.prototype._initArray=function(C,j,k){if(u(typeof C.length==&quot;number&quot;),C.length&lt;=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(C.length/3),this.words=new Array(this.length);for(var S=0;S&lt;this.length;S++)this.words[S]=0;var N,T,R=0;if(k===&quot;be&quot;)for(S=C.length-1,N=0;S&gt;=0;S-=3)T=C[S]|C[S-1]&lt;&lt;8|C[S-2]&lt;&lt;16,this.words[N]|=T&lt;&lt;R&amp;67108863,this.words[N+1]=T&gt;&gt;&gt;26-R&amp;67108863,(R+=24)&gt;=26&amp;&amp;(R-=26,N++);else if(k===&quot;le&quot;)for(S=0,N=0;S&lt;C.length;S+=3)T=C[S]|C[S+1]&lt;&lt;8|C[S+2]&lt;&lt;16,this.words[N]|=T&lt;&lt;R&amp;67108863,this.words[N+1]=T&gt;&gt;&gt;26-R&amp;67108863,(R+=24)&gt;=26&amp;&amp;(R-=26,N++);return this._strip()},s.prototype._parseHex=function(C,j,k){this.length=Math.ceil((C.length-j)/6),this.words=new Array(this.length);for(var S=0;S&lt;this.length;S++)this.words[S]=0;var N,T=0,R=0;if(k===&quot;be&quot;)for(S=C.length-1;S&gt;=j;S-=2)N=h(C,j,S)&lt;&lt;T,this.words[R]|=67108863&amp;N,T&gt;=18?(T-=18,R+=1,this.words[R]|=N&gt;&gt;&gt;26):T+=8;else for(S=(C.length-j)%2==0?j+1:j;S&lt;C.length;S+=2)N=h(C,j,S)&lt;&lt;T,this.words[R]|=67108863&amp;N,T&gt;=18?(T-=18,R+=1,this.words[R]|=N&gt;&gt;&gt;26):T+=8;this._strip()},s.prototype._parseBase=function(C,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 T=C.length-k,R=T%S,B=Math.min(T,T-R)+k,Y=0,Q=k;Q&lt;B;Q+=S)Y=d(C,Q,Q+S,j),this.imuln(N),this.words[0]+Y&lt;67108864?this.words[0]+=Y:this._iaddn(Y);if(R!==0){var ne=1;for(Y=d(C,Q,C.length,j),Q=0;Q&lt;R;Q++)ne*=j;this.imuln(ne),this.words[0]+Y&lt;67108864?this.words[0]+=Y:this._iaddn(Y)}this._strip()},s.prototype.copy=function(C){C.words=new Array(this.length);for(var j=0;j&lt;this.length;j++)C.words[j]=this.words[j];C.length=this.length,C.negative=this.negative,C.red=this.red},s.prototype._move=function(C){g(C,this)},s.prototype.clone=function(){var C=new s(null);return this.copy(C),C},s.prototype._expand=function(C){for(;this.length&lt;C;)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;)]=y}catch{s.prototype.inspect=y}else s.prototype.inspect=y;function y(){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;],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(C,j){var k;if(j=0|j||1,(C=C||10)===16||C===&quot;hex&quot;){k=&quot;&quot;;for(var S=0,N=0,T=0;T&lt;this.length;T++){var R=this.words[T],B=(16777215&amp;(R&lt;&lt;S|N)).toString(16);N=R&gt;&gt;&gt;24-S&amp;16777215,(S+=2)&gt;=26&amp;&amp;(S-=26,T--),k=N!==0||T!==this.length-1?p[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(C===(0|C)&amp;&amp;C&gt;=2&amp;&amp;C&lt;=36){var Y=b[C],Q=x[C];k=&quot;&quot;;var ne=this.clone();for(ne.negative=0;!ne.isZero();){var U=ne.modrn(Q).toString(C);k=(ne=ne.idivn(Q)).isZero()?U+k:p[Y-U.length]+U+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 C=this.words[0];return this.length===2?C+=67108864*this.words[1]:this.length===3&amp;&amp;this.words[2]===1?C+=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?-C:C},s.prototype.toJSON=function(){return this.toString(16,2)},c&amp;&amp;(s.prototype.toBuffer=function(C,j){return this.toArrayLike(c,C,j)}),s.prototype.toArray=function(C,j){return this.toArrayLike(Array,C,j)};function _(C,j,k){k.negative=j.negative^C.negative;var S=C.length+j.length|0;k.length=S,S=S-1|0;var N=0|C.words[0],T=0|j.words[0],R=N*T,B=67108863&amp;R,Y=R/67108864|0;k.words[0]=B;for(var Q=1;Q&lt;S;Q++){for(var ne=Y&gt;&gt;&gt;26,U=67108863&amp;Y,ee=Math.min(Q,j.length-1),F=Math.max(0,Q-C.length+1);F&lt;=ee;F++){var P=Q-F|0;ne+=(R=(N=0|C.words[P])*(T=0|j.words[F])+U)/67108864|0,U=67108863&amp;R}k.words[Q]=0|U,Y=0|ne}return Y!==0?k.words[Q]=0|Y:k.length--,k._strip()}s.prototype.toArrayLike=function(C,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 T=(function(R,B){return R.allocUnsafe?R.allocUnsafe(B):new R(B)})(C,N);return this[&quot;_toArrayLike&quot;+(j===&quot;le&quot;?&quot;LE&quot;:&quot;BE&quot;)](T,S),T},s.prototype._toArrayLikeLE=function(C,j){for(var k=0,S=0,N=0,T=0;N&lt;this.length;N++){var R=this.words[N]&lt;&lt;T|S;C[k++]=255&amp;R,k&lt;C.length&amp;&amp;(C[k++]=R&gt;&gt;8&amp;255),k&lt;C.length&amp;&amp;(C[k++]=R&gt;&gt;16&amp;255),T===6?(k&lt;C.length&amp;&amp;(C[k++]=R&gt;&gt;24&amp;255),S=0,T=0):(S=R&gt;&gt;&gt;24,T+=2)}if(k&lt;C.length)for(C[k++]=S;k&lt;C.length;)C[k++]=0},s.prototype._toArrayLikeBE=function(C,j){for(var k=C.length-1,S=0,N=0,T=0;N&lt;this.length;N++){var R=this.words[N]&lt;&lt;T|S;C[k--]=255&amp;R,k&gt;=0&amp;&amp;(C[k--]=R&gt;&gt;8&amp;255),k&gt;=0&amp;&amp;(C[k--]=R&gt;&gt;16&amp;255),T===6?(k&gt;=0&amp;&amp;(C[k--]=R&gt;&gt;24&amp;255),S=0,T=0):(S=R&gt;&gt;&gt;24,T+=2)}if(k&gt;=0)for(C[k--]=S;k&gt;=0;)C[k--]=0},Math.clz32?s.prototype._countBits=function(C){return 32-Math.clz32(C)}:s.prototype._countBits=function(C){var j=C,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(C){if(C===0)return 26;var j=C,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 C=this.words[this.length-1],j=this._countBits(C);return 26*(this.length-1)+j},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var C=0,j=0;j&lt;this.length;j++){var k=this._zeroBits(this.words[j]);if(C+=k,k!==26)break}return C},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(C){return this.negative!==0?this.abs().inotn(C).iaddn(1):this.clone()},s.prototype.fromTwos=function(C){return this.testn(C-1)?this.notn(C).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(C){for(;this.length&lt;C.length;)this.words[this.length++]=0;for(var j=0;j&lt;C.length;j++)this.words[j]=this.words[j]|C.words[j];return this._strip()},s.prototype.ior=function(C){return u((this.negative|C.negative)==0),this.iuor(C)},s.prototype.or=function(C){return this.length&gt;C.length?this.clone().ior(C):C.clone().ior(this)},s.prototype.uor=function(C){return this.length&gt;C.length?this.clone().iuor(C):C.clone().iuor(this)},s.prototype.iuand=function(C){var j;j=this.length&gt;C.length?C:this;for(var k=0;k&lt;j.length;k++)this.words[k]=this.words[k]&amp;C.words[k];return this.length=j.length,this._strip()},s.prototype.iand=function(C){return u((this.negative|C.negative)==0),this.iuand(C)},s.prototype.and=function(C){return this.length&gt;C.length?this.clone().iand(C):C.clone().iand(this)},s.prototype.uand=function(C){return this.length&gt;C.length?this.clone().iuand(C):C.clone().iuand(this)},s.prototype.iuxor=function(C){var j,k;this.length&gt;C.length?(j=this,k=C):(j=C,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(C){return u((this.negative|C.negative)==0),this.iuxor(C)},s.prototype.xor=function(C){return this.length&gt;C.length?this.clone().ixor(C):C.clone().ixor(this)},s.prototype.uxor=function(C){return this.length&gt;C.length?this.clone().iuxor(C):C.clone().iuxor(this)},s.prototype.inotn=function(C){u(typeof C==&quot;number&quot;&amp;&amp;C&gt;=0);var j=0|Math.ceil(C/26),k=C%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(C){return this.clone().inotn(C)},s.prototype.setn=function(C,j){u(typeof C==&quot;number&quot;&amp;&amp;C&gt;=0);var k=C/26|0,S=C%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(C){var j,k,S;if(this.negative!==0&amp;&amp;C.negative===0)return this.negative=0,j=this.isub(C),this.negative^=1,this._normSign();if(this.negative===0&amp;&amp;C.negative!==0)return C.negative=0,j=this.isub(C),C.negative=1,j._normSign();this.length&gt;C.length?(k=this,S=C):(k=C,S=this);for(var N=0,T=0;T&lt;S.length;T++)j=(0|k.words[T])+(0|S.words[T])+N,this.words[T]=67108863&amp;j,N=j&gt;&gt;&gt;26;for(;N!==0&amp;&amp;T&lt;k.length;T++)j=(0|k.words[T])+N,this.words[T]=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(;T&lt;k.length;T++)this.words[T]=k.words[T];return this},s.prototype.add=function(C){var j;return C.negative!==0&amp;&amp;this.negative===0?(C.negative=0,j=this.sub(C),C.negative^=1,j):C.negative===0&amp;&amp;this.negative!==0?(this.negative=0,j=C.sub(this),this.negative=1,j):this.length&gt;C.length?this.clone().iadd(C):C.clone().iadd(this)},s.prototype.isub=function(C){if(C.negative!==0){C.negative=0;var j=this.iadd(C);return C.negative=1,j._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(C),this.negative=1,this._normSign();var k,S,N=this.cmp(C);if(N===0)return this.negative=0,this.length=1,this.words[0]=0,this;N&gt;0?(k=this,S=C):(k=C,S=this);for(var T=0,R=0;R&lt;S.length;R++)T=(j=(0|k.words[R])-(0|S.words[R])+T)&gt;&gt;26,this.words[R]=67108863&amp;j;for(;T!==0&amp;&amp;R&lt;k.length;R++)T=(j=(0|k.words[R])+T)&gt;&gt;26,this.words[R]=67108863&amp;j;if(T===0&amp;&amp;R&lt;k.length&amp;&amp;k!==this)for(;R&lt;k.length;R++)this.words[R]=k.words[R];return this.length=Math.max(this.length,R),k!==this&amp;&amp;(this.negative=1),this._strip()},s.prototype.sub=function(C){return this.clone().isub(C)};var E=function(C,j,k){var S,N,T,R=C.words,B=j.words,Y=k.words,Q=0,ne=0|R[0],U=8191&amp;ne,ee=ne&gt;&gt;&gt;13,F=0|R[1],P=8191&amp;F,X=F&gt;&gt;&gt;13,re=0|R[2],Z=8191&amp;re,te=re&gt;&gt;&gt;13,ae=0|R[3],ce=8191&amp;ae,fe=ae&gt;&gt;&gt;13,se=0|R[4],ue=8191&amp;se,ie=se&gt;&gt;&gt;13,he=0|R[5],ge=8191&amp;he,pe=he&gt;&gt;&gt;13,le=0|R[6],_e=8191&amp;le,Se=le&gt;&gt;&gt;13,Oe=0|R[7],Pe=8191&amp;Oe,Ie=Oe&gt;&gt;&gt;13,Ve=0|R[8],Qe=8191&amp;Ve,Ke=Ve&gt;&gt;&gt;13,it=0|R[9],Ge=8191&amp;it,$e=it&gt;&gt;&gt;13,Je=0|B[0],tt=8191&amp;Je,Ye=Je&gt;&gt;&gt;13,Tt=0|B[1],qt=8191&amp;Tt,ct=Tt&gt;&gt;&gt;13,Rt=0|B[2],mt=8191&amp;Rt,St=Rt&gt;&gt;&gt;13,Zt=0|B[3],Ut=8191&amp;Zt,at=Zt&gt;&gt;&gt;13,Dt=0|B[4],Xt=8191&amp;Dt,xt=Dt&gt;&gt;&gt;13,zt=0|B[5],Lt=8191&amp;zt,vt=zt&gt;&gt;&gt;13,ve=0|B[6],je=8191&amp;ve,Ae=ve&gt;&gt;&gt;13,Ue=0|B[7],ft=8191&amp;Ue,We=Ue&gt;&gt;&gt;13,wt=0|B[8],pt=8191&amp;wt,rt=wt&gt;&gt;&gt;13,kt=0|B[9],_t=8191&amp;kt,At=kt&gt;&gt;&gt;13;k.negative=C.negative^j.negative,k.length=19;var Jt=(Q+(S=Math.imul(U,tt))|0)+((8191&amp;(N=(N=Math.imul(U,Ye))+Math.imul(ee,tt)|0))&lt;&lt;13)|0;Q=((T=Math.imul(ee,Ye))+(N&gt;&gt;&gt;13)|0)+(Jt&gt;&gt;&gt;26)|0,Jt&amp;=67108863,S=Math.imul(P,tt),N=(N=Math.imul(P,Ye))+Math.imul(X,tt)|0,T=Math.imul(X,Ye);var Me=(Q+(S=S+Math.imul(U,qt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,ct)|0)+Math.imul(ee,qt)|0))&lt;&lt;13)|0;Q=((T=T+Math.imul(ee,ct)|0)+(N&gt;&gt;&gt;13)|0)+(Me&gt;&gt;&gt;26)|0,Me&amp;=67108863,S=Math.imul(Z,tt),N=(N=Math.imul(Z,Ye))+Math.imul(te,tt)|0,T=Math.imul(te,Ye),S=S+Math.imul(P,qt)|0,N=(N=N+Math.imul(P,ct)|0)+Math.imul(X,qt)|0,T=T+Math.imul(X,ct)|0;var Pt=(Q+(S=S+Math.imul(U,mt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,St)|0)+Math.imul(ee,mt)|0))&lt;&lt;13)|0;Q=((T=T+Math.imul(ee,St)|0)+(N&gt;&gt;&gt;13)|0)+(Pt&gt;&gt;&gt;26)|0,Pt&amp;=67108863,S=Math.imul(ce,tt),N=(N=Math.imul(ce,Ye))+Math.imul(fe,tt)|0,T=Math.imul(fe,Ye),S=S+Math.imul(Z,qt)|0,N=(N=N+Math.imul(Z,ct)|0)+Math.imul(te,qt)|0,T=T+Math.imul(te,ct)|0,S=S+Math.imul(P,mt)|0,N=(N=N+Math.imul(P,St)|0)+Math.imul(X,mt)|0,T=T+Math.imul(X,St)|0;var Vt=(Q+(S=S+Math.imul(U,Ut)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,at)|0)+Math.imul(ee,Ut)|0))&lt;&lt;13)|0;Q=((T=T+Math.imul(ee,at)|0)+(N&gt;&gt;&gt;13)|0)+(Vt&gt;&gt;&gt;26)|0,Vt&amp;=67108863,S=Math.imul(ue,tt),N=(N=Math.imul(ue,Ye))+Math.imul(ie,tt)|0,T=Math.imul(ie,Ye),S=S+Math.imul(ce,qt)|0,N=(N=N+Math.imul(ce,ct)|0)+Math.imul(fe,qt)|0,T=T+Math.imul(fe,ct)|0,S=S+Math.imul(Z,mt)|0,N=(N=N+Math.imul(Z,St)|0)+Math.imul(te,mt)|0,T=T+Math.imul(te,St)|0,S=S+Math.imul(P,Ut)|0,N=(N=N+Math.imul(P,at)|0)+Math.imul(X,Ut)|0,T=T+Math.imul(X,at)|0;var er=(Q+(S=S+Math.imul(U,Xt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,xt)|0)+Math.imul(ee,Xt)|0))&lt;&lt;13)|0;Q=((T=T+Math.imul(ee,xt)|0)+(N&gt;&gt;&gt;13)|0)+(er&gt;&gt;&gt;26)|0,er&amp;=67108863,S=Math.imul(ge,tt),N=(N=Math.imul(ge,Ye))+Math.imul(pe,tt)|0,T=Math.imul(pe,Ye),S=S+Math.imul(ue,qt)|0,N=(N=N+Math.imul(ue,ct)|0)+Math.imul(ie,qt)|0,T=T+Math.imul(ie,ct)|0,S=S+Math.imul(ce,mt)|0,N=(N=N+Math.imul(ce,St)|0)+Math.imul(fe,mt)|0,T=T+Math.imul(fe,St)|0,S=S+Math.imul(Z,Ut)|0,N=(N=N+Math.imul(Z,at)|0)+Math.imul(te,Ut)|0,T=T+Math.imul(te,at)|0,S=S+Math.imul(P,Xt)|0,N=(N=N+Math.imul(P,xt)|0)+Math.imul(X,Xt)|0,T=T+Math.imul(X,xt)|0;var de=(Q+(S=S+Math.imul(U,Lt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,vt)|0)+Math.imul(ee,Lt)|0))&lt;&lt;13)|0;Q=((T=T+Math.imul(ee,vt)|0)+(N&gt;&gt;&gt;13)|0)+(de&gt;&gt;&gt;26)|0,de&amp;=67108863,S=Math.imul(_e,tt),N=(N=Math.imul(_e,Ye))+Math.imul(Se,tt)|0,T=Math.imul(Se,Ye),S=S+Math.imul(ge,qt)|0,N=(N=N+Math.imul(ge,ct)|0)+Math.imul(pe,qt)|0,T=T+Math.imul(pe,ct)|0,S=S+Math.imul(ue,mt)|0,N=(N=N+Math.imul(ue,St)|0)+Math.imul(ie,mt)|0,T=T+Math.imul(ie,St)|0,S=S+Math.imul(ce,Ut)|0,N=(N=N+Math.imul(ce,at)|0)+Math.imul(fe,Ut)|0,T=T+Math.imul(fe,at)|0,S=S+Math.imul(Z,Xt)|0,N=(N=N+Math.imul(Z,xt)|0)+Math.imul(te,Xt)|0,T=T+Math.imul(te,xt)|0,S=S+Math.imul(P,Lt)|0,N=(N=N+Math.imul(P,vt)|0)+Math.imul(X,Lt)|0,T=T+Math.imul(X,vt)|0;var we=(Q+(S=S+Math.imul(U,je)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,Ae)|0)+Math.imul(ee,je)|0))&lt;&lt;13)|0;Q=((T=T+Math.imul(ee,Ae)|0)+(N&gt;&gt;&gt;13)|0)+(we&gt;&gt;&gt;26)|0,we&amp;=67108863,S=Math.imul(Pe,tt),N=(N=Math.imul(Pe,Ye))+Math.imul(Ie,tt)|0,T=Math.imul(Ie,Ye),S=S+Math.imul(_e,qt)|0,N=(N=N+Math.imul(_e,ct)|0)+Math.imul(Se,qt)|0,T=T+Math.imul(Se,ct)|0,S=S+Math.imul(ge,mt)|0,N=(N=N+Math.imul(ge,St)|0)+Math.imul(pe,mt)|0,T=T+Math.imul(pe,St)|0,S=S+Math.imul(ue,Ut)|0,N=(N=N+Math.imul(ue,at)|0)+Math.imul(ie,Ut)|0,T=T+Math.imul(ie,at)|0,S=S+Math.imul(ce,Xt)|0,N=(N=N+Math.imul(ce,xt)|0)+Math.imul(fe,Xt)|0,T=T+Math.imul(fe,xt)|0,S=S+Math.imul(Z,Lt)|0,N=(N=N+Math.imul(Z,vt)|0)+Math.imul(te,Lt)|0,T=T+Math.imul(te,vt)|0,S=S+Math.imul(P,je)|0,N=(N=N+Math.imul(P,Ae)|0)+Math.imul(X,je)|0,T=T+Math.imul(X,Ae)|0;var Te=(Q+(S=S+Math.imul(U,ft)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,We)|0)+Math.imul(ee,ft)|0))&lt;&lt;13)|0;Q=((T=T+Math.imul(ee,We)|0)+(N&gt;&gt;&gt;13)|0)+(Te&gt;&gt;&gt;26)|0,Te&amp;=67108863,S=Math.imul(Qe,tt),N=(N=Math.imul(Qe,Ye))+Math.imul(Ke,tt)|0,T=Math.imul(Ke,Ye),S=S+Math.imul(Pe,qt)|0,N=(N=N+Math.imul(Pe,ct)|0)+Math.imul(Ie,qt)|0,T=T+Math.imul(Ie,ct)|0,S=S+Math.imul(_e,mt)|0,N=(N=N+Math.imul(_e,St)|0)+Math.imul(Se,mt)|0,T=T+Math.imul(Se,St)|0,S=S+Math.imul(ge,Ut)|0,N=(N=N+Math.imul(ge,at)|0)+Math.imul(pe,Ut)|0,T=T+Math.imul(pe,at)|0,S=S+Math.imul(ue,Xt)|0,N=(N=N+Math.imul(ue,xt)|0)+Math.imul(ie,Xt)|0,T=T+Math.imul(ie,xt)|0,S=S+Math.imul(ce,Lt)|0,N=(N=N+Math.imul(ce,vt)|0)+Math.imul(fe,Lt)|0,T=T+Math.imul(fe,vt)|0,S=S+Math.imul(Z,je)|0,N=(N=N+Math.imul(Z,Ae)|0)+Math.imul(te,je)|0,T=T+Math.imul(te,Ae)|0,S=S+Math.imul(P,ft)|0,N=(N=N+Math.imul(P,We)|0)+Math.imul(X,ft)|0,T=T+Math.imul(X,We)|0;var Re=(Q+(S=S+Math.imul(U,pt)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,rt)|0)+Math.imul(ee,pt)|0))&lt;&lt;13)|0;Q=((T=T+Math.imul(ee,rt)|0)+(N&gt;&gt;&gt;13)|0)+(Re&gt;&gt;&gt;26)|0,Re&amp;=67108863,S=Math.imul(Ge,tt),N=(N=Math.imul(Ge,Ye))+Math.imul($e,tt)|0,T=Math.imul($e,Ye),S=S+Math.imul(Qe,qt)|0,N=(N=N+Math.imul(Qe,ct)|0)+Math.imul(Ke,qt)|0,T=T+Math.imul(Ke,ct)|0,S=S+Math.imul(Pe,mt)|0,N=(N=N+Math.imul(Pe,St)|0)+Math.imul(Ie,mt)|0,T=T+Math.imul(Ie,St)|0,S=S+Math.imul(_e,Ut)|0,N=(N=N+Math.imul(_e,at)|0)+Math.imul(Se,Ut)|0,T=T+Math.imul(Se,at)|0,S=S+Math.imul(ge,Xt)|0,N=(N=N+Math.imul(ge,xt)|0)+Math.imul(pe,Xt)|0,T=T+Math.imul(pe,xt)|0,S=S+Math.imul(ue,Lt)|0,N=(N=N+Math.imul(ue,vt)|0)+Math.imul(ie,Lt)|0,T=T+Math.imul(ie,vt)|0,S=S+Math.imul(ce,je)|0,N=(N=N+Math.imul(ce,Ae)|0)+Math.imul(fe,je)|0,T=T+Math.imul(fe,Ae)|0,S=S+Math.imul(Z,ft)|0,N=(N=N+Math.imul(Z,We)|0)+Math.imul(te,ft)|0,T=T+Math.imul(te,We)|0,S=S+Math.imul(P,pt)|0,N=(N=N+Math.imul(P,rt)|0)+Math.imul(X,pt)|0,T=T+Math.imul(X,rt)|0;var et=(Q+(S=S+Math.imul(U,_t)|0)|0)+((8191&amp;(N=(N=N+Math.imul(U,At)|0)+Math.imul(ee,_t)|0))&lt;&lt;13)|0;Q=((T=T+Math.imul(ee,At)|0)+(N&gt;&gt;&gt;13)|0)+(et&gt;&gt;&gt;26)|0,et&amp;=67108863,S=Math.imul(Ge,qt),N=(N=Math.imul(Ge,ct))+Math.imul($e,qt)|0,T=Math.imul($e,ct),S=S+Math.imul(Qe,mt)|0,N=(N=N+Math.imul(Qe,St)|0)+Math.imul(Ke,mt)|0,T=T+Math.imul(Ke,St)|0,S=S+Math.imul(Pe,Ut)|0,N=(N=N+Math.imul(Pe,at)|0)+Math.imul(Ie,Ut)|0,T=T+Math.imul(Ie,at)|0,S=S+Math.imul(_e,Xt)|0,N=(N=N+Math.imul(_e,xt)|0)+Math.imul(Se,Xt)|0,T=T+Math.imul(Se,xt)|0,S=S+Math.imul(ge,Lt)|0,N=(N=N+Math.imul(ge,vt)|0)+Math.imul(pe,Lt)|0,T=T+Math.imul(pe,vt)|0,S=S+Math.imul(ue,je)|0,N=(N=N+Math.imul(ue,Ae)|0)+Math.imul(ie,je)|0,T=T+Math.imul(ie,Ae)|0,S=S+Math.imul(ce,ft)|0,N=(N=N+Math.imul(ce,We)|0)+Math.imul(fe,ft)|0,T=T+Math.imul(fe,We)|0,S=S+Math.imul(Z,pt)|0,N=(N=N+Math.imul(Z,rt)|0)+Math.imul(te,pt)|0,T=T+Math.imul(te,rt)|0;var ze=(Q+(S=S+Math.imul(P,_t)|0)|0)+((8191&amp;(N=(N=N+Math.imul(P,At)|0)+Math.imul(X,_t)|0))&lt;&lt;13)|0;Q=((T=T+Math.imul(X,At)|0)+(N&gt;&gt;&gt;13)|0)+(ze&gt;&gt;&gt;26)|0,ze&amp;=67108863,S=Math.imul(Ge,mt),N=(N=Math.imul(Ge,St))+Math.imul($e,mt)|0,T=Math.imul($e,St),S=S+Math.imul(Qe,Ut)|0,N=(N=N+Math.imul(Qe,at)|0)+Math.imul(Ke,Ut)|0,T=T+Math.imul(Ke,at)|0,S=S+Math.imul(Pe,Xt)|0,N=(N=N+Math.imul(Pe,xt)|0)+Math.imul(Ie,Xt)|0,T=T+Math.imul(Ie,xt)|0,S=S+Math.imul(_e,Lt)|0,N=(N=N+Math.imul(_e,vt)|0)+Math.imul(Se,Lt)|0,T=T+Math.imul(Se,vt)|0,S=S+Math.imul(ge,je)|0,N=(N=N+Math.imul(ge,Ae)|0)+Math.imul(pe,je)|0,T=T+Math.imul(pe,Ae)|0,S=S+Math.imul(ue,ft)|0,N=(N=N+Math.imul(ue,We)|0)+Math.imul(ie,ft)|0,T=T+Math.imul(ie,We)|0,S=S+Math.imul(ce,pt)|0,N=(N=N+Math.imul(ce,rt)|0)+Math.imul(fe,pt)|0,T=T+Math.imul(fe,rt)|0;var He=(Q+(S=S+Math.imul(Z,_t)|0)|0)+((8191&amp;(N=(N=N+Math.imul(Z,At)|0)+Math.imul(te,_t)|0))&lt;&lt;13)|0;Q=((T=T+Math.imul(te,At)|0)+(N&gt;&gt;&gt;13)|0)+(He&gt;&gt;&gt;26)|0,He&amp;=67108863,S=Math.imul(Ge,Ut),N=(N=Math.imul(Ge,at))+Math.imul($e,Ut)|0,T=Math.imul($e,at),S=S+Math.imul(Qe,Xt)|0,N=(N=N+Math.imul(Qe,xt)|0)+Math.imul(Ke,Xt)|0,T=T+Math.imul(Ke,xt)|0,S=S+Math.imul(Pe,Lt)|0,N=(N=N+Math.imul(Pe,vt)|0)+Math.imul(Ie,Lt)|0,T=T+Math.imul(Ie,vt)|0,S=S+Math.imul(_e,je)|0,N=(N=N+Math.imul(_e,Ae)|0)+Math.imul(Se,je)|0,T=T+Math.imul(Se,Ae)|0,S=S+Math.imul(ge,ft)|0,N=(N=N+Math.imul(ge,We)|0)+Math.imul(pe,ft)|0,T=T+Math.imul(pe,We)|0,S=S+Math.imul(ue,pt)|0,N=(N=N+Math.imul(ue,rt)|0)+Math.imul(ie,pt)|0,T=T+Math.imul(ie,rt)|0;var Ft=(Q+(S=S+Math.imul(ce,_t)|0)|0)+((8191&amp;(N=(N=N+Math.imul(ce,At)|0)+Math.imul(fe,_t)|0))&lt;&lt;13)|0;Q=((T=T+Math.imul(fe,At)|0)+(N&gt;&gt;&gt;13)|0)+(Ft&gt;&gt;&gt;26)|0,Ft&amp;=67108863,S=Math.imul(Ge,Xt),N=(N=Math.imul(Ge,xt))+Math.imul($e,Xt)|0,T=Math.imul($e,xt),S=S+Math.imul(Qe,Lt)|0,N=(N=N+Math.imul(Qe,vt)|0)+Math.imul(Ke,Lt)|0,T=T+Math.imul(Ke,vt)|0,S=S+Math.imul(Pe,je)|0,N=(N=N+Math.imul(Pe,Ae)|0)+Math.imul(Ie,je)|0,T=T+Math.imul(Ie,Ae)|0,S=S+Math.imul(_e,ft)|0,N=(N=N+Math.imul(_e,We)|0)+Math.imul(Se,ft)|0,T=T+Math.imul(Se,We)|0,S=S+Math.imul(ge,pt)|0,N=(N=N+Math.imul(ge,rt)|0)+Math.imul(pe,pt)|0,T=T+Math.imul(pe,rt)|0;var Mt=(Q+(S=S+Math.imul(ue,_t)|0)|0)+((8191&amp;(N=(N=N+Math.imul(ue,At)|0)+Math.imul(ie,_t)|0))&lt;&lt;13)|0;Q=((T=T+Math.imul(ie,At)|0)+(N&gt;&gt;&gt;13)|0)+(Mt&gt;&gt;&gt;26)|0,Mt&amp;=67108863,S=Math.imul(Ge,Lt),N=(N=Math.imul(Ge,vt))+Math.imul($e,Lt)|0,T=Math.imul($e,vt),S=S+Math.imul(Qe,je)|0,N=(N=N+Math.imul(Qe,Ae)|0)+Math.imul(Ke,je)|0,T=T+Math.imul(Ke,Ae)|0,S=S+Math.imul(Pe,ft)|0,N=(N=N+Math.imul(Pe,We)|0)+Math.imul(Ie,ft)|0,T=T+Math.imul(Ie,We)|0,S=S+Math.imul(_e,pt)|0,N=(N=N+Math.imul(_e,rt)|0)+Math.imul(Se,pt)|0,T=T+Math.imul(Se,rt)|0;var jt=(Q+(S=S+Math.imul(ge,_t)|0)|0)+((8191&amp;(N=(N=N+Math.imul(ge,At)|0)+Math.imul(pe,_t)|0))&lt;&lt;13)|0;Q=((T=T+Math.imul(pe,At)|0)+(N&gt;&gt;&gt;13)|0)+(jt&gt;&gt;&gt;26)|0,jt&amp;=67108863,S=Math.imul(Ge,je),N=(N=Math.imul(Ge,Ae))+Math.imul($e,je)|0,T=Math.imul($e,Ae),S=S+Math.imul(Qe,ft)|0,N=(N=N+Math.imul(Qe,We)|0)+Math.imul(Ke,ft)|0,T=T+Math.imul(Ke,We)|0,S=S+Math.imul(Pe,pt)|0,N=(N=N+Math.imul(Pe,rt)|0)+Math.imul(Ie,pt)|0,T=T+Math.imul(Ie,rt)|0;var yt=(Q+(S=S+Math.imul(_e,_t)|0)|0)+((8191&amp;(N=(N=N+Math.imul(_e,At)|0)+Math.imul(Se,_t)|0))&lt;&lt;13)|0;Q=((T=T+Math.imul(Se,At)|0)+(N&gt;&gt;&gt;13)|0)+(yt&gt;&gt;&gt;26)|0,yt&amp;=67108863,S=Math.imul(Ge,ft),N=(N=Math.imul(Ge,We))+Math.imul($e,ft)|0,T=Math.imul($e,We),S=S+Math.imul(Qe,pt)|0,N=(N=N+Math.imul(Qe,rt)|0)+Math.imul(Ke,pt)|0,T=T+Math.imul(Ke,rt)|0;var Et=(Q+(S=S+Math.imul(Pe,_t)|0)|0)+((8191&amp;(N=(N=N+Math.imul(Pe,At)|0)+Math.imul(Ie,_t)|0))&lt;&lt;13)|0;Q=((T=T+Math.imul(Ie,At)|0)+(N&gt;&gt;&gt;13)|0)+(Et&gt;&gt;&gt;26)|0,Et&amp;=67108863,S=Math.imul(Ge,pt),N=(N=Math.imul(Ge,rt))+Math.imul($e,pt)|0,T=Math.imul($e,rt);var Ht=(Q+(S=S+Math.imul(Qe,_t)|0)|0)+((8191&amp;(N=(N=N+Math.imul(Qe,At)|0)+Math.imul(Ke,_t)|0))&lt;&lt;13)|0;Q=((T=T+Math.imul(Ke,At)|0)+(N&gt;&gt;&gt;13)|0)+(Ht&gt;&gt;&gt;26)|0,Ht&amp;=67108863;var Qt=(Q+(S=Math.imul(Ge,_t))|0)+((8191&amp;(N=(N=Math.imul(Ge,At))+Math.imul($e,_t)|0))&lt;&lt;13)|0;return Q=((T=Math.imul($e,At))+(N&gt;&gt;&gt;13)|0)+(Qt&gt;&gt;&gt;26)|0,Qt&amp;=67108863,Y[0]=Jt,Y[1]=Me,Y[2]=Pt,Y[3]=Vt,Y[4]=er,Y[5]=de,Y[6]=we,Y[7]=Te,Y[8]=Re,Y[9]=et,Y[10]=ze,Y[11]=He,Y[12]=Ft,Y[13]=Mt,Y[14]=jt,Y[15]=yt,Y[16]=Et,Y[17]=Ht,Y[18]=Qt,Q!==0&amp;&amp;(Y[19]=Q,k.length++),k};function M(C,j,k){k.negative=j.negative^C.negative,k.length=C.length+j.length;for(var S=0,N=0,T=0;T&lt;k.length-1;T++){var R=N;N=0;for(var B=67108863&amp;S,Y=Math.min(T,j.length-1),Q=Math.max(0,T-C.length+1);Q&lt;=Y;Q++){var ne=T-Q,U=(0|C.words[ne])*(0|j.words[Q]),ee=67108863&amp;U;B=67108863&amp;(ee=ee+B|0),N+=(R=(R=R+(U/67108864|0)|0)+(ee&gt;&gt;&gt;26)|0)&gt;&gt;&gt;26,R&amp;=67108863}k.words[T]=B,S=R,R=N}return S!==0?k.words[T]=S:k.length--,k._strip()}function D(C,j,k){return M(C,j,k)}Math.imul||(E=_),s.prototype.mulTo=function(C,j){var k=this.length+C.length;return this.length===10&amp;&amp;C.length===10?E(this,C,j):k&lt;63?_(this,C,j):k&lt;1024?M(this,C,j):D(this,C,j)},s.prototype.mul=function(C){var j=new s(null);return j.words=new Array(this.length+C.length),this.mulTo(C,j)},s.prototype.mulf=function(C){var j=new s(null);return j.words=new Array(this.length+C.length),D(this,C,j)},s.prototype.imul=function(C){return this.clone().mulTo(C,this)},s.prototype.imuln=function(C){var j=C&lt;0;j&amp;&amp;(C=-C),u(typeof C==&quot;number&quot;),u(C&lt;67108864);for(var k=0,S=0;S&lt;this.length;S++){var N=(0|this.words[S])*C,T=(67108863&amp;N)+(67108863&amp;k);k&gt;&gt;=26,k+=N/67108864|0,k+=T&gt;&gt;&gt;26,this.words[S]=67108863&amp;T}return k!==0&amp;&amp;(this.words[S]=k,this.length++),j?this.ineg():this},s.prototype.muln=function(C){return this.clone().imuln(C)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(C){var j=(function(T){for(var R=new Array(T.bitLength()),B=0;B&lt;R.length;B++){var Y=B/26|0,Q=B%26;R[B]=T.words[Y]&gt;&gt;&gt;Q&amp;1}return R})(C);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(C){u(typeof C==&quot;number&quot;&amp;&amp;C&gt;=0);var j,k=C%26,S=(C-k)/26,N=67108863&gt;&gt;&gt;26-k&lt;&lt;26-k;if(k!==0){var T=0;for(j=0;j&lt;this.length;j++){var R=this.words[j]&amp;N,B=(0|this.words[j])-R&lt;&lt;k;this.words[j]=B|T,T=R&gt;&gt;&gt;26-k}T&amp;&amp;(this.words[j]=T,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(C){return u(this.negative===0),this.iushln(C)},s.prototype.iushrn=function(C,j,k){var S;u(typeof C==&quot;number&quot;&amp;&amp;C&gt;=0),S=j?(j-j%26)/26:0;var N=C%26,T=Math.min((C-N)/26,this.length),R=67108863^67108863&gt;&gt;&gt;N&lt;&lt;N,B=k;if(S-=T,S=Math.max(0,S),B){for(var Y=0;Y&lt;T;Y++)B.words[Y]=this.words[Y];B.length=T}if(T!==0)if(this.length&gt;T)for(this.length-=T,Y=0;Y&lt;this.length;Y++)this.words[Y]=this.words[Y+T];else this.words[0]=0,this.length=1;var Q=0;for(Y=this.length-1;Y&gt;=0&amp;&amp;(Q!==0||Y&gt;=S);Y--){var ne=0|this.words[Y];this.words[Y]=Q&lt;&lt;26-N|ne&gt;&gt;&gt;N,Q=ne&amp;R}return B&amp;&amp;Q!==0&amp;&amp;(B.words[B.length++]=Q),this.length===0&amp;&amp;(this.words[0]=0,this.length=1),this._strip()},s.prototype.ishrn=function(C,j,k){return u(this.negative===0),this.iushrn(C,j,k)},s.prototype.shln=function(C){return this.clone().ishln(C)},s.prototype.ushln=function(C){return this.clone().iushln(C)},s.prototype.shrn=function(C){return this.clone().ishrn(C)},s.prototype.ushrn=function(C){return this.clone().iushrn(C)},s.prototype.testn=function(C){u(typeof C==&quot;number&quot;&amp;&amp;C&gt;=0);var j=C%26,k=(C-j)/26,S=1&lt;&lt;j;return!(this.length&lt;=k)&amp;&amp;!!(this.words[k]&amp;S)},s.prototype.imaskn=function(C){u(typeof C==&quot;number&quot;&amp;&amp;C&gt;=0);var j=C%26,k=(C-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(C){return this.clone().imaskn(C)},s.prototype.iaddn=function(C){return u(typeof C==&quot;number&quot;),u(C&lt;67108864),C&lt;0?this.isubn(-C):this.negative!==0?this.length===1&amp;&amp;(0|this.words[0])&lt;=C?(this.words[0]=C-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(C),this.negative=1,this):this._iaddn(C)},s.prototype._iaddn=function(C){this.words[0]+=C;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(C){if(u(typeof C==&quot;number&quot;),u(C&lt;67108864),C&lt;0)return this.iaddn(-C);if(this.negative!==0)return this.negative=0,this.iaddn(C),this.negative=1,this;if(this.words[0]-=C,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(C){return this.clone().iaddn(C)},s.prototype.subn=function(C){return this.clone().isubn(C)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(C,j,k){var S,N,T=C.length+k;this._expand(T);var R=0;for(S=0;S&lt;C.length;S++){N=(0|this.words[S+k])+R;var B=(0|C.words[S])*j;R=((N-=67108863&amp;B)&gt;&gt;26)-(B/67108864|0),this.words[S+k]=67108863&amp;N}for(;S&lt;this.length-k;S++)R=(N=(0|this.words[S+k])+R)&gt;&gt;26,this.words[S+k]=67108863&amp;N;if(R===0)return this._strip();for(u(R===-1),R=0,S=0;S&lt;this.length;S++)R=(N=-(0|this.words[S])+R)&gt;&gt;26,this.words[S]=67108863&amp;N;return this.negative=1,this._strip()},s.prototype._wordDiv=function(C,j){var k=(this.length,C.length),S=this.clone(),N=C,T=0|N.words[N.length-1];(k=26-this._countBits(T))!==0&amp;&amp;(N=N.ushln(k),S.iushln(k),T=0|N.words[N.length-1]);var R,B=S.length-N.length;if(j!==&quot;mod&quot;){(R=new s(null)).length=B+1,R.words=new Array(R.length);for(var Y=0;Y&lt;R.length;Y++)R.words[Y]=0}var Q=S.clone()._ishlnsubmul(N,1,B);Q.negative===0&amp;&amp;(S=Q,R&amp;&amp;(R.words[B]=1));for(var ne=B-1;ne&gt;=0;ne--){var U=67108864*(0|S.words[N.length+ne])+(0|S.words[N.length+ne-1]);for(U=Math.min(U/T|0,67108863),S._ishlnsubmul(N,U,ne);S.negative!==0;)U--,S.negative=0,S._ishlnsubmul(N,1,ne),S.isZero()||(S.negative^=1);R&amp;&amp;(R.words[ne]=U)}return R&amp;&amp;R._strip(),S._strip(),j!==&quot;div&quot;&amp;&amp;k!==0&amp;&amp;S.iushrn(k),{div:R||null,mod:S}},s.prototype.divmod=function(C,j,k){return u(!C.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:this.negative!==0&amp;&amp;C.negative===0?(T=this.neg().divmod(C,j),j!==&quot;mod&quot;&amp;&amp;(S=T.div.neg()),j!==&quot;div&quot;&amp;&amp;(N=T.mod.neg(),k&amp;&amp;N.negative!==0&amp;&amp;N.iadd(C)),{div:S,mod:N}):this.negative===0&amp;&amp;C.negative!==0?(T=this.divmod(C.neg(),j),j!==&quot;mod&quot;&amp;&amp;(S=T.div.neg()),{div:S,mod:T.mod}):(this.negative&amp;C.negative)!=0?(T=this.neg().divmod(C.neg(),j),j!==&quot;div&quot;&amp;&amp;(N=T.mod.neg(),k&amp;&amp;N.negative!==0&amp;&amp;N.isub(C)),{div:T.div,mod:N}):C.length&gt;this.length||this.cmp(C)&lt;0?{div:new s(0),mod:this}:C.length===1?j===&quot;div&quot;?{div:this.divn(C.words[0]),mod:null}:j===&quot;mod&quot;?{div:null,mod:new s(this.modrn(C.words[0]))}:{div:this.divn(C.words[0]),mod:new s(this.modrn(C.words[0]))}:this._wordDiv(C,j);var S,N,T},s.prototype.div=function(C){return this.divmod(C,&quot;div&quot;,!1).div},s.prototype.mod=function(C){return this.divmod(C,&quot;mod&quot;,!1).mod},s.prototype.umod=function(C){return this.divmod(C,&quot;mod&quot;,!0).mod},s.prototype.divRound=function(C){var j=this.divmod(C);if(j.mod.isZero())return j.div;var k=j.div.negative!==0?j.mod.isub(C):j.mod,S=C.ushrn(1),N=C.andln(1),T=k.cmp(S);return T&lt;0||N===1&amp;&amp;T===0?j.div:j.div.negative!==0?j.div.isubn(1):j.div.iaddn(1)},s.prototype.modrn=function(C){var j=C&lt;0;j&amp;&amp;(C=-C),u(C&lt;=67108863);for(var k=(1&lt;&lt;26)%C,S=0,N=this.length-1;N&gt;=0;N--)S=(k*S+(0|this.words[N]))%C;return j?-S:S},s.prototype.modn=function(C){return this.modrn(C)},s.prototype.idivn=function(C){var j=C&lt;0;j&amp;&amp;(C=-C),u(C&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/C|0,k=N%C}return this._strip(),j?this.ineg():this},s.prototype.divn=function(C){return this.clone().idivn(C)},s.prototype.egcd=function(C){u(C.negative===0),u(!C.isZero());var j=this,k=C.clone();j=j.negative!==0?j.umod(C):j.clone();for(var S=new s(1),N=new s(0),T=new s(0),R=new s(1),B=0;j.isEven()&amp;&amp;k.isEven();)j.iushrn(1),k.iushrn(1),++B;for(var Y=k.clone(),Q=j.clone();!j.isZero();){for(var ne=0,U=1;(j.words[0]&amp;U)==0&amp;&amp;ne&lt;26;++ne,U&lt;&lt;=1);if(ne&gt;0)for(j.iushrn(ne);ne-- &gt;0;)(S.isOdd()||N.isOdd())&amp;&amp;(S.iadd(Y),N.isub(Q)),S.iushrn(1),N.iushrn(1);for(var ee=0,F=1;(k.words[0]&amp;F)==0&amp;&amp;ee&lt;26;++ee,F&lt;&lt;=1);if(ee&gt;0)for(k.iushrn(ee);ee-- &gt;0;)(T.isOdd()||R.isOdd())&amp;&amp;(T.iadd(Y),R.isub(Q)),T.iushrn(1),R.iushrn(1);j.cmp(k)&gt;=0?(j.isub(k),S.isub(T),N.isub(R)):(k.isub(j),T.isub(S),R.isub(N))}return{a:T,b:R,gcd:k.iushln(B)}},s.prototype._invmp=function(C){u(C.negative===0),u(!C.isZero());var j=this,k=C.clone();j=j.negative!==0?j.umod(C):j.clone();for(var S,N=new s(1),T=new s(0),R=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(R),N.iushrn(1);for(var Q=0,ne=1;(k.words[0]&amp;ne)==0&amp;&amp;Q&lt;26;++Q,ne&lt;&lt;=1);if(Q&gt;0)for(k.iushrn(Q);Q-- &gt;0;)T.isOdd()&amp;&amp;T.iadd(R),T.iushrn(1);j.cmp(k)&gt;=0?(j.isub(k),N.isub(T)):(k.isub(j),T.isub(N))}return(S=j.cmpn(1)===0?N:T).cmpn(0)&lt;0&amp;&amp;S.iadd(C),S},s.prototype.gcd=function(C){if(this.isZero())return C.abs();if(C.isZero())return this.abs();var j=this.clone(),k=C.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 T=j;j=k,k=T}else if(N===0||k.cmpn(1)===0)break;j.isub(k)}return k.iushln(S)},s.prototype.invm=function(C){return this.egcd(C).a.umod(C)},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(C){return this.words[0]&amp;C},s.prototype.bincn=function(C){u(typeof C==&quot;number&quot;);var j=C%26,k=(C-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,T=k;N!==0&amp;&amp;T&lt;this.length;T++){var R=0|this.words[T];N=(R+=N)&gt;&gt;&gt;26,R&amp;=67108863,this.words[T]=R}return N!==0&amp;&amp;(this.words[T]=N,this.length++),this},s.prototype.isZero=function(){return this.length===1&amp;&amp;this.words[0]===0},s.prototype.cmpn=function(C){var j,k=C&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;(C=-C),u(C&lt;=67108863,&quot;Number is too big&quot;);var S=0|this.words[0];j=S===C?0:S&lt;C?-1:1}return this.negative!==0?0|-j:j},s.prototype.cmp=function(C){if(this.negative!==0&amp;&amp;C.negative===0)return-1;if(this.negative===0&amp;&amp;C.negative!==0)return 1;var j=this.ucmp(C);return this.negative!==0?0|-j:j},s.prototype.ucmp=function(C){if(this.length&gt;C.length)return 1;if(this.length&lt;C.length)return-1;for(var j=0,k=this.length-1;k&gt;=0;k--){var S=0|this.words[k],N=0|C.words[k];if(S!==N){S&lt;N?j=-1:S&gt;N&amp;&amp;(j=1);break}}return j},s.prototype.gtn=function(C){return this.cmpn(C)===1},s.prototype.gt=function(C){return this.cmp(C)===1},s.prototype.gten=function(C){return this.cmpn(C)&gt;=0},s.prototype.gte=function(C){return this.cmp(C)&gt;=0},s.prototype.ltn=function(C){return this.cmpn(C)===-1},s.prototype.lt=function(C){return this.cmp(C)===-1},s.prototype.lten=function(C){return this.cmpn(C)&lt;=0},s.prototype.lte=function(C){return this.cmp(C)&lt;=0},s.prototype.eqn=function(C){return this.cmpn(C)===0},s.prototype.eq=function(C){return this.cmp(C)===0},s.red=function(C){return new O(C)},s.prototype.toRed=function(C){return u(!this.red,&quot;Already a number in reduction context&quot;),u(this.negative===0,&quot;red works only with positives&quot;),C.convertTo(this)._forceRed(C)},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(C){return this.red=C,this},s.prototype.forceRed=function(C){return u(!this.red,&quot;Already a number in reduction context&quot;),this._forceRed(C)},s.prototype.redAdd=function(C){return u(this.red,&quot;redAdd works only with red numbers&quot;),this.red.add(this,C)},s.prototype.redIAdd=function(C){return u(this.red,&quot;redIAdd works only with red numbers&quot;),this.red.iadd(this,C)},s.prototype.redSub=function(C){return u(this.red,&quot;redSub works only with red numbers&quot;),this.red.sub(this,C)},s.prototype.redISub=function(C){return u(this.red,&quot;redISub works only with red numbers&quot;),this.red.isub(this,C)},s.prototype.redShl=function(C){return u(this.red,&quot;redShl works only with red numbers&quot;),this.red.shl(this,C)},s.prototype.redMul=function(C){return u(this.red,&quot;redMul works only with red numbers&quot;),this.red._verify2(this,C),this.red.mul(this,C)},s.prototype.redIMul=function(C){return u(this.red,&quot;redMul works only with red numbers&quot;),this.red._verify2(this,C),this.red.imul(this,C)},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(C){return u(this.red&amp;&amp;!C.red,&quot;redPow(normalNum)&quot;),this.red._verify1(this),this.red.pow(this,C)};var W={k256:null,p224:null,p192:null,p25519:null};function L(C,j){this.name=C,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 V(){L.call(this,&quot;k256&quot;,&quot;ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f&quot;)}function H(){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 z(){L.call(this,&quot;25519&quot;,&quot;7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed&quot;)}function O(C){if(typeof C==&quot;string&quot;){var j=s._prime(C);this.m=j.p,this.prime=j}else u(C.gtn(1),&quot;modulus must be greater than 1&quot;),this.m=C,this.prime=null}function I(C){O.call(this,C),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 C=new s(null);return C.words=new Array(Math.ceil(this.n/13)),C},L.prototype.ireduce=function(C){var j,k=C;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(C,j){C.iushrn(this.n,0,j)},L.prototype.imulK=function(C){return C.imul(this.k)},l(V,L),V.prototype.split=function(C,j){for(var k=Math.min(C.length,9),S=0;S&lt;k;S++)j.words[S]=C.words[S];if(j.length=k,C.length&lt;=9)return C.words[0]=0,void(C.length=1);var N=C.words[9];for(j.words[j.length++]=4194303&amp;N,S=10;S&lt;C.length;S++){var T=0|C.words[S];C.words[S-10]=(4194303&amp;T)&lt;&lt;4|N&gt;&gt;&gt;22,N=T}N&gt;&gt;&gt;=22,C.words[S-10]=N,N===0&amp;&amp;C.length&gt;10?C.length-=10:C.length-=9},V.prototype.imulK=function(C){C.words[C.length]=0,C.words[C.length+1]=0,C.length+=2;for(var j=0,k=0;k&lt;C.length;k++){var S=0|C.words[k];j+=977*S,C.words[k]=67108863&amp;j,j=64*S+(j/67108864|0)}return C.words[C.length-1]===0&amp;&amp;(C.length--,C.words[C.length-1]===0&amp;&amp;C.length--),C},l(H,L),l(K,L),l(z,L),z.prototype.imulK=function(C){for(var j=0,k=0;k&lt;C.length;k++){var S=19*(0|C.words[k])+j,N=67108863&amp;S;S&gt;&gt;&gt;=26,C.words[k]=N,j=S}return j!==0&amp;&amp;(C.words[C.length++]=j),C},s._prime=function(C){if(W[C])return W[C];var j;if(C===&quot;k256&quot;)j=new V;else if(C===&quot;p224&quot;)j=new H;else if(C===&quot;p192&quot;)j=new K;else{if(C!==&quot;p25519&quot;)throw new Error(&quot;Unknown prime &quot;+C);j=new z}return W[C]=j,j},O.prototype._verify1=function(C){u(C.negative===0,&quot;red works only with positives&quot;),u(C.red,&quot;red works only with red numbers&quot;)},O.prototype._verify2=function(C,j){u((C.negative|j.negative)==0,&quot;red works only with positives&quot;),u(C.red&amp;&amp;C.red===j.red,&quot;red works only with red numbers&quot;)},O.prototype.imod=function(C){return this.prime?this.prime.ireduce(C)._forceRed(this):(g(C,C.umod(this.m)._forceRed(this)),C)},O.prototype.neg=function(C){return C.isZero()?C.clone():this.m.sub(C)._forceRed(this)},O.prototype.add=function(C,j){this._verify2(C,j);var k=C.add(j);return k.cmp(this.m)&gt;=0&amp;&amp;k.isub(this.m),k._forceRed(this)},O.prototype.iadd=function(C,j){this._verify2(C,j);var k=C.iadd(j);return k.cmp(this.m)&gt;=0&amp;&amp;k.isub(this.m),k},O.prototype.sub=function(C,j){this._verify2(C,j);var k=C.sub(j);return k.cmpn(0)&lt;0&amp;&amp;k.iadd(this.m),k._forceRed(this)},O.prototype.isub=function(C,j){this._verify2(C,j);var k=C.isub(j);return k.cmpn(0)&lt;0&amp;&amp;k.iadd(this.m),k},O.prototype.shl=function(C,j){return this._verify1(C),this.imod(C.ushln(j))},O.prototype.imul=function(C,j){return this._verify2(C,j),this.imod(C.imul(j))},O.prototype.mul=function(C,j){return this._verify2(C,j),this.imod(C.mul(j))},O.prototype.isqr=function(C){return this.imul(C,C.clone())},O.prototype.sqr=function(C){return this.mul(C,C)},O.prototype.sqrt=function(C){if(C.isZero())return C.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(C,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 T=new s(1).toRed(this),R=T.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(R)!==0;)Y.redIAdd(R);for(var Q=this.pow(Y,S),ne=this.pow(C,S.addn(1).iushrn(1)),U=this.pow(C,S),ee=N;U.cmp(T)!==0;){for(var F=U,P=0;F.cmp(T)!==0;P++)F=F.redSqr();u(P&lt;ee);var X=this.pow(Q,new s(1).iushln(ee-P-1));ne=ne.redMul(X),Q=X.redSqr(),U=U.redMul(Q),ee=P}return ne},O.prototype.invm=function(C){var j=C._invmp(this.m);return j.negative!==0?(j.negative=0,this.imod(j).redNeg()):this.imod(j)},O.prototype.pow=function(C,j){if(j.isZero())return new s(1).toRed(this);if(j.cmpn(1)===0)return C.clone();var k=new Array(16);k[0]=new s(1).toRed(this),k[1]=C;for(var S=2;S&lt;k.length;S++)k[S]=this.mul(k[S-1],C);var N=k[0],T=0,R=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],Q=B-1;Q&gt;=0;Q--){var ne=Y&gt;&gt;Q&amp;1;N!==k[0]&amp;&amp;(N=this.sqr(N)),ne!==0||T!==0?(T&lt;&lt;=1,T|=ne,(++R===4||S===0&amp;&amp;Q===0)&amp;&amp;(N=this.mul(N,k[T]),R=0,T=0)):R=0}B=26}return N},O.prototype.convertTo=function(C){var j=C.umod(this.m);return j===C?j.clone():j},O.prototype.convertFrom=function(C){var j=C.clone();return j.red=null,j},s.mont=function(C){return new I(C)},l(I,O),I.prototype.convertTo=function(C){return this.imod(C.ushln(this.shift))},I.prototype.convertFrom=function(C){var j=this.imod(C.mul(this.rinv));return j.red=null,j},I.prototype.imul=function(C,j){if(C.isZero()||j.isZero())return C.words[0]=0,C.length=1,C;var k=C.imul(j),S=k.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),N=k.isub(S).iushrn(this.shift),T=N;return N.cmp(this.m)&gt;=0?T=N.isub(this.m):N.cmpn(0)&lt;0&amp;&amp;(T=N.iadd(this.m)),T._forceRed(this)},I.prototype.mul=function(C,j){if(C.isZero()||j.isZero())return new s(0)._forceRed(this);var k=C.mul(j),S=k.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),N=k.isub(S).iushrn(this.shift),T=N;return N.cmp(this.m)&gt;=0?T=N.isub(this.m):N.cmpn(0)&lt;0&amp;&amp;(T=N.iadd(this.m)),T._forceRed(this)},I.prototype.invm=function(C){return this.imod(C._invmp(this.m).mul(this.r2))._forceRed(this)}})(n===void 0||n)},{buffer:188}],187:[function(t,n,o){var i;function a(l){this.rand=l}if(n.exports=function(l){return i||(i=new a(null)),i.generate(l)},n.exports.Rand=a,a.prototype.generate=function(l){return this._rand(l)},a.prototype._rand=function(l){if(this.rand.getBytes)return this.rand.getBytes(l);for(var s=new Uint8Array(l),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(l){var s=new Uint8Array(l);return self.crypto.getRandomValues(s),s}:self.msCrypto&amp;&amp;self.msCrypto.getRandomValues?a.prototype._rand=function(l){var s=new Uint8Array(l);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(l){return u.randomBytes(l)}}catch{}},{crypto:188}],188:[function(t,n,o){},{}],189:[function(t,n,o){var i=t(&quot;safe-buffer&quot;).Buffer;function a(h){i.isBuffer(h)||(h=i.from(h));for(var d=h.length/4|0,g=new Array(d),y=0;y&lt;d;y++)g[y]=h.readUInt32BE(4*y);return g}function u(h){for(;0&lt;h.length;h++)h[0]=0}function l(h,d,g,y,p){for(var b,x,_,E,M=g[0],D=g[1],W=g[2],L=g[3],V=h[0]^d[0],H=h[1]^d[1],K=h[2]^d[2],z=h[3]^d[3],O=4,I=1;I&lt;p;I++)b=M[V&gt;&gt;&gt;24]^D[H&gt;&gt;&gt;16&amp;255]^W[K&gt;&gt;&gt;8&amp;255]^L[255&amp;z]^d[O++],x=M[H&gt;&gt;&gt;24]^D[K&gt;&gt;&gt;16&amp;255]^W[z&gt;&gt;&gt;8&amp;255]^L[255&amp;V]^d[O++],_=M[K&gt;&gt;&gt;24]^D[z&gt;&gt;&gt;16&amp;255]^W[V&gt;&gt;&gt;8&amp;255]^L[255&amp;H]^d[O++],E=M[z&gt;&gt;&gt;24]^D[V&gt;&gt;&gt;16&amp;255]^W[H&gt;&gt;&gt;8&amp;255]^L[255&amp;K]^d[O++],V=b,H=x,K=_,z=E;return b=(y[V&gt;&gt;&gt;24]&lt;&lt;24|y[H&gt;&gt;&gt;16&amp;255]&lt;&lt;16|y[K&gt;&gt;&gt;8&amp;255]&lt;&lt;8|y[255&amp;z])^d[O++],x=(y[H&gt;&gt;&gt;24]&lt;&lt;24|y[K&gt;&gt;&gt;16&amp;255]&lt;&lt;16|y[z&gt;&gt;&gt;8&amp;255]&lt;&lt;8|y[255&amp;V])^d[O++],_=(y[K&gt;&gt;&gt;24]&lt;&lt;24|y[z&gt;&gt;&gt;16&amp;255]&lt;&lt;16|y[V&gt;&gt;&gt;8&amp;255]&lt;&lt;8|y[255&amp;H])^d[O++],E=(y[z&gt;&gt;&gt;24]&lt;&lt;24|y[V&gt;&gt;&gt;16&amp;255]&lt;&lt;16|y[H&gt;&gt;&gt;8&amp;255]&lt;&lt;8|y[255&amp;K])^d[O++],[b&gt;&gt;&gt;=0,x&gt;&gt;&gt;=0,_&gt;&gt;&gt;=0,E&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),d=0;d&lt;256;d++)h[d]=d&lt;128?d&lt;&lt;1:d&lt;&lt;1^283;for(var g=[],y=[],p=[[],[],[],[]],b=[[],[],[],[]],x=0,_=0,E=0;E&lt;256;++E){var M=_^_&lt;&lt;1^_&lt;&lt;2^_&lt;&lt;3^_&lt;&lt;4;M=M&gt;&gt;&gt;8^255&amp;M^99,g[x]=M,y[M]=x;var D=h[x],W=h[D],L=h[W],V=257*h[M]^16843008*M;p[0][x]=V&lt;&lt;24|V&gt;&gt;&gt;8,p[1][x]=V&lt;&lt;16|V&gt;&gt;&gt;16,p[2][x]=V&lt;&lt;8|V&gt;&gt;&gt;24,p[3][x]=V,V=16843009*L^65537*W^257*D^16843008*x,b[0][M]=V&lt;&lt;24|V&gt;&gt;&gt;8,b[1][M]=V&lt;&lt;16|V&gt;&gt;&gt;16,b[2][M]=V&lt;&lt;8|V&gt;&gt;&gt;24,b[3][M]=V,x===0?x=_=1:(x=D^h[h[h[L^D]]],_^=h[h[_]])}return{SBOX:g,INV_SBOX:y,SUB_MIX:p,INV_SUB_MIX:b}})();function m(h){this._key=a(h),this._reset()}m.blockSize=16,m.keySize=32,m.prototype.blockSize=m.blockSize,m.prototype.keySize=m.keySize,m.prototype._reset=function(){for(var h=this._key,d=h.length,g=d+6,y=4*(g+1),p=[],b=0;b&lt;d;b++)p[b]=h[b];for(b=d;b&lt;y;b++){var x=p[b-1];b%d==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/d|0]&lt;&lt;24):d&gt;6&amp;&amp;b%d==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]),p[b]=p[b-d]^x}for(var _=[],E=0;E&lt;y;E++){var M=y-E,D=p[M-(E%4?0:4)];_[E]=E&lt;4||M&lt;=4?D:c.INV_SUB_MIX[0][c.SBOX[D&gt;&gt;&gt;24]]^c.INV_SUB_MIX[1][c.SBOX[D&gt;&gt;&gt;16&amp;255]]^c.INV_SUB_MIX[2][c.SBOX[D&gt;&gt;&gt;8&amp;255]]^c.INV_SUB_MIX[3][c.SBOX[255&amp;D]]}this._nRounds=g,this._keySchedule=p,this._invKeySchedule=_},m.prototype.encryptBlockRaw=function(h){return l(h=a(h),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},m.prototype.encryptBlock=function(h){var d=this.encryptBlockRaw(h),g=i.allocUnsafe(16);return g.writeUInt32BE(d[0],0),g.writeUInt32BE(d[1],4),g.writeUInt32BE(d[2],8),g.writeUInt32BE(d[3],12),g},m.prototype.decryptBlock=function(h){var d=(h=a(h))[1];h[1]=h[3],h[3]=d;var g=l(h,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),y=i.allocUnsafe(16);return y.writeUInt32BE(g[0],0),y.writeUInt32BE(g[3],4),y.writeUInt32BE(g[2],8),y.writeUInt32BE(g[1],12),y},m.prototype.scrub=function(){u(this._keySchedule),u(this._invKeySchedule),u(this._key)},n.exports.AES=m},{&quot;safe-buffer&quot;:494}],190:[function(t,n,o){var i=t(&quot;./aes&quot;),a=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;cipher-base&quot;),l=t(&quot;inherits&quot;),s=t(&quot;./ghash&quot;),c=t(&quot;buffer-xor&quot;),m=t(&quot;./incr32&quot;);function h(d,g,y,p){u.call(this);var b=a.alloc(4,0);this._cipher=new i.AES(g);var x=this._cipher.encryptBlock(b);this._ghash=new s(x),y=(function(_,E,M){if(E.length===12)return _._finID=a.concat([E,a.from([0,0,0,1])]),a.concat([E,a.from([0,0,0,2])]);var D=new s(M),W=E.length,L=W%16;D.update(E),L&amp;&amp;(L=16-L,D.update(a.alloc(L,0))),D.update(a.alloc(8,0));var V=8*W,H=a.alloc(8);H.writeUIntBE(V,0,8),D.update(H),_._finID=D.state;var K=a.from(_._finID);return m(K),K})(this,y,x),this._prev=a.from(y),this._cache=a.allocUnsafe(0),this._secCache=a.allocUnsafe(0),this._decrypt=p,this._alen=0,this._len=0,this._mode=d,this._authTag=null,this._called=!1}l(h,u),h.prototype._update=function(d){if(!this._called&amp;&amp;this._alen){var g=16-this._alen%16;g&lt;16&amp;&amp;(g=a.alloc(g,0),this._ghash.update(g))}this._called=!0;var y=this._mode.encrypt(this,d);return this._decrypt?this._ghash.update(d):this._ghash.update(y),this._len+=d.length,y},h.prototype._final=function(){if(this._decrypt&amp;&amp;!this._authTag)throw new Error(&quot;Unsupported state or unable to authenticate data&quot;);var d=c(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&amp;&amp;(function(g,y){var p=0;g.length!==y.length&amp;&amp;p++;for(var b=Math.min(g.length,y.length),x=0;x&lt;b;++x)p+=g[x]^y[x];return p})(d,this._authTag))throw new Error(&quot;Unsupported state or unable to authenticate data&quot;);this._authTag=d,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(d){if(!this._decrypt)throw new Error(&quot;Attempting to set auth tag in unsupported state&quot;);this._authTag=d},h.prototype.setAAD=function(d){if(this._called)throw new Error(&quot;Attempting to set AAD in unsupported state&quot;);this._ghash.update(d),this._alen+=d.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,o){var i=t(&quot;./encrypter&quot;),a=t(&quot;./decrypter&quot;),u=t(&quot;./modes/list.json&quot;);o.createCipher=o.Cipher=i.createCipher,o.createCipheriv=o.Cipheriv=i.createCipheriv,o.createDecipher=o.Decipher=a.createDecipher,o.createDecipheriv=o.Decipheriv=a.createDecipheriv,o.listCiphers=o.getCiphers=function(){return Object.keys(u)}},{&quot;./decrypter&quot;:192,&quot;./encrypter&quot;:193,&quot;./modes/list.json&quot;:203}],192:[function(t,n,o){var i=t(&quot;./authCipher&quot;),a=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;./modes&quot;),l=t(&quot;./streamCipher&quot;),s=t(&quot;cipher-base&quot;),c=t(&quot;./aes&quot;),m=t(&quot;evp_bytestokey&quot;);function h(y,p,b){s.call(this),this._cache=new d,this._last=void 0,this._cipher=new c.AES(p),this._prev=a.from(b),this._mode=y,this._autopadding=!0}function d(){this.cache=a.allocUnsafe(0)}function g(y,p,b){var x=u[y.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 p==&quot;string&quot;&amp;&amp;(p=a.from(p)),p.length!==x.key/8)throw new TypeError(&quot;invalid key length &quot;+p.length);return x.type===&quot;stream&quot;?new l(x.module,p,b,!0):x.type===&quot;auth&quot;?new i(x.module,p,b,!0):new h(x.module,p,b)}t(&quot;inherits&quot;)(h,s),h.prototype._update=function(y){var p,b;this._cache.add(y);for(var x=[];p=this._cache.get(this._autopadding);)b=this._mode.decrypt(this,p),x.push(b);return a.concat(x)},h.prototype._final=function(){var y=this._cache.flush();if(this._autopadding)return(function(p){var b=p[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(p[x+(16-b)]!==b)throw new Error(&quot;unable to decrypt data&quot;);if(b!==16)return p.slice(0,16-b)})(this._mode.decrypt(this,y));if(y)throw new Error(&quot;data not multiple of block length&quot;)},h.prototype.setAutoPadding=function(y){return this._autopadding=!!y,this},d.prototype.add=function(y){this.cache=a.concat([this.cache,y])},d.prototype.get=function(y){var p;if(y){if(this.cache.length&gt;16)return p=this.cache.slice(0,16),this.cache=this.cache.slice(16),p}else if(this.cache.length&gt;=16)return p=this.cache.slice(0,16),this.cache=this.cache.slice(16),p;return null},d.prototype.flush=function(){if(this.cache.length)return this.cache},o.createDecipher=function(y,p){var b=u[y.toLowerCase()];if(!b)throw new TypeError(&quot;invalid suite type&quot;);var x=m(p,!1,b.key,b.iv);return g(y,x.key,x.iv)},o.createDecipheriv=g},{&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,o){var i=t(&quot;./modes&quot;),a=t(&quot;./authCipher&quot;),u=t(&quot;safe-buffer&quot;).Buffer,l=t(&quot;./streamCipher&quot;),s=t(&quot;cipher-base&quot;),c=t(&quot;./aes&quot;),m=t(&quot;evp_bytestokey&quot;);function h(p,b,x){s.call(this),this._cache=new g,this._cipher=new c.AES(b),this._prev=u.from(x),this._mode=p,this._autopadding=!0}t(&quot;inherits&quot;)(h,s),h.prototype._update=function(p){var b,x;this._cache.add(p);for(var _=[];b=this._cache.get();)x=this._mode.encrypt(this,b),_.push(x);return u.concat(_)};var d=u.alloc(16,16);function g(){this.cache=u.allocUnsafe(0)}function y(p,b,x){var _=i[p.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 l(_.module,b,x):_.type===&quot;auth&quot;?new a(_.module,b,x):new h(_.module,b,x)}h.prototype._final=function(){var p=this._cache.flush();if(this._autopadding)return p=this._mode.encrypt(this,p),this._cipher.scrub(),p;if(!p.equals(d))throw this._cipher.scrub(),new Error(&quot;data not multiple of block length&quot;)},h.prototype.setAutoPadding=function(p){return this._autopadding=!!p,this},g.prototype.add=function(p){this.cache=u.concat([this.cache,p])},g.prototype.get=function(){if(this.cache.length&gt;15){var p=this.cache.slice(0,16);return this.cache=this.cache.slice(16),p}return null},g.prototype.flush=function(){for(var p=16-this.cache.length,b=u.allocUnsafe(p),x=-1;++x&lt;p;)b.writeUInt8(p,x);return u.concat([this.cache,b])},o.createCipheriv=y,o.createCipher=function(p,b){var x=i[p.toLowerCase()];if(!x)throw new TypeError(&quot;invalid suite type&quot;);var _=m(b,!1,x.key,x.iv);return y(p,_.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,o){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 l(s){this.h=s,this.state=i.alloc(16,0),this.cache=i.allocUnsafe(0)}l.prototype.ghash=function(s){for(var c=-1;++c&lt;s.length;)this.state[c]^=s[c];this._multiply()},l.prototype._multiply=function(){for(var s,c,m,h=[(s=this.h).readUInt32BE(0),s.readUInt32BE(4),s.readUInt32BE(8),s.readUInt32BE(12)],d=[0,0,0,0],g=-1;++g&lt;128;){for((this.state[~~(g/8)]&amp;1&lt;&lt;7-g%8)!=0&amp;&amp;(d[0]^=h[0],d[1]^=h[1],d[2]^=h[2],d[3]^=h[3]),m=(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,m&amp;&amp;(h[0]=h[0]^225&lt;&lt;24)}this.state=u(d)},l.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)},l.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=l},{&quot;safe-buffer&quot;:494}],195:[function(t,n,o){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,o){var i=t(&quot;buffer-xor&quot;);o.encrypt=function(a,u){var l=i(u,a._prev);return a._prev=a._cipher.encryptBlock(l),a._prev},o.decrypt=function(a,u){var l=a._prev;a._prev=u;var s=a._cipher.decryptBlock(u);return i(s,l)}},{&quot;buffer-xor&quot;:219}],197:[function(t,n,o){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;buffer-xor&quot;);function u(l,s,c){var m=s.length,h=a(s,l._cache);return l._cache=l._cache.slice(m),l._prev=i.concat([l._prev,c?s:h]),h}o.encrypt=function(l,s,c){for(var m,h=i.allocUnsafe(0);s.length;){if(l._cache.length===0&amp;&amp;(l._cache=l._cipher.encryptBlock(l._prev),l._prev=i.allocUnsafe(0)),!(l._cache.length&lt;=s.length)){h=i.concat([h,u(l,s,c)]);break}m=l._cache.length,h=i.concat([h,u(l,s.slice(0,m),c)]),s=s.slice(m)}return h}},{&quot;buffer-xor&quot;:219,&quot;safe-buffer&quot;:494}],198:[function(t,n,o){var i=t(&quot;safe-buffer&quot;).Buffer;function a(l,s,c){for(var m,h,d=-1,g=0;++d&lt;8;)m=s&amp;1&lt;&lt;7-d?128:0,g+=(128&amp;(h=l._cipher.encryptBlock(l._prev)[0]^m))&gt;&gt;d%8,l._prev=u(l._prev,c?m:h);return g}function u(l,s){var c=l.length,m=-1,h=i.allocUnsafe(l.length);for(l=i.concat([l,i.from([s])]);++m&lt;c;)h[m]=l[m]&lt;&lt;1|l[m+1]&gt;&gt;7;return h}o.encrypt=function(l,s,c){for(var m=s.length,h=i.allocUnsafe(m),d=-1;++d&lt;m;)h[d]=a(l,s[d],c);return h}},{&quot;safe-buffer&quot;:494}],199:[function(t,n,o){var i=t(&quot;safe-buffer&quot;).Buffer;function a(u,l,s){var c=u._cipher.encryptBlock(u._prev)[0]^l;return u._prev=i.concat([u._prev.slice(1),i.from([s?l:c])]),c}o.encrypt=function(u,l,s){for(var c=l.length,m=i.allocUnsafe(c),h=-1;++h&lt;c;)m[h]=a(u,l[h],s);return m}},{&quot;safe-buffer&quot;:494}],200:[function(t,n,o){var i=t(&quot;buffer-xor&quot;),a=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;../incr32&quot;);function l(s){var c=s._cipher.encryptBlockRaw(s._prev);return u(s._prev),c}o.encrypt=function(s,c){var m=Math.ceil(c.length/16),h=s._cache.length;s._cache=a.concat([s._cache,a.allocUnsafe(16*m)]);for(var d=0;d&lt;m;d++){var g=l(s),y=h+16*d;s._cache.writeUInt32BE(g[0],y+0),s._cache.writeUInt32BE(g[1],y+4),s._cache.writeUInt32BE(g[2],y+8),s._cache.writeUInt32BE(g[3],y+12)}var p=s._cache.slice(0,c.length);return s._cache=s._cache.slice(c.length),i(c,p)}},{&quot;../incr32&quot;:195,&quot;buffer-xor&quot;:219,&quot;safe-buffer&quot;:494}],201:[function(t,n,o){o.encrypt=function(i,a){return i._cipher.encryptBlock(a)},o.decrypt=function(i,a){return i._cipher.decryptBlock(a)}},{}],202:[function(t,n,o){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,o){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,o){(function(i){(function(){var a=t(&quot;buffer-xor&quot;);function u(l){return l._prev=l._cipher.encryptBlock(l._prev),l._prev}o.encrypt=function(l,s){for(;l._cache.length&lt;s.length;)l._cache=i.concat([l._cache,u(l)]);var c=l._cache.slice(0,s.length);return l._cache=l._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,o){var i=t(&quot;./aes&quot;),a=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;cipher-base&quot;);function l(s,c,m,h){u.call(this),this._cipher=new i.AES(c),this._prev=a.from(m),this._cache=a.allocUnsafe(0),this._secCache=a.allocUnsafe(0),this._decrypt=h,this._mode=s}t(&quot;inherits&quot;)(l,u),l.prototype._update=function(s){return this._mode.encrypt(this,s,this._decrypt)},l.prototype._final=function(){this._cipher.scrub()},n.exports=l},{&quot;./aes&quot;:189,&quot;cipher-base&quot;:221,inherits:440,&quot;safe-buffer&quot;:494}],206:[function(t,n,o){var i=t(&quot;browserify-des&quot;),a=t(&quot;browserify-aes/browser&quot;),u=t(&quot;browserify-aes/modes&quot;),l=t(&quot;browserify-des/modes&quot;),s=t(&quot;evp_bytestokey&quot;);function c(h,d,g){if(h=h.toLowerCase(),u[h])return a.createCipheriv(h,d,g);if(l[h])return new i({key:d,iv:g,mode:h});throw new TypeError(&quot;invalid suite type&quot;)}function m(h,d,g){if(h=h.toLowerCase(),u[h])return a.createDecipheriv(h,d,g);if(l[h])return new i({key:d,iv:g,mode:h,decrypt:!0});throw new TypeError(&quot;invalid suite type&quot;)}o.createCipher=o.Cipher=function(h,d){var g,y;if(h=h.toLowerCase(),u[h])g=u[h].key,y=u[h].iv;else{if(!l[h])throw new TypeError(&quot;invalid suite type&quot;);g=8*l[h].key,y=l[h].iv}var p=s(d,!1,g,y);return c(h,p.key,p.iv)},o.createCipheriv=o.Cipheriv=c,o.createDecipher=o.Decipher=function(h,d){var g,y;if(h=h.toLowerCase(),u[h])g=u[h].key,y=u[h].iv;else{if(!l[h])throw new TypeError(&quot;invalid suite type&quot;);g=8*l[h].key,y=l[h].iv}var p=s(d,!1,g,y);return m(h,p.key,p.iv)},o.createDecipheriv=o.Decipheriv=m,o.listCiphers=o.getCiphers=function(){return Object.keys(l).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,o){var i=t(&quot;cipher-base&quot;),a=t(&quot;des.js&quot;),u=t(&quot;inherits&quot;),l=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(m){i.call(this);var h,d=m.mode.toLowerCase(),g=s[d];h=m.decrypt?&quot;decrypt&quot;:&quot;encrypt&quot;;var y=m.key;l.isBuffer(y)||(y=l.from(y)),d!==&quot;des-ede&quot;&amp;&amp;d!==&quot;des-ede-cbc&quot;||(y=l.concat([y,y.slice(0,8)]));var p=m.iv;l.isBuffer(p)||(p=l.from(p)),this._des=g.create({key:y,iv:p,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(m){return l.from(this._des.update(m))},c.prototype._final=function(){return l.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,o){o[&quot;des-ecb&quot;]={key:8,iv:0},o[&quot;des-cbc&quot;]=o.des={key:8,iv:8},o[&quot;des-ede3-cbc&quot;]=o.des3={key:24,iv:8},o[&quot;des-ede3&quot;]={key:24,iv:0},o[&quot;des-ede-cbc&quot;]={key:16,iv:8},o[&quot;des-ede&quot;]={key:16,iv:0}},{}],209:[function(t,n,o){(function(i){(function(){var a=t(&quot;bn.js&quot;),u=t(&quot;randombytes&quot;);function l(c){var m,h=c.modulus.byteLength();do m=new a(u(h));while(m.cmp(c.modulus)&gt;=0||!m.umod(c.prime1)||!m.umod(c.prime2));return m}function s(c,m){var h=(function(W){var L=l(W);return{blinder:L.toRed(a.mont(W.modulus)).redPow(new a(W.publicExponent)).fromRed(),unblinder:L.invm(W.modulus)}})(m),d=m.modulus.byteLength(),g=new a(c).mul(h.blinder).umod(m.modulus),y=g.toRed(a.mont(m.prime1)),p=g.toRed(a.mont(m.prime2)),b=m.coefficient,x=m.prime1,_=m.prime2,E=y.redPow(m.exponent1).fromRed(),M=p.redPow(m.exponent2).fromRed(),D=E.isub(M).imul(b).umod(x).imul(_);return M.iadd(D).imul(h.unblinder).umod(m.modulus).toArrayLike(i,&quot;be&quot;,d)}s.getr=l,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,o){n.exports=t(&quot;./browser/algorithms.json&quot;)},{&quot;./browser/algorithms.json&quot;:211}],211:[function(t,n,o){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,o){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,o){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;create-hash&quot;),u=t(&quot;readable-stream&quot;),l=t(&quot;inherits&quot;),s=t(&quot;./sign&quot;),c=t(&quot;./verify&quot;),m=t(&quot;./algorithms.json&quot;);function h(p){u.Writable.call(this);var b=m[p];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 d(p){u.Writable.call(this);var b=m[p];if(!b)throw new Error(&quot;Unknown message digest&quot;);this._hash=a(b.hash),this._tag=b.id,this._signType=b.sign}function g(p){return new h(p)}function y(p){return new d(p)}Object.keys(m).forEach((function(p){m[p].id=i.from(m[p].id,&quot;hex&quot;),m[p.toLowerCase()]=m[p]})),l(h,u.Writable),h.prototype._write=function(p,b,x){this._hash.update(p),x()},h.prototype.update=function(p,b){return typeof p==&quot;string&quot;&amp;&amp;(p=i.from(p,b)),this._hash.update(p),this},h.prototype.sign=function(p,b){this.end();var x=this._hash.digest(),_=s(x,p,this._hashType,this._signType,this._tag);return b?_.toString(b):_},l(d,u.Writable),d.prototype._write=function(p,b,x){this._hash.update(p),x()},d.prototype.update=function(p,b){return typeof p==&quot;string&quot;&amp;&amp;(p=i.from(p,b)),this._hash.update(p),this},d.prototype.verify=function(p,b,x){typeof b==&quot;string&quot;&amp;&amp;(b=i.from(b,x)),this.end();var _=this._hash.digest();return c(b,_,p,this._signType,this._tag)},n.exports={Sign:g,Verify:y,createSign:g,createVerify:y}},{&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,o){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;create-hmac&quot;),u=t(&quot;browserify-rsa&quot;),l=t(&quot;elliptic&quot;).ec,s=t(&quot;bn.js&quot;),c=t(&quot;parse-asn1&quot;),m=t(&quot;./curves.json&quot;);function h(p,b,x,_){if((p=i.from(p.toArray())).length&lt;b.byteLength()){var E=i.alloc(b.byteLength()-p.length);p=i.concat([E,p])}var M=x.length,D=(function(V,H){V=(V=d(V,H)).mod(H);var K=i.from(V.toArray());if(K.length&lt;H.byteLength()){var z=i.alloc(H.byteLength()-K.length);K=i.concat([z,K])}return K})(x,b),W=i.alloc(M);W.fill(1);var L=i.alloc(M);return L=a(_,L).update(W).update(i.from([0])).update(p).update(D).digest(),W=a(_,L).update(W).digest(),{k:L=a(_,L).update(W).update(i.from([1])).update(p).update(D).digest(),v:W=a(_,L).update(W).digest()}}function d(p,b){var x=new s(p),_=(p.length&lt;&lt;3)-b.bitLength();return _&gt;0&amp;&amp;x.ishrn(_),x}function g(p,b,x){var _,E;do{for(_=i.alloc(0);8*_.length&lt;p.bitLength();)b.v=a(x,b.k).update(b.v).digest(),_=i.concat([_,b.v]);E=d(_,p),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(E.cmp(p)!==-1);return E}function y(p,b,x,_){return p.toRed(s.mont(x)).redPow(b).fromRed().mod(_)}n.exports=function(p,b,x,_,E){var M=c(b);if(M.curve){if(_!==&quot;ecdsa&quot;&amp;&amp;_!==&quot;ecdsa/rsa&quot;)throw new Error(&quot;wrong private key type&quot;);return(function(V,H){var K=m[H.curve.join(&quot;.&quot;)];if(!K)throw new Error(&quot;unknown curve &quot;+H.curve.join(&quot;.&quot;));var z=new l(K).keyFromPrivate(H.privateKey).sign(V);return i.from(z.toDER())})(p,M)}if(M.type===&quot;dsa&quot;){if(_!==&quot;dsa&quot;)throw new Error(&quot;wrong private key type&quot;);return(function(V,H,K){for(var z,O=H.params.priv_key,I=H.params.p,C=H.params.q,j=H.params.g,k=new s(0),S=d(V,C).mod(C),N=!1,T=h(O,C,V,K);N===!1;)z=g(C,T,K),k=y(j,z,I,C),(N=z.invm(C).imul(S.add(O.mul(k))).mod(C)).cmpn(0)===0&amp;&amp;(N=!1,k=new s(0));return(function(R,B){R=R.toArray(),B=B.toArray(),128&amp;R[0]&amp;&amp;(R=[0].concat(R)),128&amp;B[0]&amp;&amp;(B=[0].concat(B));var Y=[48,R.length+B.length+4,2,R.length];return Y=Y.concat(R,[2,B.length],B),i.from(Y)})(k,N)})(p,M,x)}if(_!==&quot;rsa&quot;&amp;&amp;_!==&quot;ecdsa/rsa&quot;)throw new Error(&quot;wrong private key type&quot;);p=i.concat([E,p]);for(var D=M.modulus.byteLength(),W=[0,1];p.length+W.length+1&lt;D;)W.push(255);W.push(0);for(var L=-1;++L&lt;p.length;)W.push(p[L]);return u(W,M)},n.exports.getKey=h,n.exports.makeKey=g},{&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,o){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;bn.js&quot;),u=t(&quot;elliptic&quot;).ec,l=t(&quot;parse-asn1&quot;),s=t(&quot;./curves.json&quot;);function c(m,h){if(m.cmpn(0)&lt;=0)throw new Error(&quot;invalid sig&quot;);if(m.cmp(h)&gt;=h)throw new Error(&quot;invalid sig&quot;)}n.exports=function(m,h,d,g,y){var p=l(d);if(p.type===&quot;ec&quot;){if(g!==&quot;ecdsa&quot;&amp;&amp;g!==&quot;ecdsa/rsa&quot;)throw new Error(&quot;wrong public key type&quot;);return(function(W,L,V){var H=s[V.data.algorithm.curve.join(&quot;.&quot;)];if(!H)throw new Error(&quot;unknown curve &quot;+V.data.algorithm.curve.join(&quot;.&quot;));var K=new u(H),z=V.data.subjectPrivateKey.data;return K.verify(L,W,z)})(m,h,p)}if(p.type===&quot;dsa&quot;){if(g!==&quot;dsa&quot;)throw new Error(&quot;wrong public key type&quot;);return(function(W,L,V){var H=V.data.p,K=V.data.q,z=V.data.g,O=V.data.pub_key,I=l.signature.decode(W,&quot;der&quot;),C=I.s,j=I.r;c(C,K),c(j,K);var k=a.mont(H),S=C.invm(K);return z.toRed(k).redPow(new a(L).mul(S).mod(K)).fromRed().mul(O.toRed(k).redPow(j.mul(S).mod(K)).fromRed()).mod(H).mod(K).cmp(j)===0})(m,h,p)}if(g!==&quot;rsa&quot;&amp;&amp;g!==&quot;ecdsa/rsa&quot;)throw new Error(&quot;wrong public key type&quot;);h=i.concat([y,h]);for(var b=p.modulus.byteLength(),x=[1],_=0;h.length+x.length+2&lt;b;)x.push(255),_++;x.push(0);for(var E=-1;++E&lt;h.length;)x.push(h[E]);x=i.from(x);var M=a.mont(p.modulus);m=(m=new a(m).toRed(M)).redPow(new a(p.publicExponent)),m=i.from(m.fromRed().toArray());var D=_&lt;8?1:0;for(b=Math.min(m.length,x.length),m.length!==x.length&amp;&amp;(D=1),E=-1;++E&lt;b;)D|=m[E]^x[E];return D===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,o){},{}],217:[function(t,n,o){var i=t(&quot;buffer&quot;),a=i.Buffer;function u(s,c){for(var m in s)c[m]=s[m]}function l(s,c,m){return a(s,c,m)}a.from&amp;&amp;a.alloc&amp;&amp;a.allocUnsafe&amp;&amp;a.allocUnsafeSlow?n.exports=i:(u(i,o),o.Buffer=l),u(a,l),l.from=function(s,c,m){if(typeof s==&quot;number&quot;)throw new TypeError(&quot;Argument must not be a number&quot;);return a(s,c,m)},l.alloc=function(s,c,m){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 m==&quot;string&quot;?h.fill(c,m):h.fill(c):h.fill(0),h},l.allocUnsafe=function(s){if(typeof s!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);return a(s)},l.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,o){var i=t(&quot;safe-buffer&quot;).Buffer,a=i.isEncoding||function(p){switch((p=&quot;&quot;+p)&amp;&amp;p.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(p){var b;switch(this.encoding=(function(x){var _=(function(E){if(!E)return&quot;utf8&quot;;for(var M;;)switch(E){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 E;default:if(M)return;E=(&quot;&quot;+E).toLowerCase(),M=!0}})(x);if(typeof _!=&quot;string&quot;&amp;&amp;(i.isEncoding===a||!a(x)))throw new Error(&quot;Unknown encoding: &quot;+x);return _||x})(p),this.encoding){case&quot;utf16le&quot;:this.text=c,this.end=m,b=4;break;case&quot;utf8&quot;:this.fillLast=s,b=4;break;case&quot;base64&quot;:this.text=h,this.end=d,b=3;break;default:return this.write=g,void(this.end=y)}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(b)}function l(p){return p&lt;=127?0:p&gt;&gt;5==6?2:p&gt;&gt;4==14?3:p&gt;&gt;3==30?4:p&gt;&gt;6==2?-1:-2}function s(p){var b=this.lastTotal-this.lastNeed,x=(function(_,E,M){if((192&amp;E[0])!=128)return _.lastNeed=0,&quot;�&quot;;if(_.lastNeed&gt;1&amp;&amp;E.length&gt;1){if((192&amp;E[1])!=128)return _.lastNeed=1,&quot;�&quot;;if(_.lastNeed&gt;2&amp;&amp;E.length&gt;2&amp;&amp;(192&amp;E[2])!=128)return _.lastNeed=2,&quot;�&quot;}})(this,p);return x!==void 0?x:this.lastNeed&lt;=p.length?(p.copy(this.lastChar,b,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(p.copy(this.lastChar,b,0,p.length),void(this.lastNeed-=p.length))}function c(p,b){if((p.length-b)%2==0){var x=p.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]=p[p.length-2],this.lastChar[1]=p[p.length-1],x.slice(0,-1)}return x}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=p[p.length-1],p.toString(&quot;utf16le&quot;,b,p.length-1)}function m(p){var b=p&amp;&amp;p.length?this.write(p):&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(p,b){var x=(p.length-b)%3;return x===0?p.toString(&quot;base64&quot;,b):(this.lastNeed=3-x,this.lastTotal=3,x===1?this.lastChar[0]=p[p.length-1]:(this.lastChar[0]=p[p.length-2],this.lastChar[1]=p[p.length-1]),p.toString(&quot;base64&quot;,b,p.length-x))}function d(p){var b=p&amp;&amp;p.length?this.write(p):&quot;&quot;;return this.lastNeed?b+this.lastChar.toString(&quot;base64&quot;,0,3-this.lastNeed):b}function g(p){return p.toString(this.encoding)}function y(p){return p&amp;&amp;p.length?this.write(p):&quot;&quot;}o.StringDecoder=u,u.prototype.write=function(p){if(p.length===0)return&quot;&quot;;var b,x;if(this.lastNeed){if((b=this.fillLast(p))===void 0)return&quot;&quot;;x=this.lastNeed,this.lastNeed=0}else x=0;return x&lt;p.length?b?b+this.text(p,x):this.text(p,x):b||&quot;&quot;},u.prototype.end=function(p){var b=p&amp;&amp;p.length?this.write(p):&quot;&quot;;return this.lastNeed?b+&quot;�&quot;:b},u.prototype.text=function(p,b){var x=(function(E,M,D){var W=M.length-1;if(W&lt;D)return 0;var L=l(M[W]);return L&gt;=0?(L&gt;0&amp;&amp;(E.lastNeed=L-1),L):--W&lt;D||L===-2?0:(L=l(M[W]))&gt;=0?(L&gt;0&amp;&amp;(E.lastNeed=L-2),L):--W&lt;D||L===-2?0:(L=l(M[W]))&gt;=0?(L&gt;0&amp;&amp;(L===2?L=0:E.lastNeed=L-3),L):0})(this,p,b);if(!this.lastNeed)return p.toString(&quot;utf8&quot;,b);this.lastTotal=x;var _=p.length-(x-this.lastNeed);return p.copy(this.lastChar,0,_),p.toString(&quot;utf8&quot;,b,_)},u.prototype.fillLast=function(p){if(this.lastNeed&lt;=p.length)return p.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);p.copy(this.lastChar,this.lastTotal-this.lastNeed,0,p.length),this.lastNeed-=p.length}},{&quot;safe-buffer&quot;:217}],219:[function(t,n,o){(function(i){(function(){n.exports=function(a,u){for(var l=Math.min(a.length,u.length),s=new i(l),c=0;c&lt;l;++c)s[c]=a[c]^u[c];return s}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{buffer:220}],220:[function(t,n,o){(function(i){(function(){var a=t(&quot;base64-js&quot;),u=t(&quot;ieee754&quot;);o.Buffer=s,o.SlowBuffer=function(F){return+F!=F&amp;&amp;(F=0),s.alloc(+F)},o.INSPECT_MAX_BYTES=50;function l(F){if(F&gt;2147483647)throw new RangeError(&#039;The value &quot;&#039;+F+&#039;&quot; is invalid for option &quot;size&quot;&#039;);var P=new Uint8Array(F);return P.__proto__=s.prototype,P}function s(F,P,X){if(typeof F==&quot;number&quot;){if(typeof P==&quot;string&quot;)throw new TypeError(&#039;The &quot;string&quot; argument must be of type string. Received type number&#039;);return h(F)}return c(F,P,X)}function c(F,P,X){if(typeof F==&quot;string&quot;)return(function(te,ae){if(typeof ae==&quot;string&quot;&amp;&amp;ae!==&quot;&quot;||(ae=&quot;utf8&quot;),!s.isEncoding(ae))throw new TypeError(&quot;Unknown encoding: &quot;+ae);var ce=0|y(te,ae),fe=l(ce),se=fe.write(te,ae);return se!==ce&amp;&amp;(fe=fe.slice(0,se)),fe})(F,P);if(ArrayBuffer.isView(F))return d(F);if(F==null)throw TypeError(&quot;The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type &quot;+typeof F);if(U(F,ArrayBuffer)||F&amp;&amp;U(F.buffer,ArrayBuffer))return(function(te,ae,ce){if(ae&lt;0||te.byteLength&lt;ae)throw new RangeError(&#039;&quot;offset&quot; is outside of buffer bounds&#039;);if(te.byteLength&lt;ae+(ce||0))throw new RangeError(&#039;&quot;length&quot; is outside of buffer bounds&#039;);var fe;return fe=ae===void 0&amp;&amp;ce===void 0?new Uint8Array(te):ce===void 0?new Uint8Array(te,ae):new Uint8Array(te,ae,ce),fe.__proto__=s.prototype,fe})(F,P,X);if(typeof F==&quot;number&quot;)throw new TypeError(&#039;The &quot;value&quot; argument must not be of type number. Received type number&#039;);var re=F.valueOf&amp;&amp;F.valueOf();if(re!=null&amp;&amp;re!==F)return s.from(re,P,X);var Z=(function(te){if(s.isBuffer(te)){var ae=0|g(te.length),ce=l(ae);return ce.length===0||te.copy(ce,0,0,ae),ce}if(te.length!==void 0)return typeof te.length!=&quot;number&quot;||ee(te.length)?l(0):d(te);if(te.type===&quot;Buffer&quot;&amp;&amp;Array.isArray(te.data))return d(te.data)})(F);if(Z)return Z;if(typeof Symbol&lt;&quot;u&quot;&amp;&amp;Symbol.toPrimitive!=null&amp;&amp;typeof F[Symbol.toPrimitive]==&quot;function&quot;)return s.from(F[Symbol.toPrimitive](&quot;string&quot;),P,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 F)}function m(F){if(typeof F!=&quot;number&quot;)throw new TypeError(&#039;&quot;size&quot; argument must be of type number&#039;);if(F&lt;0)throw new RangeError(&#039;The value &quot;&#039;+F+&#039;&quot; is invalid for option &quot;size&quot;&#039;)}function h(F){return m(F),l(F&lt;0?0:0|g(F))}function d(F){for(var P=F.length&lt;0?0:0|g(F.length),X=l(P),re=0;re&lt;P;re+=1)X[re]=255&amp;F[re];return X}function g(F){if(F&gt;=2147483647)throw new RangeError(&quot;Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes&quot;);return 0|F}function y(F,P){if(s.isBuffer(F))return F.length;if(ArrayBuffer.isView(F)||U(F,ArrayBuffer))return F.byteLength;if(typeof F!=&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 F);var X=F.length,re=arguments.length&gt;2&amp;&amp;arguments[2]===!0;if(!re&amp;&amp;X===0)return 0;for(var Z=!1;;)switch(P){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(F).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 Q(F).length;default:if(Z)return re?-1:Y(F).length;P=(&quot;&quot;+P).toLowerCase(),Z=!0}}function p(F,P,X){var re=!1;if((P===void 0||P&lt;0)&amp;&amp;(P=0),P&gt;this.length||((X===void 0||X&gt;this.length)&amp;&amp;(X=this.length),X&lt;=0)||(X&gt;&gt;&gt;=0)&lt;=(P&gt;&gt;&gt;=0))return&quot;&quot;;for(F||(F=&quot;utf8&quot;);;)switch(F){case&quot;hex&quot;:return I(this,P,X);case&quot;utf8&quot;:case&quot;utf-8&quot;:return K(this,P,X);case&quot;ascii&quot;:return z(this,P,X);case&quot;latin1&quot;:case&quot;binary&quot;:return O(this,P,X);case&quot;base64&quot;:return H(this,P,X);case&quot;ucs2&quot;:case&quot;ucs-2&quot;:case&quot;utf16le&quot;:case&quot;utf-16le&quot;:return C(this,P,X);default:if(re)throw new TypeError(&quot;Unknown encoding: &quot;+F);F=(F+&quot;&quot;).toLowerCase(),re=!0}}function b(F,P,X){var re=F[P];F[P]=F[X],F[X]=re}function x(F,P,X,re,Z){if(F.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=Z?0:F.length-1),X&lt;0&amp;&amp;(X=F.length+X),X&gt;=F.length){if(Z)return-1;X=F.length-1}else if(X&lt;0){if(!Z)return-1;X=0}if(typeof P==&quot;string&quot;&amp;&amp;(P=s.from(P,re)),s.isBuffer(P))return P.length===0?-1:_(F,P,X,re,Z);if(typeof P==&quot;number&quot;)return P&amp;=255,typeof Uint8Array.prototype.indexOf==&quot;function&quot;?Z?Uint8Array.prototype.indexOf.call(F,P,X):Uint8Array.prototype.lastIndexOf.call(F,P,X):_(F,[P],X,re,Z);throw new TypeError(&quot;val must be string, number or Buffer&quot;)}function _(F,P,X,re,Z){var te,ae=1,ce=F.length,fe=P.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(F.length&lt;2||P.length&lt;2)return-1;ae=2,ce/=2,fe/=2,X/=2}function se(ge,pe){return ae===1?ge[pe]:ge.readUInt16BE(pe*ae)}if(Z){var ue=-1;for(te=X;te&lt;ce;te++)if(se(F,te)===se(P,ue===-1?0:te-ue)){if(ue===-1&amp;&amp;(ue=te),te-ue+1===fe)return ue*ae}else ue!==-1&amp;&amp;(te-=te-ue),ue=-1}else for(X+fe&gt;ce&amp;&amp;(X=ce-fe),te=X;te&gt;=0;te--){for(var ie=!0,he=0;he&lt;fe;he++)if(se(F,te+he)!==se(P,he)){ie=!1;break}if(ie)return te}return-1}function E(F,P,X,re){X=Number(X)||0;var Z=F.length-X;re?(re=Number(re))&gt;Z&amp;&amp;(re=Z):re=Z;var te=P.length;re&gt;te/2&amp;&amp;(re=te/2);for(var ae=0;ae&lt;re;++ae){var ce=parseInt(P.substr(2*ae,2),16);if(ee(ce))return ae;F[X+ae]=ce}return ae}function M(F,P,X,re){return ne(Y(P,F.length-X),F,X,re)}function D(F,P,X,re){return ne((function(Z){for(var te=[],ae=0;ae&lt;Z.length;++ae)te.push(255&amp;Z.charCodeAt(ae));return te})(P),F,X,re)}function W(F,P,X,re){return D(F,P,X,re)}function L(F,P,X,re){return ne(Q(P),F,X,re)}function V(F,P,X,re){return ne((function(Z,te){for(var ae,ce,fe,se=[],ue=0;ue&lt;Z.length&amp;&amp;!((te-=2)&lt;0);++ue)ae=Z.charCodeAt(ue),ce=ae&gt;&gt;8,fe=ae%256,se.push(fe),se.push(ce);return se})(P,F.length-X),F,X,re)}function H(F,P,X){return P===0&amp;&amp;X===F.length?a.fromByteArray(F):a.fromByteArray(F.slice(P,X))}function K(F,P,X){X=Math.min(F.length,X);for(var re=[],Z=P;Z&lt;X;){var te,ae,ce,fe,se=F[Z],ue=null,ie=se&gt;239?4:se&gt;223?3:se&gt;191?2:1;if(Z+ie&lt;=X)switch(ie){case 1:se&lt;128&amp;&amp;(ue=se);break;case 2:(192&amp;(te=F[Z+1]))==128&amp;&amp;(fe=(31&amp;se)&lt;&lt;6|63&amp;te)&gt;127&amp;&amp;(ue=fe);break;case 3:te=F[Z+1],ae=F[Z+2],(192&amp;te)==128&amp;&amp;(192&amp;ae)==128&amp;&amp;(fe=(15&amp;se)&lt;&lt;12|(63&amp;te)&lt;&lt;6|63&amp;ae)&gt;2047&amp;&amp;(fe&lt;55296||fe&gt;57343)&amp;&amp;(ue=fe);break;case 4:te=F[Z+1],ae=F[Z+2],ce=F[Z+3],(192&amp;te)==128&amp;&amp;(192&amp;ae)==128&amp;&amp;(192&amp;ce)==128&amp;&amp;(fe=(15&amp;se)&lt;&lt;18|(63&amp;te)&lt;&lt;12|(63&amp;ae)&lt;&lt;6|63&amp;ce)&gt;65535&amp;&amp;fe&lt;1114112&amp;&amp;(ue=fe)}ue===null?(ue=65533,ie=1):ue&gt;65535&amp;&amp;(ue-=65536,re.push(ue&gt;&gt;&gt;10&amp;1023|55296),ue=56320|1023&amp;ue),re.push(ue),Z+=ie}return(function(he){var ge=he.length;if(ge&lt;=4096)return String.fromCharCode.apply(String,he);for(var pe=&quot;&quot;,le=0;le&lt;ge;)pe+=String.fromCharCode.apply(String,he.slice(le,le+=4096));return pe})(re)}o.kMaxLength=2147483647,s.TYPED_ARRAY_SUPPORT=(function(){try{var F=new Uint8Array(1);return F.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},F.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(F,P,X){return c(F,P,X)},s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,s.alloc=function(F,P,X){return(function(re,Z,te){return m(re),re&lt;=0?l(re):Z!==void 0?typeof te==&quot;string&quot;?l(re).fill(Z,te):l(re).fill(Z):l(re)})(F,P,X)},s.allocUnsafe=function(F){return h(F)},s.allocUnsafeSlow=function(F){return h(F)},s.isBuffer=function(F){return F!=null&amp;&amp;F._isBuffer===!0&amp;&amp;F!==s.prototype},s.compare=function(F,P){if(U(F,Uint8Array)&amp;&amp;(F=s.from(F,F.offset,F.byteLength)),U(P,Uint8Array)&amp;&amp;(P=s.from(P,P.offset,P.byteLength)),!s.isBuffer(F)||!s.isBuffer(P))throw new TypeError(&#039;The &quot;buf1&quot;, &quot;buf2&quot; arguments must be one of type Buffer or Uint8Array&#039;);if(F===P)return 0;for(var X=F.length,re=P.length,Z=0,te=Math.min(X,re);Z&lt;te;++Z)if(F[Z]!==P[Z]){X=F[Z],re=P[Z];break}return X&lt;re?-1:re&lt;X?1:0},s.isEncoding=function(F){switch(String(F).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(F,P){if(!Array.isArray(F))throw new TypeError(&#039;&quot;list&quot; argument must be an Array of Buffers&#039;);if(F.length===0)return s.alloc(0);var X;if(P===void 0)for(P=0,X=0;X&lt;F.length;++X)P+=F[X].length;var re=s.allocUnsafe(P),Z=0;for(X=0;X&lt;F.length;++X){var te=F[X];if(U(te,Uint8Array)&amp;&amp;(te=s.from(te)),!s.isBuffer(te))throw new TypeError(&#039;&quot;list&quot; argument must be an Array of Buffers&#039;);te.copy(re,Z),Z+=te.length}return re},s.byteLength=y,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var F=this.length;if(F%2!=0)throw new RangeError(&quot;Buffer size must be a multiple of 16-bits&quot;);for(var P=0;P&lt;F;P+=2)b(this,P,P+1);return this},s.prototype.swap32=function(){var F=this.length;if(F%4!=0)throw new RangeError(&quot;Buffer size must be a multiple of 32-bits&quot;);for(var P=0;P&lt;F;P+=4)b(this,P,P+3),b(this,P+1,P+2);return this},s.prototype.swap64=function(){var F=this.length;if(F%8!=0)throw new RangeError(&quot;Buffer size must be a multiple of 64-bits&quot;);for(var P=0;P&lt;F;P+=8)b(this,P,P+7),b(this,P+1,P+6),b(this,P+2,P+5),b(this,P+3,P+4);return this},s.prototype.toString=function(){var F=this.length;return F===0?&quot;&quot;:arguments.length===0?K(this,0,F):p.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(F){if(!s.isBuffer(F))throw new TypeError(&quot;Argument must be a Buffer&quot;);return this===F||s.compare(this,F)===0},s.prototype.inspect=function(){var F=&quot;&quot;,P=o.INSPECT_MAX_BYTES;return F=this.toString(&quot;hex&quot;,0,P).replace(/(.{2})/g,&quot;$1 &quot;).trim(),this.length&gt;P&amp;&amp;(F+=&quot; ... &quot;),&quot;&lt;Buffer &quot;+F+&quot;&gt;&quot;},s.prototype.compare=function(F,P,X,re,Z){if(U(F,Uint8Array)&amp;&amp;(F=s.from(F,F.offset,F.byteLength)),!s.isBuffer(F))throw new TypeError(&#039;The &quot;target&quot; argument must be one of type Buffer or Uint8Array. Received type &#039;+typeof F);if(P===void 0&amp;&amp;(P=0),X===void 0&amp;&amp;(X=F?F.length:0),re===void 0&amp;&amp;(re=0),Z===void 0&amp;&amp;(Z=this.length),P&lt;0||X&gt;F.length||re&lt;0||Z&gt;this.length)throw new RangeError(&quot;out of range index&quot;);if(re&gt;=Z&amp;&amp;P&gt;=X)return 0;if(re&gt;=Z)return-1;if(P&gt;=X)return 1;if(this===F)return 0;for(var te=(Z&gt;&gt;&gt;=0)-(re&gt;&gt;&gt;=0),ae=(X&gt;&gt;&gt;=0)-(P&gt;&gt;&gt;=0),ce=Math.min(te,ae),fe=this.slice(re,Z),se=F.slice(P,X),ue=0;ue&lt;ce;++ue)if(fe[ue]!==se[ue]){te=fe[ue],ae=se[ue];break}return te&lt;ae?-1:ae&lt;te?1:0},s.prototype.includes=function(F,P,X){return this.indexOf(F,P,X)!==-1},s.prototype.indexOf=function(F,P,X){return x(this,F,P,X,!0)},s.prototype.lastIndexOf=function(F,P,X){return x(this,F,P,X,!1)},s.prototype.write=function(F,P,X,re){if(P===void 0)re=&quot;utf8&quot;,X=this.length,P=0;else if(X===void 0&amp;&amp;typeof P==&quot;string&quot;)re=P,X=this.length,P=0;else{if(!isFinite(P))throw new Error(&quot;Buffer.write(string, encoding, offset[, length]) is no longer supported&quot;);P&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 Z=this.length-P;if((X===void 0||X&gt;Z)&amp;&amp;(X=Z),F.length&gt;0&amp;&amp;(X&lt;0||P&lt;0)||P&gt;this.length)throw new RangeError(&quot;Attempt to write outside buffer bounds&quot;);re||(re=&quot;utf8&quot;);for(var te=!1;;)switch(re){case&quot;hex&quot;:return E(this,F,P,X);case&quot;utf8&quot;:case&quot;utf-8&quot;:return M(this,F,P,X);case&quot;ascii&quot;:return D(this,F,P,X);case&quot;latin1&quot;:case&quot;binary&quot;:return W(this,F,P,X);case&quot;base64&quot;:return L(this,F,P,X);case&quot;ucs2&quot;:case&quot;ucs-2&quot;:case&quot;utf16le&quot;:case&quot;utf-16le&quot;:return V(this,F,P,X);default:if(te)throw new TypeError(&quot;Unknown encoding: &quot;+re);re=(&quot;&quot;+re).toLowerCase(),te=!0}},s.prototype.toJSON=function(){return{type:&quot;Buffer&quot;,data:Array.prototype.slice.call(this._arr||this,0)}};function z(F,P,X){var re=&quot;&quot;;X=Math.min(F.length,X);for(var Z=P;Z&lt;X;++Z)re+=String.fromCharCode(127&amp;F[Z]);return re}function O(F,P,X){var re=&quot;&quot;;X=Math.min(F.length,X);for(var Z=P;Z&lt;X;++Z)re+=String.fromCharCode(F[Z]);return re}function I(F,P,X){var re=F.length;(!P||P&lt;0)&amp;&amp;(P=0),(!X||X&lt;0||X&gt;re)&amp;&amp;(X=re);for(var Z=&quot;&quot;,te=P;te&lt;X;++te)Z+=B(F[te]);return Z}function C(F,P,X){for(var re=F.slice(P,X),Z=&quot;&quot;,te=0;te&lt;re.length;te+=2)Z+=String.fromCharCode(re[te]+256*re[te+1]);return Z}function j(F,P,X){if(F%1!=0||F&lt;0)throw new RangeError(&quot;offset is not uint&quot;);if(F+P&gt;X)throw new RangeError(&quot;Trying to access beyond buffer length&quot;)}function k(F,P,X,re,Z,te){if(!s.isBuffer(F))throw new TypeError(&#039;&quot;buffer&quot; argument must be a Buffer instance&#039;);if(P&gt;Z||P&lt;te)throw new RangeError(&#039;&quot;value&quot; argument is out of bounds&#039;);if(X+re&gt;F.length)throw new RangeError(&quot;Index out of range&quot;)}function S(F,P,X,re,Z,te){if(X+re&gt;F.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(F,P,X,re,Z){return P=+P,X&gt;&gt;&gt;=0,Z||S(F,0,X,4),u.write(F,P,X,re,23,4),X+4}function T(F,P,X,re,Z){return P=+P,X&gt;&gt;&gt;=0,Z||S(F,0,X,8),u.write(F,P,X,re,52,8),X+8}s.prototype.slice=function(F,P){var X=this.length;(F=~~F)&lt;0?(F+=X)&lt;0&amp;&amp;(F=0):F&gt;X&amp;&amp;(F=X),(P=P===void 0?X:~~P)&lt;0?(P+=X)&lt;0&amp;&amp;(P=0):P&gt;X&amp;&amp;(P=X),P&lt;F&amp;&amp;(P=F);var re=this.subarray(F,P);return re.__proto__=s.prototype,re},s.prototype.readUIntLE=function(F,P,X){F&gt;&gt;&gt;=0,P&gt;&gt;&gt;=0,X||j(F,P,this.length);for(var re=this[F],Z=1,te=0;++te&lt;P&amp;&amp;(Z*=256);)re+=this[F+te]*Z;return re},s.prototype.readUIntBE=function(F,P,X){F&gt;&gt;&gt;=0,P&gt;&gt;&gt;=0,X||j(F,P,this.length);for(var re=this[F+--P],Z=1;P&gt;0&amp;&amp;(Z*=256);)re+=this[F+--P]*Z;return re},s.prototype.readUInt8=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,1,this.length),this[F]},s.prototype.readUInt16LE=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,2,this.length),this[F]|this[F+1]&lt;&lt;8},s.prototype.readUInt16BE=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,2,this.length),this[F]&lt;&lt;8|this[F+1]},s.prototype.readUInt32LE=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,4,this.length),(this[F]|this[F+1]&lt;&lt;8|this[F+2]&lt;&lt;16)+16777216*this[F+3]},s.prototype.readUInt32BE=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,4,this.length),16777216*this[F]+(this[F+1]&lt;&lt;16|this[F+2]&lt;&lt;8|this[F+3])},s.prototype.readIntLE=function(F,P,X){F&gt;&gt;&gt;=0,P&gt;&gt;&gt;=0,X||j(F,P,this.length);for(var re=this[F],Z=1,te=0;++te&lt;P&amp;&amp;(Z*=256);)re+=this[F+te]*Z;return re&gt;=(Z*=128)&amp;&amp;(re-=Math.pow(2,8*P)),re},s.prototype.readIntBE=function(F,P,X){F&gt;&gt;&gt;=0,P&gt;&gt;&gt;=0,X||j(F,P,this.length);for(var re=P,Z=1,te=this[F+--re];re&gt;0&amp;&amp;(Z*=256);)te+=this[F+--re]*Z;return te&gt;=(Z*=128)&amp;&amp;(te-=Math.pow(2,8*P)),te},s.prototype.readInt8=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,1,this.length),128&amp;this[F]?-1*(255-this[F]+1):this[F]},s.prototype.readInt16LE=function(F,P){F&gt;&gt;&gt;=0,P||j(F,2,this.length);var X=this[F]|this[F+1]&lt;&lt;8;return 32768&amp;X?4294901760|X:X},s.prototype.readInt16BE=function(F,P){F&gt;&gt;&gt;=0,P||j(F,2,this.length);var X=this[F+1]|this[F]&lt;&lt;8;return 32768&amp;X?4294901760|X:X},s.prototype.readInt32LE=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,4,this.length),this[F]|this[F+1]&lt;&lt;8|this[F+2]&lt;&lt;16|this[F+3]&lt;&lt;24},s.prototype.readInt32BE=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,4,this.length),this[F]&lt;&lt;24|this[F+1]&lt;&lt;16|this[F+2]&lt;&lt;8|this[F+3]},s.prototype.readFloatLE=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,4,this.length),u.read(this,F,!0,23,4)},s.prototype.readFloatBE=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,4,this.length),u.read(this,F,!1,23,4)},s.prototype.readDoubleLE=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,8,this.length),u.read(this,F,!0,52,8)},s.prototype.readDoubleBE=function(F,P){return F&gt;&gt;&gt;=0,P||j(F,8,this.length),u.read(this,F,!1,52,8)},s.prototype.writeUIntLE=function(F,P,X,re){F=+F,P&gt;&gt;&gt;=0,X&gt;&gt;&gt;=0,re||k(this,F,P,X,Math.pow(2,8*X)-1,0);var Z=1,te=0;for(this[P]=255&amp;F;++te&lt;X&amp;&amp;(Z*=256);)this[P+te]=F/Z&amp;255;return P+X},s.prototype.writeUIntBE=function(F,P,X,re){F=+F,P&gt;&gt;&gt;=0,X&gt;&gt;&gt;=0,re||k(this,F,P,X,Math.pow(2,8*X)-1,0);var Z=X-1,te=1;for(this[P+Z]=255&amp;F;--Z&gt;=0&amp;&amp;(te*=256);)this[P+Z]=F/te&amp;255;return P+X},s.prototype.writeUInt8=function(F,P,X){return F=+F,P&gt;&gt;&gt;=0,X||k(this,F,P,1,255,0),this[P]=255&amp;F,P+1},s.prototype.writeUInt16LE=function(F,P,X){return F=+F,P&gt;&gt;&gt;=0,X||k(this,F,P,2,65535,0),this[P]=255&amp;F,this[P+1]=F&gt;&gt;&gt;8,P+2},s.prototype.writeUInt16BE=function(F,P,X){return F=+F,P&gt;&gt;&gt;=0,X||k(this,F,P,2,65535,0),this[P]=F&gt;&gt;&gt;8,this[P+1]=255&amp;F,P+2},s.prototype.writeUInt32LE=function(F,P,X){return F=+F,P&gt;&gt;&gt;=0,X||k(this,F,P,4,4294967295,0),this[P+3]=F&gt;&gt;&gt;24,this[P+2]=F&gt;&gt;&gt;16,this[P+1]=F&gt;&gt;&gt;8,this[P]=255&amp;F,P+4},s.prototype.writeUInt32BE=function(F,P,X){return F=+F,P&gt;&gt;&gt;=0,X||k(this,F,P,4,4294967295,0),this[P]=F&gt;&gt;&gt;24,this[P+1]=F&gt;&gt;&gt;16,this[P+2]=F&gt;&gt;&gt;8,this[P+3]=255&amp;F,P+4},s.prototype.writeIntLE=function(F,P,X,re){if(F=+F,P&gt;&gt;&gt;=0,!re){var Z=Math.pow(2,8*X-1);k(this,F,P,X,Z-1,-Z)}var te=0,ae=1,ce=0;for(this[P]=255&amp;F;++te&lt;X&amp;&amp;(ae*=256);)F&lt;0&amp;&amp;ce===0&amp;&amp;this[P+te-1]!==0&amp;&amp;(ce=1),this[P+te]=(F/ae&gt;&gt;0)-ce&amp;255;return P+X},s.prototype.writeIntBE=function(F,P,X,re){if(F=+F,P&gt;&gt;&gt;=0,!re){var Z=Math.pow(2,8*X-1);k(this,F,P,X,Z-1,-Z)}var te=X-1,ae=1,ce=0;for(this[P+te]=255&amp;F;--te&gt;=0&amp;&amp;(ae*=256);)F&lt;0&amp;&amp;ce===0&amp;&amp;this[P+te+1]!==0&amp;&amp;(ce=1),this[P+te]=(F/ae&gt;&gt;0)-ce&amp;255;return P+X},s.prototype.writeInt8=function(F,P,X){return F=+F,P&gt;&gt;&gt;=0,X||k(this,F,P,1,127,-128),F&lt;0&amp;&amp;(F=255+F+1),this[P]=255&amp;F,P+1},s.prototype.writeInt16LE=function(F,P,X){return F=+F,P&gt;&gt;&gt;=0,X||k(this,F,P,2,32767,-32768),this[P]=255&amp;F,this[P+1]=F&gt;&gt;&gt;8,P+2},s.prototype.writeInt16BE=function(F,P,X){return F=+F,P&gt;&gt;&gt;=0,X||k(this,F,P,2,32767,-32768),this[P]=F&gt;&gt;&gt;8,this[P+1]=255&amp;F,P+2},s.prototype.writeInt32LE=function(F,P,X){return F=+F,P&gt;&gt;&gt;=0,X||k(this,F,P,4,2147483647,-2147483648),this[P]=255&amp;F,this[P+1]=F&gt;&gt;&gt;8,this[P+2]=F&gt;&gt;&gt;16,this[P+3]=F&gt;&gt;&gt;24,P+4},s.prototype.writeInt32BE=function(F,P,X){return F=+F,P&gt;&gt;&gt;=0,X||k(this,F,P,4,2147483647,-2147483648),F&lt;0&amp;&amp;(F=4294967295+F+1),this[P]=F&gt;&gt;&gt;24,this[P+1]=F&gt;&gt;&gt;16,this[P+2]=F&gt;&gt;&gt;8,this[P+3]=255&amp;F,P+4},s.prototype.writeFloatLE=function(F,P,X){return N(this,F,P,!0,X)},s.prototype.writeFloatBE=function(F,P,X){return N(this,F,P,!1,X)},s.prototype.writeDoubleLE=function(F,P,X){return T(this,F,P,!0,X)},s.prototype.writeDoubleBE=function(F,P,X){return T(this,F,P,!1,X)},s.prototype.copy=function(F,P,X,re){if(!s.isBuffer(F))throw new TypeError(&quot;argument should be a Buffer&quot;);if(X||(X=0),re||re===0||(re=this.length),P&gt;=F.length&amp;&amp;(P=F.length),P||(P=0),re&gt;0&amp;&amp;re&lt;X&amp;&amp;(re=X),re===X||F.length===0||this.length===0)return 0;if(P&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),F.length-P&lt;re-X&amp;&amp;(re=F.length-P+X);var Z=re-X;if(this===F&amp;&amp;typeof Uint8Array.prototype.copyWithin==&quot;function&quot;)this.copyWithin(P,X,re);else if(this===F&amp;&amp;X&lt;P&amp;&amp;P&lt;re)for(var te=Z-1;te&gt;=0;--te)F[te+P]=this[te+X];else Uint8Array.prototype.set.call(F,this.subarray(X,re),P);return Z},s.prototype.fill=function(F,P,X,re){if(typeof F==&quot;string&quot;){if(typeof P==&quot;string&quot;?(re=P,P=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(F.length===1){var Z=F.charCodeAt(0);(re===&quot;utf8&quot;&amp;&amp;Z&lt;128||re===&quot;latin1&quot;)&amp;&amp;(F=Z)}}else typeof F==&quot;number&quot;&amp;&amp;(F&amp;=255);if(P&lt;0||this.length&lt;P||this.length&lt;X)throw new RangeError(&quot;Out of range index&quot;);if(X&lt;=P)return this;var te;if(P&gt;&gt;&gt;=0,X=X===void 0?this.length:X&gt;&gt;&gt;0,F||(F=0),typeof F==&quot;number&quot;)for(te=P;te&lt;X;++te)this[te]=F;else{var ae=s.isBuffer(F)?F:s.from(F,re),ce=ae.length;if(ce===0)throw new TypeError(&#039;The value &quot;&#039;+F+&#039;&quot; is invalid for argument &quot;value&quot;&#039;);for(te=0;te&lt;X-P;++te)this[te+P]=ae[te%ce]}return this};var R=/[^+/0-9A-Za-z-_]/g;function B(F){return F&lt;16?&quot;0&quot;+F.toString(16):F.toString(16)}function Y(F,P){var X;P=P||1/0;for(var re=F.length,Z=null,te=[],ae=0;ae&lt;re;++ae){if((X=F.charCodeAt(ae))&gt;55295&amp;&amp;X&lt;57344){if(!Z){if(X&gt;56319){(P-=3)&gt;-1&amp;&amp;te.push(239,191,189);continue}if(ae+1===re){(P-=3)&gt;-1&amp;&amp;te.push(239,191,189);continue}Z=X;continue}if(X&lt;56320){(P-=3)&gt;-1&amp;&amp;te.push(239,191,189),Z=X;continue}X=65536+(Z-55296&lt;&lt;10|X-56320)}else Z&amp;&amp;(P-=3)&gt;-1&amp;&amp;te.push(239,191,189);if(Z=null,X&lt;128){if((P-=1)&lt;0)break;te.push(X)}else if(X&lt;2048){if((P-=2)&lt;0)break;te.push(X&gt;&gt;6|192,63&amp;X|128)}else if(X&lt;65536){if((P-=3)&lt;0)break;te.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((P-=4)&lt;0)break;te.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 te}function Q(F){return a.toByteArray((function(P){if((P=(P=P.split(&quot;=&quot;)[0]).trim().replace(R,&quot;&quot;)).length&lt;2)return&quot;&quot;;for(;P.length%4!=0;)P+=&quot;=&quot;;return P})(F))}function ne(F,P,X,re){for(var Z=0;Z&lt;re&amp;&amp;!(Z+X&gt;=P.length||Z&gt;=F.length);++Z)P[Z+X]=F[Z];return Z}function U(F,P){return F instanceof P||F!=null&amp;&amp;F.constructor!=null&amp;&amp;F.constructor.name!=null&amp;&amp;F.constructor.name===P.name}function ee(F){return F!=F}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;base64-js&quot;:185,buffer:220,ieee754:439}],221:[function(t,n,o){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;stream&quot;).Transform,u=t(&quot;string_decoder&quot;).StringDecoder;function l(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;)(l,a),l.prototype.update=function(s,c,m){typeof s==&quot;string&quot;&amp;&amp;(s=i.from(s,c));var h=this._update(s);return this.hashMode?this:(m&amp;&amp;(h=this._toString(h,m)),h)},l.prototype.setAutoPadding=function(){},l.prototype.getAuthTag=function(){throw new Error(&quot;trying to get auth tag in unsupported state&quot;)},l.prototype.setAuthTag=function(){throw new Error(&quot;trying to set auth tag in unsupported state&quot;)},l.prototype.setAAD=function(){throw new Error(&quot;trying to set aad in unsupported state&quot;)},l.prototype._transform=function(s,c,m){var h;try{this.hashMode?this._update(s):this.push(this._update(s))}catch(d){h=d}finally{m(h)}},l.prototype._flush=function(s){var c;try{this.push(this.__final())}catch(m){c=m}s(c)},l.prototype._finalOrDigest=function(s){var c=this.__final()||i.alloc(0);return s&amp;&amp;(c=this._toString(c,s,!0)),c},l.prototype._toString=function(s,c,m){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 m&amp;&amp;(h+=this._decoder.end()),h},n.exports=l},{inherits:440,&quot;safe-buffer&quot;:494,stream:505,string_decoder:218}],222:[function(t,n,o){var i=t(&quot;../internals/is-callable&quot;),a=t(&quot;../internals/try-to-string&quot;),u=TypeError;n.exports=function(l){if(i(l))return l;throw new u(a(l)+&quot; is not a function&quot;)}},{&quot;../internals/is-callable&quot;:285,&quot;../internals/try-to-string&quot;:349}],223:[function(t,n,o){var i=t(&quot;../internals/is-constructor&quot;),a=t(&quot;../internals/try-to-string&quot;),u=TypeError;n.exports=function(l){if(i(l))return l;throw new u(a(l)+&quot; is not a constructor&quot;)}},{&quot;../internals/is-constructor&quot;:286,&quot;../internals/try-to-string&quot;:349}],224:[function(t,n,o){var i=t(&quot;../internals/is-callable&quot;),a=String,u=TypeError;n.exports=function(l){if(typeof l==&quot;object&quot;||i(l))return l;throw new u(&quot;Can&#039;t set &quot;+a(l)+&quot; as a prototype&quot;)}},{&quot;../internals/is-callable&quot;:285}],225:[function(t,n,o){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,l=i(&quot;unscopables&quot;),s=Array.prototype;s[l]===void 0&amp;&amp;u(s,l,{configurable:!0,value:a(null)}),n.exports=function(c){s[l][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,o){var i=t(&quot;../internals/object-is-prototype-of&quot;),a=TypeError;n.exports=function(u,l){if(i(l,u))return u;throw new a(&quot;Incorrect invocation&quot;)}},{&quot;../internals/object-is-prototype-of&quot;:314}],227:[function(t,n,o){var i=t(&quot;../internals/is-object&quot;),a=String,u=TypeError;n.exports=function(l){if(i(l))return l;throw new u(a(l)+&quot; is not an object&quot;)}},{&quot;../internals/is-object&quot;:289}],228:[function(t,n,o){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;),l=function(s){return function(c,m,h){var d,g=i(c),y=u(g),p=a(h,y);if(s&amp;&amp;m!=m){for(;y&gt;p;)if((d=g[p++])!=d)return!0}else for(;y&gt;p;p++)if((s||p in g)&amp;&amp;g[p]===m)return s||p||0;return!s&amp;&amp;-1}};n.exports={includes:l(!0),indexOf:l(!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,o){var i=t(&quot;../internals/function-bind-context&quot;),a=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/indexed-object&quot;),l=t(&quot;../internals/to-object&quot;),s=t(&quot;../internals/length-of-array-like&quot;),c=t(&quot;../internals/array-species-create&quot;),m=a([].push),h=function(d){var g=d===1,y=d===2,p=d===3,b=d===4,x=d===6,_=d===7,E=d===5||x;return function(M,D,W,L){for(var V,H,K=l(M),z=u(K),O=i(D,W),I=s(z),C=0,j=L||c,k=g?j(M,I):y||_?j(M,0):void 0;I&gt;C;C++)if((E||C in z)&amp;&amp;(H=O(V=z[C],C,K),d))if(g)k[C]=H;else if(H)switch(d){case 3:return!0;case 5:return V;case 6:return C;case 2:m(k,V)}else switch(d){case 4:return!1;case 7:m(k,V)}return x?-1:p||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,o){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;),l=Array,s=Math.max;n.exports=function(c,m,h){for(var d=a(c),g=i(m,d),y=i(h===void 0?d:h,d),p=l(s(y-g,0)),b=0;g&lt;y;g++,b++)u(p,b,c[g]);return p.length=b,p}},{&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,o){var i=t(&quot;../internals/function-uncurry-this&quot;);n.exports=i([].slice)},{&quot;../internals/function-uncurry-this&quot;:268}],232:[function(t,n,o){var i=t(&quot;../internals/is-array&quot;),a=t(&quot;../internals/is-constructor&quot;),u=t(&quot;../internals/is-object&quot;),l=t(&quot;../internals/well-known-symbol&quot;)(&quot;species&quot;),s=Array;n.exports=function(c){var m;return i(c)&amp;&amp;(m=c.constructor,(a(m)&amp;&amp;(m===s||i(m.prototype))||u(m)&amp;&amp;(m=m[l])===null)&amp;&amp;(m=void 0)),m===void 0?s:m}},{&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,o){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,o){var i=t(&quot;../internals/well-known-symbol&quot;)(&quot;iterator&quot;),a=!1;try{var u=0,l={next:function(){return{done:!!u++}},return:function(){a=!0}};l[i]=function(){return this},Array.from(l,(function(){throw 2}))}catch{}n.exports=function(s,c){try{if(!c&amp;&amp;!a)return!1}catch{return!1}var m=!1;try{var h={};h[i]=function(){return{next:function(){return{done:m=!0}}}},s(h)}catch{}return m}},{&quot;../internals/well-known-symbol&quot;:357}],235:[function(t,n,o){var i=t(&quot;../internals/function-uncurry-this&quot;),a=i({}.toString),u=i(&quot;&quot;.slice);n.exports=function(l){return u(a(l),8,-1)}},{&quot;../internals/function-uncurry-this&quot;:268}],236:[function(t,n,o){var i=t(&quot;../internals/to-string-tag-support&quot;),a=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/classof-raw&quot;),l=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(m){var h,d,g;return m===void 0?&quot;Undefined&quot;:m===null?&quot;Null&quot;:typeof(d=(function(y,p){try{return y[p]}catch{}})(h=s(m),l))==&quot;string&quot;?d:c?u(h):(g=u(h))===&quot;Object&quot;&amp;&amp;a(h.callee)?&quot;Arguments&quot;:g}},{&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,o){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;),l=t(&quot;../internals/object-define-property&quot;);n.exports=function(s,c,m){for(var h=a(c),d=l.f,g=u.f,y=0;y&lt;h.length;y++){var p=h[y];i(s,p)||m&amp;&amp;i(m,p)||d(s,p,g(c,p))}}},{&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,o){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,o){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,o){n.exports=function(i,a){return{value:i,done:a}}},{}],241:[function(t,n,o){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(l,s,c){return a.f(l,s,u(1,c))}:function(l,s,c){return l[s]=c,l}},{&quot;../internals/create-property-descriptor&quot;:242,&quot;../internals/descriptors&quot;:247,&quot;../internals/object-define-property&quot;:308}],242:[function(t,n,o){n.exports=function(i,a){return{enumerable:!(1&amp;i),configurable:!(2&amp;i),writable:!(4&amp;i),value:a}}},{}],243:[function(t,n,o){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(l,s,c){var m=i(s);m in l?a.f(l,m,u(0,c)):l[m]=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,o){var i=t(&quot;../internals/make-built-in&quot;),a=t(&quot;../internals/object-define-property&quot;);n.exports=function(u,l,s){return s.get&amp;&amp;i(s.get,l,{getter:!0}),s.set&amp;&amp;i(s.set,l,{setter:!0}),a.f(u,l,s)}},{&quot;../internals/make-built-in&quot;:300,&quot;../internals/object-define-property&quot;:308}],245:[function(t,n,o){var i=t(&quot;../internals/is-callable&quot;),a=t(&quot;../internals/object-define-property&quot;),u=t(&quot;../internals/make-built-in&quot;),l=t(&quot;../internals/define-global-property&quot;);n.exports=function(s,c,m,h){h||(h={});var d=h.enumerable,g=h.name!==void 0?h.name:c;if(i(m)&amp;&amp;u(m,g,h),h.global)d?s[c]=m:l(c,m);else{try{h.unsafe?s[c]&amp;&amp;(d=!0):delete s[c]}catch{}d?s[c]=m:a.f(s,c,{value:m,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,o){var i=t(&quot;../internals/global&quot;),a=Object.defineProperty;n.exports=function(u,l){try{a(i,u,{value:l,configurable:!0,writable:!0})}catch{i[u]=l}return l}},{&quot;../internals/global&quot;:274}],247:[function(t,n,o){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,o){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,o){var i=t(&quot;../internals/global&quot;),a=t(&quot;../internals/is-object&quot;),u=i.document,l=a(u)&amp;&amp;a(u.createElement);n.exports=function(s){return l?u.createElement(s):{}}},{&quot;../internals/global&quot;:274,&quot;../internals/is-object&quot;:289}],250:[function(t,n,o){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,o){n.exports=typeof Deno==&quot;object&quot;&amp;&amp;Deno&amp;&amp;typeof Deno.version==&quot;object&quot;},{}],252:[function(t,n,o){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,o){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,o){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,o){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,o){n.exports=typeof navigator&lt;&quot;u&quot;&amp;&amp;String(navigator.userAgent)||&quot;&quot;},{}],257:[function(t,n,o){var i,a,u=t(&quot;../internals/global&quot;),l=t(&quot;../internals/engine-user-agent&quot;),s=u.process,c=u.Deno,m=s&amp;&amp;s.versions||c&amp;&amp;c.version,h=m&amp;&amp;m.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;l&amp;&amp;(!(i=l.match(/Edge\/(\d+)/))||i[1]&gt;=74)&amp;&amp;(i=l.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,o){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,o){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;),l=t(&quot;../internals/define-built-in&quot;),s=t(&quot;../internals/define-global-property&quot;),c=t(&quot;../internals/copy-constructor-properties&quot;),m=t(&quot;../internals/is-forced&quot;);n.exports=function(h,d){var g,y,p,b,x,_=h.target,E=h.global,M=h.stat;if(g=E?i:M?i[_]||s(_,{}):(i[_]||{}).prototype)for(y in d){if(b=d[y],p=h.dontCallGetSet?(x=a(g,y))&amp;&amp;x.value:g[y],!m(E?y:_+(M?&quot;.&quot;:&quot;#&quot;)+y,h.forced)&amp;&amp;p!==void 0){if(typeof b==typeof p)continue;c(b,p)}(h.sham||p&amp;&amp;p.sham)&amp;&amp;u(b,&quot;sham&quot;,!0),l(g,y,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,o){n.exports=function(i){try{return!!i()}catch{return!0}}},{}],261:[function(t,n,o){var i=t(&quot;../internals/function-bind-native&quot;),a=Function.prototype,u=a.apply,l=a.call;n.exports=typeof Reflect==&quot;object&quot;&amp;&amp;Reflect.apply||(i?l.bind(u):function(){return l.apply(u,arguments)})},{&quot;../internals/function-bind-native&quot;:263}],262:[function(t,n,o){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;),l=i(i.bind);n.exports=function(s,c){return a(s),c===void 0?s:u?l(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,o){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,o){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,o){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/has-own-property&quot;),u=Function.prototype,l=i&amp;&amp;Object.getOwnPropertyDescriptor,s=a(u,&quot;name&quot;),c=s&amp;&amp;(function(){}).name===&quot;something&quot;,m=s&amp;&amp;(!i||i&amp;&amp;l(u,&quot;name&quot;).configurable);n.exports={EXISTS:s,PROPER:c,CONFIGURABLE:m}},{&quot;../internals/descriptors&quot;:247,&quot;../internals/has-own-property&quot;:275}],266:[function(t,n,o){var i=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/a-callable&quot;);n.exports=function(u,l,s){try{return i(a(Object.getOwnPropertyDescriptor(u,l)[s]))}catch{}}},{&quot;../internals/a-callable&quot;:222,&quot;../internals/function-uncurry-this&quot;:268}],267:[function(t,n,o){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,o){var i=t(&quot;../internals/function-bind-native&quot;),a=Function.prototype,u=a.call,l=i&amp;&amp;a.bind.bind(u,u);n.exports=i?l:function(s){return function(){return u.apply(s,arguments)}}},{&quot;../internals/function-bind-native&quot;:263}],269:[function(t,n,o){var i=t(&quot;../internals/global&quot;),a=t(&quot;../internals/is-callable&quot;),u=function(l){return a(l)?l:void 0};n.exports=function(l,s){return arguments.length&lt;2?u(i[l]):i[l]&amp;&amp;i[l][s]}},{&quot;../internals/global&quot;:274,&quot;../internals/is-callable&quot;:285}],270:[function(t,n,o){var i=t(&quot;../internals/classof&quot;),a=t(&quot;../internals/get-method&quot;),u=t(&quot;../internals/is-null-or-undefined&quot;),l=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;)||l[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,o){var i=t(&quot;../internals/function-call&quot;),a=t(&quot;../internals/a-callable&quot;),u=t(&quot;../internals/an-object&quot;),l=t(&quot;../internals/try-to-string&quot;),s=t(&quot;../internals/get-iterator-method&quot;),c=TypeError;n.exports=function(m,h){var d=arguments.length&lt;2?s(m):h;if(a(d))return u(i(d,m));throw new c(l(m)+&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,o){var i=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/is-array&quot;),u=t(&quot;../internals/is-callable&quot;),l=t(&quot;../internals/classof-raw&quot;),s=t(&quot;../internals/to-string&quot;),c=i([].push);n.exports=function(m){if(u(m))return m;if(a(m)){for(var h=m.length,d=[],g=0;g&lt;h;g++){var y=m[g];typeof y==&quot;string&quot;?c(d,y):typeof y!=&quot;number&quot;&amp;&amp;l(y)!==&quot;Number&quot;&amp;&amp;l(y)!==&quot;String&quot;||c(d,s(y))}var p=d.length,b=!0;return function(x,_){if(b)return b=!1,_;if(a(this))return _;for(var E=0;E&lt;p;E++)if(d[E]===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,o){var i=t(&quot;../internals/a-callable&quot;),a=t(&quot;../internals/is-null-or-undefined&quot;);n.exports=function(u,l){var s=u[l];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,o){(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 Yt&lt;&quot;u&quot;?Yt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],275:[function(t,n,o){var i=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/to-object&quot;),u=i({}.hasOwnProperty);n.exports=Object.hasOwn||function(l,s){return u(a(l),s)}},{&quot;../internals/function-uncurry-this&quot;:268,&quot;../internals/to-object&quot;:344}],276:[function(t,n,o){n.exports={}},{}],277:[function(t,n,o){n.exports=function(i,a){try{arguments.length===1?console.error(i):console.error(i,a)}catch{}}},{}],278:[function(t,n,o){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,o){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,o){var i=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/classof-raw&quot;),l=Object,s=i(&quot;&quot;.split);n.exports=a((function(){return!l(&quot;z&quot;).propertyIsEnumerable(0)}))?function(c){return u(c)===&quot;String&quot;?s(c,&quot;&quot;):l(c)}:l},{&quot;../internals/classof-raw&quot;:235,&quot;../internals/fails&quot;:260,&quot;../internals/function-uncurry-this&quot;:268}],281:[function(t,n,o){var i=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/shared-store&quot;),l=i(Function.toString);a(u.inspectSource)||(u.inspectSource=function(s){return l(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,o){var i,a,u,l=t(&quot;../internals/weak-map-basic-detection&quot;),s=t(&quot;../internals/global&quot;),c=t(&quot;../internals/is-object&quot;),m=t(&quot;../internals/create-non-enumerable-property&quot;),h=t(&quot;../internals/has-own-property&quot;),d=t(&quot;../internals/shared-store&quot;),g=t(&quot;../internals/shared-key&quot;),y=t(&quot;../internals/hidden-keys&quot;),p=s.TypeError,b=s.WeakMap;if(l||d.state){var x=d.state||(d.state=new b);x.get=x.get,x.has=x.has,x.set=x.set,i=function(E,M){if(x.has(E))throw new p(&quot;Object already initialized&quot;);return M.facade=E,x.set(E,M),M},a=function(E){return x.get(E)||{}},u=function(E){return x.has(E)}}else{var _=g(&quot;state&quot;);y[_]=!0,i=function(E,M){if(h(E,_))throw new p(&quot;Object already initialized&quot;);return M.facade=E,m(E,_,M),M},a=function(E){return h(E,_)?E[_]:{}},u=function(E){return h(E,_)}}n.exports={set:i,get:a,has:u,enforce:function(E){return u(E)?a(E):i(E,{})},getterFor:function(E){return function(M){var D;if(!c(M)||(D=a(M)).type!==E)throw new p(&quot;Incompatible receiver, &quot;+E+&quot; required&quot;);return D}}}},{&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,o){var i=t(&quot;../internals/well-known-symbol&quot;),a=t(&quot;../internals/iterators&quot;),u=i(&quot;iterator&quot;),l=Array.prototype;n.exports=function(s){return s!==void 0&amp;&amp;(a.Array===s||l[u]===s)}},{&quot;../internals/iterators&quot;:298,&quot;../internals/well-known-symbol&quot;:357}],284:[function(t,n,o){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,o){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,o){var i=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/is-callable&quot;),l=t(&quot;../internals/classof&quot;),s=t(&quot;../internals/get-built-in&quot;),c=t(&quot;../internals/inspect-source&quot;),m=function(){},h=[],d=s(&quot;Reflect&quot;,&quot;construct&quot;),g=/^\s*(?:class|function)\b/,y=i(g.exec),p=!g.test(m),b=function(_){if(!u(_))return!1;try{return d(m,h,_),!0}catch{return!1}},x=function(_){if(!u(_))return!1;switch(l(_)){case&quot;AsyncFunction&quot;:case&quot;GeneratorFunction&quot;:case&quot;AsyncGeneratorFunction&quot;:return!1}try{return p||!!y(g,c(_))}catch{return!0}};x.sham=!0,n.exports=!d||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,o){var i=t(&quot;../internals/fails&quot;),a=t(&quot;../internals/is-callable&quot;),u=/#|\.prototype\./,l=function(d,g){var y=c[s(d)];return y===h||y!==m&amp;&amp;(a(g)?i(g):!!g)},s=l.normalize=function(d){return String(d).replace(u,&quot;.&quot;).toLowerCase()},c=l.data={},m=l.NATIVE=&quot;N&quot;,h=l.POLYFILL=&quot;P&quot;;n.exports=l},{&quot;../internals/fails&quot;:260,&quot;../internals/is-callable&quot;:285}],288:[function(t,n,o){n.exports=function(i){return i==null}},{}],289:[function(t,n,o){var i=t(&quot;../internals/is-callable&quot;),a=t(&quot;../internals/document-all&quot;),u=a.all;n.exports=a.IS_HTMLDDA?function(l){return typeof l==&quot;object&quot;?l!==null:i(l)||l===u}:function(l){return typeof l==&quot;object&quot;?l!==null:i(l)}},{&quot;../internals/document-all&quot;:248,&quot;../internals/is-callable&quot;:285}],290:[function(t,n,o){n.exports=!1},{}],291:[function(t,n,o){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(l){var s;return i(l)&amp;&amp;((s=l[u])!==void 0?!!s:a(l)===&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,o){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;),l=t(&quot;../internals/use-symbol-as-uid&quot;),s=Object;n.exports=l?function(c){return typeof c==&quot;symbol&quot;}:function(c){var m=i(&quot;Symbol&quot;);return a(m)&amp;&amp;u(m.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,o){var i=t(&quot;../internals/function-bind-context&quot;),a=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/an-object&quot;),l=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;),m=t(&quot;../internals/object-is-prototype-of&quot;),h=t(&quot;../internals/get-iterator&quot;),d=t(&quot;../internals/get-iterator-method&quot;),g=t(&quot;../internals/iterator-close&quot;),y=TypeError,p=function(x,_){this.stopped=x,this.result=_},b=p.prototype;n.exports=function(x,_,E){var M,D,W,L,V,H,K,z=E&amp;&amp;E.that,O=!(!E||!E.AS_ENTRIES),I=!(!E||!E.IS_RECORD),C=!(!E||!E.IS_ITERATOR),j=!(!E||!E.INTERRUPTED),k=i(_,z),S=function(T){return M&amp;&amp;g(M,&quot;normal&quot;,T),new p(!0,T)},N=function(T){return O?(u(T),j?k(T[0],T[1],S):k(T[0],T[1])):j?k(T,S):k(T)};if(I)M=x.iterator;else if(C)M=x;else{if(!(D=d(x)))throw new y(l(x)+&quot; is not iterable&quot;);if(s(D)){for(W=0,L=c(x);L&gt;W;W++)if((V=N(x[W]))&amp;&amp;m(b,V))return V;return new p(!1)}M=h(x,D)}for(H=I?x.next:M.next;!(K=a(H,M)).done;){try{V=N(K.value)}catch(T){g(M,&quot;throw&quot;,T)}if(typeof V==&quot;object&quot;&amp;&amp;V&amp;&amp;m(b,V))return V}return new p(!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,o){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(l,s,c){var m,h;a(l);try{if(!(m=u(l,&quot;return&quot;))){if(s===&quot;throw&quot;)throw c;return c}m=i(m,l)}catch(d){h=!0,m=d}if(s===&quot;throw&quot;)throw c;if(h)throw m;return a(m),c}},{&quot;../internals/an-object&quot;:227,&quot;../internals/function-call&quot;:264,&quot;../internals/get-method&quot;:273}],295:[function(t,n,o){var i=t(&quot;../internals/iterators-core&quot;).IteratorPrototype,a=t(&quot;../internals/object-create&quot;),u=t(&quot;../internals/create-property-descriptor&quot;),l=t(&quot;../internals/set-to-string-tag&quot;),s=t(&quot;../internals/iterators&quot;),c=function(){return this};n.exports=function(m,h,d,g){var y=h+&quot; Iterator&quot;;return m.prototype=a(i,{next:u(+!g,d)}),l(m,y,!1,!0),s[y]=c,m}},{&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,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/is-pure&quot;),l=t(&quot;../internals/function-name&quot;),s=t(&quot;../internals/is-callable&quot;),c=t(&quot;../internals/iterator-create-constructor&quot;),m=t(&quot;../internals/object-get-prototype-of&quot;),h=t(&quot;../internals/object-set-prototype-of&quot;),d=t(&quot;../internals/set-to-string-tag&quot;),g=t(&quot;../internals/create-non-enumerable-property&quot;),y=t(&quot;../internals/define-built-in&quot;),p=t(&quot;../internals/well-known-symbol&quot;),b=t(&quot;../internals/iterators&quot;),x=t(&quot;../internals/iterators-core&quot;),_=l.PROPER,E=l.CONFIGURABLE,M=x.IteratorPrototype,D=x.BUGGY_SAFARI_ITERATORS,W=p(&quot;iterator&quot;),L=function(){return this};n.exports=function(V,H,K,z,O,I,C){c(K,H,z);var j,k,S,N=function(U){if(U===O&amp;&amp;Q)return Q;if(!D&amp;&amp;U&amp;&amp;U in B)return B[U];switch(U){case&quot;keys&quot;:case&quot;values&quot;:case&quot;entries&quot;:return function(){return new K(this,U)}}return function(){return new K(this)}},T=H+&quot; Iterator&quot;,R=!1,B=V.prototype,Y=B[W]||B[&quot;@@iterator&quot;]||O&amp;&amp;B[O],Q=!D&amp;&amp;Y||N(O),ne=H===&quot;Array&quot;&amp;&amp;B.entries||Y;if(ne&amp;&amp;(j=m(ne.call(new V)))!==Object.prototype&amp;&amp;j.next&amp;&amp;(u||m(j)===M||(h?h(j,M):s(j[W])||y(j,W,L)),d(j,T,!0,!0),u&amp;&amp;(b[T]=L)),_&amp;&amp;O===&quot;values&quot;&amp;&amp;Y&amp;&amp;Y.name!==&quot;values&quot;&amp;&amp;(!u&amp;&amp;E?g(B,&quot;name&quot;,&quot;values&quot;):(R=!0,Q=function(){return a(Y,this)})),O)if(k={values:N(&quot;values&quot;),keys:I?Q:N(&quot;keys&quot;),entries:N(&quot;entries&quot;)},C)for(S in k)(D||R||!(S in B))&amp;&amp;y(B,S,k[S]);else i({target:H,proto:!0,forced:D||R},k);return u&amp;&amp;!C||B[W]===Q||y(B,W,Q,{name:O}),b[H]=Q,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,o){var i,a,u,l=t(&quot;../internals/fails&quot;),s=t(&quot;../internals/is-callable&quot;),c=t(&quot;../internals/is-object&quot;),m=t(&quot;../internals/object-create&quot;),h=t(&quot;../internals/object-get-prototype-of&quot;),d=t(&quot;../internals/define-built-in&quot;),g=t(&quot;../internals/well-known-symbol&quot;),y=t(&quot;../internals/is-pure&quot;),p=g(&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)||l((function(){var x={};return i[p].call(x)!==x}))?i={}:y&amp;&amp;(i=m(i)),s(i[p])||d(i,p,(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,o){arguments[4][276][0].apply(o,arguments)},{dup:276}],299:[function(t,n,o){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,o){var i=t(&quot;../internals/function-uncurry-this&quot;),a=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/is-callable&quot;),l=t(&quot;../internals/has-own-property&quot;),s=t(&quot;../internals/descriptors&quot;),c=t(&quot;../internals/function-name&quot;).CONFIGURABLE,m=t(&quot;../internals/inspect-source&quot;),h=t(&quot;../internals/internal-state&quot;),d=h.enforce,g=h.get,y=String,p=Object.defineProperty,b=i(&quot;&quot;.slice),x=i(&quot;&quot;.replace),_=i([].join),E=s&amp;&amp;!a((function(){return p((function(){}),&quot;length&quot;,{value:8}).length!==8})),M=String(String).split(&quot;String&quot;),D=n.exports=function(W,L,V){b(y(L),0,7)===&quot;Symbol(&quot;&amp;&amp;(L=&quot;[&quot;+x(y(L),/^Symbol\(([^)]*)\)/,&quot;$1&quot;)+&quot;]&quot;),V&amp;&amp;V.getter&amp;&amp;(L=&quot;get &quot;+L),V&amp;&amp;V.setter&amp;&amp;(L=&quot;set &quot;+L),(!l(W,&quot;name&quot;)||c&amp;&amp;W.name!==L)&amp;&amp;(s?p(W,&quot;name&quot;,{value:L,configurable:!0}):W.name=L),E&amp;&amp;V&amp;&amp;l(V,&quot;arity&quot;)&amp;&amp;W.length!==V.arity&amp;&amp;p(W,&quot;length&quot;,{value:V.arity});try{V&amp;&amp;l(V,&quot;constructor&quot;)&amp;&amp;V.constructor?s&amp;&amp;p(W,&quot;prototype&quot;,{writable:!1}):W.prototype&amp;&amp;(W.prototype=void 0)}catch{}var H=d(W);return l(H,&quot;source&quot;)||(H.source=_(M,typeof L==&quot;string&quot;?L:&quot;&quot;)),W};Function.prototype.toString=D((function(){return u(this)&amp;&amp;g(this).source||m(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,o){var i=Math.ceil,a=Math.floor;n.exports=Math.trunc||function(u){var l=+u;return(l&gt;0?a:i)(l)}},{}],302:[function(t,n,o){var i,a,u,l,s,c=t(&quot;../internals/global&quot;),m=t(&quot;../internals/function-bind-context&quot;),h=t(&quot;../internals/object-get-own-property-descriptor&quot;).f,d=t(&quot;../internals/task&quot;).set,g=t(&quot;../internals/queue&quot;),y=t(&quot;../internals/engine-is-ios&quot;),p=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,E=c.document,M=c.process,D=c.Promise,W=h(c,&quot;queueMicrotask&quot;),L=W&amp;&amp;W.value;if(!L){var V=new g,H=function(){var K,z;for(x&amp;&amp;(K=M.domain)&amp;&amp;K.exit();z=V.get();)try{z()}catch(O){throw V.head&amp;&amp;i(),O}K&amp;&amp;K.enter()};y||x||b||!_||!E?!p&amp;&amp;D&amp;&amp;D.resolve?((l=D.resolve(void 0)).constructor=D,s=m(l.then,l),i=function(){s(H)}):x?i=function(){M.nextTick(H)}:(d=m(d,c),i=function(){d(H)}):(a=!0,u=E.createTextNode(&quot;&quot;),new _(H).observe(u,{characterData:!0}),i=function(){u.data=a=!a}),L=function(K){V.head||i(),V.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,o){var i=t(&quot;../internals/a-callable&quot;),a=TypeError,u=function(l){var s,c;this.promise=new l((function(m,h){if(s!==void 0||c!==void 0)throw new a(&quot;Bad Promise constructor&quot;);s=m,c=h})),this.resolve=i(s),this.reject=i(c)};n.exports.f=function(l){return new u(l)}},{&quot;../internals/a-callable&quot;:222}],304:[function(t,n,o){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,o){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/function-call&quot;),l=t(&quot;../internals/fails&quot;),s=t(&quot;../internals/object-keys&quot;),c=t(&quot;../internals/object-get-own-property-symbols&quot;),m=t(&quot;../internals/object-property-is-enumerable&quot;),h=t(&quot;../internals/to-object&quot;),d=t(&quot;../internals/indexed-object&quot;),g=Object.assign,y=Object.defineProperty,p=a([].concat);n.exports=!g||l((function(){if(i&amp;&amp;g({b:1},g(y({},&quot;a&quot;,{enumerable:!0,get:function(){y(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(E){x[E]=E})),g({},b)[_]!==7||s(g({},x)).join(&quot;&quot;)!==&quot;abcdefghijklmnopqrst&quot;}))?function(b,x){for(var _=h(b),E=arguments.length,M=1,D=c.f,W=m.f;E&gt;M;)for(var L,V=d(arguments[M++]),H=D?p(s(V),D(V)):s(V),K=H.length,z=0;K&gt;z;)L=H[z++],i&amp;&amp;!u(W,V,L)||(_[L]=V[L]);return _}:g},{&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,o){var i,a=t(&quot;../internals/an-object&quot;),u=t(&quot;../internals/object-define-properties&quot;),l=t(&quot;../internals/enum-bug-keys&quot;),s=t(&quot;../internals/hidden-keys&quot;),c=t(&quot;../internals/html&quot;),m=t(&quot;../internals/document-create-element&quot;),h=t(&quot;../internals/shared-key&quot;),d=h(&quot;IE_PROTO&quot;),g=function(){},y=function(x){return&quot;&lt;script&gt;&quot;+x+&quot;&lt;\/script&gt;&quot;},p=function(x){x.write(y(&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?p(i):((_=m(&quot;iframe&quot;)).style.display=&quot;none&quot;,c.appendChild(_),_.src=&quot;javascript:&quot;,(x=_.contentWindow.document).open(),x.write(y(&quot;document.F=Object&quot;)),x.close(),x.F):p(i);for(var E=l.length;E--;)delete b.prototype[l[E]];return b()};s[d]=!0,n.exports=Object.create||function(x,_){var E;return x!==null?(g.prototype=a(x),E=new g,g.prototype=null,E[d]=x):E=b(),_===void 0?E:u.f(E,_)}},{&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,o){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/v8-prototype-define-bug&quot;),u=t(&quot;../internals/object-define-property&quot;),l=t(&quot;../internals/an-object&quot;),s=t(&quot;../internals/to-indexed-object&quot;),c=t(&quot;../internals/object-keys&quot;);o.f=i&amp;&amp;!a?Object.defineProperties:function(m,h){l(m);for(var d,g=s(h),y=c(h),p=y.length,b=0;p&gt;b;)u.f(m,d=y[b++],g[d]);return m}},{&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,o){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/ie8-dom-define&quot;),u=t(&quot;../internals/v8-prototype-define-bug&quot;),l=t(&quot;../internals/an-object&quot;),s=t(&quot;../internals/to-property-key&quot;),c=TypeError,m=Object.defineProperty,h=Object.getOwnPropertyDescriptor;o.f=i?u?function(d,g,y){if(l(d),g=s(g),l(y),typeof d==&quot;function&quot;&amp;&amp;g===&quot;prototype&quot;&amp;&amp;&quot;value&quot;in y&amp;&amp;&quot;writable&quot;in y&amp;&amp;!y.writable){var p=h(d,g);p&amp;&amp;p.writable&amp;&amp;(d[g]=y.value,y={configurable:&quot;configurable&quot;in y?y.configurable:p.configurable,enumerable:&quot;enumerable&quot;in y?y.enumerable:p.enumerable,writable:!1})}return m(d,g,y)}:m:function(d,g,y){if(l(d),g=s(g),l(y),a)try{return m(d,g,y)}catch{}if(&quot;get&quot;in y||&quot;set&quot;in y)throw new c(&quot;Accessors not supported&quot;);return&quot;value&quot;in y&amp;&amp;(d[g]=y.value),d}},{&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,o){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/object-property-is-enumerable&quot;),l=t(&quot;../internals/create-property-descriptor&quot;),s=t(&quot;../internals/to-indexed-object&quot;),c=t(&quot;../internals/to-property-key&quot;),m=t(&quot;../internals/has-own-property&quot;),h=t(&quot;../internals/ie8-dom-define&quot;),d=Object.getOwnPropertyDescriptor;o.f=i?d:function(g,y){if(g=s(g),y=c(y),h)try{return d(g,y)}catch{}if(m(g,y))return l(!a(u.f,g,y),g[y])}},{&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,o){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,l=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(m){try{return u(m)}catch{return l(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,o){var i=t(&quot;../internals/object-keys-internal&quot;),a=t(&quot;../internals/enum-bug-keys&quot;).concat(&quot;length&quot;,&quot;prototype&quot;);o.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,o){o.f=Object.getOwnPropertySymbols},{}],313:[function(t,n,o){var i=t(&quot;../internals/has-own-property&quot;),a=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/to-object&quot;),l=t(&quot;../internals/shared-key&quot;),s=t(&quot;../internals/correct-prototype-getter&quot;),c=l(&quot;IE_PROTO&quot;),m=Object,h=m.prototype;n.exports=s?m.getPrototypeOf:function(d){var g=u(d);if(i(g,c))return g[c];var y=g.constructor;return a(y)&amp;&amp;g instanceof y?y.prototype:g instanceof m?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,o){var i=t(&quot;../internals/function-uncurry-this&quot;);n.exports=i({}.isPrototypeOf)},{&quot;../internals/function-uncurry-this&quot;:268}],315:[function(t,n,o){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;),l=t(&quot;../internals/array-includes&quot;).indexOf,s=t(&quot;../internals/hidden-keys&quot;),c=i([].push);n.exports=function(m,h){var d,g=u(m),y=0,p=[];for(d in g)!a(s,d)&amp;&amp;a(g,d)&amp;&amp;c(p,d);for(;h.length&gt;y;)a(g,d=h[y++])&amp;&amp;(~l(p,d)||c(p,d));return p}},{&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,o){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,o){var i={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,u=a&amp;&amp;!i.call({1:2},1);o.f=u?function(l){var s=a(this,l);return!!s&amp;&amp;s.enumerable}:i},{}],318:[function(t,n,o){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 l,s=!1,c={};try{(l=i(Object.prototype,&quot;__proto__&quot;,&quot;set&quot;))(c,[]),s=c instanceof Array}catch{}return function(m,h){return a(m),u(h),s?l(m,h):m.__proto__=h,m}})():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,o){var i=t(&quot;../internals/descriptors&quot;),a=t(&quot;../internals/fails&quot;),u=t(&quot;../internals/function-uncurry-this&quot;),l=t(&quot;../internals/object-get-prototype-of&quot;),s=t(&quot;../internals/object-keys&quot;),c=t(&quot;../internals/to-indexed-object&quot;),m=u(t(&quot;../internals/object-property-is-enumerable&quot;).f),h=u([].push),d=i&amp;&amp;a((function(){var y=Object.create(null);return y[2]=2,!m(y,2)})),g=function(y){return function(p){for(var b,x=c(p),_=s(x),E=d&amp;&amp;l(x)===null,M=_.length,D=0,W=[];M&gt;D;)b=_[D++],i&amp;&amp;!(E?b in x:m(x,b))||h(W,y?[b,x[b]]:x[b]);return W}};n.exports={entries:g(!0),values:g(!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,o){var i=t(&quot;../internals/function-call&quot;),a=t(&quot;../internals/is-callable&quot;),u=t(&quot;../internals/is-object&quot;),l=TypeError;n.exports=function(s,c){var m,h;if(c===&quot;string&quot;&amp;&amp;a(m=s.toString)&amp;&amp;!u(h=i(m,s))||a(m=s.valueOf)&amp;&amp;!u(h=i(m,s))||c!==&quot;string&quot;&amp;&amp;a(m=s.toString)&amp;&amp;!u(h=i(m,s)))return h;throw new l(&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,o){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;),l=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(m){var h=u.f(s(m)),d=l.f;return d?c(h,d(m)):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,o){var i=t(&quot;../internals/global&quot;);n.exports=i},{&quot;../internals/global&quot;:274}],323:[function(t,n,o){n.exports=function(i){try{return{error:!1,value:i()}}catch(a){return{error:!0,value:a}}}},{}],324:[function(t,n,o){var i=t(&quot;../internals/global&quot;),a=t(&quot;../internals/promise-native-constructor&quot;),u=t(&quot;../internals/is-callable&quot;),l=t(&quot;../internals/is-forced&quot;),s=t(&quot;../internals/inspect-source&quot;),c=t(&quot;../internals/well-known-symbol&quot;),m=t(&quot;../internals/engine-is-browser&quot;),h=t(&quot;../internals/engine-is-deno&quot;),d=t(&quot;../internals/is-pure&quot;),g=t(&quot;../internals/engine-v8-version&quot;),y=a&amp;&amp;a.prototype,p=c(&quot;species&quot;),b=!1,x=u(i.PromiseRejectionEvent),_=l(&quot;Promise&quot;,(function(){var E=s(a),M=E!==String(a);if(!M&amp;&amp;g===66||d&amp;&amp;(!y.catch||!y.finally))return!0;if(!g||g&lt;51||!/native code/.test(E)){var D=new a((function(L){L(1)})),W=function(L){L((function(){}),(function(){}))};if((D.constructor={})[p]=W,!(b=D.then((function(){}))instanceof W))return!0}return!M&amp;&amp;(m||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,o){var i=t(&quot;../internals/global&quot;);n.exports=i.Promise},{&quot;../internals/global&quot;:274}],326:[function(t,n,o){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(l,s){if(i(l),a(s)&amp;&amp;s.constructor===l)return s;var c=u.f(l);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,o){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(l){i.all(l).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,o){var i=function(){this.head=null,this.tail=null};i.prototype={add:function(a){var u={item:a,next:null},l=this.tail;l?l.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,o){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,o){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;),l=t(&quot;../internals/descriptors&quot;),s=u(&quot;species&quot;);n.exports=function(c){var m=i(c);l&amp;&amp;m&amp;&amp;!m[s]&amp;&amp;a(m,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,o){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(l,s,c){l&amp;&amp;!c&amp;&amp;(l=l.prototype),l&amp;&amp;!a(l,u)&amp;&amp;i(l,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,o){var i=t(&quot;../internals/shared&quot;),a=t(&quot;../internals/uid&quot;),u=i(&quot;keys&quot;);n.exports=function(l){return u[l]||(u[l]=a(l))}},{&quot;../internals/shared&quot;:334,&quot;../internals/uid&quot;:350}],333:[function(t,n,o){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,o){var i=t(&quot;../internals/is-pure&quot;),a=t(&quot;../internals/shared-store&quot;);(n.exports=function(u,l){return a[u]||(a[u]=l!==void 0?l:{})})(&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,o){var i=t(&quot;../internals/an-object&quot;),a=t(&quot;../internals/a-constructor&quot;),u=t(&quot;../internals/is-null-or-undefined&quot;),l=t(&quot;../internals/well-known-symbol&quot;)(&quot;species&quot;);n.exports=function(s,c){var m,h=i(s).constructor;return h===void 0||u(m=i(h)[l])?c:a(m)}},{&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,o){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 l=Symbol(&quot;symbol detection&quot;);return!u(l)||!(Object(l)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,o){var i=t(&quot;../internals/function-call&quot;),a=t(&quot;../internals/get-built-in&quot;),u=t(&quot;../internals/well-known-symbol&quot;),l=t(&quot;../internals/define-built-in&quot;);n.exports=function(){var s=a(&quot;Symbol&quot;),c=s&amp;&amp;s.prototype,m=c&amp;&amp;c.valueOf,h=u(&quot;toPrimitive&quot;);c&amp;&amp;!c[h]&amp;&amp;l(c,h,(function(d){return i(m,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,o){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,o){var i,a,u,l,s=t(&quot;../internals/global&quot;),c=t(&quot;../internals/function-apply&quot;),m=t(&quot;../internals/function-bind-context&quot;),h=t(&quot;../internals/is-callable&quot;),d=t(&quot;../internals/has-own-property&quot;),g=t(&quot;../internals/fails&quot;),y=t(&quot;../internals/html&quot;),p=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;),E=t(&quot;../internals/engine-is-node&quot;),M=s.setImmediate,D=s.clearImmediate,W=s.process,L=s.Dispatch,V=s.Function,H=s.MessageChannel,K=s.String,z=0,O={};g((function(){i=s.location}));var I=function(S){if(d(O,S)){var N=O[S];delete O[S],N()}},C=function(S){return function(){I(S)}},j=function(S){I(S.data)},k=function(S){s.postMessage(K(S),i.protocol+&quot;//&quot;+i.host)};M&amp;&amp;D||(M=function(S){x(arguments.length,1);var N=h(S)?S:V(S),T=p(arguments,1);return O[++z]=function(){c(N,void 0,T)},a(z),z},D=function(S){delete O[S]},E?a=function(S){W.nextTick(C(S))}:L&amp;&amp;L.now?a=function(S){L.now(C(S))}:H&amp;&amp;!_?(l=(u=new H).port2,u.port1.onmessage=j,a=m(l.postMessage,l)):s.addEventListener&amp;&amp;h(s.postMessage)&amp;&amp;!s.importScripts&amp;&amp;i&amp;&amp;i.protocol!==&quot;file:&quot;&amp;&amp;!g(k)?(a=k,s.addEventListener(&quot;message&quot;,j,!1)):a=&quot;onreadystatechange&quot;in b(&quot;script&quot;)?function(S){y.appendChild(b(&quot;script&quot;)).onreadystatechange=function(){y.removeChild(this),I(S)}}:function(S){setTimeout(C(S),0)}),n.exports={set:M,clear:D}},{&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,o){var i=t(&quot;../internals/to-integer-or-infinity&quot;),a=Math.max,u=Math.min;n.exports=function(l,s){var c=i(l);return c&lt;0?a(c+s,0):u(c,s)}},{&quot;../internals/to-integer-or-infinity&quot;:342}],341:[function(t,n,o){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,o){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,o){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,o){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,o){var i=t(&quot;../internals/function-call&quot;),a=t(&quot;../internals/is-object&quot;),u=t(&quot;../internals/is-symbol&quot;),l=t(&quot;../internals/get-method&quot;),s=t(&quot;../internals/ordinary-to-primitive&quot;),c=t(&quot;../internals/well-known-symbol&quot;),m=TypeError,h=c(&quot;toPrimitive&quot;);n.exports=function(d,g){if(!a(d)||u(d))return d;var y,p=l(d,h);if(p){if(g===void 0&amp;&amp;(g=&quot;default&quot;),y=i(p,d,g),!a(y)||u(y))return y;throw new m(&quot;Can&#039;t convert object to primitive value&quot;)}return g===void 0&amp;&amp;(g=&quot;number&quot;),s(d,g)}},{&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,o){var i=t(&quot;../internals/to-primitive&quot;),a=t(&quot;../internals/is-symbol&quot;);n.exports=function(u){var l=i(u,&quot;string&quot;);return a(l)?l:l+&quot;&quot;}},{&quot;../internals/is-symbol&quot;:292,&quot;../internals/to-primitive&quot;:345}],347:[function(t,n,o){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,o){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,o){var i=String;n.exports=function(a){try{return i(a)}catch{return&quot;Object&quot;}}},{}],350:[function(t,n,o){var i=t(&quot;../internals/function-uncurry-this&quot;),a=0,u=Math.random(),l=i(1 .toString);n.exports=function(s){return&quot;Symbol(&quot;+(s===void 0?&quot;&quot;:s)+&quot;)_&quot;+l(++a+u,36)}},{&quot;../internals/function-uncurry-this&quot;:268}],351:[function(t,n,o){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,o){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,o){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,o){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,o){var i=t(&quot;../internals/path&quot;),a=t(&quot;../internals/has-own-property&quot;),u=t(&quot;../internals/well-known-symbol-wrapped&quot;),l=t(&quot;../internals/object-define-property&quot;).f;n.exports=function(s){var c=i.Symbol||(i.Symbol={});a(c,s)||l(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,o){var i=t(&quot;../internals/well-known-symbol&quot;);o.f=i},{&quot;../internals/well-known-symbol&quot;:357}],357:[function(t,n,o){var i=t(&quot;../internals/global&quot;),a=t(&quot;../internals/shared&quot;),u=t(&quot;../internals/has-own-property&quot;),l=t(&quot;../internals/uid&quot;),s=t(&quot;../internals/symbol-constructor-detection&quot;),c=t(&quot;../internals/use-symbol-as-uid&quot;),m=i.Symbol,h=a(&quot;wks&quot;),d=c?m.for||m:m&amp;&amp;m.withoutSetter||l;n.exports=function(g){return u(h,g)||(h[g]=s&amp;&amp;u(m,g)?m[g]:d(&quot;Symbol.&quot;+g)),h[g]}},{&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,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/array-iteration&quot;).findIndex,u=t(&quot;../internals/add-to-unscopables&quot;),l=!0;&quot;findIndex&quot;in[]&amp;&amp;Array(1).findIndex((function(){l=!1})),i({target:&quot;Array&quot;,proto:!0,forced:l},{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,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/array-iteration&quot;).find,u=t(&quot;../internals/add-to-unscopables&quot;),l=!0;&quot;find&quot;in[]&amp;&amp;Array(1).find((function(){l=!1})),i({target:&quot;Array&quot;,proto:!0,forced:l},{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,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/array-includes&quot;).includes,u=t(&quot;../internals/fails&quot;),l=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)}}),l(&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,o){var i=t(&quot;../internals/to-indexed-object&quot;),a=t(&quot;../internals/add-to-unscopables&quot;),u=t(&quot;../internals/iterators&quot;),l=t(&quot;../internals/internal-state&quot;),s=t(&quot;../internals/object-define-property&quot;).f,c=t(&quot;../internals/iterator-define&quot;),m=t(&quot;../internals/create-iter-result-object&quot;),h=t(&quot;../internals/is-pure&quot;),d=t(&quot;../internals/descriptors&quot;),g=l.set,y=l.getterFor(&quot;Array Iterator&quot;);n.exports=c(Array,&quot;Array&quot;,(function(b,x){g(this,{type:&quot;Array Iterator&quot;,target:i(b),index:0,kind:x})}),(function(){var b=y(this),x=b.target,_=b.kind,E=b.index++;if(!x||E&gt;=x.length)return b.target=void 0,m(void 0,!0);switch(_){case&quot;keys&quot;:return m(E,!1);case&quot;values&quot;:return m(x[E],!1)}return m([E,x[E]],!1)}),&quot;values&quot;);var p=u.Arguments=u.Array;if(a(&quot;keys&quot;),a(&quot;values&quot;),a(&quot;entries&quot;),!h&amp;&amp;d&amp;&amp;p.name!==&quot;values&quot;)try{s(p,&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,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/get-built-in&quot;),u=t(&quot;../internals/function-apply&quot;),l=t(&quot;../internals/function-call&quot;),s=t(&quot;../internals/function-uncurry-this&quot;),c=t(&quot;../internals/fails&quot;),m=t(&quot;../internals/is-callable&quot;),h=t(&quot;../internals/is-symbol&quot;),d=t(&quot;../internals/array-slice&quot;),g=t(&quot;../internals/get-json-replacer-function&quot;),y=t(&quot;../internals/symbol-constructor-detection&quot;),p=String,b=a(&quot;JSON&quot;,&quot;stringify&quot;),x=s(/./.exec),_=s(&quot;&quot;.charAt),E=s(&quot;&quot;.charCodeAt),M=s(&quot;&quot;.replace),D=s(1 .toString),W=/[\uD800-\uDFFF]/g,L=/^[\uD800-\uDBFF]$/,V=/^[\uDC00-\uDFFF]$/,H=!y||c((function(){var I=a(&quot;Symbol&quot;)(&quot;stringify detection&quot;);return b([I])!==&quot;[null]&quot;||b({a:I})!==&quot;{}&quot;||b(Object(I))!==&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;})),z=function(I,C){var j=d(arguments),k=g(C);if(m(k)||I!==void 0&amp;&amp;!h(I))return j[1]=function(S,N){if(m(k)&amp;&amp;(N=l(k,this,p(S),N)),!h(N))return N},u(b,null,j)},O=function(I,C,j){var k=_(j,C-1),S=_(j,C+1);return x(L,I)&amp;&amp;!x(V,S)||x(V,I)&amp;&amp;!x(L,k)?&quot;\\u&quot;+D(E(I,0),16):I};b&amp;&amp;i({target:&quot;JSON&quot;,stat:!0,arity:3,forced:H||K},{stringify:function(I,C,j){var k=d(arguments),S=u(H?z:b,null,k);return K&amp;&amp;typeof S==&quot;string&quot;?M(S,W,O):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,o){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,o){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,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/symbol-constructor-detection&quot;),u=t(&quot;../internals/fails&quot;),l=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(){l.f(1)}))},{getOwnPropertySymbols:function(c){var m=l.f;return m?m(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,o){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(l){return u(a(l))}})},{&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,o){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,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/a-callable&quot;),l=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(m){var h=this,d=l.f(h),g=d.resolve,y=d.reject,p=s((function(){var b=u(h.resolve),x=[],_=0,E=1;c(m,(function(M){var D=_++,W=!1;E++,a(b,h,M).then((function(L){W||(W=!0,x[D]=L,--E||g(x))}),y)})),--E||g(x)}));return p.error&amp;&amp;y(p.value),d.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,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/is-pure&quot;),u=t(&quot;../internals/promise-constructor-detection&quot;).CONSTRUCTOR,l=t(&quot;../internals/promise-native-constructor&quot;),s=t(&quot;../internals/get-built-in&quot;),c=t(&quot;../internals/is-callable&quot;),m=t(&quot;../internals/define-built-in&quot;),h=l&amp;&amp;l.prototype;if(i({target:&quot;Promise&quot;,proto:!0,forced:u,real:!0},{catch:function(g){return this.then(void 0,g)}}),!a&amp;&amp;c(l)){var d=s(&quot;Promise&quot;).prototype.catch;h.catch!==d&amp;&amp;m(h,&quot;catch&quot;,d,{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,o){var i,a,u,l=t(&quot;../internals/export&quot;),s=t(&quot;../internals/is-pure&quot;),c=t(&quot;../internals/engine-is-node&quot;),m=t(&quot;../internals/global&quot;),h=t(&quot;../internals/function-call&quot;),d=t(&quot;../internals/define-built-in&quot;),g=t(&quot;../internals/object-set-prototype-of&quot;),y=t(&quot;../internals/set-to-string-tag&quot;),p=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;),E=t(&quot;../internals/an-instance&quot;),M=t(&quot;../internals/species-constructor&quot;),D=t(&quot;../internals/task&quot;).set,W=t(&quot;../internals/microtask&quot;),L=t(&quot;../internals/host-report-errors&quot;),V=t(&quot;../internals/perform&quot;),H=t(&quot;../internals/queue&quot;),K=t(&quot;../internals/internal-state&quot;),z=t(&quot;../internals/promise-native-constructor&quot;),O=t(&quot;../internals/promise-constructor-detection&quot;),I=t(&quot;../internals/new-promise-capability&quot;),C=O.CONSTRUCTOR,j=O.REJECTION_EVENT,k=O.SUBCLASSING,S=K.getterFor(&quot;Promise&quot;),N=K.set,T=z&amp;&amp;z.prototype,R=z,B=T,Y=m.TypeError,Q=m.document,ne=m.process,U=I.f,ee=U,F=!!(Q&amp;&amp;Q.createEvent&amp;&amp;m.dispatchEvent),P=function(ie){var he;return!(!_(ie)||!x(he=ie.then))&amp;&amp;he},X=function(ie,he){var ge,pe,le,_e=he.value,Se=he.state===1,Oe=Se?ie.ok:ie.fail,Pe=ie.resolve,Ie=ie.reject,Ve=ie.domain;try{Oe?(Se||(he.rejection===2&amp;&amp;ce(he),he.rejection=1),Oe===!0?ge=_e:(Ve&amp;&amp;Ve.enter(),ge=Oe(_e),Ve&amp;&amp;(Ve.exit(),le=!0)),ge===ie.promise?Ie(new Y(&quot;Promise-chain cycle&quot;)):(pe=P(ge))?h(pe,ge,Pe,Ie):Pe(ge)):Ie(_e)}catch(Qe){Ve&amp;&amp;!le&amp;&amp;Ve.exit(),Ie(Qe)}},re=function(ie,he){ie.notified||(ie.notified=!0,W((function(){for(var ge,pe=ie.reactions;ge=pe.get();)X(ge,ie);ie.notified=!1,he&amp;&amp;!ie.rejection&amp;&amp;te(ie)})))},Z=function(ie,he,ge){var pe,le;F?((pe=Q.createEvent(&quot;Event&quot;)).promise=he,pe.reason=ge,pe.initEvent(ie,!1,!0),m.dispatchEvent(pe)):pe={promise:he,reason:ge},!j&amp;&amp;(le=m[&quot;on&quot;+ie])?le(pe):ie===&quot;unhandledrejection&quot;&amp;&amp;L(&quot;Unhandled promise rejection&quot;,ge)},te=function(ie){h(D,m,(function(){var he,ge=ie.facade,pe=ie.value;if(ae(ie)&amp;&amp;(he=V((function(){c?ne.emit(&quot;unhandledRejection&quot;,pe,ge):Z(&quot;unhandledrejection&quot;,ge,pe)})),ie.rejection=c||ae(ie)?2:1,he.error))throw he.value}))},ae=function(ie){return ie.rejection!==1&amp;&amp;!ie.parent},ce=function(ie){h(D,m,(function(){var he=ie.facade;c?ne.emit(&quot;rejectionHandled&quot;,he):Z(&quot;rejectionhandled&quot;,he,ie.value)}))},fe=function(ie,he,ge){return function(pe){ie(he,pe,ge)}},se=function(ie,he,ge){ie.done||(ie.done=!0,ge&amp;&amp;(ie=ge),ie.value=he,ie.state=2,re(ie,!0))},ue=function(ie,he,ge){if(!ie.done){ie.done=!0,ge&amp;&amp;(ie=ge);try{if(ie.facade===he)throw new Y(&quot;Promise can&#039;t be resolved itself&quot;);var pe=P(he);pe?W((function(){var le={done:!1};try{h(pe,he,fe(ue,le,ie),fe(se,le,ie))}catch(_e){se(le,_e,ie)}})):(ie.value=he,ie.state=1,re(ie,!1))}catch(le){se({done:!1},le,ie)}}};if(C&amp;&amp;(B=(R=function(ie){E(this,B),b(ie),h(i,this);var he=S(this);try{ie(fe(ue,he),fe(se,he))}catch(ge){se(he,ge)}}).prototype,(i=function(ie){N(this,{type:&quot;Promise&quot;,done:!1,notified:!1,parent:!1,reactions:new H,rejection:!1,state:0,value:void 0})}).prototype=d(B,&quot;then&quot;,(function(ie,he){var ge=S(this),pe=U(M(this,R));return ge.parent=!0,pe.ok=!x(ie)||ie,pe.fail=x(he)&amp;&amp;he,pe.domain=c?ne.domain:void 0,ge.state===0?ge.reactions.add(pe):W((function(){X(pe,ge)})),pe.promise})),a=function(){var ie=new i,he=S(ie);this.promise=ie,this.resolve=fe(ue,he),this.reject=fe(se,he)},I.f=U=function(ie){return ie===R||ie===void 0?new a(ie):ee(ie)},!s&amp;&amp;x(z)&amp;&amp;T!==Object.prototype)){u=T.then,k||d(T,&quot;then&quot;,(function(ie,he){var ge=this;return new R((function(pe,le){h(u,ge,pe,le)})).then(ie,he)}),{unsafe:!0});try{delete T.constructor}catch{}g&amp;&amp;g(T,B)}l({global:!0,constructor:!0,wrap:!0,forced:C},{Promise:R}),y(R,&quot;Promise&quot;,!1,!0),p(&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,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/is-pure&quot;),u=t(&quot;../internals/promise-native-constructor&quot;),l=t(&quot;../internals/fails&quot;),s=t(&quot;../internals/get-built-in&quot;),c=t(&quot;../internals/is-callable&quot;),m=t(&quot;../internals/species-constructor&quot;),h=t(&quot;../internals/promise-resolve&quot;),d=t(&quot;../internals/define-built-in&quot;),g=u&amp;&amp;u.prototype;if(i({target:&quot;Promise&quot;,proto:!0,real:!0,forced:!!u&amp;&amp;l((function(){g.finally.call({then:function(){}},(function(){}))}))},{finally:function(p){var b=m(this,s(&quot;Promise&quot;)),x=c(p);return this.then(x?function(_){return h(b,p()).then((function(){return _}))}:p,x?function(_){return h(b,p()).then((function(){throw _}))}:p)}}),!a&amp;&amp;c(u)){var y=s(&quot;Promise&quot;).prototype.finally;g.finally!==y&amp;&amp;d(g,&quot;finally&quot;,y,{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,o){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,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/function-call&quot;),u=t(&quot;../internals/a-callable&quot;),l=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(m){var h=this,d=l.f(h),g=d.reject,y=s((function(){var p=u(h.resolve);c(m,(function(b){a(p,h,b).then(d.resolve,g)}))}));return y.error&amp;&amp;g(y.value),d.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,o){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(l){var s=u.f(this);return a(s.reject,void 0,l),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,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/get-built-in&quot;),u=t(&quot;../internals/is-pure&quot;),l=t(&quot;../internals/promise-native-constructor&quot;),s=t(&quot;../internals/promise-constructor-detection&quot;).CONSTRUCTOR,c=t(&quot;../internals/promise-resolve&quot;),m=a(&quot;Promise&quot;),h=u&amp;&amp;!s;i({target:&quot;Promise&quot;,stat:!0,forced:u||s},{resolve:function(d){return c(h&amp;&amp;this===m?l:this,d)}})},{&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,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/to-absolute-index&quot;),l=RangeError,s=String.fromCharCode,c=String.fromCodePoint,m=a([].join);i({target:&quot;String&quot;,stat:!0,arity:1,forced:!!c&amp;&amp;c.length!==1},{fromCodePoint:function(h){for(var d,g=[],y=arguments.length,p=0;y&gt;p;){if(d=+arguments[p++],u(d,1114111)!==d)throw new l(d+&quot; is not a valid code point&quot;);g[p]=d&lt;65536?s(d):s(55296+((d-=65536)&gt;&gt;10),d%1024+56320)}return m(g,&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,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/function-uncurry-this&quot;),u=t(&quot;../internals/not-a-regexp&quot;),l=t(&quot;../internals/require-object-coercible&quot;),s=t(&quot;../internals/to-string&quot;),c=t(&quot;../internals/correct-is-regexp-logic&quot;),m=a(&quot;&quot;.indexOf);i({target:&quot;String&quot;,proto:!0,forced:!c(&quot;includes&quot;)},{includes:function(h){return!!~m(s(l(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,o){t(&quot;../internals/well-known-symbol-define&quot;)(&quot;asyncIterator&quot;)},{&quot;../internals/well-known-symbol-define&quot;:355}],379:[function(t,n,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/global&quot;),u=t(&quot;../internals/function-call&quot;),l=t(&quot;../internals/function-uncurry-this&quot;),s=t(&quot;../internals/is-pure&quot;),c=t(&quot;../internals/descriptors&quot;),m=t(&quot;../internals/symbol-constructor-detection&quot;),h=t(&quot;../internals/fails&quot;),d=t(&quot;../internals/has-own-property&quot;),g=t(&quot;../internals/object-is-prototype-of&quot;),y=t(&quot;../internals/an-object&quot;),p=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;),E=t(&quot;../internals/object-create&quot;),M=t(&quot;../internals/object-keys&quot;),D=t(&quot;../internals/object-get-own-property-names&quot;),W=t(&quot;../internals/object-get-own-property-names-external&quot;),L=t(&quot;../internals/object-get-own-property-symbols&quot;),V=t(&quot;../internals/object-get-own-property-descriptor&quot;),H=t(&quot;../internals/object-define-property&quot;),K=t(&quot;../internals/object-define-properties&quot;),z=t(&quot;../internals/object-property-is-enumerable&quot;),O=t(&quot;../internals/define-built-in&quot;),I=t(&quot;../internals/define-built-in-accessor&quot;),C=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;),T=t(&quot;../internals/well-known-symbol-wrapped&quot;),R=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;),Q=t(&quot;../internals/internal-state&quot;),ne=t(&quot;../internals/array-iteration&quot;).forEach,U=j(&quot;hidden&quot;),ee=Q.set,F=Q.getterFor(&quot;Symbol&quot;),P=Object.prototype,X=a.Symbol,re=X&amp;&amp;X.prototype,Z=a.RangeError,te=a.TypeError,ae=a.QObject,ce=V.f,fe=H.f,se=W.f,ue=z.f,ie=l([].push),he=C(&quot;symbols&quot;),ge=C(&quot;op-symbols&quot;),pe=C(&quot;wks&quot;),le=!ae||!ae.prototype||!ae.prototype.findChild,_e=function(Ge,$e,Je){var tt=ce(P,$e);tt&amp;&amp;delete P[$e],fe(Ge,$e,Je),tt&amp;&amp;Ge!==P&amp;&amp;fe(P,$e,tt)},Se=c&amp;&amp;h((function(){return E(fe({},&quot;a&quot;,{get:function(){return fe(this,&quot;a&quot;,{value:7}).a}})).a!==7}))?_e:fe,Oe=function(Ge,$e){var Je=he[Ge]=E(re);return ee(Je,{type:&quot;Symbol&quot;,tag:Ge,description:$e}),c||(Je.description=$e),Je},Pe=function(Ge,$e,Je){Ge===P&amp;&amp;Pe(ge,$e,Je),y(Ge);var tt=b($e);return y(Je),d(he,tt)?(Je.enumerable?(d(Ge,U)&amp;&amp;Ge[U][tt]&amp;&amp;(Ge[U][tt]=!1),Je=E(Je,{enumerable:_(0,!1)})):(d(Ge,U)||fe(Ge,U,_(1,{})),Ge[U][tt]=!0),Se(Ge,tt,Je)):fe(Ge,tt,Je)},Ie=function(Ge,$e){y(Ge);var Je=p($e),tt=M(Je).concat(it(Je));return ne(tt,(function(Ye){c&amp;&amp;!u(Ve,Je,Ye)||Pe(Ge,Ye,Je[Ye])})),Ge},Ve=function(Ge){var $e=b(Ge),Je=u(ue,this,$e);return!(this===P&amp;&amp;d(he,$e)&amp;&amp;!d(ge,$e))&amp;&amp;(!(Je||!d(this,$e)||!d(he,$e)||d(this,U)&amp;&amp;this[U][$e])||Je)},Qe=function(Ge,$e){var Je=p(Ge),tt=b($e);if(Je!==P||!d(he,tt)||d(ge,tt)){var Ye=ce(Je,tt);return!Ye||!d(he,tt)||d(Je,U)&amp;&amp;Je[U][tt]||(Ye.enumerable=!0),Ye}},Ke=function(Ge){var $e=se(p(Ge)),Je=[];return ne($e,(function(tt){d(he,tt)||d(k,tt)||ie(Je,tt)})),Je},it=function(Ge){var $e=Ge===P,Je=se($e?ge:p(Ge)),tt=[];return ne(Je,(function(Ye){!d(he,Ye)||$e&amp;&amp;!d(P,Ye)||ie(tt,he[Ye])})),tt};m||(O(re=(X=function(){if(g(re,this))throw new te(&quot;Symbol is not a constructor&quot;);var Ge=arguments.length&amp;&amp;arguments[0]!==void 0?x(arguments[0]):void 0,$e=S(Ge),Je=function(tt){this===P&amp;&amp;u(Je,ge,tt),d(this,U)&amp;&amp;d(this[U],$e)&amp;&amp;(this[U][$e]=!1);var Ye=_(1,tt);try{Se(this,$e,Ye)}catch(Tt){if(!(Tt instanceof Z))throw Tt;_e(this,$e,Ye)}};return c&amp;&amp;le&amp;&amp;Se(P,$e,{configurable:!0,set:Je}),Oe($e,Ge)}).prototype,&quot;toString&quot;,(function(){return F(this).tag})),O(X,&quot;withoutSetter&quot;,(function(Ge){return Oe(S(Ge),Ge)})),z.f=Ve,H.f=Pe,K.f=Ie,V.f=Qe,D.f=W.f=Ke,L.f=it,T.f=function(Ge){return Oe(N(Ge),Ge)},c&amp;&amp;(I(re,&quot;description&quot;,{configurable:!0,get:function(){return F(this).description}}),s||O(P,&quot;propertyIsEnumerable&quot;,Ve,{unsafe:!0}))),i({global:!0,constructor:!0,wrap:!0,forced:!m,sham:!m},{Symbol:X}),ne(M(pe),(function(Ge){R(Ge)})),i({target:&quot;Symbol&quot;,stat:!0,forced:!m},{useSetter:function(){le=!0},useSimple:function(){le=!1}}),i({target:&quot;Object&quot;,stat:!0,forced:!m,sham:!c},{create:function(Ge,$e){return $e===void 0?E(Ge):Ie(E(Ge),$e)},defineProperty:Pe,defineProperties:Ie,getOwnPropertyDescriptor:Qe}),i({target:&quot;Object&quot;,stat:!0,forced:!m},{getOwnPropertyNames:Ke}),B(),Y(X,&quot;Symbol&quot;),k[U]=!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,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/get-built-in&quot;),u=t(&quot;../internals/has-own-property&quot;),l=t(&quot;../internals/to-string&quot;),s=t(&quot;../internals/shared&quot;),c=t(&quot;../internals/symbol-registry-detection&quot;),m=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(d){var g=l(d);if(u(m,g))return m[g];var y=a(&quot;Symbol&quot;)(g);return m[g]=y,h[y]=g,y}})},{&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,o){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,o){var i=t(&quot;../internals/export&quot;),a=t(&quot;../internals/has-own-property&quot;),u=t(&quot;../internals/is-symbol&quot;),l=t(&quot;../internals/try-to-string&quot;),s=t(&quot;../internals/shared&quot;),c=t(&quot;../internals/symbol-registry-detection&quot;),m=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(l(h)+&quot; is not a symbol&quot;);if(a(m,h))return m[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,o){function i(a){return Object.prototype.toString.call(a)}o.isArray=function(a){return Array.isArray?Array.isArray(a):i(a)===&quot;[object Array]&quot;},o.isBoolean=function(a){return typeof a==&quot;boolean&quot;},o.isNull=function(a){return a===null},o.isNullOrUndefined=function(a){return a==null},o.isNumber=function(a){return typeof a==&quot;number&quot;},o.isString=function(a){return typeof a==&quot;string&quot;},o.isSymbol=function(a){return typeof a==&quot;symbol&quot;},o.isUndefined=function(a){return a===void 0},o.isRegExp=function(a){return i(a)===&quot;[object RegExp]&quot;},o.isObject=function(a){return typeof a==&quot;object&quot;&amp;&amp;a!==null},o.isDate=function(a){return i(a)===&quot;[object Date]&quot;},o.isError=function(a){return i(a)===&quot;[object Error]&quot;||a instanceof Error},o.isFunction=function(a){return typeof a==&quot;function&quot;},o.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},o.isBuffer=t(&quot;buffer&quot;).Buffer.isBuffer},{buffer:220}],384:[function(t,n,o){(function(i){(function(){var a=t(&quot;elliptic&quot;),u=t(&quot;bn.js&quot;);n.exports=function(m){return new s(m)};var l={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(m){this.curveType=l[m],this.curveType||(this.curveType={name:m}),this.curve=new a.ec(this.curveType.name),this.keys=void 0}function c(m,h,d){Array.isArray(m)||(m=m.toArray());var g=new i(m);if(d&amp;&amp;g.length&lt;d){var y=new i(d-g.length);y.fill(0),g=i.concat([y,g])}return h?g.toString(h):g}l.p224=l.secp224r1,l.p256=l.secp256r1=l.prime256v1,l.p192=l.secp192r1=l.prime192v1,l.p384=l.secp384r1,l.p521=l.secp521r1,s.prototype.generateKeys=function(m,h){return this.keys=this.curve.genKeyPair(),this.getPublicKey(m,h)},s.prototype.computeSecret=function(m,h,d){return h=h||&quot;utf8&quot;,i.isBuffer(m)||(m=new i(m,h)),c(this.curve.keyFromPublic(m).getPublic().mul(this.keys.getPrivate()).getX(),d,this.curveType.byteLength)},s.prototype.getPublicKey=function(m,h){var d=this.keys.getPublic(h===&quot;compressed&quot;,!0);return h===&quot;hybrid&quot;&amp;&amp;(d[d.length-1]%2?d[0]=7:d[0]=6),c(d,m)},s.prototype.getPrivateKey=function(m){return c(this.keys.getPrivate(),m)},s.prototype.setPublicKey=function(m,h){return h=h||&quot;utf8&quot;,i.isBuffer(m)||(m=new i(m,h)),this.keys._importPublic(m),this},s.prototype.setPrivateKey=function(m,h){h=h||&quot;utf8&quot;,i.isBuffer(m)||(m=new i(m,h));var d=new u(m);return d=d.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(d),this}}).call(this)}).call(this,t(&quot;buffer&quot;).Buffer)},{&quot;bn.js&quot;:385,buffer:220,elliptic:405}],385:[function(t,n,o){arguments[4][184][0].apply(o,arguments)},{buffer:188,dup:184}],386:[function(t,n,o){var i=t(&quot;inherits&quot;),a=t(&quot;md5.js&quot;),u=t(&quot;ripemd160&quot;),l=t(&quot;sha.js&quot;),s=t(&quot;cipher-base&quot;);function c(m){s.call(this,&quot;digest&quot;),this._hash=m}i(c,s),c.prototype._update=function(m){this._hash.update(m)},c.prototype._final=function(){return this._hash.digest()},n.exports=function(m){return(m=m.toLowerCase())===&quot;md5&quot;?new a:m===&quot;rmd160&quot;||m===&quot;ripemd160&quot;?new u:new c(l(m))}},{&quot;cipher-base&quot;:221,inherits:440,&quot;md5.js&quot;:450,ripemd160:493,&quot;sha.js&quot;:498}],387:[function(t,n,o){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,o){var i=t(&quot;inherits&quot;),a=t(&quot;./legacy&quot;),u=t(&quot;cipher-base&quot;),l=t(&quot;safe-buffer&quot;).Buffer,s=t(&quot;create-hash/md5&quot;),c=t(&quot;ripemd160&quot;),m=t(&quot;sha.js&quot;),h=l.alloc(128);function d(g,y){u.call(this,&quot;digest&quot;),typeof y==&quot;string&quot;&amp;&amp;(y=l.from(y));var p=g===&quot;sha512&quot;||g===&quot;sha384&quot;?128:64;this._alg=g,this._key=y,y.length&gt;p?y=(g===&quot;rmd160&quot;?new c:m(g)).update(y).digest():y.length&lt;p&amp;&amp;(y=l.concat([y,h],p));for(var b=this._ipad=l.allocUnsafe(p),x=this._opad=l.allocUnsafe(p),_=0;_&lt;p;_++)b[_]=54^y[_],x[_]=92^y[_];this._hash=g===&quot;rmd160&quot;?new c:m(g),this._hash.update(b)}i(d,u),d.prototype._update=function(g){this._hash.update(g)},d.prototype._final=function(){var g=this._hash.digest();return(this._alg===&quot;rmd160&quot;?new c:m(this._alg)).update(this._opad).update(g).digest()},n.exports=function(g,y){return(g=g.toLowerCase())===&quot;rmd160&quot;||g===&quot;ripemd160&quot;?new d(&quot;rmd160&quot;,y):g===&quot;md5&quot;?new a(s,y):new d(g,y)}},{&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,o){var i=t(&quot;inherits&quot;),a=t(&quot;safe-buffer&quot;).Buffer,u=t(&quot;cipher-base&quot;),l=a.alloc(128);function s(c,m){u.call(this,&quot;digest&quot;),typeof m==&quot;string&quot;&amp;&amp;(m=a.from(m)),this._alg=c,this._key=m,m.length&gt;64?m=c(m):m.length&lt;64&amp;&amp;(m=a.concat([m,l],64));for(var h=this._ipad=a.allocUnsafe(64),d=this._opad=a.allocUnsafe(64),g=0;g&lt;64;g++)h[g]=54^m[g],d[g]=92^m[g];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,o){o.randomBytes=o.rng=o.pseudoRandomBytes=o.prng=t(&quot;randombytes&quot;),o.createHash=o.Hash=t(&quot;create-hash&quot;),o.createHmac=o.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);o.getHashes=function(){return u};var l=t(&quot;pbkdf2&quot;);o.pbkdf2=l.pbkdf2,o.pbkdf2Sync=l.pbkdf2Sync;var s=t(&quot;browserify-cipher&quot;);o.Cipher=s.Cipher,o.createCipher=s.createCipher,o.Cipheriv=s.Cipheriv,o.createCipheriv=s.createCipheriv,o.Decipher=s.Decipher,o.createDecipher=s.createDecipher,o.Decipheriv=s.Decipheriv,o.createDecipheriv=s.createDecipheriv,o.getCiphers=s.getCiphers,o.listCiphers=s.listCiphers;var c=t(&quot;diffie-hellman&quot;);o.DiffieHellmanGroup=c.DiffieHellmanGroup,o.createDiffieHellmanGroup=c.createDiffieHellmanGroup,o.getDiffieHellman=c.getDiffieHellman,o.createDiffieHellman=c.createDiffieHellman,o.DiffieHellman=c.DiffieHellman;var m=t(&quot;browserify-sign&quot;);o.createSign=m.createSign,o.Sign=m.Sign,o.createVerify=m.createVerify,o.Verify=m.Verify,o.createECDH=t(&quot;create-ecdh&quot;);var h=t(&quot;public-encrypt&quot;);o.publicEncrypt=h.publicEncrypt,o.privateEncrypt=h.privateEncrypt,o.publicDecrypt=h.publicDecrypt,o.privateDecrypt=h.privateDecrypt;var d=t(&quot;randomfill&quot;);o.randomFill=d.randomFill,o.randomFillSync=d.randomFillSync,o.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(`
`))},o.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,o){(function(i,a){typeof o==&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;,l=&quot;second&quot;,s=&quot;minute&quot;,c=&quot;hour&quot;,m=&quot;day&quot;,h=&quot;week&quot;,d=&quot;month&quot;,g=&quot;quarter&quot;,y=&quot;year&quot;,p=&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,E={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;}},M=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},D={s:M,z:function(j){var k=-j.utcOffset(),S=Math.abs(k),N=Math.floor(S/60),T=S%60;return(k&lt;=0?&quot;+&quot;:&quot;-&quot;)+M(N,2,&quot;0&quot;)+&quot;:&quot;+M(T,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()),T=k.clone().add(N,d),R=S-T&lt;0,B=k.clone().add(N+(R?-1:1),d);return+(-(N+(S-T)/(R?T-B:B-T))||0)},a:function(j){return j&lt;0?Math.ceil(j)||0:Math.floor(j)},p:function(j){return{M:d,y,w:h,d:m,D:p,h:c,m:s,s:l,ms:u,Q:g}[j]||String(j||&quot;&quot;).toLowerCase().replace(/s$/,&quot;&quot;)},u:function(j){return j===void 0}},W=&quot;en&quot;,L={};L[W]=E;var V=&quot;$isDayjsObject&quot;,H=function(j){return j instanceof I||!(!j||!j[V])},K=function j(k,S,N){var T;if(!k)return W;if(typeof k==&quot;string&quot;){var R=k.toLowerCase();L[R]&amp;&amp;(T=R),S&amp;&amp;(L[R]=S,T=R);var B=k.split(&quot;-&quot;);if(!T&amp;&amp;B.length&gt;1)return j(B[0])}else{var Y=k.name;L[Y]=k,T=Y}return!N&amp;&amp;T&amp;&amp;(W=T),T||!N&amp;&amp;W},z=function(j,k){if(H(j))return j.clone();var S=typeof k==&quot;object&quot;?k:{};return S.date=j,S.args=arguments,new I(S)},O=D;O.l=K,O.i=H,O.w=function(j,k){return z(j,{locale:k.$L,utc:k.$u,x:k.$x,$offset:k.$offset})};var I=(function(){function j(S){this.$L=K(S.locale,null,!0),this.parse(S),this.$x=this.$x||S.x||{},this[V]=!0}var k=j.prototype;return k.parse=function(S){this.$d=(function(N){var T=N.date,R=N.utc;if(T===null)return new Date(NaN);if(O.u(T))return new Date;if(T instanceof Date)return new Date(T);if(typeof T==&quot;string&quot;&amp;&amp;!/Z$/i.test(T)){var B=T.match(x);if(B){var Y=B[2]-1||0,Q=(B[7]||&quot;0&quot;).substring(0,3);return R?new Date(Date.UTC(B[1],Y,B[3]||1,B[4]||0,B[5]||0,B[6]||0,Q)):new Date(B[1],Y,B[3]||1,B[4]||0,B[5]||0,B[6]||0,Q)}}return new Date(T)})(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 O},k.isValid=function(){return this.$d.toString()!==b},k.isSame=function(S,N){var T=z(S);return this.startOf(N)&lt;=T&amp;&amp;T&lt;=this.endOf(N)},k.isAfter=function(S,N){return z(S)&lt;this.startOf(N)},k.isBefore=function(S,N){return this.endOf(N)&lt;z(S)},k.$g=function(S,N,T){return O.u(S)?this[N]:this.set(T,S)},k.unix=function(){return Math.floor(this.valueOf()/1e3)},k.valueOf=function(){return this.$d.getTime()},k.startOf=function(S,N){var T=this,R=!!O.u(N)||N,B=O.p(S),Y=function(re,Z){var te=O.w(T.$u?Date.UTC(T.$y,Z,re):new Date(T.$y,Z,re),T);return R?te:te.endOf(m)},Q=function(re,Z){return O.w(T.toDate()[re].apply(T.toDate(&quot;s&quot;),(R?[0,0,0,0]:[23,59,59,999]).slice(Z)),T)},ne=this.$W,U=this.$M,ee=this.$D,F=&quot;set&quot;+(this.$u?&quot;UTC&quot;:&quot;&quot;);switch(B){case y:return R?Y(1,0):Y(31,11);case d:return R?Y(1,U):Y(0,U+1);case h:var P=this.$locale().weekStart||0,X=(ne&lt;P?ne+7:ne)-P;return Y(R?ee-X:ee+(6-X),U);case m:case p:return Q(F+&quot;Hours&quot;,0);case c:return Q(F+&quot;Minutes&quot;,1);case s:return Q(F+&quot;Seconds&quot;,2);case l:return Q(F+&quot;Milliseconds&quot;,3);default:return this.clone()}},k.endOf=function(S){return this.startOf(S,!1)},k.$set=function(S,N){var T,R=O.p(S),B=&quot;set&quot;+(this.$u?&quot;UTC&quot;:&quot;&quot;),Y=(T={},T[m]=B+&quot;Date&quot;,T[p]=B+&quot;Date&quot;,T[d]=B+&quot;Month&quot;,T[y]=B+&quot;FullYear&quot;,T[c]=B+&quot;Hours&quot;,T[s]=B+&quot;Minutes&quot;,T[l]=B+&quot;Seconds&quot;,T[u]=B+&quot;Milliseconds&quot;,T)[R],Q=R===m?this.$D+(N-this.$W):N;if(R===d||R===y){var ne=this.clone().set(p,1);ne.$d[Y](Q),ne.init(),this.$d=ne.set(p,Math.min(this.$D,ne.daysInMonth())).$d}else Y&amp;&amp;this.$d[Y](Q);return this.init(),this},k.set=function(S,N){return this.clone().$set(S,N)},k.get=function(S){return this[O.p(S)]()},k.add=function(S,N){var T,R=this;S=Number(S);var B=O.p(N),Y=function(U){var ee=z(R);return O.w(ee.date(ee.date()+Math.round(U*S)),R)};if(B===d)return this.set(d,this.$M+S);if(B===y)return this.set(y,this.$y+S);if(B===m)return Y(1);if(B===h)return Y(7);var Q=(T={},T[s]=i,T[c]=a,T[l]=1e3,T)[B]||1,ne=this.$d.getTime()+S*Q;return O.w(ne,this)},k.subtract=function(S,N){return this.add(-1*S,N)},k.format=function(S){var N=this,T=this.$locale();if(!this.isValid())return T.invalidDate||b;var R=S||&quot;YYYY-MM-DDTHH:mm:ssZ&quot;,B=O.z(this),Y=this.$H,Q=this.$m,ne=this.$M,U=T.weekdays,ee=T.months,F=T.meridiem,P=function(Z,te,ae,ce){return Z&amp;&amp;(Z[te]||Z(N,R))||ae[te].slice(0,ce)},X=function(Z){return O.s(Y%12||12,Z,&quot;0&quot;)},re=F||function(Z,te,ae){var ce=Z&lt;12?&quot;AM&quot;:&quot;PM&quot;;return ae?ce.toLowerCase():ce};return R.replace(_,(function(Z,te){return te||(function(ae){switch(ae){case&quot;YY&quot;:return String(N.$y).slice(-2);case&quot;YYYY&quot;:return O.s(N.$y,4,&quot;0&quot;);case&quot;M&quot;:return ne+1;case&quot;MM&quot;:return O.s(ne+1,2,&quot;0&quot;);case&quot;MMM&quot;:return P(T.monthsShort,ne,ee,3);case&quot;MMMM&quot;:return P(ee,ne);case&quot;D&quot;:return N.$D;case&quot;DD&quot;:return O.s(N.$D,2,&quot;0&quot;);case&quot;d&quot;:return String(N.$W);case&quot;dd&quot;:return P(T.weekdaysMin,N.$W,U,2);case&quot;ddd&quot;:return P(T.weekdaysShort,N.$W,U,3);case&quot;dddd&quot;:return U[N.$W];case&quot;H&quot;:return String(Y);case&quot;HH&quot;:return O.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,Q,!0);case&quot;A&quot;:return re(Y,Q,!1);case&quot;m&quot;:return String(Q);case&quot;mm&quot;:return O.s(Q,2,&quot;0&quot;);case&quot;s&quot;:return String(N.$s);case&quot;ss&quot;:return O.s(N.$s,2,&quot;0&quot;);case&quot;SSS&quot;:return O.s(N.$ms,3,&quot;0&quot;);case&quot;Z&quot;:return B}return null})(Z)||B.replace(&quot;:&quot;,&quot;&quot;)}))},k.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},k.diff=function(S,N,T){var R,B=this,Y=O.p(N),Q=z(S),ne=(Q.utcOffset()-this.utcOffset())*i,U=this-Q,ee=function(){return O.m(B,Q)};switch(Y){case y:R=ee()/12;break;case d:R=ee();break;case g:R=ee()/3;break;case h:R=(U-ne)/6048e5;break;case m:R=(U-ne)/864e5;break;case c:R=U/a;break;case s:R=U/i;break;case l:R=U/1e3;break;default:R=U}return T?R:O.a(R)},k.daysInMonth=function(){return this.endOf(d).$D},k.$locale=function(){return L[this.$L]},k.locale=function(S,N){if(!S)return this.$L;var T=this.clone(),R=K(S,N,!0);return R&amp;&amp;(T.$L=R),T},k.clone=function(){return O.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})(),C=I.prototype;return z.prototype=C,[[&quot;$ms&quot;,u],[&quot;$s&quot;,l],[&quot;$m&quot;,s],[&quot;$H&quot;,c],[&quot;$W&quot;,m],[&quot;$M&quot;,d],[&quot;$y&quot;,y],[&quot;$D&quot;,p]].forEach((function(j){C[j[1]]=function(k){return this.$g(k,j[0],j[1])}})),z.extend=function(j,k){return j.$i||(j(k,I,z),j.$i=!0),z},z.locale=K,z.isDayjs=H,z.unix=function(j){return z(1e3*j)},z.en=L[W],z.Ls=L,z.p={},z}))},{}],392:[function(t,n,o){(function(i,a){typeof o==&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/,l=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,c={},m=function(x){return(x=+x)+(x&gt;68?1900:2e3)},h=function(x){return function(_){this[x]=+_}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(x){(this.zone||(this.zone={})).offset=(function(_){if(!_||_===&quot;Z&quot;)return 0;var E=_.match(/([+-]|\d\d)/g),M=60*E[1]+(+E[2]||0);return M===0?0:E[0]===&quot;+&quot;?-M:M})(x)}],g=function(x){var _=c[x];return _&amp;&amp;(_.indexOf?_:_.s.concat(_.f))},y=function(x,_){var E,M=c.meridiem;if(M){for(var D=1;D&lt;=24;D+=1)if(x.indexOf(M(D,0,_))&gt;-1){E=D&gt;12;break}}else E=x===(_?&quot;pm&quot;:&quot;PM&quot;);return E},p={A:[s,function(x){this.afternoon=y(x,!1)}],a:[s,function(x){this.afternoon=y(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:[l,h(&quot;seconds&quot;)],ss:[l,h(&quot;seconds&quot;)],m:[l,h(&quot;minutes&quot;)],mm:[l,h(&quot;minutes&quot;)],H:[l,h(&quot;hours&quot;)],h:[l,h(&quot;hours&quot;)],HH:[l,h(&quot;hours&quot;)],hh:[l,h(&quot;hours&quot;)],D:[l,h(&quot;day&quot;)],DD:[u,h(&quot;day&quot;)],Do:[s,function(x){var _=c.ordinal,E=x.match(/\d+/);if(this.day=E[0],_)for(var M=1;M&lt;=31;M+=1)_(M).replace(/\[|\]/g,&quot;&quot;)===x&amp;&amp;(this.day=M)}],M:[l,h(&quot;month&quot;)],MM:[u,h(&quot;month&quot;)],MMM:[s,function(x){var _=g(&quot;months&quot;),E=(g(&quot;monthsShort&quot;)||_.map((function(M){return M.slice(0,3)}))).indexOf(x)+1;if(E&lt;1)throw new Error;this.month=E%12||E}],MMMM:[s,function(x){var _=g(&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=m(x)}],YYYY:[/\d{4}/,h(&quot;year&quot;)],Z:d,ZZ:d};function b(x){var _,E;_=x,E=c&amp;&amp;c.formats;for(var M=(x=_.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(z,O,I){var C=I&amp;&amp;I.toUpperCase();return O||E[I]||i[I]||E[C].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(j,k,S){return k||S.slice(1)}))}))).match(a),D=M.length,W=0;W&lt;D;W+=1){var L=M[W],V=p[L],H=V&amp;&amp;V[0],K=V&amp;&amp;V[1];M[W]=K?{regex:H,parser:K}:L.replace(/^\[|\]$/g,&quot;&quot;)}return function(z){for(var O={},I=0,C=0;I&lt;D;I+=1){var j=M[I];if(typeof j==&quot;string&quot;)C+=j.length;else{var k=j.regex,S=j.parser,N=z.slice(C),T=k.exec(N)[0];S.call(O,T),z=z.replace(T,&quot;&quot;)}}return(function(R){var B=R.afternoon;if(B!==void 0){var Y=R.hours;B?Y&lt;12&amp;&amp;(R.hours+=12):Y===12&amp;&amp;(R.hours=0),delete R.afternoon}})(O),O}}return function(x,_,E){E.p.customParseFormat=!0,x&amp;&amp;x.parseTwoDigitYear&amp;&amp;(m=x.parseTwoDigitYear);var M=_.prototype,D=M.parse;M.parse=function(W){var L=W.date,V=W.utc,H=W.args;this.$u=V;var K=H[1];if(typeof K==&quot;string&quot;){var z=H[2]===!0,O=H[3]===!0,I=z||O,C=H[2];O&amp;&amp;(C=H[2]),c=this.$locale(),!z&amp;&amp;C&amp;&amp;(c=E.Ls[C]),this.$d=(function(N,T,R){try{if([&quot;x&quot;,&quot;X&quot;].indexOf(T)&gt;-1)return new Date((T===&quot;X&quot;?1e3:1)*N);var B=b(T)(N),Y=B.year,Q=B.month,ne=B.day,U=B.hours,ee=B.minutes,F=B.seconds,P=B.milliseconds,X=B.zone,re=new Date,Z=ne||(Y||Q?1:re.getDate()),te=Y||re.getFullYear(),ae=0;Y&amp;&amp;!Q||(ae=Q&gt;0?Q-1:re.getMonth());var ce=U||0,fe=ee||0,se=F||0,ue=P||0;return X?new Date(Date.UTC(te,ae,Z,ce,fe,se,ue+60*X.offset*1e3)):R?new Date(Date.UTC(te,ae,Z,ce,fe,se,ue)):new Date(te,ae,Z,ce,fe,se,ue)}catch{return new Date(&quot;&quot;)}})(L,K,V),this.init(),C&amp;&amp;C!==!0&amp;&amp;(this.$L=this.locale(C).$L),I&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){H[1]=K[k-1];var S=E.apply(this,H);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 D.call(this,W)}}}))},{}],393:[function(t,n,o){(function(i,a){typeof o==&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(l,s,c){var m=s.prototype;c.utc=function(x){var _={date:x,utc:!0,args:arguments};return new s(_)},m.utc=function(x){var _=c(this.toDate(),{locale:this.$L,utc:!0});return x?_.add(this.utcOffset(),i):_},m.local=function(){return c(this.toDate(),{locale:this.$L,utc:!1})};var h=m.parse;m.parse=function(x){x.utc&amp;&amp;(this.$u=!0),this.$utils().u(x.$offset)||(this.$offset=x.$offset),h.call(this,x)};var d=m.init;m.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 d.call(this)};var g=m.utcOffset;m.utcOffset=function(x,_){var E=this.$utils().u;if(E(x))return this.$u?0:E(this.$offset)?g.call(this):this.$offset;if(typeof x==&quot;string&quot;&amp;&amp;(x=(function(L){L===void 0&amp;&amp;(L=&quot;&quot;);var V=L.match(a);if(!V)return null;var H=(&quot;&quot;+V[0]).match(u)||[&quot;-&quot;,0,0],K=H[0],z=60*+H[1]+ +H[2];return z===0?0:K===&quot;+&quot;?z:-z})(x))===null)return this;var M=Math.abs(x)&lt;=16?60*x:x,D=this;if(_)return D.$offset=M,D.$u=x===0,D;if(x!==0){var W=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(D=this.local().add(M+W,i)).$offset=M,D.$x.$localOffset=W}else D=this.utc();return D};var y=m.format;m.format=function(x){var _=x||(this.$u?&quot;YYYY-MM-DDTHH:mm:ss[Z]&quot;:&quot;&quot;);return y.call(this,_)},m.valueOf=function(){var x=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*x},m.isUTC=function(){return!!this.$u},m.toISOString=function(){return this.toDate().toISOString()},m.toString=function(){return this.toDate().toUTCString()};var p=m.toDate;m.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():p.call(this)};var b=m.diff;m.diff=function(x,_,E){if(x&amp;&amp;this.$u===x.$u)return b.call(this,x,_,E);var M=this.local(),D=c(x).local();return b.call(M,D,_,E)}}}))},{}],394:[function(t,n,o){o.utils=t(&quot;./des/utils&quot;),o.Cipher=t(&quot;./des/cipher&quot;),o.DES=t(&quot;./des/des&quot;),o.CBC=t(&quot;./des/cbc&quot;),o.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,o){var i=t(&quot;minimalistic-assert&quot;),a=t(&quot;inherits&quot;),u={};function l(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]}o.instantiate=function(s){function c(g){s.call(this,g),this._cbcInit()}a(c,s);for(var m=Object.keys(u),h=0;h&lt;m.length;h++){var d=m[h];c.prototype[d]=u[d]}return c.create=function(g){return new c(g)},c},u._cbcInit=function(){var s=new l(this.options.iv);this._cbcState=s},u._update=function(s,c,m,h){var d=this._cbcState,g=this.constructor.super_.prototype,y=d.iv;if(this.type===&quot;encrypt&quot;){for(var p=0;p&lt;this.blockSize;p++)y[p]^=s[c+p];for(g._update.call(this,y,0,m,h),p=0;p&lt;this.blockSize;p++)y[p]=m[h+p]}else{for(g._update.call(this,s,c,m,h),p=0;p&lt;this.blockSize;p++)m[h+p]^=y[p];for(p=0;p&lt;this.blockSize;p++)y[p]=s[c+p]}}},{inherits:440,&quot;minimalistic-assert&quot;:453}],396:[function(t,n,o){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,l){for(var s=Math.min(this.buffer.length-this.bufferOff,u.length-l),c=0;c&lt;s;c++)this.buffer[this.bufferOff+c]=u[l+c];return this.bufferOff+=s,s},a.prototype._flushBuffer=function(u,l){return this._update(this.buffer,0,u,l),this.bufferOff=0,this.blockSize},a.prototype._updateEncrypt=function(u){var l=0,s=0,c=(this.bufferOff+u.length)/this.blockSize|0,m=new Array(c*this.blockSize);this.bufferOff!==0&amp;&amp;(l+=this._buffer(u,l),this.bufferOff===this.buffer.length&amp;&amp;(s+=this._flushBuffer(m,s)));for(var h=u.length-(u.length-l)%this.blockSize;l&lt;h;l+=this.blockSize)this._update(u,l,m,s),s+=this.blockSize;for(;l&lt;u.length;l++,this.bufferOff++)this.buffer[this.bufferOff]=u[l];return m},a.prototype._updateDecrypt=function(u){for(var l=0,s=0,c=Math.ceil((this.bufferOff+u.length)/this.blockSize)-1,m=new Array(c*this.blockSize);c&gt;0;c--)l+=this._buffer(u,l),s+=this._flushBuffer(m,s);return l+=this._buffer(u,l),m},a.prototype.final=function(u){var l,s;return u&amp;&amp;(l=this.update(u)),s=this.type===&quot;encrypt&quot;?this._finalEncrypt():this._finalDecrypt(),l?l.concat(s):s},a.prototype._pad=function(u,l){if(l===0)return!1;for(;l&lt;u.length;)u[l++]=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,o){var i=t(&quot;minimalistic-assert&quot;),a=t(&quot;inherits&quot;),u=t(&quot;./utils&quot;),l=t(&quot;./cipher&quot;);function s(){this.tmp=new Array(2),this.keys=null}function c(h){l.call(this,h);var d=new s;this._desState=d,this.deriveKeys(d,h.key)}a(c,l),n.exports=c,c.create=function(h){return new c(h)};var m=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];c.prototype.deriveKeys=function(h,d){h.keys=new Array(32),i.equal(d.length,this.blockSize,&quot;Invalid key length&quot;);var g=u.readUInt32BE(d,0),y=u.readUInt32BE(d,4);u.pc1(g,y,h.tmp,0),g=h.tmp[0],y=h.tmp[1];for(var p=0;p&lt;h.keys.length;p+=2){var b=m[p&gt;&gt;&gt;1];g=u.r28shl(g,b),y=u.r28shl(y,b),u.pc2(g,y,h.keys,p)}},c.prototype._update=function(h,d,g,y){var p=this._desState,b=u.readUInt32BE(h,d),x=u.readUInt32BE(h,d+4);u.ip(b,x,p.tmp,0),b=p.tmp[0],x=p.tmp[1],this.type===&quot;encrypt&quot;?this._encrypt(p,b,x,p.tmp,0):this._decrypt(p,b,x,p.tmp,0),b=p.tmp[0],x=p.tmp[1],u.writeUInt32BE(g,b,y),u.writeUInt32BE(g,x,y+4)},c.prototype._pad=function(h,d){if(this.padding===!1)return!1;for(var g=h.length-d,y=d;y&lt;h.length;y++)h[y]=g;return!0},c.prototype._unpad=function(h){if(this.padding===!1)return h;for(var d=h[h.length-1],g=h.length-d;g&lt;h.length;g++)i.equal(h[g],d);return h.slice(0,h.length-d)},c.prototype._encrypt=function(h,d,g,y,p){for(var b=d,x=g,_=0;_&lt;h.keys.length;_+=2){var E=h.keys[_],M=h.keys[_+1];u.expand(x,h.tmp,0),E^=h.tmp[0],M^=h.tmp[1];var D=u.substitute(E,M),W=x;x=(b^u.permute(D))&gt;&gt;&gt;0,b=W}u.rip(x,b,y,p)},c.prototype._decrypt=function(h,d,g,y,p){for(var b=g,x=d,_=h.keys.length-2;_&gt;=0;_-=2){var E=h.keys[_],M=h.keys[_+1];u.expand(b,h.tmp,0),E^=h.tmp[0],M^=h.tmp[1];var D=u.substitute(E,M),W=b;b=(x^u.permute(D))&gt;&gt;&gt;0,x=W}u.rip(b,x,y,p)}},{&quot;./cipher&quot;:396,&quot;./utils&quot;:399,inherits:440,&quot;minimalistic-assert&quot;:453}],398:[function(t,n,o){var i=t(&quot;minimalistic-assert&quot;),a=t(&quot;inherits&quot;),u=t(&quot;./cipher&quot;),l=t(&quot;./des&quot;);function s(m,h){i.equal(h.length,24,&quot;Invalid key length&quot;);var d=h.slice(0,8),g=h.slice(8,16),y=h.slice(16,24);this.ciphers=m===&quot;encrypt&quot;?[l.create({type:&quot;encrypt&quot;,key:d}),l.create({type:&quot;decrypt&quot;,key:g}),l.create({type:&quot;encrypt&quot;,key:y})]:[l.create({type:&quot;decrypt&quot;,key:y}),l.create({type:&quot;encrypt&quot;,key:g}),l.create({type:&quot;decrypt&quot;,key:d})]}function c(m){u.call(this,m);var h=new s(this.type,this.options.key);this._edeState=h}a(c,u),n.exports=c,c.create=function(m){return new c(m)},c.prototype._update=function(m,h,d,g){var y=this._edeState;y.ciphers[0]._update(m,h,d,g),y.ciphers[1]._update(d,g,d,g),y.ciphers[2]._update(d,g,d,g)},c.prototype._pad=l.prototype._pad,c.prototype._unpad=l.prototype._unpad},{&quot;./cipher&quot;:396,&quot;./des&quot;:397,inherits:440,&quot;minimalistic-assert&quot;:453}],399:[function(t,n,o){o.readUInt32BE=function(l,s){return(l[0+s]&lt;&lt;24|l[1+s]&lt;&lt;16|l[2+s]&lt;&lt;8|l[3+s])&gt;&gt;&gt;0},o.writeUInt32BE=function(l,s,c){l[0+c]=s&gt;&gt;&gt;24,l[1+c]=s&gt;&gt;&gt;16&amp;255,l[2+c]=s&gt;&gt;&gt;8&amp;255,l[3+c]=255&amp;s},o.ip=function(l,s,c,m){for(var h=0,d=0,g=6;g&gt;=0;g-=2){for(var y=0;y&lt;=24;y+=8)h&lt;&lt;=1,h|=s&gt;&gt;&gt;y+g&amp;1;for(y=0;y&lt;=24;y+=8)h&lt;&lt;=1,h|=l&gt;&gt;&gt;y+g&amp;1}for(g=6;g&gt;=0;g-=2){for(y=1;y&lt;=25;y+=8)d&lt;&lt;=1,d|=s&gt;&gt;&gt;y+g&amp;1;for(y=1;y&lt;=25;y+=8)d&lt;&lt;=1,d|=l&gt;&gt;&gt;y+g&amp;1}c[m+0]=h&gt;&gt;&gt;0,c[m+1]=d&gt;&gt;&gt;0},o.rip=function(l,s,c,m){for(var h=0,d=0,g=0;g&lt;4;g++)for(var y=24;y&gt;=0;y-=8)h&lt;&lt;=1,h|=s&gt;&gt;&gt;y+g&amp;1,h&lt;&lt;=1,h|=l&gt;&gt;&gt;y+g&amp;1;for(g=4;g&lt;8;g++)for(y=24;y&gt;=0;y-=8)d&lt;&lt;=1,d|=s&gt;&gt;&gt;y+g&amp;1,d&lt;&lt;=1,d|=l&gt;&gt;&gt;y+g&amp;1;c[m+0]=h&gt;&gt;&gt;0,c[m+1]=d&gt;&gt;&gt;0},o.pc1=function(l,s,c,m){for(var h=0,d=0,g=7;g&gt;=5;g--){for(var y=0;y&lt;=24;y+=8)h&lt;&lt;=1,h|=s&gt;&gt;y+g&amp;1;for(y=0;y&lt;=24;y+=8)h&lt;&lt;=1,h|=l&gt;&gt;y+g&amp;1}for(y=0;y&lt;=24;y+=8)h&lt;&lt;=1,h|=s&gt;&gt;y+g&amp;1;for(g=1;g&lt;=3;g++){for(y=0;y&lt;=24;y+=8)d&lt;&lt;=1,d|=s&gt;&gt;y+g&amp;1;for(y=0;y&lt;=24;y+=8)d&lt;&lt;=1,d|=l&gt;&gt;y+g&amp;1}for(y=0;y&lt;=24;y+=8)d&lt;&lt;=1,d|=l&gt;&gt;y+g&amp;1;c[m+0]=h&gt;&gt;&gt;0,c[m+1]=d&gt;&gt;&gt;0},o.r28shl=function(l,s){return l&lt;&lt;s&amp;268435455|l&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];o.pc2=function(l,s,c,m){for(var h=0,d=0,g=i.length&gt;&gt;&gt;1,y=0;y&lt;g;y++)h&lt;&lt;=1,h|=l&gt;&gt;&gt;i[y]&amp;1;for(y=g;y&lt;i.length;y++)d&lt;&lt;=1,d|=s&gt;&gt;&gt;i[y]&amp;1;c[m+0]=h&gt;&gt;&gt;0,c[m+1]=d&gt;&gt;&gt;0},o.expand=function(l,s,c){var m=0,h=0;m=(1&amp;l)&lt;&lt;5|l&gt;&gt;&gt;27;for(var d=23;d&gt;=15;d-=4)m&lt;&lt;=6,m|=l&gt;&gt;&gt;d&amp;63;for(d=11;d&gt;=3;d-=4)h|=l&gt;&gt;&gt;d&amp;63,h&lt;&lt;=6;h|=(31&amp;l)&lt;&lt;1|l&gt;&gt;&gt;31,s[c+0]=m&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];o.substitute=function(l,s){for(var c=0,m=0;m&lt;4;m++)c&lt;&lt;=4,c|=a[64*m+(l&gt;&gt;&gt;18-6*m&amp;63)];for(m=0;m&lt;4;m++)c&lt;&lt;=4,c|=a[256+64*m+(s&gt;&gt;&gt;18-6*m&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];o.permute=function(l){for(var s=0,c=0;c&lt;u.length;c++)s&lt;&lt;=1,s|=l&gt;&gt;&gt;u[c]&amp;1;return s&gt;&gt;&gt;0},o.padSplit=function(l,s,c){for(var m=l.toString(2);m.length&lt;s;)m=&quot;0&quot;+m;for(var h=[],d=0;d&lt;s;d+=c)h.push(m.slice(d,d+c));return h.join(&quot; &quot;)}},{}],400:[function(t,n,o){(function(i){(function(){var a=t(&quot;./lib/generatePrime&quot;),u=t(&quot;./lib/primes.json&quot;),l=t(&quot;./lib/dh&quot;),s={binary:!0,hex:!0,base64:!0};o.DiffieHellmanGroup=o.createDiffieHellmanGroup=o.getDiffieHellman=function(c){var m=new i(u[c].prime,&quot;hex&quot;),h=new i(u[c].gen,&quot;hex&quot;);return new l(m,h)},o.createDiffieHellman=o.DiffieHellman=function c(m,h,d,g){return i.isBuffer(h)||s[h]===void 0?c(m,&quot;binary&quot;,h,d):(h=h||&quot;binary&quot;,g=g||&quot;binary&quot;,d=d||new i([2]),i.isBuffer(d)||(d=new i(d,g)),typeof m==&quot;number&quot;?new l(a(m,d),d,!0):(i.isBuffer(m)||(m=new i(m,h)),new l(m,d,!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,o){(function(i){(function(){var a=t(&quot;bn.js&quot;),u=new(t(&quot;miller-rabin&quot;)),l=new a(24),s=new a(11),c=new a(10),m=new a(3),h=new a(7),d=t(&quot;./generatePrime&quot;),g=t(&quot;randombytes&quot;);function y(E,M){return M=M||&quot;utf8&quot;,i.isBuffer(E)||(E=new i(E,M)),this._pub=new a(E),this}function p(E,M){return M=M||&quot;utf8&quot;,i.isBuffer(E)||(E=new i(E,M)),this._priv=new a(E),this}n.exports=x;var b={};function x(E,M,D){this.setGenerator(M),this.__prime=new a(E),this._prime=a.mont(this.__prime),this._primeLen=E.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,D?(this.setPublicKey=y,this.setPrivateKey=p):this._primeCode=8}function _(E,M){var D=new i(E.toArray());return M?D.toString(M):D}Object.defineProperty(x.prototype,&quot;verifyError&quot;,{enumerable:!0,get:function(){return typeof this._primeCode!=&quot;number&quot;&amp;&amp;(this._primeCode=(function(E,M){var D=M.toString(&quot;hex&quot;),W=[D,E.toString(16)].join(&quot;_&quot;);if(W in b)return b[W];var L,V=0;if(E.isEven()||!d.simpleSieve||!d.fermatTest(E)||!u.test(E))return V+=1,V+=D===&quot;02&quot;||D===&quot;05&quot;?8:4,b[W]=V,V;switch(u.test(E.shrn(1))||(V+=2),D){case&quot;02&quot;:E.mod(l).cmp(s)&amp;&amp;(V+=8);break;case&quot;05&quot;:(L=E.mod(c)).cmp(m)&amp;&amp;L.cmp(h)&amp;&amp;(V+=8);break;default:V+=4}return b[W]=V,V})(this.__prime,this.__gen)),this._primeCode}}),x.prototype.generateKeys=function(){return this._priv||(this._priv=new a(g(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},x.prototype.computeSecret=function(E){var M=(E=(E=new a(E)).toRed(this._prime)).redPow(this._priv).fromRed(),D=new i(M.toArray()),W=this.getPrime();if(D.length&lt;W.length){var L=new i(W.length-D.length);L.fill(0),D=i.concat([L,D])}return D},x.prototype.getPublicKey=function(E){return _(this._pub,E)},x.prototype.getPrivateKey=function(E){return _(this._priv,E)},x.prototype.getPrime=function(E){return _(this.__prime,E)},x.prototype.getGenerator=function(E){return _(this._gen,E)},x.prototype.setGenerator=function(E,M){return M=M||&quot;utf8&quot;,i.isBuffer(E)||(E=new i(E,M)),this.__gen=E,this._gen=new a(E),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,o){var i=t(&quot;randombytes&quot;);n.exports=E,E.simpleSieve=x,E.fermatTest=_;var a=t(&quot;bn.js&quot;),u=new a(24),l=new(t(&quot;miller-rabin&quot;)),s=new a(1),c=new a(2),m=new a(5),h=(new a(16),new a(8),new a(10)),d=new a(3),g=(new a(7),new a(11)),y=new a(4),p=(new a(12),null);function b(){if(p!==null)return p;var M=[];M[0]=2;for(var D=1,W=3;W&lt;1048576;W+=2){for(var L=Math.ceil(Math.sqrt(W)),V=0;V&lt;D&amp;&amp;M[V]&lt;=L&amp;&amp;W%M[V]!=0;V++);D!==V&amp;&amp;M[V]&lt;=L||(M[D++]=W)}return p=M,M}function x(M){for(var D=b(),W=0;W&lt;D.length;W++)if(M.modn(D[W])===0)return M.cmpn(D[W])===0;return!0}function _(M){var D=a.mont(M);return c.toRed(D).redPow(M.subn(1)).fromRed().cmpn(1)===0}function E(M,D){if(M&lt;16)return new a(D===2||D===5?[140,123]:[140,39]);var W,L;for(D=new a(D);;){for(W=new a(i(Math.ceil(M/8)));W.bitLength()&gt;M;)W.ishrn(1);if(W.isEven()&amp;&amp;W.iadd(s),W.testn(1)||W.iadd(c),D.cmp(c)){if(!D.cmp(m))for(;W.mod(h).cmp(d);)W.iadd(y)}else for(;W.mod(u).cmp(g);)W.iadd(y);if(x(L=W.shrn(1))&amp;&amp;x(W)&amp;&amp;_(L)&amp;&amp;_(W)&amp;&amp;l.test(L)&amp;&amp;l.test(W))return W}}},{&quot;bn.js&quot;:404,&quot;miller-rabin&quot;:451,randombytes:475}],403:[function(t,n,o){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,o){arguments[4][184][0].apply(o,arguments)},{buffer:188,dup:184}],405:[function(t,n,o){var i=o;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,o){var i=t(&quot;bn.js&quot;),a=t(&quot;../utils&quot;),u=a.getNAF,l=a.getJSF,s=a.assert;function c(h,d){this.type=h,this.p=new i(d.p,16),this.red=d.prime?i.red(d.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=d.n&amp;&amp;new i(d.n,16),this.g=d.g&amp;&amp;this.pointFromJSON(d.g,d.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 g=this.n&amp;&amp;this.p.div(this.n);!g||g.cmpn(100)&gt;0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function m(h,d){this.curve=h,this.type=d,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,d){s(h.precomputed);var g=h._getDoubles(),y=u(d,1,this._bitLength),p=(1&lt;&lt;g.step+1)-(g.step%2==0?2:1);p/=3;var b,x,_=[];for(b=0;b&lt;y.length;b+=g.step){x=0;for(var E=b+g.step-1;E&gt;=b;E--)x=(x&lt;&lt;1)+y[E];_.push(x)}for(var M=this.jpoint(null,null,null),D=this.jpoint(null,null,null),W=p;W&gt;0;W--){for(b=0;b&lt;_.length;b++)(x=_[b])===W?D=D.mixedAdd(g.points[b]):x===-W&amp;&amp;(D=D.mixedAdd(g.points[b].neg()));M=M.add(D)}return M.toP()},c.prototype._wnafMul=function(h,d){var g=4,y=h._getNAFPoints(g);g=y.wnd;for(var p=y.points,b=u(d,g,this._bitLength),x=this.jpoint(null,null,null),_=b.length-1;_&gt;=0;_--){for(var E=0;_&gt;=0&amp;&amp;b[_]===0;_--)E++;if(_&gt;=0&amp;&amp;E++,x=x.dblp(E),_&lt;0)break;var M=b[_];s(M!==0),x=h.type===&quot;affine&quot;?M&gt;0?x.mixedAdd(p[M-1&gt;&gt;1]):x.mixedAdd(p[-M-1&gt;&gt;1].neg()):M&gt;0?x.add(p[M-1&gt;&gt;1]):x.add(p[-M-1&gt;&gt;1].neg())}return h.type===&quot;affine&quot;?x.toP():x},c.prototype._wnafMulAdd=function(h,d,g,y,p){var b,x,_,E=this._wnafT1,M=this._wnafT2,D=this._wnafT3,W=0;for(b=0;b&lt;y;b++){var L=(_=d[b])._getNAFPoints(h);E[b]=L.wnd,M[b]=L.points}for(b=y-1;b&gt;=1;b-=2){var V=b-1,H=b;if(E[V]===1&amp;&amp;E[H]===1){var K=[d[V],null,null,d[H]];d[V].y.cmp(d[H].y)===0?(K[1]=d[V].add(d[H]),K[2]=d[V].toJ().mixedAdd(d[H].neg())):d[V].y.cmp(d[H].y.redNeg())===0?(K[1]=d[V].toJ().mixedAdd(d[H]),K[2]=d[V].add(d[H].neg())):(K[1]=d[V].toJ().mixedAdd(d[H]),K[2]=d[V].toJ().mixedAdd(d[H].neg()));var z=[-3,-1,-5,-7,0,7,5,1,3],O=l(g[V],g[H]);for(W=Math.max(O[0].length,W),D[V]=new Array(W),D[H]=new Array(W),x=0;x&lt;W;x++){var I=0|O[0][x],C=0|O[1][x];D[V][x]=z[3*(I+1)+(C+1)],D[H][x]=0,M[V]=K}}else D[V]=u(g[V],E[V],this._bitLength),D[H]=u(g[H],E[H],this._bitLength),W=Math.max(D[V].length,W),W=Math.max(D[H].length,W)}var j=this.jpoint(null,null,null),k=this._wnafT4;for(b=W;b&gt;=0;b--){for(var S=0;b&gt;=0;){var N=!0;for(x=0;x&lt;y;x++)k[x]=0|D[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;y;x++){var T=k[x];T!==0&amp;&amp;(T&gt;0?_=M[x][T-1&gt;&gt;1]:T&lt;0&amp;&amp;(_=M[x][-T-1&gt;&gt;1].neg()),j=_.type===&quot;affine&quot;?j.mixedAdd(_):j.add(_))}}for(b=0;b&lt;y;b++)M[b]=null;return p?j:j.toP()},c.BasePoint=m,m.prototype.eq=function(){throw new Error(&quot;Not implemented&quot;)},m.prototype.validate=function(){return this.curve.validate(this)},c.prototype.decodePoint=function(h,d){h=a.toArray(h,d);var g=this.p.byteLength();if((h[0]===4||h[0]===6||h[0]===7)&amp;&amp;h.length-1==2*g)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+g),h.slice(1+g,1+2*g));if((h[0]===2||h[0]===3)&amp;&amp;h.length-1===g)return this.pointFromX(h.slice(1,1+g),h[0]===3);throw new Error(&quot;Unknown point format&quot;)},m.prototype.encodeCompressed=function(h){return this.encode(h,!0)},m.prototype._encode=function(h){var d=this.curve.p.byteLength(),g=this.getX().toArray(&quot;be&quot;,d);return h?[this.getY().isEven()?2:3].concat(g):[4].concat(g,this.getY().toArray(&quot;be&quot;,d))},m.prototype.encode=function(h,d){return a.encode(this._encode(d),h)},m.prototype.precompute=function(h){if(this.precomputed)return this;var d={doubles:null,naf:null,beta:null};return d.naf=this._getNAFPoints(8),d.doubles=this._getDoubles(4,h),d.beta=this._getBeta(),this.precomputed=d,this},m.prototype._hasDoubles=function(h){if(!this.precomputed)return!1;var d=this.precomputed.doubles;return!!d&amp;&amp;d.points.length&gt;=Math.ceil((h.bitLength()+1)/d.step)},m.prototype._getDoubles=function(h,d){if(this.precomputed&amp;&amp;this.precomputed.doubles)return this.precomputed.doubles;for(var g=[this],y=this,p=0;p&lt;d;p+=h){for(var b=0;b&lt;h;b++)y=y.dbl();g.push(y)}return{step:h,points:g}},m.prototype._getNAFPoints=function(h){if(this.precomputed&amp;&amp;this.precomputed.naf)return this.precomputed.naf;for(var d=[this],g=(1&lt;&lt;h)-1,y=g===1?null:this.dbl(),p=1;p&lt;g;p++)d[p]=d[p-1].add(y);return{wnd:h,points:d}},m.prototype._getBeta=function(){return null},m.prototype.dblp=function(h){for(var d=this,g=0;g&lt;h;g++)d=d.dbl();return d}},{&quot;../utils&quot;:419,&quot;bn.js&quot;:420}],407:[function(t,n,o){var i=t(&quot;../utils&quot;),a=t(&quot;bn.js&quot;),u=t(&quot;inherits&quot;),l=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,l.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 m(h,d,g,y,p){l.BasePoint.call(this,h,&quot;projective&quot;),d===null&amp;&amp;g===null&amp;&amp;y===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(d,16),this.y=new a(g,16),this.z=y?new a(y,16):this.curve.one,this.t=p&amp;&amp;new a(p,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,l),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,d,g,y){return this.point(h,d,g,y)},c.prototype.pointFromX=function(h,d){(h=new a(h,16)).red||(h=h.toRed(this.red));var g=h.redSqr(),y=this.c2.redSub(this.a.redMul(g)),p=this.one.redSub(this.c2.redMul(this.d).redMul(g)),b=y.redMul(p.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(d&amp;&amp;!_||!d&amp;&amp;_)&amp;&amp;(x=x.redNeg()),this.point(h,x)},c.prototype.pointFromY=function(h,d){(h=new a(h,16)).red||(h=h.toRed(this.red));var g=h.redSqr(),y=g.redSub(this.c2),p=g.redMul(this.d).redMul(this.c2).redSub(this.a),b=y.redMul(p.redInvm());if(b.cmp(this.zero)===0){if(d)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()!==d&amp;&amp;(x=x.redNeg()),this.point(x,h)},c.prototype.validate=function(h){if(h.isInfinity())return!0;h.normalize();var d=h.x.redSqr(),g=h.y.redSqr(),y=d.redMul(this.a).redAdd(g),p=this.c2.redMul(this.one.redAdd(this.d.redMul(d).redMul(g)));return y.cmp(p)===0},u(m,l.BasePoint),c.prototype.pointFromJSON=function(h){return m.fromJSON(this,h)},c.prototype.point=function(h,d,g,y){return new m(this,h,d,g,y)},m.fromJSON=function(h,d){return new m(h,d[0],d[1],d[2])},m.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;},m.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)},m.prototype._extDbl=function(){var h=this.x.redSqr(),d=this.y.redSqr(),g=this.z.redSqr();g=g.redIAdd(g);var y=this.curve._mulA(h),p=this.x.redAdd(this.y).redSqr().redISub(h).redISub(d),b=y.redAdd(d),x=b.redSub(g),_=y.redSub(d),E=p.redMul(x),M=b.redMul(_),D=p.redMul(_),W=x.redMul(b);return this.curve.point(E,M,W,D)},m.prototype._projDbl=function(){var h,d,g,y,p,b,x=this.x.redAdd(this.y).redSqr(),_=this.x.redSqr(),E=this.y.redSqr();if(this.curve.twisted){var M=(y=this.curve._mulA(_)).redAdd(E);this.zOne?(h=x.redSub(_).redSub(E).redMul(M.redSub(this.curve.two)),d=M.redMul(y.redSub(E)),g=M.redSqr().redSub(M).redSub(M)):(p=this.z.redSqr(),b=M.redSub(p).redISub(p),h=x.redSub(_).redISub(E).redMul(b),d=M.redMul(y.redSub(E)),g=M.redMul(b))}else y=_.redAdd(E),p=this.curve._mulC(this.z).redSqr(),b=y.redSub(p).redSub(p),h=this.curve._mulC(x.redISub(y)).redMul(b),d=this.curve._mulC(y).redMul(_.redISub(E)),g=y.redMul(b);return this.curve.point(h,d,g)},m.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},m.prototype._extAdd=function(h){var d=this.y.redSub(this.x).redMul(h.y.redSub(h.x)),g=this.y.redAdd(this.x).redMul(h.y.redAdd(h.x)),y=this.t.redMul(this.curve.dd).redMul(h.t),p=this.z.redMul(h.z.redAdd(h.z)),b=g.redSub(d),x=p.redSub(y),_=p.redAdd(y),E=g.redAdd(d),M=b.redMul(x),D=_.redMul(E),W=b.redMul(E),L=x.redMul(_);return this.curve.point(M,D,L,W)},m.prototype._projAdd=function(h){var d,g,y=this.z.redMul(h.z),p=y.redSqr(),b=this.x.redMul(h.x),x=this.y.redMul(h.y),_=this.curve.d.redMul(b).redMul(x),E=p.redSub(_),M=p.redAdd(_),D=this.x.redAdd(this.y).redMul(h.x.redAdd(h.y)).redISub(b).redISub(x),W=y.redMul(E).redMul(D);return this.curve.twisted?(d=y.redMul(M).redMul(x.redSub(this.curve._mulA(b))),g=E.redMul(M)):(d=y.redMul(M).redMul(x.redSub(b)),g=this.curve._mulC(E).redMul(M)),this.curve.point(W,d,g)},m.prototype.add=function(h){return this.isInfinity()?h:h.isInfinity()?this:this.curve.extended?this._extAdd(h):this._projAdd(h)},m.prototype.mul=function(h){return this._hasDoubles(h)?this.curve._fixedNafMul(this,h):this.curve._wnafMul(this,h)},m.prototype.mulAdd=function(h,d,g){return this.curve._wnafMulAdd(1,[this,d],[h,g],2,!1)},m.prototype.jmulAdd=function(h,d,g){return this.curve._wnafMulAdd(1,[this,d],[h,g],2,!0)},m.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},m.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&amp;&amp;this.t.redNeg())},m.prototype.getX=function(){return this.normalize(),this.x.fromRed()},m.prototype.getY=function(){return this.normalize(),this.y.fromRed()},m.prototype.eq=function(h){return this===h||this.getX().cmp(h.getX())===0&amp;&amp;this.getY().cmp(h.getY())===0},m.prototype.eqXToP=function(h){var d=h.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(d)===0)return!0;for(var g=h.clone(),y=this.curve.redN.redMul(this.z);;){if(g.iadd(this.curve.n),g.cmp(this.curve.p)&gt;=0)return!1;if(d.redIAdd(y),this.x.cmp(d)===0)return!0}},m.prototype.toP=m.prototype.normalize,m.prototype.mixedAdd=m.prototype.add},{&quot;../utils&quot;:419,&quot;./base&quot;:406,&quot;bn.js&quot;:420,inherits:440}],408:[function(t,n,o){var i=o;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,o){var i=t(&quot;bn.js&quot;),a=t(&quot;inherits&quot;),u=t(&quot;./base&quot;),l=t(&quot;../utils&quot;);function s(m){u.call(this,&quot;mont&quot;,m),this.a=new i(m.a,16).toRed(this.red),this.b=new i(m.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(m,h,d){u.BasePoint.call(this,m,&quot;projective&quot;),h===null&amp;&amp;d===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new i(h,16),this.z=new i(d,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(m){var h=m.normalize().x,d=h.redSqr(),g=d.redMul(h).redAdd(d.redMul(this.a)).redAdd(h);return g.redSqrt().redSqr().cmp(g)===0},a(c,u.BasePoint),s.prototype.decodePoint=function(m,h){return this.point(l.toArray(m,h),1)},s.prototype.point=function(m,h){return new c(this,m,h)},s.prototype.pointFromJSON=function(m){return c.fromJSON(this,m)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray(&quot;be&quot;,this.curve.p.byteLength())},c.fromJSON=function(m,h){return new c(m,h[0],h[1]||m.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 m=this.x.redAdd(this.z).redSqr(),h=this.x.redSub(this.z).redSqr(),d=m.redSub(h),g=m.redMul(h),y=d.redMul(h.redAdd(this.curve.a24.redMul(d)));return this.curve.point(g,y)},c.prototype.add=function(){throw new Error(&quot;Not supported on Montgomery curve&quot;)},c.prototype.diffAdd=function(m,h){var d=this.x.redAdd(this.z),g=this.x.redSub(this.z),y=m.x.redAdd(m.z),p=m.x.redSub(m.z).redMul(d),b=y.redMul(g),x=h.z.redMul(p.redAdd(b).redSqr()),_=h.x.redMul(p.redISub(b).redSqr());return this.curve.point(x,_)},c.prototype.mul=function(m){for(var h=m.clone(),d=this,g=this.curve.point(null,null),y=[];h.cmpn(0)!==0;h.iushrn(1))y.push(h.andln(1));for(var p=y.length-1;p&gt;=0;p--)y[p]===0?(d=d.diffAdd(g,this),g=g.dbl()):(g=d.diffAdd(g,this),d=d.dbl());return g},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(m){return this.getX().cmp(m.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,o){var i=t(&quot;../utils&quot;),a=t(&quot;bn.js&quot;),u=t(&quot;inherits&quot;),l=t(&quot;./base&quot;),s=i.assert;function c(d){l.call(this,&quot;short&quot;,d),this.a=new a(d.a,16).toRed(this.red),this.b=new a(d.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(d),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function m(d,g,y,p){l.BasePoint.call(this,d,&quot;affine&quot;),g===null&amp;&amp;y===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new a(g,16),this.y=new a(y,16),p&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(d,g,y,p){l.BasePoint.call(this,d,&quot;jacobian&quot;),g===null&amp;&amp;y===null&amp;&amp;p===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new a(0)):(this.x=new a(g,16),this.y=new a(y,16),this.z=new a(p,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,l),n.exports=c,c.prototype._getEndomorphism=function(d){if(this.zeroA&amp;&amp;this.g&amp;&amp;this.n&amp;&amp;this.p.modn(3)===1){var g,y;if(d.beta)g=new a(d.beta,16).toRed(this.red);else{var p=this._getEndoRoots(this.p);g=(g=p[0].cmp(p[1])&lt;0?p[0]:p[1]).toRed(this.red)}if(d.lambda)y=new a(d.lambda,16);else{var b=this._getEndoRoots(this.n);this.g.mul(b[0]).x.cmp(this.g.x.redMul(g))===0?y=b[0]:(y=b[1],s(this.g.mul(y).x.cmp(this.g.x.redMul(g))===0))}return{beta:g,lambda:y,basis:d.basis?d.basis.map((function(x){return{a:new a(x.a,16),b:new a(x.b,16)}})):this._getEndoBasis(y)}}},c.prototype._getEndoRoots=function(d){var g=d===this.p?this.red:a.mont(d),y=new a(2).toRed(g).redInvm(),p=y.redNeg(),b=new a(3).toRed(g).redNeg().redSqrt().redMul(y);return[p.redAdd(b).fromRed(),p.redSub(b).fromRed()]},c.prototype._getEndoBasis=function(d){for(var g,y,p,b,x,_,E,M,D,W=this.n.ushrn(Math.floor(this.n.bitLength()/2)),L=d,V=this.n.clone(),H=new a(1),K=new a(0),z=new a(0),O=new a(1),I=0;L.cmpn(0)!==0;){var C=V.div(L);M=V.sub(C.mul(L)),D=z.sub(C.mul(H));var j=O.sub(C.mul(K));if(!p&amp;&amp;M.cmp(W)&lt;0)g=E.neg(),y=H,p=M.neg(),b=D;else if(p&amp;&amp;++I==2)break;E=M,V=L,L=M,z=H,H=D,O=K,K=j}x=M.neg(),_=D;var k=p.sqr().add(b.sqr());return x.sqr().add(_.sqr()).cmp(k)&gt;=0&amp;&amp;(x=g,_=y),p.negative&amp;&amp;(p=p.neg(),b=b.neg()),x.negative&amp;&amp;(x=x.neg(),_=_.neg()),[{a:p,b},{a:x,b:_}]},c.prototype._endoSplit=function(d){var g=this.endo.basis,y=g[0],p=g[1],b=p.b.mul(d).divRound(this.n),x=y.b.neg().mul(d).divRound(this.n),_=b.mul(y.a),E=x.mul(p.a),M=b.mul(y.b),D=x.mul(p.b);return{k1:d.sub(_).sub(E),k2:M.add(D).neg()}},c.prototype.pointFromX=function(d,g){(d=new a(d,16)).red||(d=d.toRed(this.red));var y=d.redSqr().redMul(d).redIAdd(d.redMul(this.a)).redIAdd(this.b),p=y.redSqrt();if(p.redSqr().redSub(y).cmp(this.zero)!==0)throw new Error(&quot;invalid point&quot;);var b=p.fromRed().isOdd();return(g&amp;&amp;!b||!g&amp;&amp;b)&amp;&amp;(p=p.redNeg()),this.point(d,p)},c.prototype.validate=function(d){if(d.inf)return!0;var g=d.x,y=d.y,p=this.a.redMul(g),b=g.redSqr().redMul(g).redIAdd(p).redIAdd(this.b);return y.redSqr().redISub(b).cmpn(0)===0},c.prototype._endoWnafMulAdd=function(d,g,y){for(var p=this._endoWnafT1,b=this._endoWnafT2,x=0;x&lt;d.length;x++){var _=this._endoSplit(g[x]),E=d[x],M=E._getBeta();_.k1.negative&amp;&amp;(_.k1.ineg(),E=E.neg(!0)),_.k2.negative&amp;&amp;(_.k2.ineg(),M=M.neg(!0)),p[2*x]=E,p[2*x+1]=M,b[2*x]=_.k1,b[2*x+1]=_.k2}for(var D=this._wnafMulAdd(1,p,b,2*x,y),W=0;W&lt;2*x;W++)p[W]=null,b[W]=null;return D},u(m,l.BasePoint),c.prototype.point=function(d,g,y){return new m(this,d,g,y)},c.prototype.pointFromJSON=function(d,g){return m.fromJSON(this,d,g)},m.prototype._getBeta=function(){if(this.curve.endo){var d=this.precomputed;if(d&amp;&amp;d.beta)return d.beta;var g=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(d){var y=this.curve,p=function(b){return y.point(b.x.redMul(y.endo.beta),b.y)};d.beta=g,g.precomputed={beta:null,naf:d.naf&amp;&amp;{wnd:d.naf.wnd,points:d.naf.points.map(p)},doubles:d.doubles&amp;&amp;{step:d.doubles.step,points:d.doubles.points.map(p)}}}return g}},m.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]},m.fromJSON=function(d,g,y){typeof g==&quot;string&quot;&amp;&amp;(g=JSON.parse(g));var p=d.point(g[0],g[1],y);if(!g[2])return p;function b(_){return d.point(_[0],_[1],y)}var x=g[2];return p.precomputed={beta:null,doubles:x.doubles&amp;&amp;{step:x.doubles.step,points:[p].concat(x.doubles.points.map(b))},naf:x.naf&amp;&amp;{wnd:x.naf.wnd,points:[p].concat(x.naf.points.map(b))}},p},m.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;},m.prototype.isInfinity=function(){return this.inf},m.prototype.add=function(d){if(this.inf)return d;if(d.inf)return this;if(this.eq(d))return this.dbl();if(this.neg().eq(d))return this.curve.point(null,null);if(this.x.cmp(d.x)===0)return this.curve.point(null,null);var g=this.y.redSub(d.y);g.cmpn(0)!==0&amp;&amp;(g=g.redMul(this.x.redSub(d.x).redInvm()));var y=g.redSqr().redISub(this.x).redISub(d.x),p=g.redMul(this.x.redSub(y)).redISub(this.y);return this.curve.point(y,p)},m.prototype.dbl=function(){if(this.inf)return this;var d=this.y.redAdd(this.y);if(d.cmpn(0)===0)return this.curve.point(null,null);var g=this.curve.a,y=this.x.redSqr(),p=d.redInvm(),b=y.redAdd(y).redIAdd(y).redIAdd(g).redMul(p),x=b.redSqr().redISub(this.x.redAdd(this.x)),_=b.redMul(this.x.redSub(x)).redISub(this.y);return this.curve.point(x,_)},m.prototype.getX=function(){return this.x.fromRed()},m.prototype.getY=function(){return this.y.fromRed()},m.prototype.mul=function(d){return d=new a(d,16),this.isInfinity()?this:this._hasDoubles(d)?this.curve._fixedNafMul(this,d):this.curve.endo?this.curve._endoWnafMulAdd([this],[d]):this.curve._wnafMul(this,d)},m.prototype.mulAdd=function(d,g,y){var p=[this,g],b=[d,y];return this.curve.endo?this.curve._endoWnafMulAdd(p,b):this.curve._wnafMulAdd(1,p,b,2)},m.prototype.jmulAdd=function(d,g,y){var p=[this,g],b=[d,y];return this.curve.endo?this.curve._endoWnafMulAdd(p,b,!0):this.curve._wnafMulAdd(1,p,b,2,!0)},m.prototype.eq=function(d){return this===d||this.inf===d.inf&amp;&amp;(this.inf||this.x.cmp(d.x)===0&amp;&amp;this.y.cmp(d.y)===0)},m.prototype.neg=function(d){if(this.inf)return this;var g=this.curve.point(this.x,this.y.redNeg());if(d&amp;&amp;this.precomputed){var y=this.precomputed,p=function(b){return b.neg()};g.precomputed={naf:y.naf&amp;&amp;{wnd:y.naf.wnd,points:y.naf.points.map(p)},doubles:y.doubles&amp;&amp;{step:y.doubles.step,points:y.doubles.points.map(p)}}}return g},m.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},u(h,l.BasePoint),c.prototype.jpoint=function(d,g,y){return new h(this,d,g,y)},h.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var d=this.z.redInvm(),g=d.redSqr(),y=this.x.redMul(g),p=this.y.redMul(g).redMul(d);return this.curve.point(y,p)},h.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},h.prototype.add=function(d){if(this.isInfinity())return d;if(d.isInfinity())return this;var g=d.z.redSqr(),y=this.z.redSqr(),p=this.x.redMul(g),b=d.x.redMul(y),x=this.y.redMul(g.redMul(d.z)),_=d.y.redMul(y.redMul(this.z)),E=p.redSub(b),M=x.redSub(_);if(E.cmpn(0)===0)return M.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var D=E.redSqr(),W=D.redMul(E),L=p.redMul(D),V=M.redSqr().redIAdd(W).redISub(L).redISub(L),H=M.redMul(L.redISub(V)).redISub(x.redMul(W)),K=this.z.redMul(d.z).redMul(E);return this.curve.jpoint(V,H,K)},h.prototype.mixedAdd=function(d){if(this.isInfinity())return d.toJ();if(d.isInfinity())return this;var g=this.z.redSqr(),y=this.x,p=d.x.redMul(g),b=this.y,x=d.y.redMul(g).redMul(this.z),_=y.redSub(p),E=b.redSub(x);if(_.cmpn(0)===0)return E.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var M=_.redSqr(),D=M.redMul(_),W=y.redMul(M),L=E.redSqr().redIAdd(D).redISub(W).redISub(W),V=E.redMul(W.redISub(L)).redISub(b.redMul(D)),H=this.z.redMul(_);return this.curve.jpoint(L,V,H)},h.prototype.dblp=function(d){if(d===0)return this;if(this.isInfinity())return this;if(!d)return this.dbl();var g;if(this.curve.zeroA||this.curve.threeA){var y=this;for(g=0;g&lt;d;g++)y=y.dbl();return y}var p=this.curve.a,b=this.curve.tinv,x=this.x,_=this.y,E=this.z,M=E.redSqr().redSqr(),D=_.redAdd(_);for(g=0;g&lt;d;g++){var W=x.redSqr(),L=D.redSqr(),V=L.redSqr(),H=W.redAdd(W).redIAdd(W).redIAdd(p.redMul(M)),K=x.redMul(L),z=H.redSqr().redISub(K.redAdd(K)),O=K.redISub(z),I=H.redMul(O);I=I.redIAdd(I).redISub(V);var C=D.redMul(E);g+1&lt;d&amp;&amp;(M=M.redMul(V)),x=z,E=C,D=I}return this.curve.jpoint(x,D.redMul(b),E)},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 d,g,y;if(this.zOne){var p=this.x.redSqr(),b=this.y.redSqr(),x=b.redSqr(),_=this.x.redAdd(b).redSqr().redISub(p).redISub(x);_=_.redIAdd(_);var E=p.redAdd(p).redIAdd(p),M=E.redSqr().redISub(_).redISub(_),D=x.redIAdd(x);D=(D=D.redIAdd(D)).redIAdd(D),d=M,g=E.redMul(_.redISub(M)).redISub(D),y=this.y.redAdd(this.y)}else{var W=this.x.redSqr(),L=this.y.redSqr(),V=L.redSqr(),H=this.x.redAdd(L).redSqr().redISub(W).redISub(V);H=H.redIAdd(H);var K=W.redAdd(W).redIAdd(W),z=K.redSqr(),O=V.redIAdd(V);O=(O=O.redIAdd(O)).redIAdd(O),d=z.redISub(H).redISub(H),g=K.redMul(H.redISub(d)).redISub(O),y=(y=this.y.redMul(this.z)).redIAdd(y)}return this.curve.jpoint(d,g,y)},h.prototype._threeDbl=function(){var d,g,y;if(this.zOne){var p=this.x.redSqr(),b=this.y.redSqr(),x=b.redSqr(),_=this.x.redAdd(b).redSqr().redISub(p).redISub(x);_=_.redIAdd(_);var E=p.redAdd(p).redIAdd(p).redIAdd(this.curve.a),M=E.redSqr().redISub(_).redISub(_);d=M;var D=x.redIAdd(x);D=(D=D.redIAdd(D)).redIAdd(D),g=E.redMul(_.redISub(M)).redISub(D),y=this.y.redAdd(this.y)}else{var W=this.z.redSqr(),L=this.y.redSqr(),V=this.x.redMul(L),H=this.x.redSub(W).redMul(this.x.redAdd(W));H=H.redAdd(H).redIAdd(H);var K=V.redIAdd(V),z=(K=K.redIAdd(K)).redAdd(K);d=H.redSqr().redISub(z),y=this.y.redAdd(this.z).redSqr().redISub(L).redISub(W);var O=L.redSqr();O=(O=(O=O.redIAdd(O)).redIAdd(O)).redIAdd(O),g=H.redMul(K.redISub(d)).redISub(O)}return this.curve.jpoint(d,g,y)},h.prototype._dbl=function(){var d=this.curve.a,g=this.x,y=this.y,p=this.z,b=p.redSqr().redSqr(),x=g.redSqr(),_=y.redSqr(),E=x.redAdd(x).redIAdd(x).redIAdd(d.redMul(b)),M=g.redAdd(g),D=(M=M.redIAdd(M)).redMul(_),W=E.redSqr().redISub(D.redAdd(D)),L=D.redISub(W),V=_.redSqr();V=(V=(V=V.redIAdd(V)).redIAdd(V)).redIAdd(V);var H=E.redMul(L).redISub(V),K=y.redAdd(y).redMul(p);return this.curve.jpoint(W,H,K)},h.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var d=this.x.redSqr(),g=this.y.redSqr(),y=this.z.redSqr(),p=g.redSqr(),b=d.redAdd(d).redIAdd(d),x=b.redSqr(),_=this.x.redAdd(g).redSqr().redISub(d).redISub(p),E=(_=(_=(_=_.redIAdd(_)).redAdd(_).redIAdd(_)).redISub(x)).redSqr(),M=p.redIAdd(p);M=(M=(M=M.redIAdd(M)).redIAdd(M)).redIAdd(M);var D=b.redIAdd(_).redSqr().redISub(x).redISub(E).redISub(M),W=g.redMul(D);W=(W=W.redIAdd(W)).redIAdd(W);var L=this.x.redMul(E).redISub(W);L=(L=L.redIAdd(L)).redIAdd(L);var V=this.y.redMul(D.redMul(M.redISub(D)).redISub(_.redMul(E)));V=(V=(V=V.redIAdd(V)).redIAdd(V)).redIAdd(V);var H=this.z.redAdd(_).redSqr().redISub(y).redISub(E);return this.curve.jpoint(L,V,H)},h.prototype.mul=function(d,g){return d=new a(d,g),this.curve._wnafMul(this,d)},h.prototype.eq=function(d){if(d.type===&quot;affine&quot;)return this.eq(d.toJ());if(this===d)return!0;var g=this.z.redSqr(),y=d.z.redSqr();if(this.x.redMul(y).redISub(d.x.redMul(g)).cmpn(0)!==0)return!1;var p=g.redMul(this.z),b=y.redMul(d.z);return this.y.redMul(b).redISub(d.y.redMul(p)).cmpn(0)===0},h.prototype.eqXToP=function(d){var g=this.z.redSqr(),y=d.toRed(this.curve.red).redMul(g);if(this.x.cmp(y)===0)return!0;for(var p=d.clone(),b=this.curve.redN.redMul(g);;){if(p.iadd(this.curve.n),p.cmp(this.curve.p)&gt;=0)return!1;if(y.redIAdd(b),this.x.cmp(y)===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,o){var i,a=o,u=t(&quot;hash.js&quot;),l=t(&quot;./curve&quot;),s=t(&quot;./utils&quot;).assert;function c(h){h.type===&quot;short&quot;?this.curve=new l.short(h):h.type===&quot;edwards&quot;?this.curve=new l.edwards(h):this.curve=new l.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 m(h,d){Object.defineProperty(a,h,{configurable:!0,enumerable:!0,get:function(){var g=new c(d);return Object.defineProperty(a,h,{configurable:!0,enumerable:!0,value:g}),g}})}a.PresetCurve=c,m(&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;]}),m(&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;]}),m(&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;]}),m(&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;]}),m(&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;]}),m(&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;]}),m(&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}m(&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,o){var i=t(&quot;bn.js&quot;),a=t(&quot;hmac-drbg&quot;),u=t(&quot;../utils&quot;),l=t(&quot;../curves&quot;),s=t(&quot;brorand&quot;),c=u.assert,m=t(&quot;./key&quot;),h=t(&quot;./signature&quot;);function d(g){if(!(this instanceof d))return new d(g);typeof g==&quot;string&quot;&amp;&amp;(c(Object.prototype.hasOwnProperty.call(l,g),&quot;Unknown curve &quot;+g),g=l[g]),g instanceof l.PresetCurve&amp;&amp;(g={curve:g}),this.curve=g.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=g.curve.g,this.g.precompute(g.curve.n.bitLength()+1),this.hash=g.hash||g.curve.hash}n.exports=d,d.prototype.keyPair=function(g){return new m(this,g)},d.prototype.keyFromPrivate=function(g,y){return m.fromPrivate(this,g,y)},d.prototype.keyFromPublic=function(g,y){return m.fromPublic(this,g,y)},d.prototype.genKeyPair=function(g){g||(g={});for(var y=new a({hash:this.hash,pers:g.pers,persEnc:g.persEnc||&quot;utf8&quot;,entropy:g.entropy||s(this.hash.hmacStrength),entropyEnc:g.entropy&amp;&amp;g.entropyEnc||&quot;utf8&quot;,nonce:this.n.toArray()}),p=this.n.byteLength(),b=this.n.sub(new i(2));;){var x=new i(y.generate(p));if(!(x.cmp(b)&gt;0))return x.iaddn(1),this.keyFromPrivate(x)}},d.prototype._truncateToN=function(g,y){var p=8*g.byteLength()-this.n.bitLength();return p&gt;0&amp;&amp;(g=g.ushrn(p)),!y&amp;&amp;g.cmp(this.n)&gt;=0?g.sub(this.n):g},d.prototype.sign=function(g,y,p,b){typeof p==&quot;object&quot;&amp;&amp;(b=p,p=null),b||(b={}),y=this.keyFromPrivate(y,p),g=this._truncateToN(new i(g,16));for(var x=this.n.byteLength(),_=y.getPrivate().toArray(&quot;be&quot;,x),E=g.toArray(&quot;be&quot;,x),M=new a({hash:this.hash,entropy:_,nonce:E,pers:b.pers,persEnc:b.persEnc||&quot;utf8&quot;}),D=this.n.sub(new i(1)),W=0;;W++){var L=b.k?b.k(W):new i(M.generate(this.n.byteLength()));if(!((L=this._truncateToN(L,!0)).cmpn(1)&lt;=0||L.cmp(D)&gt;=0)){var V=this.g.mul(L);if(!V.isInfinity()){var H=V.getX(),K=H.umod(this.n);if(K.cmpn(0)!==0){var z=L.invm(this.n).mul(K.mul(y.getPrivate()).iadd(g));if((z=z.umod(this.n)).cmpn(0)!==0){var O=(V.getY().isOdd()?1:0)|(H.cmp(K)!==0?2:0);return b.canonical&amp;&amp;z.cmp(this.nh)&gt;0&amp;&amp;(z=this.n.sub(z),O^=1),new h({r:K,s:z,recoveryParam:O})}}}}}},d.prototype.verify=function(g,y,p,b){g=this._truncateToN(new i(g,16)),p=this.keyFromPublic(p,b);var x=(y=new h(y,&quot;hex&quot;)).r,_=y.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 E,M=_.invm(this.n),D=M.mul(g).umod(this.n),W=M.mul(x).umod(this.n);return this.curve._maxwellTrick?!(E=this.g.jmulAdd(D,p.getPublic(),W)).isInfinity()&amp;&amp;E.eqXToP(x):!(E=this.g.mulAdd(D,p.getPublic(),W)).isInfinity()&amp;&amp;E.getX().umod(this.n).cmp(x)===0},d.prototype.recoverPubKey=function(g,y,p,b){c((3&amp;p)===p,&quot;The recovery param is more than two bits&quot;),y=new h(y,b);var x=this.n,_=new i(g),E=y.r,M=y.s,D=1&amp;p,W=p&gt;&gt;1;if(E.cmp(this.curve.p.umod(this.curve.n))&gt;=0&amp;&amp;W)throw new Error(&quot;Unable to find sencond key candinate&quot;);E=W?this.curve.pointFromX(E.add(this.curve.n),D):this.curve.pointFromX(E,D);var L=y.r.invm(x),V=x.sub(_).mul(L).umod(x),H=M.mul(L).umod(x);return this.g.mulAdd(V,E,H)},d.prototype.getKeyRecoveryParam=function(g,y,p,b){if((y=new h(y,b)).recoveryParam!==null)return y.recoveryParam;for(var x=0;x&lt;4;x++){var _;try{_=this.recoverPubKey(g,y,x)}catch{continue}if(_.eq(p))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,o){var i=t(&quot;bn.js&quot;),a=t(&quot;../utils&quot;).assert;function u(l,s){this.ec=l,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(l,s,c){return s instanceof u?s:new u(l,{pub:s,pubEnc:c})},u.fromPrivate=function(l,s,c){return s instanceof u?s:new u(l,{priv:s,privEnc:c})},u.prototype.validate=function(){var l=this.getPublic();return l.isInfinity()?{result:!1,reason:&quot;Invalid public key&quot;}:l.validate()?l.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(l,s){return typeof l==&quot;string&quot;&amp;&amp;(s=l,l=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),s?this.pub.encode(s,l):this.pub},u.prototype.getPrivate=function(l){return l===&quot;hex&quot;?this.priv.toString(16,2):this.priv},u.prototype._importPrivate=function(l,s){this.priv=new i(l,s||16),this.priv=this.priv.umod(this.ec.curve.n)},u.prototype._importPublic=function(l,s){if(l.x||l.y)return this.ec.curve.type===&quot;mont&quot;?a(l.x,&quot;Need x coordinate&quot;):this.ec.curve.type!==&quot;short&quot;&amp;&amp;this.ec.curve.type!==&quot;edwards&quot;||a(l.x&amp;&amp;l.y,&quot;Need both x and y coordinate&quot;),void(this.pub=this.ec.curve.point(l.x,l.y));this.pub=this.ec.curve.decodePoint(l,s)},u.prototype.derive=function(l){return l.validate()||a(l.validate(),&quot;public point not validated&quot;),l.mul(this.priv).getX()},u.prototype.sign=function(l,s,c){return this.ec.sign(l,this,s,c)},u.prototype.verify=function(l,s){return this.ec.verify(l,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,o){var i=t(&quot;bn.js&quot;),a=t(&quot;../utils&quot;),u=a.assert;function l(d,g){if(d instanceof l)return d;this._importDER(d,g)||(u(d.r&amp;&amp;d.s,&quot;Signature without r or s&quot;),this.r=new i(d.r,16),this.s=new i(d.s,16),d.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=d.recoveryParam)}function s(){this.place=0}function c(d,g){var y=d[g.place++];if(!(128&amp;y))return y;var p=15&amp;y;if(p===0||p&gt;4)return!1;for(var b=0,x=0,_=g.place;x&lt;p;x++,_++)b&lt;&lt;=8,b|=d[_],b&gt;&gt;&gt;=0;return!(b&lt;=127)&amp;&amp;(g.place=_,b)}function m(d){for(var g=0,y=d.length-1;!d[g]&amp;&amp;!(128&amp;d[g+1])&amp;&amp;g&lt;y;)g++;return g===0?d:d.slice(g)}function h(d,g){if(g&lt;128)d.push(g);else{var y=1+(Math.log(g)/Math.LN2&gt;&gt;&gt;3);for(d.push(128|y);--y;)d.push(g&gt;&gt;&gt;(y&lt;&lt;3)&amp;255);d.push(g)}}n.exports=l,l.prototype._importDER=function(d,g){d=a.toArray(d,g);var y=new s;if(d[y.place++]!==48)return!1;var p=c(d,y);if(p===!1||p+y.place!==d.length||d[y.place++]!==2)return!1;var b=c(d,y);if(b===!1)return!1;var x=d.slice(y.place,b+y.place);if(y.place+=b,d[y.place++]!==2)return!1;var _=c(d,y);if(_===!1||d.length!==_+y.place)return!1;var E=d.slice(y.place,_+y.place);if(x[0]===0){if(!(128&amp;x[1]))return!1;x=x.slice(1)}if(E[0]===0){if(!(128&amp;E[1]))return!1;E=E.slice(1)}return this.r=new i(x),this.s=new i(E),this.recoveryParam=null,!0},l.prototype.toDER=function(d){var g=this.r.toArray(),y=this.s.toArray();for(128&amp;g[0]&amp;&amp;(g=[0].concat(g)),128&amp;y[0]&amp;&amp;(y=[0].concat(y)),g=m(g),y=m(y);!(y[0]||128&amp;y[1]);)y=y.slice(1);var p=[2];h(p,g.length),(p=p.concat(g)).push(2),h(p,y.length);var b=p.concat(y),x=[48];return h(x,b.length),x=x.concat(b),a.encode(x,d)}},{&quot;../utils&quot;:419,&quot;bn.js&quot;:420}],415:[function(t,n,o){var i=t(&quot;hash.js&quot;),a=t(&quot;../curves&quot;),u=t(&quot;../utils&quot;),l=u.assert,s=u.parseBytes,c=t(&quot;./key&quot;),m=t(&quot;./signature&quot;);function h(d){if(l(d===&quot;ed25519&quot;,&quot;only tested with ed25519 so far&quot;),!(this instanceof h))return new h(d);d=a[d].curve,this.curve=d,this.g=d.g,this.g.precompute(d.n.bitLength()+1),this.pointClass=d.point().constructor,this.encodingLength=Math.ceil(d.n.bitLength()/8),this.hash=i.sha512}n.exports=h,h.prototype.sign=function(d,g){d=s(d);var y=this.keyFromSecret(g),p=this.hashInt(y.messagePrefix(),d),b=this.g.mul(p),x=this.encodePoint(b),_=this.hashInt(x,y.pubBytes(),d).mul(y.priv()),E=p.add(_).umod(this.curve.n);return this.makeSignature({R:b,S:E,Rencoded:x})},h.prototype.verify=function(d,g,y){d=s(d),g=this.makeSignature(g);var p=this.keyFromPublic(y),b=this.hashInt(g.Rencoded(),p.pubBytes(),d),x=this.g.mul(g.S());return g.R().add(p.pub().mul(b)).eq(x)},h.prototype.hashInt=function(){for(var d=this.hash(),g=0;g&lt;arguments.length;g++)d.update(arguments[g]);return u.intFromLE(d.digest()).umod(this.curve.n)},h.prototype.keyFromPublic=function(d){return c.fromPublic(this,d)},h.prototype.keyFromSecret=function(d){return c.fromSecret(this,d)},h.prototype.makeSignature=function(d){return d instanceof m?d:new m(this,d)},h.prototype.encodePoint=function(d){var g=d.getY().toArray(&quot;le&quot;,this.encodingLength);return g[this.encodingLength-1]|=d.getX().isOdd()?128:0,g},h.prototype.decodePoint=function(d){var g=(d=u.parseBytes(d)).length-1,y=d.slice(0,g).concat(-129&amp;d[g]),p=(128&amp;d[g])!=0,b=u.intFromLE(y);return this.curve.pointFromY(b,p)},h.prototype.encodeInt=function(d){return d.toArray(&quot;le&quot;,this.encodingLength)},h.prototype.decodeInt=function(d){return u.intFromLE(d)},h.prototype.isPoint=function(d){return d 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,o){var i=t(&quot;../utils&quot;),a=i.assert,u=i.parseBytes,l=i.cachedProperty;function s(c,m){this.eddsa=c,this._secret=u(m.secret),c.isPoint(m.pub)?this._pub=m.pub:this._pubBytes=u(m.pub)}s.fromPublic=function(c,m){return m instanceof s?m:new s(c,{pub:m})},s.fromSecret=function(c,m){return m instanceof s?m:new s(c,{secret:m})},s.prototype.secret=function(){return this._secret},l(s,&quot;pubBytes&quot;,(function(){return this.eddsa.encodePoint(this.pub())})),l(s,&quot;pub&quot;,(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),l(s,&quot;privBytes&quot;,(function(){var c=this.eddsa,m=this.hash(),h=c.encodingLength-1,d=m.slice(0,c.encodingLength);return d[0]&amp;=248,d[h]&amp;=127,d[h]|=64,d})),l(s,&quot;priv&quot;,(function(){return this.eddsa.decodeInt(this.privBytes())})),l(s,&quot;hash&quot;,(function(){return this.eddsa.hash().update(this.secret()).digest()})),l(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,m){return this.eddsa.verify(c,m,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,o){var i=t(&quot;bn.js&quot;),a=t(&quot;../utils&quot;),u=a.assert,l=a.cachedProperty,s=a.parseBytes;function c(m,h){this.eddsa=m,typeof h!=&quot;object&quot;&amp;&amp;(h=s(h)),Array.isArray(h)&amp;&amp;(h={R:h.slice(0,m.encodingLength),S:h.slice(m.encodingLength)}),u(h.R&amp;&amp;h.S,&quot;Signature without R or S&quot;),m.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}l(c,&quot;S&quot;,(function(){return this.eddsa.decodeInt(this.Sencoded())})),l(c,&quot;R&quot;,(function(){return this.eddsa.decodePoint(this.Rencoded())})),l(c,&quot;Rencoded&quot;,(function(){return this.eddsa.encodePoint(this.R())})),l(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,o){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,o){var i=o,a=t(&quot;bn.js&quot;),u=t(&quot;minimalistic-assert&quot;),l=t(&quot;minimalistic-crypto-utils&quot;);i.assert=u,i.toArray=l.toArray,i.zero2=l.zero2,i.toHex=l.toHex,i.encode=l.encode,i.getNAF=function(s,c,m){var h=new Array(Math.max(s.bitLength(),m)+1);h.fill(0);for(var d=1&lt;&lt;c+1,g=s.clone(),y=0;y&lt;h.length;y++){var p,b=g.andln(d-1);g.isOdd()?(p=b&gt;(d&gt;&gt;1)-1?(d&gt;&gt;1)-b:b,g.isubn(p)):p=0,h[y]=p,g.iushrn(1)}return h},i.getJSF=function(s,c){var m=[[],[]];s=s.clone(),c=c.clone();for(var h,d=0,g=0;s.cmpn(-d)&gt;0||c.cmpn(-g)&gt;0;){var y,p,b=s.andln(3)+d&amp;3,x=c.andln(3)+g&amp;3;b===3&amp;&amp;(b=-1),x===3&amp;&amp;(x=-1),y=(1&amp;b)==0?0:(h=s.andln(7)+d&amp;7)!==3&amp;&amp;h!==5||x!==2?b:-b,m[0].push(y),p=(1&amp;x)==0?0:(h=c.andln(7)+g&amp;7)!==3&amp;&amp;h!==5||b!==2?x:-x,m[1].push(p),2*d===y+1&amp;&amp;(d=1-d),2*g===p+1&amp;&amp;(g=1-g),s.iushrn(1),c.iushrn(1)}return m},i.cachedProperty=function(s,c,m){var h=&quot;_&quot;+c;s.prototype[c]=function(){return this[h]!==void 0?this[h]:this[h]=m.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,o){arguments[4][184][0].apply(o,arguments)},{buffer:188,dup:184}],421:[function(t,n,o){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,o){var i=Object.create||function(L){var V=function(){};return V.prototype=L,new V},a=Object.keys||function(L){var V=[];for(var H in L)Object.prototype.hasOwnProperty.call(L,H)&amp;&amp;V.push(H);return H},u=Function.prototype.bind||function(L){var V=this;return function(){return V.apply(L,arguments)}};function l(){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=l,l.EventEmitter=l,l.prototype._events=void 0,l.prototype._maxListeners=void 0;var s,c=10;try{var m={};Object.defineProperty&amp;&amp;Object.defineProperty(m,&quot;x&quot;,{value:0}),s=m.x===0}catch{s=!1}function h(L){return L._maxListeners===void 0?l.defaultMaxListeners:L._maxListeners}function d(L,V,H){if(V)L.call(H);else for(var K=L.length,z=W(L,K),O=0;O&lt;K;++O)z[O].call(H)}function g(L,V,H,K){if(V)L.call(H,K);else for(var z=L.length,O=W(L,z),I=0;I&lt;z;++I)O[I].call(H,K)}function y(L,V,H,K,z){if(V)L.call(H,K,z);else for(var O=L.length,I=W(L,O),C=0;C&lt;O;++C)I[C].call(H,K,z)}function p(L,V,H,K,z,O){if(V)L.call(H,K,z,O);else for(var I=L.length,C=W(L,I),j=0;j&lt;I;++j)C[j].call(H,K,z,O)}function b(L,V,H,K){if(V)L.apply(H,K);else for(var z=L.length,O=W(L,z),I=0;I&lt;z;++I)O[I].apply(H,K)}function x(L,V,H,K){var z,O,I;if(typeof H!=&quot;function&quot;)throw new TypeError(&#039;&quot;listener&quot; argument must be a function&#039;);if((O=L._events)?(O.newListener&amp;&amp;(L.emit(&quot;newListener&quot;,V,H.listener?H.listener:H),O=L._events),I=O[V]):(O=L._events=i(null),L._eventsCount=0),I){if(typeof I==&quot;function&quot;?I=O[V]=K?[H,I]:[I,H]:K?I.unshift(H):I.push(H),!I.warned&amp;&amp;(z=h(L))&amp;&amp;z&gt;0&amp;&amp;I.length&gt;z){I.warned=!0;var C=new Error(&quot;Possible EventEmitter memory leak detected. &quot;+I.length+&#039; &quot;&#039;+String(V)+&#039;&quot; listeners added. Use emitter.setMaxListeners() to increase limit.&#039;);C.name=&quot;MaxListenersExceededWarning&quot;,C.emitter=L,C.type=V,C.count=I.length,typeof console==&quot;object&quot;&amp;&amp;console.warn&amp;&amp;console.warn(&quot;%s: %s&quot;,C.name,C.message)}}else I=O[V]=H,++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),V=0;V&lt;L.length;++V)L[V]=arguments[V];this.listener.apply(this.target,L)}}function E(L,V,H){var K={fired:!1,wrapFn:void 0,target:L,type:V,listener:H},z=u.call(_,K);return z.listener=H,K.wrapFn=z,z}function M(L,V,H){var K=L._events;if(!K)return[];var z=K[V];return z?typeof z==&quot;function&quot;?H?[z.listener||z]:[z]:H?(function(O){for(var I=new Array(O.length),C=0;C&lt;I.length;++C)I[C]=O[C].listener||O[C];return I})(z):W(z,z.length):[]}function D(L){var V=this._events;if(V){var H=V[L];if(typeof H==&quot;function&quot;)return 1;if(H)return H.length}return 0}function W(L,V){for(var H=new Array(V),K=0;K&lt;V;++K)H[K]=L[K];return H}s?Object.defineProperty(l,&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}}):l.defaultMaxListeners=c,l.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},l.prototype.getMaxListeners=function(){return h(this)},l.prototype.emit=function(L){var V,H,K,z,O,I,C=L===&quot;error&quot;;if(I=this._events)C=C&amp;&amp;I.error==null;else if(!C)return!1;if(C){if(arguments.length&gt;1&amp;&amp;(V=arguments[1]),V instanceof Error)throw V;var j=new Error(&#039;Unhandled &quot;error&quot; event. (&#039;+V+&quot;)&quot;);throw j.context=V,j}if(!(H=I[L]))return!1;var k=typeof H==&quot;function&quot;;switch(K=arguments.length){case 1:d(H,k,this);break;case 2:g(H,k,this,arguments[1]);break;case 3:y(H,k,this,arguments[1],arguments[2]);break;case 4:p(H,k,this,arguments[1],arguments[2],arguments[3]);break;default:for(z=new Array(K-1),O=1;O&lt;K;O++)z[O-1]=arguments[O];b(H,k,this,z)}return!0},l.prototype.addListener=function(L,V){return x(this,L,V,!1)},l.prototype.on=l.prototype.addListener,l.prototype.prependListener=function(L,V){return x(this,L,V,!0)},l.prototype.once=function(L,V){if(typeof V!=&quot;function&quot;)throw new TypeError(&#039;&quot;listener&quot; argument must be a function&#039;);return this.on(L,E(this,L,V)),this},l.prototype.prependOnceListener=function(L,V){if(typeof V!=&quot;function&quot;)throw new TypeError(&#039;&quot;listener&quot; argument must be a function&#039;);return this.prependListener(L,E(this,L,V)),this},l.prototype.removeListener=function(L,V){var H,K,z,O,I;if(typeof V!=&quot;function&quot;)throw new TypeError(&#039;&quot;listener&quot; argument must be a function&#039;);if(!(K=this._events))return this;if(!(H=K[L]))return this;if(H===V||H.listener===V)--this._eventsCount==0?this._events=i(null):(delete K[L],K.removeListener&amp;&amp;this.emit(&quot;removeListener&quot;,L,H.listener||V));else if(typeof H!=&quot;function&quot;){for(z=-1,O=H.length-1;O&gt;=0;O--)if(H[O]===V||H[O].listener===V){I=H[O].listener,z=O;break}if(z&lt;0)return this;z===0?H.shift():(function(C,j){for(var k=j,S=k+1,N=C.length;S&lt;N;k+=1,S+=1)C[k]=C[S];C.pop()})(H,z),H.length===1&amp;&amp;(K[L]=H[0]),K.removeListener&amp;&amp;this.emit(&quot;removeListener&quot;,L,I||V)}return this},l.prototype.removeAllListeners=function(L){var V,H,K;if(!(H=this._events))return this;if(!H.removeListener)return arguments.length===0?(this._events=i(null),this._eventsCount=0):H[L]&amp;&amp;(--this._eventsCount==0?this._events=i(null):delete H[L]),this;if(arguments.length===0){var z,O=a(H);for(K=0;K&lt;O.length;++K)(z=O[K])!==&quot;removeListener&quot;&amp;&amp;this.removeAllListeners(z);return this.removeAllListeners(&quot;removeListener&quot;),this._events=i(null),this._eventsCount=0,this}if(typeof(V=H[L])==&quot;function&quot;)this.removeListener(L,V);else if(V)for(K=V.length-1;K&gt;=0;K--)this.removeListener(L,V[K]);return this},l.prototype.listeners=function(L){return M(this,L,!0)},l.prototype.rawListeners=function(L){return M(this,L,!1)},l.listenerCount=function(L,V){return typeof L.listenerCount==&quot;function&quot;?L.listenerCount(V):D.call(L,V)},l.prototype.listenerCount=D,l.prototype.eventNames=function(){return this._eventsCount&gt;0?Reflect.ownKeys(this._events):[]}},{}],423:[function(t,n,o){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;md5.js&quot;);n.exports=function(u,l,s,c){if(i.isBuffer(u)||(u=i.from(u,&quot;binary&quot;)),l&amp;&amp;(i.isBuffer(l)||(l=i.from(l,&quot;binary&quot;)),l.length!==8))throw new RangeError(&quot;salt should be Buffer with 8 byte length&quot;);for(var m=s/8,h=i.alloc(m),d=i.alloc(c||0),g=i.alloc(0);m&gt;0||c&gt;0;){var y=new a;y.update(g),y.update(u),l&amp;&amp;y.update(l),g=y.digest();var p=0;if(m&gt;0){var b=h.length-m;p=Math.min(m,g.length),g.copy(h,b,0,p),m-=p}if(p&lt;g.length&amp;&amp;c&gt;0){var x=d.length-c,_=Math.min(c,g.length-p);g.copy(d,x,p,p+_),c-=_}}return g.fill(0),{key:h,iv:d}}},{&quot;md5.js&quot;:450,&quot;safe-buffer&quot;:494}],424:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.CsvParserStream=o.ParserOptions=o.parseFile=o.parseStream=o.parseString=o.parse=o.FormatterOptions=o.CsvFormatterStream=o.writeToPath=o.writeToString=o.writeToBuffer=o.writeToStream=o.write=o.format=void 0;var i=t(&quot;@fast-csv/format&quot;);Object.defineProperty(o,&quot;format&quot;,{enumerable:!0,get:function(){return i.format}}),Object.defineProperty(o,&quot;write&quot;,{enumerable:!0,get:function(){return i.write}}),Object.defineProperty(o,&quot;writeToStream&quot;,{enumerable:!0,get:function(){return i.writeToStream}}),Object.defineProperty(o,&quot;writeToBuffer&quot;,{enumerable:!0,get:function(){return i.writeToBuffer}}),Object.defineProperty(o,&quot;writeToString&quot;,{enumerable:!0,get:function(){return i.writeToString}}),Object.defineProperty(o,&quot;writeToPath&quot;,{enumerable:!0,get:function(){return i.writeToPath}}),Object.defineProperty(o,&quot;CsvFormatterStream&quot;,{enumerable:!0,get:function(){return i.CsvFormatterStream}}),Object.defineProperty(o,&quot;FormatterOptions&quot;,{enumerable:!0,get:function(){return i.FormatterOptions}});var a=t(&quot;@fast-csv/parse&quot;);Object.defineProperty(o,&quot;parse&quot;,{enumerable:!0,get:function(){return a.parse}}),Object.defineProperty(o,&quot;parseString&quot;,{enumerable:!0,get:function(){return a.parseString}}),Object.defineProperty(o,&quot;parseStream&quot;,{enumerable:!0,get:function(){return a.parseStream}}),Object.defineProperty(o,&quot;parseFile&quot;,{enumerable:!0,get:function(){return a.parseFile}}),Object.defineProperty(o,&quot;ParserOptions&quot;,{enumerable:!0,get:function(){return a.ParserOptions}}),Object.defineProperty(o,&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,o){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;readable-stream&quot;).Transform;function u(l){a.call(this),this._block=i.allocUnsafe(l),this._blockSize=l,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}t(&quot;inherits&quot;)(u,a),u.prototype._transform=function(l,s,c){var m=null;try{this.update(l,s)}catch(h){m=h}c(m)},u.prototype._flush=function(l){var s=null;try{this.push(this.digest())}catch(c){s=c}l(s)},u.prototype.update=function(l,s){if((function(y,p){if(!i.isBuffer(y)&amp;&amp;typeof y!=&quot;string&quot;)throw new TypeError(p+&quot; must be a string or a buffer&quot;)})(l,&quot;Data&quot;),this._finalized)throw new Error(&quot;Digest already called&quot;);i.isBuffer(l)||(l=i.from(l,s));for(var c=this._block,m=0;this._blockOffset+l.length-m&gt;=this._blockSize;){for(var h=this._blockOffset;h&lt;this._blockSize;)c[h++]=l[m++];this._update(),this._blockOffset=0}for(;m&lt;l.length;)c[this._blockOffset++]=l[m++];for(var d=0,g=8*l.length;g&gt;0;++d)this._length[d]+=g,(g=this._length[d]/4294967296|0)&gt;0&amp;&amp;(this._length[d]-=4294967296*g);return this},u.prototype._update=function(){throw new Error(&quot;_update is not implemented&quot;)},u.prototype.digest=function(l){if(this._finalized)throw new Error(&quot;Digest already called&quot;);this._finalized=!0;var s=this._digest();l!==void 0&amp;&amp;(s=s.toString(l)),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,o){var i=o;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,o){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}o.BlockHash=u,u.prototype.update=function(l,s){if(l=i.toArray(l,s),this.pending?this.pending=this.pending.concat(l):this.pending=l,this.pendingTotal+=l.length,this.pending.length&gt;=this._delta8){var c=(l=this.pending).length%this._delta8;this.pending=l.slice(l.length-c,l.length),this.pending.length===0&amp;&amp;(this.pending=null),l=i.join32(l,0,l.length-c,this.endian);for(var m=0;m&lt;l.length;m+=this._delta32)this._update(l,m,m+this._delta32)}return this},u.prototype.digest=function(l){return this.update(this._pad()),a(this.pending===null),this._digest(l)},u.prototype._pad=function(){var l=this.pendingTotal,s=this._delta8,c=s-(l+this.padLength)%s,m=new Array(c+this.padLength);m[0]=128;for(var h=1;h&lt;c;h++)m[h]=0;if(l&lt;&lt;=3,this.endian===&quot;big&quot;){for(var d=8;d&lt;this.padLength;d++)m[h++]=0;m[h++]=0,m[h++]=0,m[h++]=0,m[h++]=0,m[h++]=l&gt;&gt;&gt;24&amp;255,m[h++]=l&gt;&gt;&gt;16&amp;255,m[h++]=l&gt;&gt;&gt;8&amp;255,m[h++]=255&amp;l}else for(m[h++]=255&amp;l,m[h++]=l&gt;&gt;&gt;8&amp;255,m[h++]=l&gt;&gt;&gt;16&amp;255,m[h++]=l&gt;&gt;&gt;24&amp;255,m[h++]=0,m[h++]=0,m[h++]=0,m[h++]=0,d=8;d&lt;this.padLength;d++)m[h++]=0;return m}},{&quot;./utils&quot;:437,&quot;minimalistic-assert&quot;:453}],428:[function(t,n,o){var i=t(&quot;./utils&quot;),a=t(&quot;minimalistic-assert&quot;);function u(l,s,c){if(!(this instanceof u))return new u(l,s,c);this.Hash=l,this.blockSize=l.blockSize/8,this.outSize=l.outSize/8,this.inner=null,this.outer=null,this._init(i.toArray(s,c))}n.exports=u,u.prototype._init=function(l){l.length&gt;this.blockSize&amp;&amp;(l=new this.Hash().update(l).digest()),a(l.length&lt;=this.blockSize);for(var s=l.length;s&lt;this.blockSize;s++)l.push(0);for(s=0;s&lt;l.length;s++)l[s]^=54;for(this.inner=new this.Hash().update(l),s=0;s&lt;l.length;s++)l[s]^=106;this.outer=new this.Hash().update(l)},u.prototype.update=function(l,s){return this.inner.update(l,s),this},u.prototype.digest=function(l){return this.outer.update(this.inner.digest()),this.outer.digest(l)}},{&quot;./utils&quot;:437,&quot;minimalistic-assert&quot;:453}],429:[function(t,n,o){var i=t(&quot;./utils&quot;),a=t(&quot;./common&quot;),u=i.rotl32,l=i.sum32,s=i.sum32_3,c=i.sum32_4,m=a.BlockHash;function h(){if(!(this instanceof h))return new h;m.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian=&quot;little&quot;}function d(E,M,D,W){return E&lt;=15?M^D^W:E&lt;=31?M&amp;D|~M&amp;W:E&lt;=47?(M|~D)^W:E&lt;=63?M&amp;W|D&amp;~W:M^(D|~W)}function g(E){return E&lt;=15?0:E&lt;=31?1518500249:E&lt;=47?1859775393:E&lt;=63?2400959708:2840853838}function y(E){return E&lt;=15?1352829926:E&lt;=31?1548603684:E&lt;=47?1836072691:E&lt;=63?2053994217:0}i.inherits(h,m),o.ripemd160=h,h.blockSize=512,h.outSize=160,h.hmacStrength=192,h.padLength=64,h.prototype._update=function(E,M){for(var D=this.h[0],W=this.h[1],L=this.h[2],V=this.h[3],H=this.h[4],K=D,z=W,O=L,I=V,C=H,j=0;j&lt;80;j++){var k=l(u(c(D,d(j,W,L,V),E[p[j]+M],g(j)),x[j]),H);D=H,H=V,V=u(L,10),L=W,W=k,k=l(u(c(K,d(79-j,z,O,I),E[b[j]+M],y(j)),_[j]),C),K=C,C=I,I=u(O,10),O=z,z=k}k=s(this.h[1],L,I),this.h[1]=s(this.h[2],V,C),this.h[2]=s(this.h[3],H,K),this.h[3]=s(this.h[4],D,z),this.h[4]=s(this.h[0],W,O),this.h[0]=k},h.prototype._digest=function(E){return E===&quot;hex&quot;?i.toHex32(this.h,&quot;little&quot;):i.split32(this.h,&quot;little&quot;)};var p=[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,o){o.sha1=t(&quot;./sha/1&quot;),o.sha224=t(&quot;./sha/224&quot;),o.sha256=t(&quot;./sha/256&quot;),o.sha384=t(&quot;./sha/384&quot;),o.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,o){var i=t(&quot;../utils&quot;),a=t(&quot;../common&quot;),u=t(&quot;./common&quot;),l=i.rotl32,s=i.sum32,c=i.sum32_5,m=u.ft_1,h=a.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function g(){if(!(this instanceof g))return new g;h.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}i.inherits(g,h),n.exports=g,g.blockSize=512,g.outSize=160,g.hmacStrength=80,g.padLength=64,g.prototype._update=function(y,p){for(var b=this.W,x=0;x&lt;16;x++)b[x]=y[p+x];for(;x&lt;b.length;x++)b[x]=l(b[x-3]^b[x-8]^b[x-14]^b[x-16],1);var _=this.h[0],E=this.h[1],M=this.h[2],D=this.h[3],W=this.h[4];for(x=0;x&lt;b.length;x++){var L=~~(x/20),V=c(l(_,5),m(L,E,M,D),W,b[x],d[L]);W=D,D=M,M=l(E,30),E=_,_=V}this.h[0]=s(this.h[0],_),this.h[1]=s(this.h[1],E),this.h[2]=s(this.h[2],M),this.h[3]=s(this.h[3],D),this.h[4]=s(this.h[4],W)},g.prototype._digest=function(y){return y===&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,o){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(l){return l===&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,o){var i=t(&quot;../utils&quot;),a=t(&quot;../common&quot;),u=t(&quot;./common&quot;),l=t(&quot;minimalistic-assert&quot;),s=i.sum32,c=i.sum32_4,m=i.sum32_5,h=u.ch32,d=u.maj32,g=u.s0_256,y=u.s1_256,p=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 E(){if(!(this instanceof E))return new E;x.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=_,this.W=new Array(64)}i.inherits(E,x),n.exports=E,E.blockSize=512,E.outSize=256,E.hmacStrength=192,E.padLength=64,E.prototype._update=function(M,D){for(var W=this.W,L=0;L&lt;16;L++)W[L]=M[D+L];for(;L&lt;W.length;L++)W[L]=c(b(W[L-2]),W[L-7],p(W[L-15]),W[L-16]);var V=this.h[0],H=this.h[1],K=this.h[2],z=this.h[3],O=this.h[4],I=this.h[5],C=this.h[6],j=this.h[7];for(l(this.k.length===W.length),L=0;L&lt;W.length;L++){var k=m(j,y(O),h(O,I,C),this.k[L],W[L]),S=s(g(V),d(V,H,K));j=C,C=I,I=O,O=s(z,k),z=K,K=H,H=V,V=s(k,S)}this.h[0]=s(this.h[0],V),this.h[1]=s(this.h[1],H),this.h[2]=s(this.h[2],K),this.h[3]=s(this.h[3],z),this.h[4]=s(this.h[4],O),this.h[5]=s(this.h[5],I),this.h[6]=s(this.h[6],C),this.h[7]=s(this.h[7],j)},E.prototype._digest=function(M){return M===&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,o){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(l){return l===&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,o){var i=t(&quot;../utils&quot;),a=t(&quot;../common&quot;),u=t(&quot;minimalistic-assert&quot;),l=i.rotr64_hi,s=i.rotr64_lo,c=i.shr64_hi,m=i.shr64_lo,h=i.sum64,d=i.sum64_hi,g=i.sum64_lo,y=i.sum64_4_hi,p=i.sum64_4_lo,b=i.sum64_5_hi,x=i.sum64_5_lo,_=a.BlockHash,E=[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 M(){if(!(this instanceof M))return new M;_.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=E,this.W=new Array(160)}function D(S,N,T,R,B){var Y=S&amp;T^~S&amp;B;return Y&lt;0&amp;&amp;(Y+=4294967296),Y}function W(S,N,T,R,B,Y){var Q=N&amp;R^~N&amp;Y;return Q&lt;0&amp;&amp;(Q+=4294967296),Q}function L(S,N,T,R,B){var Y=S&amp;T^S&amp;B^T&amp;B;return Y&lt;0&amp;&amp;(Y+=4294967296),Y}function V(S,N,T,R,B,Y){var Q=N&amp;R^N&amp;Y^R&amp;Y;return Q&lt;0&amp;&amp;(Q+=4294967296),Q}function H(S,N){var T=l(S,N,28)^l(N,S,2)^l(N,S,7);return T&lt;0&amp;&amp;(T+=4294967296),T}function K(S,N){var T=s(S,N,28)^s(N,S,2)^s(N,S,7);return T&lt;0&amp;&amp;(T+=4294967296),T}function z(S,N){var T=l(S,N,14)^l(S,N,18)^l(N,S,9);return T&lt;0&amp;&amp;(T+=4294967296),T}function O(S,N){var T=s(S,N,14)^s(S,N,18)^s(N,S,9);return T&lt;0&amp;&amp;(T+=4294967296),T}function I(S,N){var T=l(S,N,1)^l(S,N,8)^c(S,N,7);return T&lt;0&amp;&amp;(T+=4294967296),T}function C(S,N){var T=s(S,N,1)^s(S,N,8)^m(S,N,7);return T&lt;0&amp;&amp;(T+=4294967296),T}function j(S,N){var T=l(S,N,19)^l(N,S,29)^c(S,N,6);return T&lt;0&amp;&amp;(T+=4294967296),T}function k(S,N){var T=s(S,N,19)^s(N,S,29)^m(S,N,6);return T&lt;0&amp;&amp;(T+=4294967296),T}i.inherits(M,_),n.exports=M,M.blockSize=1024,M.outSize=512,M.hmacStrength=192,M.padLength=128,M.prototype._prepareBlock=function(S,N){for(var T=this.W,R=0;R&lt;32;R++)T[R]=S[N+R];for(;R&lt;T.length;R+=2){var B=j(T[R-4],T[R-3]),Y=k(T[R-4],T[R-3]),Q=T[R-14],ne=T[R-13],U=I(T[R-30],T[R-29]),ee=C(T[R-30],T[R-29]),F=T[R-32],P=T[R-31];T[R]=y(B,Y,Q,ne,U,ee,F,P),T[R+1]=p(B,Y,Q,ne,U,ee,F,P)}},M.prototype._update=function(S,N){this._prepareBlock(S,N);var T=this.W,R=this.h[0],B=this.h[1],Y=this.h[2],Q=this.h[3],ne=this.h[4],U=this.h[5],ee=this.h[6],F=this.h[7],P=this.h[8],X=this.h[9],re=this.h[10],Z=this.h[11],te=this.h[12],ae=this.h[13],ce=this.h[14],fe=this.h[15];u(this.k.length===T.length);for(var se=0;se&lt;T.length;se+=2){var ue=ce,ie=fe,he=z(P,X),ge=O(P,X),pe=D(P,X,re,Z,te),le=W(P,X,re,Z,te,ae),_e=this.k[se],Se=this.k[se+1],Oe=T[se],Pe=T[se+1],Ie=b(ue,ie,he,ge,pe,le,_e,Se,Oe,Pe),Ve=x(ue,ie,he,ge,pe,le,_e,Se,Oe,Pe);ue=H(R,B),ie=K(R,B),he=L(R,B,Y,Q,ne),ge=V(R,B,Y,Q,ne,U);var Qe=d(ue,ie,he,ge),Ke=g(ue,ie,he,ge);ce=te,fe=ae,te=re,ae=Z,re=P,Z=X,P=d(ee,F,Ie,Ve),X=g(F,F,Ie,Ve),ee=ne,F=U,ne=Y,U=Q,Y=R,Q=B,R=d(Ie,Ve,Qe,Ke),B=g(Ie,Ve,Qe,Ke)}h(this.h,0,R,B),h(this.h,2,Y,Q),h(this.h,4,ne,U),h(this.h,6,ee,F),h(this.h,8,P,X),h(this.h,10,re,Z),h(this.h,12,te,ae),h(this.h,14,ce,fe)},M.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,o){var i=t(&quot;../utils&quot;).rotr32;function a(s,c,m){return s&amp;c^~s&amp;m}function u(s,c,m){return s&amp;c^s&amp;m^c&amp;m}function l(s,c,m){return s^c^m}o.ft_1=function(s,c,m,h){return s===0?a(c,m,h):s===1||s===3?l(c,m,h):s===2?u(c,m,h):void 0},o.ch32=a,o.maj32=u,o.p32=l,o.s0_256=function(s){return i(s,2)^i(s,13)^i(s,22)},o.s1_256=function(s){return i(s,6)^i(s,11)^i(s,25)},o.g0_256=function(s){return i(s,7)^i(s,18)^s&gt;&gt;&gt;3},o.g1_256=function(s){return i(s,17)^i(s,19)^s&gt;&gt;&gt;10}},{&quot;../utils&quot;:437}],437:[function(t,n,o){var i=t(&quot;minimalistic-assert&quot;),a=t(&quot;inherits&quot;);function u(m,h){return(64512&amp;m.charCodeAt(h))==55296&amp;&amp;!(h&lt;0||h+1&gt;=m.length)&amp;&amp;(64512&amp;m.charCodeAt(h+1))==56320}function l(m){return(m&gt;&gt;&gt;24|m&gt;&gt;&gt;8&amp;65280|m&lt;&lt;8&amp;16711680|(255&amp;m)&lt;&lt;24)&gt;&gt;&gt;0}function s(m){return m.length===1?&quot;0&quot;+m:m}function c(m){return m.length===7?&quot;0&quot;+m:m.length===6?&quot;00&quot;+m:m.length===5?&quot;000&quot;+m:m.length===4?&quot;0000&quot;+m:m.length===3?&quot;00000&quot;+m:m.length===2?&quot;000000&quot;+m:m.length===1?&quot;0000000&quot;+m:m}o.inherits=a,o.toArray=function(m,h){if(Array.isArray(m))return m.slice();if(!m)return[];var d=[];if(typeof m==&quot;string&quot;)if(h){if(h===&quot;hex&quot;)for((m=m.replace(/[^a-z0-9]+/gi,&quot;&quot;)).length%2!=0&amp;&amp;(m=&quot;0&quot;+m),y=0;y&lt;m.length;y+=2)d.push(parseInt(m[y]+m[y+1],16))}else for(var g=0,y=0;y&lt;m.length;y++){var p=m.charCodeAt(y);p&lt;128?d[g++]=p:p&lt;2048?(d[g++]=p&gt;&gt;6|192,d[g++]=63&amp;p|128):u(m,y)?(p=65536+((1023&amp;p)&lt;&lt;10)+(1023&amp;m.charCodeAt(++y)),d[g++]=p&gt;&gt;18|240,d[g++]=p&gt;&gt;12&amp;63|128,d[g++]=p&gt;&gt;6&amp;63|128,d[g++]=63&amp;p|128):(d[g++]=p&gt;&gt;12|224,d[g++]=p&gt;&gt;6&amp;63|128,d[g++]=63&amp;p|128)}else for(y=0;y&lt;m.length;y++)d[y]=0|m[y];return d},o.toHex=function(m){for(var h=&quot;&quot;,d=0;d&lt;m.length;d++)h+=s(m[d].toString(16));return h},o.htonl=l,o.toHex32=function(m,h){for(var d=&quot;&quot;,g=0;g&lt;m.length;g++){var y=m[g];h===&quot;little&quot;&amp;&amp;(y=l(y)),d+=c(y.toString(16))}return d},o.zero2=s,o.zero8=c,o.join32=function(m,h,d,g){var y=d-h;i(y%4==0);for(var p=new Array(y/4),b=0,x=h;b&lt;p.length;b++,x+=4){var _;_=g===&quot;big&quot;?m[x]&lt;&lt;24|m[x+1]&lt;&lt;16|m[x+2]&lt;&lt;8|m[x+3]:m[x+3]&lt;&lt;24|m[x+2]&lt;&lt;16|m[x+1]&lt;&lt;8|m[x],p[b]=_&gt;&gt;&gt;0}return p},o.split32=function(m,h){for(var d=new Array(4*m.length),g=0,y=0;g&lt;m.length;g++,y+=4){var p=m[g];h===&quot;big&quot;?(d[y]=p&gt;&gt;&gt;24,d[y+1]=p&gt;&gt;&gt;16&amp;255,d[y+2]=p&gt;&gt;&gt;8&amp;255,d[y+3]=255&amp;p):(d[y+3]=p&gt;&gt;&gt;24,d[y+2]=p&gt;&gt;&gt;16&amp;255,d[y+1]=p&gt;&gt;&gt;8&amp;255,d[y]=255&amp;p)}return d},o.rotr32=function(m,h){return m&gt;&gt;&gt;h|m&lt;&lt;32-h},o.rotl32=function(m,h){return m&lt;&lt;h|m&gt;&gt;&gt;32-h},o.sum32=function(m,h){return m+h&gt;&gt;&gt;0},o.sum32_3=function(m,h,d){return m+h+d&gt;&gt;&gt;0},o.sum32_4=function(m,h,d,g){return m+h+d+g&gt;&gt;&gt;0},o.sum32_5=function(m,h,d,g,y){return m+h+d+g+y&gt;&gt;&gt;0},o.sum64=function(m,h,d,g){var y=m[h],p=g+m[h+1]&gt;&gt;&gt;0,b=(p&lt;g?1:0)+d+y;m[h]=b&gt;&gt;&gt;0,m[h+1]=p},o.sum64_hi=function(m,h,d,g){return(h+g&gt;&gt;&gt;0&lt;h?1:0)+m+d&gt;&gt;&gt;0},o.sum64_lo=function(m,h,d,g){return h+g&gt;&gt;&gt;0},o.sum64_4_hi=function(m,h,d,g,y,p,b,x){var _=0,E=h;return _+=(E=E+g&gt;&gt;&gt;0)&lt;h?1:0,_+=(E=E+p&gt;&gt;&gt;0)&lt;p?1:0,m+d+y+b+(_+=(E=E+x&gt;&gt;&gt;0)&lt;x?1:0)&gt;&gt;&gt;0},o.sum64_4_lo=function(m,h,d,g,y,p,b,x){return h+g+p+x&gt;&gt;&gt;0},o.sum64_5_hi=function(m,h,d,g,y,p,b,x,_,E){var M=0,D=h;return M+=(D=D+g&gt;&gt;&gt;0)&lt;h?1:0,M+=(D=D+p&gt;&gt;&gt;0)&lt;p?1:0,M+=(D=D+x&gt;&gt;&gt;0)&lt;x?1:0,m+d+y+b+_+(M+=(D=D+E&gt;&gt;&gt;0)&lt;E?1:0)&gt;&gt;&gt;0},o.sum64_5_lo=function(m,h,d,g,y,p,b,x,_,E){return h+g+p+x+E&gt;&gt;&gt;0},o.rotr64_hi=function(m,h,d){return(h&lt;&lt;32-d|m&gt;&gt;&gt;d)&gt;&gt;&gt;0},o.rotr64_lo=function(m,h,d){return(m&lt;&lt;32-d|h&gt;&gt;&gt;d)&gt;&gt;&gt;0},o.shr64_hi=function(m,h,d){return m&gt;&gt;&gt;d},o.shr64_lo=function(m,h,d){return(m&lt;&lt;32-d|h&gt;&gt;&gt;d)&gt;&gt;&gt;0}},{inherits:440,&quot;minimalistic-assert&quot;:453}],438:[function(t,n,o){var i=t(&quot;hash.js&quot;),a=t(&quot;minimalistic-crypto-utils&quot;),u=t(&quot;minimalistic-assert&quot;);function l(s){if(!(this instanceof l))return new l(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;),m=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,m,h)}n.exports=l,l.prototype._init=function(s,c,m){var h=s.concat(c).concat(m);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var d=0;d&lt;this.V.length;d++)this.K[d]=0,this.V[d]=1;this._update(h),this._reseed=1,this.reseedInterval=281474976710656},l.prototype._hmac=function(){return new i.hmac(this.hash,this.K)},l.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())},l.prototype.reseed=function(s,c,m,h){typeof c!=&quot;string&quot;&amp;&amp;(h=m,m=c,c=null),s=a.toArray(s,c),m=a.toArray(m,h),u(s.length&gt;=this.minEntropy/8,&quot;Not enough entropy. Minimum is: &quot;+this.minEntropy+&quot; bits&quot;),this._update(s.concat(m||[])),this._reseed=1},l.prototype.generate=function(s,c,m,h){if(this._reseed&gt;this.reseedInterval)throw new Error(&quot;Reseed is required&quot;);typeof c!=&quot;string&quot;&amp;&amp;(h=m,m=c,c=null),m&amp;&amp;(m=a.toArray(m,h||&quot;hex&quot;),this._update(m));for(var d=[];d.length&lt;s;)this.V=this._hmac().update(this.V).digest(),d=d.concat(this.V);var g=d.slice(0,s);return this._update(m),this._reseed++,a.encode(g,c)}},{&quot;hash.js&quot;:426,&quot;minimalistic-assert&quot;:453,&quot;minimalistic-crypto-utils&quot;:454}],439:[function(t,n,o){o.read=function(i,a,u,l,s){var c,m,h=8*s-l-1,d=(1&lt;&lt;h)-1,g=d&gt;&gt;1,y=-7,p=u?s-1:0,b=u?-1:1,x=i[a+p];for(p+=b,c=x&amp;(1&lt;&lt;-y)-1,x&gt;&gt;=-y,y+=h;y&gt;0;c=256*c+i[a+p],p+=b,y-=8);for(m=c&amp;(1&lt;&lt;-y)-1,c&gt;&gt;=-y,y+=l;y&gt;0;m=256*m+i[a+p],p+=b,y-=8);if(c===0)c=1-g;else{if(c===d)return m?NaN:1/0*(x?-1:1);m+=Math.pow(2,l),c-=g}return(x?-1:1)*m*Math.pow(2,c-l)},o.write=function(i,a,u,l,s,c){var m,h,d,g=8*c-s-1,y=(1&lt;&lt;g)-1,p=y&gt;&gt;1,b=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=l?0:c-1,_=l?1:-1,E=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,m=y):(m=Math.floor(Math.log(a)/Math.LN2),a*(d=Math.pow(2,-m))&lt;1&amp;&amp;(m--,d*=2),(a+=m+p&gt;=1?b/d:b*Math.pow(2,1-p))*d&gt;=2&amp;&amp;(m++,d/=2),m+p&gt;=y?(h=0,m=y):m+p&gt;=1?(h=(a*d-1)*Math.pow(2,s),m+=p):(h=a*Math.pow(2,p-1)*Math.pow(2,s),m=0));s&gt;=8;i[u+x]=255&amp;h,x+=_,h/=256,s-=8);for(m=m&lt;&lt;s|h,g+=s;g&gt;0;i[u+x]=255&amp;m,x+=_,m/=256,g-=8);i[u+x-_]|=128*E}},{}],440:[function(t,n,o){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,o){(function(i,a,u,l,s,c,m,h){(function(){(function(d){typeof o==&quot;object&quot;&amp;&amp;n!==void 0?n.exports=d():(typeof window&lt;&quot;u&quot;?window:a!==void 0?a:typeof self&lt;&quot;u&quot;?self:this).JSZip=d()})((function(){return(function d(g,y,p){function b(E,M){if(!y[E]){if(!g[E]){var D=typeof t==&quot;function&quot;&amp;&amp;t;if(!M&amp;&amp;D)return D(E,!0);if(x)return x(E,!0);var W=new Error(&quot;Cannot find module &#039;&quot;+E+&quot;&#039;&quot;);throw W.code=&quot;MODULE_NOT_FOUND&quot;,W}var L=y[E]={exports:{}};g[E][0].call(L.exports,(function(V){return b(g[E][1][V]||V)}),L,L.exports,d,g,y,p)}return y[E].exports}for(var x=typeof t==&quot;function&quot;&amp;&amp;t,_=0;_&lt;p.length;_++)b(p[_]);return b})({1:[function(d,g,y){var p=d(&quot;./utils&quot;),b=d(&quot;./support&quot;),x=&quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=&quot;;y.encode=function(_){for(var E,M,D,W,L,V,H,K=[],z=0,O=_.length,I=O,C=p.getTypeOf(_)!==&quot;string&quot;;z&lt;_.length;)I=O-z,D=C?(E=_[z++],M=z&lt;O?_[z++]:0,z&lt;O?_[z++]:0):(E=_.charCodeAt(z++),M=z&lt;O?_.charCodeAt(z++):0,z&lt;O?_.charCodeAt(z++):0),W=E&gt;&gt;2,L=(3&amp;E)&lt;&lt;4|M&gt;&gt;4,V=1&lt;I?(15&amp;M)&lt;&lt;2|D&gt;&gt;6:64,H=2&lt;I?63&amp;D:64,K.push(x.charAt(W)+x.charAt(L)+x.charAt(V)+x.charAt(H));return K.join(&quot;&quot;)},y.decode=function(_){var E,M,D,W,L,V,H=0,K=0,z=&quot;data:&quot;;if(_.substr(0,z.length)===z)throw new Error(&quot;Invalid base64 input, it looks like a data url.&quot;);var O,I=3*(_=_.replace(/[^A-Za-z0-9+/=]/g,&quot;&quot;)).length/4;if(_.charAt(_.length-1)===x.charAt(64)&amp;&amp;I--,_.charAt(_.length-2)===x.charAt(64)&amp;&amp;I--,I%1!=0)throw new Error(&quot;Invalid base64 input, bad content length.&quot;);for(O=b.uint8array?new Uint8Array(0|I):new Array(0|I);H&lt;_.length;)E=x.indexOf(_.charAt(H++))&lt;&lt;2|(W=x.indexOf(_.charAt(H++)))&gt;&gt;4,M=(15&amp;W)&lt;&lt;4|(L=x.indexOf(_.charAt(H++)))&gt;&gt;2,D=(3&amp;L)&lt;&lt;6|(V=x.indexOf(_.charAt(H++))),O[K++]=E,L!==64&amp;&amp;(O[K++]=M),V!==64&amp;&amp;(O[K++]=D);return O}},{&quot;./support&quot;:30,&quot;./utils&quot;:32}],2:[function(d,g,y){var p=d(&quot;./external&quot;),b=d(&quot;./stream/DataWorker&quot;),x=d(&quot;./stream/Crc32Probe&quot;),_=d(&quot;./stream/DataLengthProbe&quot;);function E(M,D,W,L,V){this.compressedSize=M,this.uncompressedSize=D,this.crc32=W,this.compression=L,this.compressedContent=V}E.prototype={getContentWorker:function(){var M=new b(p.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new _(&quot;data_length&quot;)),D=this;return M.on(&quot;end&quot;,(function(){if(this.streamInfo.data_length!==D.uncompressedSize)throw new Error(&quot;Bug : uncompressed data size mismatch&quot;)})),M},getCompressedWorker:function(){return new b(p.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)}},E.createWorkerFrom=function(M,D,W){return M.pipe(new x).pipe(new _(&quot;uncompressedSize&quot;)).pipe(D.compressWorker(W)).pipe(new _(&quot;compressedSize&quot;)).withStreamInfo(&quot;compression&quot;,D)},g.exports=E},{&quot;./external&quot;:6,&quot;./stream/Crc32Probe&quot;:25,&quot;./stream/DataLengthProbe&quot;:26,&quot;./stream/DataWorker&quot;:27}],3:[function(d,g,y){var p=d(&quot;./stream/GenericWorker&quot;);y.STORE={magic:&quot;\0\0&quot;,compressWorker:function(){return new p(&quot;STORE compression&quot;)},uncompressWorker:function(){return new p(&quot;STORE decompression&quot;)}},y.DEFLATE=d(&quot;./flate&quot;)},{&quot;./flate&quot;:7,&quot;./stream/GenericWorker&quot;:28}],4:[function(d,g,y){var p=d(&quot;./utils&quot;),b=(function(){for(var x,_=[],E=0;E&lt;256;E++){x=E;for(var M=0;M&lt;8;M++)x=1&amp;x?3988292384^x&gt;&gt;&gt;1:x&gt;&gt;&gt;1;_[E]=x}return _})();g.exports=function(x,_){return x!==void 0&amp;&amp;x.length?p.getTypeOf(x)!==&quot;string&quot;?(function(E,M,D,W){var L=b,V=0+D;E^=-1;for(var H=0;H&lt;V;H++)E=E&gt;&gt;&gt;8^L[255&amp;(E^M[H])];return-1^E})(0|_,x,x.length):(function(E,M,D,W){var L=b,V=0+D;E^=-1;for(var H=0;H&lt;V;H++)E=E&gt;&gt;&gt;8^L[255&amp;(E^M.charCodeAt(H))];return-1^E})(0|_,x,x.length):0}},{&quot;./utils&quot;:32}],5:[function(d,g,y){y.base64=!1,y.binary=!1,y.dir=!1,y.createFolders=!0,y.date=null,y.compression=null,y.compressionOptions=null,y.comment=null,y.unixPermissions=null,y.dosPermissions=null},{}],6:[function(d,g,y){var p;p=typeof Promise&lt;&quot;u&quot;?Promise:d(&quot;lie&quot;),g.exports={Promise:p}},{lie:37}],7:[function(d,g,y){var p=typeof Uint8Array&lt;&quot;u&quot;&amp;&amp;typeof Uint16Array&lt;&quot;u&quot;&amp;&amp;typeof Uint32Array&lt;&quot;u&quot;,b=d(&quot;pako&quot;),x=d(&quot;./utils&quot;),_=d(&quot;./stream/GenericWorker&quot;),E=p?&quot;uint8array&quot;:&quot;array&quot;;function M(D,W){_.call(this,&quot;FlateWorker/&quot;+D),this._pako=null,this._pakoAction=D,this._pakoOptions=W,this.meta={}}y.magic=&quot;\b\0&quot;,x.inherits(M,_),M.prototype.processChunk=function(D){this.meta=D.meta,this._pako===null&amp;&amp;this._createPako(),this._pako.push(x.transformTo(E,D.data),!1)},M.prototype.flush=function(){_.prototype.flush.call(this),this._pako===null&amp;&amp;this._createPako(),this._pako.push([],!0)},M.prototype.cleanUp=function(){_.prototype.cleanUp.call(this),this._pako=null},M.prototype._createPako=function(){this._pako=new b[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var D=this;this._pako.onData=function(W){D.push({data:W,meta:D.meta})}},y.compressWorker=function(D){return new M(&quot;Deflate&quot;,D)},y.uncompressWorker=function(){return new M(&quot;Inflate&quot;,{})}},{&quot;./stream/GenericWorker&quot;:28,&quot;./utils&quot;:32,pako:38}],8:[function(d,g,y){function p(L,V){var H,K=&quot;&quot;;for(H=0;H&lt;V;H++)K+=String.fromCharCode(255&amp;L),L&gt;&gt;&gt;=8;return K}function b(L,V,H,K,z,O){var I,C,j=L.file,k=L.compression,S=O!==E.utf8encode,N=x.transformTo(&quot;string&quot;,O(j.name)),T=x.transformTo(&quot;string&quot;,E.utf8encode(j.name)),R=j.comment,B=x.transformTo(&quot;string&quot;,O(R)),Y=x.transformTo(&quot;string&quot;,E.utf8encode(R)),Q=T.length!==j.name.length,ne=Y.length!==R.length,U=&quot;&quot;,ee=&quot;&quot;,F=&quot;&quot;,P=j.dir,X=j.date,re={crc32:0,compressedSize:0,uncompressedSize:0};V&amp;&amp;!H||(re.crc32=L.crc32,re.compressedSize=L.compressedSize,re.uncompressedSize=L.uncompressedSize);var Z=0;V&amp;&amp;(Z|=8),S||!Q&amp;&amp;!ne||(Z|=2048);var te=0,ae=0;P&amp;&amp;(te|=16),z===&quot;UNIX&quot;?(ae=798,te|=(function(fe,se){var ue=fe;return fe||(ue=se?16893:33204),(65535&amp;ue)&lt;&lt;16})(j.unixPermissions,P)):(ae=20,te|=(function(fe){return 63&amp;(fe||0)})(j.dosPermissions)),I=X.getUTCHours(),I&lt;&lt;=6,I|=X.getUTCMinutes(),I&lt;&lt;=5,I|=X.getUTCSeconds()/2,C=X.getUTCFullYear()-1980,C&lt;&lt;=4,C|=X.getUTCMonth()+1,C&lt;&lt;=5,C|=X.getUTCDate(),Q&amp;&amp;(ee=p(1,1)+p(M(N),4)+T,U+=&quot;up&quot;+p(ee.length,2)+ee),ne&amp;&amp;(F=p(1,1)+p(M(B),4)+Y,U+=&quot;uc&quot;+p(F.length,2)+F);var ce=&quot;&quot;;return ce+=`
\0`,ce+=p(Z,2),ce+=k.magic,ce+=p(I,2),ce+=p(C,2),ce+=p(re.crc32,4),ce+=p(re.compressedSize,4),ce+=p(re.uncompressedSize,4),ce+=p(N.length,2),ce+=p(U.length,2),{fileRecord:D.LOCAL_FILE_HEADER+ce+N+U,dirRecord:D.CENTRAL_FILE_HEADER+p(ae,2)+ce+p(B.length,2)+&quot;\0\0\0\0&quot;+p(te,4)+p(K,4)+N+U+B}}var x=d(&quot;../utils&quot;),_=d(&quot;../stream/GenericWorker&quot;),E=d(&quot;../utf8&quot;),M=d(&quot;../crc32&quot;),D=d(&quot;../signature&quot;);function W(L,V,H,K){_.call(this,&quot;ZipFileWorker&quot;),this.bytesWritten=0,this.zipComment=V,this.zipPlatform=H,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(W,_),W.prototype.push=function(L){var V=L.meta.percent||0,H=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:H?(V+100*(H-K-1))/H:100}}))},W.prototype.openedSource=function(L){this.currentSourceOffset=this.bytesWritten,this.currentFile=L.file.name;var V=this.streamFiles&amp;&amp;!L.file.dir;if(V){var H=b(L,V,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:H.fileRecord,meta:{percent:0}})}else this.accumulate=!0},W.prototype.closedSource=function(L){this.accumulate=!1;var V=this.streamFiles&amp;&amp;!L.file.dir,H=b(L,V,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(H.dirRecord),V)this.push({data:(function(K){return D.DATA_DESCRIPTOR+p(K.crc32,4)+p(K.compressedSize,4)+p(K.uncompressedSize,4)})(L),meta:{percent:100}});else for(this.push({data:H.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},W.prototype.flush=function(){for(var L=this.bytesWritten,V=0;V&lt;this.dirRecords.length;V++)this.push({data:this.dirRecords[V],meta:{percent:100}});var H=this.bytesWritten-L,K=(function(z,O,I,C,j){var k=x.transformTo(&quot;string&quot;,j(C));return D.CENTRAL_DIRECTORY_END+&quot;\0\0\0\0&quot;+p(z,2)+p(z,2)+p(O,4)+p(I,4)+p(k.length,2)+k})(this.dirRecords.length,H,L,this.zipComment,this.encodeFileName);this.push({data:K,meta:{percent:100}})},W.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},W.prototype.registerPrevious=function(L){this._sources.push(L);var V=this;return L.on(&quot;data&quot;,(function(H){V.processChunk(H)})),L.on(&quot;end&quot;,(function(){V.closedSource(V.previous.streamInfo),V._sources.length?V.prepareNextSource():V.end()})),L.on(&quot;error&quot;,(function(H){V.error(H)})),this},W.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))},W.prototype.error=function(L){var V=this._sources;if(!_.prototype.error.call(this,L))return!1;for(var H=0;H&lt;V.length;H++)try{V[H].error(L)}catch{}return!0},W.prototype.lock=function(){_.prototype.lock.call(this);for(var L=this._sources,V=0;V&lt;L.length;V++)L[V].lock()},g.exports=W},{&quot;../crc32&quot;:4,&quot;../signature&quot;:23,&quot;../stream/GenericWorker&quot;:28,&quot;../utf8&quot;:31,&quot;../utils&quot;:32}],9:[function(d,g,y){var p=d(&quot;../compressions&quot;),b=d(&quot;./ZipFileWorker&quot;);y.generateWorker=function(x,_,E){var M=new b(_.streamFiles,E,_.platform,_.encodeFileName),D=0;try{x.forEach((function(W,L){D++;var V=(function(O,I){var C=O||I,j=p[C];if(!j)throw new Error(C+&quot; is not a valid compression method !&quot;);return j})(L.options.compression,_.compression),H=L.options.compressionOptions||_.compressionOptions||{},K=L.dir,z=L.date;L._compressWorker(V,H).withStreamInfo(&quot;file&quot;,{name:W,dir:K,date:z,comment:L.comment||&quot;&quot;,unixPermissions:L.unixPermissions,dosPermissions:L.dosPermissions}).pipe(M)})),M.entriesCount=D}catch(W){M.error(W)}return M}},{&quot;../compressions&quot;:3,&quot;./ZipFileWorker&quot;:8}],10:[function(d,g,y){function p(){if(!(this instanceof p))return new p;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 p;for(var x in this)typeof this[x]!=&quot;function&quot;&amp;&amp;(b[x]=this[x]);return b}}(p.prototype=d(&quot;./object&quot;)).loadAsync=d(&quot;./load&quot;),p.support=d(&quot;./support&quot;),p.defaults=d(&quot;./defaults&quot;),p.version=&quot;3.10.1&quot;,p.loadAsync=function(b,x){return new p().loadAsync(b,x)},p.external=d(&quot;./external&quot;),g.exports=p},{&quot;./defaults&quot;:5,&quot;./external&quot;:6,&quot;./load&quot;:11,&quot;./object&quot;:15,&quot;./support&quot;:30}],11:[function(d,g,y){var p=d(&quot;./utils&quot;),b=d(&quot;./external&quot;),x=d(&quot;./utf8&quot;),_=d(&quot;./zipEntries&quot;),E=d(&quot;./stream/Crc32Probe&quot;),M=d(&quot;./nodejsUtils&quot;);function D(W){return new b.Promise((function(L,V){var H=W.decompressed.getContentWorker().pipe(new E);H.on(&quot;error&quot;,(function(K){V(K)})).on(&quot;end&quot;,(function(){H.streamInfo.crc32!==W.decompressed.crc32?V(new Error(&quot;Corrupted zip : CRC32 mismatch&quot;)):L()})).resume()}))}g.exports=function(W,L){var V=this;return L=p.extend(L||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:x.utf8decode}),M.isNode&amp;&amp;M.isStream(W)?b.Promise.reject(new Error(&quot;JSZip can&#039;t accept a stream when loading a zip file.&quot;)):p.prepareContent(&quot;the loaded zip file&quot;,W,!0,L.optimizedBinaryString,L.base64).then((function(H){var K=new _(L);return K.load(H),K})).then((function(H){var K=[b.Promise.resolve(H)],z=H.files;if(L.checkCRC32)for(var O=0;O&lt;z.length;O++)K.push(D(z[O]));return b.Promise.all(K)})).then((function(H){for(var K=H.shift(),z=K.files,O=0;O&lt;z.length;O++){var I=z[O],C=I.fileNameStr,j=p.resolve(I.fileNameStr);V.file(j,I.decompressed,{binary:!0,optimizedBinaryString:!0,date:I.date,dir:I.dir,comment:I.fileCommentStr.length?I.fileCommentStr:null,unixPermissions:I.unixPermissions,dosPermissions:I.dosPermissions,createFolders:L.createFolders}),I.dir||(V.file(j).unsafeOriginalName=C)}return K.zipComment.length&amp;&amp;(V.comment=K.zipComment),V}))}},{&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(d,g,y){var p=d(&quot;../utils&quot;),b=d(&quot;../stream/GenericWorker&quot;);function x(_,E){b.call(this,&quot;Nodejs stream input adapter for &quot;+_),this._upstreamEnded=!1,this._bindStream(E)}p.inherits(x,b),x.prototype._bindStream=function(_){var E=this;(this._stream=_).pause(),_.on(&quot;data&quot;,(function(M){E.push({data:M,meta:{percent:0}})})).on(&quot;error&quot;,(function(M){E.isPaused?this.generatedError=M:E.error(M)})).on(&quot;end&quot;,(function(){E.isPaused?E._upstreamEnded=!0:E.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)},g.exports=x},{&quot;../stream/GenericWorker&quot;:28,&quot;../utils&quot;:32}],13:[function(d,g,y){var p=d(&quot;readable-stream&quot;).Readable;function b(x,_,E){p.call(this,_),this._helper=x;var M=this;x.on(&quot;data&quot;,(function(D,W){M.push(D)||M._helper.pause(),E&amp;&amp;E(W)})).on(&quot;error&quot;,(function(D){M.emit(&quot;error&quot;,D)})).on(&quot;end&quot;,(function(){M.push(null)}))}d(&quot;../utils&quot;).inherits(b,p),b.prototype._read=function(){this._helper.resume()},g.exports=b},{&quot;../utils&quot;:32,&quot;readable-stream&quot;:16}],14:[function(d,g,y){g.exports={isNode:u!==void 0,newBufferFrom:function(p,b){if(u.from&amp;&amp;u.from!==Uint8Array.from)return u.from(p,b);if(typeof p==&quot;number&quot;)throw new Error(&#039;The &quot;data&quot; argument must not be a number&#039;);return new u(p,b)},allocBuffer:function(p){if(u.alloc)return u.alloc(p);var b=new u(p);return b.fill(0),b},isBuffer:function(p){return u.isBuffer(p)},isStream:function(p){return p&amp;&amp;typeof p.on==&quot;function&quot;&amp;&amp;typeof p.pause==&quot;function&quot;&amp;&amp;typeof p.resume==&quot;function&quot;}}},{}],15:[function(d,g,y){function p(j,k,S){var N,T=x.getTypeOf(k),R=x.extend(S||{},M);R.date=R.date||new Date,R.compression!==null&amp;&amp;(R.compression=R.compression.toUpperCase()),typeof R.unixPermissions==&quot;string&quot;&amp;&amp;(R.unixPermissions=parseInt(R.unixPermissions,8)),R.unixPermissions&amp;&amp;16384&amp;R.unixPermissions&amp;&amp;(R.dir=!0),R.dosPermissions&amp;&amp;16&amp;R.dosPermissions&amp;&amp;(R.dir=!0),R.dir&amp;&amp;(j=z(j)),R.createFolders&amp;&amp;(N=K(j))&amp;&amp;O.call(this,N,!0);var B=T===&quot;string&quot;&amp;&amp;R.binary===!1&amp;&amp;R.base64===!1;S&amp;&amp;S.binary!==void 0||(R.binary=!B),(k instanceof D&amp;&amp;k.uncompressedSize===0||R.dir||!k||k.length===0)&amp;&amp;(R.base64=!1,R.binary=!0,k=&quot;&quot;,R.compression=&quot;STORE&quot;,T=&quot;string&quot;);var Y;Y=k instanceof D||k instanceof _?k:V.isNode&amp;&amp;V.isStream(k)?new H(j,k):x.prepareContent(j,k,R.binary,R.optimizedBinaryString,R.base64);var Q=new W(j,Y,R);this.files[j]=Q}var b=d(&quot;./utf8&quot;),x=d(&quot;./utils&quot;),_=d(&quot;./stream/GenericWorker&quot;),E=d(&quot;./stream/StreamHelper&quot;),M=d(&quot;./defaults&quot;),D=d(&quot;./compressedObject&quot;),W=d(&quot;./zipObject&quot;),L=d(&quot;./generate&quot;),V=d(&quot;./nodejsUtils&quot;),H=d(&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;},z=function(j){return j.slice(-1)!==&quot;/&quot;&amp;&amp;(j+=&quot;/&quot;),j},O=function(j,k){return k=k!==void 0?k:M.createFolders,j=z(j),this.files[j]||p.call(this,j,null,{dir:!0,createFolders:k}),this.files[j]};function I(j){return Object.prototype.toString.call(j)===&quot;[object RegExp]&quot;}var C={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,p.call(this,j,k,S),this;if(I(j)){var N=j;return this.filter((function(R,B){return!B.dir&amp;&amp;N.test(R)}))}var T=this.files[this.root+j];return T&amp;&amp;!T.dir?T:null},folder:function(j){if(!j)return this;if(I(j))return this.filter((function(T,R){return R.dir&amp;&amp;j.test(T)}));var k=this.root+j,S=O.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(T,R){return R.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(T){(k=new _(&quot;error&quot;)).error(T)}return new E(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)}};g.exports=C},{&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(d,g,y){g.exports=d(&quot;stream&quot;)},{stream:void 0}],17:[function(d,g,y){var p=d(&quot;./DataReader&quot;);function b(x){p.call(this,x);for(var _=0;_&lt;this.data.length;_++)x[_]=255&amp;x[_]}d(&quot;../utils&quot;).inherits(b,p),b.prototype.byteAt=function(x){return this.data[this.zero+x]},b.prototype.lastIndexOfSignature=function(x){for(var _=x.charCodeAt(0),E=x.charCodeAt(1),M=x.charCodeAt(2),D=x.charCodeAt(3),W=this.length-4;0&lt;=W;--W)if(this.data[W]===_&amp;&amp;this.data[W+1]===E&amp;&amp;this.data[W+2]===M&amp;&amp;this.data[W+3]===D)return W-this.zero;return-1},b.prototype.readAndCheckSignature=function(x){var _=x.charCodeAt(0),E=x.charCodeAt(1),M=x.charCodeAt(2),D=x.charCodeAt(3),W=this.readData(4);return _===W[0]&amp;&amp;E===W[1]&amp;&amp;M===W[2]&amp;&amp;D===W[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,_},g.exports=b},{&quot;../utils&quot;:32,&quot;./DataReader&quot;:18}],18:[function(d,g,y){var p=d(&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 _,E=0;for(this.checkOffset(x),_=this.index+x-1;_&gt;=this.index;_--)E=(E&lt;&lt;8)+this.byteAt(_);return this.index+=x,E},readString:function(x){return p.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))}},g.exports=b},{&quot;../utils&quot;:32}],19:[function(d,g,y){var p=d(&quot;./Uint8ArrayReader&quot;);function b(x){p.call(this,x)}d(&quot;../utils&quot;).inherits(b,p),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,_},g.exports=b},{&quot;../utils&quot;:32,&quot;./Uint8ArrayReader&quot;:21}],20:[function(d,g,y){var p=d(&quot;./DataReader&quot;);function b(x){p.call(this,x)}d(&quot;../utils&quot;).inherits(b,p),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,_},g.exports=b},{&quot;../utils&quot;:32,&quot;./DataReader&quot;:18}],21:[function(d,g,y){var p=d(&quot;./ArrayReader&quot;);function b(x){p.call(this,x)}d(&quot;../utils&quot;).inherits(b,p),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,_},g.exports=b},{&quot;../utils&quot;:32,&quot;./ArrayReader&quot;:17}],22:[function(d,g,y){var p=d(&quot;../utils&quot;),b=d(&quot;../support&quot;),x=d(&quot;./ArrayReader&quot;),_=d(&quot;./StringReader&quot;),E=d(&quot;./NodeBufferReader&quot;),M=d(&quot;./Uint8ArrayReader&quot;);g.exports=function(D){var W=p.getTypeOf(D);return p.checkSupport(W),W!==&quot;string&quot;||b.uint8array?W===&quot;nodebuffer&quot;?new E(D):b.uint8array?new M(p.transformTo(&quot;uint8array&quot;,D)):new x(p.transformTo(&quot;array&quot;,D)):new _(D)}},{&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(d,g,y){y.LOCAL_FILE_HEADER=&quot;PK&quot;,y.CENTRAL_FILE_HEADER=&quot;PK&quot;,y.CENTRAL_DIRECTORY_END=&quot;PK&quot;,y.ZIP64_CENTRAL_DIRECTORY_LOCATOR=&quot;PK\x07&quot;,y.ZIP64_CENTRAL_DIRECTORY_END=&quot;PK&quot;,y.DATA_DESCRIPTOR=&quot;PK\x07\b&quot;},{}],24:[function(d,g,y){var p=d(&quot;./GenericWorker&quot;),b=d(&quot;../utils&quot;);function x(_){p.call(this,&quot;ConvertWorker to &quot;+_),this.destType=_}b.inherits(x,p),x.prototype.processChunk=function(_){this.push({data:b.transformTo(this.destType,_.data),meta:_.meta})},g.exports=x},{&quot;../utils&quot;:32,&quot;./GenericWorker&quot;:28}],25:[function(d,g,y){var p=d(&quot;./GenericWorker&quot;),b=d(&quot;../crc32&quot;);function x(){p.call(this,&quot;Crc32Probe&quot;),this.withStreamInfo(&quot;crc32&quot;,0)}d(&quot;../utils&quot;).inherits(x,p),x.prototype.processChunk=function(_){this.streamInfo.crc32=b(_.data,this.streamInfo.crc32||0),this.push(_)},g.exports=x},{&quot;../crc32&quot;:4,&quot;../utils&quot;:32,&quot;./GenericWorker&quot;:28}],26:[function(d,g,y){var p=d(&quot;../utils&quot;),b=d(&quot;./GenericWorker&quot;);function x(_){b.call(this,&quot;DataLengthProbe for &quot;+_),this.propName=_,this.withStreamInfo(_,0)}p.inherits(x,b),x.prototype.processChunk=function(_){if(_){var E=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=E+_.data.length}b.prototype.processChunk.call(this,_)},g.exports=x},{&quot;../utils&quot;:32,&quot;./GenericWorker&quot;:28}],27:[function(d,g,y){var p=d(&quot;../utils&quot;),b=d(&quot;./GenericWorker&quot;);function x(_){b.call(this,&quot;DataWorker&quot;);var E=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type=&quot;&quot;,this._tickScheduled=!1,_.then((function(M){E.dataIsReady=!0,E.data=M,E.max=M&amp;&amp;M.length||0,E.type=p.getTypeOf(M),E.isPaused||E._tickAndRepeat()}),(function(M){E.error(M)}))}p.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,p.delay(this._tickAndRepeat,[],this)),!0)},x.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(p.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},x.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var _=null,E=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,E);break;case&quot;uint8array&quot;:_=this.data.subarray(this.index,E);break;case&quot;array&quot;:case&quot;nodebuffer&quot;:_=this.data.slice(this.index,E)}return this.index=E,this.push({data:_,meta:{percent:this.max?this.index/this.max*100:0}})},g.exports=x},{&quot;../utils&quot;:32,&quot;./GenericWorker&quot;:28}],28:[function(d,g,y){function p(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}p.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}},g.exports=p},{}],29:[function(d,g,y){var p=d(&quot;../utils&quot;),b=d(&quot;./ConvertWorker&quot;),x=d(&quot;./GenericWorker&quot;),_=d(&quot;../base64&quot;),E=d(&quot;../support&quot;),M=d(&quot;../external&quot;),D=null;if(E.nodestream)try{D=d(&quot;../nodejs/NodejsStreamOutputAdapter&quot;)}catch{}function W(L,V,H){var K=V;switch(V){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=V,this._mimeType=H,p.checkSupport(K),this._worker=L.pipe(new b(K)),L.lock()}catch(z){this._worker=new x(&quot;error&quot;),this._worker.error(z)}}W.prototype={accumulate:function(L){return(function(V,H){return new M.Promise((function(K,z){var O=[],I=V._internalType,C=V._outputType,j=V._mimeType;V.on(&quot;data&quot;,(function(k,S){O.push(k),H&amp;&amp;H(S)})).on(&quot;error&quot;,(function(k){O=[],z(k)})).on(&quot;end&quot;,(function(){try{var k=(function(S,N,T){switch(S){case&quot;blob&quot;:return p.newBlob(p.transformTo(&quot;arraybuffer&quot;,N),T);case&quot;base64&quot;:return _.encode(N);default:return p.transformTo(S,N)}})(C,(function(S,N){var T,R=0,B=null,Y=0;for(T=0;T&lt;N.length;T++)Y+=N[T].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),T=0;T&lt;N.length;T++)B.set(N[T],R),R+=N[T].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;)}})(I,O),j);K(k)}catch(S){z(S)}O=[]})).resume()}))})(this,L)},on:function(L,V){var H=this;return L===&quot;data&quot;?this._worker.on(L,(function(K){V.call(H,K.data,K.meta)})):this._worker.on(L,(function(){p.delay(V,arguments,H)})),this},resume:function(){return p.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(L){if(p.checkSupport(&quot;nodestream&quot;),this._outputType!==&quot;nodebuffer&quot;)throw new Error(this._outputType+&quot; is not supported by this method&quot;);return new D(this,{objectMode:this._outputType!==&quot;nodebuffer&quot;},L)}},g.exports=W},{&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(d,g,y){if(y.base64=!0,y.array=!0,y.string=!0,y.arraybuffer=typeof ArrayBuffer&lt;&quot;u&quot;&amp;&amp;typeof Uint8Array&lt;&quot;u&quot;,y.nodebuffer=u!==void 0,y.uint8array=typeof Uint8Array&lt;&quot;u&quot;,typeof ArrayBuffer&gt;&quot;u&quot;)y.blob=!1;else{var p=new ArrayBuffer(0);try{y.blob=new Blob([p],{type:&quot;application/zip&quot;}).size===0}catch{try{var b=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);b.append(p),y.blob=b.getBlob(&quot;application/zip&quot;).size===0}catch{y.blob=!1}}}try{y.nodestream=!!d(&quot;readable-stream&quot;).Readable}catch{y.nodestream=!1}},{&quot;readable-stream&quot;:16}],31:[function(d,g,y){for(var p=d(&quot;./utils&quot;),b=d(&quot;./support&quot;),x=d(&quot;./nodejsUtils&quot;),_=d(&quot;./stream/GenericWorker&quot;),E=new Array(256),M=0;M&lt;256;M++)E[M]=252&lt;=M?6:248&lt;=M?5:240&lt;=M?4:224&lt;=M?3:192&lt;=M?2:1;function D(){_.call(this,&quot;utf-8 decode&quot;),this.leftOver=null}function W(){_.call(this,&quot;utf-8 encode&quot;)}E[254]=E[254]=1,y.utf8encode=function(L){return b.nodebuffer?x.newBufferFrom(L,&quot;utf-8&quot;):(function(V){var H,K,z,O,I,C=V.length,j=0;for(O=0;O&lt;C;O++)(64512&amp;(K=V.charCodeAt(O)))==55296&amp;&amp;O+1&lt;C&amp;&amp;(64512&amp;(z=V.charCodeAt(O+1)))==56320&amp;&amp;(K=65536+(K-55296&lt;&lt;10)+(z-56320),O++),j+=K&lt;128?1:K&lt;2048?2:K&lt;65536?3:4;for(H=b.uint8array?new Uint8Array(j):new Array(j),O=I=0;I&lt;j;O++)(64512&amp;(K=V.charCodeAt(O)))==55296&amp;&amp;O+1&lt;C&amp;&amp;(64512&amp;(z=V.charCodeAt(O+1)))==56320&amp;&amp;(K=65536+(K-55296&lt;&lt;10)+(z-56320),O++),K&lt;128?H[I++]=K:(K&lt;2048?H[I++]=192|K&gt;&gt;&gt;6:(K&lt;65536?H[I++]=224|K&gt;&gt;&gt;12:(H[I++]=240|K&gt;&gt;&gt;18,H[I++]=128|K&gt;&gt;&gt;12&amp;63),H[I++]=128|K&gt;&gt;&gt;6&amp;63),H[I++]=128|63&amp;K);return H})(L)},y.utf8decode=function(L){return b.nodebuffer?p.transformTo(&quot;nodebuffer&quot;,L).toString(&quot;utf-8&quot;):(function(V){var H,K,z,O,I=V.length,C=new Array(2*I);for(H=K=0;H&lt;I;)if((z=V[H++])&lt;128)C[K++]=z;else if(4&lt;(O=E[z]))C[K++]=65533,H+=O-1;else{for(z&amp;=O===2?31:O===3?15:7;1&lt;O&amp;&amp;H&lt;I;)z=z&lt;&lt;6|63&amp;V[H++],O--;1&lt;O?C[K++]=65533:z&lt;65536?C[K++]=z:(z-=65536,C[K++]=55296|z&gt;&gt;10&amp;1023,C[K++]=56320|1023&amp;z)}return C.length!==K&amp;&amp;(C.subarray?C=C.subarray(0,K):C.length=K),p.applyFromCharCode(C)})(L=p.transformTo(b.uint8array?&quot;uint8array&quot;:&quot;array&quot;,L))},p.inherits(D,_),D.prototype.processChunk=function(L){var V=p.transformTo(b.uint8array?&quot;uint8array&quot;:&quot;array&quot;,L.data);if(this.leftOver&amp;&amp;this.leftOver.length){if(b.uint8array){var H=V;(V=new Uint8Array(H.length+this.leftOver.length)).set(this.leftOver,0),V.set(H,this.leftOver.length)}else V=this.leftOver.concat(V);this.leftOver=null}var K=(function(O,I){var C;for((I=I||O.length)&gt;O.length&amp;&amp;(I=O.length),C=I-1;0&lt;=C&amp;&amp;(192&amp;O[C])==128;)C--;return C&lt;0||C===0?I:C+E[O[C]]&gt;I?C:I})(V),z=V;K!==V.length&amp;&amp;(b.uint8array?(z=V.subarray(0,K),this.leftOver=V.subarray(K,V.length)):(z=V.slice(0,K),this.leftOver=V.slice(K,V.length))),this.push({data:y.utf8decode(z),meta:L.meta})},D.prototype.flush=function(){this.leftOver&amp;&amp;this.leftOver.length&amp;&amp;(this.push({data:y.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},y.Utf8DecodeWorker=D,p.inherits(W,_),W.prototype.processChunk=function(L){this.push({data:y.utf8encode(L.data),meta:L.meta})},y.Utf8EncodeWorker=W},{&quot;./nodejsUtils&quot;:14,&quot;./stream/GenericWorker&quot;:28,&quot;./support&quot;:30,&quot;./utils&quot;:32}],32:[function(d,g,y){var p=d(&quot;./support&quot;),b=d(&quot;./base64&quot;),x=d(&quot;./nodejsUtils&quot;),_=d(&quot;./external&quot;);function E(H){return H}function M(H,K){for(var z=0;z&lt;H.length;++z)K[z]=255&amp;H.charCodeAt(z);return K}d(&quot;setimmediate&quot;),y.newBlob=function(H,K){y.checkSupport(&quot;blob&quot;);try{return new Blob([H],{type:K})}catch{try{var z=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return z.append(H),z.getBlob(K)}catch{throw new Error(&quot;Bug : can&#039;t construct the Blob.&quot;)}}};var D={stringifyByChunk:function(H,K,z){var O=[],I=0,C=H.length;if(C&lt;=z)return String.fromCharCode.apply(null,H);for(;I&lt;C;)K===&quot;array&quot;||K===&quot;nodebuffer&quot;?O.push(String.fromCharCode.apply(null,H.slice(I,Math.min(I+z,C)))):O.push(String.fromCharCode.apply(null,H.subarray(I,Math.min(I+z,C)))),I+=z;return O.join(&quot;&quot;)},stringifyByChar:function(H){for(var K=&quot;&quot;,z=0;z&lt;H.length;z++)K+=String.fromCharCode(H[z]);return K},applyCanBeUsed:{uint8array:(function(){try{return p.uint8array&amp;&amp;String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}})(),nodebuffer:(function(){try{return p.nodebuffer&amp;&amp;String.fromCharCode.apply(null,x.allocBuffer(1)).length===1}catch{return!1}})()}};function W(H){var K=65536,z=y.getTypeOf(H),O=!0;if(z===&quot;uint8array&quot;?O=D.applyCanBeUsed.uint8array:z===&quot;nodebuffer&quot;&amp;&amp;(O=D.applyCanBeUsed.nodebuffer),O)for(;1&lt;K;)try{return D.stringifyByChunk(H,z,K)}catch{K=Math.floor(K/2)}return D.stringifyByChar(H)}function L(H,K){for(var z=0;z&lt;H.length;z++)K[z]=H[z];return K}y.applyFromCharCode=W;var V={};V.string={string:E,array:function(H){return M(H,new Array(H.length))},arraybuffer:function(H){return V.string.uint8array(H).buffer},uint8array:function(H){return M(H,new Uint8Array(H.length))},nodebuffer:function(H){return M(H,x.allocBuffer(H.length))}},V.array={string:W,array:E,arraybuffer:function(H){return new Uint8Array(H).buffer},uint8array:function(H){return new Uint8Array(H)},nodebuffer:function(H){return x.newBufferFrom(H)}},V.arraybuffer={string:function(H){return W(new Uint8Array(H))},array:function(H){return L(new Uint8Array(H),new Array(H.byteLength))},arraybuffer:E,uint8array:function(H){return new Uint8Array(H)},nodebuffer:function(H){return x.newBufferFrom(new Uint8Array(H))}},V.uint8array={string:W,array:function(H){return L(H,new Array(H.length))},arraybuffer:function(H){return H.buffer},uint8array:E,nodebuffer:function(H){return x.newBufferFrom(H)}},V.nodebuffer={string:W,array:function(H){return L(H,new Array(H.length))},arraybuffer:function(H){return V.nodebuffer.uint8array(H).buffer},uint8array:function(H){return L(H,new Uint8Array(H.length))},nodebuffer:E},y.transformTo=function(H,K){if(K=K||&quot;&quot;,!H)return K;y.checkSupport(H);var z=y.getTypeOf(K);return V[z][H](K)},y.resolve=function(H){for(var K=H.split(&quot;/&quot;),z=[],O=0;O&lt;K.length;O++){var I=K[O];I===&quot;.&quot;||I===&quot;&quot;&amp;&amp;O!==0&amp;&amp;O!==K.length-1||(I===&quot;..&quot;?z.pop():z.push(I))}return z.join(&quot;/&quot;)},y.getTypeOf=function(H){return typeof H==&quot;string&quot;?&quot;string&quot;:Object.prototype.toString.call(H)===&quot;[object Array]&quot;?&quot;array&quot;:p.nodebuffer&amp;&amp;x.isBuffer(H)?&quot;nodebuffer&quot;:p.uint8array&amp;&amp;H instanceof Uint8Array?&quot;uint8array&quot;:p.arraybuffer&amp;&amp;H instanceof ArrayBuffer?&quot;arraybuffer&quot;:void 0},y.checkSupport=function(H){if(!p[H.toLowerCase()])throw new Error(H+&quot; is not supported by this platform&quot;)},y.MAX_VALUE_16BITS=65535,y.MAX_VALUE_32BITS=-1,y.pretty=function(H){var K,z,O=&quot;&quot;;for(z=0;z&lt;(H||&quot;&quot;).length;z++)O+=&quot;\\x&quot;+((K=H.charCodeAt(z))&lt;16?&quot;0&quot;:&quot;&quot;)+K.toString(16).toUpperCase();return O},y.delay=function(H,K,z){h((function(){H.apply(z||null,K||[])}))},y.inherits=function(H,K){function z(){}z.prototype=K.prototype,H.prototype=new z},y.extend=function(){var H,K,z={};for(H=0;H&lt;arguments.length;H++)for(K in arguments[H])Object.prototype.hasOwnProperty.call(arguments[H],K)&amp;&amp;z[K]===void 0&amp;&amp;(z[K]=arguments[H][K]);return z},y.prepareContent=function(H,K,z,O,I){return _.Promise.resolve(K).then((function(C){return p.blob&amp;&amp;(C instanceof Blob||[&quot;[object File]&quot;,&quot;[object Blob]&quot;].indexOf(Object.prototype.toString.call(C))!==-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(C)})):C})).then((function(C){var j=y.getTypeOf(C);return j?(j===&quot;arraybuffer&quot;?C=y.transformTo(&quot;uint8array&quot;,C):j===&quot;string&quot;&amp;&amp;(I?C=b.decode(C):z&amp;&amp;O!==!0&amp;&amp;(C=(function(k){return M(k,p.uint8array?new Uint8Array(k.length):new Array(k.length))})(C))),C):_.Promise.reject(new Error(&quot;Can&#039;t read the data of &#039;&quot;+H+&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(d,g,y){var p=d(&quot;./reader/readerFor&quot;),b=d(&quot;./utils&quot;),x=d(&quot;./signature&quot;),_=d(&quot;./zipEntry&quot;),E=d(&quot;./support&quot;);function M(D){this.files=[],this.loadOptions=D}M.prototype={checkSignature:function(D){if(!this.reader.readAndCheckSignature(D)){this.reader.index-=4;var W=this.reader.readString(4);throw new Error(&quot;Corrupted zip or bug: unexpected signature (&quot;+b.pretty(W)+&quot;, expected &quot;+b.pretty(D)+&quot;)&quot;)}},isSignature:function(D,W){var L=this.reader.index;this.reader.setIndex(D);var V=this.reader.readString(4)===W;return this.reader.setIndex(L),V},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 D=this.reader.readData(this.zipCommentLength),W=E.uint8array?&quot;uint8array&quot;:&quot;array&quot;,L=b.transformTo(W,D);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 D,W,L,V=this.zip64EndOfCentralSize-44;0&lt;V;)D=this.reader.readInt(2),W=this.reader.readInt(4),L=this.reader.readData(W),this.zip64ExtensibleData[D]={id:D,length:W,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 D,W;for(D=0;D&lt;this.files.length;D++)W=this.files[D],this.reader.setIndex(W.localHeaderOffset),this.checkSignature(x.LOCAL_FILE_HEADER),W.readLocalPart(this.reader),W.handleUTF8(),W.processAttributes()},readCentralDir:function(){var D;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(x.CENTRAL_FILE_HEADER);)(D=new _({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(D);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 D=this.reader.lastIndexOfSignature(x.CENTRAL_DIRECTORY_END);if(D&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(D);var W=D;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,(D=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(D),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 V=W-L;if(0&lt;V)this.isSignature(W,x.CENTRAL_FILE_HEADER)||(this.reader.zero=V);else if(V&lt;0)throw new Error(&quot;Corrupted zip: missing &quot;+Math.abs(V)+&quot; bytes.&quot;)},prepareReader:function(D){this.reader=p(D)},load:function(D){this.prepareReader(D),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},g.exports=M},{&quot;./reader/readerFor&quot;:22,&quot;./signature&quot;:23,&quot;./support&quot;:30,&quot;./utils&quot;:32,&quot;./zipEntry&quot;:34}],34:[function(d,g,y){var p=d(&quot;./reader/readerFor&quot;),b=d(&quot;./utils&quot;),x=d(&quot;./compressedObject&quot;),_=d(&quot;./crc32&quot;),E=d(&quot;./utf8&quot;),M=d(&quot;./compressions&quot;),D=d(&quot;./support&quot;);function W(L,V){this.options=L,this.loadOptions=V}W.prototype={isEncrypted:function(){return(1&amp;this.bitFlag)==1},useUTF8:function(){return(2048&amp;this.bitFlag)==2048},readLocalPart:function(L){var V,H;if(L.skip(22),this.fileNameLength=L.readInt(2),H=L.readInt(2),this.fileName=L.readData(this.fileNameLength),L.skip(H),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((V=(function(K){for(var z in M)if(Object.prototype.hasOwnProperty.call(M,z)&amp;&amp;M[z].magic===K)return M[z];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,V,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 V=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(V),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=p(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 V,H,K,z=L.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});L.index+4&lt;z;)V=L.readInt(2),H=L.readInt(2),K=L.readData(H),this.extraFields[V]={id:V,length:H,value:K};L.setIndex(z)},handleUTF8:function(){var L=D.uint8array?&quot;uint8array&quot;:&quot;array&quot;;if(this.useUTF8())this.fileNameStr=E.utf8decode(this.fileName),this.fileCommentStr=E.utf8decode(this.fileComment);else{var V=this.findExtraFieldUnicodePath();if(V!==null)this.fileNameStr=V;else{var H=b.transformTo(L,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(H)}var K=this.findExtraFieldUnicodeComment();if(K!==null)this.fileCommentStr=K;else{var z=b.transformTo(L,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(z)}}},findExtraFieldUnicodePath:function(){var L=this.extraFields[28789];if(L){var V=p(L.value);return V.readInt(1)!==1||_(this.fileName)!==V.readInt(4)?null:E.utf8decode(V.readData(L.length-5))}return null},findExtraFieldUnicodeComment:function(){var L=this.extraFields[25461];if(L){var V=p(L.value);return V.readInt(1)!==1||_(this.fileComment)!==V.readInt(4)?null:E.utf8decode(V.readData(L.length-5))}return null}},g.exports=W},{&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(d,g,y){function p(V,H,K){this.name=V,this.dir=K.dir,this.date=K.date,this.comment=K.comment,this.unixPermissions=K.unixPermissions,this.dosPermissions=K.dosPermissions,this._data=H,this._dataBinary=K.binary,this.options={compression:K.compression,compressionOptions:K.compressionOptions}}var b=d(&quot;./stream/StreamHelper&quot;),x=d(&quot;./stream/DataWorker&quot;),_=d(&quot;./utf8&quot;),E=d(&quot;./compressedObject&quot;),M=d(&quot;./stream/GenericWorker&quot;);p.prototype={internalStream:function(V){var H=null,K=&quot;string&quot;;try{if(!V)throw new Error(&quot;No output type specified.&quot;);var z=(K=V.toLowerCase())===&quot;string&quot;||K===&quot;text&quot;;K!==&quot;binarystring&quot;&amp;&amp;K!==&quot;text&quot;||(K=&quot;string&quot;),H=this._decompressWorker();var O=!this._dataBinary;O&amp;&amp;!z&amp;&amp;(H=H.pipe(new _.Utf8EncodeWorker)),!O&amp;&amp;z&amp;&amp;(H=H.pipe(new _.Utf8DecodeWorker))}catch(I){(H=new M(&quot;error&quot;)).error(I)}return new b(H,K,&quot;&quot;)},async:function(V,H){return this.internalStream(V).accumulate(H)},nodeStream:function(V,H){return this.internalStream(V||&quot;nodebuffer&quot;).toNodejsStream(H)},_compressWorker:function(V,H){if(this._data instanceof E&amp;&amp;this._data.compression.magic===V.magic)return this._data.getCompressedWorker();var K=this._decompressWorker();return this._dataBinary||(K=K.pipe(new _.Utf8EncodeWorker)),E.createWorkerFrom(K,V,H)},_decompressWorker:function(){return this._data instanceof E?this._data.getContentWorker():this._data instanceof M?this._data:new x(this._data)}};for(var D=[&quot;asText&quot;,&quot;asBinary&quot;,&quot;asNodeBuffer&quot;,&quot;asUint8Array&quot;,&quot;asArrayBuffer&quot;],W=function(){throw new Error(&quot;This method has been removed in JSZip 3.0, please check the upgrade guide.&quot;)},L=0;L&lt;D.length;L++)p.prototype[D[L]]=W;g.exports=p},{&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(d,g,y){(function(p){var b,x,_=p.MutationObserver||p.WebKitMutationObserver;if(_){var E=0,M=new _(V),D=p.document.createTextNode(&quot;&quot;);M.observe(D,{characterData:!0}),b=function(){D.data=E=++E%2}}else if(p.setImmediate||p.MessageChannel===void 0)b=&quot;document&quot;in p&amp;&amp;&quot;onreadystatechange&quot;in p.document.createElement(&quot;script&quot;)?function(){var H=p.document.createElement(&quot;script&quot;);H.onreadystatechange=function(){V(),H.onreadystatechange=null,H.parentNode.removeChild(H),H=null},p.document.documentElement.appendChild(H)}:function(){setTimeout(V,0)};else{var W=new p.MessageChannel;W.port1.onmessage=V,b=function(){W.port2.postMessage(0)}}var L=[];function V(){var H,K;x=!0;for(var z=L.length;z;){for(K=L,L=[],H=-1;++H&lt;z;)K[H]();z=L.length}x=!1}g.exports=function(H){L.push(H)!==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(d,g,y){var p=d(&quot;immediate&quot;);function b(){}var x={},_=[&quot;REJECTED&quot;],E=[&quot;FULFILLED&quot;],M=[&quot;PENDING&quot;];function D(z){if(typeof z!=&quot;function&quot;)throw new TypeError(&quot;resolver must be a function&quot;);this.state=M,this.queue=[],this.outcome=void 0,z!==b&amp;&amp;H(this,z)}function W(z,O,I){this.promise=z,typeof O==&quot;function&quot;&amp;&amp;(this.onFulfilled=O,this.callFulfilled=this.otherCallFulfilled),typeof I==&quot;function&quot;&amp;&amp;(this.onRejected=I,this.callRejected=this.otherCallRejected)}function L(z,O,I){p((function(){var C;try{C=O(I)}catch(j){return x.reject(z,j)}C===z?x.reject(z,new TypeError(&quot;Cannot resolve promise with itself&quot;)):x.resolve(z,C)}))}function V(z){var O=z&amp;&amp;z.then;if(z&amp;&amp;(typeof z==&quot;object&quot;||typeof z==&quot;function&quot;)&amp;&amp;typeof O==&quot;function&quot;)return function(){O.apply(z,arguments)}}function H(z,O){var I=!1;function C(S){I||(I=!0,x.reject(z,S))}function j(S){I||(I=!0,x.resolve(z,S))}var k=K((function(){O(j,C)}));k.status===&quot;error&quot;&amp;&amp;C(k.value)}function K(z,O){var I={};try{I.value=z(O),I.status=&quot;success&quot;}catch(C){I.status=&quot;error&quot;,I.value=C}return I}(g.exports=D).prototype.finally=function(z){if(typeof z!=&quot;function&quot;)return this;var O=this.constructor;return this.then((function(I){return O.resolve(z()).then((function(){return I}))}),(function(I){return O.resolve(z()).then((function(){throw I}))}))},D.prototype.catch=function(z){return this.then(null,z)},D.prototype.then=function(z,O){if(typeof z!=&quot;function&quot;&amp;&amp;this.state===E||typeof O!=&quot;function&quot;&amp;&amp;this.state===_)return this;var I=new this.constructor(b);return this.state!==M?L(I,this.state===E?z:O,this.outcome):this.queue.push(new W(I,z,O)),I},W.prototype.callFulfilled=function(z){x.resolve(this.promise,z)},W.prototype.otherCallFulfilled=function(z){L(this.promise,this.onFulfilled,z)},W.prototype.callRejected=function(z){x.reject(this.promise,z)},W.prototype.otherCallRejected=function(z){L(this.promise,this.onRejected,z)},x.resolve=function(z,O){var I=K(V,O);if(I.status===&quot;error&quot;)return x.reject(z,I.value);var C=I.value;if(C)H(z,C);else{z.state=E,z.outcome=O;for(var j=-1,k=z.queue.length;++j&lt;k;)z.queue[j].callFulfilled(O)}return z},x.reject=function(z,O){z.state=_,z.outcome=O;for(var I=-1,C=z.queue.length;++I&lt;C;)z.queue[I].callRejected(O);return z},D.resolve=function(z){return z instanceof this?z:x.resolve(new this(b),z)},D.reject=function(z){var O=new this(b);return x.reject(O,z)},D.all=function(z){var O=this;if(Object.prototype.toString.call(z)!==&quot;[object Array]&quot;)return this.reject(new TypeError(&quot;must be an array&quot;));var I=z.length,C=!1;if(!I)return this.resolve([]);for(var j=new Array(I),k=0,S=-1,N=new this(b);++S&lt;I;)T(z[S],S);return N;function T(R,B){O.resolve(R).then((function(Y){j[B]=Y,++k!==I||C||(C=!0,x.resolve(N,j))}),(function(Y){C||(C=!0,x.reject(N,Y))}))}},D.race=function(z){if(Object.prototype.toString.call(z)!==&quot;[object Array]&quot;)return this.reject(new TypeError(&quot;must be an array&quot;));var O=z.length,I=!1;if(!O)return this.resolve([]);for(var C,j=-1,k=new this(b);++j&lt;O;)C=z[j],this.resolve(C).then((function(S){I||(I=!0,x.resolve(k,S))}),(function(S){I||(I=!0,x.reject(k,S))}));return k}},{immediate:36}],38:[function(d,g,y){var p={};(0,d(&quot;./lib/utils/common&quot;).assign)(p,d(&quot;./lib/deflate&quot;),d(&quot;./lib/inflate&quot;),d(&quot;./lib/zlib/constants&quot;)),g.exports=p},{&quot;./lib/deflate&quot;:39,&quot;./lib/inflate&quot;:40,&quot;./lib/utils/common&quot;:41,&quot;./lib/zlib/constants&quot;:44}],39:[function(d,g,y){var p=d(&quot;./zlib/deflate&quot;),b=d(&quot;./utils/common&quot;),x=d(&quot;./utils/strings&quot;),_=d(&quot;./zlib/messages&quot;),E=d(&quot;./zlib/zstream&quot;),M=Object.prototype.toString;function D(L){if(!(this instanceof D))return new D(L);this.options=b.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:&quot;&quot;},L||{});var V=this.options;V.raw&amp;&amp;0&lt;V.windowBits?V.windowBits=-V.windowBits:V.gzip&amp;&amp;0&lt;V.windowBits&amp;&amp;V.windowBits&lt;16&amp;&amp;(V.windowBits+=16),this.err=0,this.msg=&quot;&quot;,this.ended=!1,this.chunks=[],this.strm=new E,this.strm.avail_out=0;var H=p.deflateInit2(this.strm,V.level,V.method,V.windowBits,V.memLevel,V.strategy);if(H!==0)throw new Error(_[H]);if(V.header&amp;&amp;p.deflateSetHeader(this.strm,V.header),V.dictionary){var K;if(K=typeof V.dictionary==&quot;string&quot;?x.string2buf(V.dictionary):M.call(V.dictionary)===&quot;[object ArrayBuffer]&quot;?new Uint8Array(V.dictionary):V.dictionary,(H=p.deflateSetDictionary(this.strm,K))!==0)throw new Error(_[H]);this._dict_set=!0}}function W(L,V){var H=new D(V);if(H.push(L,!0),H.err)throw H.msg||_[H.err];return H.result}D.prototype.push=function(L,V){var H,K,z=this.strm,O=this.options.chunkSize;if(this.ended)return!1;K=V===~~V?V:V===!0?4:0,typeof L==&quot;string&quot;?z.input=x.string2buf(L):M.call(L)===&quot;[object ArrayBuffer]&quot;?z.input=new Uint8Array(L):z.input=L,z.next_in=0,z.avail_in=z.input.length;do{if(z.avail_out===0&amp;&amp;(z.output=new b.Buf8(O),z.next_out=0,z.avail_out=O),(H=p.deflate(z,K))!==1&amp;&amp;H!==0)return this.onEnd(H),!(this.ended=!0);z.avail_out!==0&amp;&amp;(z.avail_in!==0||K!==4&amp;&amp;K!==2)||(this.options.to===&quot;string&quot;?this.onData(x.buf2binstring(b.shrinkBuf(z.output,z.next_out))):this.onData(b.shrinkBuf(z.output,z.next_out)))}while((0&lt;z.avail_in||z.avail_out===0)&amp;&amp;H!==1);return K===4?(H=p.deflateEnd(this.strm),this.onEnd(H),this.ended=!0,H===0):K!==2||(this.onEnd(0),!(z.avail_out=0))},D.prototype.onData=function(L){this.chunks.push(L)},D.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},y.Deflate=D,y.deflate=W,y.deflateRaw=function(L,V){return(V=V||{}).raw=!0,W(L,V)},y.gzip=function(L,V){return(V=V||{}).gzip=!0,W(L,V)}},{&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(d,g,y){var p=d(&quot;./zlib/inflate&quot;),b=d(&quot;./utils/common&quot;),x=d(&quot;./utils/strings&quot;),_=d(&quot;./zlib/constants&quot;),E=d(&quot;./zlib/messages&quot;),M=d(&quot;./zlib/zstream&quot;),D=d(&quot;./zlib/gzheader&quot;),W=Object.prototype.toString;function L(H){if(!(this instanceof L))return new L(H);this.options=b.assign({chunkSize:16384,windowBits:0,to:&quot;&quot;},H||{});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)||H&amp;&amp;H.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 M,this.strm.avail_out=0;var z=p.inflateInit2(this.strm,K.windowBits);if(z!==_.Z_OK)throw new Error(E[z]);this.header=new D,p.inflateGetHeader(this.strm,this.header)}function V(H,K){var z=new L(K);if(z.push(H,!0),z.err)throw z.msg||E[z.err];return z.result}L.prototype.push=function(H,K){var z,O,I,C,j,k,S=this.strm,N=this.options.chunkSize,T=this.options.dictionary,R=!1;if(this.ended)return!1;O=K===~~K?K:K===!0?_.Z_FINISH:_.Z_NO_FLUSH,typeof H==&quot;string&quot;?S.input=x.binstring2buf(H):W.call(H)===&quot;[object ArrayBuffer]&quot;?S.input=new Uint8Array(H):S.input=H,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),(z=p.inflate(S,_.Z_NO_FLUSH))===_.Z_NEED_DICT&amp;&amp;T&amp;&amp;(k=typeof T==&quot;string&quot;?x.string2buf(T):W.call(T)===&quot;[object ArrayBuffer]&quot;?new Uint8Array(T):T,z=p.inflateSetDictionary(this.strm,k)),z===_.Z_BUF_ERROR&amp;&amp;R===!0&amp;&amp;(z=_.Z_OK,R=!1),z!==_.Z_STREAM_END&amp;&amp;z!==_.Z_OK)return this.onEnd(z),!(this.ended=!0);S.next_out&amp;&amp;(S.avail_out!==0&amp;&amp;z!==_.Z_STREAM_END&amp;&amp;(S.avail_in!==0||O!==_.Z_FINISH&amp;&amp;O!==_.Z_SYNC_FLUSH)||(this.options.to===&quot;string&quot;?(I=x.utf8border(S.output,S.next_out),C=S.next_out-I,j=x.buf2string(S.output,I),S.next_out=C,S.avail_out=N-C,C&amp;&amp;b.arraySet(S.output,S.output,I,C,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;(R=!0)}while((0&lt;S.avail_in||S.avail_out===0)&amp;&amp;z!==_.Z_STREAM_END);return z===_.Z_STREAM_END&amp;&amp;(O=_.Z_FINISH),O===_.Z_FINISH?(z=p.inflateEnd(this.strm),this.onEnd(z),this.ended=!0,z===_.Z_OK):O!==_.Z_SYNC_FLUSH||(this.onEnd(_.Z_OK),!(S.avail_out=0))},L.prototype.onData=function(H){this.chunks.push(H)},L.prototype.onEnd=function(H){H===_.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=H,this.msg=this.strm.msg},y.Inflate=L,y.inflate=V,y.inflateRaw=function(H,K){return(K=K||{}).raw=!0,V(H,K)},y.ungzip=V},{&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(d,g,y){var p=typeof Uint8Array&lt;&quot;u&quot;&amp;&amp;typeof Uint16Array&lt;&quot;u&quot;&amp;&amp;typeof Int32Array&lt;&quot;u&quot;;y.assign=function(_){for(var E=Array.prototype.slice.call(arguments,1);E.length;){var M=E.shift();if(M){if(typeof M!=&quot;object&quot;)throw new TypeError(M+&quot;must be non-object&quot;);for(var D in M)M.hasOwnProperty(D)&amp;&amp;(_[D]=M[D])}}return _},y.shrinkBuf=function(_,E){return _.length===E?_:_.subarray?_.subarray(0,E):(_.length=E,_)};var b={arraySet:function(_,E,M,D,W){if(E.subarray&amp;&amp;_.subarray)_.set(E.subarray(M,M+D),W);else for(var L=0;L&lt;D;L++)_[W+L]=E[M+L]},flattenChunks:function(_){var E,M,D,W,L,V;for(E=D=0,M=_.length;E&lt;M;E++)D+=_[E].length;for(V=new Uint8Array(D),E=W=0,M=_.length;E&lt;M;E++)L=_[E],V.set(L,W),W+=L.length;return V}},x={arraySet:function(_,E,M,D,W){for(var L=0;L&lt;D;L++)_[W+L]=E[M+L]},flattenChunks:function(_){return[].concat.apply([],_)}};y.setTyped=function(_){_?(y.Buf8=Uint8Array,y.Buf16=Uint16Array,y.Buf32=Int32Array,y.assign(y,b)):(y.Buf8=Array,y.Buf16=Array,y.Buf32=Array,y.assign(y,x))},y.setTyped(p)},{}],42:[function(d,g,y){var p=d(&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 p.Buf8(256),E=0;E&lt;256;E++)_[E]=252&lt;=E?6:248&lt;=E?5:240&lt;=E?4:224&lt;=E?3:192&lt;=E?2:1;function M(D,W){if(W&lt;65537&amp;&amp;(D.subarray&amp;&amp;x||!D.subarray&amp;&amp;b))return String.fromCharCode.apply(null,p.shrinkBuf(D,W));for(var L=&quot;&quot;,V=0;V&lt;W;V++)L+=String.fromCharCode(D[V]);return L}_[254]=_[254]=1,y.string2buf=function(D){var W,L,V,H,K,z=D.length,O=0;for(H=0;H&lt;z;H++)(64512&amp;(L=D.charCodeAt(H)))==55296&amp;&amp;H+1&lt;z&amp;&amp;(64512&amp;(V=D.charCodeAt(H+1)))==56320&amp;&amp;(L=65536+(L-55296&lt;&lt;10)+(V-56320),H++),O+=L&lt;128?1:L&lt;2048?2:L&lt;65536?3:4;for(W=new p.Buf8(O),H=K=0;K&lt;O;H++)(64512&amp;(L=D.charCodeAt(H)))==55296&amp;&amp;H+1&lt;z&amp;&amp;(64512&amp;(V=D.charCodeAt(H+1)))==56320&amp;&amp;(L=65536+(L-55296&lt;&lt;10)+(V-56320),H++),L&lt;128?W[K++]=L:(L&lt;2048?W[K++]=192|L&gt;&gt;&gt;6:(L&lt;65536?W[K++]=224|L&gt;&gt;&gt;12:(W[K++]=240|L&gt;&gt;&gt;18,W[K++]=128|L&gt;&gt;&gt;12&amp;63),W[K++]=128|L&gt;&gt;&gt;6&amp;63),W[K++]=128|63&amp;L);return W},y.buf2binstring=function(D){return M(D,D.length)},y.binstring2buf=function(D){for(var W=new p.Buf8(D.length),L=0,V=W.length;L&lt;V;L++)W[L]=D.charCodeAt(L);return W},y.buf2string=function(D,W){var L,V,H,K,z=W||D.length,O=new Array(2*z);for(L=V=0;L&lt;z;)if((H=D[L++])&lt;128)O[V++]=H;else if(4&lt;(K=_[H]))O[V++]=65533,L+=K-1;else{for(H&amp;=K===2?31:K===3?15:7;1&lt;K&amp;&amp;L&lt;z;)H=H&lt;&lt;6|63&amp;D[L++],K--;1&lt;K?O[V++]=65533:H&lt;65536?O[V++]=H:(H-=65536,O[V++]=55296|H&gt;&gt;10&amp;1023,O[V++]=56320|1023&amp;H)}return M(O,V)},y.utf8border=function(D,W){var L;for((W=W||D.length)&gt;D.length&amp;&amp;(W=D.length),L=W-1;0&lt;=L&amp;&amp;(192&amp;D[L])==128;)L--;return L&lt;0||L===0?W:L+_[D[L]]&gt;W?L:W}},{&quot;./common&quot;:41}],43:[function(d,g,y){g.exports=function(p,b,x,_){for(var E=65535&amp;p|0,M=p&gt;&gt;&gt;16&amp;65535|0,D=0;x!==0;){for(x-=D=2e3&lt;x?2e3:x;M=M+(E=E+b[_++]|0)|0,--D;);E%=65521,M%=65521}return E|M&lt;&lt;16|0}},{}],44:[function(d,g,y){g.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(d,g,y){var p=(function(){for(var b,x=[],_=0;_&lt;256;_++){b=_;for(var E=0;E&lt;8;E++)b=1&amp;b?3988292384^b&gt;&gt;&gt;1:b&gt;&gt;&gt;1;x[_]=b}return x})();g.exports=function(b,x,_,E){var M=p,D=E+_;b^=-1;for(var W=E;W&lt;D;W++)b=b&gt;&gt;&gt;8^M[255&amp;(b^x[W])];return-1^b}},{}],46:[function(d,g,y){var p,b=d(&quot;../utils/common&quot;),x=d(&quot;./trees&quot;),_=d(&quot;./adler32&quot;),E=d(&quot;./crc32&quot;),M=d(&quot;./messages&quot;),D=-2,W=258,L=262,V=113;function H(U,ee){return U.msg=M[ee],ee}function K(U){return(U&lt;&lt;1)-(4&lt;U?9:0)}function z(U){for(var ee=U.length;0&lt;=--ee;)U[ee]=0}function O(U){var ee=U.state,F=ee.pending;F&gt;U.avail_out&amp;&amp;(F=U.avail_out),F!==0&amp;&amp;(b.arraySet(U.output,ee.pending_buf,ee.pending_out,F,U.next_out),U.next_out+=F,ee.pending_out+=F,U.total_out+=F,U.avail_out-=F,ee.pending-=F,ee.pending===0&amp;&amp;(ee.pending_out=0))}function I(U,ee){x._tr_flush_block(U,0&lt;=U.block_start?U.block_start:-1,U.strstart-U.block_start,ee),U.block_start=U.strstart,O(U.strm)}function C(U,ee){U.pending_buf[U.pending++]=ee}function j(U,ee){U.pending_buf[U.pending++]=ee&gt;&gt;&gt;8&amp;255,U.pending_buf[U.pending++]=255&amp;ee}function k(U,ee){var F,P,X=U.max_chain_length,re=U.strstart,Z=U.prev_length,te=U.nice_match,ae=U.strstart&gt;U.w_size-L?U.strstart-(U.w_size-L):0,ce=U.window,fe=U.w_mask,se=U.prev,ue=U.strstart+W,ie=ce[re+Z-1],he=ce[re+Z];U.prev_length&gt;=U.good_match&amp;&amp;(X&gt;&gt;=2),te&gt;U.lookahead&amp;&amp;(te=U.lookahead);do if(ce[(F=ee)+Z]===he&amp;&amp;ce[F+Z-1]===ie&amp;&amp;ce[F]===ce[re]&amp;&amp;ce[++F]===ce[re+1]){re+=2,F++;do;while(ce[++re]===ce[++F]&amp;&amp;ce[++re]===ce[++F]&amp;&amp;ce[++re]===ce[++F]&amp;&amp;ce[++re]===ce[++F]&amp;&amp;ce[++re]===ce[++F]&amp;&amp;ce[++re]===ce[++F]&amp;&amp;ce[++re]===ce[++F]&amp;&amp;ce[++re]===ce[++F]&amp;&amp;re&lt;ue);if(P=W-(ue-re),re=ue-W,Z&lt;P){if(U.match_start=ee,te&lt;=(Z=P))break;ie=ce[re+Z-1],he=ce[re+Z]}}while((ee=se[ee&amp;fe])&gt;ae&amp;&amp;--X!=0);return Z&lt;=U.lookahead?Z:U.lookahead}function S(U){var ee,F,P,X,re,Z,te,ae,ce,fe,se=U.w_size;do{if(X=U.window_size-U.lookahead-U.strstart,U.strstart&gt;=se+(se-L)){for(b.arraySet(U.window,U.window,se,se,0),U.match_start-=se,U.strstart-=se,U.block_start-=se,ee=F=U.hash_size;P=U.head[--ee],U.head[ee]=se&lt;=P?P-se:0,--F;);for(ee=F=se;P=U.prev[--ee],U.prev[ee]=se&lt;=P?P-se:0,--F;);X+=se}if(U.strm.avail_in===0)break;if(Z=U.strm,te=U.window,ae=U.strstart+U.lookahead,fe=void 0,(ce=X)&lt;(fe=Z.avail_in)&amp;&amp;(fe=ce),F=fe===0?0:(Z.avail_in-=fe,b.arraySet(te,Z.input,Z.next_in,fe,ae),Z.state.wrap===1?Z.adler=_(Z.adler,te,fe,ae):Z.state.wrap===2&amp;&amp;(Z.adler=E(Z.adler,te,fe,ae)),Z.next_in+=fe,Z.total_in+=fe,fe),U.lookahead+=F,U.lookahead+U.insert&gt;=3)for(re=U.strstart-U.insert,U.ins_h=U.window[re],U.ins_h=(U.ins_h&lt;&lt;U.hash_shift^U.window[re+1])&amp;U.hash_mask;U.insert&amp;&amp;(U.ins_h=(U.ins_h&lt;&lt;U.hash_shift^U.window[re+3-1])&amp;U.hash_mask,U.prev[re&amp;U.w_mask]=U.head[U.ins_h],U.head[U.ins_h]=re,re++,U.insert--,!(U.lookahead+U.insert&lt;3)););}while(U.lookahead&lt;L&amp;&amp;U.strm.avail_in!==0)}function N(U,ee){for(var F,P;;){if(U.lookahead&lt;L){if(S(U),U.lookahead&lt;L&amp;&amp;ee===0)return 1;if(U.lookahead===0)break}if(F=0,U.lookahead&gt;=3&amp;&amp;(U.ins_h=(U.ins_h&lt;&lt;U.hash_shift^U.window[U.strstart+3-1])&amp;U.hash_mask,F=U.prev[U.strstart&amp;U.w_mask]=U.head[U.ins_h],U.head[U.ins_h]=U.strstart),F!==0&amp;&amp;U.strstart-F&lt;=U.w_size-L&amp;&amp;(U.match_length=k(U,F)),U.match_length&gt;=3)if(P=x._tr_tally(U,U.strstart-U.match_start,U.match_length-3),U.lookahead-=U.match_length,U.match_length&lt;=U.max_lazy_match&amp;&amp;U.lookahead&gt;=3){for(U.match_length--;U.strstart++,U.ins_h=(U.ins_h&lt;&lt;U.hash_shift^U.window[U.strstart+3-1])&amp;U.hash_mask,F=U.prev[U.strstart&amp;U.w_mask]=U.head[U.ins_h],U.head[U.ins_h]=U.strstart,--U.match_length!=0;);U.strstart++}else U.strstart+=U.match_length,U.match_length=0,U.ins_h=U.window[U.strstart],U.ins_h=(U.ins_h&lt;&lt;U.hash_shift^U.window[U.strstart+1])&amp;U.hash_mask;else P=x._tr_tally(U,0,U.window[U.strstart]),U.lookahead--,U.strstart++;if(P&amp;&amp;(I(U,!1),U.strm.avail_out===0))return 1}return U.insert=U.strstart&lt;2?U.strstart:2,ee===4?(I(U,!0),U.strm.avail_out===0?3:4):U.last_lit&amp;&amp;(I(U,!1),U.strm.avail_out===0)?1:2}function T(U,ee){for(var F,P,X;;){if(U.lookahead&lt;L){if(S(U),U.lookahead&lt;L&amp;&amp;ee===0)return 1;if(U.lookahead===0)break}if(F=0,U.lookahead&gt;=3&amp;&amp;(U.ins_h=(U.ins_h&lt;&lt;U.hash_shift^U.window[U.strstart+3-1])&amp;U.hash_mask,F=U.prev[U.strstart&amp;U.w_mask]=U.head[U.ins_h],U.head[U.ins_h]=U.strstart),U.prev_length=U.match_length,U.prev_match=U.match_start,U.match_length=2,F!==0&amp;&amp;U.prev_length&lt;U.max_lazy_match&amp;&amp;U.strstart-F&lt;=U.w_size-L&amp;&amp;(U.match_length=k(U,F),U.match_length&lt;=5&amp;&amp;(U.strategy===1||U.match_length===3&amp;&amp;4096&lt;U.strstart-U.match_start)&amp;&amp;(U.match_length=2)),U.prev_length&gt;=3&amp;&amp;U.match_length&lt;=U.prev_length){for(X=U.strstart+U.lookahead-3,P=x._tr_tally(U,U.strstart-1-U.prev_match,U.prev_length-3),U.lookahead-=U.prev_length-1,U.prev_length-=2;++U.strstart&lt;=X&amp;&amp;(U.ins_h=(U.ins_h&lt;&lt;U.hash_shift^U.window[U.strstart+3-1])&amp;U.hash_mask,F=U.prev[U.strstart&amp;U.w_mask]=U.head[U.ins_h],U.head[U.ins_h]=U.strstart),--U.prev_length!=0;);if(U.match_available=0,U.match_length=2,U.strstart++,P&amp;&amp;(I(U,!1),U.strm.avail_out===0))return 1}else if(U.match_available){if((P=x._tr_tally(U,0,U.window[U.strstart-1]))&amp;&amp;I(U,!1),U.strstart++,U.lookahead--,U.strm.avail_out===0)return 1}else U.match_available=1,U.strstart++,U.lookahead--}return U.match_available&amp;&amp;(P=x._tr_tally(U,0,U.window[U.strstart-1]),U.match_available=0),U.insert=U.strstart&lt;2?U.strstart:2,ee===4?(I(U,!0),U.strm.avail_out===0?3:4):U.last_lit&amp;&amp;(I(U,!1),U.strm.avail_out===0)?1:2}function R(U,ee,F,P,X){this.good_length=U,this.max_lazy=ee,this.nice_length=F,this.max_chain=P,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),z(this.dyn_ltree),z(this.dyn_dtree),z(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),z(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new b.Buf16(573),z(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(U){var ee;return U&amp;&amp;U.state?(U.total_in=U.total_out=0,U.data_type=2,(ee=U.state).pending=0,ee.pending_out=0,ee.wrap&lt;0&amp;&amp;(ee.wrap=-ee.wrap),ee.status=ee.wrap?42:V,U.adler=ee.wrap===2?0:1,ee.last_flush=0,x._tr_init(ee),0):H(U,D)}function Q(U){var ee=Y(U);return ee===0&amp;&amp;(function(F){F.window_size=2*F.w_size,z(F.head),F.max_lazy_match=p[F.level].max_lazy,F.good_match=p[F.level].good_length,F.nice_match=p[F.level].nice_length,F.max_chain_length=p[F.level].max_chain,F.strstart=0,F.block_start=0,F.lookahead=0,F.insert=0,F.match_length=F.prev_length=2,F.match_available=0,F.ins_h=0})(U.state),ee}function ne(U,ee,F,P,X,re){if(!U)return D;var Z=1;if(ee===-1&amp;&amp;(ee=6),P&lt;0?(Z=0,P=-P):15&lt;P&amp;&amp;(Z=2,P-=16),X&lt;1||9&lt;X||F!==8||P&lt;8||15&lt;P||ee&lt;0||9&lt;ee||re&lt;0||4&lt;re)return H(U,D);P===8&amp;&amp;(P=9);var te=new B;return(U.state=te).strm=U,te.wrap=Z,te.gzhead=null,te.w_bits=P,te.w_size=1&lt;&lt;te.w_bits,te.w_mask=te.w_size-1,te.hash_bits=X+7,te.hash_size=1&lt;&lt;te.hash_bits,te.hash_mask=te.hash_size-1,te.hash_shift=~~((te.hash_bits+3-1)/3),te.window=new b.Buf8(2*te.w_size),te.head=new b.Buf16(te.hash_size),te.prev=new b.Buf16(te.w_size),te.lit_bufsize=1&lt;&lt;X+6,te.pending_buf_size=4*te.lit_bufsize,te.pending_buf=new b.Buf8(te.pending_buf_size),te.d_buf=1*te.lit_bufsize,te.l_buf=3*te.lit_bufsize,te.level=ee,te.strategy=re,te.method=F,Q(U)}p=[new R(0,0,0,0,(function(U,ee){var F=65535;for(F&gt;U.pending_buf_size-5&amp;&amp;(F=U.pending_buf_size-5);;){if(U.lookahead&lt;=1){if(S(U),U.lookahead===0&amp;&amp;ee===0)return 1;if(U.lookahead===0)break}U.strstart+=U.lookahead,U.lookahead=0;var P=U.block_start+F;if((U.strstart===0||U.strstart&gt;=P)&amp;&amp;(U.lookahead=U.strstart-P,U.strstart=P,I(U,!1),U.strm.avail_out===0)||U.strstart-U.block_start&gt;=U.w_size-L&amp;&amp;(I(U,!1),U.strm.avail_out===0))return 1}return U.insert=0,ee===4?(I(U,!0),U.strm.avail_out===0?3:4):(U.strstart&gt;U.block_start&amp;&amp;(I(U,!1),U.strm.avail_out),1)})),new R(4,4,8,4,N),new R(4,5,16,8,N),new R(4,6,32,32,N),new R(4,4,16,16,T),new R(8,16,32,32,T),new R(8,16,128,128,T),new R(8,32,128,256,T),new R(32,128,258,1024,T),new R(32,258,258,4096,T)],y.deflateInit=function(U,ee){return ne(U,ee,8,15,8,0)},y.deflateInit2=ne,y.deflateReset=Q,y.deflateResetKeep=Y,y.deflateSetHeader=function(U,ee){return U&amp;&amp;U.state?U.state.wrap!==2?D:(U.state.gzhead=ee,0):D},y.deflate=function(U,ee){var F,P,X,re;if(!U||!U.state||5&lt;ee||ee&lt;0)return U?H(U,D):D;if(P=U.state,!U.output||!U.input&amp;&amp;U.avail_in!==0||P.status===666&amp;&amp;ee!==4)return H(U,U.avail_out===0?-5:D);if(P.strm=U,F=P.last_flush,P.last_flush=ee,P.status===42)if(P.wrap===2)U.adler=0,C(P,31),C(P,139),C(P,8),P.gzhead?(C(P,(P.gzhead.text?1:0)+(P.gzhead.hcrc?2:0)+(P.gzhead.extra?4:0)+(P.gzhead.name?8:0)+(P.gzhead.comment?16:0)),C(P,255&amp;P.gzhead.time),C(P,P.gzhead.time&gt;&gt;8&amp;255),C(P,P.gzhead.time&gt;&gt;16&amp;255),C(P,P.gzhead.time&gt;&gt;24&amp;255),C(P,P.level===9?2:2&lt;=P.strategy||P.level&lt;2?4:0),C(P,255&amp;P.gzhead.os),P.gzhead.extra&amp;&amp;P.gzhead.extra.length&amp;&amp;(C(P,255&amp;P.gzhead.extra.length),C(P,P.gzhead.extra.length&gt;&gt;8&amp;255)),P.gzhead.hcrc&amp;&amp;(U.adler=E(U.adler,P.pending_buf,P.pending,0)),P.gzindex=0,P.status=69):(C(P,0),C(P,0),C(P,0),C(P,0),C(P,0),C(P,P.level===9?2:2&lt;=P.strategy||P.level&lt;2?4:0),C(P,3),P.status=V);else{var Z=8+(P.w_bits-8&lt;&lt;4)&lt;&lt;8;Z|=(2&lt;=P.strategy||P.level&lt;2?0:P.level&lt;6?1:P.level===6?2:3)&lt;&lt;6,P.strstart!==0&amp;&amp;(Z|=32),Z+=31-Z%31,P.status=V,j(P,Z),P.strstart!==0&amp;&amp;(j(P,U.adler&gt;&gt;&gt;16),j(P,65535&amp;U.adler)),U.adler=1}if(P.status===69)if(P.gzhead.extra){for(X=P.pending;P.gzindex&lt;(65535&amp;P.gzhead.extra.length)&amp;&amp;(P.pending!==P.pending_buf_size||(P.gzhead.hcrc&amp;&amp;P.pending&gt;X&amp;&amp;(U.adler=E(U.adler,P.pending_buf,P.pending-X,X)),O(U),X=P.pending,P.pending!==P.pending_buf_size));)C(P,255&amp;P.gzhead.extra[P.gzindex]),P.gzindex++;P.gzhead.hcrc&amp;&amp;P.pending&gt;X&amp;&amp;(U.adler=E(U.adler,P.pending_buf,P.pending-X,X)),P.gzindex===P.gzhead.extra.length&amp;&amp;(P.gzindex=0,P.status=73)}else P.status=73;if(P.status===73)if(P.gzhead.name){X=P.pending;do{if(P.pending===P.pending_buf_size&amp;&amp;(P.gzhead.hcrc&amp;&amp;P.pending&gt;X&amp;&amp;(U.adler=E(U.adler,P.pending_buf,P.pending-X,X)),O(U),X=P.pending,P.pending===P.pending_buf_size)){re=1;break}re=P.gzindex&lt;P.gzhead.name.length?255&amp;P.gzhead.name.charCodeAt(P.gzindex++):0,C(P,re)}while(re!==0);P.gzhead.hcrc&amp;&amp;P.pending&gt;X&amp;&amp;(U.adler=E(U.adler,P.pending_buf,P.pending-X,X)),re===0&amp;&amp;(P.gzindex=0,P.status=91)}else P.status=91;if(P.status===91)if(P.gzhead.comment){X=P.pending;do{if(P.pending===P.pending_buf_size&amp;&amp;(P.gzhead.hcrc&amp;&amp;P.pending&gt;X&amp;&amp;(U.adler=E(U.adler,P.pending_buf,P.pending-X,X)),O(U),X=P.pending,P.pending===P.pending_buf_size)){re=1;break}re=P.gzindex&lt;P.gzhead.comment.length?255&amp;P.gzhead.comment.charCodeAt(P.gzindex++):0,C(P,re)}while(re!==0);P.gzhead.hcrc&amp;&amp;P.pending&gt;X&amp;&amp;(U.adler=E(U.adler,P.pending_buf,P.pending-X,X)),re===0&amp;&amp;(P.status=103)}else P.status=103;if(P.status===103&amp;&amp;(P.gzhead.hcrc?(P.pending+2&gt;P.pending_buf_size&amp;&amp;O(U),P.pending+2&lt;=P.pending_buf_size&amp;&amp;(C(P,255&amp;U.adler),C(P,U.adler&gt;&gt;8&amp;255),U.adler=0,P.status=V)):P.status=V),P.pending!==0){if(O(U),U.avail_out===0)return P.last_flush=-1,0}else if(U.avail_in===0&amp;&amp;K(ee)&lt;=K(F)&amp;&amp;ee!==4)return H(U,-5);if(P.status===666&amp;&amp;U.avail_in!==0)return H(U,-5);if(U.avail_in!==0||P.lookahead!==0||ee!==0&amp;&amp;P.status!==666){var te=P.strategy===2?(function(ae,ce){for(var fe;;){if(ae.lookahead===0&amp;&amp;(S(ae),ae.lookahead===0)){if(ce===0)return 1;break}if(ae.match_length=0,fe=x._tr_tally(ae,0,ae.window[ae.strstart]),ae.lookahead--,ae.strstart++,fe&amp;&amp;(I(ae,!1),ae.strm.avail_out===0))return 1}return ae.insert=0,ce===4?(I(ae,!0),ae.strm.avail_out===0?3:4):ae.last_lit&amp;&amp;(I(ae,!1),ae.strm.avail_out===0)?1:2})(P,ee):P.strategy===3?(function(ae,ce){for(var fe,se,ue,ie,he=ae.window;;){if(ae.lookahead&lt;=W){if(S(ae),ae.lookahead&lt;=W&amp;&amp;ce===0)return 1;if(ae.lookahead===0)break}if(ae.match_length=0,ae.lookahead&gt;=3&amp;&amp;0&lt;ae.strstart&amp;&amp;(se=he[ue=ae.strstart-1])===he[++ue]&amp;&amp;se===he[++ue]&amp;&amp;se===he[++ue]){ie=ae.strstart+W;do;while(se===he[++ue]&amp;&amp;se===he[++ue]&amp;&amp;se===he[++ue]&amp;&amp;se===he[++ue]&amp;&amp;se===he[++ue]&amp;&amp;se===he[++ue]&amp;&amp;se===he[++ue]&amp;&amp;se===he[++ue]&amp;&amp;ue&lt;ie);ae.match_length=W-(ie-ue),ae.match_length&gt;ae.lookahead&amp;&amp;(ae.match_length=ae.lookahead)}if(ae.match_length&gt;=3?(fe=x._tr_tally(ae,1,ae.match_length-3),ae.lookahead-=ae.match_length,ae.strstart+=ae.match_length,ae.match_length=0):(fe=x._tr_tally(ae,0,ae.window[ae.strstart]),ae.lookahead--,ae.strstart++),fe&amp;&amp;(I(ae,!1),ae.strm.avail_out===0))return 1}return ae.insert=0,ce===4?(I(ae,!0),ae.strm.avail_out===0?3:4):ae.last_lit&amp;&amp;(I(ae,!1),ae.strm.avail_out===0)?1:2})(P,ee):p[P.level].func(P,ee);if(te!==3&amp;&amp;te!==4||(P.status=666),te===1||te===3)return U.avail_out===0&amp;&amp;(P.last_flush=-1),0;if(te===2&amp;&amp;(ee===1?x._tr_align(P):ee!==5&amp;&amp;(x._tr_stored_block(P,0,0,!1),ee===3&amp;&amp;(z(P.head),P.lookahead===0&amp;&amp;(P.strstart=0,P.block_start=0,P.insert=0))),O(U),U.avail_out===0))return P.last_flush=-1,0}return ee!==4?0:P.wrap&lt;=0?1:(P.wrap===2?(C(P,255&amp;U.adler),C(P,U.adler&gt;&gt;8&amp;255),C(P,U.adler&gt;&gt;16&amp;255),C(P,U.adler&gt;&gt;24&amp;255),C(P,255&amp;U.total_in),C(P,U.total_in&gt;&gt;8&amp;255),C(P,U.total_in&gt;&gt;16&amp;255),C(P,U.total_in&gt;&gt;24&amp;255)):(j(P,U.adler&gt;&gt;&gt;16),j(P,65535&amp;U.adler)),O(U),0&lt;P.wrap&amp;&amp;(P.wrap=-P.wrap),P.pending!==0?0:1)},y.deflateEnd=function(U){var ee;return U&amp;&amp;U.state?(ee=U.state.status)!==42&amp;&amp;ee!==69&amp;&amp;ee!==73&amp;&amp;ee!==91&amp;&amp;ee!==103&amp;&amp;ee!==V&amp;&amp;ee!==666?H(U,D):(U.state=null,ee===V?H(U,-3):0):D},y.deflateSetDictionary=function(U,ee){var F,P,X,re,Z,te,ae,ce,fe=ee.length;if(!U||!U.state||(re=(F=U.state).wrap)===2||re===1&amp;&amp;F.status!==42||F.lookahead)return D;for(re===1&amp;&amp;(U.adler=_(U.adler,ee,fe,0)),F.wrap=0,fe&gt;=F.w_size&amp;&amp;(re===0&amp;&amp;(z(F.head),F.strstart=0,F.block_start=0,F.insert=0),ce=new b.Buf8(F.w_size),b.arraySet(ce,ee,fe-F.w_size,F.w_size,0),ee=ce,fe=F.w_size),Z=U.avail_in,te=U.next_in,ae=U.input,U.avail_in=fe,U.next_in=0,U.input=ee,S(F);F.lookahead&gt;=3;){for(P=F.strstart,X=F.lookahead-2;F.ins_h=(F.ins_h&lt;&lt;F.hash_shift^F.window[P+3-1])&amp;F.hash_mask,F.prev[P&amp;F.w_mask]=F.head[F.ins_h],F.head[F.ins_h]=P,P++,--X;);F.strstart=P,F.lookahead=2,S(F)}return F.strstart+=F.lookahead,F.block_start=F.strstart,F.insert=F.lookahead,F.lookahead=0,F.match_length=F.prev_length=2,F.match_available=0,U.next_in=te,U.input=ae,U.avail_in=Z,F.wrap=re,0},y.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(d,g,y){g.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(d,g,y){g.exports=function(p,b){var x,_,E,M,D,W,L,V,H,K,z,O,I,C,j,k,S,N,T,R,B,Y,Q,ne,U;x=p.state,_=p.next_in,ne=p.input,E=_+(p.avail_in-5),M=p.next_out,U=p.output,D=M-(b-p.avail_out),W=M+(p.avail_out-257),L=x.dmax,V=x.wsize,H=x.whave,K=x.wnext,z=x.window,O=x.hold,I=x.bits,C=x.lencode,j=x.distcode,k=(1&lt;&lt;x.lenbits)-1,S=(1&lt;&lt;x.distbits)-1;e:do{I&lt;15&amp;&amp;(O+=ne[_++]&lt;&lt;I,I+=8,O+=ne[_++]&lt;&lt;I,I+=8),N=C[O&amp;k];t:for(;;){if(O&gt;&gt;&gt;=T=N&gt;&gt;&gt;24,I-=T,(T=N&gt;&gt;&gt;16&amp;255)==0)U[M++]=65535&amp;N;else{if(!(16&amp;T)){if((64&amp;T)==0){N=C[(65535&amp;N)+(O&amp;(1&lt;&lt;T)-1)];continue t}if(32&amp;T){x.mode=12;break e}p.msg=&quot;invalid literal/length code&quot;,x.mode=30;break e}R=65535&amp;N,(T&amp;=15)&amp;&amp;(I&lt;T&amp;&amp;(O+=ne[_++]&lt;&lt;I,I+=8),R+=O&amp;(1&lt;&lt;T)-1,O&gt;&gt;&gt;=T,I-=T),I&lt;15&amp;&amp;(O+=ne[_++]&lt;&lt;I,I+=8,O+=ne[_++]&lt;&lt;I,I+=8),N=j[O&amp;S];r:for(;;){if(O&gt;&gt;&gt;=T=N&gt;&gt;&gt;24,I-=T,!(16&amp;(T=N&gt;&gt;&gt;16&amp;255))){if((64&amp;T)==0){N=j[(65535&amp;N)+(O&amp;(1&lt;&lt;T)-1)];continue r}p.msg=&quot;invalid distance code&quot;,x.mode=30;break e}if(B=65535&amp;N,I&lt;(T&amp;=15)&amp;&amp;(O+=ne[_++]&lt;&lt;I,(I+=8)&lt;T&amp;&amp;(O+=ne[_++]&lt;&lt;I,I+=8)),L&lt;(B+=O&amp;(1&lt;&lt;T)-1)){p.msg=&quot;invalid distance too far back&quot;,x.mode=30;break e}if(O&gt;&gt;&gt;=T,I-=T,(T=M-D)&lt;B){if(H&lt;(T=B-T)&amp;&amp;x.sane){p.msg=&quot;invalid distance too far back&quot;,x.mode=30;break e}if(Q=z,(Y=0)===K){if(Y+=V-T,T&lt;R){for(R-=T;U[M++]=z[Y++],--T;);Y=M-B,Q=U}}else if(K&lt;T){if(Y+=V+K-T,(T-=K)&lt;R){for(R-=T;U[M++]=z[Y++],--T;);if(Y=0,K&lt;R){for(R-=T=K;U[M++]=z[Y++],--T;);Y=M-B,Q=U}}}else if(Y+=K-T,T&lt;R){for(R-=T;U[M++]=z[Y++],--T;);Y=M-B,Q=U}for(;2&lt;R;)U[M++]=Q[Y++],U[M++]=Q[Y++],U[M++]=Q[Y++],R-=3;R&amp;&amp;(U[M++]=Q[Y++],1&lt;R&amp;&amp;(U[M++]=Q[Y++]))}else{for(Y=M-B;U[M++]=U[Y++],U[M++]=U[Y++],U[M++]=U[Y++],2&lt;(R-=3););R&amp;&amp;(U[M++]=U[Y++],1&lt;R&amp;&amp;(U[M++]=U[Y++]))}break}}break}}while(_&lt;E&amp;&amp;M&lt;W);_-=R=I&gt;&gt;3,O&amp;=(1&lt;&lt;(I-=R&lt;&lt;3))-1,p.next_in=_,p.next_out=M,p.avail_in=_&lt;E?E-_+5:5-(_-E),p.avail_out=M&lt;W?W-M+257:257-(M-W),x.hold=O,x.bits=I}},{}],49:[function(d,g,y){var p=d(&quot;../utils/common&quot;),b=d(&quot;./adler32&quot;),x=d(&quot;./crc32&quot;),_=d(&quot;./inffast&quot;),E=d(&quot;./inftrees&quot;),M=-2;function D(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 W(){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 p.Buf16(320),this.work=new p.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 p.Buf32(852),S.distcode=S.distdyn=new p.Buf32(592),S.sane=1,S.back=-1,0):M}function V(k){var S;return k&amp;&amp;k.state?((S=k.state).wsize=0,S.whave=0,S.wnext=0,L(k)):M}function H(k,S){var N,T;return k&amp;&amp;k.state?(T=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)?M:(T.window!==null&amp;&amp;T.wbits!==S&amp;&amp;(T.window=null),T.wrap=N,T.wbits=S,V(k))):M}function K(k,S){var N,T;return k?(T=new W,(k.state=T).window=null,(N=H(k,S))!==0&amp;&amp;(k.state=null),N):M}var z,O,I=!0;function C(k){if(I){var S;for(z=new p.Buf32(512),O=new p.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(E(1,k.lens,0,288,z,0,k.work,{bits:9}),S=0;S&lt;32;)k.lens[S++]=5;E(2,k.lens,0,32,O,0,k.work,{bits:5}),I=!1}k.lencode=z,k.lenbits=9,k.distcode=O,k.distbits=5}function j(k,S,N,T){var R,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 p.Buf8(B.wsize)),T&gt;=B.wsize?(p.arraySet(B.window,S,N-B.wsize,B.wsize,0),B.wnext=0,B.whave=B.wsize):(T&lt;(R=B.wsize-B.wnext)&amp;&amp;(R=T),p.arraySet(B.window,S,N-T,R,B.wnext),(T-=R)?(p.arraySet(B.window,S,N-T,T,0),B.wnext=T,B.whave=B.wsize):(B.wnext+=R,B.wnext===B.wsize&amp;&amp;(B.wnext=0),B.whave&lt;B.wsize&amp;&amp;(B.whave+=R))),0}y.inflateReset=V,y.inflateReset2=H,y.inflateResetKeep=L,y.inflateInit=function(k){return K(k,15)},y.inflateInit2=K,y.inflate=function(k,S){var N,T,R,B,Y,Q,ne,U,ee,F,P,X,re,Z,te,ae,ce,fe,se,ue,ie,he,ge,pe,le=0,_e=new p.Buf8(4),Se=[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 M;(N=k.state).mode===12&amp;&amp;(N.mode=13),Y=k.next_out,R=k.output,ne=k.avail_out,B=k.next_in,T=k.input,Q=k.avail_in,U=N.hold,ee=N.bits,F=Q,P=ne,he=0;e:for(;;)switch(N.mode){case 1:if(N.wrap===0){N.mode=13;break}for(;ee&lt;16;){if(Q===0)break e;Q--,U+=T[B++]&lt;&lt;ee,ee+=8}if(2&amp;N.wrap&amp;&amp;U===35615){_e[N.check=0]=255&amp;U,_e[1]=U&gt;&gt;&gt;8&amp;255,N.check=x(N.check,_e,2,0),ee=U=0,N.mode=2;break}if(N.flags=0,N.head&amp;&amp;(N.head.done=!1),!(1&amp;N.wrap)||(((255&amp;U)&lt;&lt;8)+(U&gt;&gt;8))%31){k.msg=&quot;incorrect header check&quot;,N.mode=30;break}if((15&amp;U)!=8){k.msg=&quot;unknown compression method&quot;,N.mode=30;break}if(ee-=4,ie=8+(15&amp;(U&gt;&gt;&gt;=4)),N.wbits===0)N.wbits=ie;else if(ie&gt;N.wbits){k.msg=&quot;invalid window size&quot;,N.mode=30;break}N.dmax=1&lt;&lt;ie,k.adler=N.check=1,N.mode=512&amp;U?10:12,ee=U=0;break;case 2:for(;ee&lt;16;){if(Q===0)break e;Q--,U+=T[B++]&lt;&lt;ee,ee+=8}if(N.flags=U,(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=U&gt;&gt;8&amp;1),512&amp;N.flags&amp;&amp;(_e[0]=255&amp;U,_e[1]=U&gt;&gt;&gt;8&amp;255,N.check=x(N.check,_e,2,0)),ee=U=0,N.mode=3;case 3:for(;ee&lt;32;){if(Q===0)break e;Q--,U+=T[B++]&lt;&lt;ee,ee+=8}N.head&amp;&amp;(N.head.time=U),512&amp;N.flags&amp;&amp;(_e[0]=255&amp;U,_e[1]=U&gt;&gt;&gt;8&amp;255,_e[2]=U&gt;&gt;&gt;16&amp;255,_e[3]=U&gt;&gt;&gt;24&amp;255,N.check=x(N.check,_e,4,0)),ee=U=0,N.mode=4;case 4:for(;ee&lt;16;){if(Q===0)break e;Q--,U+=T[B++]&lt;&lt;ee,ee+=8}N.head&amp;&amp;(N.head.xflags=255&amp;U,N.head.os=U&gt;&gt;8),512&amp;N.flags&amp;&amp;(_e[0]=255&amp;U,_e[1]=U&gt;&gt;&gt;8&amp;255,N.check=x(N.check,_e,2,0)),ee=U=0,N.mode=5;case 5:if(1024&amp;N.flags){for(;ee&lt;16;){if(Q===0)break e;Q--,U+=T[B++]&lt;&lt;ee,ee+=8}N.length=U,N.head&amp;&amp;(N.head.extra_len=U),512&amp;N.flags&amp;&amp;(_e[0]=255&amp;U,_e[1]=U&gt;&gt;&gt;8&amp;255,N.check=x(N.check,_e,2,0)),ee=U=0}else N.head&amp;&amp;(N.head.extra=null);N.mode=6;case 6:if(1024&amp;N.flags&amp;&amp;(Q&lt;(X=N.length)&amp;&amp;(X=Q),X&amp;&amp;(N.head&amp;&amp;(ie=N.head.extra_len-N.length,N.head.extra||(N.head.extra=new Array(N.head.extra_len)),p.arraySet(N.head.extra,T,B,X,ie)),512&amp;N.flags&amp;&amp;(N.check=x(N.check,T,X,B)),Q-=X,B+=X,N.length-=X),N.length))break e;N.length=0,N.mode=7;case 7:if(2048&amp;N.flags){if(Q===0)break e;for(X=0;ie=T[B+X++],N.head&amp;&amp;ie&amp;&amp;N.length&lt;65536&amp;&amp;(N.head.name+=String.fromCharCode(ie)),ie&amp;&amp;X&lt;Q;);if(512&amp;N.flags&amp;&amp;(N.check=x(N.check,T,X,B)),Q-=X,B+=X,ie)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(Q===0)break e;for(X=0;ie=T[B+X++],N.head&amp;&amp;ie&amp;&amp;N.length&lt;65536&amp;&amp;(N.head.comment+=String.fromCharCode(ie)),ie&amp;&amp;X&lt;Q;);if(512&amp;N.flags&amp;&amp;(N.check=x(N.check,T,X,B)),Q-=X,B+=X,ie)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(Q===0)break e;Q--,U+=T[B++]&lt;&lt;ee,ee+=8}if(U!==(65535&amp;N.check)){k.msg=&quot;header crc mismatch&quot;,N.mode=30;break}ee=U=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(Q===0)break e;Q--,U+=T[B++]&lt;&lt;ee,ee+=8}k.adler=N.check=D(U),ee=U=0,N.mode=11;case 11:if(N.havedict===0)return k.next_out=Y,k.avail_out=ne,k.next_in=B,k.avail_in=Q,N.hold=U,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){U&gt;&gt;&gt;=7&amp;ee,ee-=7&amp;ee,N.mode=27;break}for(;ee&lt;3;){if(Q===0)break e;Q--,U+=T[B++]&lt;&lt;ee,ee+=8}switch(N.last=1&amp;U,ee-=1,3&amp;(U&gt;&gt;&gt;=1)){case 0:N.mode=14;break;case 1:if(C(N),N.mode=20,S!==6)break;U&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}U&gt;&gt;&gt;=2,ee-=2;break;case 14:for(U&gt;&gt;&gt;=7&amp;ee,ee-=7&amp;ee;ee&lt;32;){if(Q===0)break e;Q--,U+=T[B++]&lt;&lt;ee,ee+=8}if((65535&amp;U)!=(U&gt;&gt;&gt;16^65535)){k.msg=&quot;invalid stored block lengths&quot;,N.mode=30;break}if(N.length=65535&amp;U,ee=U=0,N.mode=15,S===6)break e;case 15:N.mode=16;case 16:if(X=N.length){if(Q&lt;X&amp;&amp;(X=Q),ne&lt;X&amp;&amp;(X=ne),X===0)break e;p.arraySet(R,T,B,X,Y),Q-=X,B+=X,ne-=X,Y+=X,N.length-=X;break}N.mode=12;break;case 17:for(;ee&lt;14;){if(Q===0)break e;Q--,U+=T[B++]&lt;&lt;ee,ee+=8}if(N.nlen=257+(31&amp;U),U&gt;&gt;&gt;=5,ee-=5,N.ndist=1+(31&amp;U),U&gt;&gt;&gt;=5,ee-=5,N.ncode=4+(15&amp;U),U&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(Q===0)break e;Q--,U+=T[B++]&lt;&lt;ee,ee+=8}N.lens[Se[N.have++]]=7&amp;U,U&gt;&gt;&gt;=3,ee-=3}for(;N.have&lt;19;)N.lens[Se[N.have++]]=0;if(N.lencode=N.lendyn,N.lenbits=7,ge={bits:N.lenbits},he=E(0,N.lens,0,19,N.lencode,0,N.work,ge),N.lenbits=ge.bits,he){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(;ae=(le=N.lencode[U&amp;(1&lt;&lt;N.lenbits)-1])&gt;&gt;&gt;16&amp;255,ce=65535&amp;le,!((te=le&gt;&gt;&gt;24)&lt;=ee);){if(Q===0)break e;Q--,U+=T[B++]&lt;&lt;ee,ee+=8}if(ce&lt;16)U&gt;&gt;&gt;=te,ee-=te,N.lens[N.have++]=ce;else{if(ce===16){for(pe=te+2;ee&lt;pe;){if(Q===0)break e;Q--,U+=T[B++]&lt;&lt;ee,ee+=8}if(U&gt;&gt;&gt;=te,ee-=te,N.have===0){k.msg=&quot;invalid bit length repeat&quot;,N.mode=30;break}ie=N.lens[N.have-1],X=3+(3&amp;U),U&gt;&gt;&gt;=2,ee-=2}else if(ce===17){for(pe=te+3;ee&lt;pe;){if(Q===0)break e;Q--,U+=T[B++]&lt;&lt;ee,ee+=8}ee-=te,ie=0,X=3+(7&amp;(U&gt;&gt;&gt;=te)),U&gt;&gt;&gt;=3,ee-=3}else{for(pe=te+7;ee&lt;pe;){if(Q===0)break e;Q--,U+=T[B++]&lt;&lt;ee,ee+=8}ee-=te,ie=0,X=11+(127&amp;(U&gt;&gt;&gt;=te)),U&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++]=ie}}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},he=E(1,N.lens,0,N.nlen,N.lencode,0,N.work,ge),N.lenbits=ge.bits,he){k.msg=&quot;invalid literal/lengths set&quot;,N.mode=30;break}if(N.distbits=6,N.distcode=N.distdyn,ge={bits:N.distbits},he=E(2,N.lens,N.nlen,N.ndist,N.distcode,0,N.work,ge),N.distbits=ge.bits,he){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;=Q&amp;&amp;258&lt;=ne){k.next_out=Y,k.avail_out=ne,k.next_in=B,k.avail_in=Q,N.hold=U,N.bits=ee,_(k,P),Y=k.next_out,R=k.output,ne=k.avail_out,B=k.next_in,T=k.input,Q=k.avail_in,U=N.hold,ee=N.bits,N.mode===12&amp;&amp;(N.back=-1);break}for(N.back=0;ae=(le=N.lencode[U&amp;(1&lt;&lt;N.lenbits)-1])&gt;&gt;&gt;16&amp;255,ce=65535&amp;le,!((te=le&gt;&gt;&gt;24)&lt;=ee);){if(Q===0)break e;Q--,U+=T[B++]&lt;&lt;ee,ee+=8}if(ae&amp;&amp;(240&amp;ae)==0){for(fe=te,se=ae,ue=ce;ae=(le=N.lencode[ue+((U&amp;(1&lt;&lt;fe+se)-1)&gt;&gt;fe)])&gt;&gt;&gt;16&amp;255,ce=65535&amp;le,!(fe+(te=le&gt;&gt;&gt;24)&lt;=ee);){if(Q===0)break e;Q--,U+=T[B++]&lt;&lt;ee,ee+=8}U&gt;&gt;&gt;=fe,ee-=fe,N.back+=fe}if(U&gt;&gt;&gt;=te,ee-=te,N.back+=te,N.length=ce,ae===0){N.mode=26;break}if(32&amp;ae){N.back=-1,N.mode=12;break}if(64&amp;ae){k.msg=&quot;invalid literal/length code&quot;,N.mode=30;break}N.extra=15&amp;ae,N.mode=22;case 22:if(N.extra){for(pe=N.extra;ee&lt;pe;){if(Q===0)break e;Q--,U+=T[B++]&lt;&lt;ee,ee+=8}N.length+=U&amp;(1&lt;&lt;N.extra)-1,U&gt;&gt;&gt;=N.extra,ee-=N.extra,N.back+=N.extra}N.was=N.length,N.mode=23;case 23:for(;ae=(le=N.distcode[U&amp;(1&lt;&lt;N.distbits)-1])&gt;&gt;&gt;16&amp;255,ce=65535&amp;le,!((te=le&gt;&gt;&gt;24)&lt;=ee);){if(Q===0)break e;Q--,U+=T[B++]&lt;&lt;ee,ee+=8}if((240&amp;ae)==0){for(fe=te,se=ae,ue=ce;ae=(le=N.distcode[ue+((U&amp;(1&lt;&lt;fe+se)-1)&gt;&gt;fe)])&gt;&gt;&gt;16&amp;255,ce=65535&amp;le,!(fe+(te=le&gt;&gt;&gt;24)&lt;=ee);){if(Q===0)break e;Q--,U+=T[B++]&lt;&lt;ee,ee+=8}U&gt;&gt;&gt;=fe,ee-=fe,N.back+=fe}if(U&gt;&gt;&gt;=te,ee-=te,N.back+=te,64&amp;ae){k.msg=&quot;invalid distance code&quot;,N.mode=30;break}N.offset=ce,N.extra=15&amp;ae,N.mode=24;case 24:if(N.extra){for(pe=N.extra;ee&lt;pe;){if(Q===0)break e;Q--,U+=T[B++]&lt;&lt;ee,ee+=8}N.offset+=U&amp;(1&lt;&lt;N.extra)-1,U&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(ne===0)break e;if(X=P-ne,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),Z=N.window}else Z=R,re=Y-N.offset,X=N.length;for(ne&lt;X&amp;&amp;(X=ne),ne-=X,N.length-=X;R[Y++]=Z[re++],--X;);N.length===0&amp;&amp;(N.mode=21);break;case 26:if(ne===0)break e;R[Y++]=N.length,ne--,N.mode=21;break;case 27:if(N.wrap){for(;ee&lt;32;){if(Q===0)break e;Q--,U|=T[B++]&lt;&lt;ee,ee+=8}if(P-=ne,k.total_out+=P,N.total+=P,P&amp;&amp;(k.adler=N.check=N.flags?x(N.check,R,P,Y-P):b(N.check,R,P,Y-P)),P=ne,(N.flags?U:D(U))!==N.check){k.msg=&quot;incorrect data check&quot;,N.mode=30;break}ee=U=0}N.mode=28;case 28:if(N.wrap&amp;&amp;N.flags){for(;ee&lt;32;){if(Q===0)break e;Q--,U+=T[B++]&lt;&lt;ee,ee+=8}if(U!==(4294967295&amp;N.total)){k.msg=&quot;incorrect length check&quot;,N.mode=30;break}ee=U=0}N.mode=29;case 29:he=1;break e;case 30:he=-3;break e;case 31:return-4;default:return M}return k.next_out=Y,k.avail_out=ne,k.next_in=B,k.avail_in=Q,N.hold=U,N.bits=ee,(N.wsize||P!==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,P-k.avail_out)?(N.mode=31,-4):(F-=k.avail_in,P-=k.avail_out,k.total_in+=F,k.total_out+=P,N.total+=P,N.wrap&amp;&amp;P&amp;&amp;(k.adler=N.check=N.flags?x(N.check,R,P,k.next_out-P):b(N.check,R,P,k.next_out-P)),k.data_type=N.bits+(N.last?64:0)+(N.mode===12?128:0)+(N.mode===20||N.mode===15?256:0),(F==0&amp;&amp;P===0||S===4)&amp;&amp;he===0&amp;&amp;(he=-5),he)},y.inflateEnd=function(k){if(!k||!k.state)return M;var S=k.state;return S.window&amp;&amp;(S.window=null),k.state=null,0},y.inflateGetHeader=function(k,S){var N;return k&amp;&amp;k.state?(2&amp;(N=k.state).wrap)==0?M:((N.head=S).done=!1,0):M},y.inflateSetDictionary=function(k,S){var N,T=S.length;return k&amp;&amp;k.state?(N=k.state).wrap!==0&amp;&amp;N.mode!==11?M:N.mode===11&amp;&amp;b(1,S,T,0)!==N.check?-3:j(k,S,T,T)?(N.mode=31,-4):(N.havedict=1,0):M},y.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(d,g,y){var p=d(&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],E=[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];g.exports=function(M,D,W,L,V,H,K,z){var O,I,C,j,k,S,N,T,R,B=z.bits,Y=0,Q=0,ne=0,U=0,ee=0,F=0,P=0,X=0,re=0,Z=0,te=null,ae=0,ce=new p.Buf16(16),fe=new p.Buf16(16),se=null,ue=0;for(Y=0;Y&lt;=15;Y++)ce[Y]=0;for(Q=0;Q&lt;L;Q++)ce[D[W+Q]]++;for(ee=B,U=15;1&lt;=U&amp;&amp;ce[U]===0;U--);if(U&lt;ee&amp;&amp;(ee=U),U===0)return V[H++]=20971520,V[H++]=20971520,z.bits=1,0;for(ne=1;ne&lt;U&amp;&amp;ce[ne]===0;ne++);for(ee&lt;ne&amp;&amp;(ee=ne),Y=X=1;Y&lt;=15;Y++)if(X&lt;&lt;=1,(X-=ce[Y])&lt;0)return-1;if(0&lt;X&amp;&amp;(M===0||U!==1))return-1;for(fe[1]=0,Y=1;Y&lt;15;Y++)fe[Y+1]=fe[Y]+ce[Y];for(Q=0;Q&lt;L;Q++)D[W+Q]!==0&amp;&amp;(K[fe[D[W+Q]]++]=Q);if(S=M===0?(te=se=K,19):M===1?(te=b,ae-=257,se=x,ue-=257,256):(te=_,se=E,-1),Y=ne,k=H,P=Q=Z=0,C=-1,j=(re=1&lt;&lt;(F=ee))-1,M===1&amp;&amp;852&lt;re||M===2&amp;&amp;592&lt;re)return 1;for(;;){for(N=Y-P,R=K[Q]&lt;S?(T=0,K[Q]):K[Q]&gt;S?(T=se[ue+K[Q]],te[ae+K[Q]]):(T=96,0),O=1&lt;&lt;Y-P,ne=I=1&lt;&lt;F;V[k+(Z&gt;&gt;P)+(I-=O)]=N&lt;&lt;24|T&lt;&lt;16|R|0,I!==0;);for(O=1&lt;&lt;Y-1;Z&amp;O;)O&gt;&gt;=1;if(O!==0?(Z&amp;=O-1,Z+=O):Z=0,Q++,--ce[Y]==0){if(Y===U)break;Y=D[W+K[Q]]}if(ee&lt;Y&amp;&amp;(Z&amp;j)!==C){for(P===0&amp;&amp;(P=ee),k+=ne,X=1&lt;&lt;(F=Y-P);F+P&lt;U&amp;&amp;!((X-=ce[F+P])&lt;=0);)F++,X&lt;&lt;=1;if(re+=1&lt;&lt;F,M===1&amp;&amp;852&lt;re||M===2&amp;&amp;592&lt;re)return 1;V[C=Z&amp;j]=ee&lt;&lt;24|F&lt;&lt;16|k-H|0}}return Z!==0&amp;&amp;(V[k+Z]=Y-P&lt;&lt;24|64&lt;&lt;16|0),z.bits=ee,0}},{&quot;../utils/common&quot;:41}],51:[function(d,g,y){g.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(d,g,y){var p=d(&quot;../utils/common&quot;);function b(se){for(var ue=se.length;0&lt;=--ue;)se[ue]=0}var x=256,_=286,E=30,M=15,D=[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],W=[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],V=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],H=new Array(576);b(H);var K=new Array(60);b(K);var z=new Array(512);b(z);var O=new Array(256);b(O);var I=new Array(29);b(I);var C,j,k,S=new Array(E);function N(se,ue,ie,he,ge){this.static_tree=se,this.extra_bits=ue,this.extra_base=ie,this.elems=he,this.max_length=ge,this.has_stree=se&amp;&amp;se.length}function T(se,ue){this.dyn_tree=se,this.max_code=0,this.stat_desc=ue}function R(se){return se&lt;256?z[se]:z[256+(se&gt;&gt;&gt;7)]}function B(se,ue){se.pending_buf[se.pending++]=255&amp;ue,se.pending_buf[se.pending++]=ue&gt;&gt;&gt;8&amp;255}function Y(se,ue,ie){se.bi_valid&gt;16-ie?(se.bi_buf|=ue&lt;&lt;se.bi_valid&amp;65535,B(se,se.bi_buf),se.bi_buf=ue&gt;&gt;16-se.bi_valid,se.bi_valid+=ie-16):(se.bi_buf|=ue&lt;&lt;se.bi_valid&amp;65535,se.bi_valid+=ie)}function Q(se,ue,ie){Y(se,ie[2*ue],ie[2*ue+1])}function ne(se,ue){for(var ie=0;ie|=1&amp;se,se&gt;&gt;&gt;=1,ie&lt;&lt;=1,0&lt;--ue;);return ie&gt;&gt;&gt;1}function U(se,ue,ie){var he,ge,pe=new Array(16),le=0;for(he=1;he&lt;=M;he++)pe[he]=le=le+ie[he-1]&lt;&lt;1;for(ge=0;ge&lt;=ue;ge++){var _e=se[2*ge+1];_e!==0&amp;&amp;(se[2*ge]=ne(pe[_e]++,_e))}}function ee(se){var ue;for(ue=0;ue&lt;_;ue++)se.dyn_ltree[2*ue]=0;for(ue=0;ue&lt;E;ue++)se.dyn_dtree[2*ue]=0;for(ue=0;ue&lt;19;ue++)se.bl_tree[2*ue]=0;se.dyn_ltree[512]=1,se.opt_len=se.static_len=0,se.last_lit=se.matches=0}function F(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 P(se,ue,ie,he){var ge=2*ue,pe=2*ie;return se[ge]&lt;se[pe]||se[ge]===se[pe]&amp;&amp;he[ue]&lt;=he[ie]}function X(se,ue,ie){for(var he=se.heap[ie],ge=ie&lt;&lt;1;ge&lt;=se.heap_len&amp;&amp;(ge&lt;se.heap_len&amp;&amp;P(ue,se.heap[ge+1],se.heap[ge],se.depth)&amp;&amp;ge++,!P(ue,he,se.heap[ge],se.depth));)se.heap[ie]=se.heap[ge],ie=ge,ge&lt;&lt;=1;se.heap[ie]=he}function re(se,ue,ie){var he,ge,pe,le,_e=0;if(se.last_lit!==0)for(;he=se.pending_buf[se.d_buf+2*_e]&lt;&lt;8|se.pending_buf[se.d_buf+2*_e+1],ge=se.pending_buf[se.l_buf+_e],_e++,he===0?Q(se,ge,ue):(Q(se,(pe=O[ge])+x+1,ue),(le=D[pe])!==0&amp;&amp;Y(se,ge-=I[pe],le),Q(se,pe=R(--he),ie),(le=W[pe])!==0&amp;&amp;Y(se,he-=S[pe],le)),_e&lt;se.last_lit;);Q(se,256,ue)}function Z(se,ue){var ie,he,ge,pe=ue.dyn_tree,le=ue.stat_desc.static_tree,_e=ue.stat_desc.has_stree,Se=ue.stat_desc.elems,Oe=-1;for(se.heap_len=0,se.heap_max=573,ie=0;ie&lt;Se;ie++)pe[2*ie]!==0?(se.heap[++se.heap_len]=Oe=ie,se.depth[ie]=0):pe[2*ie+1]=0;for(;se.heap_len&lt;2;)pe[2*(ge=se.heap[++se.heap_len]=Oe&lt;2?++Oe:0)]=1,se.depth[ge]=0,se.opt_len--,_e&amp;&amp;(se.static_len-=le[2*ge+1]);for(ue.max_code=Oe,ie=se.heap_len&gt;&gt;1;1&lt;=ie;ie--)X(se,pe,ie);for(ge=Se;ie=se.heap[1],se.heap[1]=se.heap[se.heap_len--],X(se,pe,1),he=se.heap[1],se.heap[--se.heap_max]=ie,se.heap[--se.heap_max]=he,pe[2*ge]=pe[2*ie]+pe[2*he],se.depth[ge]=(se.depth[ie]&gt;=se.depth[he]?se.depth[ie]:se.depth[he])+1,pe[2*ie+1]=pe[2*he+1]=ge,se.heap[1]=ge++,X(se,pe,1),2&lt;=se.heap_len;);se.heap[--se.heap_max]=se.heap[1],(function(Pe,Ie){var Ve,Qe,Ke,it,Ge,$e,Je=Ie.dyn_tree,tt=Ie.max_code,Ye=Ie.stat_desc.static_tree,Tt=Ie.stat_desc.has_stree,qt=Ie.stat_desc.extra_bits,ct=Ie.stat_desc.extra_base,Rt=Ie.stat_desc.max_length,mt=0;for(it=0;it&lt;=M;it++)Pe.bl_count[it]=0;for(Je[2*Pe.heap[Pe.heap_max]+1]=0,Ve=Pe.heap_max+1;Ve&lt;573;Ve++)Rt&lt;(it=Je[2*Je[2*(Qe=Pe.heap[Ve])+1]+1]+1)&amp;&amp;(it=Rt,mt++),Je[2*Qe+1]=it,tt&lt;Qe||(Pe.bl_count[it]++,Ge=0,ct&lt;=Qe&amp;&amp;(Ge=qt[Qe-ct]),$e=Je[2*Qe],Pe.opt_len+=$e*(it+Ge),Tt&amp;&amp;(Pe.static_len+=$e*(Ye[2*Qe+1]+Ge)));if(mt!==0){do{for(it=Rt-1;Pe.bl_count[it]===0;)it--;Pe.bl_count[it]--,Pe.bl_count[it+1]+=2,Pe.bl_count[Rt]--,mt-=2}while(0&lt;mt);for(it=Rt;it!==0;it--)for(Qe=Pe.bl_count[it];Qe!==0;)tt&lt;(Ke=Pe.heap[--Ve])||(Je[2*Ke+1]!==it&amp;&amp;(Pe.opt_len+=(it-Je[2*Ke+1])*Je[2*Ke],Je[2*Ke+1]=it),Qe--)}})(se,ue),U(pe,Oe,se.bl_count)}function te(se,ue,ie){var he,ge,pe=-1,le=ue[1],_e=0,Se=7,Oe=4;for(le===0&amp;&amp;(Se=138,Oe=3),ue[2*(ie+1)+1]=65535,he=0;he&lt;=ie;he++)ge=le,le=ue[2*(he+1)+1],++_e&lt;Se&amp;&amp;ge===le||(_e&lt;Oe?se.bl_tree[2*ge]+=_e:ge!==0?(ge!==pe&amp;&amp;se.bl_tree[2*ge]++,se.bl_tree[32]++):_e&lt;=10?se.bl_tree[34]++:se.bl_tree[36]++,pe=ge,Oe=(_e=0)===le?(Se=138,3):ge===le?(Se=6,3):(Se=7,4))}function ae(se,ue,ie){var he,ge,pe=-1,le=ue[1],_e=0,Se=7,Oe=4;for(le===0&amp;&amp;(Se=138,Oe=3),he=0;he&lt;=ie;he++)if(ge=le,le=ue[2*(he+1)+1],!(++_e&lt;Se&amp;&amp;ge===le)){if(_e&lt;Oe)for(;Q(se,ge,se.bl_tree),--_e!=0;);else ge!==0?(ge!==pe&amp;&amp;(Q(se,ge,se.bl_tree),_e--),Q(se,16,se.bl_tree),Y(se,_e-3,2)):_e&lt;=10?(Q(se,17,se.bl_tree),Y(se,_e-3,3)):(Q(se,18,se.bl_tree),Y(se,_e-11,7));pe=ge,Oe=(_e=0)===le?(Se=138,3):ge===le?(Se=6,3):(Se=7,4)}}b(S);var ce=!1;function fe(se,ue,ie,he){Y(se,0+(he?1:0),3),(function(ge,pe,le,_e){F(ge),B(ge,le),B(ge,~le),p.arraySet(ge.pending_buf,ge.window,pe,le,ge.pending),ge.pending+=le})(se,ue,ie)}y._tr_init=function(se){ce||((function(){var ue,ie,he,ge,pe,le=new Array(16);for(ge=he=0;ge&lt;28;ge++)for(I[ge]=he,ue=0;ue&lt;1&lt;&lt;D[ge];ue++)O[he++]=ge;for(O[he-1]=ge,ge=pe=0;ge&lt;16;ge++)for(S[ge]=pe,ue=0;ue&lt;1&lt;&lt;W[ge];ue++)z[pe++]=ge;for(pe&gt;&gt;=7;ge&lt;E;ge++)for(S[ge]=pe&lt;&lt;7,ue=0;ue&lt;1&lt;&lt;W[ge]-7;ue++)z[256+pe++]=ge;for(ie=0;ie&lt;=M;ie++)le[ie]=0;for(ue=0;ue&lt;=143;)H[2*ue+1]=8,ue++,le[8]++;for(;ue&lt;=255;)H[2*ue+1]=9,ue++,le[9]++;for(;ue&lt;=279;)H[2*ue+1]=7,ue++,le[7]++;for(;ue&lt;=287;)H[2*ue+1]=8,ue++,le[8]++;for(U(H,287,le),ue=0;ue&lt;E;ue++)K[2*ue+1]=5,K[2*ue]=ne(ue,5);C=new N(H,D,257,_,M),j=new N(K,W,0,E,M),k=new N(new Array(0),L,0,19,7)})(),ce=!0),se.l_desc=new T(se.dyn_ltree,C),se.d_desc=new T(se.dyn_dtree,j),se.bl_desc=new T(se.bl_tree,k),se.bi_buf=0,se.bi_valid=0,ee(se)},y._tr_stored_block=fe,y._tr_flush_block=function(se,ue,ie,he){var ge,pe,le=0;0&lt;se.level?(se.strm.data_type===2&amp;&amp;(se.strm.data_type=(function(_e){var Se,Oe=4093624447;for(Se=0;Se&lt;=31;Se++,Oe&gt;&gt;&gt;=1)if(1&amp;Oe&amp;&amp;_e.dyn_ltree[2*Se]!==0)return 0;if(_e.dyn_ltree[18]!==0||_e.dyn_ltree[20]!==0||_e.dyn_ltree[26]!==0)return 1;for(Se=32;Se&lt;x;Se++)if(_e.dyn_ltree[2*Se]!==0)return 1;return 0})(se)),Z(se,se.l_desc),Z(se,se.d_desc),le=(function(_e){var Se;for(te(_e,_e.dyn_ltree,_e.l_desc.max_code),te(_e,_e.dyn_dtree,_e.d_desc.max_code),Z(_e,_e.bl_desc),Se=18;3&lt;=Se&amp;&amp;_e.bl_tree[2*V[Se]+1]===0;Se--);return _e.opt_len+=3*(Se+1)+5+5+4,Se})(se),ge=se.opt_len+3+7&gt;&gt;&gt;3,(pe=se.static_len+3+7&gt;&gt;&gt;3)&lt;=ge&amp;&amp;(ge=pe)):ge=pe=ie+5,ie+4&lt;=ge&amp;&amp;ue!==-1?fe(se,ue,ie,he):se.strategy===4||pe===ge?(Y(se,2+(he?1:0),3),re(se,H,K)):(Y(se,4+(he?1:0),3),(function(_e,Se,Oe,Pe){var Ie;for(Y(_e,Se-257,5),Y(_e,Oe-1,5),Y(_e,Pe-4,4),Ie=0;Ie&lt;Pe;Ie++)Y(_e,_e.bl_tree[2*V[Ie]+1],3);ae(_e,_e.dyn_ltree,Se-1),ae(_e,_e.dyn_dtree,Oe-1)})(se,se.l_desc.max_code+1,se.d_desc.max_code+1,le+1),re(se,se.dyn_ltree,se.dyn_dtree)),ee(se),he&amp;&amp;F(se)},y._tr_tally=function(se,ue,ie){return se.pending_buf[se.d_buf+2*se.last_lit]=ue&gt;&gt;&gt;8&amp;255,se.pending_buf[se.d_buf+2*se.last_lit+1]=255&amp;ue,se.pending_buf[se.l_buf+se.last_lit]=255&amp;ie,se.last_lit++,ue===0?se.dyn_ltree[2*ie]++:(se.matches++,ue--,se.dyn_ltree[2*(O[ie]+x+1)]++,se.dyn_dtree[2*R(ue)]++),se.last_lit===se.lit_bufsize-1},y._tr_align=function(se){Y(se,2,3),Q(se,256,H),(function(ue){ue.bi_valid===16?(B(ue,ue.bi_buf),ue.bi_buf=0,ue.bi_valid=0):8&lt;=ue.bi_valid&amp;&amp;(ue.pending_buf[ue.pending++]=255&amp;ue.bi_buf,ue.bi_buf&gt;&gt;=8,ue.bi_valid-=8)})(se)}},{&quot;../utils/common&quot;:41}],53:[function(d,g,y){g.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(d,g,y){(function(p){(function(b,x){if(!b.setImmediate){var _,E,M,D,W=1,L={},V=!1,H=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(C){i.nextTick((function(){O(C)}))}:(function(){if(b.postMessage&amp;&amp;!b.importScripts){var C=!0,j=b.onmessage;return b.onmessage=function(){C=!1},b.postMessage(&quot;&quot;,&quot;*&quot;),b.onmessage=j,C}})()?(D=&quot;setImmediate$&quot;+Math.random()+&quot;$&quot;,b.addEventListener?b.addEventListener(&quot;message&quot;,I,!1):b.attachEvent(&quot;onmessage&quot;,I),function(C){b.postMessage(D+C,&quot;*&quot;)}):b.MessageChannel?((M=new MessageChannel).port1.onmessage=function(C){O(C.data)},function(C){M.port2.postMessage(C)}):H&amp;&amp;&quot;onreadystatechange&quot;in H.createElement(&quot;script&quot;)?(E=H.documentElement,function(C){var j=H.createElement(&quot;script&quot;);j.onreadystatechange=function(){O(C),j.onreadystatechange=null,E.removeChild(j),j=null},E.appendChild(j)}):function(C){setTimeout(O,0,C)},K.setImmediate=function(C){typeof C!=&quot;function&quot;&amp;&amp;(C=new Function(&quot;&quot;+C));for(var j=new Array(arguments.length-1),k=0;k&lt;j.length;k++)j[k]=arguments[k+1];var S={callback:C,args:j};return L[W]=S,_(W),W++},K.clearImmediate=z}function z(C){delete L[C]}function O(C){if(V)setTimeout(O,0,C);else{var j=L[C];if(j){V=!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{z(C),V=!1}}}}function I(C){C.source===b&amp;&amp;typeof C.data==&quot;string&quot;&amp;&amp;C.data.indexOf(D)===0&amp;&amp;O(+C.data.slice(D.length))}})(typeof self&gt;&quot;u&quot;?p===void 0?this:p: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 Yt&lt;&quot;u&quot;?Yt: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,o){(function(i){(function(){var a=/[\\^$.*+?()[\]{}|]/g,u=RegExp(a.source),l=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=l||s||Function(&quot;return this&quot;)(),m=Object.prototype.toString,h=c.Symbol,d=h?h.prototype:void 0,g=d?d.toString:void 0;function y(p){if(typeof p==&quot;string&quot;)return p;if((function(x){return typeof x==&quot;symbol&quot;||(function(_){return!!_&amp;&amp;typeof _==&quot;object&quot;})(x)&amp;&amp;m.call(x)==&quot;[object Symbol]&quot;})(p))return g?g.call(p):&quot;&quot;;var b=p+&quot;&quot;;return b==&quot;0&quot;&amp;&amp;1/p==-1/0?&quot;-0&quot;:b}n.exports=function(p){var b;return(p=(b=p)==null?&quot;&quot;:y(b))&amp;&amp;u.test(p)?p.replace(a,&quot;\\$&amp;&quot;):p}}).call(this)}).call(this,typeof Yt&lt;&quot;u&quot;?Yt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],443:[function(t,n,o){(function(i){(function(){var a=&quot;[object Arguments]&quot;,u=&quot;[object Map]&quot;,l=&quot;[object Object]&quot;,s=&quot;[object Set]&quot;,c=/\.|\[(?:[^[\]]*|([&quot;&#039;])(?:(?!\1)[^\\]|\\.)*?\1)\]/,m=/^\w*$/,h=/^\./,d=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|([&quot;&#039;])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,g=/\\(\\)?/g,y=/^\[object .+?Constructor\]$/,p=/^(?: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[l]=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,E=x||_||Function(&quot;return this&quot;)(),M=typeof o==&quot;object&quot;&amp;&amp;o&amp;&amp;!o.nodeType&amp;&amp;o,D=M&amp;&amp;typeof n==&quot;object&quot;&amp;&amp;n&amp;&amp;!n.nodeType&amp;&amp;n,W=D&amp;&amp;D.exports===M&amp;&amp;x.process,L=(function(){try{return W&amp;&amp;W.binding(&quot;util&quot;)}catch{}})(),V=L&amp;&amp;L.isTypedArray;function H(de,we,Te,Re){for(var et=-1,ze=de?de.length:0;++et&lt;ze;){var He=de[et];we(Re,He,Te(He),de)}return Re}function K(de,we){for(var Te=-1,Re=de?de.length:0;++Te&lt;Re;)if(we(de[Te],Te,de))return!0;return!1}function z(de){var we=!1;if(de!=null&amp;&amp;typeof de.toString!=&quot;function&quot;)try{we=!!(de+&quot;&quot;)}catch{}return we}function O(de){var we=-1,Te=Array(de.size);return de.forEach((function(Re,et){Te[++we]=[et,Re]})),Te}function I(de){var we=-1,Te=Array(de.size);return de.forEach((function(Re){Te[++we]=Re})),Te}var C,j,k,S=Array.prototype,N=Function.prototype,T=Object.prototype,R=E[&quot;__core-js_shared__&quot;],B=(C=/[^.]+$/.exec(R&amp;&amp;R.keys&amp;&amp;R.keys.IE_PROTO||&quot;&quot;))?&quot;Symbol(src)_1.&quot;+C:&quot;&quot;,Y=N.toString,Q=T.hasOwnProperty,ne=T.toString,U=RegExp(&quot;^&quot;+Y.call(Q).replace(/[\\^$.*+?()[\]{}|]/g,&quot;\\$&amp;&quot;).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,&quot;$1.*?&quot;)+&quot;$&quot;),ee=E.Symbol,F=E.Uint8Array,P=T.propertyIsEnumerable,X=S.splice,re=(j=Object.keys,k=Object,function(de){return j(k(de))}),Z=at(E,&quot;DataView&quot;),te=at(E,&quot;Map&quot;),ae=at(E,&quot;Promise&quot;),ce=at(E,&quot;Set&quot;),fe=at(E,&quot;WeakMap&quot;),se=at(Object,&quot;create&quot;),ue=je(Z),ie=je(te),he=je(ae),ge=je(ce),pe=je(fe),le=ee?ee.prototype:void 0,_e=le?le.valueOf:void 0,Se=le?le.toString:void 0;function Oe(de){var we=-1,Te=de?de.length:0;for(this.clear();++we&lt;Te;){var Re=de[we];this.set(Re[0],Re[1])}}function Pe(de){var we=-1,Te=de?de.length:0;for(this.clear();++we&lt;Te;){var Re=de[we];this.set(Re[0],Re[1])}}function Ie(de){var we=-1,Te=de?de.length:0;for(this.clear();++we&lt;Te;){var Re=de[we];this.set(Re[0],Re[1])}}function Ve(de){var we=-1,Te=de?de.length:0;for(this.__data__=new Ie;++we&lt;Te;)this.add(de[we])}function Qe(de){this.__data__=new Pe(de)}function Ke(de,we){var Te=pt(de)||wt(de)?(function(He,Ft){for(var Mt=-1,jt=Array(He);++Mt&lt;He;)jt[Mt]=Ft(Mt);return jt})(de.length,String):[],Re=Te.length,et=!!Re;for(var ze in de)!Q.call(de,ze)||et&amp;&amp;(ze==&quot;length&quot;||Xt(ze,Re))||Te.push(ze);return Te}function it(de,we){for(var Te=de.length;Te--;)if(We(de[Te][0],we))return Te;return-1}function Ge(de,we,Te,Re){return Je(de,(function(et,ze,He){we(Re,et,Te(et),He)})),Re}Oe.prototype.clear=function(){this.__data__=se?se(null):{}},Oe.prototype.delete=function(de){return this.has(de)&amp;&amp;delete this.__data__[de]},Oe.prototype.get=function(de){var we=this.__data__;if(se){var Te=we[de];return Te===&quot;__lodash_hash_undefined__&quot;?void 0:Te}return Q.call(we,de)?we[de]:void 0},Oe.prototype.has=function(de){var we=this.__data__;return se?we[de]!==void 0:Q.call(we,de)},Oe.prototype.set=function(de,we){return this.__data__[de]=se&amp;&amp;we===void 0?&quot;__lodash_hash_undefined__&quot;:we,this},Pe.prototype.clear=function(){this.__data__=[]},Pe.prototype.delete=function(de){var we=this.__data__,Te=it(we,de);return!(Te&lt;0)&amp;&amp;(Te==we.length-1?we.pop():X.call(we,Te,1),!0)},Pe.prototype.get=function(de){var we=this.__data__,Te=it(we,de);return Te&lt;0?void 0:we[Te][1]},Pe.prototype.has=function(de){return it(this.__data__,de)&gt;-1},Pe.prototype.set=function(de,we){var Te=this.__data__,Re=it(Te,de);return Re&lt;0?Te.push([de,we]):Te[Re][1]=we,this},Ie.prototype.clear=function(){this.__data__={hash:new Oe,map:new(te||Pe),string:new Oe}},Ie.prototype.delete=function(de){return Ut(this,de).delete(de)},Ie.prototype.get=function(de){return Ut(this,de).get(de)},Ie.prototype.has=function(de){return Ut(this,de).has(de)},Ie.prototype.set=function(de,we){return Ut(this,de).set(de,we),this},Ve.prototype.add=Ve.prototype.push=function(de){return this.__data__.set(de,&quot;__lodash_hash_undefined__&quot;),this},Ve.prototype.has=function(de){return this.__data__.has(de)},Qe.prototype.clear=function(){this.__data__=new Pe},Qe.prototype.delete=function(de){return this.__data__.delete(de)},Qe.prototype.get=function(de){return this.__data__.get(de)},Qe.prototype.has=function(de){return this.__data__.has(de)},Qe.prototype.set=function(de,we){var Te=this.__data__;if(Te instanceof Pe){var Re=Te.__data__;if(!te||Re.length&lt;199)return Re.push([de,we]),this;Te=this.__data__=new Ie(Re)}return Te.set(de,we),this};var $e,Je=($e=function(de,we){return de&amp;&amp;tt(de,we,Vt)},function(de,we){if(de==null)return de;if(!rt(de))return $e(de,we);for(var Te=de.length,Re=-1,et=Object(de);++Re&lt;Te&amp;&amp;we(et[Re],Re,et)!==!1;);return de}),tt=(function(de){return function(we,Te,Re){for(var et=-1,ze=Object(we),He=Re(we),Ft=He.length;Ft--;){var Mt=He[++et];if(Te(ze[Mt],Mt,ze)===!1)break}return we}})();function Ye(de,we){for(var Te=0,Re=(we=xt(we,de)?[we]:St(we)).length;de!=null&amp;&amp;Te&lt;Re;)de=de[ve(we[Te++])];return Te&amp;&amp;Te==Re?de:void 0}function Tt(de,we){return de!=null&amp;&amp;we in Object(de)}function qt(de,we,Te,Re,et){return de===we||(de==null||we==null||!At(de)&amp;&amp;!Jt(we)?de!=de&amp;&amp;we!=we:(function(ze,He,Ft,Mt,jt,yt){var Et=pt(ze),Ht=pt(He),Qt=&quot;[object Array]&quot;,cr=&quot;[object Array]&quot;;Et||(Qt=(Qt=Dt(ze))==a?l:Qt),Ht||(cr=(cr=Dt(He))==a?l:cr);var dr=Qt==l&amp;&amp;!z(ze),Mr=cr==l&amp;&amp;!z(He),Sr=Qt==cr;if(Sr&amp;&amp;!dr)return yt||(yt=new Qe),Et||Pt(ze)?Zt(ze,He,Ft,Mt,jt,yt):(function(Gt,Wt,fn,fi,hi,Bt,hn){switch(fn){case&quot;[object DataView]&quot;:if(Gt.byteLength!=Wt.byteLength||Gt.byteOffset!=Wt.byteOffset)return!1;Gt=Gt.buffer,Wt=Wt.buffer;case&quot;[object ArrayBuffer]&quot;:return!(Gt.byteLength!=Wt.byteLength||!fi(new F(Gt),new F(Wt)));case&quot;[object Boolean]&quot;:case&quot;[object Date]&quot;:case&quot;[object Number]&quot;:return We(+Gt,+Wt);case&quot;[object Error]&quot;:return Gt.name==Wt.name&amp;&amp;Gt.message==Wt.message;case&quot;[object RegExp]&quot;:case&quot;[object String]&quot;:return Gt==Wt+&quot;&quot;;case u:var ri=O;case s:var mi=2&amp;Bt;if(ri||(ri=I),Gt.size!=Wt.size&amp;&amp;!mi)return!1;var as=hn.get(Gt);if(as)return as==Wt;Bt|=1,hn.set(Gt,Wt);var Ri=Zt(ri(Gt),ri(Wt),fi,hi,Bt,hn);return hn.delete(Gt),Ri;case&quot;[object Symbol]&quot;:if(_e)return _e.call(Gt)==_e.call(Wt)}return!1})(ze,He,Qt,Ft,Mt,jt,yt);if(!(2&amp;jt)){var Vn=dr&amp;&amp;Q.call(ze,&quot;__wrapped__&quot;),is=Mr&amp;&amp;Q.call(He,&quot;__wrapped__&quot;);if(Vn||is){var ss=Vn?ze.value():ze,di=is?He.value():He;return yt||(yt=new Qe),Ft(ss,di,Mt,jt,yt)}}return Sr?(yt||(yt=new Qe),(function(Gt,Wt,fn,fi,hi,Bt){var hn=2&amp;hi,ri=Vt(Gt),mi=ri.length,as=Vt(Wt).length;if(mi!=as&amp;&amp;!hn)return!1;for(var Ri=mi;Ri--;){var qn=ri[Ri];if(!(hn?qn in Wt:Q.call(Wt,qn)))return!1}var sa=Bt.get(Gt);if(sa&amp;&amp;Bt.get(Wt))return sa==Wt;var wn=!0;Bt.set(Gt,Wt),Bt.set(Wt,Gt);for(var Qr=hn;++Ri&lt;mi;){qn=ri[Ri];var Jr=Gt[qn],Tn=Wt[qn];if(fi)var Di=hn?fi(Tn,Jr,qn,Wt,Gt,Bt):fi(Jr,Tn,qn,Gt,Wt,Bt);if(!(Di===void 0?Jr===Tn||fn(Jr,Tn,fi,hi,Bt):Di)){wn=!1;break}Qr||(Qr=qn==&quot;constructor&quot;)}if(wn&amp;&amp;!Qr){var _n=Gt.constructor,jn=Wt.constructor;_n==jn||!(&quot;constructor&quot;in Gt)||!(&quot;constructor&quot;in Wt)||typeof _n==&quot;function&quot;&amp;&amp;_n instanceof _n&amp;&amp;typeof jn==&quot;function&quot;&amp;&amp;jn instanceof jn||(wn=!1)}return Bt.delete(Gt),Bt.delete(Wt),wn})(ze,He,Ft,Mt,jt,yt)):!1})(de,we,qt,Te,Re,et))}function ct(de){return!(!At(de)||(function(we){return!!B&amp;&amp;B in we})(de))&amp;&amp;(kt(de)||z(de)?U:y).test(je(de))}function Rt(de){return typeof de==&quot;function&quot;?de:de==null?er:typeof de==&quot;object&quot;?pt(de)?(function(Re,et){return xt(Re)&amp;&amp;zt(et)?Lt(ve(Re),et):function(ze){var He=(function(Ft,Mt,jt){var yt=Ft==null?void 0:Ye(Ft,Mt);return yt===void 0?jt:yt})(ze,Re);return He===void 0&amp;&amp;He===et?(function(Ft,Mt){return Ft!=null&amp;&amp;(function(jt,yt,Et){yt=xt(yt,jt)?[yt]:St(yt);for(var Ht,Qt=-1,cr=yt.length;++Qt&lt;cr;){var dr=ve(yt[Qt]);if(!(Ht=jt!=null&amp;&amp;Et(jt,dr)))break;jt=jt[dr]}return Ht||!!(cr=jt?jt.length:0)&amp;&amp;_t(cr)&amp;&amp;Xt(dr,cr)&amp;&amp;(pt(jt)||wt(jt))})(Ft,Mt,Tt)})(ze,Re):qt(et,He,void 0,3)}})(de[0],de[1]):(function(Re){var et=(function(ze){for(var He=Vt(ze),Ft=He.length;Ft--;){var Mt=He[Ft],jt=ze[Mt];He[Ft]=[Mt,jt,zt(jt)]}return He})(Re);return et.length==1&amp;&amp;et[0][2]?Lt(et[0][0],et[0][1]):function(ze){return ze===Re||(function(He,Ft,Mt,jt){var yt=Mt.length,Et=yt;if(He==null)return!Et;for(He=Object(He);yt--;){var Ht=Mt[yt];if(Ht[2]?Ht[1]!==He[Ht[0]]:!(Ht[0]in He))return!1}for(;++yt&lt;Et;){var Qt=(Ht=Mt[yt])[0],cr=He[Qt],dr=Ht[1];if(Ht[2]){if(cr===void 0&amp;&amp;!(Qt in He))return!1}else{var Mr=new Qe,Sr;if(!(Sr===void 0?qt(dr,cr,jt,3,Mr):Sr))return!1}}return!0})(ze,Re,et)}})(de):xt(we=de)?(Te=ve(we),function(Re){return Re?.[Te]}):(function(Re){return function(et){return Ye(et,Re)}})(we);var we,Te}function mt(de){if(Te=(we=de)&amp;&amp;we.constructor,Re=typeof Te==&quot;function&quot;&amp;&amp;Te.prototype||T,we!==Re)return re(de);var we,Te,Re,et=[];for(var ze in Object(de))Q.call(de,ze)&amp;&amp;ze!=&quot;constructor&quot;&amp;&amp;et.push(ze);return et}function St(de){return pt(de)?de:vt(de)}function Zt(de,we,Te,Re,et,ze){var He=2&amp;et,Ft=de.length,Mt=we.length;if(Ft!=Mt&amp;&amp;!(He&amp;&amp;Mt&gt;Ft))return!1;var jt=ze.get(de);if(jt&amp;&amp;ze.get(we))return jt==we;var yt=-1,Et=!0,Ht=1&amp;et?new Ve:void 0;for(ze.set(de,we),ze.set(we,de);++yt&lt;Ft;){var Qt=de[yt],cr=we[yt];if(Re)var dr=He?Re(cr,Qt,yt,we,de,ze):Re(Qt,cr,yt,de,we,ze);if(dr!==void 0){if(dr)continue;Et=!1;break}if(Ht){if(!K(we,(function(Mr,Sr){if(!Ht.has(Sr)&amp;&amp;(Qt===Mr||Te(Qt,Mr,Re,et,ze)))return Ht.add(Sr)}))){Et=!1;break}}else if(Qt!==cr&amp;&amp;!Te(Qt,cr,Re,et,ze)){Et=!1;break}}return ze.delete(de),ze.delete(we),Et}function Ut(de,we){var Te,Re,et=de.__data__;return((Re=typeof(Te=we))==&quot;string&quot;||Re==&quot;number&quot;||Re==&quot;symbol&quot;||Re==&quot;boolean&quot;?Te!==&quot;__proto__&quot;:Te===null)?et[typeof we==&quot;string&quot;?&quot;string&quot;:&quot;hash&quot;]:et.map}function at(de,we){var Te=(function(Re,et){return Re?.[et]})(de,we);return ct(Te)?Te:void 0}var Dt=function(de){return ne.call(de)};function Xt(de,we){return!!(we=we??9007199254740991)&amp;&amp;(typeof de==&quot;number&quot;||p.test(de))&amp;&amp;de&gt;-1&amp;&amp;de%1==0&amp;&amp;de&lt;we}function xt(de,we){if(pt(de))return!1;var Te=typeof de;return!(Te!=&quot;number&quot;&amp;&amp;Te!=&quot;symbol&quot;&amp;&amp;Te!=&quot;boolean&quot;&amp;&amp;de!=null&amp;&amp;!Me(de))||m.test(de)||!c.test(de)||we!=null&amp;&amp;de in Object(we)}function zt(de){return de==de&amp;&amp;!At(de)}function Lt(de,we){return function(Te){return Te!=null&amp;&amp;Te[de]===we&amp;&amp;(we!==void 0||de in Object(Te))}}(Z&amp;&amp;Dt(new Z(new ArrayBuffer(1)))!=&quot;[object DataView]&quot;||te&amp;&amp;Dt(new te)!=u||ae&amp;&amp;Dt(ae.resolve())!=&quot;[object Promise]&quot;||ce&amp;&amp;Dt(new ce)!=s||fe&amp;&amp;Dt(new fe)!=&quot;[object WeakMap]&quot;)&amp;&amp;(Dt=function(de){var we=ne.call(de),Te=we==l?de.constructor:void 0,Re=Te?je(Te):void 0;if(Re)switch(Re){case ue:return&quot;[object DataView]&quot;;case ie:return u;case he:return&quot;[object Promise]&quot;;case ge:return s;case pe:return&quot;[object WeakMap]&quot;}return we});var vt=ft((function(de){var we;de=(we=de)==null?&quot;&quot;:(function(Re){if(typeof Re==&quot;string&quot;)return Re;if(Me(Re))return Se?Se.call(Re):&quot;&quot;;var et=Re+&quot;&quot;;return et==&quot;0&quot;&amp;&amp;1/Re==-1/0?&quot;-0&quot;:et})(we);var Te=[];return h.test(de)&amp;&amp;Te.push(&quot;&quot;),de.replace(d,(function(Re,et,ze,He){Te.push(ze?He.replace(g,&quot;$1&quot;):et||Re)})),Te}));function ve(de){if(typeof de==&quot;string&quot;||Me(de))return de;var we=de+&quot;&quot;;return we==&quot;0&quot;&amp;&amp;1/de==-1/0?&quot;-0&quot;:we}function je(de){if(de!=null){try{return Y.call(de)}catch{}try{return de+&quot;&quot;}catch{}}return&quot;&quot;}var Ae,Ue=(Ae=function(de,we,Te){Q.call(de,Te)?de[Te].push(we):de[Te]=[we]},function(de,we){var Te=pt(de)?H:Ge,Re={};return Te(de,Ae,Rt(we),Re)});function ft(de,we){if(typeof de!=&quot;function&quot;||we&amp;&amp;typeof we!=&quot;function&quot;)throw new TypeError(&quot;Expected a function&quot;);var Te=function(){var Re=arguments,et=we?we.apply(this,Re):Re[0],ze=Te.cache;if(ze.has(et))return ze.get(et);var He=de.apply(this,Re);return Te.cache=ze.set(et,He),He};return Te.cache=new(ft.Cache||Ie),Te}function We(de,we){return de===we||de!=de&amp;&amp;we!=we}function wt(de){return(function(we){return Jt(we)&amp;&amp;rt(we)})(de)&amp;&amp;Q.call(de,&quot;callee&quot;)&amp;&amp;(!P.call(de,&quot;callee&quot;)||ne.call(de)==a)}ft.Cache=Ie;var pt=Array.isArray;function rt(de){return de!=null&amp;&amp;_t(de.length)&amp;&amp;!kt(de)}function kt(de){var we=At(de)?ne.call(de):&quot;&quot;;return we==&quot;[object Function]&quot;||we==&quot;[object GeneratorFunction]&quot;}function _t(de){return typeof de==&quot;number&quot;&amp;&amp;de&gt;-1&amp;&amp;de%1==0&amp;&amp;de&lt;=9007199254740991}function At(de){var we=typeof de;return!!de&amp;&amp;(we==&quot;object&quot;||we==&quot;function&quot;)}function Jt(de){return!!de&amp;&amp;typeof de==&quot;object&quot;}function Me(de){return typeof de==&quot;symbol&quot;||Jt(de)&amp;&amp;ne.call(de)==&quot;[object Symbol]&quot;}var Pt=V?(function(de){return function(we){return de(we)}})(V):function(de){return Jt(de)&amp;&amp;_t(de.length)&amp;&amp;!!b[ne.call(de)]};function Vt(de){return rt(de)?Ke(de):mt(de)}function er(de){return de}n.exports=Ue}).call(this)}).call(this,typeof Yt&lt;&quot;u&quot;?Yt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],444:[function(t,n,o){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,o){(function(i){(function(){var a=&quot;[object Arguments]&quot;,u=&quot;[object Map]&quot;,l=&quot;[object Object]&quot;,s=&quot;[object Set]&quot;,c=/^\[object .+?Constructor\]$/,m=/^(?: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[l]=h[&quot;[object RegExp]&quot;]=h[s]=h[&quot;[object String]&quot;]=h[&quot;[object WeakMap]&quot;]=!1;var d=typeof i==&quot;object&quot;&amp;&amp;i&amp;&amp;i.Object===Object&amp;&amp;i,g=typeof self==&quot;object&quot;&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,y=d||g||Function(&quot;return this&quot;)(),p=typeof o==&quot;object&quot;&amp;&amp;o&amp;&amp;!o.nodeType&amp;&amp;o,b=p&amp;&amp;typeof n==&quot;object&quot;&amp;&amp;n&amp;&amp;!n.nodeType&amp;&amp;n,x=b&amp;&amp;b.exports===p,_=x&amp;&amp;d.process,E=(function(){try{return _&amp;&amp;_.binding&amp;&amp;_.binding(&quot;util&quot;)}catch{}})(),M=E&amp;&amp;E.isTypedArray;function D(ve,je){for(var Ae=-1,Ue=ve==null?0:ve.length;++Ae&lt;Ue;)if(je(ve[Ae],Ae,ve))return!0;return!1}function W(ve){var je=-1,Ae=Array(ve.size);return ve.forEach((function(Ue,ft){Ae[++je]=[ft,Ue]})),Ae}function L(ve){var je=-1,Ae=Array(ve.size);return ve.forEach((function(Ue){Ae[++je]=Ue})),Ae}var V,H,K,z=Array.prototype,O=Function.prototype,I=Object.prototype,C=y[&quot;__core-js_shared__&quot;],j=O.toString,k=I.hasOwnProperty,S=(V=/[^.]+$/.exec(C&amp;&amp;C.keys&amp;&amp;C.keys.IE_PROTO||&quot;&quot;))?&quot;Symbol(src)_1.&quot;+V:&quot;&quot;,N=I.toString,T=RegExp(&quot;^&quot;+j.call(k).replace(/[\\^$.*+?()[\]{}|]/g,&quot;\\$&amp;&quot;).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,&quot;$1.*?&quot;)+&quot;$&quot;),R=x?y.Buffer:void 0,B=y.Symbol,Y=y.Uint8Array,Q=I.propertyIsEnumerable,ne=z.splice,U=B?B.toStringTag:void 0,ee=Object.getOwnPropertySymbols,F=R?R.isBuffer:void 0,P=(H=Object.keys,K=Object,function(ve){return H(K(ve))}),X=Tt(y,&quot;DataView&quot;),re=Tt(y,&quot;Map&quot;),Z=Tt(y,&quot;Promise&quot;),te=Tt(y,&quot;Set&quot;),ae=Tt(y,&quot;WeakMap&quot;),ce=Tt(Object,&quot;create&quot;),fe=mt(X),se=mt(re),ue=mt(Z),ie=mt(te),he=mt(ae),ge=B?B.prototype:void 0,pe=ge?ge.valueOf:void 0;function le(ve){var je=-1,Ae=ve==null?0:ve.length;for(this.clear();++je&lt;Ae;){var Ue=ve[je];this.set(Ue[0],Ue[1])}}function _e(ve){var je=-1,Ae=ve==null?0:ve.length;for(this.clear();++je&lt;Ae;){var Ue=ve[je];this.set(Ue[0],Ue[1])}}function Se(ve){var je=-1,Ae=ve==null?0:ve.length;for(this.clear();++je&lt;Ae;){var Ue=ve[je];this.set(Ue[0],Ue[1])}}function Oe(ve){var je=-1,Ae=ve==null?0:ve.length;for(this.__data__=new Se;++je&lt;Ae;)this.add(ve[je])}function Pe(ve){var je=this.__data__=new _e(ve);this.size=je.size}function Ie(ve,je){var Ae=Ut(ve),Ue=!Ae&amp;&amp;Zt(ve),ft=!Ae&amp;&amp;!Ue&amp;&amp;at(ve),We=!Ae&amp;&amp;!Ue&amp;&amp;!ft&amp;&amp;Lt(ve),wt=Ae||Ue||ft||We,pt=wt?(function(_t,At){for(var Jt=-1,Me=Array(_t);++Jt&lt;_t;)Me[Jt]=At(Jt);return Me})(ve.length,String):[],rt=pt.length;for(var kt in ve)!k.call(ve,kt)||wt&amp;&amp;(kt==&quot;length&quot;||ft&amp;&amp;(kt==&quot;offset&quot;||kt==&quot;parent&quot;)||We&amp;&amp;(kt==&quot;buffer&quot;||kt==&quot;byteLength&quot;||kt==&quot;byteOffset&quot;)||Rt(kt,rt))||pt.push(kt);return pt}function Ve(ve,je){for(var Ae=ve.length;Ae--;)if(St(ve[Ae][0],je))return Ae;return-1}function Qe(ve){return ve==null?ve===void 0?&quot;[object Undefined]&quot;:&quot;[object Null]&quot;:U&amp;&amp;U in Object(ve)?(function(je){var Ae=k.call(je,U),Ue=je[U];try{je[U]=void 0;var ft=!0}catch{}var We=N.call(je);return ft&amp;&amp;(Ae?je[U]=Ue:delete je[U]),We})(ve):(function(je){return N.call(je)})(ve)}function Ke(ve){return zt(ve)&amp;&amp;Qe(ve)==a}function it(ve,je,Ae,Ue,ft){return ve===je||(ve==null||je==null||!zt(ve)&amp;&amp;!zt(je)?ve!=ve&amp;&amp;je!=je:(function(We,wt,pt,rt,kt,_t){var At=Ut(We),Jt=Ut(wt),Me=At?&quot;[object Array]&quot;:ct(We),Pt=Jt?&quot;[object Array]&quot;:ct(wt),Vt=(Me=Me==a?l:Me)==l,er=(Pt=Pt==a?l:Pt)==l,de=Me==Pt;if(de&amp;&amp;at(We)){if(!at(wt))return!1;At=!0,Vt=!1}if(de&amp;&amp;!Vt)return _t||(_t=new Pe),At||Lt(We)?Je(We,wt,pt,rt,kt,_t):(function(ze,He,Ft,Mt,jt,yt,Et){switch(Ft){case&quot;[object DataView]&quot;:if(ze.byteLength!=He.byteLength||ze.byteOffset!=He.byteOffset)return!1;ze=ze.buffer,He=He.buffer;case&quot;[object ArrayBuffer]&quot;:return!(ze.byteLength!=He.byteLength||!yt(new Y(ze),new Y(He)));case&quot;[object Boolean]&quot;:case&quot;[object Date]&quot;:case&quot;[object Number]&quot;:return St(+ze,+He);case&quot;[object Error]&quot;:return ze.name==He.name&amp;&amp;ze.message==He.message;case&quot;[object RegExp]&quot;:case&quot;[object String]&quot;:return ze==He+&quot;&quot;;case u:var Ht=W;case s:var Qt=1&amp;Mt;if(Ht||(Ht=L),ze.size!=He.size&amp;&amp;!Qt)return!1;var cr=Et.get(ze);if(cr)return cr==He;Mt|=2,Et.set(ze,He);var dr=Je(Ht(ze),Ht(He),Mt,jt,yt,Et);return Et.delete(ze),dr;case&quot;[object Symbol]&quot;:if(pe)return pe.call(ze)==pe.call(He)}return!1})(We,wt,Me,pt,rt,kt,_t);if(!(1&amp;pt)){var we=Vt&amp;&amp;k.call(We,&quot;__wrapped__&quot;),Te=er&amp;&amp;k.call(wt,&quot;__wrapped__&quot;);if(we||Te){var Re=we?We.value():We,et=Te?wt.value():wt;return _t||(_t=new Pe),kt(Re,et,pt,rt,_t)}}return de?(_t||(_t=new Pe),(function(ze,He,Ft,Mt,jt,yt){var Et=1&amp;Ft,Ht=tt(ze),Qt=Ht.length,cr=tt(He).length;if(Qt!=cr&amp;&amp;!Et)return!1;for(var dr=Qt;dr--;){var Mr=Ht[dr];if(!(Et?Mr in He:k.call(He,Mr)))return!1}var Sr=yt.get(ze);if(Sr&amp;&amp;yt.get(He))return Sr==He;var Vn=!0;yt.set(ze,He),yt.set(He,ze);for(var is=Et;++dr&lt;Qt;){Mr=Ht[dr];var ss=ze[Mr],di=He[Mr];if(Mt)var Gt=Et?Mt(di,ss,Mr,He,ze,yt):Mt(ss,di,Mr,ze,He,yt);if(!(Gt===void 0?ss===di||jt(ss,di,Ft,Mt,yt):Gt)){Vn=!1;break}is||(is=Mr==&quot;constructor&quot;)}if(Vn&amp;&amp;!is){var Wt=ze.constructor,fn=He.constructor;Wt==fn||!(&quot;constructor&quot;in ze)||!(&quot;constructor&quot;in He)||typeof Wt==&quot;function&quot;&amp;&amp;Wt instanceof Wt&amp;&amp;typeof fn==&quot;function&quot;&amp;&amp;fn instanceof fn||(Vn=!1)}return yt.delete(ze),yt.delete(He),Vn})(We,wt,pt,rt,kt,_t)):!1})(ve,je,Ae,Ue,it,ft))}function Ge(ve){return!(!xt(ve)||(function(je){return!!S&amp;&amp;S in je})(ve))&amp;&amp;(Dt(ve)?T:c).test(mt(ve))}function $e(ve){if(Ae=(je=ve)&amp;&amp;je.constructor,Ue=typeof Ae==&quot;function&quot;&amp;&amp;Ae.prototype||I,je!==Ue)return P(ve);var je,Ae,Ue,ft=[];for(var We in Object(ve))k.call(ve,We)&amp;&amp;We!=&quot;constructor&quot;&amp;&amp;ft.push(We);return ft}function Je(ve,je,Ae,Ue,ft,We){var wt=1&amp;Ae,pt=ve.length,rt=je.length;if(pt!=rt&amp;&amp;!(wt&amp;&amp;rt&gt;pt))return!1;var kt=We.get(ve);if(kt&amp;&amp;We.get(je))return kt==je;var _t=-1,At=!0,Jt=2&amp;Ae?new Oe:void 0;for(We.set(ve,je),We.set(je,ve);++_t&lt;pt;){var Me=ve[_t],Pt=je[_t];if(Ue)var Vt=wt?Ue(Pt,Me,_t,je,ve,We):Ue(Me,Pt,_t,ve,je,We);if(Vt!==void 0){if(Vt)continue;At=!1;break}if(Jt){if(!D(je,(function(er,de){if(we=de,!Jt.has(we)&amp;&amp;(Me===er||ft(Me,er,Ae,Ue,We)))return Jt.push(de);var we}))){At=!1;break}}else if(Me!==Pt&amp;&amp;!ft(Me,Pt,Ae,Ue,We)){At=!1;break}}return We.delete(ve),We.delete(je),At}function tt(ve){return(function(je,Ae,Ue){var ft=Ae(je);return Ut(je)?ft:(function(We,wt){for(var pt=-1,rt=wt.length,kt=We.length;++pt&lt;rt;)We[kt+pt]=wt[pt];return We})(ft,Ue(je))})(ve,vt,qt)}function Ye(ve,je){var Ae,Ue,ft=ve.__data__;return((Ue=typeof(Ae=je))==&quot;string&quot;||Ue==&quot;number&quot;||Ue==&quot;symbol&quot;||Ue==&quot;boolean&quot;?Ae!==&quot;__proto__&quot;:Ae===null)?ft[typeof je==&quot;string&quot;?&quot;string&quot;:&quot;hash&quot;]:ft.map}function Tt(ve,je){var Ae=(function(Ue,ft){return Ue?.[ft]})(ve,je);return Ge(Ae)?Ae:void 0}le.prototype.clear=function(){this.__data__=ce?ce(null):{},this.size=0},le.prototype.delete=function(ve){var je=this.has(ve)&amp;&amp;delete this.__data__[ve];return this.size-=je?1:0,je},le.prototype.get=function(ve){var je=this.__data__;if(ce){var Ae=je[ve];return Ae===&quot;__lodash_hash_undefined__&quot;?void 0:Ae}return k.call(je,ve)?je[ve]:void 0},le.prototype.has=function(ve){var je=this.__data__;return ce?je[ve]!==void 0:k.call(je,ve)},le.prototype.set=function(ve,je){var Ae=this.__data__;return this.size+=this.has(ve)?0:1,Ae[ve]=ce&amp;&amp;je===void 0?&quot;__lodash_hash_undefined__&quot;:je,this},_e.prototype.clear=function(){this.__data__=[],this.size=0},_e.prototype.delete=function(ve){var je=this.__data__,Ae=Ve(je,ve);return!(Ae&lt;0)&amp;&amp;(Ae==je.length-1?je.pop():ne.call(je,Ae,1),--this.size,!0)},_e.prototype.get=function(ve){var je=this.__data__,Ae=Ve(je,ve);return Ae&lt;0?void 0:je[Ae][1]},_e.prototype.has=function(ve){return Ve(this.__data__,ve)&gt;-1},_e.prototype.set=function(ve,je){var Ae=this.__data__,Ue=Ve(Ae,ve);return Ue&lt;0?(++this.size,Ae.push([ve,je])):Ae[Ue][1]=je,this},Se.prototype.clear=function(){this.size=0,this.__data__={hash:new le,map:new(re||_e),string:new le}},Se.prototype.delete=function(ve){var je=Ye(this,ve).delete(ve);return this.size-=je?1:0,je},Se.prototype.get=function(ve){return Ye(this,ve).get(ve)},Se.prototype.has=function(ve){return Ye(this,ve).has(ve)},Se.prototype.set=function(ve,je){var Ae=Ye(this,ve),Ue=Ae.size;return Ae.set(ve,je),this.size+=Ae.size==Ue?0:1,this},Oe.prototype.add=Oe.prototype.push=function(ve){return this.__data__.set(ve,&quot;__lodash_hash_undefined__&quot;),this},Oe.prototype.has=function(ve){return this.__data__.has(ve)},Pe.prototype.clear=function(){this.__data__=new _e,this.size=0},Pe.prototype.delete=function(ve){var je=this.__data__,Ae=je.delete(ve);return this.size=je.size,Ae},Pe.prototype.get=function(ve){return this.__data__.get(ve)},Pe.prototype.has=function(ve){return this.__data__.has(ve)},Pe.prototype.set=function(ve,je){var Ae=this.__data__;if(Ae instanceof _e){var Ue=Ae.__data__;if(!re||Ue.length&lt;199)return Ue.push([ve,je]),this.size=++Ae.size,this;Ae=this.__data__=new Se(Ue)}return Ae.set(ve,je),this.size=Ae.size,this};var qt=ee?function(ve){return ve==null?[]:(ve=Object(ve),(function(je,Ae){for(var Ue=-1,ft=je==null?0:je.length,We=0,wt=[];++Ue&lt;ft;){var pt=je[Ue];Ae(pt,Ue,je)&amp;&amp;(wt[We++]=pt)}return wt})(ee(ve),(function(je){return Q.call(ve,je)})))}:function(){return[]},ct=Qe;function Rt(ve,je){return!!(je=je??9007199254740991)&amp;&amp;(typeof ve==&quot;number&quot;||m.test(ve))&amp;&amp;ve&gt;-1&amp;&amp;ve%1==0&amp;&amp;ve&lt;je}function mt(ve){if(ve!=null){try{return j.call(ve)}catch{}try{return ve+&quot;&quot;}catch{}}return&quot;&quot;}function St(ve,je){return ve===je||ve!=ve&amp;&amp;je!=je}(X&amp;&amp;ct(new X(new ArrayBuffer(1)))!=&quot;[object DataView]&quot;||re&amp;&amp;ct(new re)!=u||Z&amp;&amp;ct(Z.resolve())!=&quot;[object Promise]&quot;||te&amp;&amp;ct(new te)!=s||ae&amp;&amp;ct(new ae)!=&quot;[object WeakMap]&quot;)&amp;&amp;(ct=function(ve){var je=Qe(ve),Ae=je==l?ve.constructor:void 0,Ue=Ae?mt(Ae):&quot;&quot;;if(Ue)switch(Ue){case fe:return&quot;[object DataView]&quot;;case se:return u;case ue:return&quot;[object Promise]&quot;;case ie:return s;case he:return&quot;[object WeakMap]&quot;}return je});var Zt=Ke((function(){return arguments})())?Ke:function(ve){return zt(ve)&amp;&amp;k.call(ve,&quot;callee&quot;)&amp;&amp;!Q.call(ve,&quot;callee&quot;)},Ut=Array.isArray,at=F||function(){return!1};function Dt(ve){if(!xt(ve))return!1;var je=Qe(ve);return je==&quot;[object Function]&quot;||je==&quot;[object GeneratorFunction]&quot;||je==&quot;[object AsyncFunction]&quot;||je==&quot;[object Proxy]&quot;}function Xt(ve){return typeof ve==&quot;number&quot;&amp;&amp;ve&gt;-1&amp;&amp;ve%1==0&amp;&amp;ve&lt;=9007199254740991}function xt(ve){var je=typeof ve;return ve!=null&amp;&amp;(je==&quot;object&quot;||je==&quot;function&quot;)}function zt(ve){return ve!=null&amp;&amp;typeof ve==&quot;object&quot;}var Lt=M?(function(ve){return function(je){return ve(je)}})(M):function(ve){return zt(ve)&amp;&amp;Xt(ve.length)&amp;&amp;!!h[Qe(ve)]};function vt(ve){return(je=ve)!=null&amp;&amp;Xt(je.length)&amp;&amp;!Dt(je)?Ie(ve):$e(ve);var je}n.exports=function(ve,je){return it(ve,je)}}).call(this)}).call(this,typeof Yt&lt;&quot;u&quot;?Yt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],446:[function(t,n,o){(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,l=a||u||Function(&quot;return this&quot;)(),s=Object.prototype,c=s.hasOwnProperty,m=s.toString,h=l.Symbol,d=h?h.toStringTag:void 0;function g(y){return y==null?y===void 0?&quot;[object Undefined]&quot;:&quot;[object Null]&quot;:d&amp;&amp;d in Object(y)?(function(p){var b=c.call(p,d),x=p[d];try{p[d]=void 0;var _=!0}catch{}var E=m.call(p);return _&amp;&amp;(b?p[d]=x:delete p[d]),E})(y):(function(p){return m.call(p)})(y)}n.exports=function(y){if(!(function(b){var x=typeof b;return b!=null&amp;&amp;(x==&quot;object&quot;||x==&quot;function&quot;)})(y))return!1;var p=g(y);return p==&quot;[object Function]&quot;||p==&quot;[object GeneratorFunction]&quot;||p==&quot;[object AsyncFunction]&quot;||p==&quot;[object Proxy]&quot;}}).call(this)}).call(this,typeof Yt&lt;&quot;u&quot;?Yt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],447:[function(t,n,o){n.exports=function(i){return i==null}},{}],448:[function(t,n,o){n.exports=function(i){return i===void 0}},{}],449:[function(t,n,o){(function(i){(function(){var a=/^\[object .+?Constructor\]$/,u=typeof i==&quot;object&quot;&amp;&amp;i&amp;&amp;i.Object===Object&amp;&amp;i,l=typeof self==&quot;object&quot;&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,s=u||l||Function(&quot;return this&quot;)();function c(B,Y){return!!(B&amp;&amp;B.length)&amp;&amp;(function(Q,ne,U){if(ne!=ne)return(function(P,X,re,Z){for(var te=P.length,ae=re+-1;++ae&lt;te;)if(X(P[ae],ae,P))return ae;return-1})(Q,m,U);for(var ee=U-1,F=Q.length;++ee&lt;F;)if(Q[ee]===ne)return ee;return-1})(B,Y,0)&gt;-1}function m(B){return B!=B}function h(B,Y){return B.has(Y)}function d(B){var Y=-1,Q=Array(B.size);return B.forEach((function(ne){Q[++Y]=ne})),Q}var g,y=Array.prototype,p=Function.prototype,b=Object.prototype,x=s[&quot;__core-js_shared__&quot;],_=(g=/[^.]+$/.exec(x&amp;&amp;x.keys&amp;&amp;x.keys.IE_PROTO||&quot;&quot;))?&quot;Symbol(src)_1.&quot;+g:&quot;&quot;,E=p.toString,M=b.hasOwnProperty,D=b.toString,W=RegExp(&quot;^&quot;+E.call(M).replace(/[\\^$.*+?()[\]{}|]/g,&quot;\\$&amp;&quot;).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,&quot;$1.*?&quot;)+&quot;$&quot;),L=y.splice,V=T(s,&quot;Map&quot;),H=T(s,&quot;Set&quot;),K=T(Object,&quot;create&quot;);function z(B){var Y=-1,Q=B?B.length:0;for(this.clear();++Y&lt;Q;){var ne=B[Y];this.set(ne[0],ne[1])}}function O(B){var Y=-1,Q=B?B.length:0;for(this.clear();++Y&lt;Q;){var ne=B[Y];this.set(ne[0],ne[1])}}function I(B){var Y=-1,Q=B?B.length:0;for(this.clear();++Y&lt;Q;){var ne=B[Y];this.set(ne[0],ne[1])}}function C(B){var Y=-1,Q=B?B.length:0;for(this.__data__=new I;++Y&lt;Q;)this.add(B[Y])}function j(B,Y){for(var Q,ne,U=B.length;U--;)if((Q=B[U][0])===(ne=Y)||Q!=Q&amp;&amp;ne!=ne)return U;return-1}function k(B){return!(!R(B)||(Y=B,_&amp;&amp;_ in Y))&amp;&amp;((function(Q){var ne=R(Q)?D.call(Q):&quot;&quot;;return ne==&quot;[object Function]&quot;||ne==&quot;[object GeneratorFunction]&quot;})(B)||(function(Q){var ne=!1;if(Q!=null&amp;&amp;typeof Q.toString!=&quot;function&quot;)try{ne=!!(Q+&quot;&quot;)}catch{}return ne})(B)?W:a).test((function(Q){if(Q!=null){try{return E.call(Q)}catch{}try{return Q+&quot;&quot;}catch{}}return&quot;&quot;})(B));var Y}z.prototype.clear=function(){this.__data__=K?K(null):{}},z.prototype.delete=function(B){return this.has(B)&amp;&amp;delete this.__data__[B]},z.prototype.get=function(B){var Y=this.__data__;if(K){var Q=Y[B];return Q===&quot;__lodash_hash_undefined__&quot;?void 0:Q}return M.call(Y,B)?Y[B]:void 0},z.prototype.has=function(B){var Y=this.__data__;return K?Y[B]!==void 0:M.call(Y,B)},z.prototype.set=function(B,Y){return this.__data__[B]=K&amp;&amp;Y===void 0?&quot;__lodash_hash_undefined__&quot;:Y,this},O.prototype.clear=function(){this.__data__=[]},O.prototype.delete=function(B){var Y=this.__data__,Q=j(Y,B);return!(Q&lt;0)&amp;&amp;(Q==Y.length-1?Y.pop():L.call(Y,Q,1),!0)},O.prototype.get=function(B){var Y=this.__data__,Q=j(Y,B);return Q&lt;0?void 0:Y[Q][1]},O.prototype.has=function(B){return j(this.__data__,B)&gt;-1},O.prototype.set=function(B,Y){var Q=this.__data__,ne=j(Q,B);return ne&lt;0?Q.push([B,Y]):Q[ne][1]=Y,this},I.prototype.clear=function(){this.__data__={hash:new z,map:new(V||O),string:new z}},I.prototype.delete=function(B){return N(this,B).delete(B)},I.prototype.get=function(B){return N(this,B).get(B)},I.prototype.has=function(B){return N(this,B).has(B)},I.prototype.set=function(B,Y){return N(this,B).set(B,Y),this},C.prototype.add=C.prototype.push=function(B){return this.__data__.set(B,&quot;__lodash_hash_undefined__&quot;),this},C.prototype.has=function(B){return this.__data__.has(B)};var S=H&amp;&amp;1/d(new H([,-0]))[1]==1/0?function(B){return new H(B)}:function(){};function N(B,Y){var Q,ne,U=B.__data__;return((ne=typeof(Q=Y))==&quot;string&quot;||ne==&quot;number&quot;||ne==&quot;symbol&quot;||ne==&quot;boolean&quot;?Q!==&quot;__proto__&quot;:Q===null)?U[typeof Y==&quot;string&quot;?&quot;string&quot;:&quot;hash&quot;]:U.map}function T(B,Y){var Q=(function(ne,U){return ne?.[U]})(B,Y);return k(Q)?Q:void 0}function R(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,Q,ne){var U=-1,ee=c,F=Y.length,P=!0,X=[],re=X;if(F&gt;=200){var Z=S(Y);if(Z)return d(Z);P=!1,ee=h,re=new C}else re=X;e:for(;++U&lt;F;){var te=Y[U],ae=te;if(te=te!==0?te:0,P&amp;&amp;ae==ae){for(var ce=re.length;ce--;)if(re[ce]===ae)continue e;X.push(te)}else ee(re,ae,ne)||(re!==X&amp;&amp;re.push(ae),X.push(te))}return X})(B):[]}}).call(this)}).call(this,typeof Yt&lt;&quot;u&quot;?Yt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],450:[function(t,n,o){var i=t(&quot;inherits&quot;),a=t(&quot;hash-base&quot;),u=t(&quot;safe-buffer&quot;).Buffer,l=new Array(16);function s(){a.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(y,p){return y&lt;&lt;p|y&gt;&gt;&gt;32-p}function m(y,p,b,x,_,E,M){return c(y+(p&amp;b|~p&amp;x)+_+E|0,M)+p|0}function h(y,p,b,x,_,E,M){return c(y+(p&amp;x|b&amp;~x)+_+E|0,M)+p|0}function d(y,p,b,x,_,E,M){return c(y+(p^b^x)+_+E|0,M)+p|0}function g(y,p,b,x,_,E,M){return c(y+(b^(p|~x))+_+E|0,M)+p|0}i(s,a),s.prototype._update=function(){for(var y=l,p=0;p&lt;16;++p)y[p]=this._block.readInt32LE(4*p);var b=this._a,x=this._b,_=this._c,E=this._d;b=m(b,x,_,E,y[0],3614090360,7),E=m(E,b,x,_,y[1],3905402710,12),_=m(_,E,b,x,y[2],606105819,17),x=m(x,_,E,b,y[3],3250441966,22),b=m(b,x,_,E,y[4],4118548399,7),E=m(E,b,x,_,y[5],1200080426,12),_=m(_,E,b,x,y[6],2821735955,17),x=m(x,_,E,b,y[7],4249261313,22),b=m(b,x,_,E,y[8],1770035416,7),E=m(E,b,x,_,y[9],2336552879,12),_=m(_,E,b,x,y[10],4294925233,17),x=m(x,_,E,b,y[11],2304563134,22),b=m(b,x,_,E,y[12],1804603682,7),E=m(E,b,x,_,y[13],4254626195,12),_=m(_,E,b,x,y[14],2792965006,17),b=h(b,x=m(x,_,E,b,y[15],1236535329,22),_,E,y[1],4129170786,5),E=h(E,b,x,_,y[6],3225465664,9),_=h(_,E,b,x,y[11],643717713,14),x=h(x,_,E,b,y[0],3921069994,20),b=h(b,x,_,E,y[5],3593408605,5),E=h(E,b,x,_,y[10],38016083,9),_=h(_,E,b,x,y[15],3634488961,14),x=h(x,_,E,b,y[4],3889429448,20),b=h(b,x,_,E,y[9],568446438,5),E=h(E,b,x,_,y[14],3275163606,9),_=h(_,E,b,x,y[3],4107603335,14),x=h(x,_,E,b,y[8],1163531501,20),b=h(b,x,_,E,y[13],2850285829,5),E=h(E,b,x,_,y[2],4243563512,9),_=h(_,E,b,x,y[7],1735328473,14),b=d(b,x=h(x,_,E,b,y[12],2368359562,20),_,E,y[5],4294588738,4),E=d(E,b,x,_,y[8],2272392833,11),_=d(_,E,b,x,y[11],1839030562,16),x=d(x,_,E,b,y[14],4259657740,23),b=d(b,x,_,E,y[1],2763975236,4),E=d(E,b,x,_,y[4],1272893353,11),_=d(_,E,b,x,y[7],4139469664,16),x=d(x,_,E,b,y[10],3200236656,23),b=d(b,x,_,E,y[13],681279174,4),E=d(E,b,x,_,y[0],3936430074,11),_=d(_,E,b,x,y[3],3572445317,16),x=d(x,_,E,b,y[6],76029189,23),b=d(b,x,_,E,y[9],3654602809,4),E=d(E,b,x,_,y[12],3873151461,11),_=d(_,E,b,x,y[15],530742520,16),b=g(b,x=d(x,_,E,b,y[2],3299628645,23),_,E,y[0],4096336452,6),E=g(E,b,x,_,y[7],1126891415,10),_=g(_,E,b,x,y[14],2878612391,15),x=g(x,_,E,b,y[5],4237533241,21),b=g(b,x,_,E,y[12],1700485571,6),E=g(E,b,x,_,y[3],2399980690,10),_=g(_,E,b,x,y[10],4293915773,15),x=g(x,_,E,b,y[1],2240044497,21),b=g(b,x,_,E,y[8],1873313359,6),E=g(E,b,x,_,y[15],4264355552,10),_=g(_,E,b,x,y[6],2734768916,15),x=g(x,_,E,b,y[13],1309151649,21),b=g(b,x,_,E,y[4],4149444226,6),E=g(E,b,x,_,y[11],3174756917,10),_=g(_,E,b,x,y[2],718787259,15),x=g(x,_,E,b,y[9],3951481745,21),this._a=this._a+b|0,this._b=this._b+x|0,this._c=this._c+_|0,this._d=this._d+E|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 y=u.allocUnsafe(16);return y.writeInt32LE(this._a,0),y.writeInt32LE(this._b,4),y.writeInt32LE(this._c,8),y.writeInt32LE(this._d,12),y},n.exports=s},{&quot;hash-base&quot;:425,inherits:440,&quot;safe-buffer&quot;:494}],451:[function(t,n,o){var i=t(&quot;bn.js&quot;),a=t(&quot;brorand&quot;);function u(l){this.rand=l||new a.Rand}n.exports=u,u.create=function(l){return new u(l)},u.prototype._randbelow=function(l){var s=l.bitLength(),c=Math.ceil(s/8);do var m=new i(this.rand.generate(c));while(m.cmp(l)&gt;=0);return m},u.prototype._randrange=function(l,s){var c=s.sub(l);return l.add(this._randbelow(c))},u.prototype.test=function(l,s,c){var m=l.bitLength(),h=i.mont(l),d=new i(1).toRed(h);s||(s=Math.max(1,m/48|0));for(var g=l.subn(1),y=0;!g.testn(y);y++);for(var p=l.shrn(y),b=g.toRed(h);s&gt;0;s--){var x=this._randrange(new i(2),g);c&amp;&amp;c(x);var _=x.toRed(h).redPow(p);if(_.cmp(d)!==0&amp;&amp;_.cmp(b)!==0){for(var E=1;E&lt;y;E++){if((_=_.redSqr()).cmp(d)===0)return!1;if(_.cmp(b)===0)break}if(E===y)return!1}}return!0},u.prototype.getDivisor=function(l,s){var c=l.bitLength(),m=i.mont(l),h=new i(1).toRed(m);s||(s=Math.max(1,c/48|0));for(var d=l.subn(1),g=0;!d.testn(g);g++);for(var y=l.shrn(g),p=d.toRed(m);s&gt;0;s--){var b=this._randrange(new i(2),d),x=l.gcd(b);if(x.cmpn(1)!==0)return x;var _=b.toRed(m).redPow(y);if(_.cmp(h)!==0&amp;&amp;_.cmp(p)!==0){for(var E=1;E&lt;g;E++){if((_=_.redSqr()).cmp(h)===0)return _.fromRed().subn(1).gcd(l);if(_.cmp(p)===0)break}if(E===g)return(_=_.redSqr()).fromRed().subn(1).gcd(l)}}return!1}},{&quot;bn.js&quot;:452,brorand:187}],452:[function(t,n,o){arguments[4][184][0].apply(o,arguments)},{buffer:188,dup:184}],453:[function(t,n,o){function i(a,u){if(!a)throw new Error(u||&quot;Assertion failed&quot;)}n.exports=i,i.equal=function(a,u,l){if(a!=u)throw new Error(l||&quot;Assertion failed: &quot;+a+&quot; != &quot;+u)}},{}],454:[function(t,n,o){var i=o;function a(l){return l.length===1?&quot;0&quot;+l:l}function u(l){for(var s=&quot;&quot;,c=0;c&lt;l.length;c++)s+=a(l[c].toString(16));return s}i.toArray=function(l,s){if(Array.isArray(l))return l.slice();if(!l)return[];var c=[];if(typeof l!=&quot;string&quot;){for(var m=0;m&lt;l.length;m++)c[m]=0|l[m];return c}if(s===&quot;hex&quot;)for((l=l.replace(/[^a-z0-9]+/gi,&quot;&quot;)).length%2!=0&amp;&amp;(l=&quot;0&quot;+l),m=0;m&lt;l.length;m+=2)c.push(parseInt(l[m]+l[m+1],16));else for(m=0;m&lt;l.length;m++){var h=l.charCodeAt(m),d=h&gt;&gt;8,g=255&amp;h;d?c.push(d,g):c.push(g)}return c},i.zero2=a,i.toHex=u,i.encode=function(l,s){return s===&quot;hex&quot;?u(l):l}},{}],455:[function(t,n,o){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,o){var i=t(&quot;asn1.js&quot;);o.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())}));o.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())}));o.RSAPublicKey=u;var l=i.define(&quot;SubjectPublicKeyInfo&quot;,(function(){this.seq().obj(this.key(&quot;algorithm&quot;).use(s),this.key(&quot;subjectPublicKey&quot;).bitstr())}));o.PublicKey=l;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())}));o.PrivateKey=c;var m=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())}));o.EncryptedPrivateKey=m;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())}));o.DSAPrivateKey=h,o.DSAparam=i.define(&quot;DSAparam&quot;,(function(){this.int()}));var d=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(g),this.key(&quot;publicKey&quot;).optional().explicit(1).bitstr())}));o.ECPrivateKey=d;var g=i.define(&quot;ECParameters&quot;,(function(){this.choice({namedCurve:this.objid()})}));o.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,o){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())})),l=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(l),this.key(&quot;subjectPublicKey&quot;).bitstr())})),c=i.define(&quot;RelativeDistinguishedName&quot;,(function(){this.setof(u)})),m=i.define(&quot;RDNSequence&quot;,(function(){this.seqof(c)})),h=i.define(&quot;Name&quot;,(function(){this.choice({rdnSequence:this.use(m)})})),d=i.define(&quot;Validity&quot;,(function(){this.seq().obj(this.key(&quot;notBefore&quot;).use(a),this.key(&quot;notAfter&quot;).use(a))})),g=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())})),y=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(l),this.key(&quot;issuer&quot;).use(h),this.key(&quot;validity&quot;).use(d),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(g).optional())})),p=i.define(&quot;X509Certificate&quot;,(function(){this.seq().obj(this.key(&quot;tbsCertificate&quot;).use(y),this.key(&quot;signatureAlgorithm&quot;).use(l),this.key(&quot;signatureValue&quot;).bitstr())}));n.exports=p},{&quot;asn1.js&quot;:170}],458:[function(t,n,o){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,l=t(&quot;evp_bytestokey&quot;),s=t(&quot;browserify-aes&quot;),c=t(&quot;safe-buffer&quot;).Buffer;n.exports=function(m,h){var d,g=m.toString(),y=g.match(i);if(y){var p=&quot;aes&quot;+y[1],b=c.from(y[2],&quot;hex&quot;),x=c.from(y[3].replace(/[\r\n]/g,&quot;&quot;),&quot;base64&quot;),_=l(h,b.slice(0,8),parseInt(y[1],10)).key,E=[],M=s.createDecipheriv(p,_,b);E.push(M.update(x)),E.push(M.final()),d=c.concat(E)}else{var D=g.match(u);d=c.from(D[2].replace(/[\r\n]/g,&quot;&quot;),&quot;base64&quot;)}return{tag:g.match(a)[1],data:d}}},{&quot;browserify-aes&quot;:191,evp_bytestokey:423,&quot;safe-buffer&quot;:494}],459:[function(t,n,o){var i=t(&quot;./asn1&quot;),a=t(&quot;./aesid.json&quot;),u=t(&quot;./fixProc&quot;),l=t(&quot;browserify-aes&quot;),s=t(&quot;pbkdf2&quot;),c=t(&quot;safe-buffer&quot;).Buffer;function m(h){var d;typeof h!=&quot;object&quot;||c.isBuffer(h)||(d=h.passphrase,h=h.key),typeof h==&quot;string&quot;&amp;&amp;(h=c.from(h));var g,y,p=u(h,d),b=p.tag,x=p.data;switch(b){case&quot;CERTIFICATE&quot;:y=i.certificate.decode(x,&quot;der&quot;).tbsCertificate.subjectPublicKeyInfo;case&quot;PUBLIC KEY&quot;:switch(y||(y=i.PublicKey.decode(x,&quot;der&quot;)),g=y.algorithm.algorithm.join(&quot;.&quot;)){case&quot;1.2.840.113549.1.1.1&quot;:return i.RSAPublicKey.decode(y.subjectPublicKey.data,&quot;der&quot;);case&quot;1.2.840.10045.2.1&quot;:return y.subjectPrivateKey=y.subjectPublicKey,{type:&quot;ec&quot;,data:y};case&quot;1.2.840.10040.4.1&quot;:return y.algorithm.params.pub_key=i.DSAparam.decode(y.subjectPublicKey.data,&quot;der&quot;),{type:&quot;dsa&quot;,data:y.algorithm.params};default:throw new Error(&quot;unknown key id &quot;+g)}case&quot;ENCRYPTED PRIVATE KEY&quot;:x=(function(_,E){var M=_.algorithm.decrypt.kde.kdeparams.salt,D=parseInt(_.algorithm.decrypt.kde.kdeparams.iters.toString(),10),W=a[_.algorithm.decrypt.cipher.algo.join(&quot;.&quot;)],L=_.algorithm.decrypt.cipher.iv,V=_.subjectPrivateKey,H=parseInt(W.split(&quot;-&quot;)[1],10)/8,K=s.pbkdf2Sync(E,M,D,H,&quot;sha1&quot;),z=l.createDecipheriv(W,K,L),O=[];return O.push(z.update(V)),O.push(z.final()),c.concat(O)})(x=i.EncryptedPrivateKey.decode(x,&quot;der&quot;),d);case&quot;PRIVATE KEY&quot;:switch(g=(y=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(y.subjectPrivateKey,&quot;der&quot;);case&quot;1.2.840.10045.2.1&quot;:return{curve:y.algorithm.curve,privateKey:i.ECPrivateKey.decode(y.subjectPrivateKey,&quot;der&quot;).privateKey};case&quot;1.2.840.10040.4.1&quot;:return y.algorithm.params.priv_key=i.DSAparam.decode(y.subjectPrivateKey,&quot;der&quot;),{type:&quot;dsa&quot;,params:y.algorithm.params};default:throw new Error(&quot;unknown key id &quot;+g)}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=m,m.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,o){o.pbkdf2=t(&quot;./lib/async&quot;),o.pbkdf2Sync=t(&quot;./lib/sync&quot;)},{&quot;./lib/async&quot;:461,&quot;./lib/sync&quot;:464}],461:[function(t,n,o){(function(i){(function(){var a,u,l=t(&quot;safe-buffer&quot;).Buffer,s=t(&quot;./precondition&quot;),c=t(&quot;./default-encoding&quot;),m=t(&quot;./sync&quot;),h=t(&quot;./to-buffer&quot;),d=i.crypto&amp;&amp;i.crypto.subtle,g={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;},y=[];function p(){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,_,E,M,D){return d.importKey(&quot;raw&quot;,x,{name:&quot;PBKDF2&quot;},!1,[&quot;deriveBits&quot;]).then((function(W){return d.deriveBits({name:&quot;PBKDF2&quot;,salt:_,iterations:E,hash:{name:D}},W,M&lt;&lt;3)})).then((function(W){return l.from(W)}))}n.exports=function(x,_,E,M,D,W){typeof D==&quot;function&quot;&amp;&amp;(W=D,D=void 0);var L=g[(D=D||&quot;sha1&quot;).toLowerCase()];if(L&amp;&amp;typeof i.Promise==&quot;function&quot;){if(s(E,M),x=h(x,c,&quot;Password&quot;),_=h(_,c,&quot;Salt&quot;),typeof W!=&quot;function&quot;)throw new Error(&quot;No callback provided to pbkdf2&quot;);(function(V,H){V.then((function(K){p()((function(){H(null,K)}))}),(function(K){p()((function(){H(K)}))}))})((function(V){if(i.process&amp;&amp;!i.process.browser||!d||!d.importKey||!d.deriveBits)return Promise.resolve(!1);if(y[V]!==void 0)return y[V];var H=b(a=a||l.alloc(8),a,10,128,V).then((function(){return!0})).catch((function(){return!1}));return y[V]=H,H})(L).then((function(V){return V?b(x,_,E,M,L):m(x,_,E,M,D)})),W)}else p()((function(){var V;try{V=m(x,_,E,M,D)}catch(H){return W(H)}W(null,V)}))}}).call(this)}).call(this,typeof Yt&lt;&quot;u&quot;?Yt: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,o){(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 Yt&lt;&quot;u&quot;?Yt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{_process:467}],463:[function(t,n,o){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,o){var i=t(&quot;create-hash/md5&quot;),a=t(&quot;ripemd160&quot;),u=t(&quot;sha.js&quot;),l=t(&quot;safe-buffer&quot;).Buffer,s=t(&quot;./precondition&quot;),c=t(&quot;./default-encoding&quot;),m=t(&quot;./to-buffer&quot;),h=l.alloc(128),d={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function g(y,p,b){var x=(function(L){function V(H){return u(L).update(H).digest()}return L===&quot;rmd160&quot;||L===&quot;ripemd160&quot;?function(H){return new a().update(H).digest()}:L===&quot;md5&quot;?i:V})(y),_=y===&quot;sha512&quot;||y===&quot;sha384&quot;?128:64;p.length&gt;_?p=x(p):p.length&lt;_&amp;&amp;(p=l.concat([p,h],_));for(var E=l.allocUnsafe(_+d[y]),M=l.allocUnsafe(_+d[y]),D=0;D&lt;_;D++)E[D]=54^p[D],M[D]=92^p[D];var W=l.allocUnsafe(_+b+4);E.copy(W,0,0,_),this.ipad1=W,this.ipad2=E,this.opad=M,this.alg=y,this.blocksize=_,this.hash=x,this.size=d[y]}g.prototype.run=function(y,p){return y.copy(p,this.blocksize),this.hash(p).copy(this.opad,this.blocksize),this.hash(this.opad)},n.exports=function(y,p,b,x,_){s(b,x);var E=new g(_=_||&quot;sha1&quot;,y=m(y,c,&quot;Password&quot;),(p=m(p,c,&quot;Salt&quot;)).length),M=l.allocUnsafe(x),D=l.allocUnsafe(p.length+4);p.copy(D,0,0,p.length);for(var W=0,L=d[_],V=Math.ceil(x/L),H=1;H&lt;=V;H++){D.writeUInt32BE(H,p.length);for(var K=E.run(D,E.ipad1),z=K,O=1;O&lt;b;O++){z=E.run(z,E.ipad2);for(var I=0;I&lt;L;I++)K[I]^=z[I]}K.copy(M,W),W+=L}return M}},{&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,o){var i=t(&quot;safe-buffer&quot;).Buffer;n.exports=function(a,u,l){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(l+&quot; must be a string, a Buffer, a typed array or a DataView&quot;)}},{&quot;safe-buffer&quot;:494}],466:[function(t,n,o){(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,l,s){if(typeof a!=&quot;function&quot;)throw new TypeError(&#039;&quot;callback&quot; argument must be a function&#039;);var c,m,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,l)}));case 4:return i.nextTick((function(){a.call(null,u,l,s)}));default:for(c=new Array(h-1),m=0;m&lt;c.length;)c[m++]=arguments[m];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,o){var i,a,u=n.exports={};function l(){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===l||!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:l}catch{i=l}try{a=typeof clearTimeout==&quot;function&quot;?clearTimeout:s}catch{a=s}})();var m,h=[],d=!1,g=-1;function y(){d&amp;&amp;m&amp;&amp;(d=!1,m.length?h=m.concat(h):g=-1,h.length&amp;&amp;p())}function p(){if(!d){var _=c(y);d=!0;for(var E=h.length;E;){for(m=h,h=[];++g&lt;E;)m&amp;&amp;m[g].run();g=-1,E=h.length}m=null,d=!1,(function(M){if(a===clearTimeout)return clearTimeout(M);if((a===s||!a)&amp;&amp;clearTimeout)return a=clearTimeout,clearTimeout(M);try{a(M)}catch{try{return a.call(null,M)}catch{return a.call(this,M)}}})(_)}}function b(_,E){this.fun=_,this.array=E}function x(){}u.nextTick=function(_){var E=new Array(arguments.length-1);if(arguments.length&gt;1)for(var M=1;M&lt;arguments.length;M++)E[M-1]=arguments[M];h.push(new b(_,E)),h.length!==1||d||c(p)},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,o){o.publicEncrypt=t(&quot;./publicEncrypt&quot;),o.privateDecrypt=t(&quot;./privateDecrypt&quot;),o.privateEncrypt=function(i,a){return o.publicEncrypt(i,a,!0)},o.publicDecrypt=function(i,a){return o.privateDecrypt(i,a,!0)}},{&quot;./privateDecrypt&quot;:471,&quot;./publicEncrypt&quot;:472}],469:[function(t,n,o){var i=t(&quot;create-hash&quot;),a=t(&quot;safe-buffer&quot;).Buffer;function u(l){var s=a.allocUnsafe(4);return s.writeUInt32BE(l,0),s}n.exports=function(l,s){for(var c,m=a.alloc(0),h=0;m.length&lt;s;)c=u(h++),m=a.concat([m,i(&quot;sha1&quot;).update(l).update(c).digest()]);return m.slice(0,s)}},{&quot;create-hash&quot;:386,&quot;safe-buffer&quot;:494}],470:[function(t,n,o){arguments[4][184][0].apply(o,arguments)},{buffer:188,dup:184}],471:[function(t,n,o){var i=t(&quot;parse-asn1&quot;),a=t(&quot;./mgf&quot;),u=t(&quot;./xor&quot;),l=t(&quot;bn.js&quot;),s=t(&quot;browserify-rsa&quot;),c=t(&quot;create-hash&quot;),m=t(&quot;./withPublic&quot;),h=t(&quot;safe-buffer&quot;).Buffer;n.exports=function(d,g,y){var p;p=d.padding?d.padding:y?1:4;var b,x=i(d),_=x.modulus.byteLength();if(g.length&gt;_||new l(g).cmp(x.modulus)&gt;=0)throw new Error(&quot;decryption error&quot;);b=y?m(new l(g),x):s(g,x);var E=h.alloc(_-b.length);if(b=h.concat([E,b],_),p===4)return(function(M,D){var W=M.modulus.byteLength(),L=c(&quot;sha1&quot;).update(h.alloc(0)).digest(),V=L.length;if(D[0]!==0)throw new Error(&quot;decryption error&quot;);var H=D.slice(1,V+1),K=D.slice(V+1),z=u(H,a(K,V)),O=u(K,a(z,W-V-1));if((function(C,j){C=h.from(C),j=h.from(j);var k=0,S=C.length;C.length!==j.length&amp;&amp;(k++,S=Math.min(C.length,j.length));for(var N=-1;++N&lt;S;)k+=C[N]^j[N];return k})(L,O.slice(0,V)))throw new Error(&quot;decryption error&quot;);for(var I=V;O[I]===0;)I++;if(O[I++]!==1)throw new Error(&quot;decryption error&quot;);return O.slice(I)})(x,b);if(p===1)return(function(M,D,W){for(var L=D.slice(0,2),V=2,H=0;D[V++]!==0;)if(V&gt;=D.length){H++;break}var K=D.slice(2,V-1);if((L.toString(&quot;hex&quot;)!==&quot;0002&quot;&amp;&amp;!W||L.toString(&quot;hex&quot;)!==&quot;0001&quot;&amp;&amp;W)&amp;&amp;H++,K.length&lt;8&amp;&amp;H++,H)throw new Error(&quot;decryption error&quot;);return D.slice(V)})(0,b,y);if(p===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,o){var i=t(&quot;parse-asn1&quot;),a=t(&quot;randombytes&quot;),u=t(&quot;create-hash&quot;),l=t(&quot;./mgf&quot;),s=t(&quot;./xor&quot;),c=t(&quot;bn.js&quot;),m=t(&quot;./withPublic&quot;),h=t(&quot;browserify-rsa&quot;),d=t(&quot;safe-buffer&quot;).Buffer;n.exports=function(g,y,p){var b;b=g.padding?g.padding:p?1:4;var x,_=i(g);if(b===4)x=(function(E,M){var D=E.modulus.byteLength(),W=M.length,L=u(&quot;sha1&quot;).update(d.alloc(0)).digest(),V=L.length,H=2*V;if(W&gt;D-H-2)throw new Error(&quot;message too long&quot;);var K=d.alloc(D-W-H-2),z=D-V-1,O=a(V),I=s(d.concat([L,K,d.alloc(1,1),M],z),l(O,z)),C=s(O,l(I,V));return new c(d.concat([d.alloc(1),C,I],D))})(_,y);else if(b===1)x=(function(E,M,D){var W,L=M.length,V=E.modulus.byteLength();if(L&gt;V-11)throw new Error(&quot;message too long&quot;);return W=D?d.alloc(V-L-3,255):(function(H){for(var K,z=d.allocUnsafe(H),O=0,I=a(2*H),C=0;O&lt;H;)C===I.length&amp;&amp;(I=a(2*H),C=0),(K=I[C++])&amp;&amp;(z[O++]=K);return z})(V-L-3),new c(d.concat([d.from([0,D?1:2]),W,d.alloc(1),M],V))})(_,y,p);else{if(b!==3)throw new Error(&quot;unknown padding&quot;);if((x=new c(y)).cmp(_.modulus)&gt;=0)throw new Error(&quot;data too long for modulus&quot;)}return p?h(x,_):m(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,o){var i=t(&quot;bn.js&quot;),a=t(&quot;safe-buffer&quot;).Buffer;n.exports=function(u,l){return a.from(u.toRed(i.mont(l.modulus)).redPow(new i(l.publicExponent)).fromRed().toArray())}},{&quot;bn.js&quot;:470,&quot;safe-buffer&quot;:494}],474:[function(t,n,o){n.exports=function(i,a){for(var u=i.length,l=-1;++l&lt;u;)i[l]^=a[l];return i}},{}],475:[function(t,n,o){(function(i,a){(function(){var u=t(&quot;safe-buffer&quot;).Buffer,l=a.crypto||a.msCrypto;l&amp;&amp;l.getRandomValues?n.exports=function(s,c){if(s&gt;4294967295)throw new RangeError(&quot;requested too many random bytes&quot;);var m=u.allocUnsafe(s);if(s&gt;0)if(s&gt;65536)for(var h=0;h&lt;s;h+=65536)l.getRandomValues(m.slice(h,h+65536));else l.getRandomValues(m);return typeof c==&quot;function&quot;?i.nextTick((function(){c(null,m)})):m}: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 Yt&lt;&quot;u&quot;?Yt: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,o){(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 l=t(&quot;safe-buffer&quot;),s=t(&quot;randombytes&quot;),c=l.Buffer,m=l.kMaxLength,h=a.crypto||a.msCrypto,d=Math.pow(2,32)-1;function g(b,x){if(typeof b!=&quot;number&quot;||b!=b)throw new TypeError(&quot;offset must be a number&quot;);if(b&gt;d||b&lt;0)throw new TypeError(&quot;offset must be a uint32&quot;);if(b&gt;m||b&gt;x)throw new RangeError(&quot;offset out of range&quot;)}function y(b,x,_){if(typeof b!=&quot;number&quot;||b!=b)throw new TypeError(&quot;size must be a number&quot;);if(b&gt;d||b&lt;0)throw new TypeError(&quot;size must be a uint32&quot;);if(b+x&gt;_||b&gt;m)throw new RangeError(&quot;buffer too small&quot;)}function p(b,x,_,E){if(i.browser){var M=b.buffer,D=new Uint8Array(M,x,_);return h.getRandomValues(D),E?void i.nextTick((function(){E(null,b)})):b}if(!E)return s(_).copy(b,x),b;s(_,(function(W,L){if(W)return E(W);L.copy(b,x),E(null,b)}))}h&amp;&amp;h.getRandomValues||!i.browser?(o.randomFill=function(b,x,_,E){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;)E=x,x=0,_=b.length;else if(typeof _==&quot;function&quot;)E=_,_=b.length-x;else if(typeof E!=&quot;function&quot;)throw new TypeError(&#039;&quot;cb&quot; argument must be a function&#039;);return g(x,b.length),y(_,x,b.length),p(b,x,_,E)},o.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 g(x,b.length),_===void 0&amp;&amp;(_=b.length-x),y(_,x,b.length),p(b,x,_)}):(o.randomFill=u,o.randomFillSync=u)}).call(this)}).call(this,t(&quot;_process&quot;),typeof Yt&lt;&quot;u&quot;?Yt: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,o){var i={};function a(l,s,c){c||(c=Error);var m=(function(h){var d,g;function y(p,b,x){return h.call(this,(function(_,E,M){return typeof s==&quot;string&quot;?s:s(_,E,M)})(p,b,x))||this}return g=h,(d=y).prototype=Object.create(g.prototype),d.prototype.constructor=d,d.__proto__=g,y})(c);m.prototype.name=c.name,m.prototype.code=l,i[l]=m}function u(l,s){if(Array.isArray(l)){var c=l.length;return l=l.map((function(m){return String(m)})),c&gt;2?&quot;one of &quot;.concat(s,&quot; &quot;).concat(l.slice(0,c-1).join(&quot;, &quot;),&quot;, or &quot;)+l[c-1]:c===2?&quot;one of &quot;.concat(s,&quot; &quot;).concat(l[0],&quot; or &quot;).concat(l[1]):&quot;of &quot;.concat(s,&quot; &quot;).concat(l[0])}return&quot;of &quot;.concat(s,&quot; &quot;).concat(String(l))}a(&quot;ERR_INVALID_OPT_VALUE&quot;,(function(l,s){return&#039;The value &quot;&#039;+s+&#039;&quot; is invalid for option &quot;&#039;+l+&#039;&quot;&#039;}),TypeError),a(&quot;ERR_INVALID_ARG_TYPE&quot;,(function(l,s,c){var m,h,d;if(typeof s==&quot;string&quot;&amp;&amp;(h=&quot;not &quot;,s.substr(0,h.length)===h)?(m=&quot;must not be&quot;,s=s.replace(/^not /,&quot;&quot;)):m=&quot;must be&quot;,(function(y,p,b){return(b===void 0||b&gt;y.length)&amp;&amp;(b=y.length),y.substring(b-p.length,b)===p})(l,&quot; argument&quot;))d=&quot;The &quot;.concat(l,&quot; &quot;).concat(m,&quot; &quot;).concat(u(s,&quot;type&quot;));else{var g=(function(y,p,b){return typeof b!=&quot;number&quot;&amp;&amp;(b=0),!(b+p.length&gt;y.length)&amp;&amp;y.indexOf(p,b)!==-1})(l,&quot;.&quot;)?&quot;property&quot;:&quot;argument&quot;;d=&#039;The &quot;&#039;.concat(l,&#039;&quot; &#039;).concat(g,&quot; &quot;).concat(m,&quot; &quot;).concat(u(s,&quot;type&quot;))}return d+=&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(l){return&quot;The &quot;+l+&quot; method is not implemented&quot;})),a(&quot;ERR_STREAM_PREMATURE_CLOSE&quot;,&quot;Premature close&quot;),a(&quot;ERR_STREAM_DESTROYED&quot;,(function(l){return&quot;Cannot call &quot;+l+&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(l){return&quot;Unknown encoding: &quot;+l}),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,o){(function(i){(function(){var a=Object.keys||function(y){var p=[];for(var b in y)p.push(b);return p};n.exports=h;var u=t(&quot;./_stream_readable&quot;),l=t(&quot;./_stream_writable&quot;);t(&quot;inherits&quot;)(h,u);for(var s=a(l.prototype),c=0;c&lt;s.length;c++){var m=s[c];h.prototype[m]||(h.prototype[m]=l.prototype[m])}function h(y){if(!(this instanceof h))return new h(y);u.call(this,y),l.call(this,y),this.allowHalfOpen=!0,y&amp;&amp;(y.readable===!1&amp;&amp;(this.readable=!1),y.writable===!1&amp;&amp;(this.writable=!1),y.allowHalfOpen===!1&amp;&amp;(this.allowHalfOpen=!1,this.once(&quot;end&quot;,d)))}function d(){this._writableState.ended||i.nextTick(g,this)}function g(y){y.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(y){this._readableState!==void 0&amp;&amp;this._writableState!==void 0&amp;&amp;(this._readableState.destroyed=y,this._writableState.destroyed=y)}})}).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,o){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,l,s){s(null,u)}},{&quot;./_stream_transform&quot;:481,inherits:440}],480:[function(t,n,o){(function(i,a){(function(){var u;n.exports=z,z.ReadableState=K,t(&quot;events&quot;).EventEmitter;var l=function(F,P){return F.listeners(P).length},s=t(&quot;./internal/streams/stream&quot;),c=t(&quot;buffer&quot;).Buffer,m=(a!==void 0?a:typeof window&lt;&quot;u&quot;?window:typeof self&lt;&quot;u&quot;?self:{}).Uint8Array||function(){},h,d=t(&quot;util&quot;);h=d&amp;&amp;d.debuglog?d.debuglog(&quot;stream&quot;):function(){};var g,y,p,b=t(&quot;./internal/streams/buffer_list&quot;),x=t(&quot;./internal/streams/destroy&quot;),_=t(&quot;./internal/streams/state&quot;).getHighWaterMark,E=t(&quot;../errors&quot;).codes,M=E.ERR_INVALID_ARG_TYPE,D=E.ERR_STREAM_PUSH_AFTER_EOF,W=E.ERR_METHOD_NOT_IMPLEMENTED,L=E.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;t(&quot;inherits&quot;)(z,s);var V=x.errorOrDestroy,H=[&quot;error&quot;,&quot;close&quot;,&quot;destroy&quot;,&quot;pause&quot;,&quot;resume&quot;];function K(F,P,X){u=u||t(&quot;./_stream_duplex&quot;),F=F||{},typeof X!=&quot;boolean&quot;&amp;&amp;(X=P instanceof u),this.objectMode=!!F.objectMode,X&amp;&amp;(this.objectMode=this.objectMode||!!F.readableObjectMode),this.highWaterMark=_(this,F,&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=F.emitClose!==!1,this.autoDestroy=!!F.autoDestroy,this.destroyed=!1,this.defaultEncoding=F.defaultEncoding||&quot;utf8&quot;,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,F.encoding&amp;&amp;(g||(g=t(&quot;string_decoder/&quot;).StringDecoder),this.decoder=new g(F.encoding),this.encoding=F.encoding)}function z(F){if(u=u||t(&quot;./_stream_duplex&quot;),!(this instanceof z))return new z(F);var P=this instanceof u;this._readableState=new K(F,this,P),this.readable=!0,F&amp;&amp;(typeof F.read==&quot;function&quot;&amp;&amp;(this._read=F.read),typeof F.destroy==&quot;function&quot;&amp;&amp;(this._destroy=F.destroy)),s.call(this)}function O(F,P,X,re,Z){h(&quot;readableAddChunk&quot;,P);var te,ae=F._readableState;if(P===null)ae.reading=!1,(function(ce,fe){if(h(&quot;onEofChunk&quot;),!fe.ended){if(fe.decoder){var se=fe.decoder.end();se&amp;&amp;se.length&amp;&amp;(fe.buffer.push(se),fe.length+=fe.objectMode?1:se.length)}fe.ended=!0,fe.sync?j(ce):(fe.needReadable=!1,fe.emittedReadable||(fe.emittedReadable=!0,k(ce)))}})(F,ae);else if(Z||(te=(function(ce,fe){var se;ue=fe,c.isBuffer(ue)||ue instanceof m||typeof fe==&quot;string&quot;||fe===void 0||ce.objectMode||(se=new M(&quot;chunk&quot;,[&quot;string&quot;,&quot;Buffer&quot;,&quot;Uint8Array&quot;],fe));var ue;return se})(ae,P)),te)V(F,te);else if(ae.objectMode||P&amp;&amp;P.length&gt;0)if(typeof P==&quot;string&quot;||ae.objectMode||Object.getPrototypeOf(P)===c.prototype||(P=(function(ce){return c.from(ce)})(P)),re)ae.endEmitted?V(F,new L):I(F,ae,P,!0);else if(ae.ended)V(F,new D);else{if(ae.destroyed)return!1;ae.reading=!1,ae.decoder&amp;&amp;!X?(P=ae.decoder.write(P),ae.objectMode||P.length!==0?I(F,ae,P,!1):S(F,ae)):I(F,ae,P,!1)}else re||(ae.reading=!1,S(F,ae));return!ae.ended&amp;&amp;(ae.length&lt;ae.highWaterMark||ae.length===0)}function I(F,P,X,re){P.flowing&amp;&amp;P.length===0&amp;&amp;!P.sync?(P.awaitDrain=0,F.emit(&quot;data&quot;,X)):(P.length+=P.objectMode?1:X.length,re?P.buffer.unshift(X):P.buffer.push(X),P.needReadable&amp;&amp;j(F)),S(F,P)}Object.defineProperty(z.prototype,&quot;destroyed&quot;,{enumerable:!1,get:function(){return this._readableState!==void 0&amp;&amp;this._readableState.destroyed},set:function(F){this._readableState&amp;&amp;(this._readableState.destroyed=F)}}),z.prototype.destroy=x.destroy,z.prototype._undestroy=x.undestroy,z.prototype._destroy=function(F,P){P(F)},z.prototype.push=function(F,P){var X,re=this._readableState;return re.objectMode?X=!0:typeof F==&quot;string&quot;&amp;&amp;((P=P||re.defaultEncoding)!==re.encoding&amp;&amp;(F=c.from(F,P),P=&quot;&quot;),X=!0),O(this,F,P,!1,X)},z.prototype.unshift=function(F){return O(this,F,null,!0,!1)},z.prototype.isPaused=function(){return this._readableState.flowing===!1},z.prototype.setEncoding=function(F){g||(g=t(&quot;string_decoder/&quot;).StringDecoder);var P=new g(F);this._readableState.decoder=P,this._readableState.encoding=this._readableState.decoder.encoding;for(var X=this._readableState.buffer.head,re=&quot;&quot;;X!==null;)re+=P.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 C(F,P){return F&lt;=0||P.length===0&amp;&amp;P.ended?0:P.objectMode?1:F!=F?P.flowing&amp;&amp;P.length?P.buffer.head.data.length:P.length:(F&gt;P.highWaterMark&amp;&amp;(P.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})(F)),F&lt;=P.length?F:P.ended?P.length:(P.needReadable=!0,0))}function j(F){var P=F._readableState;h(&quot;emitReadable&quot;,P.needReadable,P.emittedReadable),P.needReadable=!1,P.emittedReadable||(h(&quot;emitReadable&quot;,P.flowing),P.emittedReadable=!0,i.nextTick(k,F))}function k(F){var P=F._readableState;h(&quot;emitReadable_&quot;,P.destroyed,P.length,P.ended),P.destroyed||!P.length&amp;&amp;!P.ended||(F.emit(&quot;readable&quot;),P.emittedReadable=!1),P.needReadable=!P.flowing&amp;&amp;!P.ended&amp;&amp;P.length&lt;=P.highWaterMark,Y(F)}function S(F,P){P.readingMore||(P.readingMore=!0,i.nextTick(N,F,P))}function N(F,P){for(;!P.reading&amp;&amp;!P.ended&amp;&amp;(P.length&lt;P.highWaterMark||P.flowing&amp;&amp;P.length===0);){var X=P.length;if(h(&quot;maybeReadMore read 0&quot;),F.read(0),X===P.length)break}P.readingMore=!1}function T(F){var P=F._readableState;P.readableListening=F.listenerCount(&quot;readable&quot;)&gt;0,P.resumeScheduled&amp;&amp;!P.paused?P.flowing=!0:F.listenerCount(&quot;data&quot;)&gt;0&amp;&amp;F.resume()}function R(F){h(&quot;readable nexttick read 0&quot;),F.read(0)}function B(F,P){h(&quot;resume&quot;,P.reading),P.reading||F.read(0),P.resumeScheduled=!1,F.emit(&quot;resume&quot;),Y(F),P.flowing&amp;&amp;!P.reading&amp;&amp;F.read(0)}function Y(F){var P=F._readableState;for(h(&quot;flow&quot;,P.flowing);P.flowing&amp;&amp;F.read()!==null;);}function Q(F,P){return P.length===0?null:(P.objectMode?X=P.buffer.shift():!F||F&gt;=P.length?(X=P.decoder?P.buffer.join(&quot;&quot;):P.buffer.length===1?P.buffer.first():P.buffer.concat(P.length),P.buffer.clear()):X=P.buffer.consume(F,P.decoder),X);var X}function ne(F){var P=F._readableState;h(&quot;endReadable&quot;,P.endEmitted),P.endEmitted||(P.ended=!0,i.nextTick(U,P,F))}function U(F,P){if(h(&quot;endReadableNT&quot;,F.endEmitted,F.length),!F.endEmitted&amp;&amp;F.length===0&amp;&amp;(F.endEmitted=!0,P.readable=!1,P.emit(&quot;end&quot;),F.autoDestroy)){var X=P._writableState;(!X||X.autoDestroy&amp;&amp;X.finished)&amp;&amp;P.destroy()}}function ee(F,P){for(var X=0,re=F.length;X&lt;re;X++)if(F[X]===P)return X;return-1}z.prototype.read=function(F){h(&quot;read&quot;,F),F=parseInt(F,10);var P=this._readableState,X=F;if(F!==0&amp;&amp;(P.emittedReadable=!1),F===0&amp;&amp;P.needReadable&amp;&amp;((P.highWaterMark!==0?P.length&gt;=P.highWaterMark:P.length&gt;0)||P.ended))return h(&quot;read: emitReadable&quot;,P.length,P.ended),P.length===0&amp;&amp;P.ended?ne(this):j(this),null;if((F=C(F,P))===0&amp;&amp;P.ended)return P.length===0&amp;&amp;ne(this),null;var re,Z=P.needReadable;return h(&quot;need readable&quot;,Z),(P.length===0||P.length-F&lt;P.highWaterMark)&amp;&amp;h(&quot;length less than watermark&quot;,Z=!0),P.ended||P.reading?h(&quot;reading or ended&quot;,Z=!1):Z&amp;&amp;(h(&quot;do read&quot;),P.reading=!0,P.sync=!0,P.length===0&amp;&amp;(P.needReadable=!0),this._read(P.highWaterMark),P.sync=!1,P.reading||(F=C(X,P))),(re=F&gt;0?Q(F,P):null)===null?(P.needReadable=P.length&lt;=P.highWaterMark,F=0):(P.length-=F,P.awaitDrain=0),P.length===0&amp;&amp;(P.ended||(P.needReadable=!0),X!==F&amp;&amp;P.ended&amp;&amp;ne(this)),re!==null&amp;&amp;this.emit(&quot;data&quot;,re),re},z.prototype._read=function(F){V(this,new W(&quot;_read()&quot;))},z.prototype.pipe=function(F,P){var X=this,re=this._readableState;switch(re.pipesCount){case 0:re.pipes=F;break;case 1:re.pipes=[re.pipes,F];break;default:re.pipes.push(F)}re.pipesCount+=1,h(&quot;pipe count=%d opts=%j&quot;,re.pipesCount,P);var Z=(!P||P.end!==!1)&amp;&amp;F!==i.stdout&amp;&amp;F!==i.stderr?ae:ge;function te(pe,le){h(&quot;onunpipe&quot;),pe===X&amp;&amp;le&amp;&amp;le.hasUnpiped===!1&amp;&amp;(le.hasUnpiped=!0,h(&quot;cleanup&quot;),F.removeListener(&quot;close&quot;,ie),F.removeListener(&quot;finish&quot;,he),F.removeListener(&quot;drain&quot;,ce),F.removeListener(&quot;error&quot;,ue),F.removeListener(&quot;unpipe&quot;,te),X.removeListener(&quot;end&quot;,ae),X.removeListener(&quot;end&quot;,ge),X.removeListener(&quot;data&quot;,se),fe=!0,!re.awaitDrain||F._writableState&amp;&amp;!F._writableState.needDrain||ce())}function ae(){h(&quot;onend&quot;),F.end()}re.endEmitted?i.nextTick(Z):X.once(&quot;end&quot;,Z),F.on(&quot;unpipe&quot;,te);var ce=(function(pe){return function(){var le=pe._readableState;h(&quot;pipeOnDrain&quot;,le.awaitDrain),le.awaitDrain&amp;&amp;le.awaitDrain--,le.awaitDrain===0&amp;&amp;l(pe,&quot;data&quot;)&amp;&amp;(le.flowing=!0,Y(pe))}})(X);F.on(&quot;drain&quot;,ce);var fe=!1;function se(pe){h(&quot;ondata&quot;);var le=F.write(pe);h(&quot;dest.write&quot;,le),le===!1&amp;&amp;((re.pipesCount===1&amp;&amp;re.pipes===F||re.pipesCount&gt;1&amp;&amp;ee(re.pipes,F)!==-1)&amp;&amp;!fe&amp;&amp;(h(&quot;false write response, pause&quot;,re.awaitDrain),re.awaitDrain++),X.pause())}function ue(pe){h(&quot;onerror&quot;,pe),ge(),F.removeListener(&quot;error&quot;,ue),l(F,&quot;error&quot;)===0&amp;&amp;V(F,pe)}function ie(){F.removeListener(&quot;finish&quot;,he),ge()}function he(){h(&quot;onfinish&quot;),F.removeListener(&quot;close&quot;,ie),ge()}function ge(){h(&quot;unpipe&quot;),X.unpipe(F)}return X.on(&quot;data&quot;,se),(function(pe,le,_e){if(typeof pe.prependListener==&quot;function&quot;)return pe.prependListener(le,_e);pe._events&amp;&amp;pe._events[le]?Array.isArray(pe._events[le])?pe._events[le].unshift(_e):pe._events[le]=[_e,pe._events[le]]:pe.on(le,_e)})(F,&quot;error&quot;,ue),F.once(&quot;close&quot;,ie),F.once(&quot;finish&quot;,he),F.emit(&quot;pipe&quot;,X),re.flowing||(h(&quot;pipe resume&quot;),X.resume()),F},z.prototype.unpipe=function(F){var P=this._readableState,X={hasUnpiped:!1};if(P.pipesCount===0)return this;if(P.pipesCount===1)return F&amp;&amp;F!==P.pipes||(F||(F=P.pipes),P.pipes=null,P.pipesCount=0,P.flowing=!1,F&amp;&amp;F.emit(&quot;unpipe&quot;,this,X)),this;if(!F){var re=P.pipes,Z=P.pipesCount;P.pipes=null,P.pipesCount=0,P.flowing=!1;for(var te=0;te&lt;Z;te++)re[te].emit(&quot;unpipe&quot;,this,{hasUnpiped:!1});return this}var ae=ee(P.pipes,F);return ae===-1||(P.pipes.splice(ae,1),P.pipesCount-=1,P.pipesCount===1&amp;&amp;(P.pipes=P.pipes[0]),F.emit(&quot;unpipe&quot;,this,X)),this},z.prototype.on=function(F,P){var X=s.prototype.on.call(this,F,P),re=this._readableState;return F===&quot;data&quot;?(re.readableListening=this.listenerCount(&quot;readable&quot;)&gt;0,re.flowing!==!1&amp;&amp;this.resume()):F===&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(R,this))),X},z.prototype.addListener=z.prototype.on,z.prototype.removeListener=function(F,P){var X=s.prototype.removeListener.call(this,F,P);return F===&quot;readable&quot;&amp;&amp;i.nextTick(T,this),X},z.prototype.removeAllListeners=function(F){var P=s.prototype.removeAllListeners.apply(this,arguments);return F!==&quot;readable&quot;&amp;&amp;F!==void 0||i.nextTick(T,this),P},z.prototype.resume=function(){var F=this._readableState;return F.flowing||(h(&quot;resume&quot;),F.flowing=!F.readableListening,(function(P,X){X.resumeScheduled||(X.resumeScheduled=!0,i.nextTick(B,P,X))})(this,F)),F.paused=!1,this},z.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},z.prototype.wrap=function(F){var P=this,X=this._readableState,re=!1;for(var Z in F.on(&quot;end&quot;,(function(){if(h(&quot;wrapped end&quot;),X.decoder&amp;&amp;!X.ended){var ae=X.decoder.end();ae&amp;&amp;ae.length&amp;&amp;P.push(ae)}P.push(null)})),F.on(&quot;data&quot;,(function(ae){h(&quot;wrapped data&quot;),X.decoder&amp;&amp;(ae=X.decoder.write(ae)),X.objectMode&amp;&amp;ae==null||(X.objectMode||ae&amp;&amp;ae.length)&amp;&amp;(P.push(ae)||(re=!0,F.pause()))})),F)this[Z]===void 0&amp;&amp;typeof F[Z]==&quot;function&quot;&amp;&amp;(this[Z]=(function(ae){return function(){return F[ae].apply(F,arguments)}})(Z));for(var te=0;te&lt;H.length;te++)F.on(H[te],this.emit.bind(this,H[te]));return this._read=function(ae){h(&quot;wrapped _read&quot;,ae),re&amp;&amp;(re=!1,F.resume())},this},typeof Symbol==&quot;function&quot;&amp;&amp;(z.prototype[Symbol.asyncIterator]=function(){return y===void 0&amp;&amp;(y=t(&quot;./internal/streams/async_iterator&quot;)),y(this)}),Object.defineProperty(z.prototype,&quot;readableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(z.prototype,&quot;readableBuffer&quot;,{enumerable:!1,get:function(){return this._readableState&amp;&amp;this._readableState.buffer}}),Object.defineProperty(z.prototype,&quot;readableFlowing&quot;,{enumerable:!1,get:function(){return this._readableState.flowing},set:function(F){this._readableState&amp;&amp;(this._readableState.flowing=F)}}),z._fromList=Q,Object.defineProperty(z.prototype,&quot;readableLength&quot;,{enumerable:!1,get:function(){return this._readableState.length}}),typeof Symbol==&quot;function&quot;&amp;&amp;(z.from=function(F,P){return p===void 0&amp;&amp;(p=t(&quot;./internal/streams/from&quot;)),p(z,F,P)})}).call(this)}).call(this,t(&quot;_process&quot;),typeof Yt&lt;&quot;u&quot;?Yt: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,o){n.exports=h;var i=t(&quot;../errors&quot;).codes,a=i.ERR_METHOD_NOT_IMPLEMENTED,u=i.ERR_MULTIPLE_CALLBACK,l=i.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=i.ERR_TRANSFORM_WITH_LENGTH_0,c=t(&quot;./_stream_duplex&quot;);function m(y,p){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,p!=null&amp;&amp;this.push(p),x(y);var _=this._readableState;_.reading=!1,(_.needReadable||_.length&lt;_.highWaterMark)&amp;&amp;this._read(_.highWaterMark)}function h(y){if(!(this instanceof h))return new h(y);c.call(this,y),this._transformState={afterTransform:m.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,y&amp;&amp;(typeof y.transform==&quot;function&quot;&amp;&amp;(this._transform=y.transform),typeof y.flush==&quot;function&quot;&amp;&amp;(this._flush=y.flush)),this.on(&quot;prefinish&quot;,d)}function d(){var y=this;typeof this._flush!=&quot;function&quot;||this._readableState.destroyed?g(this,null,null):this._flush((function(p,b){g(y,p,b)}))}function g(y,p,b){if(p)return y.emit(&quot;error&quot;,p);if(b!=null&amp;&amp;y.push(b),y._writableState.length)throw new s;if(y._transformState.transforming)throw new l;return y.push(null)}t(&quot;inherits&quot;)(h,c),h.prototype.push=function(y,p){return this._transformState.needTransform=!1,c.prototype.push.call(this,y,p)},h.prototype._transform=function(y,p,b){b(new a(&quot;_transform()&quot;))},h.prototype._write=function(y,p,b){var x=this._transformState;if(x.writecb=b,x.writechunk=y,x.writeencoding=p,!x.transforming){var _=this._readableState;(x.needTransform||_.needReadable||_.length&lt;_.highWaterMark)&amp;&amp;this._read(_.highWaterMark)}},h.prototype._read=function(y){var p=this._transformState;p.writechunk===null||p.transforming?p.needTransform=!0:(p.transforming=!0,this._transform(p.writechunk,p.writeencoding,p.afterTransform))},h.prototype._destroy=function(y,p){c.prototype._destroy.call(this,y,(function(b){p(b)}))}},{&quot;../errors&quot;:477,&quot;./_stream_duplex&quot;:478,inherits:440}],482:[function(t,n,o){(function(i,a){(function(){function u(N){var T=this;this.next=null,this.entry=null,this.finish=function(){(function(R,B,Y){var Q=R.entry;for(R.entry=null;Q;){var ne=Q.callback;B.pendingcb--,ne(Y),Q=Q.next}B.corkedRequestsFree.next=R})(T,N)}}var l;n.exports=z,z.WritableState=K;var s={deprecate:t(&quot;util-deprecate&quot;)},c=t(&quot;./internal/streams/stream&quot;),m=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(){},d,g=t(&quot;./internal/streams/destroy&quot;),y=t(&quot;./internal/streams/state&quot;).getHighWaterMark,p=t(&quot;../errors&quot;).codes,b=p.ERR_INVALID_ARG_TYPE,x=p.ERR_METHOD_NOT_IMPLEMENTED,_=p.ERR_MULTIPLE_CALLBACK,E=p.ERR_STREAM_CANNOT_PIPE,M=p.ERR_STREAM_DESTROYED,D=p.ERR_STREAM_NULL_VALUES,W=p.ERR_STREAM_WRITE_AFTER_END,L=p.ERR_UNKNOWN_ENCODING,V=g.errorOrDestroy;function H(){}function K(N,T,R){l=l||t(&quot;./_stream_duplex&quot;),N=N||{},typeof R!=&quot;boolean&quot;&amp;&amp;(R=T instanceof l),this.objectMode=!!N.objectMode,R&amp;&amp;(this.objectMode=this.objectMode||!!N.writableObjectMode),this.highWaterMark=y(this,N,&quot;writableHighWaterMark&quot;,R),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(Q,ne){var U=Q._writableState,ee=U.sync,F=U.writecb;if(typeof F!=&quot;function&quot;)throw new _;if((function(X){X.writing=!1,X.writecb=null,X.length-=X.writelen,X.writelen=0})(U),ne)(function(X,re,Z,te,ae){--re.pendingcb,Z?(i.nextTick(ae,te),i.nextTick(S,X,re),X._writableState.errorEmitted=!0,V(X,te)):(ae(te),X._writableState.errorEmitted=!0,V(X,te),S(X,re))})(Q,U,ee,ne,F);else{var P=j(U)||Q.destroyed;P||U.corked||U.bufferProcessing||!U.bufferedRequest||C(Q,U),ee?i.nextTick(I,Q,U,P,F):I(Q,U,P,F)}})(T,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 z(N){var T=this instanceof(l=l||t(&quot;./_stream_duplex&quot;));if(!T&amp;&amp;!d.call(z,this))return new z(N);this._writableState=new K(N,this,T),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 O(N,T,R,B,Y,Q,ne){T.writelen=B,T.writecb=ne,T.writing=!0,T.sync=!0,T.destroyed?T.onwrite(new M(&quot;write&quot;)):R?N._writev(Y,T.onwrite):N._write(Y,Q,T.onwrite),T.sync=!1}function I(N,T,R,B){R||(function(Y,Q){Q.length===0&amp;&amp;Q.needDrain&amp;&amp;(Q.needDrain=!1,Y.emit(&quot;drain&quot;))})(N,T),T.pendingcb--,B(),S(N,T)}function C(N,T){T.bufferProcessing=!0;var R=T.bufferedRequest;if(N._writev&amp;&amp;R&amp;&amp;R.next){var B=T.bufferedRequestCount,Y=new Array(B),Q=T.corkedRequestsFree;Q.entry=R;for(var ne=0,U=!0;R;)Y[ne]=R,R.isBuf||(U=!1),R=R.next,ne+=1;Y.allBuffers=U,O(N,T,!0,T.length,Y,&quot;&quot;,Q.finish),T.pendingcb++,T.lastBufferedRequest=null,Q.next?(T.corkedRequestsFree=Q.next,Q.next=null):T.corkedRequestsFree=new u(T),T.bufferedRequestCount=0}else{for(;R;){var ee=R.chunk,F=R.encoding,P=R.callback;if(O(N,T,!1,T.objectMode?1:ee.length,ee,F,P),R=R.next,T.bufferedRequestCount--,T.writing)break}R===null&amp;&amp;(T.lastBufferedRequest=null)}T.bufferedRequest=R,T.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,T){N._final((function(R){T.pendingcb--,R&amp;&amp;V(N,R),T.prefinished=!0,N.emit(&quot;prefinish&quot;),S(N,T)}))}function S(N,T){var R=j(T);if(R&amp;&amp;((function(Y,Q){Q.prefinished||Q.finalCalled||(typeof Y._final!=&quot;function&quot;||Q.destroyed?(Q.prefinished=!0,Y.emit(&quot;prefinish&quot;)):(Q.pendingcb++,Q.finalCalled=!0,i.nextTick(k,Y,Q)))})(N,T),T.pendingcb===0&amp;&amp;(T.finished=!0,N.emit(&quot;finish&quot;),T.autoDestroy))){var B=N._readableState;(!B||B.autoDestroy&amp;&amp;B.endEmitted)&amp;&amp;N.destroy()}return R}t(&quot;inherits&quot;)(z,c),K.prototype.getBuffer=function(){for(var N=this.bufferedRequest,T=[];N;)T.push(N),N=N.next;return T},(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;?(d=Function.prototype[Symbol.hasInstance],Object.defineProperty(z,Symbol.hasInstance,{value:function(N){return!!d.call(this,N)||this===z&amp;&amp;N&amp;&amp;N._writableState instanceof K}})):d=function(N){return N instanceof this},z.prototype.pipe=function(){V(this,new E)},z.prototype.write=function(N,T,R){var B,Y=this._writableState,Q=!1,ne=!Y.objectMode&amp;&amp;(B=N,m.isBuffer(B)||B instanceof h);return ne&amp;&amp;!m.isBuffer(N)&amp;&amp;(N=(function(U){return m.from(U)})(N)),typeof T==&quot;function&quot;&amp;&amp;(R=T,T=null),ne?T=&quot;buffer&quot;:T||(T=Y.defaultEncoding),typeof R!=&quot;function&quot;&amp;&amp;(R=H),Y.ending?(function(U,ee){var F=new W;V(U,F),i.nextTick(ee,F)})(this,R):(ne||(function(U,ee,F,P){var X;return F===null?X=new D:typeof F==&quot;string&quot;||ee.objectMode||(X=new b(&quot;chunk&quot;,[&quot;string&quot;,&quot;Buffer&quot;],F)),!X||(V(U,X),i.nextTick(P,X),!1)})(this,Y,N,R))&amp;&amp;(Y.pendingcb++,Q=(function(U,ee,F,P,X,re){if(!F){var Z=(function(fe,se,ue){return fe.objectMode||fe.decodeStrings===!1||typeof se!=&quot;string&quot;||(se=m.from(se,ue)),se})(ee,P,X);P!==Z&amp;&amp;(F=!0,X=&quot;buffer&quot;,P=Z)}var te=ee.objectMode?1:P.length;ee.length+=te;var ae=ee.length&lt;ee.highWaterMark;if(ae||(ee.needDrain=!0),ee.writing||ee.corked){var ce=ee.lastBufferedRequest;ee.lastBufferedRequest={chunk:P,encoding:X,isBuf:F,callback:re,next:null},ce?ce.next=ee.lastBufferedRequest:ee.bufferedRequest=ee.lastBufferedRequest,ee.bufferedRequestCount+=1}else O(U,ee,!1,te,P,X,re);return ae})(this,Y,ne,N,T,R)),Q},z.prototype.cork=function(){this._writableState.corked++},z.prototype.uncork=function(){var N=this._writableState;N.corked&amp;&amp;(N.corked--,N.writing||N.corked||N.bufferProcessing||!N.bufferedRequest||C(this,N))},z.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(z.prototype,&quot;writableBuffer&quot;,{enumerable:!1,get:function(){return this._writableState&amp;&amp;this._writableState.getBuffer()}}),Object.defineProperty(z.prototype,&quot;writableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),z.prototype._write=function(N,T,R){R(new x(&quot;_write()&quot;))},z.prototype._writev=null,z.prototype.end=function(N,T,R){var B=this._writableState;return typeof N==&quot;function&quot;?(R=N,N=null,T=null):typeof T==&quot;function&quot;&amp;&amp;(R=T,T=null),N!=null&amp;&amp;this.write(N,T),B.corked&amp;&amp;(B.corked=1,this.uncork()),B.ending||(function(Y,Q,ne){Q.ending=!0,S(Y,Q),ne&amp;&amp;(Q.finished?i.nextTick(ne):Y.once(&quot;finish&quot;,ne)),Q.ended=!0,Y.writable=!1})(this,B,R),this},Object.defineProperty(z.prototype,&quot;writableLength&quot;,{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(z.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)}}),z.prototype.destroy=g.destroy,z.prototype._undestroy=g.undestroy,z.prototype._destroy=function(N,T){T(N)}}).call(this)}).call(this,t(&quot;_process&quot;),typeof Yt&lt;&quot;u&quot;?Yt: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,o){(function(i){(function(){var a;function u(M,D,W){return(D=(function(L){var V=(function(H,K){if(typeof H!=&quot;object&quot;||H===null)return H;var z=H[Symbol.toPrimitive];if(z!==void 0){var O=z.call(H,K);if(typeof O!=&quot;object&quot;)return O;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(K===&quot;string&quot;?String:Number)(H)})(L,&quot;string&quot;);return typeof V==&quot;symbol&quot;?V:String(V)})(D))in M?Object.defineProperty(M,D,{value:W,enumerable:!0,configurable:!0,writable:!0}):M[D]=W,M}var l=t(&quot;./end-of-stream&quot;),s=Symbol(&quot;lastResolve&quot;),c=Symbol(&quot;lastReject&quot;),m=Symbol(&quot;error&quot;),h=Symbol(&quot;ended&quot;),d=Symbol(&quot;lastPromise&quot;),g=Symbol(&quot;handlePromise&quot;),y=Symbol(&quot;stream&quot;);function p(M,D){return{value:M,done:D}}function b(M){var D=M[s];if(D!==null){var W=M[y].read();W!==null&amp;&amp;(M[d]=null,M[s]=null,M[c]=null,D(p(W,!1)))}}function x(M){i.nextTick(b,M)}var _=Object.getPrototypeOf((function(){})),E=Object.setPrototypeOf((u(a={get stream(){return this[y]},next:function(){var M=this,D=this[m];if(D!==null)return Promise.reject(D);if(this[h])return Promise.resolve(p(void 0,!0));if(this[y].destroyed)return new Promise((function(H,K){i.nextTick((function(){M[m]?K(M[m]):H(p(void 0,!0))}))}));var W,L=this[d];if(L)W=new Promise((function(H,K){return function(z,O){H.then((function(){K[h]?z(p(void 0,!0)):K[g](z,O)}),O)}})(L,this));else{var V=this[y].read();if(V!==null)return Promise.resolve(p(V,!1));W=new Promise(this[g])}return this[d]=W,W}},Symbol.asyncIterator,(function(){return this})),u(a,&quot;return&quot;,(function(){var M=this;return new Promise((function(D,W){M[y].destroy(null,(function(L){L?W(L):D(p(void 0,!0))}))}))})),a),_);n.exports=function(M){var D,W=Object.create(E,(u(D={},y,{value:M,writable:!0}),u(D,s,{value:null,writable:!0}),u(D,c,{value:null,writable:!0}),u(D,m,{value:null,writable:!0}),u(D,h,{value:M._readableState.endEmitted,writable:!0}),u(D,g,{value:function(L,V){var H=W[y].read();H?(W[d]=null,W[s]=null,W[c]=null,L(p(H,!1))):(W[s]=L,W[c]=V)},writable:!0}),D));return W[d]=null,l(M,(function(L){if(L&amp;&amp;L.code!==&quot;ERR_STREAM_PREMATURE_CLOSE&quot;){var V=W[c];return V!==null&amp;&amp;(W[d]=null,W[s]=null,W[c]=null,V(L)),void(W[m]=L)}var H=W[s];H!==null&amp;&amp;(W[d]=null,W[s]=null,W[c]=null,H(p(void 0,!0))),W[h]=!0})),M.on(&quot;readable&quot;,x.bind(null,W)),W}}).call(this)}).call(this,t(&quot;_process&quot;))},{&quot;./end-of-stream&quot;:486,_process:467}],484:[function(t,n,o){function i(d,g){var y=Object.keys(d);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(d);g&amp;&amp;(p=p.filter((function(b){return Object.getOwnPropertyDescriptor(d,b).enumerable}))),y.push.apply(y,p)}return y}function a(d){for(var g=1;g&lt;arguments.length;g++){var y=arguments[g]!=null?arguments[g]:{};g%2?i(Object(y),!0).forEach((function(p){u(d,p,y[p])})):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(y)):i(Object(y)).forEach((function(p){Object.defineProperty(d,p,Object.getOwnPropertyDescriptor(y,p))}))}return d}function u(d,g,y){return(g=s(g))in d?Object.defineProperty(d,g,{value:y,enumerable:!0,configurable:!0,writable:!0}):d[g]=y,d}function l(d,g){for(var y=0;y&lt;g.length;y++){var p=g[y];p.enumerable=p.enumerable||!1,p.configurable=!0,&quot;value&quot;in p&amp;&amp;(p.writable=!0),Object.defineProperty(d,s(p.key),p)}}function s(d){var g=(function(y,p){if(typeof y!=&quot;object&quot;||y===null)return y;var b=y[Symbol.toPrimitive];if(b!==void 0){var x=b.call(y,p);if(typeof x!=&quot;object&quot;)return x;throw new TypeError(&quot;@@toPrimitive must return a primitive value.&quot;)}return(p===&quot;string&quot;?String:Number)(y)})(d,&quot;string&quot;);return typeof g==&quot;symbol&quot;?g:String(g)}var c=t(&quot;buffer&quot;).Buffer,m=t(&quot;util&quot;).inspect,h=m&amp;&amp;m.custom||&quot;inspect&quot;;n.exports=(function(){function d(){(function(p,b){if(!(p instanceof b))throw new TypeError(&quot;Cannot call a class as a function&quot;)})(this,d),this.head=null,this.tail=null,this.length=0}var g,y;return g=d,(y=[{key:&quot;push&quot;,value:function(p){var b={data:p,next:null};this.length&gt;0?this.tail.next=b:this.head=b,this.tail=b,++this.length}},{key:&quot;unshift&quot;,value:function(p){var b={data:p,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 p=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,p}}},{key:&quot;clear&quot;,value:function(){this.head=this.tail=null,this.length=0}},{key:&quot;join&quot;,value:function(p){if(this.length===0)return&quot;&quot;;for(var b=this.head,x=&quot;&quot;+b.data;b=b.next;)x+=p+b.data;return x}},{key:&quot;concat&quot;,value:function(p){if(this.length===0)return c.alloc(0);for(var b,x,_,E=c.allocUnsafe(p&gt;&gt;&gt;0),M=this.head,D=0;M;)b=M.data,x=E,_=D,c.prototype.copy.call(b,x,_),D+=M.data.length,M=M.next;return E}},{key:&quot;consume&quot;,value:function(p,b){var x;return p&lt;this.head.data.length?(x=this.head.data.slice(0,p),this.head.data=this.head.data.slice(p)):x=p===this.head.data.length?this.shift():b?this._getString(p):this._getBuffer(p),x}},{key:&quot;first&quot;,value:function(){return this.head.data}},{key:&quot;_getString&quot;,value:function(p){var b=this.head,x=1,_=b.data;for(p-=_.length;b=b.next;){var E=b.data,M=p&gt;E.length?E.length:p;if(M===E.length?_+=E:_+=E.slice(0,p),(p-=M)==0){M===E.length?(++x,b.next?this.head=b.next:this.head=this.tail=null):(this.head=b,b.data=E.slice(M));break}++x}return this.length-=x,_}},{key:&quot;_getBuffer&quot;,value:function(p){var b=c.allocUnsafe(p),x=this.head,_=1;for(x.data.copy(b),p-=x.data.length;x=x.next;){var E=x.data,M=p&gt;E.length?E.length:p;if(E.copy(b,b.length-p,0,M),(p-=M)==0){M===E.length?(++_,x.next?this.head=x.next:this.head=this.tail=null):(this.head=x,x.data=E.slice(M));break}++_}return this.length-=_,b}},{key:h,value:function(p,b){return m(this,a(a({},b),{},{depth:0,customInspect:!1}))}}])&amp;&amp;l(g.prototype,y),Object.defineProperty(g,&quot;prototype&quot;,{writable:!1}),d})()},{buffer:220,util:188}],485:[function(t,n,o){(function(i){(function(){function a(s,c){l(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 l(s,c){s.emit(&quot;error&quot;,c)}n.exports={destroy:function(s,c){var m=this,h=this._readableState&amp;&amp;this._readableState.destroyed,d=this._writableState&amp;&amp;this._writableState.destroyed;return h||d?(c?c(s):s&amp;&amp;(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,i.nextTick(l,this,s)):i.nextTick(l,this,s)),this):(this._readableState&amp;&amp;(this._readableState.destroyed=!0),this._writableState&amp;&amp;(this._writableState.destroyed=!0),this._destroy(s||null,(function(g){!c&amp;&amp;g?m._writableState?m._writableState.errorEmitted?i.nextTick(u,m):(m._writableState.errorEmitted=!0,i.nextTick(a,m,g)):i.nextTick(a,m,g):c?(i.nextTick(u,m),c(g)):i.nextTick(u,m)})),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 m=s._readableState,h=s._writableState;m&amp;&amp;m.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,o){var i=t(&quot;../../../errors&quot;).codes.ERR_STREAM_PREMATURE_CLOSE;function a(){}n.exports=function u(l,s,c){if(typeof s==&quot;function&quot;)return u(l,null,s);s||(s={}),c=(function(M){var D=!1;return function(){if(!D){D=!0;for(var W=arguments.length,L=new Array(W),V=0;V&lt;W;V++)L[V]=arguments[V];M.apply(this,L)}}})(c||a);var m=s.readable||s.readable!==!1&amp;&amp;l.readable,h=s.writable||s.writable!==!1&amp;&amp;l.writable,d=function(){l.writable||y()},g=l._writableState&amp;&amp;l._writableState.finished,y=function(){h=!1,g=!0,m||c.call(l)},p=l._readableState&amp;&amp;l._readableState.endEmitted,b=function(){m=!1,p=!0,h||c.call(l)},x=function(M){c.call(l,M)},_=function(){var M;return m&amp;&amp;!p?(l._readableState&amp;&amp;l._readableState.ended||(M=new i),c.call(l,M)):h&amp;&amp;!g?(l._writableState&amp;&amp;l._writableState.ended||(M=new i),c.call(l,M)):void 0},E=function(){l.req.on(&quot;finish&quot;,y)};return(function(M){return M.setHeader&amp;&amp;typeof M.abort==&quot;function&quot;})(l)?(l.on(&quot;complete&quot;,y),l.on(&quot;abort&quot;,_),l.req?E():l.on(&quot;request&quot;,E)):h&amp;&amp;!l._writableState&amp;&amp;(l.on(&quot;end&quot;,d),l.on(&quot;close&quot;,d)),l.on(&quot;end&quot;,b),l.on(&quot;finish&quot;,y),s.error!==!1&amp;&amp;l.on(&quot;error&quot;,x),l.on(&quot;close&quot;,_),function(){l.removeListener(&quot;complete&quot;,y),l.removeListener(&quot;abort&quot;,_),l.removeListener(&quot;request&quot;,E),l.req&amp;&amp;l.req.removeListener(&quot;finish&quot;,y),l.removeListener(&quot;end&quot;,d),l.removeListener(&quot;close&quot;,d),l.removeListener(&quot;finish&quot;,y),l.removeListener(&quot;end&quot;,b),l.removeListener(&quot;error&quot;,x),l.removeListener(&quot;close&quot;,_)}}},{&quot;../../../errors&quot;:477}],487:[function(t,n,o){n.exports=function(){throw new Error(&quot;Readable.from is not available in the browser&quot;)}},{}],488:[function(t,n,o){var i,a=t(&quot;../../../errors&quot;).codes,u=a.ERR_MISSING_ARGS,l=a.ERR_STREAM_DESTROYED;function s(g){if(g)throw g}function c(g,y,p,b){b=(function(E){var M=!1;return function(){M||(M=!0,E.apply(void 0,arguments))}})(b);var x=!1;g.on(&quot;close&quot;,(function(){x=!0})),i===void 0&amp;&amp;(i=t(&quot;./end-of-stream&quot;)),i(g,{readable:y,writable:p},(function(E){if(E)return b(E);x=!0,b()}));var _=!1;return function(E){if(!x&amp;&amp;!_)return _=!0,(function(M){return M.setHeader&amp;&amp;typeof M.abort==&quot;function&quot;})(g)?g.abort():typeof g.destroy==&quot;function&quot;?g.destroy():void b(E||new l(&quot;pipe&quot;))}}function m(g){g()}function h(g,y){return g.pipe(y)}function d(g){return g.length?typeof g[g.length-1]!=&quot;function&quot;?s:g.pop():s}n.exports=function(){for(var g=arguments.length,y=new Array(g),p=0;p&lt;g;p++)y[p]=arguments[p];var b,x=d(y);if(Array.isArray(y[0])&amp;&amp;(y=y[0]),y.length&lt;2)throw new u(&quot;streams&quot;);var _=y.map((function(E,M){var D=M&lt;y.length-1;return c(E,D,M&gt;0,(function(W){b||(b=W),W&amp;&amp;_.forEach(m),D||(_.forEach(m),x(b))}))}));return y.reduce(h)}},{&quot;../../../errors&quot;:477,&quot;./end-of-stream&quot;:486}],489:[function(t,n,o){var i=t(&quot;../../../errors&quot;).codes.ERR_INVALID_OPT_VALUE;n.exports={getHighWaterMark:function(a,u,l,s){var c=(function(m,h,d){return m.highWaterMark!=null?m.highWaterMark:h?m[d]:null})(u,s,l);if(c!=null){if(!isFinite(c)||Math.floor(c)!==c||c&lt;0)throw new i(s?l:&quot;highWaterMark&quot;,c);return Math.floor(c)}return a.objectMode?16:16384}}},{&quot;../../../errors&quot;:477}],490:[function(t,n,o){n.exports=t(&quot;events&quot;).EventEmitter},{events:422}],491:[function(t,n,o){(o=n.exports=t(&quot;./lib/_stream_readable.js&quot;)).Stream=o,o.Readable=o,o.Writable=t(&quot;./lib/_stream_writable.js&quot;),o.Duplex=t(&quot;./lib/_stream_duplex.js&quot;),o.Transform=t(&quot;./lib/_stream_transform.js&quot;),o.PassThrough=t(&quot;./lib/_stream_passthrough.js&quot;),o.finished=t(&quot;./lib/internal/streams/end-of-stream.js&quot;),o.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,o){var i=(function(a){var u=Object.prototype,l=u.hasOwnProperty,s=Object.defineProperty||function(S,N,T){S[N]=T.value},c=typeof Symbol==&quot;function&quot;?Symbol:{},m=c.iterator||&quot;@@iterator&quot;,h=c.asyncIterator||&quot;@@asyncIterator&quot;,d=c.toStringTag||&quot;@@toStringTag&quot;;function g(S,N,T){return Object.defineProperty(S,N,{value:T,enumerable:!0,configurable:!0,writable:!0}),S[N]}try{g({},&quot;&quot;)}catch{g=function(N,T,R){return N[T]=R}}function y(S,N,T,R){var B=N&amp;&amp;N.prototype instanceof x?N:x,Y=Object.create(B.prototype),Q=new C(R||[]);return s(Y,&quot;_invoke&quot;,{value:K(S,T,Q)}),Y}function p(S,N,T){try{return{type:&quot;normal&quot;,arg:S.call(N,T)}}catch(R){return{type:&quot;throw&quot;,arg:R}}}a.wrap=y;var b={};function x(){}function _(){}function E(){}var M={};g(M,m,(function(){return this}));var D=Object.getPrototypeOf,W=D&amp;&amp;D(D(j([])));W&amp;&amp;W!==u&amp;&amp;l.call(W,m)&amp;&amp;(M=W);var L=E.prototype=x.prototype=Object.create(M);function V(S){[&quot;next&quot;,&quot;throw&quot;,&quot;return&quot;].forEach((function(N){g(S,N,(function(T){return this._invoke(N,T)}))}))}function H(S,N){var T;s(this,&quot;_invoke&quot;,{value:function(R,B){function Y(){return new N((function(Q,ne){(function U(ee,F,P,X){var re=p(S[ee],S,F);if(re.type!==&quot;throw&quot;){var Z=re.arg,te=Z.value;return te&amp;&amp;typeof te==&quot;object&quot;&amp;&amp;l.call(te,&quot;__await&quot;)?N.resolve(te.__await).then((function(ae){U(&quot;next&quot;,ae,P,X)}),(function(ae){U(&quot;throw&quot;,ae,P,X)})):N.resolve(te).then((function(ae){Z.value=ae,P(Z)}),(function(ae){return U(&quot;throw&quot;,ae,P,X)}))}X(re.arg)})(R,B,Q,ne)}))}return T=T?T.then(Y,Y):Y()}})}function K(S,N,T){var R=&quot;suspendedStart&quot;;return function(B,Y){if(R===&quot;executing&quot;)throw new Error(&quot;Generator is already running&quot;);if(R===&quot;completed&quot;){if(B===&quot;throw&quot;)throw Y;return k()}for(T.method=B,T.arg=Y;;){var Q=T.delegate;if(Q){var ne=z(Q,T);if(ne){if(ne===b)continue;return ne}}if(T.method===&quot;next&quot;)T.sent=T._sent=T.arg;else if(T.method===&quot;throw&quot;){if(R===&quot;suspendedStart&quot;)throw R=&quot;completed&quot;,T.arg;T.dispatchException(T.arg)}else T.method===&quot;return&quot;&amp;&amp;T.abrupt(&quot;return&quot;,T.arg);R=&quot;executing&quot;;var U=p(S,N,T);if(U.type===&quot;normal&quot;){if(R=T.done?&quot;completed&quot;:&quot;suspendedYield&quot;,U.arg===b)continue;return{value:U.arg,done:T.done}}U.type===&quot;throw&quot;&amp;&amp;(R=&quot;completed&quot;,T.method=&quot;throw&quot;,T.arg=U.arg)}}}function z(S,N){var T=N.method,R=S.iterator[T];if(R===void 0)return N.delegate=null,T===&quot;throw&quot;&amp;&amp;S.iterator.return&amp;&amp;(N.method=&quot;return&quot;,N.arg=void 0,z(S,N),N.method===&quot;throw&quot;)||T!==&quot;return&quot;&amp;&amp;(N.method=&quot;throw&quot;,N.arg=new TypeError(&quot;The iterator does not provide a &#039;&quot;+T+&quot;&#039; method&quot;)),b;var B=p(R,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 O(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 I(S){var N=S.completion||{};N.type=&quot;normal&quot;,delete N.arg,S.completion=N}function C(S){this.tryEntries=[{tryLoc:&quot;root&quot;}],S.forEach(O,this),this.reset(!0)}function j(S){if(S){var N=S[m];if(N)return N.call(S);if(typeof S.next==&quot;function&quot;)return S;if(!isNaN(S.length)){var T=-1,R=function B(){for(;++T&lt;S.length;)if(l.call(S,T))return B.value=S[T],B.done=!1,B;return B.value=void 0,B.done=!0,B};return R.next=R}}return{next:k}}function k(){return{value:void 0,done:!0}}return _.prototype=E,s(L,&quot;constructor&quot;,{value:E,configurable:!0}),s(E,&quot;constructor&quot;,{value:_,configurable:!0}),_.displayName=g(E,d,&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,E):(S.__proto__=E,g(S,d,&quot;GeneratorFunction&quot;)),S.prototype=Object.create(L),S},a.awrap=function(S){return{__await:S}},V(H.prototype),g(H.prototype,h,(function(){return this})),a.AsyncIterator=H,a.async=function(S,N,T,R,B){B===void 0&amp;&amp;(B=Promise);var Y=new H(y(S,N,T,R),B);return a.isGeneratorFunction(N)?Y:Y.next().then((function(Q){return Q.done?Q.value:Y.next()}))},V(L),g(L,d,&quot;Generator&quot;),g(L,m,(function(){return this})),g(L,&quot;toString&quot;,(function(){return&quot;[object Generator]&quot;})),a.keys=function(S){var N=Object(S),T=[];for(var R in N)T.push(R);return T.reverse(),function B(){for(;T.length;){var Y=T.pop();if(Y in N)return B.value=Y,B.done=!1,B}return B.done=!0,B}},a.values=j,C.prototype={constructor:C,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(I),!S)for(var N in this)N.charAt(0)===&quot;t&quot;&amp;&amp;l.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 T(U,ee){return Y.type=&quot;throw&quot;,Y.arg=S,N.next=U,ee&amp;&amp;(N.method=&quot;next&quot;,N.arg=void 0),!!ee}for(var R=this.tryEntries.length-1;R&gt;=0;--R){var B=this.tryEntries[R],Y=B.completion;if(B.tryLoc===&quot;root&quot;)return T(&quot;end&quot;);if(B.tryLoc&lt;=this.prev){var Q=l.call(B,&quot;catchLoc&quot;),ne=l.call(B,&quot;finallyLoc&quot;);if(Q&amp;&amp;ne){if(this.prev&lt;B.catchLoc)return T(B.catchLoc,!0);if(this.prev&lt;B.finallyLoc)return T(B.finallyLoc)}else if(Q){if(this.prev&lt;B.catchLoc)return T(B.catchLoc,!0)}else{if(!ne)throw new Error(&quot;try statement without catch or finally&quot;);if(this.prev&lt;B.finallyLoc)return T(B.finallyLoc)}}}},abrupt:function(S,N){for(var T=this.tryEntries.length-1;T&gt;=0;--T){var R=this.tryEntries[T];if(R.tryLoc&lt;=this.prev&amp;&amp;l.call(R,&quot;finallyLoc&quot;)&amp;&amp;this.prev&lt;R.finallyLoc){var B=R;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 T=this.tryEntries[N];if(T.finallyLoc===S)return this.complete(T.completion,T.afterLoc),I(T),b}},catch:function(S){for(var N=this.tryEntries.length-1;N&gt;=0;--N){var T=this.tryEntries[N];if(T.tryLoc===S){var R=T.completion;if(R.type===&quot;throw&quot;){var B=R.arg;I(T)}return B}}throw new Error(&quot;illegal catch attempt&quot;)},delegateYield:function(S,N,T){return this.delegate={iterator:j(S),resultName:N,nextLoc:T},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,o){var i=t(&quot;buffer&quot;).Buffer,a=t(&quot;inherits&quot;),u=t(&quot;hash-base&quot;),l=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],m=[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],d=[0,1518500249,1859775393,2400959708,2840853838],g=[1352829926,1548603684,1836072691,2053994217,0];function y(){u.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(D,W){return D&lt;&lt;W|D&gt;&gt;&gt;32-W}function b(D,W,L,V,H,K,z,O){return p(D+(W^L^V)+K+z|0,O)+H|0}function x(D,W,L,V,H,K,z,O){return p(D+(W&amp;L|~W&amp;V)+K+z|0,O)+H|0}function _(D,W,L,V,H,K,z,O){return p(D+((W|~L)^V)+K+z|0,O)+H|0}function E(D,W,L,V,H,K,z,O){return p(D+(W&amp;V|L&amp;~V)+K+z|0,O)+H|0}function M(D,W,L,V,H,K,z,O){return p(D+(W^(L|~V))+K+z|0,O)+H|0}a(y,u),y.prototype._update=function(){for(var D=l,W=0;W&lt;16;++W)D[W]=this._block.readInt32LE(4*W);for(var L=0|this._a,V=0|this._b,H=0|this._c,K=0|this._d,z=0|this._e,O=0|this._a,I=0|this._b,C=0|this._c,j=0|this._d,k=0|this._e,S=0;S&lt;80;S+=1){var N,T;S&lt;16?(N=b(L,V,H,K,z,D[s[S]],d[0],m[S]),T=M(O,I,C,j,k,D[c[S]],g[0],h[S])):S&lt;32?(N=x(L,V,H,K,z,D[s[S]],d[1],m[S]),T=E(O,I,C,j,k,D[c[S]],g[1],h[S])):S&lt;48?(N=_(L,V,H,K,z,D[s[S]],d[2],m[S]),T=_(O,I,C,j,k,D[c[S]],g[2],h[S])):S&lt;64?(N=E(L,V,H,K,z,D[s[S]],d[3],m[S]),T=x(O,I,C,j,k,D[c[S]],g[3],h[S])):(N=M(L,V,H,K,z,D[s[S]],d[4],m[S]),T=b(O,I,C,j,k,D[c[S]],g[4],h[S])),L=z,z=K,K=p(H,10),H=V,V=N,O=k,k=j,j=p(C,10),C=I,I=T}var R=this._b+H+j|0;this._b=this._c+K+k|0,this._c=this._d+z+O|0,this._d=this._e+L+I|0,this._e=this._a+V+C|0,this._a=R},y.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 D=i.alloc?i.alloc(20):new i(20);return D.writeInt32LE(this._a,0),D.writeInt32LE(this._b,4),D.writeInt32LE(this._c,8),D.writeInt32LE(this._d,12),D.writeInt32LE(this._e,16),D},n.exports=y},{buffer:220,&quot;hash-base&quot;:425,inherits:440}],494:[function(t,n,o){var i=t(&quot;buffer&quot;),a=i.Buffer;function u(s,c){for(var m in s)c[m]=s[m]}function l(s,c,m){return a(s,c,m)}a.from&amp;&amp;a.alloc&amp;&amp;a.allocUnsafe&amp;&amp;a.allocUnsafeSlow?n.exports=i:(u(i,o),o.Buffer=l),l.prototype=Object.create(a.prototype),u(a,l),l.from=function(s,c,m){if(typeof s==&quot;number&quot;)throw new TypeError(&quot;Argument must not be a number&quot;);return a(s,c,m)},l.alloc=function(s,c,m){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 m==&quot;string&quot;?h.fill(c,m):h.fill(c):h.fill(0),h},l.allocUnsafe=function(s){if(typeof s!=&quot;number&quot;)throw new TypeError(&quot;Argument must be a number&quot;);return a(s)},l.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,o){(function(i){(function(){var a,u=t(&quot;buffer&quot;),l=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 l)l.hasOwnProperty(a)&amp;&amp;a!==&quot;allocUnsafe&quot;&amp;&amp;a!==&quot;allocUnsafeSlow&quot;&amp;&amp;(c[a]=l[a]);if(s.Buffer.prototype=l.prototype,c.from&amp;&amp;c.from!==Uint8Array.from||(c.from=function(m,h,d){if(typeof m==&quot;number&quot;)throw new TypeError(&#039;The &quot;value&quot; argument must not be of type number. Received type &#039;+typeof m);if(m&amp;&amp;m.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 m);return l(m,h,d)}),c.alloc||(c.alloc=function(m,h,d){if(typeof m!=&quot;number&quot;)throw new TypeError(&#039;The &quot;size&quot; argument must be of type number. Received type &#039;+typeof m);if(m&lt;0||m&gt;=2*(1&lt;&lt;30))throw new RangeError(&#039;The value &quot;&#039;+m+&#039;&quot; is invalid for option &quot;size&quot;&#039;);var g=l(m);return h&amp;&amp;h.length!==0?typeof d==&quot;string&quot;?g.fill(h,d):g.fill(h):g.fill(0),g}),!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,o){Object.defineProperty(o,&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 l=i.isS,s=i.isChar,c=i.isNameStartChar,m=i.isNameChar,h=i.S_LIST,d=i.NAME_RE,g=a.isChar,y=u.isNCNameStartChar,p=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;,E={__proto__:null,xml:x,xmlns:_},M={__proto__:null,amp:&quot;&amp;&quot;,gt:&quot;&gt;&quot;,lt:&quot;&lt;&quot;,quot:&#039;&quot;&#039;,apos:&quot;&#039;&quot;},D=j=&gt;j===34||j===39,W=[34,39],L=[...W,91,62],V=[...W,60,93],H=[61,63,...h],K=[...h,62,38,60];function z(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 O=j=&gt;b.test(j),I=j=&gt;d.test(j);o.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 C={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;};o.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=y,this.nameCheck=p,this.isName=O,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},E);const S=this.opt.additionalNamespaces;S!=null&amp;&amp;((function(N,T){for(const R of Object.keys(T))z(N,R,T[R])})(this,S),Object.assign(this.ns,S))}else this.nameStartCheck=c,this.nameCheck=m,this.isName=I,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(M),(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[C[j]]=k}off(j){this[C[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:T}=this;for(this.chunk=j,this.i=0;this.i&lt;S;)T[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 T=j.charCodeAt(k+1);T!==10&amp;&amp;T!==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(),T=N===-2,R=T?10:N;if(R===-1||j.includes(R))return this.text+=S.slice(k,this.prevI),R;T&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(!m(S))return this.name+=j.slice(k,this.prevI),S===-2?10:S}}skipSpaces(){for(;;){const j=this.getCodeNorm();if(j===-1||!l(j))return j}}setXMLVersion(j){this.currentXMLVersion=j,j===&quot;1.0&quot;?(this.isChar=s,this.getCode=this.getCode10):(this.isChar=g,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:D(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(V);j!==-1&amp;&amp;(this.text+=String.fromCodePoint(j),j===93?this.state=2:j===60?this.state=6:D(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 T;this.state=S,N===&quot;&quot;?(this.fail(&quot;empty entity name.&quot;),T=&quot;&amp;;&quot;):(T=this.parseEntity(N),this.entity=&quot;&quot;),S===13&amp;&amp;this.textHandler===void 0||(this.text+=T);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||l(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||l(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:l(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(H);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(l(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;);l(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;);l(j)||(D(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?(l(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:l(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:l(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();D(j)?(this.q=j,this.state=40):l(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();l(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():l(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:T}=this,R=S.slice(j,this.prevI);T.length!==0?(N(T+R),this.text=&quot;&quot;):R.length!==0&amp;&amp;N(R)}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 T=this.getCode();switch(T){case 60:if(this.state=15,S!==void 0){const{text:R}=this,B=k.slice(j,this.prevI);R.length!==0?(S(R+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:l(T)||(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:T}=this.qname(j),R={name:j,prefix:N,local:T,value:k};if(this.attribList.push(R),(S=this.attributeHandler)===null||S===void 0||S.call(this,R),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[T]=B,z(this,T,B)}else if(j===&quot;xmlns&quot;){const B=k.trim();this.topNS[&quot;&quot;]=B,z(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 T=S.pop();this.fail(&quot;unclosed tag: &quot;+T.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:T}=this;for(let R=T.length-1;R&gt;=0;R--)if(N=T[R].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:R,local:B}=this.qname(S.name);S.prefix=R,S.local=B;const Y=S.uri=(j=this.resolve(R))!==null&amp;&amp;j!==void 0?j:&quot;&quot;;R!==&quot;&quot;&amp;&amp;(R===&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(R)}.`),S.uri=R))}if(k.length===0)return;const{attributes:N}=S,T=new Set;for(const R of k){const{name:B,prefix:Y,local:Q}=R;let ne,U;Y===&quot;&quot;?(ne=B===&quot;xmlns&quot;?_:&quot;&quot;,U=B):(ne=this.resolve(Y),ne===void 0&amp;&amp;(this.fail(`unbound namespace prefix: ${JSON.stringify(Y)}.`),ne=Y),U=`{${ne}}${Q}`),T.has(U)&amp;&amp;this.fail(`duplicate attribute: ${U}.`),T.add(U),R.uri=ne,N[B]=R}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,T=this.tag;T.isSelfClosing=!0,(j=this.openTagHandler)===null||j===void 0||j.call(this,T),(k=this.closeTagHandler)===null||k===void 0||k.call(this,T),(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 T=this.tag=j.pop();if(this.topNS=T.ns,S?.(T),T.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,o){var i=t(&quot;safe-buffer&quot;).Buffer;function a(u,l){this._block=i.alloc(u),this._finalSize=l,this._blockSize=u,this._len=0}a.prototype.update=function(u,l){typeof u==&quot;string&quot;&amp;&amp;(l=l||&quot;utf8&quot;,u=i.from(u,l));for(var s=this._block,c=this._blockSize,m=u.length,h=this._len,d=0;d&lt;m;){for(var g=h%c,y=Math.min(m-d,c-g),p=0;p&lt;y;p++)s[g+p]=u[d+p];d+=y,(h+=y)%c==0&amp;&amp;this._update(s)}return this._len+=m,this},a.prototype.digest=function(u){var l=this._len%this._blockSize;this._block[l]=128,this._block.fill(0,l+1),l&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,m=(s-c)/4294967296;this._block.writeUInt32BE(m,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,o){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,o){var i=t(&quot;inherits&quot;),a=t(&quot;./hash&quot;),u=t(&quot;safe-buffer&quot;).Buffer,l=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,a.call(this,64,56)}function m(d){return d&lt;&lt;30|d&gt;&gt;&gt;2}function h(d,g,y,p){return d===0?g&amp;y|~g&amp;p:d===2?g&amp;y|g&amp;p|y&amp;p:g^y^p}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(d){for(var g,y=this._w,p=0|this._a,b=0|this._b,x=0|this._c,_=0|this._d,E=0|this._e,M=0;M&lt;16;++M)y[M]=d.readInt32BE(4*M);for(;M&lt;80;++M)y[M]=y[M-3]^y[M-8]^y[M-14]^y[M-16];for(var D=0;D&lt;80;++D){var W=~~(D/20),L=0|((g=p)&lt;&lt;5|g&gt;&gt;&gt;27)+h(W,b,x,_)+E+y[D]+l[W];E=_,_=x,x=m(b),b=p,p=L}this._a=p+this._a|0,this._b=b+this._b|0,this._c=x+this._c|0,this._d=_+this._d|0,this._e=E+this._e|0},c.prototype._hash=function(){var d=u.allocUnsafe(20);return d.writeInt32BE(0|this._a,0),d.writeInt32BE(0|this._b,4),d.writeInt32BE(0|this._c,8),d.writeInt32BE(0|this._d,12),d.writeInt32BE(0|this._e,16),d},n.exports=c},{&quot;./hash&quot;:497,inherits:440,&quot;safe-buffer&quot;:494}],500:[function(t,n,o){var i=t(&quot;inherits&quot;),a=t(&quot;./hash&quot;),u=t(&quot;safe-buffer&quot;).Buffer,l=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,a.call(this,64,56)}function m(g){return g&lt;&lt;5|g&gt;&gt;&gt;27}function h(g){return g&lt;&lt;30|g&gt;&gt;&gt;2}function d(g,y,p,b){return g===0?y&amp;p|~y&amp;b:g===2?y&amp;p|y&amp;b|p&amp;b:y^p^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(g){for(var y,p=this._w,b=0|this._a,x=0|this._b,_=0|this._c,E=0|this._d,M=0|this._e,D=0;D&lt;16;++D)p[D]=g.readInt32BE(4*D);for(;D&lt;80;++D)p[D]=(y=p[D-3]^p[D-8]^p[D-14]^p[D-16])&lt;&lt;1|y&gt;&gt;&gt;31;for(var W=0;W&lt;80;++W){var L=~~(W/20),V=m(b)+d(L,x,_,E)+M+p[W]+l[L]|0;M=E,E=_,_=h(x),x=b,b=V}this._a=b+this._a|0,this._b=x+this._b|0,this._c=_+this._c|0,this._d=E+this._d|0,this._e=M+this._e|0},c.prototype._hash=function(){var g=u.allocUnsafe(20);return g.writeInt32BE(0|this._a,0),g.writeInt32BE(0|this._b,4),g.writeInt32BE(0|this._c,8),g.writeInt32BE(0|this._d,12),g.writeInt32BE(0|this._e,16),g},n.exports=c},{&quot;./hash&quot;:497,inherits:440,&quot;safe-buffer&quot;:494}],501:[function(t,n,o){var i=t(&quot;inherits&quot;),a=t(&quot;./sha256&quot;),u=t(&quot;./hash&quot;),l=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 m=l.allocUnsafe(28);return m.writeInt32BE(this._a,0),m.writeInt32BE(this._b,4),m.writeInt32BE(this._c,8),m.writeInt32BE(this._d,12),m.writeInt32BE(this._e,16),m.writeInt32BE(this._f,20),m.writeInt32BE(this._g,24),m},n.exports=c},{&quot;./hash&quot;:497,&quot;./sha256&quot;:502,inherits:440,&quot;safe-buffer&quot;:494}],502:[function(t,n,o){var i=t(&quot;inherits&quot;),a=t(&quot;./hash&quot;),u=t(&quot;safe-buffer&quot;).Buffer,l=[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 m(p,b,x){return x^p&amp;(b^x)}function h(p,b,x){return p&amp;b|x&amp;(p|b)}function d(p){return(p&gt;&gt;&gt;2|p&lt;&lt;30)^(p&gt;&gt;&gt;13|p&lt;&lt;19)^(p&gt;&gt;&gt;22|p&lt;&lt;10)}function g(p){return(p&gt;&gt;&gt;6|p&lt;&lt;26)^(p&gt;&gt;&gt;11|p&lt;&lt;21)^(p&gt;&gt;&gt;25|p&lt;&lt;7)}function y(p){return(p&gt;&gt;&gt;7|p&lt;&lt;25)^(p&gt;&gt;&gt;18|p&lt;&lt;14)^p&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(p){for(var b,x=this._w,_=0|this._a,E=0|this._b,M=0|this._c,D=0|this._d,W=0|this._e,L=0|this._f,V=0|this._g,H=0|this._h,K=0;K&lt;16;++K)x[K]=p.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]+y(x[K-15])+x[K-16];for(var z=0;z&lt;64;++z){var O=H+g(W)+m(W,L,V)+l[z]+x[z]|0,I=d(_)+h(_,E,M)|0;H=V,V=L,L=W,W=D+O|0,D=M,M=E,E=_,_=O+I|0}this._a=_+this._a|0,this._b=E+this._b|0,this._c=M+this._c|0,this._d=D+this._d|0,this._e=W+this._e|0,this._f=L+this._f|0,this._g=V+this._g|0,this._h=H+this._h|0},c.prototype._hash=function(){var p=u.allocUnsafe(32);return p.writeInt32BE(this._a,0),p.writeInt32BE(this._b,4),p.writeInt32BE(this._c,8),p.writeInt32BE(this._d,12),p.writeInt32BE(this._e,16),p.writeInt32BE(this._f,20),p.writeInt32BE(this._g,24),p.writeInt32BE(this._h,28),p},n.exports=c},{&quot;./hash&quot;:497,inherits:440,&quot;safe-buffer&quot;:494}],503:[function(t,n,o){var i=t(&quot;inherits&quot;),a=t(&quot;./sha512&quot;),u=t(&quot;./hash&quot;),l=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 m=l.allocUnsafe(48);function h(d,g,y){m.writeInt32BE(d,y),m.writeInt32BE(g,y+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),m},n.exports=c},{&quot;./hash&quot;:497,&quot;./sha512&quot;:504,inherits:440,&quot;safe-buffer&quot;:494}],504:[function(t,n,o){var i=t(&quot;inherits&quot;),a=t(&quot;./hash&quot;),u=t(&quot;safe-buffer&quot;).Buffer,l=[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 m(E,M,D){return D^E&amp;(M^D)}function h(E,M,D){return E&amp;M|D&amp;(E|M)}function d(E,M){return(E&gt;&gt;&gt;28|M&lt;&lt;4)^(M&gt;&gt;&gt;2|E&lt;&lt;30)^(M&gt;&gt;&gt;7|E&lt;&lt;25)}function g(E,M){return(E&gt;&gt;&gt;14|M&lt;&lt;18)^(E&gt;&gt;&gt;18|M&lt;&lt;14)^(M&gt;&gt;&gt;9|E&lt;&lt;23)}function y(E,M){return(E&gt;&gt;&gt;1|M&lt;&lt;31)^(E&gt;&gt;&gt;8|M&lt;&lt;24)^E&gt;&gt;&gt;7}function p(E,M){return(E&gt;&gt;&gt;1|M&lt;&lt;31)^(E&gt;&gt;&gt;8|M&lt;&lt;24)^(E&gt;&gt;&gt;7|M&lt;&lt;25)}function b(E,M){return(E&gt;&gt;&gt;19|M&lt;&lt;13)^(M&gt;&gt;&gt;29|E&lt;&lt;3)^E&gt;&gt;&gt;6}function x(E,M){return(E&gt;&gt;&gt;19|M&lt;&lt;13)^(M&gt;&gt;&gt;29|E&lt;&lt;3)^(E&gt;&gt;&gt;6|M&lt;&lt;26)}function _(E,M){return E&gt;&gt;&gt;0&lt;M&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(E){for(var M=this._w,D=0|this._ah,W=0|this._bh,L=0|this._ch,V=0|this._dh,H=0|this._eh,K=0|this._fh,z=0|this._gh,O=0|this._hh,I=0|this._al,C=0|this._bl,j=0|this._cl,k=0|this._dl,S=0|this._el,N=0|this._fl,T=0|this._gl,R=0|this._hl,B=0;B&lt;32;B+=2)M[B]=E.readInt32BE(4*B),M[B+1]=E.readInt32BE(4*B+4);for(;B&lt;160;B+=2){var Y=M[B-30],Q=M[B-30+1],ne=y(Y,Q),U=p(Q,Y),ee=b(Y=M[B-4],Q=M[B-4+1]),F=x(Q,Y),P=M[B-14],X=M[B-14+1],re=M[B-32],Z=M[B-32+1],te=U+X|0,ae=ne+P+_(te,U)|0;ae=(ae=ae+ee+_(te=te+F|0,F)|0)+re+_(te=te+Z|0,Z)|0,M[B]=ae,M[B+1]=te}for(var ce=0;ce&lt;160;ce+=2){ae=M[ce],te=M[ce+1];var fe=h(D,W,L),se=h(I,C,j),ue=d(D,I),ie=d(I,D),he=g(H,S),ge=g(S,H),pe=l[ce],le=l[ce+1],_e=m(H,K,z),Se=m(S,N,T),Oe=R+ge|0,Pe=O+he+_(Oe,R)|0;Pe=(Pe=(Pe=Pe+_e+_(Oe=Oe+Se|0,Se)|0)+pe+_(Oe=Oe+le|0,le)|0)+ae+_(Oe=Oe+te|0,te)|0;var Ie=ie+se|0,Ve=ue+fe+_(Ie,ie)|0;O=z,R=T,z=K,T=N,K=H,N=S,H=V+Pe+_(S=k+Oe|0,k)|0,V=L,k=j,L=W,j=C,W=D,C=I,D=Pe+Ve+_(I=Oe+Ie|0,Oe)|0}this._al=this._al+I|0,this._bl=this._bl+C|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+T|0,this._hl=this._hl+R|0,this._ah=this._ah+D+_(this._al,I)|0,this._bh=this._bh+W+_(this._bl,C)|0,this._ch=this._ch+L+_(this._cl,j)|0,this._dh=this._dh+V+_(this._dl,k)|0,this._eh=this._eh+H+_(this._el,S)|0,this._fh=this._fh+K+_(this._fl,N)|0,this._gh=this._gh+z+_(this._gl,T)|0,this._hh=this._hh+O+_(this._hl,R)|0},c.prototype._hash=function(){var E=u.allocUnsafe(64);function M(D,W,L){E.writeInt32BE(D,L),E.writeInt32BE(W,L+4)}return M(this._ah,this._al,0),M(this._bh,this._bl,8),M(this._ch,this._cl,16),M(this._dh,this._dl,24),M(this._eh,this._el,32),M(this._fh,this._fl,40),M(this._gh,this._gl,48),M(this._hh,this._hl,56),E},n.exports=c},{&quot;./hash&quot;:497,inherits:440,&quot;safe-buffer&quot;:494}],505:[function(t,n,o){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,l){var s=this;function c(b){u.writable&amp;&amp;u.write(b)===!1&amp;&amp;s.pause&amp;&amp;s.pause()}function m(){s.readable&amp;&amp;s.resume&amp;&amp;s.resume()}s.on(&quot;data&quot;,c),u.on(&quot;drain&quot;,m),u._isStdio||l&amp;&amp;l.end===!1||(s.on(&quot;end&quot;,d),s.on(&quot;close&quot;,g));var h=!1;function d(){h||(h=!0,u.end())}function g(){h||(h=!0,typeof u.destroy==&quot;function&quot;&amp;&amp;u.destroy())}function y(b){if(p(),i.listenerCount(this,&quot;error&quot;)===0)throw b}function p(){s.removeListener(&quot;data&quot;,c),u.removeListener(&quot;drain&quot;,m),s.removeListener(&quot;end&quot;,d),s.removeListener(&quot;close&quot;,g),s.removeListener(&quot;error&quot;,y),u.removeListener(&quot;error&quot;,y),s.removeListener(&quot;end&quot;,p),s.removeListener(&quot;close&quot;,p),u.removeListener(&quot;close&quot;,p)}return s.on(&quot;error&quot;,y),u.on(&quot;error&quot;,y),s.on(&quot;end&quot;,p),s.on(&quot;close&quot;,p),u.on(&quot;close&quot;,p),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,o){var i={}.toString;n.exports=Array.isArray||function(a){return i.call(a)==&quot;[object Array]&quot;}},{}],507:[function(t,n,o){n.exports=t(&quot;./lib/_stream_duplex.js&quot;)},{&quot;./lib/_stream_duplex.js&quot;:508}],508:[function(t,n,o){var i=t(&quot;process-nextick-args&quot;),a=Object.keys||function(p){var b=[];for(var x in p)b.push(x);return b};n.exports=d;var u=Object.create(t(&quot;core-util-is&quot;));u.inherits=t(&quot;inherits&quot;);var l=t(&quot;./_stream_readable&quot;),s=t(&quot;./_stream_writable&quot;);u.inherits(d,l);for(var c=a(s.prototype),m=0;m&lt;c.length;m++){var h=c[m];d.prototype[h]||(d.prototype[h]=s.prototype[h])}function d(p){if(!(this instanceof d))return new d(p);l.call(this,p),s.call(this,p),p&amp;&amp;p.readable===!1&amp;&amp;(this.readable=!1),p&amp;&amp;p.writable===!1&amp;&amp;(this.writable=!1),this.allowHalfOpen=!0,p&amp;&amp;p.allowHalfOpen===!1&amp;&amp;(this.allowHalfOpen=!1),this.once(&quot;end&quot;,g)}function g(){this.allowHalfOpen||this._writableState.ended||i.nextTick(y,this)}function y(p){p.end()}Object.defineProperty(d.prototype,&quot;writableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.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(p){this._readableState!==void 0&amp;&amp;this._writableState!==void 0&amp;&amp;(this._readableState.destroyed=p,this._writableState.destroyed=p)}}),d.prototype._destroy=function(p,b){this.push(null),this.end(),i.nextTick(b,p)}},{&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,o){n.exports=u;var i=t(&quot;./_stream_transform&quot;),a=Object.create(t(&quot;core-util-is&quot;));function u(l){if(!(this instanceof u))return new u(l);i.call(this,l)}a.inherits=t(&quot;inherits&quot;),a.inherits(u,i),u.prototype._transform=function(l,s,c){c(null,l)}},{&quot;./_stream_transform&quot;:511,&quot;core-util-is&quot;:383,inherits:440}],510:[function(t,n,o){(function(i,a){(function(){var u=t(&quot;process-nextick-args&quot;);n.exports=D;var l,s=t(&quot;isarray&quot;);D.ReadableState=M,t(&quot;events&quot;).EventEmitter;var c=function(R,B){return R.listeners(B).length},m=t(&quot;./internal/streams/stream&quot;),h=t(&quot;safe-buffer&quot;).Buffer,d=(a!==void 0?a:typeof window&lt;&quot;u&quot;?window:typeof self&lt;&quot;u&quot;?self:{}).Uint8Array||function(){},g=Object.create(t(&quot;core-util-is&quot;));g.inherits=t(&quot;inherits&quot;);var y=t(&quot;util&quot;),p=void 0;p=y&amp;&amp;y.debuglog?y.debuglog(&quot;stream&quot;):function(){};var b,x=t(&quot;./internal/streams/BufferList&quot;),_=t(&quot;./internal/streams/destroy&quot;);g.inherits(D,m);var E=[&quot;error&quot;,&quot;close&quot;,&quot;destroy&quot;,&quot;pause&quot;,&quot;resume&quot;];function M(R,B){R=R||{};var Y=B instanceof(l=l||t(&quot;./_stream_duplex&quot;));this.objectMode=!!R.objectMode,Y&amp;&amp;(this.objectMode=this.objectMode||!!R.readableObjectMode);var Q=R.highWaterMark,ne=R.readableHighWaterMark,U=this.objectMode?16:16384;this.highWaterMark=Q||Q===0?Q:Y&amp;&amp;(ne||ne===0)?ne:U,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=R.defaultEncoding||&quot;utf8&quot;,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,R.encoding&amp;&amp;(b||(b=t(&quot;string_decoder/&quot;).StringDecoder),this.decoder=new b(R.encoding),this.encoding=R.encoding)}function D(R){if(l=l||t(&quot;./_stream_duplex&quot;),!(this instanceof D))return new D(R);this._readableState=new M(R,this),this.readable=!0,R&amp;&amp;(typeof R.read==&quot;function&quot;&amp;&amp;(this._read=R.read),typeof R.destroy==&quot;function&quot;&amp;&amp;(this._destroy=R.destroy)),m.call(this)}function W(R,B,Y,Q,ne){var U,ee=R._readableState;return B===null?(ee.reading=!1,(function(F,P){if(!P.ended){if(P.decoder){var X=P.decoder.end();X&amp;&amp;X.length&amp;&amp;(P.buffer.push(X),P.length+=P.objectMode?1:X.length)}P.ended=!0,H(F)}})(R,ee)):(ne||(U=(function(F,P){var X;re=P,h.isBuffer(re)||re instanceof d||typeof P==&quot;string&quot;||P===void 0||F.objectMode||(X=new TypeError(&quot;Invalid non-string/buffer chunk&quot;));var re;return X})(ee,B)),U?R.emit(&quot;error&quot;,U):ee.objectMode||B&amp;&amp;B.length&gt;0?(typeof B==&quot;string&quot;||ee.objectMode||Object.getPrototypeOf(B)===h.prototype||(B=(function(F){return h.from(F)})(B)),Q?ee.endEmitted?R.emit(&quot;error&quot;,new Error(&quot;stream.unshift() after end event&quot;)):L(R,ee,B,!0):ee.ended?R.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(R,ee,B,!1):z(R,ee)):L(R,ee,B,!1))):Q||(ee.reading=!1)),(function(F){return!F.ended&amp;&amp;(F.needReadable||F.length&lt;F.highWaterMark||F.length===0)})(ee)}function L(R,B,Y,Q){B.flowing&amp;&amp;B.length===0&amp;&amp;!B.sync?(R.emit(&quot;data&quot;,Y),R.read(0)):(B.length+=B.objectMode?1:Y.length,Q?B.buffer.unshift(Y):B.buffer.push(Y),B.needReadable&amp;&amp;H(R)),z(R,B)}Object.defineProperty(D.prototype,&quot;destroyed&quot;,{get:function(){return this._readableState!==void 0&amp;&amp;this._readableState.destroyed},set:function(R){this._readableState&amp;&amp;(this._readableState.destroyed=R)}}),D.prototype.destroy=_.destroy,D.prototype._undestroy=_.undestroy,D.prototype._destroy=function(R,B){this.push(null),B(R)},D.prototype.push=function(R,B){var Y,Q=this._readableState;return Q.objectMode?Y=!0:typeof R==&quot;string&quot;&amp;&amp;((B=B||Q.defaultEncoding)!==Q.encoding&amp;&amp;(R=h.from(R,B),B=&quot;&quot;),Y=!0),W(this,R,B,!1,Y)},D.prototype.unshift=function(R){return W(this,R,null,!0,!1)},D.prototype.isPaused=function(){return this._readableState.flowing===!1},D.prototype.setEncoding=function(R){return b||(b=t(&quot;string_decoder/&quot;).StringDecoder),this._readableState.decoder=new b(R),this._readableState.encoding=R,this};function V(R,B){return R&lt;=0||B.length===0&amp;&amp;B.ended?0:B.objectMode?1:R!=R?B.flowing&amp;&amp;B.length?B.buffer.head.data.length:B.length:(R&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})(R)),R&lt;=B.length?R:B.ended?B.length:(B.needReadable=!0,0))}function H(R){var B=R._readableState;B.needReadable=!1,B.emittedReadable||(p(&quot;emitReadable&quot;,B.flowing),B.emittedReadable=!0,B.sync?u.nextTick(K,R):K(R))}function K(R){p(&quot;emit readable&quot;),R.emit(&quot;readable&quot;),j(R)}function z(R,B){B.readingMore||(B.readingMore=!0,u.nextTick(O,R,B))}function O(R,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;(p(&quot;maybeReadMore read 0&quot;),R.read(0),Y!==B.length);)Y=B.length;B.readingMore=!1}function I(R){p(&quot;readable nexttick read 0&quot;),R.read(0)}function C(R,B){B.reading||(p(&quot;resume read 0&quot;),R.read(0)),B.resumeScheduled=!1,B.awaitDrain=0,R.emit(&quot;resume&quot;),j(R),B.flowing&amp;&amp;!B.reading&amp;&amp;R.read(0)}function j(R){var B=R._readableState;for(p(&quot;flow&quot;,B.flowing);B.flowing&amp;&amp;R.read()!==null;);}function k(R,B){return B.length===0?null:(B.objectMode?Y=B.buffer.shift():!R||R&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(Q,ne,U){var ee;return Q&lt;ne.head.data.length?(ee=ne.head.data.slice(0,Q),ne.head.data=ne.head.data.slice(Q)):ee=Q===ne.head.data.length?ne.shift():U?(function(F,P){var X=P.head,re=1,Z=X.data;for(F-=Z.length;X=X.next;){var te=X.data,ae=F&gt;te.length?te.length:F;if(ae===te.length?Z+=te:Z+=te.slice(0,F),(F-=ae)===0){ae===te.length?(++re,X.next?P.head=X.next:P.head=P.tail=null):(P.head=X,X.data=te.slice(ae));break}++re}return P.length-=re,Z})(Q,ne):(function(F,P){var X=h.allocUnsafe(F),re=P.head,Z=1;for(re.data.copy(X),F-=re.data.length;re=re.next;){var te=re.data,ae=F&gt;te.length?te.length:F;if(te.copy(X,X.length-F,0,ae),(F-=ae)===0){ae===te.length?(++Z,re.next?P.head=re.next:P.head=P.tail=null):(P.head=re,re.data=te.slice(ae));break}++Z}return P.length-=Z,X})(Q,ne),ee})(R,B.buffer,B.decoder),Y);var Y}function S(R){var B=R._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,R))}function N(R,B){R.endEmitted||R.length!==0||(R.endEmitted=!0,B.readable=!1,B.emit(&quot;end&quot;))}function T(R,B){for(var Y=0,Q=R.length;Y&lt;Q;Y++)if(R[Y]===B)return Y;return-1}D.prototype.read=function(R){p(&quot;read&quot;,R),R=parseInt(R,10);var B=this._readableState,Y=R;if(R!==0&amp;&amp;(B.emittedReadable=!1),R===0&amp;&amp;B.needReadable&amp;&amp;(B.length&gt;=B.highWaterMark||B.ended))return p(&quot;read: emitReadable&quot;,B.length,B.ended),B.length===0&amp;&amp;B.ended?S(this):H(this),null;if((R=V(R,B))===0&amp;&amp;B.ended)return B.length===0&amp;&amp;S(this),null;var Q,ne=B.needReadable;return p(&quot;need readable&quot;,ne),(B.length===0||B.length-R&lt;B.highWaterMark)&amp;&amp;p(&quot;length less than watermark&quot;,ne=!0),B.ended||B.reading?p(&quot;reading or ended&quot;,ne=!1):ne&amp;&amp;(p(&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||(R=V(Y,B))),(Q=R&gt;0?k(R,B):null)===null?(B.needReadable=!0,R=0):B.length-=R,B.length===0&amp;&amp;(B.ended||(B.needReadable=!0),Y!==R&amp;&amp;B.ended&amp;&amp;S(this)),Q!==null&amp;&amp;this.emit(&quot;data&quot;,Q),Q},D.prototype._read=function(R){this.emit(&quot;error&quot;,new Error(&quot;_read() is not implemented&quot;))},D.prototype.pipe=function(R,B){var Y=this,Q=this._readableState;switch(Q.pipesCount){case 0:Q.pipes=R;break;case 1:Q.pipes=[Q.pipes,R];break;default:Q.pipes.push(R)}Q.pipesCount+=1,p(&quot;pipe count=%d opts=%j&quot;,Q.pipesCount,B);var ne=(!B||B.end!==!1)&amp;&amp;R!==i.stdout&amp;&amp;R!==i.stderr?ee:ce;function U(fe,se){p(&quot;onunpipe&quot;),fe===Y&amp;&amp;se&amp;&amp;se.hasUnpiped===!1&amp;&amp;(se.hasUnpiped=!0,p(&quot;cleanup&quot;),R.removeListener(&quot;close&quot;,te),R.removeListener(&quot;finish&quot;,ae),R.removeListener(&quot;drain&quot;,F),R.removeListener(&quot;error&quot;,Z),R.removeListener(&quot;unpipe&quot;,U),Y.removeListener(&quot;end&quot;,ee),Y.removeListener(&quot;end&quot;,ce),Y.removeListener(&quot;data&quot;,re),P=!0,!Q.awaitDrain||R._writableState&amp;&amp;!R._writableState.needDrain||F())}function ee(){p(&quot;onend&quot;),R.end()}Q.endEmitted?u.nextTick(ne):Y.once(&quot;end&quot;,ne),R.on(&quot;unpipe&quot;,U);var F=(function(fe){return function(){var se=fe._readableState;p(&quot;pipeOnDrain&quot;,se.awaitDrain),se.awaitDrain&amp;&amp;se.awaitDrain--,se.awaitDrain===0&amp;&amp;c(fe,&quot;data&quot;)&amp;&amp;(se.flowing=!0,j(fe))}})(Y);R.on(&quot;drain&quot;,F);var P=!1,X=!1;function re(fe){p(&quot;ondata&quot;),X=!1,R.write(fe)!==!1||X||((Q.pipesCount===1&amp;&amp;Q.pipes===R||Q.pipesCount&gt;1&amp;&amp;T(Q.pipes,R)!==-1)&amp;&amp;!P&amp;&amp;(p(&quot;false write response, pause&quot;,Q.awaitDrain),Q.awaitDrain++,X=!0),Y.pause())}function Z(fe){p(&quot;onerror&quot;,fe),ce(),R.removeListener(&quot;error&quot;,Z),c(R,&quot;error&quot;)===0&amp;&amp;R.emit(&quot;error&quot;,fe)}function te(){R.removeListener(&quot;finish&quot;,ae),ce()}function ae(){p(&quot;onfinish&quot;),R.removeListener(&quot;close&quot;,te),ce()}function ce(){p(&quot;unpipe&quot;),Y.unpipe(R)}return Y.on(&quot;data&quot;,re),(function(fe,se,ue){if(typeof fe.prependListener==&quot;function&quot;)return fe.prependListener(se,ue);fe._events&amp;&amp;fe._events[se]?s(fe._events[se])?fe._events[se].unshift(ue):fe._events[se]=[ue,fe._events[se]]:fe.on(se,ue)})(R,&quot;error&quot;,Z),R.once(&quot;close&quot;,te),R.once(&quot;finish&quot;,ae),R.emit(&quot;pipe&quot;,Y),Q.flowing||(p(&quot;pipe resume&quot;),Y.resume()),R},D.prototype.unpipe=function(R){var B=this._readableState,Y={hasUnpiped:!1};if(B.pipesCount===0)return this;if(B.pipesCount===1)return R&amp;&amp;R!==B.pipes||(R||(R=B.pipes),B.pipes=null,B.pipesCount=0,B.flowing=!1,R&amp;&amp;R.emit(&quot;unpipe&quot;,this,Y)),this;if(!R){var Q=B.pipes,ne=B.pipesCount;B.pipes=null,B.pipesCount=0,B.flowing=!1;for(var U=0;U&lt;ne;U++)Q[U].emit(&quot;unpipe&quot;,this,{hasUnpiped:!1});return this}var ee=T(B.pipes,R);return ee===-1||(B.pipes.splice(ee,1),B.pipesCount-=1,B.pipesCount===1&amp;&amp;(B.pipes=B.pipes[0]),R.emit(&quot;unpipe&quot;,this,Y)),this},D.prototype.on=function(R,B){var Y=m.prototype.on.call(this,R,B);if(R===&quot;data&quot;)this._readableState.flowing!==!1&amp;&amp;this.resume();else if(R===&quot;readable&quot;){var Q=this._readableState;Q.endEmitted||Q.readableListening||(Q.readableListening=Q.needReadable=!0,Q.emittedReadable=!1,Q.reading?Q.length&amp;&amp;H(this):u.nextTick(I,this))}return Y},D.prototype.addListener=D.prototype.on,D.prototype.resume=function(){var R=this._readableState;return R.flowing||(p(&quot;resume&quot;),R.flowing=!0,(function(B,Y){Y.resumeScheduled||(Y.resumeScheduled=!0,u.nextTick(C,B,Y))})(this,R)),this},D.prototype.pause=function(){return p(&quot;call pause flowing=%j&quot;,this._readableState.flowing),this._readableState.flowing!==!1&amp;&amp;(p(&quot;pause&quot;),this._readableState.flowing=!1,this.emit(&quot;pause&quot;)),this},D.prototype.wrap=function(R){var B=this,Y=this._readableState,Q=!1;for(var ne in R.on(&quot;end&quot;,(function(){if(p(&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)})),R.on(&quot;data&quot;,(function(ee){p(&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)||(Q=!0,R.pause()))})),R)this[ne]===void 0&amp;&amp;typeof R[ne]==&quot;function&quot;&amp;&amp;(this[ne]=(function(ee){return function(){return R[ee].apply(R,arguments)}})(ne));for(var U=0;U&lt;E.length;U++)R.on(E[U],this.emit.bind(this,E[U]));return this._read=function(ee){p(&quot;wrapped _read&quot;,ee),Q&amp;&amp;(Q=!1,R.resume())},this},Object.defineProperty(D.prototype,&quot;readableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),D._fromList=k}).call(this)}).call(this,t(&quot;_process&quot;),typeof Yt&lt;&quot;u&quot;?Yt: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,o){n.exports=l;var i=t(&quot;./_stream_duplex&quot;),a=Object.create(t(&quot;core-util-is&quot;));function u(m,h){var d=this._transformState;d.transforming=!1;var g=d.writecb;if(!g)return this.emit(&quot;error&quot;,new Error(&quot;write callback called multiple times&quot;));d.writechunk=null,d.writecb=null,h!=null&amp;&amp;this.push(h),g(m);var y=this._readableState;y.reading=!1,(y.needReadable||y.length&lt;y.highWaterMark)&amp;&amp;this._read(y.highWaterMark)}function l(m){if(!(this instanceof l))return new l(m);i.call(this,m),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,m&amp;&amp;(typeof m.transform==&quot;function&quot;&amp;&amp;(this._transform=m.transform),typeof m.flush==&quot;function&quot;&amp;&amp;(this._flush=m.flush)),this.on(&quot;prefinish&quot;,s)}function s(){var m=this;typeof this._flush==&quot;function&quot;?this._flush((function(h,d){c(m,h,d)})):c(this,null,null)}function c(m,h,d){if(h)return m.emit(&quot;error&quot;,h);if(d!=null&amp;&amp;m.push(d),m._writableState.length)throw new Error(&quot;Calling transform done when ws.length != 0&quot;);if(m._transformState.transforming)throw new Error(&quot;Calling transform done when still transforming&quot;);return m.push(null)}a.inherits=t(&quot;inherits&quot;),a.inherits(l,i),l.prototype.push=function(m,h){return this._transformState.needTransform=!1,i.prototype.push.call(this,m,h)},l.prototype._transform=function(m,h,d){throw new Error(&quot;_transform() is not implemented&quot;)},l.prototype._write=function(m,h,d){var g=this._transformState;if(g.writecb=d,g.writechunk=m,g.writeencoding=h,!g.transforming){var y=this._readableState;(g.needTransform||y.needReadable||y.length&lt;y.highWaterMark)&amp;&amp;this._read(y.highWaterMark)}},l.prototype._read=function(m){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},l.prototype._destroy=function(m,h){var d=this;i.prototype._destroy.call(this,m,(function(g){h(g),d.emit(&quot;close&quot;)}))}},{&quot;./_stream_duplex&quot;:508,&quot;core-util-is&quot;:383,inherits:440}],512:[function(t,n,o){(function(i,a,u){(function(){var l=t(&quot;process-nextick-args&quot;);function s(z){var O=this;this.next=null,this.entry=null,this.finish=function(){(function(I,C,j){var k=I.entry;for(I.entry=null;k;){var S=k.callback;C.pendingcb--,S(j),k=k.next}C.corkedRequestsFree.next=I})(O,z)}}n.exports=M;var c,m=!i.browser&amp;&amp;[&quot;v0.10&quot;,&quot;v0.9.&quot;].indexOf(i.version.slice(0,5))&gt;-1?u:l.nextTick;M.WritableState=E;var h=Object.create(t(&quot;core-util-is&quot;));h.inherits=t(&quot;inherits&quot;);var d={deprecate:t(&quot;util-deprecate&quot;)},g=t(&quot;./internal/streams/stream&quot;),y=t(&quot;safe-buffer&quot;).Buffer,p=(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 E(z,O){c=c||t(&quot;./_stream_duplex&quot;),z=z||{};var I=O instanceof c;this.objectMode=!!z.objectMode,I&amp;&amp;(this.objectMode=this.objectMode||!!z.writableObjectMode);var C=z.highWaterMark,j=z.writableHighWaterMark,k=this.objectMode?16:16384;this.highWaterMark=C||C===0?C:I&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=z.decodeStrings===!1;this.decodeStrings=!S,this.defaultEncoding=z.defaultEncoding||&quot;utf8&quot;,this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(N){(function(T,R){var B=T._writableState,Y=B.sync,Q=B.writecb;if((function(U){U.writing=!1,U.writecb=null,U.length-=U.writelen,U.writelen=0})(B),R)(function(U,ee,F,P,X){--ee.pendingcb,F?(l.nextTick(X,P),l.nextTick(K,U,ee),U._writableState.errorEmitted=!0,U.emit(&quot;error&quot;,P)):(X(P),U._writableState.errorEmitted=!0,U.emit(&quot;error&quot;,P),K(U,ee))})(T,B,Y,R,Q);else{var ne=V(B);ne||B.corked||B.bufferProcessing||!B.bufferedRequest||L(T,B),Y?m(W,T,B,ne,Q):W(T,B,ne,Q)}})(O,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 M(z){if(c=c||t(&quot;./_stream_duplex&quot;),!(b.call(M,this)||this instanceof c))return new M(z);this._writableState=new E(z,this),this.writable=!0,z&amp;&amp;(typeof z.write==&quot;function&quot;&amp;&amp;(this._write=z.write),typeof z.writev==&quot;function&quot;&amp;&amp;(this._writev=z.writev),typeof z.destroy==&quot;function&quot;&amp;&amp;(this._destroy=z.destroy),typeof z.final==&quot;function&quot;&amp;&amp;(this._final=z.final)),g.call(this)}function D(z,O,I,C,j,k,S){O.writelen=C,O.writecb=S,O.writing=!0,O.sync=!0,I?z._writev(j,O.onwrite):z._write(j,k,O.onwrite),O.sync=!1}function W(z,O,I,C){I||(function(j,k){k.length===0&amp;&amp;k.needDrain&amp;&amp;(k.needDrain=!1,j.emit(&quot;drain&quot;))})(z,O),O.pendingcb--,C(),K(z,O)}function L(z,O){O.bufferProcessing=!0;var I=O.bufferedRequest;if(z._writev&amp;&amp;I&amp;&amp;I.next){var C=O.bufferedRequestCount,j=new Array(C),k=O.corkedRequestsFree;k.entry=I;for(var S=0,N=!0;I;)j[S]=I,I.isBuf||(N=!1),I=I.next,S+=1;j.allBuffers=N,D(z,O,!0,O.length,j,&quot;&quot;,k.finish),O.pendingcb++,O.lastBufferedRequest=null,k.next?(O.corkedRequestsFree=k.next,k.next=null):O.corkedRequestsFree=new s(O),O.bufferedRequestCount=0}else{for(;I;){var T=I.chunk,R=I.encoding,B=I.callback;if(D(z,O,!1,O.objectMode?1:T.length,T,R,B),I=I.next,O.bufferedRequestCount--,O.writing)break}I===null&amp;&amp;(O.lastBufferedRequest=null)}O.bufferedRequest=I,O.bufferProcessing=!1}function V(z){return z.ending&amp;&amp;z.length===0&amp;&amp;z.bufferedRequest===null&amp;&amp;!z.finished&amp;&amp;!z.writing}function H(z,O){z._final((function(I){O.pendingcb--,I&amp;&amp;z.emit(&quot;error&quot;,I),O.prefinished=!0,z.emit(&quot;prefinish&quot;),K(z,O)}))}function K(z,O){var I=V(O);return I&amp;&amp;((function(C,j){j.prefinished||j.finalCalled||(typeof C._final==&quot;function&quot;?(j.pendingcb++,j.finalCalled=!0,l.nextTick(H,C,j)):(j.prefinished=!0,C.emit(&quot;prefinish&quot;)))})(z,O),O.pendingcb===0&amp;&amp;(O.finished=!0,z.emit(&quot;finish&quot;))),I}h.inherits(M,g),E.prototype.getBuffer=function(){for(var z=this.bufferedRequest,O=[];z;)O.push(z),z=z.next;return O},(function(){try{Object.defineProperty(E.prototype,&quot;buffer&quot;,{get:d.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(M,Symbol.hasInstance,{value:function(z){return!!b.call(this,z)||this===M&amp;&amp;z&amp;&amp;z._writableState instanceof E}})):b=function(z){return z instanceof this},M.prototype.pipe=function(){this.emit(&quot;error&quot;,new Error(&quot;Cannot pipe, not readable&quot;))},M.prototype.write=function(z,O,I){var C,j=this._writableState,k=!1,S=!j.objectMode&amp;&amp;(C=z,y.isBuffer(C)||C instanceof p);return S&amp;&amp;!y.isBuffer(z)&amp;&amp;(z=(function(N){return y.from(N)})(z)),typeof O==&quot;function&quot;&amp;&amp;(I=O,O=null),S?O=&quot;buffer&quot;:O||(O=j.defaultEncoding),typeof I!=&quot;function&quot;&amp;&amp;(I=_),j.ended?(function(N,T){var R=new Error(&quot;write after end&quot;);N.emit(&quot;error&quot;,R),l.nextTick(T,R)})(this,I):(S||(function(N,T,R,B){var Y=!0,Q=!1;return R===null?Q=new TypeError(&quot;May not write null values to stream&quot;):typeof R==&quot;string&quot;||R===void 0||T.objectMode||(Q=new TypeError(&quot;Invalid non-string/buffer chunk&quot;)),Q&amp;&amp;(N.emit(&quot;error&quot;,Q),l.nextTick(B,Q),Y=!1),Y})(this,j,z,I))&amp;&amp;(j.pendingcb++,k=(function(N,T,R,B,Y,Q){if(!R){var ne=(function(P,X,re){return P.objectMode||P.decodeStrings===!1||typeof X!=&quot;string&quot;||(X=y.from(X,re)),X})(T,B,Y);B!==ne&amp;&amp;(R=!0,Y=&quot;buffer&quot;,B=ne)}var U=T.objectMode?1:B.length;T.length+=U;var ee=T.length&lt;T.highWaterMark;if(ee||(T.needDrain=!0),T.writing||T.corked){var F=T.lastBufferedRequest;T.lastBufferedRequest={chunk:B,encoding:Y,isBuf:R,callback:Q,next:null},F?F.next=T.lastBufferedRequest:T.bufferedRequest=T.lastBufferedRequest,T.bufferedRequestCount+=1}else D(N,T,!1,U,B,Y,Q);return ee})(this,j,S,z,O,I)),k},M.prototype.cork=function(){this._writableState.corked++},M.prototype.uncork=function(){var z=this._writableState;z.corked&amp;&amp;(z.corked--,z.writing||z.corked||z.bufferProcessing||!z.bufferedRequest||L(this,z))},M.prototype.setDefaultEncoding=function(z){if(typeof z==&quot;string&quot;&amp;&amp;(z=z.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((z+&quot;&quot;).toLowerCase())&gt;-1))throw new TypeError(&quot;Unknown encoding: &quot;+z);return this._writableState.defaultEncoding=z,this},Object.defineProperty(M.prototype,&quot;writableHighWaterMark&quot;,{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),M.prototype._write=function(z,O,I){I(new Error(&quot;_write() is not implemented&quot;))},M.prototype._writev=null,M.prototype.end=function(z,O,I){var C=this._writableState;typeof z==&quot;function&quot;?(I=z,z=null,O=null):typeof O==&quot;function&quot;&amp;&amp;(I=O,O=null),z!=null&amp;&amp;this.write(z,O),C.corked&amp;&amp;(C.corked=1,this.uncork()),C.ending||(function(j,k,S){k.ending=!0,K(j,k),S&amp;&amp;(k.finished?l.nextTick(S):j.once(&quot;finish&quot;,S)),k.ended=!0,j.writable=!1})(this,C,I)},Object.defineProperty(M.prototype,&quot;destroyed&quot;,{get:function(){return this._writableState!==void 0&amp;&amp;this._writableState.destroyed},set:function(z){this._writableState&amp;&amp;(this._writableState.destroyed=z)}}),M.prototype.destroy=x.destroy,M.prototype._undestroy=x.undestroy,M.prototype._destroy=function(z,O){this.end(),O(z)}}).call(this)}).call(this,t(&quot;_process&quot;),typeof Yt&lt;&quot;u&quot;?Yt: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,o){var i=t(&quot;safe-buffer&quot;).Buffer,a=t(&quot;util&quot;);n.exports=(function(){function u(){(function(l,s){if(!(l 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(l){var s={data:l,next:null};this.length&gt;0?this.tail.next=s:this.head=s,this.tail=s,++this.length},u.prototype.unshift=function(l){var s={data:l,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 l=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,l}},u.prototype.clear=function(){this.head=this.tail=null,this.length=0},u.prototype.join=function(l){if(this.length===0)return&quot;&quot;;for(var s=this.head,c=&quot;&quot;+s.data;s=s.next;)c+=l+s.data;return c},u.prototype.concat=function(l){if(this.length===0)return i.alloc(0);for(var s,c,m,h=i.allocUnsafe(l&gt;&gt;&gt;0),d=this.head,g=0;d;)s=d.data,c=h,m=g,s.copy(c,m),g+=d.data.length,d=d.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,o){var i=t(&quot;process-nextick-args&quot;);function a(u,l){u.emit(&quot;error&quot;,l)}n.exports={destroy:function(u,l){var s=this,c=this._readableState&amp;&amp;this._readableState.destroyed,m=this._writableState&amp;&amp;this._writableState.destroyed;return c||m?(l?l(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){!l&amp;&amp;h?s._writableState?s._writableState.errorEmitted||(s._writableState.errorEmitted=!0,i.nextTick(a,s,h)):i.nextTick(a,s,h):l&amp;&amp;l(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,o){arguments[4][490][0].apply(o,arguments)},{dup:490,events:422}],516:[function(t,n,o){n.exports=t(&quot;./readable&quot;).PassThrough},{&quot;./readable&quot;:517}],517:[function(t,n,o){(o=n.exports=t(&quot;./lib/_stream_readable.js&quot;)).Stream=o,o.Readable=o,o.Writable=t(&quot;./lib/_stream_writable.js&quot;),o.Duplex=t(&quot;./lib/_stream_duplex.js&quot;),o.Transform=t(&quot;./lib/_stream_transform.js&quot;),o.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,o){n.exports=t(&quot;./readable&quot;).Transform},{&quot;./readable&quot;:517}],519:[function(t,n,o){n.exports=t(&quot;./lib/_stream_writable.js&quot;)},{&quot;./lib/_stream_writable.js&quot;:512}],520:[function(t,n,o){arguments[4][217][0].apply(o,arguments)},{buffer:220,dup:217}],521:[function(t,n,o){arguments[4][218][0].apply(o,arguments)},{dup:218,&quot;safe-buffer&quot;:520}],522:[function(t,n,o){arguments[4][218][0].apply(o,arguments)},{dup:218,&quot;safe-buffer&quot;:494}],523:[function(t,n,o){(function(i,a){(function(){var u=t(&quot;process/browser.js&quot;).nextTick,l=Function.prototype.apply,s=Array.prototype.slice,c={},m=0;function h(d,g){this._id=d,this._clearFn=g}o.setTimeout=function(){return new h(l.call(setTimeout,window,arguments),clearTimeout)},o.setInterval=function(){return new h(l.call(setInterval,window,arguments),clearInterval)},o.clearTimeout=o.clearInterval=function(d){d.close()},h.prototype.unref=h.prototype.ref=function(){},h.prototype.close=function(){this._clearFn.call(window,this._id)},o.enroll=function(d,g){clearTimeout(d._idleTimeoutId),d._idleTimeout=g},o.unenroll=function(d){clearTimeout(d._idleTimeoutId),d._idleTimeout=-1},o._unrefActive=o.active=function(d){clearTimeout(d._idleTimeoutId);var g=d._idleTimeout;g&gt;=0&amp;&amp;(d._idleTimeoutId=setTimeout((function(){d._onTimeout&amp;&amp;d._onTimeout()}),g))},o.setImmediate=typeof i==&quot;function&quot;?i:function(d){var g=m++,y=!(arguments.length&lt;2)&amp;&amp;s.call(arguments,1);return c[g]=!0,u((function(){c[g]&amp;&amp;(y?d.apply(null,y):d.call(null),o.clearImmediate(g))})),g},o.clearImmediate=typeof a==&quot;function&quot;?a:function(d){delete c[d]}}).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,o){(function(i){(function(){function a(u){try{if(!i.localStorage)return!1}catch{return!1}var l=i.localStorage[u];return l!=null&amp;&amp;String(l).toLowerCase()===&quot;true&quot;}n.exports=function(u,l){if(a(&quot;noDeprecation&quot;))return u;var s=!1;return function(){if(!s){if(a(&quot;throwDeprecation&quot;))throw new Error(l);a(&quot;traceDeprecation&quot;)?console.trace(l):console.warn(l),s=!0}return u.apply(this,arguments)}}}).call(this)}).call(this,typeof Yt&lt;&quot;u&quot;?Yt:typeof self&lt;&quot;u&quot;?self:typeof window&lt;&quot;u&quot;?window:{})},{}],525:[function(t,n,o){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,o){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,o){(function(i,a){(function(){var u=/%[sdj%]/g;o.format=function(j){if(!E(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,T=N.length,R=String(j).replace(u,(function(Y){if(Y===&quot;%%&quot;)return&quot;%&quot;;if(S&gt;=T)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;T;B=N[++S])x(B)||!W(B)?R+=&quot; &quot;+B:R+=&quot; &quot;+c(B);return R},o.deprecate=function(j,k){if(M(a.process))return function(){return o.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 l,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;o._extend(S,k),M(S.showHidden)&amp;&amp;(S.showHidden=!1),M(S.depth)&amp;&amp;(S.depth=2),M(S.colors)&amp;&amp;(S.colors=!1),M(S.customInspect)&amp;&amp;(S.customInspect=!0),S.colors&amp;&amp;(S.stylize=m),d(S,j,S.depth)}function m(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 d(j,k,S){if(j.customInspect&amp;&amp;k&amp;&amp;H(k.inspect)&amp;&amp;k.inspect!==o.inspect&amp;&amp;(!k.constructor||k.constructor.prototype!==k)){var N=k.inspect(S,j);return E(N)||(N=d(j,N,S)),N}var T=(function(F,P){if(M(P))return F.stylize(&quot;undefined&quot;,&quot;undefined&quot;);if(E(P)){var X=&quot;&#039;&quot;+JSON.stringify(P).replace(/^&quot;|&quot;$/g,&quot;&quot;).replace(/&#039;/g,&quot;\\&#039;&quot;).replace(/\\&quot;/g,&#039;&quot;&#039;)+&quot;&#039;&quot;;return F.stylize(X,&quot;string&quot;)}if(_(P))return F.stylize(&quot;&quot;+P,&quot;number&quot;);if(b(P))return F.stylize(&quot;&quot;+P,&quot;boolean&quot;);if(x(P))return F.stylize(&quot;null&quot;,&quot;null&quot;)})(j,k);if(T)return T;var R=Object.keys(k),B=(function(F){var P={};return F.forEach((function(X,re){P[X]=!0})),P})(R);if(j.showHidden&amp;&amp;(R=Object.getOwnPropertyNames(k)),V(k)&amp;&amp;(R.indexOf(&quot;message&quot;)&gt;=0||R.indexOf(&quot;description&quot;)&gt;=0))return g(k);if(R.length===0){if(H(k)){var Y=k.name?&quot;: &quot;+k.name:&quot;&quot;;return j.stylize(&quot;[Function&quot;+Y+&quot;]&quot;,&quot;special&quot;)}if(D(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(V(k))return g(k)}var Q,ne=&quot;&quot;,U=!1,ee=[&quot;{&quot;,&quot;}&quot;];return p(k)&amp;&amp;(U=!0,ee=[&quot;[&quot;,&quot;]&quot;]),H(k)&amp;&amp;(ne=&quot; [Function&quot;+(k.name?&quot;: &quot;+k.name:&quot;&quot;)+&quot;]&quot;),D(k)&amp;&amp;(ne=&quot; &quot;+RegExp.prototype.toString.call(k)),L(k)&amp;&amp;(ne=&quot; &quot;+Date.prototype.toUTCString.call(k)),V(k)&amp;&amp;(ne=&quot; &quot;+g(k)),R.length!==0||U&amp;&amp;k.length!=0?S&lt;0?D(k)?j.stylize(RegExp.prototype.toString.call(k),&quot;regexp&quot;):j.stylize(&quot;[Object]&quot;,&quot;special&quot;):(j.seen.push(k),Q=U?(function(F,P,X,re,Z){for(var te=[],ae=0,ce=P.length;ae&lt;ce;++ae)C(P,String(ae))?te.push(y(F,P,X,re,String(ae),!0)):te.push(&quot;&quot;);return Z.forEach((function(fe){fe.match(/^\d+$/)||te.push(y(F,P,X,re,fe,!0))})),te})(j,k,S,B,R):R.map((function(F){return y(j,k,S,B,F,U)})),j.seen.pop(),(function(F,P,X){return F.reduce((function(re,Z){return Z.indexOf(`
`)&gt;=0,re+Z.replace(/\u001b\[\d\d?m/g,&quot;&quot;).length+1}),0)&gt;60?X[0]+(P===&quot;&quot;?&quot;&quot;:P+`
 `)+&quot; &quot;+F.join(`,
  `)+&quot; &quot;+X[1]:X[0]+P+&quot; &quot;+F.join(&quot;, &quot;)+&quot; &quot;+X[1]})(Q,ne,ee)):ee[0]+ne+ee[1]}function g(j){return&quot;[&quot;+Error.prototype.toString.call(j)+&quot;]&quot;}function y(j,k,S,N,T,R){var B,Y,Q;if((Q=Object.getOwnPropertyDescriptor(k,T)||{value:k[T]}).get?Y=Q.set?j.stylize(&quot;[Getter/Setter]&quot;,&quot;special&quot;):j.stylize(&quot;[Getter]&quot;,&quot;special&quot;):Q.set&amp;&amp;(Y=j.stylize(&quot;[Setter]&quot;,&quot;special&quot;)),C(N,T)||(B=&quot;[&quot;+T+&quot;]&quot;),Y||(j.seen.indexOf(Q.value)&lt;0?(Y=x(S)?d(j,Q.value,null):d(j,Q.value,S-1)).indexOf(`
`)&gt;-1&amp;&amp;(Y=R?Y.split(`
`).map((function(ne){return&quot;  &quot;+ne})).join(`
`).substr(2):`
`+Y.split(`
`).map((function(ne){return&quot;   &quot;+ne})).join(`
`)):Y=j.stylize(&quot;[Circular]&quot;,&quot;special&quot;)),M(B)){if(R&amp;&amp;T.match(/^\d+$/))return Y;(B=JSON.stringify(&quot;&quot;+T)).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 p(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 E(j){return typeof j==&quot;string&quot;}function M(j){return j===void 0}function D(j){return W(j)&amp;&amp;K(j)===&quot;[object RegExp]&quot;}function W(j){return typeof j==&quot;object&quot;&amp;&amp;j!==null}function L(j){return W(j)&amp;&amp;K(j)===&quot;[object Date]&quot;}function V(j){return W(j)&amp;&amp;(K(j)===&quot;[object Error]&quot;||j instanceof Error)}function H(j){return typeof j==&quot;function&quot;}function K(j){return Object.prototype.toString.call(j)}function z(j){return j&lt;10?&quot;0&quot;+j.toString(10):j.toString(10)}o.debuglog=function(j){if(M(l)&amp;&amp;(l=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(l)){var k=i.pid;s[j]=function(){var S=o.format.apply(o,arguments);console.error(&quot;%s %d: %s&quot;,j,k,S)}}else s[j]=function(){};return s[j]},o.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;},o.isArray=p,o.isBoolean=b,o.isNull=x,o.isNullOrUndefined=function(j){return j==null},o.isNumber=_,o.isString=E,o.isSymbol=function(j){return typeof j==&quot;symbol&quot;},o.isUndefined=M,o.isRegExp=D,o.isObject=W,o.isDate=L,o.isError=V,o.isFunction=H,o.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},o.isBuffer=t(&quot;./support/isBuffer&quot;);var O=[&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 I(){var j=new Date,k=[z(j.getHours()),z(j.getMinutes()),z(j.getSeconds())].join(&quot;:&quot;);return[j.getDate(),O[j.getMonth()],k].join(&quot; &quot;)}function C(j,k){return Object.prototype.hasOwnProperty.call(j,k)}o.log=function(){console.log(&quot;%s - %s&quot;,I(),o.format.apply(o,arguments))},o.inherits=t(&quot;inherits&quot;),o._extend=function(j,k){if(!k||!W(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 Yt&lt;&quot;u&quot;?Yt: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,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),Object.defineProperty(o,&quot;v1&quot;,{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(o,&quot;v3&quot;,{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(o,&quot;v4&quot;,{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(o,&quot;v5&quot;,{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(o,&quot;NIL&quot;,{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(o,&quot;version&quot;,{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(o,&quot;validate&quot;,{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(o,&quot;stringify&quot;,{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(o,&quot;parse&quot;,{enumerable:!0,get:function(){return d.default}});var i=g(t(&quot;./v1.js&quot;)),a=g(t(&quot;./v3.js&quot;)),u=g(t(&quot;./v4.js&quot;)),l=g(t(&quot;./v5.js&quot;)),s=g(t(&quot;./nil.js&quot;)),c=g(t(&quot;./version.js&quot;)),m=g(t(&quot;./validate.js&quot;)),h=g(t(&quot;./stringify.js&quot;)),d=g(t(&quot;./parse.js&quot;));function g(y){return y&amp;&amp;y.__esModule?y:{default:y}}},{&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,o){function i(d){return 14+(d+64&gt;&gt;&gt;9&lt;&lt;4)+1}function a(d,g){const y=(65535&amp;d)+(65535&amp;g);return(d&gt;&gt;16)+(g&gt;&gt;16)+(y&gt;&gt;16)&lt;&lt;16|65535&amp;y}function u(d,g,y,p,b,x){return a((_=a(a(g,d),a(p,x)))&lt;&lt;(E=b)|_&gt;&gt;&gt;32-E,y);var _,E}function l(d,g,y,p,b,x,_){return u(g&amp;y|~g&amp;p,d,g,b,x,_)}function s(d,g,y,p,b,x,_){return u(g&amp;p|y&amp;~p,d,g,b,x,_)}function c(d,g,y,p,b,x,_){return u(g^y^p,d,g,b,x,_)}function m(d,g,y,p,b,x,_){return u(y^(g|~p),d,g,b,x,_)}Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var h=function(d){if(typeof d==&quot;string&quot;){const g=unescape(encodeURIComponent(d));d=new Uint8Array(g.length);for(let y=0;y&lt;g.length;++y)d[y]=g.charCodeAt(y)}return(function(g){const y=[],p=32*g.length;for(let b=0;b&lt;p;b+=8){const x=g[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);y.push(_)}return y})((function(g,y){g[y&gt;&gt;5]|=128&lt;&lt;y%32,g[i(y)-1]=y;let p=1732584193,b=-271733879,x=-1732584194,_=271733878;for(let E=0;E&lt;g.length;E+=16){const M=p,D=b,W=x,L=_;p=l(p,b,x,_,g[E],7,-680876936),_=l(_,p,b,x,g[E+1],12,-389564586),x=l(x,_,p,b,g[E+2],17,606105819),b=l(b,x,_,p,g[E+3],22,-1044525330),p=l(p,b,x,_,g[E+4],7,-176418897),_=l(_,p,b,x,g[E+5],12,1200080426),x=l(x,_,p,b,g[E+6],17,-1473231341),b=l(b,x,_,p,g[E+7],22,-45705983),p=l(p,b,x,_,g[E+8],7,1770035416),_=l(_,p,b,x,g[E+9],12,-1958414417),x=l(x,_,p,b,g[E+10],17,-42063),b=l(b,x,_,p,g[E+11],22,-1990404162),p=l(p,b,x,_,g[E+12],7,1804603682),_=l(_,p,b,x,g[E+13],12,-40341101),x=l(x,_,p,b,g[E+14],17,-1502002290),b=l(b,x,_,p,g[E+15],22,1236535329),p=s(p,b,x,_,g[E+1],5,-165796510),_=s(_,p,b,x,g[E+6],9,-1069501632),x=s(x,_,p,b,g[E+11],14,643717713),b=s(b,x,_,p,g[E],20,-373897302),p=s(p,b,x,_,g[E+5],5,-701558691),_=s(_,p,b,x,g[E+10],9,38016083),x=s(x,_,p,b,g[E+15],14,-660478335),b=s(b,x,_,p,g[E+4],20,-405537848),p=s(p,b,x,_,g[E+9],5,568446438),_=s(_,p,b,x,g[E+14],9,-1019803690),x=s(x,_,p,b,g[E+3],14,-187363961),b=s(b,x,_,p,g[E+8],20,1163531501),p=s(p,b,x,_,g[E+13],5,-1444681467),_=s(_,p,b,x,g[E+2],9,-51403784),x=s(x,_,p,b,g[E+7],14,1735328473),b=s(b,x,_,p,g[E+12],20,-1926607734),p=c(p,b,x,_,g[E+5],4,-378558),_=c(_,p,b,x,g[E+8],11,-2022574463),x=c(x,_,p,b,g[E+11],16,1839030562),b=c(b,x,_,p,g[E+14],23,-35309556),p=c(p,b,x,_,g[E+1],4,-1530992060),_=c(_,p,b,x,g[E+4],11,1272893353),x=c(x,_,p,b,g[E+7],16,-155497632),b=c(b,x,_,p,g[E+10],23,-1094730640),p=c(p,b,x,_,g[E+13],4,681279174),_=c(_,p,b,x,g[E],11,-358537222),x=c(x,_,p,b,g[E+3],16,-722521979),b=c(b,x,_,p,g[E+6],23,76029189),p=c(p,b,x,_,g[E+9],4,-640364487),_=c(_,p,b,x,g[E+12],11,-421815835),x=c(x,_,p,b,g[E+15],16,530742520),b=c(b,x,_,p,g[E+2],23,-995338651),p=m(p,b,x,_,g[E],6,-198630844),_=m(_,p,b,x,g[E+7],10,1126891415),x=m(x,_,p,b,g[E+14],15,-1416354905),b=m(b,x,_,p,g[E+5],21,-57434055),p=m(p,b,x,_,g[E+12],6,1700485571),_=m(_,p,b,x,g[E+3],10,-1894986606),x=m(x,_,p,b,g[E+10],15,-1051523),b=m(b,x,_,p,g[E+1],21,-2054922799),p=m(p,b,x,_,g[E+8],6,1873313359),_=m(_,p,b,x,g[E+15],10,-30611744),x=m(x,_,p,b,g[E+6],15,-1560198380),b=m(b,x,_,p,g[E+13],21,1309151649),p=m(p,b,x,_,g[E+4],6,-145523070),_=m(_,p,b,x,g[E+11],10,-1120210379),x=m(x,_,p,b,g[E+2],15,718787259),b=m(b,x,_,p,g[E+9],21,-343485551),p=a(p,M),b=a(b,D),x=a(x,W),_=a(_,L)}return[p,b,x,_]})((function(g){if(g.length===0)return[];const y=8*g.length,p=new Uint32Array(i(y));for(let b=0;b&lt;y;b+=8)p[b&gt;&gt;5]|=(255&amp;g[b/8])&lt;&lt;b%32;return p})(d),8*d.length))};o.default=h},{}],530:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0,o.default=&quot;00000000-0000-0000-0000-000000000000&quot;},{}],531:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var i,a=(i=t(&quot;./validate.js&quot;))&amp;&amp;i.__esModule?i:{default:i},u=function(l){if(!(0,a.default)(l))throw TypeError(&quot;Invalid UUID&quot;);let s;const c=new Uint8Array(16);return c[0]=(s=parseInt(l.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(l.slice(9,13),16))&gt;&gt;&gt;8,c[5]=255&amp;s,c[6]=(s=parseInt(l.slice(14,18),16))&gt;&gt;&gt;8,c[7]=255&amp;s,c[8]=(s=parseInt(l.slice(19,23),16))&gt;&gt;&gt;8,c[9]=255&amp;s,c[10]=(s=parseInt(l.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};o.default=u},{&quot;./validate.js&quot;:541}],532:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0,o.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,o){let i;Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.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,o){function i(l,s,c,m){switch(l){case 0:return s&amp;c^~s&amp;m;case 1:return s^c^m;case 2:return s&amp;c^s&amp;m^c&amp;m;case 3:return s^c^m}}function a(l,s){return l&lt;&lt;s|l&gt;&gt;&gt;32-s}Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var u=function(l){const s=[1518500249,1859775393,2400959708,3395469782],c=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof l==&quot;string&quot;){const g=unescape(encodeURIComponent(l));l=[];for(let y=0;y&lt;g.length;++y)l.push(g.charCodeAt(y))}else Array.isArray(l)||(l=Array.prototype.slice.call(l));l.push(128);const m=l.length/4+2,h=Math.ceil(m/16),d=new Array(h);for(let g=0;g&lt;h;++g){const y=new Uint32Array(16);for(let p=0;p&lt;16;++p)y[p]=l[64*g+4*p]&lt;&lt;24|l[64*g+4*p+1]&lt;&lt;16|l[64*g+4*p+2]&lt;&lt;8|l[64*g+4*p+3];d[g]=y}d[h-1][14]=8*(l.length-1)/Math.pow(2,32),d[h-1][14]=Math.floor(d[h-1][14]),d[h-1][15]=8*(l.length-1)&amp;4294967295;for(let g=0;g&lt;h;++g){const y=new Uint32Array(80);for(let M=0;M&lt;16;++M)y[M]=d[g][M];for(let M=16;M&lt;80;++M)y[M]=a(y[M-3]^y[M-8]^y[M-14]^y[M-16],1);let p=c[0],b=c[1],x=c[2],_=c[3],E=c[4];for(let M=0;M&lt;80;++M){const D=Math.floor(M/20),W=a(p,5)+i(D,b,x,_)+E+s[D]+y[M]&gt;&gt;&gt;0;E=_,_=x,x=a(b,30)&gt;&gt;&gt;0,b=p,p=W}c[0]=c[0]+p&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]+E&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]]};o.default=u},{}],535:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.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 l=function(s){let c=arguments.length&gt;1&amp;&amp;arguments[1]!==void 0?arguments[1]:0;const m=(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)(m))throw TypeError(&quot;Stringified UUID is invalid&quot;);return m};o.default=l},{&quot;./validate.js&quot;:541}],536:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var i=u(t(&quot;./rng.js&quot;)),a=u(t(&quot;./stringify.js&quot;));function u(d){return d&amp;&amp;d.__esModule?d:{default:d}}let l,s,c=0,m=0;var h=function(d,g,y){let p=g&amp;&amp;y||0;const b=g||new Array(16);let x=(d=d||{}).node||l,_=d.clockseq!==void 0?d.clockseq:s;if(x==null||_==null){const V=d.random||(d.rng||i.default)();x==null&amp;&amp;(x=l=[1|V[0],V[1],V[2],V[3],V[4],V[5]]),_==null&amp;&amp;(_=s=16383&amp;(V[6]&lt;&lt;8|V[7]))}let E=d.msecs!==void 0?d.msecs:Date.now(),M=d.nsecs!==void 0?d.nsecs:m+1;const D=E-c+(M-m)/1e4;if(D&lt;0&amp;&amp;d.clockseq===void 0&amp;&amp;(_=_+1&amp;16383),(D&lt;0||E&gt;c)&amp;&amp;d.nsecs===void 0&amp;&amp;(M=0),M&gt;=1e4)throw new Error(&quot;uuid.v1(): Can&#039;t create more than 10M uuids/sec&quot;);c=E,m=M,s=_,E+=122192928e5;const W=(1e4*(268435455&amp;E)+M)%4294967296;b[p++]=W&gt;&gt;&gt;24&amp;255,b[p++]=W&gt;&gt;&gt;16&amp;255,b[p++]=W&gt;&gt;&gt;8&amp;255,b[p++]=255&amp;W;const L=E/4294967296*1e4&amp;268435455;b[p++]=L&gt;&gt;&gt;8&amp;255,b[p++]=255&amp;L,b[p++]=L&gt;&gt;&gt;24&amp;15|16,b[p++]=L&gt;&gt;&gt;16&amp;255,b[p++]=_&gt;&gt;&gt;8|128,b[p++]=255&amp;_;for(let V=0;V&lt;6;++V)b[p+V]=x[V];return g||(0,a.default)(b)};o.default=h},{&quot;./rng.js&quot;:533,&quot;./stringify.js&quot;:535}],537:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.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 l=(0,i.default)(&quot;v3&quot;,48,a.default);o.default=l},{&quot;./md5.js&quot;:529,&quot;./v35.js&quot;:538}],538:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=function(c,m,h){function d(g,y,p,b){if(typeof g==&quot;string&quot;&amp;&amp;(g=(function(_){_=unescape(encodeURIComponent(_));const E=[];for(let M=0;M&lt;_.length;++M)E.push(_.charCodeAt(M));return E})(g)),typeof y==&quot;string&quot;&amp;&amp;(y=(0,a.default)(y)),y.length!==16)throw TypeError(&quot;Namespace must be array-like (16 iterable integer values, 0-255)&quot;);let x=new Uint8Array(16+g.length);if(x.set(y),x.set(g,y.length),x=h(x),x[6]=15&amp;x[6]|m,x[8]=63&amp;x[8]|128,p){b=b||0;for(let _=0;_&lt;16;++_)p[b+_]=x[_];return p}return(0,i.default)(x)}try{d.name=c}catch{}return d.DNS=l,d.URL=s,d},o.URL=o.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 l=&quot;6ba7b810-9dad-11d1-80b4-00c04fd430c8&quot;;o.DNS=l;const s=&quot;6ba7b811-9dad-11d1-80b4-00c04fd430c8&quot;;o.URL=s},{&quot;./parse.js&quot;:531,&quot;./stringify.js&quot;:535}],539:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.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 l=function(s,c,m){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){m=m||0;for(let d=0;d&lt;16;++d)c[m+d]=h[d];return c}return(0,a.default)(h)};o.default=l},{&quot;./rng.js&quot;:533,&quot;./stringify.js&quot;:535}],540:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.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 l=(0,i.default)(&quot;v5&quot;,80,a.default);o.default=l},{&quot;./sha1.js&quot;:534,&quot;./v35.js&quot;:538}],541:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var i,a=(i=t(&quot;./regex.js&quot;))&amp;&amp;i.__esModule?i:{default:i},u=function(l){return typeof l==&quot;string&quot;&amp;&amp;a.default.test(l)};o.default=u},{&quot;./regex.js&quot;:532}],542:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.default=void 0;var i,a=(i=t(&quot;./validate.js&quot;))&amp;&amp;i.__esModule?i:{default:i},u=function(l){if(!(0,a.default)(l))throw TypeError(&quot;Invalid UUID&quot;);return parseInt(l.substr(14,1),16)};o.default=u},{&quot;./validate.js&quot;:541}],543:[function(t,n,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.CHAR=`	
\r -퟿-�𐀀-􏿿`,o.S=` 	\r
`,o.NAME_START_CHAR=&quot;:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿&quot;,o.NAME_CHAR=&quot;-&quot;+o.NAME_START_CHAR+&quot;.0-9·̀-ͯ‿-⁀&quot;,o.CHAR_RE=new RegExp(&quot;^[&quot;+o.CHAR+&quot;]$&quot;,&quot;u&quot;),o.S_RE=new RegExp(&quot;^[&quot;+o.S+&quot;]+$&quot;,&quot;u&quot;),o.NAME_START_CHAR_RE=new RegExp(&quot;^[&quot;+o.NAME_START_CHAR+&quot;]$&quot;,&quot;u&quot;),o.NAME_CHAR_RE=new RegExp(&quot;^[&quot;+o.NAME_CHAR+&quot;]$&quot;,&quot;u&quot;),o.NAME_RE=new RegExp(&quot;^[&quot;+o.NAME_START_CHAR+&quot;][&quot;+o.NAME_CHAR+&quot;]*$&quot;,&quot;u&quot;),o.NMTOKEN_RE=new RegExp(&quot;^[&quot;+o.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}o.S_LIST=[32,10,13,9],o.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},o.isS=function(a){return a===32||a===10||a===13||a===9},o.isNameStartChar=i,o.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,o){Object.defineProperty(o,&quot;__esModule&quot;,{value:!0}),o.CHAR=&quot;-퟿-�𐀀-􏿿&quot;,o.RESTRICTED_CHAR=&quot;-\b\v\f---&quot;,o.S=` 	\r
`,o.NAME_START_CHAR=&quot;:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿&quot;,o.NAME_CHAR=&quot;-&quot;+o.NAME_START_CHAR+&quot;.0-9·̀-ͯ‿-⁀&quot;,o.CHAR_RE=new RegExp(&quot;^[&quot;+o.CHAR+&quot;]$&quot;,&quot;u&quot;),o.RESTRICTED_CHAR_RE=new RegExp(&quot;^[&quot;+o.RESTRICTED_CHAR+&quot;]$&quot;,&quot;u&quot;),o.S_RE=new RegExp(&quot;^[&quot;+o.S+&quot;]+$&quot;,&quot;u&quot;),o.NAME_START_CHAR_RE=new RegExp(&quot;^[&quot;+o.NAME_START_CHAR+&quot;]$&quot;,&quot;u&quot;),o.NAME_CHAR_RE=new RegExp(&quot;^[&quot;+o.NAME_CHAR+&quot;]$&quot;,&quot;u&quot;),o.NAME_RE=new RegExp(&quot;^[&quot;+o.NAME_START_CHAR+&quot;][&quot;+o.NAME_CHAR+&quot;]*$&quot;,&quot;u&quot;),o.NMTOKEN_RE=new RegExp(&quot;^[&quot;+o.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}o.S_LIST=[32,10,13,9],o.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},o.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},o.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},o.isS=function(a){return a===32||a===10||a===13||a===9},o.isNameStartChar=i,o.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,o){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(o,&quot;__esModule&quot;,{value:!0}),o.NC_NAME_START_CHAR=&quot;A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿&quot;,o.NC_NAME_CHAR=&quot;-&quot;+o.NC_NAME_START_CHAR+&quot;.0-9·̀-ͯ‿-⁀&quot;,o.NC_NAME_START_CHAR_RE=new RegExp(&quot;^[&quot;+o.NC_NAME_START_CHAR+&quot;]$&quot;,&quot;u&quot;),o.NC_NAME_CHAR_RE=new RegExp(&quot;^[&quot;+o.NC_NAME_CHAR+&quot;]$&quot;,&quot;u&quot;),o.NC_NAME_RE=new RegExp(&quot;^[&quot;+o.NC_NAME_START_CHAR+&quot;][&quot;+o.NC_NAME_CHAR+&quot;]*$&quot;,&quot;u&quot;),o.isNCNameStartChar=i,o.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)}))})(kv)),kv.exports}var Jre=Qre();const ene=rs(Jre);function Bh(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 m=s[c];if(m==null)return&quot;&quot;;const h=String(m);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;),l=URL.createObjectURL(a);u.setAttribute(&quot;href&quot;,l),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(l)}async function zh(e,r,t=&quot;Données&quot;,n){if(e.length===0){alert(&quot;Aucune donnée à exporter&quot;);return}const o=Object.keys(e[0]),i=new ene.Workbook,a=i.addWorksheet(t);a.addRow(o);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 d=o.map(g=&gt;{const y=h[g];return y??&quot;&quot;});a.addRow(d)}),o.forEach((h,d)=&gt;{const g=a.getColumn(d+1);g.width=Math.max(h.length+2,15)});const l=await i.xlsx.writeBuffer(),s=new Blob([l],{type:&quot;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet&quot;}),c=document.createElement(&quot;a&quot;),m=URL.createObjectURL(s);c.setAttribute(&quot;href&quot;,m),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(m)}function tne(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 rne(e){return e?e===&quot;homme&quot;?&quot;Homme&quot;:e===&quot;femme&quot;?&quot;Femme&quot;:e:&quot;&quot;}function nne(e){return e?{primaire:&quot;Primaire&quot;,secondaire_2:&quot;Secondaire 2e cycle&quot;,universitaire:&quot;Universitaire&quot;}[e]||e:&quot;&quot;}function ine(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 sne(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;}[e]||e:&quot;&quot;}function ane(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 one(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 jS(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;:one(t),&quot;Méthode de paiement&quot;:ane(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;:tne(t.seminar_marital_status),&quot;Âge (séminaire)&quot;:t.seminar_age??&quot;&quot;,&quot;Genre (séminaire)&quot;:rne(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;:nne(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;:ine(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;:sne(n.seminar_confession_religieuse),&quot;Fardeau de transformation (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 SS(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 kS(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 NS(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 lne(){const[e,r]=Uh(),t=e.get(&quot;view&quot;),n=t===&quot;seminar&quot;||t===&quot;recommendations&quot;?t:&quot;summit&quot;,o=Ss(),{isAuthenticated:i,isParticipant:a,loading:u,can:l,roles:s}=ks(),[c,m]=q.useState({}),[h,d]=q.useState(1),[g,y]=q.useState(20),[p,b]=q.useState(1),[x,_]=q.useState(20),[E,M]=q.useState(null),[D,W]=q.useState(null),[L,V]=q.useState(!1),[H,K]=q.useState(!1),[z,O]=q.useState(!1),[I,C]=q.useState(!1),[j,k]=q.useState(!1),[S,N]=q.useState(!1),[T,R]=q.useState(!1),[B,Y]=q.useState(null),{events:Q}=Kh(),ne=q.useMemo(()=&gt;Q.filter(Me=&gt;Me.event_type===&quot;summit&quot;).map(Me=&gt;Me.id),[Q]),U=q.useMemo(()=&gt;Q.filter(Me=&gt;Me.event_type===&quot;seminar&quot;).map(Me=&gt;Me.id),[Q]),ee=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;),F=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;),P=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;),X=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;),re=ee||X?!1:l(&quot;registrations.read&quot;),Z=F||P?!1:l(&quot;registrations.read&quot;),te=ee||P?!1:l(&quot;recommendations.read&quot;),ae=re||Z||te,ce=l(&quot;registrations.update_status&quot;),fe=l(&quot;registrations.send_to_correction&quot;),se=l(&quot;registrations.update&quot;),ue=l(&quot;registrations.delete&quot;),ie=l(&quot;registrations.export&quot;),he=(n===&quot;summit&quot;||n===&quot;seminar&quot;)&amp;&amp;s.includes(&quot;COMMISSION_COMMUNICATION&quot;),ge=s.includes(&quot;COMMISSION_ADMINISTRATION&quot;)&amp;&amp;!s.includes(&quot;SUPER_ADMIN&quot;),pe=s.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;)&amp;&amp;!s.includes(&quot;SUPER_ADMIN&quot;),le=ge&amp;&amp;n===&quot;seminar&quot;||pe&amp;&amp;n===&quot;summit&quot;,_e=le?!1:ce,Se=le?!1:se,Oe=le?!1:ue,Pe=ce&amp;&amp;!(ge&amp;&amp;E?.event?.event_type===&quot;seminar&quot;)&amp;&amp;!(pe&amp;&amp;E?.event?.event_type===&quot;summit&quot;);q.useEffect(()=&gt;{const Me=[];re&amp;&amp;Me.push(&quot;summit&quot;),Z&amp;&amp;Me.push(&quot;seminar&quot;),te&amp;&amp;Me.push(&quot;recommendations&quot;),Me.length&gt;0&amp;&amp;!Me.includes(n)&amp;&amp;r({view:Me[0]},{replace:!0})},[re,Z,te,n,r]);const Ie=q.useMemo(()=&gt;{const Me={...c,page:h,per_page:g};return n===&quot;summit&quot;&amp;&amp;ne.length&gt;0?(Me.event_type=&quot;summit&quot;,ne.length===1?Me.event_id=ne[0]:c.event_id&amp;&amp;!ne.includes(c.event_id)&amp;&amp;(Me.event_id=void 0)):n===&quot;seminar&quot;&amp;&amp;U.length&gt;0&amp;&amp;(Me.event_type=&quot;seminar&quot;,U.length===1?Me.event_id=U[0]:c.event_id&amp;&amp;!U.includes(c.event_id)&amp;&amp;(Me.event_id=void 0)),Me},[c,h,g,n,ne,U]),{data:Ve,loading:Qe,error:Ke,refetch:it}=zL(Ie,ae&amp;&amp;i&amp;&amp;(n===&quot;summit&quot;||n===&quot;seminar&quot;)),Ge=q.useMemo(()=&gt;{const Me={created_from:c.created_from,created_to:c.created_to};return n===&quot;summit&quot;&amp;&amp;ne.length&gt;0?ne.length===1?Me.event_id=ne[0]:Me.event_type=&quot;summit&quot;:n===&quot;seminar&quot;&amp;&amp;U.length&gt;0?U.length===1?Me.event_id=U[0]:Me.event_type=&quot;seminar&quot;:Ie.event_id&amp;&amp;(Me.event_id=Ie.event_id),Me},[n,ne,U,c.created_from,c.created_to,Ie.event_id]),{data:$e,loading:Je,refetch:tt}=$L(Ge,ae&amp;&amp;i&amp;&amp;(n===&quot;summit&quot;||n===&quot;seminar&quot;)),{data:Ye,loading:Tt,error:qt,refetch:ct}=UL({status:c.status,q:c.q,created_from:c.created_from,created_to:c.created_to,page:p,per_page:x},te&amp;&amp;i),Rt=async()=&gt;{R(!0);try{const Me=[it(),tt()];te&amp;&amp;Me.push(ct()),await Promise.all(Me)}finally{R(!1)}};if(u)return f.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})});if(!i)return f.jsx(ei,{to:&quot;/login&quot;,replace:!0});if(a)return f.jsx(ei,{to:&quot;/account&quot;,replace:!0});if(!ae)return f.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center max-w-md&quot;,children:[f.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-semibold text-ink-900 mb-4&quot;,children:&quot;Accès non autorisé&quot;}),f.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(Ke){if(Ke.status===403&amp;&amp;(l(&quot;finance.dashboard&quot;)||l(&quot;payments.read&quot;)))return o(&quot;/admin/finance&quot;,{replace:!0}),null;const Me=Ke.status===401?&quot;Vous devez être connecté pour accéder à cette page.&quot;:Ke.status===403?&quot;Vous n&#039;avez pas les permissions nécessaires.&quot;:Ke.data?.message||&quot;Une erreur est survenue.&quot;;return f.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center max-w-md&quot;,children:[f.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-semibold text-ink-900 mb-4&quot;,children:&quot;Erreur&quot;}),f.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mb-4&quot;,children:Me}),f.jsx(Fe,{variant:&quot;primary&quot;,onClick:()=&gt;window.location.reload(),children:&quot;Recharger la page&quot;})]})})}const mt=Me=&gt;{M(Me),V(!0)},St=Me=&gt;{M(Me),K(!0)},Zt=Me=&gt;{M(Me),O(!0)},Ut=Me=&gt;{M(Me),C(!0)},at=()=&gt;{it(),tt(),E&amp;&amp;(V(!1),V(!0))},Dt=()=&gt;{it(),tt(),E&amp;&amp;(V(!1),V(!0))},Xt=()=&gt;{it(),tt(),M(null)},xt=async Me=&gt;{Y(Me.id);try{await ko.resendActivationEmail(Me.id),alert(&quot;Email d’activation renvoyé. Le participant recevra le lien pour confirmer et choisir son mot de passe.&quot;)}catch(Pt){if(Pt instanceof mr){const Vt=Pt.data.errors?.status?.[0]||Pt.data.errors?.registration?.[0]||Pt.data.message;alert(Vt||Pt.message)}else alert(&quot;Erreur lors de l’envoi de l’email.&quot;)}finally{Y(null)}},zt=Me=&gt;{d(Me),window.scrollTo({top:0,behavior:&quot;smooth&quot;})},Lt=Me=&gt;{y(Me),d(1)},vt=Me=&gt;{W(Me),console.log(&quot;Recommandation sélectionnée:&quot;,Me),alert(`Recommandation #${Me.id}

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

Recommandeur: ${Me.recommender_first_name} ${Me.recommender_last_name} (${Me.recommender_email})`)},ve=Me=&gt;{W(Me),k(!0)},je=()=&gt;{ct()},Ae=l(&quot;recommendations.delete&quot;),Ue=l(&quot;recommendations.update_status&quot;),ft=Me=&gt;{confirm(`Supprimer la recommandation pour ${Me.recommended_full_name} ? Cette action est irréversible.`)&amp;&amp;nu.delete(Me.id).then(()=&gt;ct()).catch(Pt=&gt;{alert(Pt?.data?.message??&quot;Erreur lors de la suppression.&quot;)})},We=Me=&gt;{b(Me),window.scrollTo({top:0,behavior:&quot;smooth&quot;})},wt=Me=&gt;{_(Me),b(1)},pt=async()=&gt;{const Me=[];let Pt=1,Vt=!0;for(;Vt;)try{const er=await ko.list({...Ie,page:Pt,per_page:100});Me.push(...er.data),Pt&gt;=er.meta.last_page?Vt=!1:Pt++}catch(er){throw console.error(&quot;Erreur lors de la récupération des inscriptions:&quot;,er),er}return Me},rt=async()=&gt;{const Me=[];let Pt=1,Vt=!0;for(;Vt;)try{const er=await nu.list({status:c.status,q:c.q,created_from:c.created_from,created_to:c.created_to,page:Pt,per_page:100});Me.push(...er.data),Pt&gt;=er.meta.last_page?Vt=!1:Pt++}catch(er){throw console.error(&quot;Erreur lors de la récupération des recommandations:&quot;,er),er}return Me},kt=async()=&gt;{N(!0);try{const Me=await pt(),Vt=jS(Me,n===&quot;summit&quot;||n===&quot;seminar&quot;?n:void 0),de=`inscriptions_${n===&quot;summit&quot;?&quot;sommet&quot;:&quot;seminaire&quot;}_${new Date().toISOString().split(&quot;T&quot;)[0]}`;Bh(Vt,de)}catch(Me){alert(&quot;Erreur lors de l&#039;export CSV: &quot;+(Me instanceof Error?Me.message:&quot;Erreur inconnue&quot;))}finally{N(!1)}},_t=async()=&gt;{N(!0);try{const Me=await pt(),Vt=jS(Me,n===&quot;summit&quot;||n===&quot;seminar&quot;?n:void 0),de=`inscriptions_${n===&quot;summit&quot;?&quot;sommet&quot;:&quot;seminaire&quot;}_${new Date().toISOString().split(&quot;T&quot;)[0]}`;await zh(Vt,de,n===&quot;summit&quot;?&quot;Inscriptions Sommet&quot;:&quot;Inscriptions Séminaire&quot;)}catch(Me){alert(&quot;Erreur lors de l&#039;export XLSX: &quot;+(Me instanceof Error?Me.message:&quot;Erreur inconnue&quot;))}finally{N(!1)}},At=async()=&gt;{N(!0);try{const Me=await rt(),Pt=SS(Me),Vt=`recommandations_${new Date().toISOString().split(&quot;T&quot;)[0]}`;Bh(Pt,Vt)}catch(Me){alert(&quot;Erreur lors de l&#039;export CSV: &quot;+(Me instanceof Error?Me.message:&quot;Erreur inconnue&quot;))}finally{N(!1)}},Jt=async()=&gt;{N(!0);try{const Me=await rt(),Pt=SS(Me),Vt=`recommandations_${new Date().toISOString().split(&quot;T&quot;)[0]}`;await zh(Pt,Vt,&quot;Recommandations&quot;)}catch(Me){alert(&quot;Erreur lors de l&#039;export XLSX: &quot;+(Me instanceof Error?Me.message:&quot;Erreur inconnue&quot;))}finally{N(!1)}};return f.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex flex-col&quot;,children:[f.jsx(Xh,{showRefresh:!0,refreshing:T,onRefresh:Rt}),f.jsxs(&quot;div&quot;,{className:&quot;flex flex-1&quot;,children:[f.jsx(Gh,{currentSection:&quot;registrations&quot;,registrationView:n,showSommet:re,showSeminar:Z,showRecommendations:te,showUsers:!1,showFinance:P||X?!1:l(&quot;finance.dashboard&quot;)||l(&quot;payments.read&quot;),showSettings:ee||F||P||X?!1:l(&quot;settings.read&quot;)||l(&quot;settings.update&quot;)}),f.jsxs(&quot;main&quot;,{className:&quot;flex-1 w-full lg:ml-48 pb-16 lg:pb-0&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;w-full px-4 sm:px-6 lg:px-8 py-6 lg:py-8&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;mb-8 flex items-center justify-between&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;h2&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:[n===&quot;summit&quot;&amp;&amp;&quot;Inscriptions Sommet&quot;,n===&quot;seminar&quot;&amp;&amp;&quot;Inscriptions Séminaire&quot;,n===&quot;recommendations&quot;&amp;&amp;&quot;Recommandations Séminaire&quot;]}),f.jsxs(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:[n===&quot;summit&quot;&amp;&amp;&quot;Gérez et suivez toutes les inscriptions au Sommet&quot;,n===&quot;seminar&quot;&amp;&amp;&quot;Gérez et suivez toutes les inscriptions au Séminaire&quot;,n===&quot;recommendations&quot;&amp;&amp;&quot;Gérez et suivez toutes les recommandations pour le séminaire&quot;]})]}),f.jsx(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:(n===&quot;summit&quot;||n===&quot;seminar&quot;)&amp;&amp;!he?ie&amp;&amp;!(ge&amp;&amp;n===&quot;seminar&quot;)&amp;&amp;!(pe&amp;&amp;n===&quot;summit&quot;)?f.jsxs(f.Fragment,{children:[f.jsxs(Fe,{variant:&quot;outline&quot;,onClick:kt,disabled:S,className:&quot;flex items-center gap-2&quot;,children:[f.jsx(tu,{size:18}),f.jsx(&quot;span&quot;,{className:&quot;hidden sm:inline&quot;,children:S?&quot;Export...&quot;:&quot;Export CSV&quot;})]}),f.jsxs(Fe,{variant:&quot;outline&quot;,onClick:_t,disabled:S,className:&quot;flex items-center gap-2&quot;,children:[f.jsx(j3,{size:18}),f.jsx(&quot;span&quot;,{className:&quot;hidden sm:inline&quot;,children:S?&quot;Export...&quot;:&quot;Export XLSX&quot;})]})]}):null:n===&quot;recommendations&quot;&amp;&amp;!ge&amp;&amp;Ue?f.jsxs(f.Fragment,{children:[f.jsxs(Fe,{variant:&quot;outline&quot;,onClick:At,disabled:S,className:&quot;flex items-center gap-2&quot;,children:[f.jsx(tu,{size:18}),f.jsx(&quot;span&quot;,{className:&quot;hidden sm:inline&quot;,children:S?&quot;Export...&quot;:&quot;Export CSV&quot;})]}),f.jsxs(Fe,{variant:&quot;outline&quot;,onClick:Jt,disabled:S,className:&quot;flex items-center gap-2&quot;,children:[f.jsx(j3,{size:18}),f.jsx(&quot;span&quot;,{className:&quot;hidden sm:inline&quot;,children:S?&quot;Export...&quot;:&quot;Export XLSX&quot;})]})]}):null})]}),(n===&quot;summit&quot;||n===&quot;seminar&quot;)&amp;&amp;!he&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;mb-8&quot;,children:f.jsx(Zre,{stats:$e,loading:Je})}),f.jsx(&quot;div&quot;,{className:&quot;mb-6&quot;,children:f.jsx(uF,{filters:c,onFiltersChange:m,hideEventFilter:n===&quot;summit&quot;||n===&quot;seminar&quot;})}),n===&quot;summit&quot;||n===&quot;seminar&quot;?f.jsxs(f.Fragment,{children:[f.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[Ke&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-xl p-4 mb-4&quot;,children:f.jsxs(&quot;p&quot;,{className:&quot;text-sm text-red-800&quot;,children:[&quot;Erreur lors du chargement des inscriptions: &quot;,Ke.data?.message||Ke.message||&quot;Une erreur est survenue&quot;]})}),he?f.jsx(hF,{registrations:Ve?.data??[],loading:Qe}):f.jsx(fF,{registrations:Ve?.data||[],loading:Qe,eventType:n===&quot;summit&quot;||n===&quot;seminar&quot;?n:void 0,onViewDetails:mt,onUpdateStatus:_e?St:void 0,onEdit:Se?Zt:void 0,onDelete:Oe?Ut:void 0,onResendActivation:Se?xt:void 0,canUpdateStatus:_e,canEdit:Se,canDelete:Oe,canResendActivation:Se,resendingActivationId:B})]}),Ve?.meta&amp;&amp;Ve.meta.last_page&gt;1&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-4 flex items-center justify-between mb-8&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-4&quot;,children:[f.jsxs(&quot;span&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[&quot;Affichage de &quot;,Ve.meta.from,&quot; à &quot;,Ve.meta.to,&quot; sur&quot;,&quot; &quot;,Ve.meta.total,&quot; inscriptions&quot;]}),f.jsxs(&quot;select&quot;,{value:g,onChange:Me=&gt;Lt(Number(Me.target.value)),className:&quot;px-3 py-1 border border-gray-300 rounded-lg text-sm&quot;,children:[f.jsx(&quot;option&quot;,{value:20,children:&quot;20 par page&quot;}),f.jsx(&quot;option&quot;,{value:50,children:&quot;50 par page&quot;}),f.jsx(&quot;option&quot;,{value:100,children:&quot;100 par page&quot;})]})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[f.jsx(Fe,{variant:&quot;outline&quot;,onClick:()=&gt;zt(h-1),disabled:h===1,children:&quot;Précédent&quot;}),f.jsxs(&quot;span&quot;,{className:&quot;text-sm text-ink-500 px-4&quot;,children:[&quot;Page &quot;,h,&quot; sur &quot;,Ve.meta.last_page]}),f.jsx(Fe,{variant:&quot;outline&quot;,onClick:()=&gt;zt(h+1),disabled:h&gt;=Ve.meta.last_page,children:&quot;Suivant&quot;})]})]})]}):f.jsxs(f.Fragment,{children:[f.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[qt&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-xl p-4 mb-4&quot;,children:f.jsxs(&quot;p&quot;,{className:&quot;text-sm text-red-800&quot;,children:[&quot;Erreur lors du chargement des recommandations: &quot;,qt.message]})}),f.jsx(mF,{recommendations:Ye?.data||[],loading:Tt,onViewDetails:vt,onTreat:Ue&amp;&amp;!ge?ve:void 0,onDelete:ft,canDelete:ge?!1:Ae})]}),Ye?.meta&amp;&amp;Ye.meta.last_page&gt;1&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-4 flex items-center justify-between&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-4&quot;,children:[f.jsxs(&quot;span&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[&quot;Affichage de &quot;,Ye.meta.from,&quot; à &quot;,Ye.meta.to,&quot; sur&quot;,&quot; &quot;,Ye.meta.total,&quot; recommandations&quot;]}),f.jsxs(&quot;select&quot;,{value:x,onChange:Me=&gt;wt(Number(Me.target.value)),className:&quot;px-3 py-1 border border-gray-300 rounded-lg text-sm&quot;,children:[f.jsx(&quot;option&quot;,{value:20,children:&quot;20 par page&quot;}),f.jsx(&quot;option&quot;,{value:50,children:&quot;50 par page&quot;}),f.jsx(&quot;option&quot;,{value:100,children:&quot;100 par page&quot;})]})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[f.jsx(Fe,{variant:&quot;outline&quot;,onClick:()=&gt;We(p-1),disabled:p===1,children:&quot;Précédent&quot;}),f.jsxs(&quot;span&quot;,{className:&quot;text-sm text-ink-500 px-4&quot;,children:[&quot;Page &quot;,p,&quot; sur &quot;,Ye.meta.last_page]}),f.jsx(Fe,{variant:&quot;outline&quot;,onClick:()=&gt;We(p+1),disabled:p&gt;=Ye.meta.last_page,children:&quot;Suivant&quot;})]})]})]})]}),f.jsx(pF,{registration:E,isOpen:L,onClose:()=&gt;{V(!1),M(null)},onUpdateStatus:Pe?St:void 0,canUpdateStatus:Pe}),f.jsx(gF,{registration:E,isOpen:H,onClose:()=&gt;{K(!1),M(null)},onSuccess:at,canSendToCorrection:fe}),f.jsx(vF,{registration:E,isOpen:z,onClose:()=&gt;{O(!1),M(null)},onSuccess:Dt}),f.jsx(yF,{registration:E,isOpen:I,onClose:()=&gt;{C(!1),M(null)},onSuccess:Xt}),f.jsx(xF,{recommendation:D,isOpen:j,onClose:()=&gt;{k(!1),W(null)},onSuccess:je})]})]})]})}function cne(){const{isAuthenticated:e,isParticipant:r,loading:t,can:n,roles:o}=ks(),i=o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),a=o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),u=o.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),l=o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),[s,c]=q.useState(&quot;&quot;),[m,h]=q.useState(&quot;&quot;),[d,g]=q.useState(&quot;&quot;),[y,p]=q.useState(!1),[b,x]=q.useState(!1),[_,E]=q.useState(!1),[M,D]=q.useState(null),[W,L]=q.useState({}),V=async H=&gt;{H.preventDefault(),D(null),L({}),E(!1),x(!0);try{await O8.changePassword({current_password:s,new_password:m,new_password_confirmation:d,revoke_other_tokens:y}),E(!0),c(&quot;&quot;),h(&quot;&quot;),g(&quot;&quot;)}catch(K){const z=K;if(D(z.data?.message??&quot;Erreur lors du changement de mot de passe.&quot;),z.data?.errors){const O={};for(const[I,C]of Object.entries(z.data.errors))O[I]=Array.isArray(C)?C[0]:String(C);L(O)}}finally{x(!1)}};return t?f.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):e?r?f.jsx(ei,{to:&quot;/account&quot;,replace:!0}):f.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex flex-col&quot;,children:[f.jsx(Xh,{}),f.jsxs(&quot;div&quot;,{className:&quot;flex flex-1&quot;,children:[f.jsx(Gh,{currentSection:&quot;account&quot;,showSommet:i||l?!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||l?!1:n(&quot;finance.dashboard&quot;)||n(&quot;payments.read&quot;),showSettings:i||a||u||l?!1:n(&quot;settings.read&quot;)||n(&quot;settings.update&quot;)}),f.jsx(&quot;main&quot;,{className:&quot;flex-1 w-full lg:ml-48 pb-16 lg:pb-0&quot;,children:f.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:[f.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-bold text-ink-900 mb-2&quot;,children:&quot;Mon compte&quot;}),f.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;}),f.jsxs(ln,{className:&quot;p-6&quot;,children:[_&amp;&amp;f.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;}),M&amp;&amp;f.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:M}),f.jsxs(&quot;form&quot;,{onSubmit:V,className:&quot;space-y-4&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Mot de passe actuel&quot;}),f.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:s,onChange:H=&gt;c(H.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;}),W.current_password&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:W.current_password})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nouveau mot de passe&quot;}),f.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:m,onChange:H=&gt;h(H.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;}),W.new_password&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:W.new_password})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:d,onChange:H=&gt;g(H.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;})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,id:&quot;revoke&quot;,checked:y,onChange:H=&gt;p(H.target.checked),className:&quot;rounded border-gray-300&quot;}),f.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;})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 pt-4&quot;,children:[f.jsx(Fe,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:b,children:b?&quot;Enregistrement...&quot;:&quot;Changer le mot de passe&quot;}),f.jsx(xr,{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;})]})]})]})]})})]})]}):f.jsx(ei,{to:&quot;/login&quot;,replace:!0})}const VE=&quot;fr-FR&quot;,qE=new Intl.NumberFormat(VE,{useGrouping:!0,maximumFractionDigits:0,minimumFractionDigits:0}),une=new Intl.NumberFormat(VE,{useGrouping:!0,minimumFractionDigits:2,maximumFractionDigits:2});function WE(e){return e.replace(/\u202f/g,&quot; &quot;).replace(/\u2009/g,&quot; &quot;)}function HE(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 on(e){const r=HE(e);return r===null?&quot;—&quot;:`${WE(qE.format(Math.trunc(r)))} XOF`}function dne(e,r){const t=HE(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=WE(n===&quot;EUR&quot;?une.format(t):qE.format(Math.trunc(t)));return n?`${i} ${n}`:i}function lb(e,r){const t=r!=null?String(r).trim().toUpperCase():&quot;&quot;;return t===&quot;XOF&quot;||t===&quot;FCFA&quot;?on(e):dne(e,r)}function fne({hasSelectedEvent:e,readOnly:r,alerts:t,table:n,writable:o}){const{linesError:i,saveMessage:a}=t,{lines:u,loading:l,totals:s,moveLineLoading:c,onMoveUp:m,onMoveDown:h,onOpenEdit:d,onDelete:g}=n;return f.jsxs(f.Fragment,{children:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 tracking-tight&quot;,children:&quot;Budget&quot;}),f.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?f.jsxs(f.Fragment,{children:[i&amp;&amp;f.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:i}),a&amp;&amp;f.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:a}),f.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden mb-6 shadow-sm&quot;,children:[f.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto -mx-4 px-4 sm:mx-0 sm:px-0&quot;,children:f.jsxs(&quot;table&quot;,{className:&quot;w-full text-left min-w-[640px]&quot;,children:[f.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:f.jsxs(&quot;tr&quot;,{children:[f.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;}),f.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;}),f.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;}),f.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;}),f.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;}),f.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;})]})}),f.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:l?f.jsx(&quot;tr&quot;,{children:f.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;})}):u.length===0?f.jsx(&quot;tr&quot;,{children:f.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;})}):u.map(y=&gt;f.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50/80&quot;,children:[f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium text-ink-900&quot;,children:y.category_name}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:y.category_type===&quot;revenue&quot;?&quot;Recettes&quot;:y.category_type===&quot;expense&quot;?&quot;Dépenses&quot;:&quot;—&quot;}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700 max-w-[200px] truncate&quot;,title:y.label??void 0,children:y.label??&quot;—&quot;}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-900 text-right tabular-nums whitespace-nowrap&quot;,children:on(y.amount_planned)}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-900 text-right tabular-nums whitespace-nowrap&quot;,children:on(y.amount_realized)}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:!r&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-0.5 flex-wrap&quot;,children:[f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;m(y),disabled:!!c||u[0]?.id===y.id,className:&quot;p-1.5 text-ink-500 hover:text-brand-700 hover:bg-brand-50 rounded disabled:opacity-50&quot;,title:&quot;Monter la ligne&quot;,&quot;aria-label&quot;:&quot;Monter la ligne&quot;,children:f.jsx(kD,{size:16,&quot;aria-hidden&quot;:!0})}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;h(y),disabled:!!c||u[u.length-1]?.id===y.id,className:&quot;p-1.5 text-ink-500 hover:text-brand-700 hover:bg-brand-50 rounded disabled:opacity-50&quot;,title:&quot;Descendre la ligne&quot;,&quot;aria-label&quot;:&quot;Descendre la ligne&quot;,children:f.jsx(bD,{size:16,&quot;aria-hidden&quot;:!0})}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;d(y),className:&quot;p-1.5 text-ink-500 hover:text-brand-700 hover:bg-brand-50 rounded&quot;,title:&quot;Modifier la ligne&quot;,&quot;aria-label&quot;:&quot;Modifier la ligne&quot;,children:f.jsx($f,{size:16,&quot;aria-hidden&quot;:!0})}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;g(y),className:&quot;p-1.5 text-ink-500 hover:text-red-600 hover:bg-red-50 rounded&quot;,title:&quot;Supprimer la ligne&quot;,&quot;aria-label&quot;:&quot;Supprimer la ligne&quot;,children:f.jsx(Rr,{size:16,&quot;aria-hidden&quot;:!0})})]})})]},y.id))})]})}),u.length&gt;0&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;border-t border-gray-200 divide-y divide-gray-200&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;bg-amber-50/50 px-4 py-4&quot;,children:[f.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;}),f.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-x-8 gap-y-2 text-sm&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-medium&quot;,children:&quot;Total Recettes (prévu) :&quot;}),&quot; &quot;,f.jsx(&quot;span&quot;,{className:&quot;font-semibold text-ink-900 tabular-nums whitespace-nowrap&quot;,children:on(s.totalRevenuePlanned)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-medium&quot;,children:&quot;Total Dépenses (prévu) :&quot;}),&quot; &quot;,f.jsx(&quot;span&quot;,{className:&quot;font-semibold text-ink-900 tabular-nums whitespace-nowrap&quot;,children:on(s.totalExpensePlanned)})]})]}),f.jsx(&quot;div&quot;,{className:&quot;mt-3 pt-3 border-t border-amber-200&quot;,children:s.shortfall&gt;0?f.jsxs(&quot;p&quot;,{className:&quot;text-amber-800 font-medium tabular-nums whitespace-nowrap&quot;,children:[&quot;Fonds à rechercher : &quot;,on(s.shortfall)]}):s.surplus&gt;0?f.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;,on(s.surplus)]}):f.jsx(&quot;p&quot;,{className:&quot;text-ink-600 font-medium&quot;,children:&quot;Budget prévu équilibré.&quot;})})]}),f.jsxs(&quot;div&quot;,{className:&quot;bg-green-50/50 px-4 py-4&quot;,children:[f.jsx(&quot;p&quot;,{className:&quot;text-xs font-semibold text-ink-600 uppercase tracking-wider mb-3&quot;,children:&quot;Réalisation&quot;}),f.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap gap-x-8 gap-y-2 text-sm&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-medium&quot;,children:&quot;Total Recettes (réalisé) :&quot;}),&quot; &quot;,f.jsx(&quot;span&quot;,{className:&quot;font-semibold text-ink-900 tabular-nums&quot;,children:on(s.totalRevenueRealized)})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;span&quot;,{className:&quot;text-ink-500 font-medium&quot;,children:&quot;Total Dépenses (réalisé) :&quot;}),&quot; &quot;,f.jsx(&quot;span&quot;,{className:&quot;font-semibold text-ink-900 tabular-nums&quot;,children:on(s.totalExpenseRealized)})]})]}),f.jsxs(&quot;div&quot;,{className:&quot;mt-3 pt-3 border-t border-green-200&quot;,children:[f.jsx(&quot;span&quot;,{className:&quot;text-ink-600 font-medium&quot;,children:&quot;Solde : &quot;}),f.jsx(&quot;span&quot;,{className:`font-semibold tabular-nums whitespace-nowrap ${s.totalRevenueRealized-s.totalExpenseRealized&gt;=0?&quot;text-green-800&quot;:&quot;text-amber-800&quot;}`,children:on(s.totalRevenueRealized-s.totalExpenseRealized)})]})]})]})]}),o&amp;&amp;f.jsxs(f.Fragment,{children:[f.jsxs(&quot;div&quot;,{className:&quot;p-4 sm:p-5 bg-gray-50 rounded-xl border border-gray-200 mb-4&quot;,children:[f.jsx(&quot;p&quot;,{className:&quot;text-sm font-semibold text-ink-800 mb-3&quot;,children:&quot;Nouvelle ligne de budget&quot;}),f.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-12 gap-4 items-end&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-3&quot;,children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Catégorie&quot;}),f.jsxs(&quot;select&quot;,{value:o.addLine.categoryId,onChange:y=&gt;o.addLine.onCategoryChange(y.target.value===&quot;&quot;?&quot;&quot;:Number(y.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:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir -&quot;}),o.addLine.categories.map(y=&gt;f.jsx(&quot;option&quot;,{value:y.id,children:y.name},y.id))]})]}),f.jsxs(&quot;div&quot;,{className:&quot;lg:col-span-4&quot;,children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Libellé (optionnel)&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:o.addLine.label,onChange:y=&gt;o.addLine.onLabelChange(y.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;})]}),f.jsxs(&quot;div&quot;,{className:&quot;sm:max-w-[12rem] lg:col-span-2&quot;,children:[f.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;}),f.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:0,value:o.addLine.amount||&quot;&quot;,onChange:y=&gt;o.addLine.onAmountChange(parseInt(y.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;})]}),f.jsx(&quot;div&quot;,{className:&quot;lg:col-span-3 flex sm:justify-start&quot;,children:f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:o.addLine.onSubmit,disabled:o.addLine.submitting,className:&quot;w-full sm:w-auto min-h-[42px]&quot;,children:o.addLine.submitting?&quot;Ajout en cours…&quot;:&quot;Ajouter une ligne&quot;})})]})]}),o.addLine.error&amp;&amp;f.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:o.addLine.error}),f.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:[f.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:o.exportBar.onExportCsv,disabled:!!o.exportBar.exportFinanceLoading||o.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:[f.jsx(So,{size:14,&quot;aria-hidden&quot;:!0}),o.exportBar.exportFinanceLoading===&quot;budget-csv&quot;?&quot;Export…&quot;:&quot;Export CSV&quot;]}),f.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:o.exportBar.onExportXlsx,disabled:!!o.exportBar.exportFinanceLoading||o.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:[f.jsx(So,{size:14,&quot;aria-hidden&quot;:!0}),o.exportBar.exportFinanceLoading===&quot;budget-xlsx&quot;?&quot;Export…&quot;:&quot;Export XLSX&quot;]}),f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:o.exportBar.onSave,className:&quot;min-h-[42px]&quot;,children:&quot;Enregistrer le budget&quot;})]})]})]}):f.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;,f.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 hne({payments:e,readOnly:r,receipt:t}){const{error:n,actionPending:o,isLoading:i,onDownloadReceipt:a,onIssueReceipt:u,onSendReceiptEmail:l}=t;return f.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:[f.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 confirmés — Reçus&quot;}),n&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;mx-4 mt-3 bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:f.jsx(&quot;p&quot;,{className:&quot;text-xs text-red-700&quot;,children:n})}),f.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto -mx-4 px-4 sm:mx-0 sm:px-0&quot;,children:f.jsxs(&quot;table&quot;,{className:&quot;w-full text-sm min-w-[640px]&quot;,children:[f.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:f.jsxs(&quot;tr&quot;,{children:[f.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;}),f.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;}),f.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;}),f.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;}),f.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;})]})}),f.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:e.map(s=&gt;f.jsxs(&quot;tr&quot;,{className:&quot;align-middle hover:bg-gray-50/60&quot;,children:[f.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-900&quot;,children:[f.jsxs(&quot;span&quot;,{className:&quot;font-medium&quot;,children:[s.registration?.first_name,&quot; &quot;,s.registration?.last_name]}),s.registration?.email&amp;&amp;f.jsx(&quot;span&quot;,{className:&quot;block text-xs text-ink-500 truncate max-w-[200px]&quot;,title:s.registration.email,children:s.registration.email})]}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 whitespace-nowrap tabular-nums font-medium text-ink-900&quot;,children:lb(s.amount,s.currency)}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-600 whitespace-nowrap text-sm&quot;,children:s.paid_at?new Date(s.paid_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;—&quot;}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:s.receipt?f.jsx(&quot;span&quot;,{className:&quot;text-xs font-mono text-ink-700&quot;,children:s.receipt.receipt_number}):f.jsx(&quot;span&quot;,{className:&quot;text-ink-400 text-xs&quot;,children:&quot;Non émis&quot;})}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:r?f.jsx(&quot;span&quot;,{className:&quot;text-ink-400 text-xs&quot;,children:&quot;—&quot;}):f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-1 flex-wrap&quot;,children:[s.receipt?f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;a(s.receipt.id,s.receipt.receipt_number),disabled:o,title:i(`receipt-${s.receipt.id}`,&quot;download&quot;)?&quot;Téléchargement...&quot;:&quot;Télécharger le PDF du reçu&quot;,&quot;aria-label&quot;:i(`receipt-${s.receipt.id}`,&quot;download&quot;)?&quot;Téléchargement du PDF&quot;:&quot;Télécharger le PDF du reçu&quot;,className:&quot;p-1.5 rounded-lg text-ink-600 hover:bg-gray-100 hover:text-ink-900 transition-colors disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:f.jsx(So,{size:16,&quot;aria-hidden&quot;:!0})}):f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;u(s.id),disabled:o,title:i(`payment-${s.id}`,&quot;issue&quot;)?&quot;Génération...&quot;:&quot;Générer le reçu PDF&quot;,&quot;aria-label&quot;:i(`payment-${s.id}`,&quot;issue&quot;)?&quot;Génération du reçu&quot;:&quot;Générer le reçu PDF&quot;,className:&quot;p-1.5 rounded-lg text-ink-600 hover:bg-gray-100 hover:text-ink-900 transition-colors disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:f.jsx(tu,{size:16,&quot;aria-hidden&quot;:!0})}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;l(s.id),disabled:o,title:i(`payment-${s.id}`,&quot;email&quot;)?&quot;Envoi...&quot;:&quot;Envoyer le reçu par email au participant&quot;,&quot;aria-label&quot;:i(`payment-${s.id}`,&quot;email&quot;)?&quot;Envoi du reçu par email&quot;:&quot;Envoyer le reçu par email au participant&quot;,className:&quot;p-1.5 rounded-lg text-ink-600 hover:bg-gray-100 hover:text-ink-900 transition-colors disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:f.jsx(ps,{size:16,&quot;aria-hidden&quot;:!0})})]})})]},s.id))})]})})]})}function mne({loading:e,rows:r,registrationsForPayment:t,readOnly:n,initPaymentModalOpen:o,meta:i,page:a,perPage:u,onPageChange:l,onPerPageChange:s,onInitPayment:c}){return f.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:[f.jsxs(&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 flex items-center gap-2&quot;,children:[f.jsx(Vf,{size:16,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Débiteurs (solde &gt; 0)&quot;]}),f.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto -mx-4 px-4 sm:mx-0 sm:px-0&quot;,children:f.jsxs(&quot;table&quot;,{className:&quot;w-full text-sm min-w-[560px]&quot;,children:[f.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:f.jsxs(&quot;tr&quot;,{children:[f.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;}),f.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;}),f.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;}),f.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;Statut&quot;}),f.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;})]})}),f.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:e?f.jsx(&quot;tr&quot;,{children:f.jsx(&quot;td&quot;,{colSpan:5,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?f.jsx(&quot;tr&quot;,{children:f.jsx(&quot;td&quot;,{colSpan:5,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(m=&gt;{const h=t.find(d=&gt;d.id===m.registration_id);return f.jsxs(&quot;tr&quot;,{className:&quot;align-middle hover:bg-gray-50/60&quot;,children:[f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-900 font-medium&quot;,children:m.name}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-600 truncate max-w-[180px]&quot;,title:m.email,children:m.email}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right font-semibold tabular-nums whitespace-nowrap text-ink-900&quot;,children:on(m.balance)}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:f.jsx(&quot;span&quot;,{className:&quot;px-2 py-0.5 rounded-md text-xs font-medium bg-amber-100 text-amber-900&quot;,children:m.status===&quot;draft&quot;?&quot;Brouillon&quot;:m.status===&quot;unpaid&quot;?&quot;Non payé&quot;:m.status===&quot;partial&quot;?&quot;Partiel&quot;:m.status})}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:h&amp;&amp;!n&amp;&amp;f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;c(h),disabled:o,title:&quot;Saisir un encaissement pour ce participant&quot;,&quot;aria-label&quot;:&quot;Initier un paiement pour ce débiteur&quot;,className:&quot;p-1.5 rounded-lg text-ink-600 hover:bg-gray-100 hover:text-ink-900 transition-colors disabled:opacity-50 disabled:cursor-not-allowed inline-flex&quot;,children:f.jsx(MD,{size:16,&quot;aria-hidden&quot;:!0})})})]},m.registration_id)})})]})}),i&amp;&amp;i.total&gt;0&amp;&amp;f.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:[f.jsx(&quot;span&quot;,{className:&quot;text-xs text-ink-500&quot;,children:i.last_page&gt;1&amp;&amp;i.from!=null&amp;&amp;i.to!=null?`Débiteurs ${i.from} à ${i.to} sur ${i.total}`:`Total : ${i.total} débiteur${i.total!==1?&quot;s&quot;:&quot;&quot;}`}),i.last_page&gt;1&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[f.jsxs(&quot;label&quot;,{className:&quot;text-xs text-ink-500 flex items-center gap-1&quot;,children:[&quot;Par page&quot;,f.jsx(&quot;select&quot;,{value:u,onChange:m=&gt;{s(Number(m.target.value)),l(1)},className:&quot;text-sm border border-gray-300 rounded px-2 py-0.5&quot;,children:[10,20,50].map(m=&gt;f.jsx(&quot;option&quot;,{value:m,children:m},m))})]}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:a&lt;=1,onClick:()=&gt;l(Math.max(1,a-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;}),f.jsxs(&quot;span&quot;,{className:&quot;text-xs text-ink-600&quot;,children:[&quot;Page &quot;,a,&quot; / &quot;,i.last_page]}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,disabled:a&gt;=i.last_page,onClick:()=&gt;l(a+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 pne({hasSelectedEvent:e,readOnly:r,alerts:t,exportRow:n,table:o,form:i}){const{error:a}=t,{rows:u,loading:l,onDelete:s}=o;return f.jsxs(f.Fragment,{children:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 tracking-tight&quot;,children:&quot;Dépenses&quot;}),f.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?f.jsxs(f.Fragment,{children:[a&amp;&amp;f.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;f.jsxs(&quot;div&quot;,{className:&quot;flex flex-wrap items-center gap-2 mb-3&quot;,children:[f.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:[f.jsx(So,{size:14,&quot;aria-hidden&quot;:!0}),n.exportFinanceLoading===&quot;expenses-csv&quot;?&quot;Export…&quot;:&quot;Export CSV&quot;]}),f.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:[f.jsx(So,{size:14,&quot;aria-hidden&quot;:!0}),n.exportFinanceLoading===&quot;expenses-xlsx&quot;?&quot;Export…&quot;:&quot;Export XLSX&quot;]})]}),f.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden mb-6 shadow-sm&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto -mx-4 px-4 sm:mx-0 sm:px-0&quot;,children:f.jsxs(&quot;table&quot;,{className:&quot;w-full text-left min-w-[720px]&quot;,children:[f.jsx(&quot;thead&quot;,{className:&quot;bg-brand-50/80 border-b border-gray-200&quot;,children:f.jsxs(&quot;tr&quot;,{children:[f.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;}),f.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;}),f.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;}),f.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;}),f.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;}),f.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;})]})}),f.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:l?f.jsx(&quot;tr&quot;,{children:f.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?f.jsx(&quot;tr&quot;,{children:f.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;f.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50/80&quot;,children:[f.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;}),f.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;}),f.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;}),f.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}),f.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:on(c.amount)}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-right&quot;,children:!r&amp;&amp;f.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:f.jsx(Rr,{size:16,&quot;aria-hidden&quot;:!0})})})]},c.id))})]})})}),f.jsxs(&quot;div&quot;,{className:&quot;p-4 sm:p-5 bg-gray-50 rounded-xl border border-gray-200 mb-4&quot;,children:[f.jsx(&quot;p&quot;,{className:&quot;text-sm font-semibold text-ink-800 mb-3&quot;,children:&quot;Nouvelle dépense&quot;}),f.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:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Date&quot;}),f.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;})]}),f.jsxs(&quot;div&quot;,{className:&quot;sm:col-span-2 lg:col-span-1 xl:col-span-1&quot;,children:[f.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;}),f.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:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir -&quot;}),i.budgetLines.map(c=&gt;f.jsx(&quot;option&quot;,{value:c.id,children:c.category_name??c.label??`Ligne #${c.id}`},c.id))]})]}),f.jsxs(&quot;div&quot;,{className:&quot;sm:col-span-2 lg:col-span-2&quot;,children:[f.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;}),f.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:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir -&quot;}),i.treasuryAccounts.map(c=&gt;f.jsxs(&quot;option&quot;,{value:c.id,children:[c.name,&quot; — &quot;,c.context_display]},c.id))]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Montant (XOF) *&quot;}),f.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;})]}),f.jsxs(&quot;div&quot;,{className:&quot;sm:col-span-2 xl:col-span-1&quot;,children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1.5&quot;,children:&quot;Libellé *&quot;}),f.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})]}),f.jsx(&quot;div&quot;,{className:&quot;sm:col-span-2 xl:col-span-1 flex xl:items-end&quot;,children:f.jsx(Fe,{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;f.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})]}):f.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;,f.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 gne({kpi:e}){return f.jsxs(&quot;section&quot;,{className:&quot;space-y-3&quot;,&quot;aria-label&quot;:&quot;Indicateurs clés&quot;,children:[f.jsx(&quot;h4&quot;,{className:&quot;text-xs font-semibold uppercase tracking-wider text-ink-500&quot;,children:&quot;Indicateurs&quot;}),f.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:[f.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:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:[f.jsx(ey,{size:16,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Total dû (inscriptions)&quot;]}),f.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-ink-900 tabular-nums whitespace-nowrap&quot;,children:on(e.total_due_registrations)})]}),f.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:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:[f.jsx(pL,{size:16,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Encaissé confirmé&quot;]}),f.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-green-700 tabular-nums whitespace-nowrap&quot;,children:on(e.total_confirmed_payments)})]}),f.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:[f.jsx(&quot;div&quot;,{className:&quot;text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:&quot;Reste à encaisser&quot;}),f.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-amber-700 tabular-nums whitespace-nowrap&quot;,children:on(e.remaining_to_collect)})]}),f.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:[f.jsx(&quot;div&quot;,{className:&quot;text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:&quot;Dons confirmés&quot;}),f.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-green-700 tabular-nums whitespace-nowrap&quot;,children:on(e.donations_confirmed_total)})]}),f.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:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:[f.jsx(Jv,{size:16,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;À valider&quot;]}),f.jsx(&quot;p&quot;,{className:&quot;text-xl font-bold text-ink-900 tabular-nums whitespace-nowrap&quot;,children:e.pending_review_count})]}),f.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:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2 text-ink-500 text-xs font-semibold uppercase tracking-wide&quot;,children:[f.jsx(Vf,{size:16,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Non soldés / partiels&quot;]}),f.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 vne({title:e,subtitle:r,showReadOnlyBanner:t}){return f.jsxs(f.Fragment,{children:[f.jsxs(&quot;header&quot;,{className:&quot;mb-8 pb-6 border-b border-gray-200&quot;,children:[f.jsx(&quot;h2&quot;,{className:&quot;text-3xl font-bold text-ink-900 tracking-tight&quot;,children:e}),f.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mt-2 text-base leading-relaxed max-w-3xl&quot;,children:r})]}),t&amp;&amp;f.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:[f.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 yne({activeTab:e,onTabChange:r,ariaLabel:t=&quot;Sections finance&quot;}){return f.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:[f.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:[f.jsx(oL,{size:18,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),f.jsx(&quot;span&quot;,{className:&quot;text-left&quot;,children:&quot;Validation recettes et dons&quot;})]}),f.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:[f.jsx(A8,{size:18,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Budget&quot;]}),f.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:[f.jsx(RD,{size:18,className:&quot;shrink-0&quot;,&quot;aria-hidden&quot;:!0}),&quot;Dépenses&quot;]})]})}function bne({pendingPayments:e,pendingDonations:r,readOnly:t,actionLoading:n,onConfirmPayment:o,onRejectPayment:i,onConfirmDonation:a,onRejectDonation:u}){return f.jsxs(&quot;section&quot;,{className:&quot;grid grid-cols-1 lg:grid-cols-2 gap-6 lg:gap-8&quot;,&quot;aria-label&quot;:&quot;Files d&#039;attente validation&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden flex flex-col&quot;,children:[f.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;}),f.jsx(&quot;div&quot;,{className:&quot;divide-y divide-gray-100 flex-1&quot;,children:e.length===0?f.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(l=&gt;f.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:[f.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[f.jsxs(&quot;p&quot;,{className:&quot;font-semibold text-ink-900&quot;,children:[l.registration?.first_name,&quot; &quot;,l.registration?.last_name]}),f.jsx(&quot;p&quot;,{className:&quot;text-sm text-ink-600 tabular-nums whitespace-nowrap mt-0.5&quot;,children:lb(l.amount,l.currency)})]}),!t&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 shrink-0 justify-end&quot;,children:[f.jsx(Fe,{variant:&quot;primary&quot;,onClick:()=&gt;o(l),disabled:n,title:&quot;Confirmer ce paiement&quot;,&quot;aria-label&quot;:&quot;Confirmer ce paiement&quot;,className:&quot;p-1.5&quot;,children:f.jsx(w3,{size:16,&quot;aria-hidden&quot;:!0})}),f.jsx(Fe,{variant:&quot;outline&quot;,onClick:()=&gt;i(l),disabled:n,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:f.jsx(Rr,{size:16,&quot;aria-hidden&quot;:!0})})]})]},l.id))})]}),f.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden flex flex-col&quot;,children:[f.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;}),f.jsx(&quot;div&quot;,{className:&quot;divide-y divide-gray-100 flex-1&quot;,children:r.length===0?f.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(l=&gt;f.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:[f.jsxs(&quot;div&quot;,{className:&quot;min-w-0&quot;,children:[f.jsx(&quot;p&quot;,{className:&quot;font-semibold text-ink-900 truncate&quot;,title:l.donor_name||&quot;Anonyme&quot;,children:l.donor_name||&quot;Anonyme&quot;}),f.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-600 tabular-nums whitespace-nowrap mt-0.5&quot;,children:lb(l.amount,l.currency)})]}),!t&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 shrink-0 justify-end&quot;,children:[f.jsx(Fe,{variant:&quot;primary&quot;,onClick:()=&gt;a(l),disabled:n,title:&quot;Confirmer ce don&quot;,&quot;aria-label&quot;:&quot;Confirmer ce don&quot;,className:&quot;p-1.5&quot;,children:f.jsx(w3,{size:16,&quot;aria-hidden&quot;:!0})}),f.jsx(Fe,{variant:&quot;outline&quot;,onClick:()=&gt;u(l),disabled:n,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:f.jsx(Rr,{size:16,&quot;aria-hidden&quot;:!0})})]})]},l.id))})]})]})}const gl=&quot;https://api.sommetfrancophone.org/api&quot;;function yf(e){const{review_note:r,reference:t,proof:n,treasury_account_id:o}=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()),o!=null&amp;&amp;a.append(&quot;treasury_account_id&quot;,String(o)),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 o!=null&amp;&amp;(i.treasury_account_id=Number(o)),i}const Wi={async getEvents(){const e=await Ze.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),Ze.get(&quot;/finance/dashboard&quot;,{params:Object.keys(r).length?r:void 0,requireAuth:!0})},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),Ze.get(&quot;/finance/debtors&quot;,{params:r,requireAuth:!0})},confirmPayment(e,r){const t=yf(r??{});return t instanceof FormData?Ze.postForm(`/finance/payments/${e}/confirm`,t,{requireAuth:!0}):Ze.post(`/finance/payments/${e}/confirm`,Object.keys(t).length?t:{},{requireAuth:!0})},rejectPayment(e,r){const t=yf(r??{});return t instanceof FormData?Ze.postForm(`/finance/payments/${e}/reject`,t,{requireAuth:!0}):Ze.post(`/finance/payments/${e}/reject`,Object.keys(t).length?t:{},{requireAuth:!0})},confirmDonation(e,r){const t=yf(r??{});return t instanceof FormData?Ze.postForm(`/finance/donations/${e}/confirm`,t,{requireAuth:!0}):Ze.post(`/finance/donations/${e}/confirm`,Object.keys(t).length?t:{},{requireAuth:!0})},rejectDonation(e,r){const t=yf(r??{});return t instanceof FormData?Ze.postForm(`/finance/donations/${e}/reject`,t,{requireAuth:!0}):Ze.post(`/finance/donations/${e}/reject`,Object.keys(t).length?t:{},{requireAuth:!0})},initPayment(e,r){const{amount:t,method:n,paid_at:o,treasury_account_id:i,reference:a,notes:u,proof:l}=r,s=new FormData;return s.append(&quot;amount&quot;,String(t)),s.append(&quot;method&quot;,n),s.append(&quot;paid_at&quot;,o),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()),l&amp;&amp;s.append(&quot;proof&quot;,l),Ze.postForm(`/finance/registrations/${e}/payments`,s,{requireAuth:!0})},issuePaymentReceipt(e){return Ze.post(`/finance/payments/${e}/receipt`,{},{requireAuth:!0})},sendPaymentReceiptEmail(e){return Ze.post(`/finance/payments/${e}/receipt/send-email`,{},{requireAuth:!0})},issueDonationReceipt(e){return Ze.post(`/finance/donations/${e}/receipt`,{},{requireAuth:!0})},downloadReceiptUrl(e){return`${gl.endsWith(&quot;/&quot;)?gl.slice(0,-1):gl}/receipts/${e}/download`},async downloadReceipt(e,r){const n=`${gl.endsWith(&quot;/&quot;)?gl.slice(0,-1):gl}/receipts/${e}/download`,o=typeof window&lt;&quot;u&quot;?localStorage.getItem(&quot;auth_token&quot;):null,i=await fetch(n,{headers:{Accept:&quot;application/pdf&quot;,...o&amp;&amp;{Authorization:`Bearer ${o}`}}});if(!i.ok){const l=await i.json().catch(()=&gt;({message:i.statusText}));throw{status:i.status,data:l}}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)}},xne=&quot;Sommet Haggai Franco 2026&quot;;function CS(e){return(e??&quot;&quot;).trim().toLowerCase()}function wne(){const{can:e,roles:r,loading:t}=ks(),{events:n}=Kh(),[o,i]=q.useState([]),[a,u]=q.useState(!0),[l,s]=q.useState(null),c=e(&quot;finance.dashboard&quot;)||e(&quot;payments.read&quot;);q.useEffect(()=&gt;{c&amp;&amp;(u(!0),s(null),Wi.getEvents().then(i).catch(be=&gt;{const Xe=be?.data?.message,Ot=be?.status;s(Ot===404||Xe===&quot;Not Found&quot;?&quot;Module finance indisponible. Vérifiez que l’API est à jour (cache des routes) ou contactez l’administrateur.&quot;:Xe??&quot;Impossible de charger les événements.&quot;)}).finally(()=&gt;u(!1)))},[c]);const m=(o?.length?o:n)??[],h=q.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 be=r.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;),Xe=r.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;);return be&amp;&amp;Xe?[&quot;summit&quot;,&quot;seminar&quot;]:be?[&quot;summit&quot;]:Xe?[&quot;seminar&quot;]:[]},[r]),d=r.includes(&quot;COMMISSARIAT_GENERAL&quot;),g=q.useMemo(()=&gt;(m??[]).filter(be=&gt;h.includes(be.event_type)),[m,h]),y=q.useMemo(()=&gt;g.length&gt;0?g:r.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;(m?.length??0)&gt;0?m??[]:g,[r,m,g]),[p,b]=q.useState(&quot;&quot;);q.useEffect(()=&gt;{p&amp;&amp;!y.some(be=&gt;be.id===p)&amp;&amp;b(&quot;&quot;)},[p,y]),q.useEffect(()=&gt;{if(p===&quot;&quot;&amp;&amp;y.length&gt;0){const be=CS(xne),Xe=y.find(Ot=&gt;CS(Ot.name)===be);b(Xe?.id??y[0].id)}},[p,y]);const[x,_]=q.useState(null),[E,M]=q.useState(!0),[D,W]=q.useState(null),[L,V]=q.useState(null),[H,K]=q.useState(null),[z,O]=q.useState(&quot;&quot;),[I,C]=q.useState(&quot;&quot;),[j,k]=q.useState(null),[S,N]=q.useState(null),[T,R]=q.useState(&quot;&quot;),[B,Y]=q.useState([]),[Q,ne]=q.useState(0),[U,ee]=q.useState(null),[F,P]=q.useState(&quot;&quot;),[X,re]=q.useState(&quot;mobile_money&quot;),[Z,te]=q.useState(()=&gt;new Date().toISOString().slice(0,16)),[ae,ce]=q.useState(&quot;&quot;),[fe,se]=q.useState(&quot;&quot;),[ue,ie]=q.useState(null),[he,ge]=q.useState(null),[pe,le]=q.useState(!1),[_e,Se]=q.useState(&quot;&quot;),[Oe,Pe]=q.useState([]),[Ie,Ve]=q.useState(null),[Qe,Ke]=q.useState(null),[it,Ge]=q.useState([]),[$e,Je]=q.useState(!1),[tt,Ye]=q.useState(1),[Tt,qt]=q.useState(20),[ct,Rt]=q.useState(null),[mt,St]=q.useState(&quot;validation&quot;),[Zt,Ut]=q.useState([]),[at,Dt]=q.useState([]),[Xt,xt]=q.useState(!1),[zt,Lt]=q.useState(null),[vt,ve]=q.useState(&quot;&quot;),[je,Ae]=q.useState(&quot;&quot;),[Ue,ft]=q.useState(0),[We,wt]=q.useState(!1),[pt,rt]=q.useState(null),[kt,_t]=q.useState(null),[At,Jt]=q.useState(null),[Me,Pt]=q.useState(&quot;&quot;),[Vt,er]=q.useState(0),[de,we]=q.useState(0),[Te,Re]=q.useState(0),[et,ze]=q.useState(!1),[He,Ft]=q.useState(null),[Mt,jt]=q.useState(null),[yt,Et]=q.useState(null),[Ht,Qt]=q.useState([]),[cr,dr]=q.useState(!1),[Mr,Sr]=q.useState(null),[Vn,is]=q.useState([]),[ss,di]=q.useState([]),[Gt,Wt]=q.useState(()=&gt;new Date().toISOString().slice(0,10)),[fn,fi]=q.useState(0),[hi,Bt]=q.useState(&quot;&quot;),[hn,ri]=q.useState(&quot;&quot;),[mi,as]=q.useState(&quot;&quot;),[Ri,qn]=q.useState(!1),[sa,wn]=q.useState(null),Qr=y.find(be=&gt;be.id===p)??m?.find(be=&gt;be.id===p),Jr=Qr?.event_type??null,Tn=q.useCallback(()=&gt;{c&amp;&amp;(M(!0),W(null),Wi.getDashboard(p?{event_id:p}:void 0).then(_).catch(be=&gt;W(be?.data?.message||&quot;Erreur chargement dashboard finance.&quot;)).finally(()=&gt;M(!1)))},[c,p]);q.useEffect(()=&gt;{c&amp;&amp;Tn()},[c,p,Q]),q.useEffect(()=&gt;{p&amp;&amp;typeof p==&quot;number&quot;&amp;&amp;Ye(1)},[p]),q.useEffect(()=&gt;{const be=p===&quot;&quot;?null:Number(p);if(!c||mt!==&quot;validation&quot;||be==null||Number.isNaN(be)){Ge([]),Rt(null);return}Je(!0),Wi.getDebtors({event_id:be,page:tt,per_page:Tt}).then(Xe=&gt;{Ge(Array.isArray(Xe.data)?Xe.data:[]),Rt(Xe.meta??null)}).catch(()=&gt;{Ge([]),Rt(null)}).finally(()=&gt;Je(!1))},[c,mt,p,tt,Tt,Q]);const Di=q.useCallback(()=&gt;{if(!Jr){Ut([]);return}iu.list({event_type:Jr}).then(be=&gt;Ut(Array.isArray(be)?be:[]))},[Jr]),_n=q.useCallback(()=&gt;{if(!p||typeof p!=&quot;number&quot;){Dt([]);return}xt(!0),Lt(null),oo.list(p).then(Dt).catch(be=&gt;Lt(be?.data?.message??&quot;Erreur chargement des lignes.&quot;)).finally(()=&gt;xt(!1))},[p]);q.useEffect(()=&gt;{mt===&quot;budget&quot;&amp;&amp;Di()},[mt,Jr,Di]),q.useEffect(()=&gt;{mt!==&quot;budget&quot;||!p||_n()},[mt,p,_n]);const jn=q.useCallback(()=&gt;{!p||typeof p!=&quot;number&quot;||(dr(!0),Sr(null),B0.list(p).then(Qt).catch(be=&gt;Sr(be?.data?.message??&quot;Erreur chargement des dépenses.&quot;)).finally(()=&gt;dr(!1)))},[p]);q.useEffect(()=&gt;{mt!==&quot;expenses&quot;||!p||(jn(),oo.list(p).then(be=&gt;{is(be.filter(Xe=&gt;Xe.category_type===&quot;expense&quot;))}),Ma.list({event_id:p}).then(be=&gt;{const Xe=Array.isArray(be)?be:be?.data??[];di(Xe.filter(Ot=&gt;Ot.is_active))}))},[mt,p,jn]);const Vm=()=&gt;{if(!p||typeof p!=&quot;number&quot;){wn(&quot;Sélectionnez un événement.&quot;);return}if(hn===&quot;&quot;||typeof hn!=&quot;number&quot;){wn(&quot;Choisissez un compte de trésorerie.&quot;);return}const be=mi.trim();if(!be){wn(&quot;Le libellé est obligatoire.&quot;);return}const Xe=Number(fn);if(isNaN(Xe)||Xe&lt;1){wn(&quot;Montant invalide.&quot;);return}wn(null),qn(!0),B0.create({event_id:p,treasury_account_id:hn,event_budget_line_id:hi===&quot;&quot;?null:hi,amount:Xe,paid_at:Gt,label:be}).then(Ot=&gt;{Qt(Li=&gt;[Ot,...Li]),fi(0),as(&quot;&quot;)}).catch(Ot=&gt;wn(Ot?.data?.message??&quot;Erreur lors de l&#039;ajout.&quot;)).finally(()=&gt;qn(!1))},Wu=be=&gt;{confirm(&quot;Supprimer cette dépense ? La réalisation budgétaire sera mise à jour.&quot;)&amp;&amp;B0.delete(be.id).then(()=&gt;Qt(Xe=&gt;Xe.filter(Ot=&gt;Ot.id!==be.id))).catch(Xe=&gt;Sr(Xe?.data?.message??&quot;Erreur suppression.&quot;))},Va=(be,Xe)=&gt;{N(null),V({type:&quot;confirm-payment&quot;,id:be}),Wi.confirmPayment(be,Xe).then(()=&gt;{K(null),O(&quot;&quot;),C(&quot;&quot;),k(null),ne(Ot=&gt;Ot+1)}).catch(Ot=&gt;{N(Ot?.data?.message||Ot?.message||&quot;Erreur lors de la confirmation.&quot;)}).finally(()=&gt;V(null))},qm=(be,Xe)=&gt;{N(null),V({type:&quot;reject-payment&quot;,id:be}),Wi.rejectPayment(be,Xe).then(()=&gt;{K(null),O(&quot;&quot;),C(&quot;&quot;),k(null),ne(Ot=&gt;Ot+1)}).catch(Ot=&gt;{N(Ot?.data?.message||Ot?.message||&quot;Erreur lors du rejet.&quot;)}).finally(()=&gt;V(null))},Hu=(be,Xe)=&gt;{N(null),V({type:&quot;confirm-donation&quot;,id:be}),Wi.confirmDonation(be,Xe).then(()=&gt;{K(null),O(&quot;&quot;),C(&quot;&quot;),k(null),ne(Ot=&gt;Ot+1)}).catch(Ot=&gt;{N(Ot?.data?.message||Ot?.message||&quot;Erreur lors de la confirmation.&quot;)}).finally(()=&gt;V(null))},Fo=(be,Xe)=&gt;{N(null),V({type:&quot;reject-donation&quot;,id:be}),Wi.rejectDonation(be,Xe).then(()=&gt;{K(null),O(&quot;&quot;),C(&quot;&quot;),k(null),ne(Ot=&gt;Ot+1)}).catch(Ot=&gt;{N(Ot?.data?.message||Ot?.message||&quot;Erreur lors du rejet.&quot;)}).finally(()=&gt;V(null))},qa=(be,Xe)=&gt;{K({action:be,target:Xe}),O(&quot;&quot;),C(&quot;&quot;),k(null),N(null),R(&quot;&quot;),Y([])};q.useEffect(()=&gt;{if(!H||H.action!==&quot;confirm&quot;||H.target.type!==&quot;payment&quot;)return;const be=H.target.event_id??&quot;&quot;;Ma.list({event_id:be}).then(Xe=&gt;Y(Array.isArray(Xe)?Xe:Xe?.data??[])).catch(()=&gt;Y([]))},[H]);const Wm=()=&gt;{if(!H)return;if(H.action===&quot;confirm&quot;&amp;&amp;H.target.type===&quot;payment&quot;&amp;&amp;(T===&quot;&quot;||T===void 0)){N(&quot;Veuillez sélectionner le compte de trésorerie impacté par l&#039;encaissement.&quot;);return}const be={review_note:z.trim()||void 0,reference:I.trim()||void 0,proof:j||void 0,...H.action===&quot;confirm&quot;&amp;&amp;H.target.type===&quot;payment&quot;&amp;&amp;T!==&quot;&quot;&amp;&amp;{treasury_account_id:Number(T)}};H.target.type===&quot;payment&quot;?H.action===&quot;confirm&quot;?Va(H.target.id,be):qm(H.target.id,be):H.action===&quot;confirm&quot;?Hu(H.target.id,be):Fo(H.target.id,be)};q.useEffect(()=&gt;{if(!U?.event?.id){Pe([]);return}Ma.list({event_id:U.event.id}).then(be=&gt;Pe(Array.isArray(be)?be:be?.data??[])).catch(()=&gt;Pe([]))},[U]);const Wa=be=&gt;{ee(be),P(String(be.balance)),re(&quot;mobile_money&quot;),te(new Date().toISOString().slice(0,16)),ce(&quot;&quot;),se(&quot;&quot;),ie(null),Se(&quot;&quot;),ge(null)},Ha=()=&gt;{if(!U)return;if(_e===&quot;&quot;||typeof _e!=&quot;number&quot;){ge(&quot;Veuillez sélectionner le compte de trésorerie à utiliser.&quot;);return}const be=parseInt(F,10);if(isNaN(be)||be&lt;=0){ge(&quot;Montant invalide.&quot;);return}if(be&gt;U.balance){ge(`Le montant ne peut pas dépasser le solde (${on(U.balance)}).`);return}if(!ae.trim()&amp;&amp;!ue){ge(&quot;Veuillez renseigner la référence transaction et/ou joindre une preuve (image ou scan).&quot;);return}ge(null),le(!0),Wi.initPayment(U.id,{amount:be,method:X,paid_at:new Date(Z).toISOString(),treasury_account_id:Number(_e),reference:ae.trim()||void 0,notes:fe.trim()||void 0,proof:ue||void 0}).then(()=&gt;{ee(null),ne(Xe=&gt;Xe+1)}).catch(Xe=&gt;{const Ot=Xe?.data?.message||Xe?.message||&quot;Erreur lors de l&#039;enregistrement.&quot;,Li=Xe?.data?.errors;ge(Li?Object.values(Li).flat().join(&quot; &quot;):Ot)}).finally(()=&gt;le(!1))},aa=be=&gt;{Ke(null),Ve({key:`payment-${be}`,action:&quot;issue&quot;}),Wi.issuePaymentReceipt(be).then(()=&gt;ne(Xe=&gt;Xe+1)).catch(Xe=&gt;Ke(Xe?.data?.message||Xe?.message||&quot;Erreur.&quot;)).finally(()=&gt;Ve(null))},Bo=(be,Xe)=&gt;{Ke(null),Ve({key:`receipt-${be}`,action:&quot;download&quot;}),Wi.downloadReceipt(be,`${Xe}.pdf`).catch(Ot=&gt;Ke(Ot?.data?.message||Ot?.message||&quot;Erreur téléchargement.&quot;)).finally(()=&gt;Ve(null))},Hm=be=&gt;{Ke(null),Ve({key:`payment-${be}`,action:&quot;email&quot;}),Wi.sendPaymentReceiptEmail(be).then(()=&gt;ne(Xe=&gt;Xe+1)).catch(Xe=&gt;Ke(Xe?.data?.message||Xe?.message||&quot;Erreur envoi email.&quot;)).finally(()=&gt;Ve(null))},Km=(be,Xe)=&gt;Ie?.key===be&amp;&amp;Ie?.action===Xe,Zl=()=&gt;{if(!p||typeof p!=&quot;number&quot;||vt===&quot;&quot;||typeof vt!=&quot;number&quot;){rt(&quot;Veuillez choisir un événement et une catégorie.&quot;);return}const be=Number(Ue);if(isNaN(be)||be&lt;0){rt(&quot;Montant prévu invalide.&quot;);return}rt(null),wt(!0),oo.create(p,{budget_category_id:vt,label:je.trim()||void 0,amount_planned:be}).then(Xe=&gt;{Dt(Ot=&gt;[...Ot,Xe]),ve(&quot;&quot;),Ae(&quot;&quot;),ft(0)}).catch(Xe=&gt;rt(Xe?.data?.message??&quot;Erreur lors de l&#039;ajout.&quot;)).finally(()=&gt;wt(!1))},zo=be=&gt;{jt(be.id),Lt(null),oo.moveUp(be.id).then(()=&gt;_n()).catch(Xe=&gt;Lt(Xe?.data?.message??&quot;Erreur lors du déplacement.&quot;)).finally(()=&gt;jt(null))},Ql=be=&gt;{jt(be.id),Lt(null),oo.moveDown(be.id).then(()=&gt;_n()).catch(Xe=&gt;Lt(Xe?.data?.message??&quot;Erreur lors du déplacement.&quot;)).finally(()=&gt;jt(null))},Ku=be=&gt;{confirm(&quot;Supprimer cette ligne de budget ?&quot;)&amp;&amp;oo.delete(be.id).then(()=&gt;Dt(Xe=&gt;Xe.filter(Ot=&gt;Ot.id!==be.id))).catch(Xe=&gt;Lt(Xe?.data?.message??&quot;Erreur suppression.&quot;))},os=be=&gt;{Jt(be),Pt(be.label??&quot;&quot;),er(be.amount_planned??0),we(be.amount_realized??0),Re(be.sort_order??0),Ft(null)},Jl=()=&gt;{if(!At)return;const be=Number(Vt),Xe=Number(de);if(isNaN(be)||be&lt;0){Ft(&quot;Montant prévu invalide.&quot;);return}if(isNaN(Xe)||Xe&lt;0){Ft(&quot;Montant réalisé invalide.&quot;);return}Ft(null),ze(!0),oo.update(At.id,{label:Me.trim()||null,amount_planned:be,amount_realized:Xe,sort_order:Te}).then(Ot=&gt;{Dt(Li=&gt;Li.map(pi=&gt;pi.id===At.id?Ot:pi)),Jt(null)}).catch(Ot=&gt;Ft(Ot?.data?.message??&quot;Erreur lors de l&#039;enregistrement.&quot;)).finally(()=&gt;ze(!1))},$o=()=&gt;{_n(),_t(&quot;Budget enregistré.&quot;),setTimeout(()=&gt;_t(null),3e3)},Xu=()=&gt;{if(!(!p||at.length===0)){Et(&quot;budget-csv&quot;);try{const be=kS(at),Xe=Qr?.slug??p;Bh(be,`budget_${Xe}_${new Date().toISOString().slice(0,10)}`)}catch(be){Lt(be instanceof Error?be.message:&quot;Erreur export.&quot;)}finally{Et(null)}}},Uo=async()=&gt;{if(!(!p||at.length===0)){Et(&quot;budget-xlsx&quot;);try{const be=kS(at),Xe=Qr?.slug??p;await zh(be,`budget_${Xe}_${new Date().toISOString().slice(0,10)}`,&quot;Lignes budget&quot;)}catch(be){Lt(be instanceof Error?be.message:&quot;Erreur export.&quot;)}finally{Et(null)}}},Vo=()=&gt;{if(!(!p||Ht.length===0)){Et(&quot;expenses-csv&quot;);try{const be=NS(Ht),Xe=Qr?.slug??p;Bh(be,`depenses_${Xe}_${new Date().toISOString().slice(0,10)}`)}catch(be){Sr(be instanceof Error?be.message:&quot;Erreur export.&quot;)}finally{Et(null)}}},Gu=async()=&gt;{if(!(!p||Ht.length===0)){Et(&quot;expenses-xlsx&quot;);try{const be=NS(Ht),Xe=Qr?.slug??p;await zh(be,`depenses_${Xe}_${new Date().toISOString().slice(0,10)}`,&quot;Dépenses&quot;)}catch(be){Sr(be instanceof Error?be.message:&quot;Erreur export.&quot;)}finally{Et(null)}}},Pn=q.useMemo(()=&gt;{let be=0,Xe=0,Ot=0,Li=0;at.forEach(Ho=&gt;{const Zu=Ho.amount_planned??0,Qu=Ho.amount_realized??0;Ho.category_type===&quot;revenue&quot;?(be+=Zu,Ot+=Qu):Ho.category_type===&quot;expense&quot;&amp;&amp;(Xe+=Zu,Li+=Qu)});const pi=be-Xe;return{totalRevenuePlanned:be,totalExpensePlanned:Xe,totalRevenueRealized:Ot,totalExpenseRealized:Li,balancePlanned:pi,shortfall:pi&lt;0?Math.abs(pi):0,surplus:pi&gt;0?pi:0}},[at]);if(t)return f.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:f.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})});if(!c)return f.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:f.jsx(&quot;p&quot;,{className:&quot;text-ink-600&quot;,children:&quot;Vous n&#039;avez pas accès au module Finance.&quot;})});const ls=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;),qo=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;),Ns=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;),Yu=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;),ec=ls||Yu?!1:e(&quot;registrations.read&quot;),tc=qo||Ns?!1:e(&quot;registrations.read&quot;),Ka=ls||Ns?!1:e(&quot;recommendations.read&quot;),Wo=ls||qo||Ns||Yu?!1:e(&quot;settings.read&quot;)||e(&quot;settings.update&quot;);return f.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex flex-col&quot;,children:[f.jsx(Xh,{}),f.jsxs(&quot;div&quot;,{className:&quot;flex flex-1&quot;,children:[f.jsx(Gh,{currentSection:&quot;finance&quot;,registrationView:&quot;summit&quot;,showSommet:ec,showSeminar:tc,showRecommendations:Ka,showUsers:!1,showFinance:c,showSettings:Wo}),f.jsx(&quot;main&quot;,{className:&quot;flex-1 lg:ml-48 pb-16 lg:pb-0&quot;,children:f.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:[f.jsx(vne,{title:&quot;Dashboard Finance&quot;,subtitle:&quot;Pilotage des encaissements — paiements et dons&quot;,showReadOnlyBanner:d}),f.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:[f.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;}),f.jsxs(&quot;select&quot;,{id:&quot;finance-event-select&quot;,value:p,onChange:be=&gt;b(be.target.value===&quot;&quot;?&quot;&quot;:Number(be.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:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:a?&quot;Chargement...&quot;:mt===&quot;budget&quot;?&quot;- Choisir un événement -&quot;:&quot;Tous&quot;}),y.map(be=&gt;f.jsx(&quot;option&quot;,{value:be.id,children:be.name},be.id))]}),l&amp;&amp;f.jsx(&quot;span&quot;,{className:&quot;text-sm text-red-600&quot;,role:&quot;alert&quot;,children:l}),!a&amp;&amp;y.length===0&amp;&amp;!l&amp;&amp;f.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-500&quot;,children:&quot;Aucun événement actif pour le moment.&quot;})]}),f.jsx(yne,{activeTab:mt,onTabChange:St}),mt===&quot;budget&quot;&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;mt-6 space-y-6&quot;,role:&quot;tabpanel&quot;,children:f.jsx(fne,{hasSelectedEvent:!!p,readOnly:d,alerts:{linesError:zt,saveMessage:kt},table:{lines:at,loading:Xt,totals:Pn,moveLineLoading:Mt,onMoveUp:zo,onMoveDown:Ql,onOpenEdit:os,onDelete:Ku},writable:d?void 0:{addLine:{categories:Zt,categoryId:vt,label:je,amount:Ue,submitting:We,error:pt,onCategoryChange:ve,onLabelChange:Ae,onAmountChange:ft,onSubmit:Zl},exportBar:{exportFinanceLoading:yt,linesCount:at.length,onExportCsv:Xu,onExportXlsx:Uo,onSave:$o}}})}),mt===&quot;expenses&quot;&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;mt-6 space-y-6&quot;,role:&quot;tabpanel&quot;,children:f.jsx(pne,{hasSelectedEvent:!!p,readOnly:d,alerts:{error:Mr},exportRow:!d&amp;&amp;Ht.length&gt;0?{exportFinanceLoading:yt,onExportCsv:Vo,onExportXlsx:Gu}:void 0,table:{rows:Ht,loading:cr,onDelete:Wu},form:{paidAt:Gt,budgetLineId:hi,treasuryAccountId:hn,amount:fn,label:mi,submitting:Ri,error:sa,budgetLines:Vn,treasuryAccounts:ss,onPaidAtChange:Wt,onBudgetLineChange:Bt,onTreasuryAccountChange:ri,onAmountChange:fi,onLabelChange:as,onSubmit:Vm}})}),mt===&quot;validation&quot;&amp;&amp;f.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:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 tracking-tight&quot;,children:&quot;Encaissements &amp; validation&quot;}),f.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;})]}),D&amp;&amp;f.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:f.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-800 font-medium&quot;,children:D})}),E&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 shadow-sm py-14 px-6 text-center&quot;,children:[f.jsx(&quot;p&quot;,{className:&quot;text-ink-600 text-sm font-medium&quot;,children:&quot;Chargement du tableau de bord finance…&quot;}),f.jsx(&quot;p&quot;,{className:&quot;text-ink-400 text-xs mt-2&quot;,children:&quot;Merci de patienter quelques instants.&quot;})]}),!E&amp;&amp;x&amp;&amp;f.jsxs(f.Fragment,{children:[f.jsx(gne,{kpi:x.kpi}),f.jsx(bne,{pendingPayments:x.pending_payments,pendingDonations:x.pending_donations,readOnly:d,actionLoading:!!L,onConfirmPayment:be=&gt;qa(&quot;confirm&quot;,{type:&quot;payment&quot;,id:be.id,label:`${be.registration?.first_name} ${be.registration?.last_name}`,event_id:be.registration?.event?.id??null}),onRejectPayment:be=&gt;qa(&quot;reject&quot;,{type:&quot;payment&quot;,id:be.id,label:`${be.registration?.first_name} ${be.registration?.last_name}`}),onConfirmDonation:be=&gt;qa(&quot;confirm&quot;,{type:&quot;donation&quot;,id:be.id,label:be.donor_name||&quot;Don&quot;}),onRejectDonation:be=&gt;qa(&quot;reject&quot;,{type:&quot;donation&quot;,id:be.id,label:be.donor_name||&quot;Don&quot;})}),(x.confirmed_payments?.length??0)&gt;0&amp;&amp;f.jsx(hne,{payments:x.confirmed_payments??[],readOnly:d,receipt:{error:Qe,actionPending:!!Ie,isLoading:Km,onDownloadReceipt:Bo,onIssueReceipt:aa,onSendReceiptEmail:Hm}}),f.jsx(mne,{loading:$e,rows:it??[],registrationsForPayment:x.registrations_for_payment??[],readOnly:d,initPaymentModalOpen:!!U,meta:ct,page:tt,perPage:Tt,onPageChange:Ye,onPerPageChange:qt,onInitPayment:Wa})]})]})]})})]}),At&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:f.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:[f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:()=&gt;!et&amp;&amp;Jt(null),&quot;aria-hidden&quot;:!0}),f.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:f.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[f.jsx(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:&quot;Modifier la ligne de budget&quot;}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!et&amp;&amp;Jt(null),className:&quot;text-gray-400 hover:text-gray-600 p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:f.jsx(Rr,{size:24})})]}),f.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-4&quot;,children:[&quot;Catégorie : &quot;,At.category_name]}),He&amp;&amp;f.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:He}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Libellé (optionnel)&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:Me,onChange:be=&gt;Pt(be.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:!!et})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Montant prévu (XOF) *&quot;}),f.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:0,value:Vt||&quot;&quot;,onChange:be=&gt;er(parseInt(be.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:!!et})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Montant réalisé (XOF)&quot;}),f.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:0,value:de||&quot;&quot;,onChange:be=&gt;we(parseInt(be.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:!!et}),f.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;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Ordre d&#039;affichage&quot;}),f.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:0,value:Te,onChange:be=&gt;Re(parseInt(be.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:!!et}),f.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;})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2 pt-2&quot;,children:[f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:()=&gt;Jt(null),disabled:!!et,children:&quot;Annuler&quot;}),f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:Jl,disabled:!!et,children:et?&quot;Enregistrement...&quot;:&quot;Enregistrer&quot;})]})]})]})})]})}),H&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:f.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:[f.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}),f.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:f.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[f.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:[H.action===&quot;confirm&quot;?H.target.type===&quot;payment&quot;?&quot;Confirmer le paiement&quot;:&quot;Confirmer le don&quot;:H.target.type===&quot;payment&quot;?&quot;Rejeter le paiement&quot;:&quot;Rejeter le don&quot;,&quot; — &quot;,f.jsx(&quot;span&quot;,{className:&quot;font-normal text-ink-600&quot;,children:H.target.label})]}),f.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:f.jsx(Rr,{size:24})})]}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[S&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:f.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:S})}),H.action===&quot;confirm&quot;&amp;&amp;H.target.type===&quot;payment&quot;&amp;&amp;f.jsxs(&quot;div&quot;,{children:[f.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;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsxs(&quot;select&quot;,{value:T,onChange:be=&gt;R(be.target.value===&quot;&quot;?&quot;&quot;:Number(be.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:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir un compte -&quot;}),B.filter(be=&gt;be.is_active).map(be=&gt;f.jsxs(&quot;option&quot;,{value:be.id,children:[be.name,&quot; &quot;,be.identifier?`(${be.identifier})`:&quot;&quot;,&quot; — &quot;,be.context_display]},be.id))]}),B.length===0&amp;&amp;!L&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;text-xs text-amber-600 mt-1&quot;,children:&quot;Chargement des comptes…&quot;})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;textarea&quot;,{value:z,onChange:be=&gt;O(be.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})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:I,onChange:be=&gt;C(be.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})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{type:&quot;file&quot;,accept:&quot;.jpg,.jpeg,.png,.gif,.webp,.pdf&quot;,onChange:be=&gt;k(be.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}),f.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;})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:()=&gt;K(null),disabled:!!L,children:&quot;Annuler&quot;}),f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:Wm,disabled:!!L,children:L?&quot;En cours...&quot;:H.action===&quot;confirm&quot;?&quot;Valider&quot;:&quot;Rejeter&quot;})]})]})]})})]})}),U&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:f.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:[f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75&quot;,onClick:()=&gt;!pe&amp;&amp;ee(null),&quot;aria-hidden&quot;:!0}),f.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:f.jsxs(&quot;div&quot;,{className:&quot;bg-white px-6 pt-6 pb-4&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[f.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900&quot;,children:[&quot;Initier un paiement — &quot;,U.first_name,&quot; &quot;,U.last_name]}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;!pe&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:f.jsx(Rr,{size:24})})]}),f.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500 mb-4&quot;,children:[&quot;Solde restant : &quot;,f.jsx(&quot;strong&quot;,{className:&quot;tabular-nums whitespace-nowrap&quot;,children:on(U.balance)})]}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-4&quot;,children:[he&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;bg-red-50 border border-red-200 rounded-lg p-3&quot;,children:f.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-700&quot;,children:he})}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Compte de trésorerie &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsxs(&quot;select&quot;,{value:_e===&quot;&quot;?&quot;&quot;:_e,onChange:be=&gt;Se(be.target.value===&quot;&quot;?&quot;&quot;:Number(be.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:!!pe,children:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;- Choisir un compte -&quot;}),Oe.filter(be=&gt;be.is_active).map(be=&gt;f.jsxs(&quot;option&quot;,{value:be.id,children:[be.name,&quot; &quot;,be.identifier?`(${be.identifier})`:&quot;&quot;,&quot; — &quot;,be.context_display]},be.id))]}),Oe.length===0&amp;&amp;!pe&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;text-xs text-amber-600 mt-1&quot;,children:&quot;Chargement des comptes…&quot;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Montant &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;number&quot;,min:1,max:U.balance,value:F,onChange:be=&gt;P(be.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:!!pe})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Méthode &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsxs(&quot;select&quot;,{value:X,onChange:be=&gt;re(be.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:!!pe,children:[f.jsx(&quot;option&quot;,{value:&quot;mobile_money&quot;,children:&quot;Mobile Money&quot;}),f.jsx(&quot;option&quot;,{value:&quot;card_visa&quot;,children:&quot;Carte Visa&quot;}),f.jsx(&quot;option&quot;,{value:&quot;paypal&quot;,children:&quot;PayPal&quot;}),f.jsx(&quot;option&quot;,{value:&quot;national_office&quot;,children:&quot;Bureau national&quot;}),f.jsx(&quot;option&quot;,{value:&quot;installment&quot;,children:&quot;Échelonné&quot;})]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:[&quot;Date du paiement &quot;,f.jsx(&quot;span&quot;,{className:&quot;text-red-500&quot;,children:&quot;*&quot;})]}),f.jsx(&quot;input&quot;,{type:&quot;datetime-local&quot;,value:Z,onChange:be=&gt;te(be.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:!!pe})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Référence transaction&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:ae,onChange:be=&gt;ce(be.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:!!pe}),f.jsx(&quot;p&quot;,{className:&quot;text-xs text-ink-400 mt-1&quot;,children:&quot;Référence et/ou preuve requises&quot;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Preuve (image ou scan)&quot;}),f.jsx(&quot;input&quot;,{type:&quot;file&quot;,accept:&quot;.jpg,.jpeg,.png,.gif,.webp,.pdf&quot;,onChange:be=&gt;ie(be.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:!!pe}),f.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;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-500 mb-1&quot;,children:&quot;Notes (optionnel)&quot;}),f.jsx(&quot;textarea&quot;,{value:fe,onChange:be=&gt;se(be.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:!!pe})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-end gap-3 pt-4&quot;,children:[f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;ghost&quot;,onClick:()=&gt;ee(null),disabled:!!pe,children:&quot;Annuler&quot;}),f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:Ha,disabled:!!pe||_e===&quot;&quot;,children:pe?&quot;Enregistrement...&quot;:&quot;Enregistrer et confirmer le paiement&quot;})]})]})]})})]})})]})}function ES({events:e,accountTypes:r,currencies:t,account:n=null,eventFilter:o=&quot;&quot;,onClose:i,onSuccess:a}){const u=!!n,[l,s]=q.useState(!1),[c,m]=q.useState(null),[h,d]=q.useState(&quot;&quot;),[g,y]=q.useState(&quot;&quot;),[p,b]=q.useState(&quot;&quot;),[x,_]=q.useState(&quot;XOF&quot;),[E,M]=q.useState(&quot;&quot;),[D,W]=q.useState(!0);q.useEffect(()=&gt;{n?(d(n.name),y(n.type),b(n.identifier),_(n.currency),M(n.event_id??&quot;&quot;),W(n.is_active)):(d(&quot;&quot;),y(r[0]??&quot;&quot;),b(&quot;&quot;),_(&quot;XOF&quot;),M(&quot;&quot;),W(!0))},[n,r]);const L=async V=&gt;{V.preventDefault(),V.stopPropagation(),m(null),s(!0);try{if(u)await Ma.update(n.id,{name:h,type:g,identifier:p,currency:x,event_id:E===&quot;&quot;?null:E,is_active:D}),a();else{const H=await Ma.create({name:h,type:g,identifier:p,currency:x,event_id:E===&quot;&quot;?null:E,is_active:D}),K=H?.data??H;if(!K||typeof K!=&quot;object&quot;||!(&quot;id&quot;in K)){m(&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 z=await Ma.list({event_id:o});if(!(Array.isArray(z)?z:z?.data??[]).some(C=&gt;C.id===K.id)){m(&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{m(&quot;Impossible de vérifier la liste après création.&quot;),s(!1);return}a(K)}}catch(H){const K=H,z=K?.data?.message??K?.message??(typeof H==&quot;object&quot;&amp;&amp;H!==null&amp;&amp;&quot;message&quot;in H?String(H.message):null)??(u?&quot;Erreur lors de la mise à jour.&quot;:&quot;Erreur lors de la création.&quot;),O=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;,I=O?`${z} — ${O}`:z;m(I)}finally{s(!1)}};return f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:f.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:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[f.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;}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:i,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:f.jsx(Rr,{size:20})})]}),f.jsxs(&quot;form&quot;,{onSubmit:V=&gt;(V.preventDefault(),V.stopPropagation(),L(V),!1),className:&quot;p-4 space-y-4&quot;,children:[c&amp;&amp;f.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}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:h,onChange:V=&gt;d(V.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;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Type&quot;}),f.jsx(&quot;select&quot;,{value:g,onChange:V=&gt;y(V.target.value),required:!0,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:r.map(V=&gt;f.jsx(&quot;option&quot;,{value:V,children:V},V))})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Identifiant&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:p,onChange:V=&gt;b(V.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;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Devise&quot;}),f.jsx(&quot;select&quot;,{value:x,onChange:V=&gt;_(V.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:t.map(V=&gt;f.jsx(&quot;option&quot;,{value:V,children:V},V))})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Contexte&quot;}),f.jsxs(&quot;select&quot;,{value:E,onChange:V=&gt;M(V.target.value===&quot;&quot;?&quot;&quot;:Number(V.target.value)),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Global&quot;}),e.map(V=&gt;f.jsx(&quot;option&quot;,{value:V.id,children:V.name},V.id))]})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,id:&quot;is_active&quot;,checked:D,onChange:V=&gt;W(V.target.checked),className:&quot;rounded border-gray-300&quot;}),f.jsx(&quot;label&quot;,{htmlFor:&quot;is_active&quot;,className:&quot;text-sm font-medium text-ink-700&quot;,children:&quot;Compte actif&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 pt-2&quot;,children:[f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:i,className:&quot;flex-1&quot;,children:&quot;Annuler&quot;}),f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;primary&quot;,disabled:l,className:&quot;flex-1&quot;,onClick:V=&gt;{V.preventDefault(),V.stopPropagation(),L(V)},children:l?&quot;Enregistrement...&quot;:u?&quot;Enregistrer&quot;:&quot;Créer&quot;})]})]})]})})}function _ne({account:e,onClose:r,onDeleted:t}){const[n,o]=q.useState(!1),[i,a]=q.useState(null),u=async()=&gt;{a(null),o(!0);try{await Ma.delete(e.id),t()}catch(l){a(l.data?.message??&quot;Erreur lors de la suppression.&quot;)}finally{o(!1)}};return f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[f.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Supprimer le compte&quot;}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:f.jsx(Rr,{size:20})})]}),f.jsxs(&quot;div&quot;,{className:&quot;p-4&quot;,children:[i&amp;&amp;f.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}),f.jsxs(&quot;p&quot;,{className:&quot;text-ink-700 mb-4&quot;,children:[&quot;Êtes-vous sûr de vouloir supprimer le compte &quot;,f.jsx(&quot;strong&quot;,{children:e.name}),&quot; (&quot;,e.identifier,&quot;) ? Cette action est irréversible.&quot;]}),f.jsxs(&quot;div&quot;,{className:&quot;flex gap-2&quot;,children:[f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,className:&quot;flex-1&quot;,children:&quot;Annuler&quot;}),f.jsx(Fe,{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 jne=[{value:&quot;revenue&quot;,label:&quot;Recettes&quot;},{value:&quot;expense&quot;,label:&quot;Dépenses&quot;}],Sne=[{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 AS({category:e=null,onClose:r,onSuccess:t}){const n=!!e,[o,i]=q.useState(!1),[a,u]=q.useState(null),[l,s]=q.useState(&quot;&quot;),[c,m]=q.useState(&quot;&quot;),[h,d]=q.useState(&quot;expense&quot;),[g,y]=q.useState(&quot;&quot;),[p,b]=q.useState(0);q.useEffect(()=&gt;{e?(s(e.name),m(e.code??&quot;&quot;),d(e.type??&quot;expense&quot;),y(e.event_type??&quot;&quot;),b(e.sort_order??0)):(s(&quot;&quot;),m(&quot;&quot;),d(&quot;expense&quot;),y(&quot;&quot;),b(0))},[e]);const x=async _=&gt;{_.preventDefault(),_.stopPropagation(),u(null),i(!0);try{const E={name:l.trim(),code:c.trim()||null,type:h,event_type:g===&quot;&quot;?null:g,sort_order:p};if(n)await iu.update(e.id,E),t();else{const M=await iu.create(E);t(M)}}catch(E){const M=E instanceof mr?E.data?.message:&quot;Erreur lors de l&#039;enregistrement.&quot;;u(M??&quot;Erreur&quot;)}finally{i(!1)}};return f.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:f.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:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[f.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;}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 text-ink-500 hover:text-ink-700 rounded&quot;,children:f.jsx(Rr,{size:20})})]}),f.jsxs(&quot;form&quot;,{onSubmit:x,className:&quot;p-4 space-y-4&quot;,children:[a&amp;&amp;f.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}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{id:&quot;bc-name&quot;,type:&quot;text&quot;,value:l,onChange:_=&gt;s(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg&quot;,required:!0})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{id:&quot;bc-code&quot;,type:&quot;text&quot;,value:c,onChange:_=&gt;m(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg&quot;,maxLength:50})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;select&quot;,{id:&quot;bc-category-type&quot;,value:h,onChange:_=&gt;d(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg&quot;,children:jne.map(_=&gt;f.jsx(&quot;option&quot;,{value:_.value,children:_.label},_.value))})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;select&quot;,{id:&quot;bc-event-type&quot;,value:g,onChange:_=&gt;y(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg&quot;,children:Sne.map(_=&gt;f.jsx(&quot;option&quot;,{value:_.value,children:_.label},_.value||&quot;all&quot;))})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{id:&quot;bc-sort&quot;,type:&quot;number&quot;,min:0,value:p,onChange:_=&gt;b(parseInt(_.target.value,10)||0),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2 pt-2&quot;,children:[f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:r,children:&quot;Annuler&quot;}),f.jsx(Fe,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:o,children:o?&quot;Enregistrement...&quot;:n?&quot;Enregistrer&quot;:&quot;Créer&quot;})]})]})]})})}function kne({category:e,onClose:r,onDeleted:t}){const[n,o]=q.useState(!1),[i,a]=q.useState(null),u=async()=&gt;{a(null),o(!0);try{await iu.delete(e.id),t()}catch(l){const s=l instanceof mr?l.data?.message:&quot;Erreur lors de la suppression.&quot;;a(s??&quot;Erreur&quot;)}finally{o(!1)}};return f.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:f.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-lg max-w-md w-full p-4&quot;,onClick:l=&gt;l.stopPropagation(),children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[f.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Supprimer la catégorie&quot;}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 text-ink-500 hover:text-ink-700 rounded&quot;,children:f.jsx(Rr,{size:20})})]}),f.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;f.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}),f.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2&quot;,children:[f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;secondary&quot;,onClick:r,children:&quot;Annuler&quot;}),f.jsx(Fe,{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 Nne({onClose:e,onSuccess:r}){const[t,n]=q.useState(!1),[o,i]=q.useState(null),[a,u]=q.useState({}),[l,s]=q.useState(&quot;&quot;),[c,m]=q.useState(&quot;&quot;),[h,d]=q.useState(iy[0]),[g,y]=q.useState(&quot;&quot;),[p,b]=q.useState(&quot;&quot;),x=async _=&gt;{_.preventDefault(),i(null),u({}),n(!0);try{await Ia.create({name:l,email:c,role:h,...g?{password:g,password_confirmation:p}:{}}),r()}catch(E){const M=E;if(i(M.data?.message??&quot;Erreur lors de la création.&quot;),M.data?.errors){const D={};for(const[W,L]of Object.entries(M.data.errors))D[W]=Array.isArray(L)?L[0]:String(L);u(D)}}finally{n(!1)}};return f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:f.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:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[f.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Créer un utilisateur&quot;}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:e,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:f.jsx(Rr,{size:20})})]}),f.jsxs(&quot;form&quot;,{onSubmit:x,className:&quot;p-4 space-y-4&quot;,children:[o&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;p-3 bg-red-50 border border-red-200 rounded-lg text-sm text-red-700&quot;,children:o}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:l,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;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:a.name})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Email&quot;}),f.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:c,onChange:_=&gt;m(_.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;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:a.email})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Rôle&quot;}),f.jsx(&quot;select&quot;,{value:h,onChange:_=&gt;d(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:iy.map(_=&gt;f.jsx(&quot;option&quot;,{value:_,children:qf(_)},_))})]}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:g,onChange:_=&gt;y(_.target.value),className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,autoComplete:&quot;new-password&quot;}),g&amp;&amp;f.jsxs(f.Fragment,{children:[f.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;}),f.jsx(&quot;input&quot;,{type:&quot;password&quot;,value:p,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;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:a.password})]})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end pt-4&quot;,children:[f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:e,children:&quot;Annuler&quot;}),f.jsx(Fe,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:t,children:t?&quot;Création...&quot;:&quot;Créer&quot;})]})]})]})})}function Cne({user:e,onClose:r,onSuccess:t,onSendActivation:n,sendingActivation:o}){const[i,a]=q.useState(!1),[u,l]=q.useState(null),[s,c]=q.useState({}),[m,h]=q.useState(e.name),[d,g]=q.useState(e.email),y=e.role??e.roles?.[0]??&quot;&quot;,[p,b]=q.useState(E3(y)||jf[0]);q.useEffect(()=&gt;{h(e.name),g(e.email);const M=e.role??e.roles?.[0]??&quot;&quot;;b(E3(M)||jf[0])},[e]);const x=async M=&gt;{M.preventDefault(),l(null),c({}),a(!0);try{await Ia.update(e.id,{name:m,email:d,role:p}),t()}catch(D){const W=D;if(l(W.data?.message??&quot;Erreur lors de la mise à jour.&quot;),W.data?.errors){const L={};for(const[V,H]of Object.entries(W.data.errors))L[V]=Array.isArray(H)?H[0]:String(H);c(L)}}finally{a(!1)}},_=!e.is_only_super_admin,E=[...jf];return f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:f.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:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between p-4 border-b border-gray-200&quot;,children:[f.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Modifier l&#039;utilisateur&quot;}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:f.jsx(Rr,{size:20})})]}),f.jsxs(&quot;form&quot;,{onSubmit:x,className:&quot;p-4 space-y-4&quot;,children:[u&amp;&amp;f.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}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:m,onChange:M=&gt;h(M.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;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:s.name})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Email&quot;}),f.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:d,onChange:M=&gt;g(M.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;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:s.email})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Rôle&quot;}),f.jsx(&quot;select&quot;,{value:p,onChange:M=&gt;b(M.target.value),disabled:!_,className:&quot;w-full px-3 py-2 border border-gray-300 rounded-lg text-sm disabled:opacity-60&quot;,children:E.map(M=&gt;f.jsx(&quot;option&quot;,{value:M,children:qf(M)},M))}),e.is_only_super_admin&amp;&amp;f.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;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-xs text-red-600&quot;,children:s.role})]}),f.jsxs(&quot;div&quot;,{className:&quot;border-t border-gray-200 pt-4&quot;,children:[f.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;}),f.jsxs(Fe,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:n,disabled:o,className:&quot;flex items-center gap-2&quot;,children:[f.jsx(ps,{size:16}),o?&quot;Envoi...&quot;:&quot;Envoyer lien d&#039;activation&quot;]})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end pt-4&quot;,children:[f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,children:&quot;Annuler&quot;}),f.jsx(Fe,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:i,children:i?&quot;Enregistrement...&quot;:&quot;Enregistrer&quot;})]})]})]})})}function Ene({user:e,onClose:r,onSuccess:t,isCurrentUser:n}){const[o,i]=q.useState(!1),[a,u]=q.useState(!1),[l,s]=q.useState(null),c=e.has_financial_activity===!0,m=async()=&gt;{if(!n){s(null),i(!0);try{await Ia.delete(e.id),t()}catch(d){const g=d;s(g.data?.message??g.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 Ia.setDeactivated(e.id,!0),t()}catch(d){const g=d;s(g.data?.message??g.data?.errors?.user?.[0]??&quot;Erreur lors de la désactivation.&quot;)}finally{u(!1)}}};return f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full p-4&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[f.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;}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:f.jsx(Rr,{size:20})})]}),n?f.jsx(&quot;p&quot;,{className:&quot;text-ink-600 mb-4&quot;,children:&quot;Vous ne pouvez pas supprimer votre propre compte.&quot;}):c?f.jsxs(f.Fragment,{children:[f.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;,f.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;]}),f.jsxs(&quot;p&quot;,{className:&quot;text-ink-500 text-sm mb-4&quot;,children:[&quot;Utilisateur : &quot;,f.jsx(&quot;strong&quot;,{children:e.name}),&quot; (&quot;,e.email,&quot;)&quot;]}),l&amp;&amp;f.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:l}),f.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end&quot;,children:[f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,children:&quot;Annuler&quot;}),f.jsx(Fe,{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;})]})]}):f.jsxs(f.Fragment,{children:[f.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;,f.jsx(&quot;strong&quot;,{children:e.name}),&quot; (&quot;,e.email,&quot;) ? Cette action est irréversible.&quot;]}),l&amp;&amp;f.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:l}),f.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end&quot;,children:[f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,children:&quot;Annuler&quot;}),f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;primary&quot;,onClick:m,disabled:o,className:&quot;bg-red-600 hover:bg-red-700&quot;,children:o?&quot;Suppression...&quot;:&quot;Supprimer&quot;})]})]})]})})}function Ane({user:e,onClose:r,onSuccess:t}){const[n,o]=q.useState(&quot;&quot;),[i,a]=q.useState(&quot;&quot;),[u,l]=q.useState(!1),[s,c]=q.useState(null),[m,h]=q.useState({}),d=async g=&gt;{if(g.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}l(!0);try{await Ia.resetPassword(e.id,{password:n,password_confirmation:i}),t()}catch(y){const p=y;if(c(p.data?.message??&quot;Erreur lors de la réinitialisation.&quot;),p.data?.errors){const b={};for(const[x,_]of Object.entries(p.data.errors))b[x]=Array.isArray(_)?_[0]:String(_);h(b)}}finally{l(!1)}};return f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-xl max-w-md w-full p-4&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[f.jsx(&quot;h3&quot;,{className:&quot;text-lg font-semibold text-ink-900&quot;,children:&quot;Réinitialiser le mot de passe&quot;}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;p-1 rounded hover:bg-gray-100&quot;,children:f.jsx(Rr,{size:20})})]}),f.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;,f.jsx(&quot;strong&quot;,{children:e.name}),&quot; (&quot;,e.email,&quot;). L&#039;utilisateur devra le changer à sa première connexion.&quot;]}),f.jsxs(&quot;form&quot;,{onSubmit:d,children:[s&amp;&amp;f.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}),f.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[f.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;}),f.jsx(&quot;input&quot;,{id:&quot;reset-password&quot;,type:&quot;password&quot;,value:n,onChange:g=&gt;o(g.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;}),m.password&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:m.password})]}),f.jsxs(&quot;div&quot;,{className:&quot;mb-4&quot;,children:[f.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;}),f.jsx(&quot;input&quot;,{id:&quot;reset-password-confirm&quot;,type:&quot;password&quot;,value:i,onChange:g=&gt;a(g.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;}),m.password_confirmation&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;mt-1 text-sm text-red-600&quot;,children:m.password_confirmation})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex gap-2 justify-end&quot;,children:[f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,children:&quot;Annuler&quot;}),f.jsx(Fe,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:u,children:u?&quot;En cours...&quot;:&quot;Réinitialiser&quot;})]})]})]})})}function Mne(){const{can:e,user:r}=ks(),[t,n]=q.useState(1),[o]=q.useState(20),[i,a]=q.useState(&quot;&quot;),[u,l]=q.useState(&quot;&quot;),[s,c]=q.useState(!1),[m,h]=q.useState(null),[d,g]=q.useState(null),[y,p]=q.useState(null),[b,x]=q.useState(null),[_,E]=q.useState(null),[M,D]=q.useState(null),W=async I=&gt;{D(I.id);try{await Ia.setDeactivated(I.id,!1),K()}finally{D(null)}},{data:L,loading:V,error:H,refetch:K}=VL({page:t,per_page:o,role:i||void 0,q:u||void 0},!0),z=async I=&gt;{x(I.id),E(null);try{await Ia.sendActivation(I.id),K()}catch(C){const j=C;E(j.data?.errors?.user?.[0]??j.data?.message??&quot;Erreur lors de l&#039;envoi.&quot;)}finally{x(null)}},O=I=&gt;r&amp;&amp;I.id===(typeof r.id==&quot;number&quot;?r.id:Number(r.id));return f.jsxs(f.Fragment,{children:[f.jsxs(&quot;div&quot;,{className:&quot;mb-8 flex flex-wrap items-center justify-between gap-4&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 mb-1 flex items-center gap-2&quot;,children:[f.jsx(Uf,{size:22,className:&quot;text-brand-700&quot;}),&quot;Gestion des utilisateurs&quot;]}),f.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;f.jsxs(Fe,{variant:&quot;primary&quot;,onClick:()=&gt;c(!0),className:&quot;flex items-center gap-2&quot;,children:[f.jsx(ry,{size:18}),&quot;Créer un utilisateur&quot;]})]}),_&amp;&amp;f.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:_}),f.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex flex-wrap gap-4&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;search&quot;,placeholder:&quot;Rechercher (nom, email)...&quot;,value:u,onChange:I=&gt;l(I.target.value),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm w-64&quot;}),f.jsxs(&quot;select&quot;,{value:i,onChange:I=&gt;a(I.target.value),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;,children:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous les rôles&quot;}),PL.map(I=&gt;f.jsx(&quot;option&quot;,{value:I,children:qf(I)},I))]})]}),H&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;mb-4 p-4 bg-red-50 border border-red-200 rounded-lg&quot;,children:f.jsx(&quot;p&quot;,{className:&quot;text-red-700&quot;,children:H.data?.message??&quot;Erreur lors du chargement.&quot;})}),V&amp;&amp;f.jsx(&quot;div&quot;,{className:&quot;py-12 text-center text-ink-500&quot;,children:&quot;Chargement...&quot;}),!V&amp;&amp;L&amp;&amp;f.jsxs(f.Fragment,{children:[f.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden shadow-soft&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:f.jsxs(&quot;table&quot;,{className:&quot;w-full text-left&quot;,children:[f.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50 border-b border-gray-200&quot;,children:f.jsxs(&quot;tr&quot;,{children:[f.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;}),f.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;}),f.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;}),f.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;}),f.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;}),f.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;}),f.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;})]})}),f.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-100&quot;,children:L.data.length===0?f.jsx(&quot;tr&quot;,{children:f.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;})}):L.data.map(I=&gt;f.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50/80&quot;,children:[f.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm text-ink-900 whitespace-nowrap truncate&quot;,title:I.name,children:I.name}),f.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm text-ink-700 whitespace-nowrap truncate&quot;,title:I.email,children:I.email}),f.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm text-ink-700 whitespace-nowrap truncate&quot;,children:qf(I.role??I.roles?.[0]??&quot;&quot;)||&quot;—&quot;}),f.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm whitespace-nowrap&quot;,children:I.email_verified_at?f.jsx(&quot;span&quot;,{className:&quot;text-green-600&quot;,children:&quot;Oui&quot;}):f.jsx(&quot;span&quot;,{className:&quot;text-amber-600&quot;,children:&quot;Non&quot;})}),f.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm text-ink-500 whitespace-nowrap&quot;,children:I.created_at?new Date(I.created_at).toLocaleDateString(&quot;fr-FR&quot;):&quot;—&quot;}),f.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 text-sm whitespace-nowrap&quot;,children:I.is_active===!1?f.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}),f.jsx(&quot;td&quot;,{className:&quot;px-3 py-1.5 whitespace-nowrap&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-1&quot;,children:[e(&quot;users.update&quot;)&amp;&amp;I.is_active!==!1&amp;&amp;f.jsxs(f.Fragment,{children:[f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;h(I),title:&quot;Modifier&quot;,className:&quot;p-1.5 rounded border border-gray-300 text-ink-600 hover:bg-brand-50 hover:text-ink-900 transition-colors&quot;,children:f.jsx($f,{size:16})}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;p(I),title:&quot;Réinitialiser le mot de passe&quot;,className:&quot;p-1.5 rounded border border-gray-300 text-ink-600 hover:bg-brand-50 hover:text-ink-900 transition-colors&quot;,children:f.jsx(KD,{size:16})}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;z(I),disabled:b===I.id,title:b===I.id?&quot;Envoi en cours...&quot;:&quot;Envoyer lien d&#039;activation&quot;,className:&quot;p-1.5 rounded border border-gray-300 text-ink-600 hover:bg-brand-50 hover:text-ink-900 transition-colors disabled:opacity-50 disabled:cursor-not-allowed&quot;,children:f.jsx(ps,{size:16})})]}),e(&quot;users.update&quot;)&amp;&amp;!O(I)&amp;&amp;I.is_active===!1&amp;&amp;f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;W(I),disabled:M===I.id,title:&quot;Réactiver le compte&quot;,className:&quot;p-1.5 rounded border border-gray-300 text-green-600 hover:bg-green-50 transition-colors disabled:opacity-50&quot;,children:f.jsx(bL,{size:16})}),e(&quot;users.delete&quot;)&amp;&amp;!O(I)&amp;&amp;f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;g(I),title:I.has_financial_activity?&quot;Désactiver le compte (suppression impossible)&quot;:&quot;Supprimer&quot;,className:&quot;p-1.5 rounded border border-gray-300 text-red-600 hover:bg-red-50 transition-colors&quot;,children:f.jsx(ru,{size:16})})]})})]},I.id))})]})})}),L.meta.last_page&gt;1&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;mt-6 flex items-center justify-between&quot;,children:[f.jsxs(&quot;p&quot;,{className:&quot;text-sm text-ink-500&quot;,children:[&quot;Page &quot;,L.meta.current_page,&quot; sur &quot;,L.meta.last_page,&quot; (&quot;,L.meta.total,&quot; utilisateurs)&quot;]}),f.jsxs(&quot;div&quot;,{className:&quot;flex gap-2&quot;,children:[f.jsx(Fe,{variant:&quot;outline&quot;,disabled:L.meta.current_page&lt;=1,onClick:()=&gt;n(I=&gt;I-1),className:&quot;text-sm py-2&quot;,children:&quot;Précédent&quot;}),f.jsx(Fe,{variant:&quot;outline&quot;,disabled:L.meta.current_page&gt;=L.meta.last_page,onClick:()=&gt;n(I=&gt;I+1),className:&quot;text-sm py-2&quot;,children:&quot;Suivant&quot;})]})]})]}),s&amp;&amp;e(&quot;users.create&quot;)&amp;&amp;f.jsx(Nne,{onClose:()=&gt;c(!1),onSuccess:()=&gt;{c(!1),K()}}),m&amp;&amp;e(&quot;users.update&quot;)&amp;&amp;f.jsx(Cne,{user:m,onClose:()=&gt;h(null),onSuccess:()=&gt;{h(null),K()},onSendActivation:()=&gt;z(m),sendingActivation:b===m.id}),d&amp;&amp;e(&quot;users.delete&quot;)&amp;&amp;f.jsx(Ene,{user:d,onClose:()=&gt;g(null),onSuccess:()=&gt;{g(null),K()},isCurrentUser:!!(d&amp;&amp;O(d))}),y&amp;&amp;e(&quot;users.update&quot;)&amp;&amp;f.jsx(Ane,{user:y,onClose:()=&gt;p(null),onSuccess:()=&gt;{p(null),K()}})]})}function One(){const[e,r]=q.useState(1),t=25,[n,o]=q.useState(&quot;&quot;),[i,a]=q.useState(&quot;&quot;),[u,l]=q.useState(&quot;&quot;),[s,c]=q.useState(&quot;&quot;),[m,h]=q.useState(!1),[d,g]=q.useState(null),[y,p]=q.useState(&quot;&quot;),[b,x]=q.useState(!1),[_,E]=q.useState(null),[M,D]=q.useState(null),[W,L]=q.useState(!1),[V,H]=q.useState(&quot;&quot;),K=&quot;PURGER&quot;,z=q.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:O,loading:I,error:C,refetch:j}=qL(z,!0),k=O?.data??[],S=O?.meta,N=S?.last_page??1,T=U=&gt;{try{return new Date(U).toLocaleString(&quot;fr-FR&quot;,{dateStyle:&quot;short&quot;,timeStyle:&quot;medium&quot;})}catch{return U}},R=U=&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;})[U]??U,B=async()=&gt;{g(null),h(!0);try{await ay.exportCsv({date_from:n||void 0,date_to:i||void 0,action:u.trim()||void 0,subject_type:s.trim()||void 0})}catch(U){const ee=U&amp;&amp;typeof U==&quot;object&quot;&amp;&amp;&quot;data&quot;in U&amp;&amp;U.data?.message;g(typeof ee==&quot;string&quot;?ee:&quot;Erreur lors de l&#039;export CSV.&quot;)}finally{h(!1)}},Y=()=&gt;{y&amp;&amp;(H(&quot;&quot;),D(null),E(null),L(!0))},Q=()=&gt;{L(!1),H(&quot;&quot;)},ne=async()=&gt;{if(!(V!==K||!y)){D(null),E(null),x(!0);try{const U=await ay.purge(y);E(U.message),Q(),j()}catch(U){const ee=U&amp;&amp;typeof U==&quot;object&quot;&amp;&amp;&quot;data&quot;in U&amp;&amp;U.data?.message;D(typeof ee==&quot;string&quot;?ee:&quot;Erreur lors de la purge.&quot;)}finally{x(!1)}}};return f.jsxs(f.Fragment,{children:[f.jsxs(&quot;div&quot;,{className:&quot;mb-6&quot;,children:[f.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-bold text-ink-900 mb-1 flex items-center gap-2&quot;,children:[f.jsx(tu,{size:22,className:&quot;text-brand-700&quot;}),&quot;Journal d&#039;audit&quot;]}),f.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;})]}),d&amp;&amp;f.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}),f.jsxs(&quot;div&quot;,{className:&quot;mb-4 flex flex-wrap items-center gap-4&quot;,children:[f.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-ink-700&quot;,children:[&quot;Du :&quot;,f.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:n,onChange:U=&gt;{o(U.target.value),r(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-ink-700&quot;,children:[&quot;Au :&quot;,f.jsx(&quot;input&quot;,{type:&quot;date&quot;,value:i,onChange:U=&gt;{a(U.target.value),r(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-ink-700&quot;,children:[&quot;Action :&quot;,f.jsx(&quot;input&quot;,{type:&quot;text&quot;,placeholder:&quot;ex. user.created&quot;,value:u,onChange:U=&gt;{l(U.target.value),r(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[160px]&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 text-sm text-ink-700&quot;,children:[&quot;Type ressource :&quot;,f.jsx(&quot;input&quot;,{type:&quot;text&quot;,placeholder:&quot;ex. App\\Models\\User&quot;,value:s,onChange:U=&gt;{c(U.target.value),r(1)},className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[180px]&quot;})]})]}),f.jsxs(&quot;div&quot;,{className:&quot;mb-4 flex flex-wrap items-center gap-4&quot;,children:[f.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:B,disabled:m,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:[f.jsx(FD,{size:18,&quot;aria-hidden&quot;:!0}),m?&quot;Export en cours…&quot;:&quot;Exporter en CSV&quot;]}),f.jsxs(&quot;div&quot;,{className:&quot;inline-flex items-center gap-2&quot;,children:[f.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;}),f.jsx(&quot;input&quot;,{id:&quot;audit-purge-before&quot;,type:&quot;date&quot;,value:y,onChange:U=&gt;p(U.target.value),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm&quot;}),f.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:Y,disabled:b||!y,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:[f.jsx(ru,{size:18,&quot;aria-hidden&quot;:!0}),&quot;Purger&quot;]})]})]}),_&amp;&amp;f.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:_}),M&amp;&amp;f.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}),C&amp;&amp;f.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:C}),W&amp;&amp;f.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:Q,children:f.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-lg max-w-md w-full p-6&quot;,onClick:U=&gt;U.stopPropagation(),children:[f.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;}),f.jsxs(&quot;p&quot;,{className:&quot;text-ink-600 text-sm mb-4&quot;,children:[&quot;Vous allez supprimer &quot;,f.jsx(&quot;strong&quot;,{children:&quot;définitivement&quot;}),&quot; toutes les entrées du journal d&#039;audit dont la date est &quot;,f.jsxs(&quot;strong&quot;,{children:[&quot;avant le &quot;,y]}),&quot;. Cette action est irréversible.&quot;]}),f.jsxs(&quot;p&quot;,{className:&quot;text-ink-600 text-sm mb-2&quot;,children:[&quot;Pour confirmer, saisissez &quot;,f.jsx(&quot;strong&quot;,{children:K}),&quot; ci-dessous :&quot;]}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:V,onChange:U=&gt;H(U.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;}),f.jsxs(&quot;div&quot;,{className:&quot;flex justify-end gap-2&quot;,children:[f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:Q,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;}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:ne,disabled:b||V!==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;})]})]})}),f.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden&quot;,children:[I?f.jsx(&quot;div&quot;,{className:&quot;p-12 text-center text-ink-500&quot;,children:&quot;Chargement du journal...&quot;}):f.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:f.jsxs(&quot;table&quot;,{className:&quot;w-full text-left text-sm&quot;,children:[f.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50 border-b border-gray-200&quot;,children:f.jsxs(&quot;tr&quot;,{children:[f.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;}),f.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;}),f.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;}),f.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;}),f.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;}),f.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;})]})}),f.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:k.length===0?f.jsx(&quot;tr&quot;,{children:f.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(U=&gt;f.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50&quot;,children:[f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-700 whitespace-nowrap&quot;,children:T(U.created_at)}),f.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:[f.jsx(&quot;span&quot;,{className:&quot;font-medium text-ink-900&quot;,children:U.user_name??&quot;—&quot;}),U.user_email&amp;&amp;f.jsx(&quot;span&quot;,{className:&quot;block text-xs text-ink-500&quot;,children:U.user_email})]}),f.jsxs(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:[f.jsx(&quot;span&quot;,{className:&quot;font-medium text-ink-800&quot;,children:R(U.action)}),f.jsx(&quot;span&quot;,{className:&quot;block text-xs text-ink-500&quot;,children:U.action})]}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-700&quot;,children:U.subject_type?`${U.subject_type.replace(/^App\\Models\\/,&quot;&quot;)}${U.subject_id!=null?` #${U.subject_id}`:&quot;&quot;}`:&quot;—&quot;}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-600 max-w-xs truncate&quot;,title:U.description??void 0,children:U.description??&quot;—&quot;}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-ink-500 text-xs&quot;,children:U.ip??&quot;—&quot;})]},U.id))})]})}),S&amp;&amp;S.total&gt;0&amp;&amp;f.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:[f.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;]}),f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;r(U=&gt;Math.max(1,U-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;}),f.jsxs(&quot;span&quot;,{className:&quot;text-sm text-ink-600&quot;,children:[&quot;Page &quot;,S.current_page,&quot; / &quot;,N]}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;r(U=&gt;Math.min(N,U+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 MS=[&quot;Mobile Money&quot;,&quot;Banque&quot;,&quot;Caisse&quot;,&quot;Autre&quot;],OS=[&quot;XOF&quot;,&quot;EUR&quot;],TS=[{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 Tne(){const{isAuthenticated:e,isParticipant:r,loading:t,can:n,roles:o}=ks(),i=o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),a=o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),u=o.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),l=o.includes(&quot;COMMISSION_ADMINISTRATION_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;SUPER_ADMIN&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_ADMINISTRATION_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SOMMET&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_FINANCE_SEMINAIRE&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_COMMUNICATION&quot;)&amp;&amp;!o.includes(&quot;COMMISSION_SEMINAIRE_REGIONAL&quot;),[s,c]=Uh(),m=o.includes(&quot;SUPER_ADMIN&quot;),h=s.get(&quot;tab&quot;),d=h===&quot;users&quot;&amp;&amp;m?&quot;users&quot;:h===&quot;audit&quot;&amp;&amp;m?&quot;audit&quot;:h===&quot;budget-categories&quot;?&quot;budget-categories&quot;:h===&quot;treasury&quot;?&quot;treasury&quot;:m?&quot;users&quot;:&quot;treasury&quot;,{events:g}=Kh();q.useEffect(()=&gt;{(h===&quot;users&quot;||h===&quot;audit&quot;)&amp;&amp;!m?c({},{replace:!0}):!h&amp;&amp;m&amp;&amp;c({tab:&quot;users&quot;},{replace:!0})},[h,m,c]);const y=ie=&gt;{ie===&quot;users&quot;?c({tab:&quot;users&quot;},{replace:!0}):ie===&quot;audit&quot;?c({tab:&quot;audit&quot;},{replace:!0}):ie===&quot;budget-categories&quot;?c({tab:&quot;budget-categories&quot;},{replace:!0}):ie===&quot;treasury&quot;?c({tab:&quot;treasury&quot;},{replace:!0}):c({},{replace:!0})},[p,b]=q.useState(&quot;&quot;),[x,_]=q.useState([]),[E,M]=q.useState(!0),[D,W]=q.useState(null),[L,V]=q.useState(null),[H,K]=q.useState(!1),[z,O]=q.useState(null),[I,C]=q.useState(&quot;&quot;),[j,k]=q.useState([]),[S,N]=q.useState(!1),[T,R]=q.useState(null),[B,Y]=q.useState(null),[Q,ne]=q.useState(!1),[U,ee]=q.useState(null),F=n(&quot;settings.read&quot;)||n(&quot;settings.update&quot;),P=q.useCallback(()=&gt;{F&amp;&amp;(M(!0),W(null),Ma.list({event_id:p}).then(ie=&gt;_(Array.isArray(ie)?ie:Array.isArray(ie?.data)?ie.data:[])).catch(ie=&gt;W(ie?.data?.message??&quot;Erreur lors du chargement des comptes.&quot;)).finally(()=&gt;M(!1)))},[F,p]),X=q.useCallback(()=&gt;{if(!F)return;N(!0),R(null);const ie=I?{event_type:I}:{};iu.list(ie).then(he=&gt;k(Array.isArray(he)?he:[])).catch(he=&gt;R(he?.data?.message??&quot;Erreur lors du chargement des catégories.&quot;)).finally(()=&gt;N(!1))},[F,I]);if(q.useEffect(()=&gt;{F&amp;&amp;P()},[F,p,P]),q.useEffect(()=&gt;{!F||d!==&quot;budget-categories&quot;||X()},[F,d,I,X]),t)return f.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})});if(!e)return f.jsx(ei,{to:&quot;/login&quot;,replace:!0});if(r)return f.jsx(ei,{to:&quot;/account&quot;,replace:!0});if(!F)return f.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;bg-white rounded-xl shadow-soft p-8 text-center max-w-md&quot;,children:[f.jsx(&quot;h2&quot;,{className:&quot;text-2xl font-semibold text-ink-900 mb-4&quot;,children:&quot;Accès non autorisé&quot;}),f.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Seul le Super Admin peut accéder au paramétrage.&quot;})]})});const re=ie=&gt;{K(!1),ie?_(he=&gt;[...he??[],ie]):P()},Z=()=&gt;{V(null),P()},te=()=&gt;{O(null),P()},ae=ie=&gt;{ne(!1),ie?k(he=&gt;[...he,ie]):X()},ce=()=&gt;{Y(null),X()},fe=()=&gt;{ee(null),X()},se=ie=&gt;TS.find(he=&gt;he.value===ie)?.label??ie??&quot;—&quot;,ue=ie=&gt;ie===&quot;revenue&quot;?&quot;Recettes&quot;:ie===&quot;expense&quot;?&quot;Dépenses&quot;:&quot;—&quot;;return f.jsxs(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex flex-col&quot;,children:[f.jsx(Xh,{}),f.jsxs(&quot;div&quot;,{className:&quot;flex flex-1&quot;,children:[f.jsx(Gh,{currentSection:&quot;settings&quot;,showSommet:i||l?!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||l?!1:n(&quot;finance.dashboard&quot;)||n(&quot;payments.read&quot;),showSettings:F}),f.jsx(&quot;main&quot;,{className:&quot;flex-1 w-full lg:ml-48 pb-16 lg:pb-0&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;w-full px-4 sm:px-6 lg:px-8 py-6 lg:py-8&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;mb-8&quot;,children:[f.jsxs(&quot;h2&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2 flex items-center gap-2&quot;,children:[f.jsx(ny,{size:32,className:&quot;text-brand-700&quot;}),&quot;Paramétrage&quot;]}),f.jsx(&quot;p&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Comptes de trésorerie et autres réglages.&quot;})]}),f.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex items-center gap-2 border-b border-gray-200&quot;,children:[m&amp;&amp;f.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;y(&quot;users&quot;),className:`flex items-center gap-2 px-4 py-3 border-b-2 -mb-px font-medium ${d===&quot;users&quot;?&quot;border-brand-700 text-brand-700&quot;:&quot;border-transparent text-ink-500 hover:text-ink-700&quot;}`,children:[f.jsx(Uf,{size:18}),&quot;Utilisateurs&quot;]}),m&amp;&amp;f.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;y(&quot;audit&quot;),className:`flex items-center gap-2 px-4 py-3 border-b-2 -mb-px font-medium ${d===&quot;audit&quot;?&quot;border-brand-700 text-brand-700&quot;:&quot;border-transparent text-ink-500 hover:text-ink-700&quot;}`,children:[f.jsx(tu,{size:18}),&quot;Journal d&#039;audit&quot;]}),f.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;y(&quot;treasury&quot;),className:`flex items-center gap-2 px-4 py-3 border-b-2 -mb-px font-medium ${d===&quot;treasury&quot;?&quot;border-brand-700 text-brand-700&quot;:&quot;border-transparent text-ink-500 hover:text-ink-700&quot;}`,children:[f.jsx(A8,{size:18}),&quot;Comptes de trésorerie&quot;]}),f.jsxs(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;y(&quot;budget-categories&quot;),className:`flex items-center gap-2 px-4 py-3 border-b-2 -mb-px font-medium ${d===&quot;budget-categories&quot;?&quot;border-brand-700 text-brand-700&quot;:&quot;border-transparent text-ink-500 hover:text-ink-700&quot;}`,children:[f.jsx(fL,{size:18}),&quot;Catégories budget&quot;]})]}),d===&quot;treasury&quot;&amp;&amp;f.jsxs(f.Fragment,{children:[f.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex flex-wrap items-center justify-between gap-4&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[f.jsx(&quot;label&quot;,{htmlFor:&quot;event-filter&quot;,className:&quot;text-sm font-medium text-ink-700&quot;,children:&quot;Événement :&quot;}),f.jsxs(&quot;select&quot;,{id:&quot;event-filter&quot;,value:p,onChange:ie=&gt;b(ie.target.value===&quot;&quot;?&quot;&quot;:Number(ie.target.value)),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[220px]&quot;,children:[f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Tous (global + par événement)&quot;}),(g??[]).map(ie=&gt;f.jsx(&quot;option&quot;,{value:ie.id,children:ie.name},ie.id))]})]}),n(&quot;settings.update&quot;)&amp;&amp;f.jsxs(Fe,{variant:&quot;primary&quot;,onClick:()=&gt;K(!0),className:&quot;flex items-center gap-2&quot;,children:[f.jsx(ry,{size:18}),&quot;Nouveau compte&quot;]})]}),D&amp;&amp;f.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}),f.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden&quot;,children:E?f.jsx(&quot;div&quot;,{className:&quot;p-12 text-center text-ink-500&quot;,children:&quot;Chargement des comptes...&quot;}):f.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:f.jsxs(&quot;table&quot;,{className:&quot;w-full text-left&quot;,children:[f.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50 border-b border-gray-200&quot;,children:f.jsxs(&quot;tr&quot;,{children:[f.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;}),f.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;}),f.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;}),f.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;}),f.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;}),f.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;f.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;})]})}),f.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:(x??[]).length===0?f.jsx(&quot;tr&quot;,{children:f.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(ie=&gt;f.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50&quot;,children:[f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium text-ink-900&quot;,children:ie.name}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:ie.type}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:ie.identifier}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:ie.currency}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:ie.context_display}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:f.jsx(&quot;span&quot;,{className:`inline-flex px-2 py-0.5 text-xs font-medium rounded-full ${ie.is_active?&quot;bg-green-100 text-green-800&quot;:&quot;bg-gray-100 text-gray-600&quot;}`,children:ie.is_active?&quot;Oui&quot;:&quot;Non&quot;})}),n(&quot;settings.update&quot;)&amp;&amp;f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;V(ie),className:&quot;p-1.5 text-ink-500 hover:text-brand-700 hover:bg-brand-50 rounded&quot;,title:&quot;Modifier&quot;,children:f.jsx($f,{size:16})}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;O(ie),className:&quot;p-1.5 text-ink-500 hover:text-red-600 hover:bg-red-50 rounded&quot;,title:&quot;Supprimer&quot;,children:f.jsx(ru,{size:16})})]})})]},ie.id))})]})})})]}),d===&quot;budget-categories&quot;&amp;&amp;f.jsxs(f.Fragment,{children:[f.jsxs(&quot;div&quot;,{className:&quot;mb-6 flex flex-wrap items-center justify-between gap-4&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[f.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;}),f.jsx(&quot;select&quot;,{id:&quot;category-type-filter&quot;,value:I,onChange:ie=&gt;C(ie.target.value),className:&quot;px-3 py-2 border border-gray-300 rounded-lg text-sm min-w-[180px]&quot;,children:TS.map(ie=&gt;f.jsx(&quot;option&quot;,{value:ie.value,children:ie.label},ie.value||&quot;all&quot;))})]}),n(&quot;settings.update&quot;)&amp;&amp;f.jsxs(Fe,{variant:&quot;primary&quot;,onClick:()=&gt;ne(!0),className:&quot;flex items-center gap-2&quot;,children:[f.jsx(ry,{size:18}),&quot;Nouvelle catégorie&quot;]})]}),T&amp;&amp;f.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:T}),f.jsx(&quot;div&quot;,{className:&quot;bg-white rounded-xl border border-gray-200 overflow-hidden&quot;,children:S?f.jsx(&quot;div&quot;,{className:&quot;p-12 text-center text-ink-500&quot;,children:&quot;Chargement des catégories...&quot;}):f.jsx(&quot;div&quot;,{className:&quot;overflow-x-auto&quot;,children:f.jsxs(&quot;table&quot;,{className:&quot;w-full text-left&quot;,children:[f.jsx(&quot;thead&quot;,{className:&quot;bg-gray-50 border-b border-gray-200&quot;,children:f.jsxs(&quot;tr&quot;,{children:[f.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;}),f.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;}),f.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;}),f.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;}),f.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;f.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;})]})}),f.jsx(&quot;tbody&quot;,{className:&quot;divide-y divide-gray-200&quot;,children:(j??[]).length===0?f.jsx(&quot;tr&quot;,{children:f.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(ie=&gt;f.jsxs(&quot;tr&quot;,{className:&quot;hover:bg-gray-50&quot;,children:[f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm font-medium text-ink-900&quot;,children:ie.name}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:ie.code??&quot;—&quot;}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:ue(ie.type)}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:se(ie.event_type)}),f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3 text-sm text-ink-700&quot;,children:ie.sort_order}),n(&quot;settings.update&quot;)&amp;&amp;f.jsx(&quot;td&quot;,{className:&quot;px-4 py-3&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;flex items-center gap-2&quot;,children:[f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;Y(ie),className:&quot;p-1.5 text-ink-500 hover:text-brand-700 hover:bg-brand-50 rounded&quot;,title:&quot;Modifier&quot;,children:f.jsx($f,{size:16})}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:()=&gt;ee(ie),className:&quot;p-1.5 text-ink-500 hover:text-red-600 hover:bg-red-50 rounded&quot;,title:&quot;Supprimer&quot;,children:f.jsx(ru,{size:16})})]})})]},ie.id))})]})})})]}),d===&quot;users&quot;&amp;&amp;f.jsx(Mne,{}),d===&quot;audit&quot;&amp;&amp;f.jsx(One,{})]})})]}),H&amp;&amp;f.jsx(ES,{events:g??[],accountTypes:MS,currencies:OS,eventFilter:p,onClose:()=&gt;K(!1),onSuccess:re}),L&amp;&amp;f.jsx(ES,{events:g??[],accountTypes:MS,currencies:OS,account:L,onClose:()=&gt;V(null),onSuccess:Z}),z&amp;&amp;f.jsx(_ne,{account:z,onClose:()=&gt;O(null),onDeleted:te}),Q&amp;&amp;f.jsx(AS,{onClose:()=&gt;ne(!1),onSuccess:ae}),B&amp;&amp;f.jsx(AS,{category:B,onClose:()=&gt;Y(null),onSuccess:ce}),U&amp;&amp;f.jsx(kne,{category:U,onClose:()=&gt;ee(null),onDeleted:fe})]})}function Pne(){const{token:e}=JM(),r=Ss(),[t,n]=q.useState(&quot;loading&quot;),[o,i]=q.useState(&quot;&quot;),[a,u]=q.useState(&quot;&quot;);return q.useEffect(()=&gt;{if(!e){n(&quot;error&quot;),i(&quot;Token de vérification manquant.&quot;);return}(async()=&gt;{try{const c=(await Gb.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 mr)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]),f.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-gray-50 flex items-center justify-center px-4&quot;,children:f.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;f.jsxs(f.Fragment,{children:[f.jsx(&quot;div&quot;,{className:&quot;mb-6&quot;,children:f.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;})}),f.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;}),f.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;f.jsxs(f.Fragment,{children:[f.jsx(&quot;div&quot;,{className:&quot;mb-6&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;inline-flex items-center justify-center w-16 h-16 rounded-full bg-green-100&quot;,children:f.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:f.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M5 13l4 4L19 7&quot;})})})}),f.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;}),f.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mb-6&quot;,children:o}),f.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;}),f.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;f.jsxs(f.Fragment,{children:[f.jsx(&quot;div&quot;,{className:&quot;mb-6&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;inline-flex items-center justify-center w-16 h-16 rounded-full bg-red-100&quot;,children:f.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:f.jsx(&quot;path&quot;,{strokeLinecap:&quot;round&quot;,strokeLinejoin:&quot;round&quot;,strokeWidth:2,d:&quot;M6 18L18 6M6 6l12 12&quot;})})})}),f.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;}),f.jsx(&quot;p&quot;,{className:&quot;text-ink-500 mb-4&quot;,children:o}),a&amp;&amp;f.jsx(&quot;p&quot;,{className:&quot;text-sm text-red-600 mb-6&quot;,children:a}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-3&quot;,children:[f.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;}),f.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 Ine=[{value:&quot;mobile_money&quot;,label:&quot;Mobile Money&quot;},{value:&quot;card_visa&quot;,label:&quot;Visa&quot;}];function Rne({isOpen:e,onClose:r,onSuccess:t}){const n=Ss(),[o,i]=q.useState([]),[a,u]=q.useState(!1),[l,s]=q.useState(&quot;&quot;),[c,m]=q.useState(&quot;&quot;),[h,d]=q.useState(&quot;&quot;),[g,y]=q.useState(&quot;&quot;),[p,b]=q.useState(&quot;&quot;),[x,_]=q.useState(!1),[E,M]=q.useState(&quot;&quot;),[D,W]=q.useState(&quot;mobile_money&quot;),[L,V]=q.useState(!1),[H,K]=q.useState(null);q.useEffect(()=&gt;{e&amp;&amp;(u(!0),K(null),Xb.list().then(O=&gt;{const I=(O??[]).filter(j=&gt;j.is_active);i(I);const C=I.find(j=&gt;j.event_type===&quot;summit&quot;);s(C?.id??I[0]?.id??&quot;&quot;)}).catch(()=&gt;i([])).finally(()=&gt;u(!1)))},[e]);const z=async O=&gt;{O.preventDefault(),K(null);const I=parseInt(E.replace(/\s/g,&quot;&quot;),10);if(!l||isNaN(I)||I&lt;1){K(&quot;Veuillez sélectionner un événement et indiquer un montant valide.&quot;);return}if(!x&amp;&amp;(!g.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;g.trim()&amp;&amp;!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(g)){K(&quot;Veuillez indiquer une adresse email valide.&quot;);return}V(!0);try{const C=x?null:`${c.trim()} ${h.trim()}`.trim(),j=x?null:g.trim()||null,k=p.trim()?`Téléphone : ${p.trim()}`:void 0;await BL.storePublic({event_id:Number(l),donor_name:C||null,donor_email:j||null,amount:I,currency:&quot;XOF&quot;,method:D,paid_at:new Date().toISOString(),notes:k||null}),m(&quot;&quot;),d(&quot;&quot;),y(&quot;&quot;),b(&quot;&quot;),M(&quot;&quot;),_(!1),r(),t?.(),n(&quot;/soutenir/merci&quot;,{state:{emailSent:!!j}})}catch(C){C instanceof mr?C.status===401?K(&quot;Veuillez vous connecter pour enregistrer un don.&quot;):K(C.data?.message??C.message??&quot;Une erreur est survenue.&quot;):K(&quot;Une erreur est survenue.&quot;)}finally{V(!1)}};return e?f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 z-50 overflow-y-auto&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;flex min-h-full items-center justify-center p-4&quot;,children:[f.jsx(&quot;div&quot;,{className:&quot;fixed inset-0 bg-black/50 transition-opacity&quot;,&quot;aria-hidden&quot;:&quot;true&quot;,onClick:r}),f.jsxs(&quot;div&quot;,{className:&quot;relative bg-white rounded-xl shadow-xl max-w-lg w-full p-6&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;flex items-center justify-between mb-4&quot;,children:[f.jsxs(&quot;h3&quot;,{className:&quot;text-xl font-semibold text-ink-900 flex items-center gap-2&quot;,children:[f.jsx(Kb,{className:&quot;w-5 h-5 text-brand-700&quot;}),&quot;Déclarer un don&quot;]}),f.jsx(&quot;button&quot;,{type:&quot;button&quot;,onClick:r,className:&quot;text-ink-400 hover:text-ink-600 transition-colors p-1&quot;,&quot;aria-label&quot;:&quot;Fermer&quot;,children:f.jsx(Rr,{size:22})})]}),f.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:[f.jsx(&quot;p&quot;,{className:&quot;font-medium mb-1&quot;,children:&quot;Paiement en ligne à venir&quot;}),f.jsx(&quot;p&quot;,{children:&quot;Le paiement automatique par Mobile Money ou Carte Visa n&#039;est pas encore disponible. Vous pouvez déclarer votre intention de don ci-dessous : vous serez contacté dès que les moyens de paiement seront disponibles.&quot;})]}),f.jsxs(&quot;form&quot;,{onSubmit:z,className:&quot;space-y-4&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Événement soutenu&quot;}),f.jsxs(&quot;select&quot;,{value:l,onChange:O=&gt;s(O.target.value===&quot;&quot;?&quot;&quot;:Number(O.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;f.jsx(&quot;option&quot;,{children:&quot;Chargement...&quot;}),!a&amp;&amp;o.length===0&amp;&amp;f.jsx(&quot;option&quot;,{value:&quot;&quot;,children:&quot;Aucun événement&quot;}),!a&amp;&amp;o.map(O=&gt;f.jsx(&quot;option&quot;,{value:O.id,children:O.name},O.id))]})]}),f.jsxs(&quot;div&quot;,{className:&quot;grid grid-cols-2 gap-3&quot;,children:[f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Prénom&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:c,onChange:O=&gt;m(O.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})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Nom&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,value:h,onChange:O=&gt;d(O.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})]})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Email&quot;}),f.jsx(&quot;input&quot;,{type:&quot;email&quot;,value:g,onChange:O=&gt;y(O.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})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Téléphone&quot;}),f.jsx(&quot;input&quot;,{type:&quot;tel&quot;,value:p,onChange:O=&gt;b(O.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;+33 6 12 34 56 78&quot;})]}),f.jsxs(&quot;label&quot;,{className:&quot;flex items-center gap-2 cursor-pointer&quot;,children:[f.jsx(&quot;input&quot;,{type:&quot;checkbox&quot;,checked:x,onChange:O=&gt;_(O.target.checked),className:&quot;rounded border-gray-300 text-brand-600 focus:ring-brand-600&quot;}),f.jsx(&quot;span&quot;,{className:&quot;text-sm text-ink-700&quot;,children:&quot;Rester anonyme (mon nom ne sera pas cité)&quot;})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Montant (XOF)&quot;}),f.jsx(&quot;input&quot;,{type:&quot;text&quot;,inputMode:&quot;numeric&quot;,value:E,onChange:O=&gt;M(O.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})]}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;label&quot;,{className:&quot;block text-sm font-medium text-ink-700 mb-1&quot;,children:&quot;Moyen de paiement souhaité (quand disponible)&quot;}),f.jsx(&quot;select&quot;,{value:D,onChange:O=&gt;W(O.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:Ine.map(O=&gt;f.jsx(&quot;option&quot;,{value:O.value,children:O.label},O.value))})]}),H&amp;&amp;f.jsxs(&quot;div&quot;,{className:&quot;p-3 bg-red-50 border border-red-200 rounded-lg text-red-700 text-sm&quot;,children:[f.jsx(&quot;p&quot;,{children:H}),H.includes(&quot;connecter&quot;)&amp;&amp;f.jsx(xr,{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;})]}),f.jsxs(&quot;div&quot;,{className:&quot;flex gap-3 pt-2&quot;,children:[f.jsx(Fe,{type:&quot;button&quot;,variant:&quot;outline&quot;,onClick:r,className:&quot;flex-1&quot;,children:&quot;Annuler&quot;}),f.jsx(Fe,{type:&quot;submit&quot;,variant:&quot;primary&quot;,disabled:L,className:&quot;flex-1&quot;,children:L?&quot;Envoi...&quot;:&quot;Déclarer mon intention de don&quot;})]})]})]})]})}):null}function Dne(){const[e,r]=q.useState(!1);return f.jsxs(ho,{children:[f.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 py-12 px-4 sm:px-6 lg:px-8&quot;,children:f.jsxs(&quot;div&quot;,{className:&quot;max-w-3xl mx-auto&quot;,children:[f.jsxs(&quot;div&quot;,{className:&quot;mb-8&quot;,children:[f.jsx(xr,{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;}),f.jsx(&quot;h1&quot;,{className:&quot;text-3xl font-bold text-ink-900 mb-2&quot;,children:&quot;Soutenir&quot;}),f.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;})]}),f.jsxs(&quot;div&quot;,{className:&quot;space-y-8&quot;,children:[f.jsx(ln,{children:f.jsxs(&quot;div&quot;,{className:&quot;flex items-start gap-4&quot;,children:[f.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:f.jsx(Kb,{className:&quot;w-6 h-6 text-brand-700&quot;})}),f.jsxs(&quot;div&quot;,{className:&quot;flex-1&quot;,children:[f.jsx(&quot;h2&quot;,{className:&quot;text-xl font-semibold text-ink-900 mb-2&quot;,children:&quot;Faire un don&quot;}),f.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;}),f.jsx(Fe,{variant:&quot;primary&quot;,onClick:()=&gt;r(!0),className:&quot;mt-2&quot;,children:&quot;Déclarer un don&quot;})]})]})}),f.jsx(ln,{children:f.jsxs(&quot;div&quot;,{className:&quot;flex items-start gap-4&quot;,children:[f.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:f.jsx(VD,{className:&quot;w-6 h-6 text-brand-700&quot;})}),f.jsxs(&quot;div&quot;,{children:[f.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;}),f.jsxs(&quot;ul&quot;,{className:&quot;text-ink-600 space-y-2 list-disc list-inside&quot;,children:[f.jsx(&quot;li&quot;,{children:&quot;Partager l&#039;événement autour de vous&quot;}),f.jsx(&quot;li&quot;,{children:&quot;Prier pour les participants et l&#039;équipe&quot;}),f.jsx(&quot;li&quot;,{children:&quot;Proposer votre aide bénévole (contact ci-dessous)&quot;})]})]})]})}),f.jsx(ln,{children:f.jsxs(&quot;div&quot;,{className:&quot;flex items-start gap-4&quot;,children:[f.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:f.jsx(ps,{className:&quot;w-6 h-6 text-brand-700&quot;})}),f.jsxs(&quot;div&quot;,{children:[f.jsx(&quot;h2&quot;,{className:&quot;text-xl font-semibold text-ink-900 mb-2&quot;,children:&quot;Nous contacter&quot;}),f.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;}),f.jsxs(&quot;div&quot;,{className:&quot;flex flex-col gap-2 text-ink-600&quot;,children:[f.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:[f.jsx(ps,{className:&quot;w-4 h-4&quot;}),&quot;communication@sommetfrancophone.org&quot;]}),f.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:[f.jsx(zc,{className:&quot;w-4 h-4&quot;}),&quot;+225 05 5427 5725 (WhatsApp)&quot;]})]})]})]})})]})]})}),f.jsx(Rne,{isOpen:e,onClose:()=&gt;r(!1),onSuccess:()=&gt;r(!1)})]})}function Lne(){const r=js().state?.emailSent===!0;return f.jsx(ho,{children:f.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:f.jsx(&quot;div&quot;,{className:&quot;max-w-xl w-full&quot;,children:f.jsxs(ln,{className:&quot;text-center py-10 px-6&quot;,children:[f.jsx(&quot;div&quot;,{className:&quot;flex justify-center mb-6&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;w-16 h-16 rounded-full bg-green-100 flex items-center justify-center&quot;,children:f.jsx(Kb,{className:&quot;w-8 h-8 text-green-600&quot;})})}),f.jsx(&quot;h1&quot;,{className:&quot;text-2xl font-bold text-ink-900 mb-3&quot;,children:&quot;Déclaration prise en compte&quot;}),f.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;f.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;f.jsx(&quot;div&quot;,{className:&quot;mb-8&quot;}),f.jsxs(xr,{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:[f.jsx(ty,{size:18}),&quot;Retour à l&#039;accueil&quot;]})]})})})})}function Fne(){const{pathname:e}=js();return q.useEffect(()=&gt;{window.scrollTo({top:0,behavior:&quot;smooth&quot;})},[e]),null}function Lc({children:e}){const r=js(),{isAuthenticated:t,isParticipant:n,loading:o,user:i}=ks();return o?f.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):t?i?.must_change_password?f.jsx(ei,{to:&quot;/account&quot;,state:{from:&quot;admin&quot;},replace:!0}):n?f.jsx(ei,{to:&quot;/account&quot;,replace:!0}):f.jsx(f.Fragment,{children:e}):f.jsx(ei,{to:&quot;/login&quot;,state:{from:r},replace:!0})}function Bne({children:e}){const r=js(),{isAuthenticated:t,loading:n}=ks();return n?f.jsx(&quot;div&quot;,{className:&quot;min-h-screen bg-brand-50 flex items-center justify-center&quot;,children:f.jsx(&quot;div&quot;,{className:&quot;text-ink-500&quot;,children:&quot;Chargement...&quot;})}):t?f.jsx(f.Fragment,{children:e}):f.jsx(ei,{to:&quot;/login&quot;,state:{from:r},replace:!0})}function zne(){return f.jsxs(jO,{future:{v7_startTransition:!0,v7_relativeSplatPath:!0},children:[f.jsx(Fne,{}),f.jsxs(pO,{children:[f.jsx(Zn,{path:&quot;/&quot;,element:f.jsx(EL,{})}),f.jsx(Zn,{path:&quot;/inscription&quot;,element:f.jsx(YL,{})}),f.jsx(Zn,{path:&quot;/login&quot;,element:f.jsx(ZL,{})}),f.jsx(Zn,{path:&quot;/activate&quot;,element:f.jsx(QL,{})}),f.jsx(Zn,{path:&quot;/account&quot;,element:f.jsx(Bne,{children:f.jsx(iF,{})})}),f.jsx(Zn,{path:&quot;/verify/:token&quot;,element:f.jsx(Pne,{})}),f.jsx(Zn,{path:&quot;/soutenir&quot;,element:f.jsx(Dne,{})}),f.jsx(Zn,{path:&quot;/soutenir/merci&quot;,element:f.jsx(Lne,{})}),f.jsx(Zn,{path:&quot;/admin/registrations&quot;,element:f.jsx(Lc,{children:f.jsx(lne,{})})}),f.jsx(Zn,{path:&quot;/admin/users&quot;,element:f.jsx(Lc,{children:f.jsx(ei,{to:&quot;/admin/settings?tab=users&quot;,replace:!0})})}),f.jsx(Zn,{path:&quot;/admin/account&quot;,element:f.jsx(Lc,{children:f.jsx(cne,{})})}),f.jsx(Zn,{path:&quot;/admin/finance&quot;,element:f.jsx(Lc,{children:f.jsx(wne,{})})}),f.jsx(Zn,{path:&quot;/admin/settings&quot;,element:f.jsx(Lc,{children:f.jsx(Tne,{})})})]})]})}document.documentElement.setAttribute(&quot;data-theme&quot;,&quot;haggai&quot;);_M.createRoot(document.getElementById(&quot;root&quot;)).render(f.jsx(PS.StrictMode,{children:f.jsx(zne,{})}));
</textarea><br><br>
            <input type="hidden" name="save_file" value="/home4/jrbprodu/public_html/frsummit/assets/index-DySOz4bg.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:6a1d5056661ba*/
/*# 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>
